Status:
accepted v0.3 — body sourced from TriGraph spec entity. Docs-mirror file added by docs lane to surface ratified specs that lacked an on-disk mirror.SPEC-080: Tri-Graph Governance Lookup and Capability Index
SPEC-080 v0.3 — Tri-Graph Governance Lookup and Capability Index
Status
Accepted v0.3. Author: Candi (v0.1, v0.2) Schema co-author: Candi Engineering owner: Donna Architecture reviewer: Texi PO / ratifier: Donna Acceptance panel: Porsche Docs sweep: Desiree Plan: Plan #10 Wave 3 Blocker #6v0.3 Changelog (2026-05-04)
v0.3 is a terminology amendment only. No design changes; no acceptance-criteria changes; no contract changes other than the renames listed in §Renames. Operator (Frank) flagged that “recall” was overloaded withsemantic_recall
(which IS Prism memory recall over memory_embeddings per ADR-018) plus the
Claude Code harness’s auto-memory file system. Donna agreed; “lookup” is
plain-English unambiguous and reserves “recall” for actual memory retrieval.
The rename was caught and applied during PR-set-1A close-out (after
PR #123/#124/#125 had shipped using the v0.2 naming in code comments and
docstrings). Implementation files updated under PR set v0.3-rename.
Renames
NOT renamed (preserved as-is)
v0.2 Contract Inheritance
All v0.2 sections remain in force, modulo the renames above:- §Existing Architecture Boundary (SPEC-020 Tri-Graph preserved)
- §Shared Definitions (with
governance_lookupsubstituted forgovernance_recall) - §Source Model (DB typed artifacts + generated docs mirrors + static files + runtime observations + code/source paths + validation artifacts)
- §Authority Rules (advisory only; never silently outranks Ring authority, DB SOR, or live
prism_start) - §Type Ontology Registration (24 governance/capability types, registered in
trigraph_types/governance.jsonper Phase 1A PR #123) - §Edge Vocabulary Registration (11 SPEC-080 first-class edges + 9 SPEC-078/079 edges, registered in
_VALID_REFERENCE_TYPESper PR #123) - §Required Current-State Properties
- §Capability Index (capability nodes are tools/surface features, not agent authority)
- §Lookup Verb Contract (renamed from §Recall Verb Contract; signature unchanged)
- §Query Classes (9 classes: applicable_rules, surface_capabilities, authority_lookup, method_fragments, memory_domains, review_gates, supersession_check, validation_context, conflict_lookup)
- §Response and Prompt Safety (no raw graph paths in default response; opt-in via
include_paths=true) - §Extraction Phases (Phase 0 ratification done; Phase 1A registration shipped via PR #123; Phase 1B-DB extractor shipped via PR #124; Phase 1B-static extractor shipped via PR #125)
- §SPEC-065 Protection (no telemetry mutation)
- §Storage Notes
- §Failure and Fallback (Neo4j-unavailable fail-soft; stale freshness; conflict resolution)
- §Telemetry and Acceptance Panel (Porsche signals outside SPEC-065)
- §Acceptance Criteria 1–18
Phase 2 (next)
Phase 2 implementation begins under v0.3 naming:- backend service
governance_lookup.pywith 9 query_class handlers - MCP verb registration
prism_governance_lookupin mcp-node + backend route - default response shape (advisory + cited + freshness-aware)
- disabled response shape when
PRISM_GOVERNANCE_LOOKUP_ENABLEDis false - Neo4j-unavailable fail-soft response shape
- pure-function tests + default-off invariant tests at the verb surface
Implementation status (post-PR-set-1A)
References
- SPEC-080 v0.2 (superseded; same contract minus the renames above)
- SPEC-020 v1.0, Tri-Graph Knowledge Representation
- SPEC-025, Tri-Graph projection/backfill behavior
- SPEC-026, Tri-Graph reconciler/freshness behavior
- SPEC-078 v0.2, Consensus-First Parallelism and Method Fragments
- SPEC-079 v0.2, Memory Domain Contracts and Continuous Improvement Loop
- ADR #47 v0.2, Governance Layer Precedence and Override Semantics
- ADR #48 v0.2, Identity / Surface / Specialization / Assignment / Style Model
- SPEC-065, Memory System Improvement: Research Methodology + Phase 0 Telemetry
- Plan #10 v0.6, Wave 3 Blocker #6 ownership map
backend/app/services/trigraph_*.pybackend/app/services/trigraph_types.pybackend/app/trigraph_types/governance.jsonbackend/app/services/trigraph_governance_extractor.pybackend/app/services/trigraph_governance_static_extractor.pydocs/TRIGRAPH.md

