Repository navigation
Description
Phase 3 of #2812, the last bucket in its sheet table: the 41 unplanted domain sensors (structural_boundaries, the architecture / subsystems / resources rows, the four hybrid sensors, the AI/ML, appsec and literate packs). The roadmap's line for them: "batch a transcribed sentence + kind/unit + contract-level absence; no 46-language audit (no corpus cell to move)". This issue is that batch, with one correction to the roadmap's premise and one carve-out.
What "stated" cannot honestly mean here
signal_contracts.py defines stated as audited against every corpus language, with a docs/<signal>_rule_contract.md giving the per-language verdicts, and every one of the 15 stated rows earned it by editing the rules that disagreed with the sentence in the same PR. None of these 41 rows can get that in a batch: 21 of them are defined by 44–45 languages, and a one-pass incidence read of all 41 on the crucible (Prism code stream, the measurement rule_probe.py makes) shows the same defect shapes the stated contracts spent a session each removing — perl decorators matches :: package separators (2760 hits, 21/21 files), zig panics_and_aborts matches return (7538), dart closures matches if (...) { and every parameter list (3282), python vectorized_math matches the decorator @ (892), php bitwise_ops matches & inside HTML-entity strings (12316 of 15137), fortran serialization_parsing matches READ (/WRITE(/OPEN( (io's), lua panics_and_aborts matches assert (safety's).
So the batch gets a third lifecycle state rather than a false stated:
declared— the sentence,kindandunitare fixed and language-independent, the schema comment contains the sentence (the audit's containment check holds), incidence was measured on both corpora, and every rule the measurement shows contradicting the sentence is filed, not fixed. The rules have not been brought into line. Adeclaredrow becomesstatedthe day it gains a plant or a gated consumer and gets the family audit.draftkeeps its meaning;statedkeeps its meaning. The epic's close criterion ("nodraftrow") is unchanged and honest: adeclaredrow says exactly how far it was taken.
Carve-out: encapsulation stays draft
It is in this bucket by the sheet's flags (unplanted) but it governs _calc_api_exposure and is the derivation edge behind def_encapsulation; #2766 already documents that rust counts pub (the complement) and agc_assembly matches every column-0 token. It needs the family audit, not a sentence. Left draft, issue=2766.
Deliverable (one engine PR, one layer: the sheet)
gitgalaxy/standards/signal_contracts.py: 40 rows rewritten to one language-independent sentence each,kindcorrected where the transcribed one was wrong,status="declared",doc="docs/domain_sensor_contracts.md"; thedeclaredstate in the lifecycle docstring; STREAM_CONTRACT corollary 2 gains the fourlit_*rules (markdown's Prose Bypass routes the whole file tocomment_stream;detector.comment_analysisruns them there — my first probe read 0 for all four on the code stream).how_to_add_a_language.md: the 40 schema comment lines carry the sentence + Includes/EXCLUDES; the extension-pack bullets aligned.tests/signal_contract_audit.py:declaredis not a finding; the render says draft/declared/stated; baseline regenerated (53 → 13 draft entries).docs/domain_sensor_contracts.md: per-row table — registry coverage,Nonecount, crucible/rosetta hits, top matched token, verdict, filed issue.docs/contract_roadmap.md: the Phase 3 bucket line and "done when" updated fordeclared.- Defects filed by shape, not per cell (the STRUCTURE COUNTS lesson): one issue per shape, each with its measured table.
No corpus PR: no manifest cell moves, no ledger entry is touched.
Activity
domain sensors: declare the 40 unplanted, ungated sheet rows in one b…
fix(rules): align the domain sensors with their declared contracts — c…
test: the encapsulation carve-out's exit condition is met -- pin stat…
fix(rules): state the encapsulation contract and align all 46 languag…
Activate auth_middleware as a first-class domain sensor across the re…
feat(signals): system_config_mutation -- durable shared-config mutati…