- Accueil
- Plugins
- Sécurité et permissions
- dsh-compaction-probe
dsh-compaction-probe
gendui123/dsh-compaction-probe
Sonde d'observation étape 0 pour dsh-compaction-audit : journalise chaque événement de session compaction/* et sonde si les shadowedSeqs résolvent encore vers des événements lisibles dans session.events. Observation seule ; n'injecte jamais, ne bloque jamais.
Installer
dsh plugin --profile web add github:gendui123/dsh-compaction-probeREADME
dsh-compaction-probe
Step-0 observation probe for dsh-compaction-audit. It listens to session/event and logs every compaction/* event to a JSONL file, probing whether shadowedSeqs still resolve to readable events in session.events at the moment the summary lands.
Observe-only: never injects, never blocks, never modifies a session. It exists to verify (before building the audit) that the compaction event stream is delivered to plugin subscribers and that the shadowed original events are still readable.
Output
Writes one JSON object per compaction event to <DSH_HOME>/reports/compaction-probe.jsonl (override with config.logFile). A compaction/summary record includes the summary text plus a shadowedProbe array: for each shadowed seq, whether the original event is readable, its event type, and a text preview.
Why
The audit plan (REVISED-PLAN.md) makes session.events the source of truth for cross-checking a summary against its originals. This probe confirms that assumption is true at runtime — if shadowedSeqs point to already-cleaned or unreadable events, the audit must be redesigned (e.g., verbatim ledger), before it is built.
Plugins associés
dsh-infinite-gen-4
minglink/dsh-infinite-gen-4
cc-safety-net
kenryu42/cc-safety-net
api-relay-audit
toby-bridges/api-relay-audit
dsh-redteam-model
seaof0/dsh-redteam-model