Repository navigation
Quality gates and portability contract #269
grisuno
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I closed the quality contract and the portability gap in one unit of work.
The mechanism that broke was a silent drift between a claim and the source.
CLAUDE.md declared ruff and the test suite green, the committed command index
was stale, and a helper referenced constants that had moved to another module.
None of these raised an error; they were invisible until the suite ran.
I generalized the fix as mechanical gates instead of one-off corrections:
imports and fails when a cited symbol is gone.
files and fails on a surviving mutant.
the reasoning that the code cannot carry.
A mutation runner that skips a missing target is broken, not passing. I changed
tests/run_mutation_tests.py to fail on a stale target and pointed three
mutations at the module where the constants now live.
Portability is a contract too. I removed every tracked /home/grisun0 path,
templated the editor and MCP configuration, and untracked generated artifacts
(mutants/, kernel objects, .coverage, stale .tool files).
Validation: ruff clean, pytest 3608 passed, BDD 530 passed, mutation 10 of 10
runners pass, contract manifest and doc stats in sync.
All reactions