aboutsummaryrefslogtreecommitdiff
path: root/inbox/PROCESSED-2026-07-20-0847-from-archsetup-suspend.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-27 14:13:32 -0500
committerCraig Jennings <c@cjennings.net>2026-07-27 14:13:32 -0500
commit2f45b6e0010ce375e2c52c91a6537c6d6e8bc0a5 (patch)
treec89e06112df046d72905531123bfbfc1bce339a1 /inbox/PROCESSED-2026-07-20-0847-from-archsetup-suspend.org
parent931f364864441676eb250cecd074c4876012a1cd (diff)
downloadrulesets-main.tar.gz
rulesets-main.zip
refactor(rules): split testing.md, fix the approval gate, require first personHEADmain
Three changes to the same layer. I split testing.md the way I split commits.md, by what has to be resident rather than by size. What stays is the standing directive: TDD is the default, write the failing test first, and every unit needs Normal, Boundary, and Error cases. That has to fire before any code is written, which is exactly when no skill has been summoned, so it can't ride a trigger. Everything else moved to the testing-standards skill: characterization recipes, the per-category detail, property-based and mutation testing, the pyramid, integration rules, naming, the test-quality and mocking rules, coverage targets, the spike exception, and the anti-patterns. 2,824 words down to 347. I fixed the approval gate in the publish flow. It decided whether to ask for approval by checking whether .ai/ is tracked, using that as a proxy for "team repo." The proxy was wrong in the direction that matters: rulesets, home, and work all track .ai/ while all three are private single-user repos, so the rule skipped the gate on the three projects I use most. It now checks whether any remote is on a host other than cjennings.net, which is the thing that actually decides whether someone else reads the log. Every current project resolves to gate-applies, which matches how the flow has actually been run. I also added a first-person directive to the always-loaded core. One already existed for commit bodies and PR prose, but it moved into the publish skill with everything else, and it never covered code comments at all. Now everything I author in or about the repo is first person, with one carve-out: a comment describing what the code does stays third person, because there the code is the actor and not me. Separately I split the publish skill internally. PR descriptions and the three review shapes moved to references/pull-requests.md, since a plain commit never needs them. Always-loaded rules are now about 28,900 tokens, down from 57,800 this morning. One risk on the record. testing.md's margin is thinner than commits.md's was. If testing-standards fails to trigger while I'm writing tests I lose the mocking-boundary rules, which is a quality regression rather than a permanent one, but it is a real bet where commits.md's was not. I also moved the TDD rationalization table rather than cutting it. The posts argue that kind of over-argument is counterproductive now, but removing your defense against me skipping TDD is your call, not mine.
Diffstat (limited to 'inbox/PROCESSED-2026-07-20-0847-from-archsetup-suspend.org')
0 files changed, 0 insertions, 0 deletions