Skip to content

Cut phantom // rafter-ignore from the rafter skill triage doc - #162

Merged
Raftersecurity merged 2 commits into
mainfrom
fix/cut-rafter-ignore-from-triage
Jun 10, 2026
Merged

Cut phantom // rafter-ignore from the rafter skill triage doc#162
Raftersecurity merged 2 commits into
mainfrom
fix/cut-rafter-ignore-from-triage

Conversation

@Rome-1

@Rome-1 Rome-1 commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

docs/finding-triage.md (node + python skill copies) told agents to suppress findings with // rafter-ignore: …. That comment is only implemented in the VS Code extension (vscode/src/secret-scanner.ts) — the CLI scanner and rafter run don't honor it, so an agent following the triage guide would try it and it'd silently do nothing.

Replaces it with the real CLI suppression mechanism:

  • a .rafter.yml ignore: rule (paths / rules / reason),
  • match rules on the rule name, not the hashed R-… PR-comment id,
  • the _suppressed[] + exit-code behavior on local scans,
  • baseline corrected to rafter agent baseline create + rafter scan --baseline,
  • links to https://docs.rafter.so/suppression.

Verified against the CLI source + the existing suppression/policy/baseline tests (all pass). Docs-only change.

🤖 Generated with Claude Code

Rome-1 and others added 2 commits June 4, 2026 23:58
`// rafter-ignore` is only implemented in the VS Code extension, not the CLI
scanner — so an agent reading the rafter skill's triage guide would try it on a
`rafter scan` / `rafter run` and it'd silently do nothing. Replace it with the
real CLI suppression mechanism: a `.rafter.yml` `ignore:` rule (paths / rules /
reason), with a note to match on the rule name not the R- id, and the
`_suppressed[]` + exit-code behavior. Baseline guidance corrected to
`baseline create` + `scan --baseline`. Links to docs.rafter.so/suppression.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Verified against the scanner: the rule is emitted as "AWS Access Key ID";
"AWS Access Key" matches nothing and would silently suppress zero findings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Raftersecurity
Raftersecurity merged commit 7bb0802 into main Jun 10, 2026
@Raftersecurity
Raftersecurity deleted the fix/cut-rafter-ignore-from-triage branch June 10, 2026 00:27
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