feat(cognition): fail-closed linguistic governance + trilingual constraint pipeline #96
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/linguistic-governance-fail-closed-ir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes residual linguistic-governance debt on the answer-authority path and lands the typed trilingual constraint → field → articulation stack from the Linguistic Cognition dossier (without overwriting Accepted ADR-0246–0252).
CoherenceRefusal,ContractViolation,FieldFailure,ConstraintViolationwithfailure_class,violated_condition,residual_state,refusal_reason.step_idandkind:symbol(no raw payload-value whitelist bypass).contract_assessment is Noneor open geometry → typed abstention; no certified fluent runtime answer.embed_point+ construction-closed rotors (nounitize_versoringenerate/); outcomes: Coherent / Ambiguous / CoherenceRefusal.Test plan
uv run pytest tests/test_linguistic_governance_phases.py tests/test_surface_resolution.py -q→ 31 passeduv run core test --suite smoke -q→ 180 passedAlice has 5 books.→ coherent;sold 3 apples.→ refusal;Alice sold Bob 3 apples.→ ambiguous"2") and valid-ref + uncertified content → HALLUCINATEDResidual debt
Full HE event lexicon / full Koine coverage beyond Phase-4 fixtures; legacy math/meaning_graph IR not yet unified under
core.semantic_primitives; no new ADR (avoid 0246–0252 collision).[Verification]: Smoke suite passed locally (~138s, 180 passed); governance unit suite 31 passed.