Background
Hermes v0.13 (#19318, @GodsBoy) — hermes debug share uploaded logs to a paste service for support handoff, but redaction ran only at write
time. If redaction was off when the log was written (which v0.12 made default), the uploaded content contained raw secrets.
Current state in CrowClaw
- No
crowclaw debug share command exists today; bug reports are handled out-of-band.
- However,
packages/cli/src/index.ts and the dashboard expose transcript download — same risk surface.
Scope
- New:
packages/cli/src/commands/debug-share.ts (or extend the dashboard export path)
- Modified: redaction pipeline to support an "at upload" pass independent of "at write" config
- Tests:
tests/debug-share-redact.test.ts
Implementation sketch
- Implement
crowclaw debug share [session-id] [--days N] — bundles transcript + config + recent audit log
- Run
redactPII + credential redaction unconditionally at bundle time, regardless of runtime redaction config
- Upload to a configurable paste endpoint (default: print-to-stdout + clipboard, no auto-upload)
- Dashboard transcript export goes through the same redaction pass
Acceptance criteria
Effort
S — small CLI surface; reuses redaction primitives.
Effect
Preempts the "I shared my logs for support and pasted my key" failure. Even if CrowClaw's redaction default lands as ON (sibling issue), the
upload path needs its own guarantee.
Source
Hermes #19318 · CrowClaw current: no debug-share command yet; packages/cli/src/index.ts
Background
Hermes v0.13 (#19318, @GodsBoy) —
hermes debug shareuploaded logs to a paste service for support handoff, but redaction ran only at writetime. If redaction was off when the log was written (which v0.12 made default), the uploaded content contained raw secrets.
Current state in CrowClaw
crowclaw debug sharecommand exists today; bug reports are handled out-of-band.packages/cli/src/index.tsand the dashboard expose transcript download — same risk surface.Scope
packages/cli/src/commands/debug-share.ts(or extend the dashboard export path)tests/debug-share-redact.test.tsImplementation sketch
crowclaw debug share [session-id] [--days N]— bundles transcript + config + recent audit logredactPII+ credential redaction unconditionally at bundle time, regardless of runtime redaction configAcceptance criteria
[REDACTED]in the bundle outputEffort
S — small CLI surface; reuses redaction primitives.
Effect
Preempts the "I shared my logs for support and pasted my key" failure. Even if CrowClaw's redaction default lands as ON (sibling issue), the
upload path needs its own guarantee.
Source
Hermes #19318 · CrowClaw current: no debug-share command yet;
packages/cli/src/index.ts