Skip to content

register: positive 'Secrets: none detected' line on clean dry-run#243

Draft
christophergeyer wants to merge 2 commits into
rc/0.4.1from
cg/register-dryrun-secrets
Draft

register: positive 'Secrets: none detected' line on clean dry-run#243
christophergeyer wants to merge 2 commits into
rc/0.4.1from
cg/register-dryrun-secrets

Conversation

@christophergeyer

Copy link
Copy Markdown
Member

roar register --dry-run lists detected secret types but printed nothing when the scan found none. So an operator can't distinguish "scanned, clean" from "scan didn't run" — both look like the absence of a warning. Checklist gate G of the Reproducible AI smoke test ([4]) needs a positive confirmation that redaction ran.

Adds one line: Secrets: none detected in the else branch. Test extended to assert it. test_register_cli.py passes; ruff clean.

🤖 Generated with Claude Code

chrisgeyertreqs and others added 2 commits July 23, 2026 17:05
register --dry-run listed detected secrets but printed nothing when the scan
found none, so an operator couldn't tell 'clean' from 'scan didn't run' (both =
absence of a warning). Add a positive confirmation line. Surfaced by the
Reproducible AI clean-agent smoke test (checklist gate G).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…unchlist

Chris: the dry-run secrets confirmation should be a checklist line, not a separate
summary line — no clutter, and a line that's ~always green. Adds a receipt-only
'no secrets in published lineage' check to the reproducibility report (register/put
only; reproduce omits it — secrets don't bear on reproducibility). Always passes
(roar redacts any hits), with a note 'none detected' / 'N redacted'. Removed the
two standalone secrets echoes (dry-run + real register); the punchlist carries it
in both. Register all-green is now 8/8.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants