cat-mode: relabeling text away from a checker is the fifth way past a block - #485
Conversation
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_75bfcff5-eabb-4479-8398-d54d71cf81cc) |
3d0fc73 to
f69c4cc
Compare
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_69a69980-af55-4fb1-93f4-c9b39f278bbc) |
|
Queued — the merge queue status continues in this comment ↓. |
|
Mergify repair stopped: missing required check lint |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_8cddc4d8-427b-4208-a8c2-69cda46dd218) |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_958c79c2-b120-4fb3-84d4-c7032ffb8e08) |
Review claim: the block-is-a-stop rule names relabeling text away from a checker as a forbidden shape, and the mode page is back under its line cap. Pre-edit test evidence: python3 -m unittest tests.test_cat_mode -v exited 0, so no FAIL line existed to paste. Observed final line: OK. Post-edit test evidence: python3 -m unittest tests.test_cat_mode -v exited 0. Observed final line: OK. Additional gates: git grep -c "relabel or relocate wording" -- corpus/skills/cat-mode/references/named-constraints.md reported corpus/skills/cat-mode/references/named-constraints.md:1; python3 scripts/check_no_dated_provenance.py exited 0 with ok no dated provenance.
…the block-is-a-stop rule names relabeling text away from a checker as a forbidden shape, and the mode page is back under its line cap. Review lane: docs Safety invariant: Prose only. No hook, script, installer, or settings change, and no edit outside corpus/skills/cat-mode; every existing cat-mode test assertion keeps its target text. Pending user confirmation in this session. Effectiveness measurement: tests/test_cat_mode.py passes in full, including the line-cap test and the block-is-a-stop reference test. Slice rationale: One rule's full text gains one shape and its page summary shrinks, so the diff carries one claim. Architectural effect: None; the mode page gains no new section. Goal: Extend the reference entry and shorten the page bullet. Motivation: The same session that produced the rule passed a plan checker by placing unchanged step text under a heading the checker does not inspect; the open change also pushed the page to 305 lines against a cap of 300. Alternative considerations: Raising the line cap was rejected; the cap exists so the page is trimmed instead of grown. Adding the fifth shape to the page bullet was rejected for the same reason; the full text lives in the reference file. Implementation details: In corpus/skills/cat-mode/references/named-constraints.md, inside the entry that begins "A hook or classifier block is a stop, not a puzzle", add one sentence before "Do what the block asks": Do not relabel or relocate wording so that the region a checker inspects no longer contains it; the words stay where the check looks, or the check is raised with the user. In corpus/skills/cat-mode/SKILL.md, shorten the same bullet to its bold lead plus one sentence: Do what the block asks, or report the block and stop; the forbidden shapes are in references/named-constraints.md. Then confirm the page is at most 300 lines and that every assertion in tests/test_cat_mode.py still finds its text, in particular the block-is-a-stop reference test and the named-constraints reference test. Non-goals: No change to any other bullet, section, hook, or script. No dates, session identifiers, or incident narrative in either file. Layer: docs Feature state: active Files: - corpus/skills/cat-mode/SKILL.md - corpus/skills/cat-mode/references/named-constraints.md Change types: - corpus/skills/cat-mode/SKILL.md: modify - corpus/skills/cat-mode/references/named-constraints.md: modify Acceptance criteria: - `python3 -m unittest tests.test_cat_mode -v` exits 0. - `git grep -c "relabel or relocate wording" -- corpus/skills/cat-mode/references/named-constraints.md` prints 1. - `python3 scripts/check_no_dated_provenance.py` exits 0. Exit code: 0 Invoker-Finalize-Id: fb02d846-de8e-467f-87bd-a9cf00392de7
|
@Mergifyio queue |
1 similar comment
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 4 minutes 57 seconds in the queue, including 4 minutes 2 seconds running CI. Required conditions to merge
ReasonPull request #485 has been dequeued GitHub refused to merge the pull request. Pull Request has merge conflicts. This is usually enforced by a branch protection or ruleset rule. HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Tick the box to put this pull request back in the merge queue (same as
|
☑️ Command
|
…claim: the cat-mode test module and the prose gates pass on the finished branch. Review lane: proof Safety invariant: Verification is read-only and does not alter any file. Effectiveness measurement: The test module run and the two gates are the direct measurement. Slice rationale: One focused proof per claim before review. Architectural effect: None; verification only. Goal: Prove the cap holds and the reference text landed. Layer exception: allowed. Proof runs after the docs task so it checks the finished branch; it reads files only and changes nothing. Motivation: The base branch fails this exact test today. Alternative considerations: The full repository suite was rejected; this module is the one the branch touches. Implementation details: Run the cat-mode test module, the provenance gate, and the skill coverage gate. Non-goals: No mutations. Layer: app_regression Feature state: active Acceptance criteria: - Exits 0 only when all three pass. Exit code: 0 Invoker-Finalize-Id: 1691001f-ec44-4a7e-9428-0e9abb7163c7
…o ephemeral inter-task handoff files remain in the worktree before the merge gate. Review lane: cleanup Safety invariant: The scrub script only checks for known handoff artifact names and never touches source, tests, or other repository files. Effectiveness measurement: The script exits non-zero if any handoff artifact remains. Slice rationale: Required terminal scrub for every implementation workflow. Architectural effect: None; hygiene only. Goal: Leave the branch free of handoff artifacts. Motivation: Handoff files must not reach the PR. Alternative considerations: Manual cleanup was rejected as non-deterministic. Implementation details: Run scripts/scrub-handoff-artifacts.sh. Non-goals: No product edits. Layer: app_regression Feature state: active Acceptance criteria: - `bash scripts/scrub-handoff-artifacts.sh` exits 0. Exit code: 0 Invoker-Finalize-Id: 34a327a5-d6a4-4343-aaa6-ea633bd87935
…4b7440b6-e77ab05c — Review claim: No ephemeral inter-task handoff files remain in the worktree before the merge gate. Review lane: cleanup Safety invariant: The scrub script only checks for known handoff artifact names and never touches source, tests, or other repository files. Effectiveness measurement: The script exits non-zero if any handoff artifact remains. Slice rationale: Required terminal scrub for every implementation workflow. Architectural effect: None; hygiene only. Goal: Leave the branch free of handoff artifacts. Motivation: Handoff files must not reach the PR. Alternative considerations: Manual cleanup was rejected as non-deterministic. Implementation details: Run scripts/scrub-handoff-artifacts.sh. Non-goals: No product edits. Layer: app_regression Feature state: active Acceptance criteria: - `bash scripts/scrub-handoff-artifacts.sh` exits 0.
cb21333 to
90a4e2b
Compare
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_726e0d4e-31c4-4da8-b300-768c8f673bbc) |
Summary
The rule page tells agents to stop when a hook or classifier blocks a requested action.
The full rule now names five ways of trying to evade that stop, including hiding unchanged wording from the inspected region.
The page summary had grown beyond its line limit.
This change keeps the summary short and records the fifth forbidden shape in the full reference text.
Review Claim
The stop rule forbids relabeling text away from a checker, while the page remains within its line limit.
Review Lane
docs
Review Unit
docs
Safety Invariant
This is a prose-only change inside the cat-mode documentation. It changes no hooks, scripts, installers, settings, or runtime behavior.
Slice Rationale
The full rule belongs in the reference text, while the mode page needs only a short reminder to stay within its existing line limit.
Non-goals
Test Plan
Test Plan
python3 -m unittest tests.test_cat_mode -v && python3 scripts/check_no_dated_provenance.py && python3 scripts/check_skill_test_coverage.py --base origin/main --head HEADbash scripts/scrub-handoff-artifacts.shRevert Plan
Revert Plan
git revert <sha>.