aboutsummaryrefslogtreecommitdiff
path: root/claude-rules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-11 01:36:35 -0500
committerCraig Jennings <c@cjennings.net>2026-06-11 01:36:35 -0500
commit63b9a5f6b451f63e7f18381c47f4464bda993ead (patch)
tree96bee32201ddecfb15cd3711833bd395ab849b63 /claude-rules
parentdf948363e130e19315f28e36d909f2e4cd28627b (diff)
downloadrulesets-63b9a5f6b451f63e7f18381c47f4464bda993ead.tar.gz
rulesets-63b9a5f6b451f63e7f18381c47f4464bda993ead.zip
feat: insights follow-ups — empirical-first debugging, staging guard, invariants
From the 2026-06-11 usage report. The debug skill gains a hypothesis-discipline contract (rank candidate causes by cheapest empirical test, run probes in parallel, report only confirmed findings) targeting the serial theory-cycling the report flagged. commits.md's pre-commit checklist gains a staged-files guard covering the untracked-set and canonical-vs-mirror conventions. A small tracked CLAUDE.md carries the rulesets mirror invariant at turn zero. Two [#C] pilots filed: a read-only morning ops orchestrator and a monthly session-harvest workflow. The report's 500-token-cap finding was a mislabel: the underlying transcripts show 529 Overloaded and stream-idle-timeout errors with no token cap configured anywhere, so nothing to change there.
Diffstat (limited to 'claude-rules')
-rw-r--r--claude-rules/commits.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/claude-rules/commits.md b/claude-rules/commits.md
index 3bb6724..a3ec0f2 100644
--- a/claude-rules/commits.md
+++ b/claude-rules/commits.md
@@ -454,7 +454,8 @@ independent gate.
1. Check author identity: `git log -1 --format='%an <%ae>'` — should be the user.
2. Scan the message for AI-attribution language (including emojis and footers).
3. Review the diff — only intended changes staged; no unrelated files.
-4. Run tests and linters (see `verification.md`).
+4. Confirm staged files belong in the repo: nothing that the project's policy keeps untracked (the personal-tooling set in gitignore-mode projects), and in repos with a canonical/mirror split, the edit is on the canonical side — a mirror-only edit gets reverted by the next sync.
+5. Run tests and linters (see `verification.md`).
## If You Catch Yourself