debugDumpNotice
debugDumpNotice(
archiveDir,redacted):SlashCommandNotice
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/slashCommands.ts:892
The /debug-dump success notice (a standard 3-line CommandNotice — DL-1: no command reads as
“does nothing”). GS2-47 flips the default to REDACTED: when redaction ran (the default) the note
is softened (“secrets redacted; review before sharing”) and points at the opt-out. When the user
opted OUT (raw archive) it is the loud, impossible-to-miss UNSANITIZED warning. Colour follows
DL-8 / the tone rule in maintenance/ux-guidelines.md: the safe, redacted default is normal
feedback (no tone ⇒ info), while the raw opt-out is caution and so tone: 'warn' (yellow) —
mirroring how approvalsModeNotice reserves yellow for the dangerous (gate-off) state. Redaction is
best-effort pattern-based, so even the softened note still says review-before-sharing.
Parameters
Section titled “Parameters”archiveDir
Section titled “archiveDir”string
redacted
Section titled “redacted”boolean