Skip to content

feat(tools): mm_prereg_lint + auto-lint on preregister + gate wiring (v0.2.6)#17

Merged
bhyi4 merged 2 commits into
mainfrom
feat/prereg-lint-tool-v0.2.6
Jul 21, 2026
Merged

feat(tools): mm_prereg_lint + auto-lint on preregister + gate wiring (v0.2.6)#17
bhyi4 merged 2 commits into
mainfrom
feat/prereg-lint-tool-v0.2.6

Conversation

@bhyi4

@bhyi4 bhyi4 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

Surfaces measure-mirror's new prereg_lint (v0.26.0, measure-mirror#28) through the stack, and wires it into the sealing workflow so a defective seal can't silently pass:

  • mm_prereg_lint tool (19 tools) — seal-quality check to run before spending compute; distinct from mm_falsifiability_check (presence) and mm_preflight (existence gate).
  • mm_preregister: pre_seal_checks passthrough, and the response now carries an automatic lint of the just-sealed entry.
  • Compute gate (gate.py / mirror-stack-gate): BLOCKs on a lint FAIL (e.g. pass bar at/below chance) with the exact findings; a prereg whose kill-condition leaked into the metric field now BLOCKs with the accurate reason instead of the misleading "no preregistration".
  • Connect-time DISCIPLINE: pre-compute steps now 1 seal (+declare pre_seal_checks) → 2 power → 3 lint.
  • Deps: measure-mirror pin e2911ca13077df (v0.26.0 — required by the above).
  • Docs: README tool table (19), STACK_CANONICAL stale "18 tools" fixed.

Grounds

The semantic-fuel cell arc (2026-07-20~21) sealed 3 preregistrations whose kill-conditions leaked into the metric field via malformed calls — visible to the eye, invisible to the parser. The old gate would have reported "no preregistration" for these; the new path names the real defect and points to the fix (re-seal under a new claim_id).

Tests

46 passed — 6 new (lint tool, auto-lint response, gate BLOCK on lint FAIL, GO with lint pass, leaked-kill accurate reason ×2).

🤖 Generated with Claude Code

Mother Seara and others added 2 commits July 21, 2026 10:55
…(v0.2.6)

- mm_prereg_lint (19 tools): surface measure-mirror's ㉗ prereg_lint —
  seal-QUALITY check to run before spending compute, distinct from
  mm_falsifiability_check (presence) and mm_preflight (existence gate)
- mm_preregister: pre_seal_checks passthrough + the response now carries
  an automatic seal-quality lint
- gate.py compute gate: BLOCK on a lint FAIL (e.g. pass bar at/below
  chance) with the exact findings; a prereg whose kill-condition leaked
  into the `metric` field now BLOCKs with an accurate reason (pointing
  to mm_prereg_lint) instead of the misleading "no preregistration"
- connect-time DISCIPLINE: pre-compute steps now 1 seal (+declare
  pre_seal_checks) → 2 power → 3 lint

Tests: 46 passed (6 new: lint tool, auto-lint response, gate BLOCK/GO,
leaked-kill reporting).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The CI package job's smoke assertion still expected 18 tools — the same
count-drift class the sync tests exist to catch, but living in a file
pytest doesn't collect. Caught by CI on #17.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@bhyi4
bhyi4 merged commit 166609e into main Jul 21, 2026
4 checks passed
@bhyi4
bhyi4 deleted the feat/prereg-lint-tool-v0.2.6 branch July 21, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant