Repository navigation
v1.24.0 — Single-source hard-rules count + RED-GREEN behavioral test layer
·
8 commits
to main
since this release
Closes the two items the meta-audit (v1.22–v1.23) had deliberately deferred.
Changed — single-sourced the "hard rules" count
- The literal "10 hard rules" was hard-coded across ~8 files (drift risk on every rule add). The number now lives only in the canonical heading of
references/05-convencoes-interpop.md §2(the numbered list 0–9 sits right below it, self-verifying). Every reference —SKILL.md,README.md,CONTRIBUTING.md,mcp-server/README.md+server.py, the issue template, the pt-BR mirrors — now says "the hard rules" (number-free) + the pointer. Adding a future rule no longer requires an 8-file edit. - Not a weakening: the rules stay exactly as hard.
CHANGELOGhistory is immutable and was left untouched.
Added — behavioural (RED-GREEN) test layer
tests/skill-behavior-scenarios.md— a RED-GREEN behavioural test spec for this discipline skill (writing-skills methodology). Seven pressure scenarios (skip elicitation/structure · BDD-in-Feature · config-as-Feature · bundled-CRUD · qualitative NFR · iceberg over/under-refinement · backlog-changed-without-document), each with the exact rationalisation it trains against, the expected RED (fail without skill) and GREEN (comply with skill), and the enforcing section. en-CA only (a test/methodology artifact, like the scaffolder + MCP).- Load-bearing skill invariants in
mcp-server/tests/smoke.py(CI jobmcp-smoke) — 9 automated checks asserting each guardrail still exists inSKILL.md(mandatory §0, rule zero, Feature/US split, theTXconfig rule, atomicity, quantitative NFR, the iceberg, the anti-patterns catalogue, the canonical hard-rules pointer). Deleting a guardrail now flips a check red in CI; theSnids tie each to a scenario.
Why this combination
A real RED-GREEN run needs an agent in the loop (CI cannot do that cheaply) → the spec documents the method and the automated gate catches structural regression (an accidentally-deleted guardrail). Best of both.
version 1.23.0 → 1.24.0. CI 5/5 green; markdownlint en-CA 0 errors; MCP smoke passes (refs == 15 + 9 new invariants); frontmatter en↔pt parity verified.
🤖 Released via Claude Code (PR #24).