Skip to content

docs: what the hosted scanner actually does with .rafter.yml ignore rules (sable-u5ij) - #232

Open
Rome-1 wants to merge 3 commits into
mainfrom
fix/sable-u5ij-hosted-ignore-contract
Open

docs: what the hosted scanner actually does with .rafter.yml ignore rules (sable-u5ij)#232
Rome-1 wants to merge 3 commits into
mainfrom
fix/sable-u5ij-hosted-ignore-contract

Conversation

@Rome-1

@Rome-1 Rome-1 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Bead sable-u5ij, from ra-mw1 (customer: "the scanner seems to completely ignore the .rafter.yml").

CLI_SPEC said R-XXXXX ids are honoured remotely and that remote runs emit suppressed.json. Production (securable-backend) did neither until the Rome-1/securable-backend PR for sb-u14j, opened today, and it never suppresses must-fix / secret-scanner findings, which no doc stated. A customer following the spec wrote a correct file and got nothing.

Docs-only. What changes:

  • Rule selectors — native id, the hashed R-XXXXX display id, or the title; unmatched selectors are listed in suppressed.json.
  • Key spelling — camelCase and snake_case both accepted on every engine.
  • Hosted-scanner invariant — must-fix / secret-scanner / unclassified critical-high findings are never suppressed by repo config; such matches land in suppressed.json under blocked. Whether that floor should change is sb-d5ld (Rome).
  • suppressed.json — where it lives and its fields.
  • suppress_finding tool text (Python + Node) says the same.

Not a collision with sable-nz4y (global command policy as a hard floor): the new text says suppression is project-owned and a separate surface from commandPolicy, without asserting the floor semantics that PR is still landing.

Should merge after (or with) securable-backend sb-u14j, since it describes that behaviour.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CKZyh4yEZBJnrjmoyPeSpG

Rome-1 and others added 3 commits September 8, 2026 11:15
…re rules (sable-u5ij)

CLI_SPEC promised that R-XXXXX ids are honoured remotely and that remote
runs emit suppressed.json; the production backend did neither until
securable-backend sb-u14j (same day), and it never suppresses must-fix or
secret-scanner findings, which no doc said. A customer read the spec, wrote
a correct file, and concluded the scanner ignores .rafter.yml (ra-mw1).

- Rule selectors: native id, hashed R-XXXXX display id, or title; unmatched
  selectors are listed in suppressed.json.
- Key spelling: camelCase and snake_case both accepted on every engine.
- Hosted-scanner invariant: must-fix / secret-scanner / unclassified
  critical-high findings are never suppressed by repo config; such matches
  land in suppressed.json under `blocked`. Suppression is project-owned and a
  separate surface from commandPolicy (sable-nz4y bounds that, not this).
- suppressed.json: where it lives, its `_suppressed` / `blocked` /
  `unmatched` / `applied` / `error` fields.
- suppress_finding tool text (Python and Node) says the same.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CKZyh4yEZBJnrjmoyPeSpG
…ible with one (sb-d5ld = B)

Rome's decision on sb-d5ld: the hosted scanner allows an ignore rule to hide
must-fix and secret-scanner findings on all scans, provided the rule carries
a non-empty reason; a missing or blank reason is a schema error that rejects
the whole .rafter.yml. Every protected suppression is listed at the top of
suppressed.json. exclude_paths cannot cross that floor (no reason slot).

Spec, CONFIG.md and the suppress_finding tool text (Python + Node) now say
so, replacing the "never suppresses" wording from the previous commit.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CKZyh4yEZBJnrjmoyPeSpG
…s rules keep working (sb-d5ld, delta B)

Grandfathered per the mayor's call: a rule without a reason still hides
ordinary findings on the hosted scanner and is held at the floor for
must-fix / secret-scanner ones (listed under `blocked` with a hint), rather
than rejecting the whole file. Spec, CONFIG.md and the suppress_finding
tool text say so.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CKZyh4yEZBJnrjmoyPeSpG
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.

1 participant