1 Commits
Author SHA1 Message Date
Nick 2c273574a4 feat(construction_pattern): close PARTIAL gaps to FULL — dichotomy wave
Audit PARTIAL 7/13 -> FULL 13/13 (headline 74/192, fn 1358/2278).

Ported: _need_dict (FFI need envelope, wired into cp_evaluate/cp_derive),
_surface_text (evidence token union, set semantics). Renamed to exact
Python names per the name-preserving law: _path_matches, _entity_matches,
_obligation_when_hit (were path_matches/entity_matches/obligation_when_hit)
and the evaluate_applicability _check closure — same bodies, exact names;
precedent: structural_store _sorted/_ss_core, construction_decision _sc_core.

Truth: frozen_cp_truth.json 70->96 cases (path_match/entity_match/
need_dict/surface_text/when_hit families, incl. re.split empty-quirk and
truthy-not-True always cases); harness surface frozen_truth.json 18 cases
(from_dict/revise stay in the bespoke battery — bare instances are not
harness-serializable). Battery 14 tests replay all 96 VERBATIM.

Verification (verification/summary.md, all exit 0): battery 14/14, clippy
0 warnings, harness verify 18/18, live parity 192/192 both pins (new
check_construction_pattern_parity.py; class ops via cp_loader under the
kernel pin), pytest 30/30 module + 20/20 consumers under
RUNE_CP_CORE=python and auto.
2026-10-13 18:30:24 +01:00