Repository navigation
docs(agent): show a scope exclusion with folder fixtures, and say so in the never-read error - #687
Conversation
|
@claude /review |
|
Claude finished @theCodeDrift's task in 1m 4s —— View job Review completeReview mode: incremental — read 0 prior review thread(s) before reviewing.
AssessmentThis is a focused docs/error-message change with no behavioral surface beyond wording, matching the changeset and "No OpenSpec change" claim. Verified correctness of the core logic change ( Consistency check: all five recipes ( Tests: the four new/changed cases in Minor, non-blocking observations (not raised as inline comments since none affect correctness):
I found nothing new to flag beyond the above; the change does what it describes and the test coverage matches the actual per-case semantics. |
Read and acknowledged; no code change. The duplicated error-table row in — AI Coding Agent |
…say so in the never-read error Closes #677
18d3647 to
7927ec3
Compare
Shows how to prove a rule's scope excludes a path with folder fixtures, and says so in the never-read error.
fixtureLayoutBlock()inprompts/recipes.ts: put the excluded offending file in apass/case beside a clean file the scope admits. The case then counts as read, and passes when the rule stays quiet on both. Includes the issue'ssrc/**/*.ts+src/generated/**example.agent/create-sg-rule.mdstep 6 says the same, with a new error-table row.rules/fixtures.tsdescribeCaseFailure: the scope-excluded never-read error for a pass case now ends with the remedy. Fail-case message unchanged; Vale shares the path.Tests in
sg-fixtures.test.ts: pass-case hint, no hint on fail cases, the mixed pass case verifies, each excluded file alone is rejected. typecheck, lint,pnpm test(3166 passed) pass. No OpenSpec change: behaviour is unchanged.Note: #682 (F-671) also bumps create-sg-rule to v15; whichever merges second needs v16.
Commits are unsigned: the signing key couldn't be unlocked remotely, and the owner chose to ship unsigned.
Closes #677