{
  "content": {
    "icon": "bi-cpu",
    "id": "algorithms",
    "label": "Algorithms",
    "layout": "ontology",
    "sections": [
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_evidence_before_generation[\"Evidence-Before-Generation\"]\n    n_semantic_operation_boundary[\"Semantic Operation Boundary\"]\n    n_capability_profile[\"Capability Profile\"]\n    n_creation_history_collision[\"Creation History Collision\"]\n    n_domain_cache_validation[\"Domain Cache Validation\"]\n    n_scope_extraction[\"Scope Extraction\"]\n    n_non_destructive_domain_investigation[\"Non-Destructive Domain Investigation\"]\n    n_domain_knowledge_base[\"Domain Knowledge Base\"]\n    n_risk_complexity_reversibility[\"Risk Complexity Reversibility\"]\n    n_existing_pattern_extraction[\"Existing Pattern Extraction\"]\n    n_knowledge_documentation_relevance[\"Knowledge Documentation Relevance\"]\n    n_principle_extraction[\"Principle Extraction\"]\n    n_adaptive_phase_boundary[\"Adaptive Phase Boundary\"]\n    n_phase_validation_requirement[\"Phase Validation Requirement\"]\n    n_portable_contract_composition[\"Portable Contract Composition\"]\n    n_validation_strategy_composition[\"Validation Strategy Composition\"]\n    n_replacement_safety[\"Replacement Safety\"]\n    n_adapter_rendering[\"Adapter Rendering\"]\n    n_audit_artifact[\"Audit Artifact\"]\n    n_semantic_compliance_validation[\"Semantic Compliance Validation\"]\n    n_evidence_grounding_validation[\"Evidence Grounding Validation\"]\n    n_algorithmic_embodiment_validation[\"Algorithmic Embodiment Validation\"]\n    n_final_generation_report[\"Final Generation Report\"]\n    n_agent_generation_completion[\"Agent Generation Completion\"]\n    n_agent_creator_kernel[\"Agent Creator Kernel\"]\n    n_agent_generation_concern[\"<Agent Generation Concern>\"]\n    n_audit_artifact --> n_capability_profile\n    n_agent_creator_kernel --> n_capability_profile\n    n_agent_creator_kernel --> n_scope_extraction\n    n_agent_creator_kernel --> n_domain_knowledge_base\n    n_agent_creator_kernel --> n_principle_extraction\n    n_agent_creator_kernel --> n_adapter_rendering\n    n_agent_creator_kernel --> n_final_generation_report\n    n_agent_creator_kernel --> n_agent_generation_completion\n    n_agent_creator_kernel --> n_evidence_before_generation\n    n_agent_creator_kernel --> n_risk_complexity_reversibility\n    n_agent_creator_kernel --> n_adaptive_phase_boundary\n    n_agent_creator_kernel --> n_creation_history_collision\n    n_agent_creator_kernel --> n_phase_validation_requirement\n    n_agent_creator_kernel --> n_evidence_grounding_validation"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-agent-creation",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Discover available context, inspect target-domain resources, extract concrete facts, construct a knowledge base, and generate only from verified evidence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Agent generation must be grounded in inspected domain structure, not assumptions.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Request → Discover → Inspect → ExtractFacts → KnowledgeBase → Generate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EvidenceBeforeGeneration ::= <UserRequest> \"→\" <ResourceDiscovery> \"→\" <DomainInspection> \"→\" <FactExtraction> \"→\" <KnowledgeBase> \"→\" <GeneratedAgent>\nGeneratedAgent ::= \"allowed_only_if_evidence_grounded\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [model_governance](/records/force/model-governance), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An agent generated from the request text and prior model knowledge, never inspecting the target.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "request → discover resources → inspect domain → extract facts → knowledge base → generate only from verified evidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-evidence-before-generation",
            "title": "Evidence-Before-Generation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define required work as semantic operations, defer runtime execution details to adapters, and reject runtime-specific primitives from the portable core contract.",
                    "term": "Intent"
                  },
                  {
                    "description": "The core agent contract describes what must happen; the adapter decides how it happens.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SemanticVerb → AdapterMapping → RuntimeAction → Result",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SemanticBoundary ::= <SemanticOperation> \"→\" <AdapterMapping> \"→\" <RuntimeExecution> \"→\" <EvidenceResult>\nSemanticOperation ::= \"DECLARE_RESOURCE\" | \"DISCOVER_RESOURCES\" | \"READ_RESOURCE\" | \"SEARCH_CONTENT\" | \"ANALYZE_CONTENT\" | \"EXTRACT_FACTS\" | \"CALCULATE_METRIC\" | \"COMPOSE_ARTIFACT\" | \"VALIDATE_ARTIFACT\" | \"PERSIST_ARTIFACT\" | \"REPORT_RESULT\" | \"REQUEST_DECISION\"\nCoreConstraint ::= \"no_runtime_specific_paths_or_commands\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The agent core hardcodes a specific search command and an absolute path, so it only runs on one runtime.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "semantic op{DISCOVER/READ/SEARCH/ANALYZE} → adapter maps to the runtime → the core carries no runtime path or command",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-semantic-operation-boundary",
            "title": "Semantic Operation Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect filesystem, search, execution, persistence, validation, and user-interaction capabilities; mark unsupported capabilities; substitute where safe; block where required capability is non-substitutable.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generated workflows must know what their runtime can do.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CapabilitySet → Probe → Available|Unavailable|Substituted → RuntimeMode",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CapabilityProfile ::= <RequiredCapabilitySet> \"→\" <CapabilityProbeSet> \"→\" <CapabilityVerdict>\nCapabilityVerdict ::= \"full\" | \"degraded\" | \"blocked\"\nCapability ::= \"filesystem\" | \"search\" | \"execution\" | \"persistence\" | \"validation\" | \"user_interaction\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Audit Artifact](/records/algorithms/audit-artifact), [Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The agent assumes it can execute and write, then fails when it cannot.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "required capabilities{filesystem, search, execution, persistence, validation} → probe each → mode{full | degraded | blocked}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-capability-profile",
            "title": "Capability Profile"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load existing agent and invocation registries, map existing identities, compare target name and domain, and require the developer's decision before refinement, renaming, replacement, or cancellation.",
                    "term": "Intent"
                  },
                  {
                    "description": "Agent creation must not silently duplicate or overwrite prior work.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TargetAgent → ExistingRegistry → NameCollision? → DomainCollision? → Decision",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CreationCollision ::= <TargetAgentName> \"→\" <ExistingAgentMap> \"→\" <CollisionCheck> \"→\" <AgentOperationMode>\nAgentOperationMode ::= \"CREATE\" | \"REFINE\" | \"RENAME\" | \"REPLACE\" | \"CANCEL\"\nCollisionCheck ::= \"name_collision\" | \"domain_collision\" | \"none\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A new agent silently overwrites an existing one of the same name.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "target name → existing registry → name/domain collision? → developer decision{CREATE|REFINE|RENAME|REPLACE|CANCEL}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-creation-history-collision",
            "title": "Creation History Collision"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Normalize the domain path, compute a domain hash, search cache entries, fingerprint the domain's sources, and reuse cached knowledge only when the entry's identity matches and its derivation fingerprint equals the current one.",
                    "term": "Intent"
                  },
                  {
                    "description": "Prior domain intelligence can be reused only when freshness and identity are verified.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DomainPath → Normalize → Hash → CacheLookup → FingerprintCheck → UseCache|Investigate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DomainCache ::= <DomainPath> \"→\" <DomainHash> \"→\" <CacheEntry> \"→\" <SourceFingerprint> \"→\" <CacheDecision>\nCacheDecision ::= \"use_cached_domain\" | \"reject_stale_cache\" | \"no_cache_investigate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Stale cached domain intelligence reused as if it were current.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "domain path → normalize + hash → cache lookup → fingerprint of the domain's sources vs the entry's derivation fingerprint → {use cached | reject stale | investigate}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-domain-cache-validation",
            "title": "Domain Cache Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Determine whether the target is a resource, directory, module, repository, or unknown scope; then extract interfaces, declarations, dependencies, systems, or boundaries appropriate to that scope.",
                    "term": "Intent"
                  },
                  {
                    "description": "Investigation depth must match target-domain shape.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TargetPath → InvestigationType → ScopeModel → ResourceSet → InterfaceFacts",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ScopeExtraction ::= <TargetPath> \"→\" <InvestigationDepth> \"→\" <DomainScope>\nInvestigationDepth ::= \"single-resource\" | \"directory\" | \"module\" | \"repository\" | \"auto\"\nDomainScope ::= <ResourceScope> | <DirectoryScope> | <ModuleScope> | <RepositoryScope>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A repository investigated at single-file depth, missing every boundary.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "target → investigation depth{single-resource|directory|module|repository} → scope-matched facts{interfaces, deps, boundaries}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-scope-extraction",
            "title": "Scope Extraction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Prepare static investigation, optionally prepare safe executable analysis, prohibit source mutation, execute or emulate analysis, and merge observable outputs into domain intelligence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Domain discovery may inspect and analyze, but must not mutate the source domain.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StaticPlan + OptionalExecutablePlan → Analyze → ExtractStructure → CacheResults",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DomainInvestigation ::= <InvestigationPlan> \"→\" <AnalysisExecution> \"→\" <DomainKnowledge>\nInvestigationPlan ::= <StaticAnalysisPlan> \",\" <OptionalExecutableAnalysisPlan>\nExecutionConstraint ::= \"non_destructive\" \",\" \"observable_output_required\" \",\" \"source_mutation_forbidden\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [state_transaction](/records/force/state-transaction), [observability_traceability](/records/force/observability-traceability), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Investigation runs a script that mutates the source it is inspecting.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "static plan (+ optional safe executable) → analyze, never mutate the source → observable output → domain knowledge",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-non-destructive-domain-investigation",
            "title": "Non-Destructive Domain Investigation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Store target scope, discovered structure, purposes, dependencies, interfaces, patterns, statistics, timestamp, and evidence sources in a reusable knowledge object.",
                    "term": "Intent"
                  },
                  {
                    "description": "Agent generation needs an explicit evidence substrate.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DomainFacts → Statistics → EvidenceSources → KnowledgeBase",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DomainKnowledgeBase ::= <DomainScope> \",\" <DomainStructure> \",\" <PurposeSet> \",\" <DependencyMap> \",\" <InterfaceSet> \",\" <PatternSet> \",\" <Statistics> \",\" <EvidenceSourceSet>\nStatistics ::= \"resource_count\" \",\" \"interface_count\" \",\" \"dependency_count\" \",\" \"resource_types\" \",\" \"architectural_patterns\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Generation proceeds with no explicit evidence substrate to cite.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "domain facts + structure + purposes + deps + interfaces + patterns + statistics + evidence sources → reusable knowledge base",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-domain-knowledge-base",
            "title": "Domain Knowledge Base"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Analyze domain dependencies, side effects, resource count, interface count, dependency patterns, and uncertainty factors to assign risk, complexity, reversibility, and uncertainty.",
                    "term": "Intent"
                  },
                  {
                    "description": "Phase rigor should be proportional to domain risk and complexity.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "KnowledgeBase → RiskFactors → ComplexityScore → Reversibility → Uncertainty",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DomainCharacteristics ::= <RiskLevel> \",\" <ComplexityScore> \",\" <Reversibility> \",\" <UncertaintyLevel>\nRiskLevel ::= \"low\" | \"medium\" | \"high\"\nReversibility ::= \"reversible\" | \"partially-reversible\" | \"irreversible\"\nUncertaintyLevel ::= \"low\" | \"medium\" | \"high\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every agent given the same phase count regardless of how risky its domain is.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "knowledge base → risk{low|medium|high} + complexity + reversibility{reversible|partial|irreversible} + uncertainty",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-risk-complexity-reversibility",
            "title": "Risk Complexity Reversibility"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Inspect existing agent specifications, count phase markers, validation gates, and semantic operations, extract reusable structures, and derive baseline design conventions.",
                    "term": "Intent"
                  },
                  {
                    "description": "New agents should conform to proven local agent grammar where evidence exists.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ExistingSpecs → PhaseCount → GateCount → OperationUsage → ReusablePatterns",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ExistingPatternExtraction ::= <ExistingAgentSpecSet> \"→\" <StructuralMetricSet> \"→\" <ReusablePatternSet>\nStructuralMetricSet ::= \"phase_count\" \",\" \"validation_gate_count\" \",\" \"semantic_operation_count\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A new agent invented in a shape that ignores the local agent grammar.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "existing specs → count{phases, gates, semantic ops} → reusable structures → baseline conventions",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-existing-pattern-extraction",
            "title": "Existing Pattern Extraction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Discover knowledge documents, read descriptions, compare them against domain characteristics, score relevance, and exclude irrelevant documents from core reasoning.",
                    "term": "Intent"
                  },
                  {
                    "description": "Supporting documents should influence generation only when relevant to the target domain.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "KnowledgeDocs → RelevanceAnalysis → RelevantDocs → PrincipleInput",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "KnowledgeRelevance ::= <KnowledgeDocumentSet> \"→\" <RelevanceScoreSet> \"→\" <RelevantKnowledgeSet>\nRelevanceDecision ::= \"include\" | \"exclude\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every knowledge doc fed into reasoning, relevant or not.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "knowledge docs → read descriptions → score relevance vs domain → include relevant, exclude the rest",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-knowledge-documentation-relevance",
            "title": "Knowledge Documentation Relevance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Start from structural principles, test applicability against domain characteristics, add domain-specific principles from relevant documents, and exclude runtime-specific principles from the core.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generated agents should embody portable design principles selected from evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StructuralPrinciples + DomainDocs → Applicability → CorePrinciples",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PrincipleExtraction ::= <CandidatePrincipleSet> \"→\" <ApplicabilityAnalysis> \"→\" <CorePrincipleSet>\nCorePrinciple ::= \"phase_gated_execution\" | \"validation_boundaries\" | \"declaration_before_use\" | \"evidence_before_composition\" | \"adapter_separation\" | \"auditability\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Runtime-specific principles baked into the portable core.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "structural candidates + domain docs → test applicability → core principles{phase-gated, validation-boundaries, declaration-before-use, evidence-before-composition, adapter-separation, auditability}; runtime-specific excluded",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-principle-extraction",
            "title": "Principle Extraction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Select phase count from risk and complexity, assign phase boundaries, and strengthen validation density for high-risk or high-complexity domains.",
                    "term": "Intent"
                  },
                  {
                    "description": "Agent structure should scale with domain difficulty.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Risk + Complexity + Uncertainty → PhaseCount → PhaseBoundaries",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PhaseBoundarySelection ::= <RiskLevel> \",\" <ComplexityScore> \",\" <UncertaintyLevel> \"→\" <PhaseStructure>\nPhaseStructure ::= <ThreePhase> | <FivePhase> | <SevenPhase>\nThreePhase ::= \"Discovery\" \",\" \"Generation\" \",\" \"Verification\"\nFivePhase ::= \"Discovery\" \",\" \"Analysis\" \",\" \"Generation\" \",\" \"Verification\" \",\" \"Finalization\"\nSevenPhase ::= \"Discovery\" \",\" \"Analysis\" \",\" \"Planning\" \",\" \"Validation\" \",\" \"Generation\" \",\" \"Verification\" \",\" \"Finalization\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification), [performance_scaling](/records/force/performance-scaling), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A high-risk irreversible domain given a 3-phase agent.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "risk + complexity + uncertainty → phase count{3 | 5 | 7} → validation density proportional to difficulty",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-adaptive-phase-boundary",
            "title": "Adaptive Phase Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For every phase boundary, generate explicit validation requirements from the phase purpose, adapter-separation needs, evidence-grounding needs, and safety constraints.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every phase must end with verifiable exit conditions.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PhaseSet → RequirementDerivation → ValidationGateSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PhaseValidation ::= <PhaseSet> \"→\" <ValidationRequirementSet> \"→\" <ValidationGateSet>\nPhaseValidationGate ::= <PhaseName> \":\" <RequirementSet>\nRequirementSet ::= <Requirement> | <Requirement> \",\" <RequirementSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A phase ends with no verifiable exit condition.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "phase → derive requirements{purpose, adapter-separation, evidence-grounding, safety} → a validation gate per phase",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-phase-validation-requirement",
            "title": "Phase Validation Requirement"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compose identity, purpose, methodology, domain scope, characteristics, capabilities, phases, validation strategy, constraints, and required outputs into a runtime-neutral agent contract.",
                    "term": "Intent"
                  },
                  {
                    "description": "The portable contract is the canonical artifact; adapter outputs are renderings.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "KnowledgeBase + Principles + Phases → PortableContract",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PortableAgentContract ::= <Identity> \",\" <Purpose> \",\" <DomainModel> \",\" <CapabilityRequirements> \",\" <PhaseSpecifications> \",\" <ValidationStrategy> \",\" <SafetyConstraints> \",\" <OutputContract>\nOutputContract ::= \"portable_agent_contract\" | \"invocation_contract\" | \"audit_report\" | \"final_report\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The agent authored directly as a runtime artifact, welded to one runtime.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "knowledge base + principles + phases → runtime-neutral contract{identity, purpose, domain model, capabilities, phase specs, validation strategy, constraints, outputs} = the canonical artifact",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-portable-contract-composition",
            "title": "Portable Contract Composition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define pre-generation, during-generation, and post-generation checks that enforce capabilities, creation history, evidence grounding, adapter separation, schema validity, and absence of unsupported assumptions.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generated artifacts must be validated throughout composition, not only afterward.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PreChecks → DuringChecks → PostChecks → ValidationStrategy",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "GenerationValidationStrategy ::= <PreGenerationChecks> \",\" <DuringGenerationChecks> \",\" <PostGenerationChecks>\nPreGenerationChecks ::= \"capabilities_detected\" \",\" \"history_checked\" \",\" \"domain_knowledge_available\"\nDuringGenerationChecks ::= \"phase_gates_enforced\" \",\" \"evidence_grounded_content\" \",\" \"adapter_separated\"\nPostGenerationChecks ::= \"schema_valid\" \",\" \"audit_complete\" \",\" \"unsupported_assumptions_absent\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The artifact validated only after it is written, never during.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "pre{capabilities detected, history checked, knowledge available} + during{phase gates, evidence-grounded, adapter-separated} + post{schema valid, audit complete, no unsupported assumptions}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-validation-strategy-composition",
            "title": "Validation Strategy Composition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "If replacing an existing artifact, require prior approval, archive existing artifacts, verify archive persistence, and block new persistence if archival cannot be confirmed.",
                    "term": "Intent"
                  },
                  {
                    "description": "Destructive generation requires recoverability before mutation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ReplaceIntent → Approval → ArchiveExisting → VerifyArchive → Persist|Block",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ReplacementSafety ::= <AgentOperationMode> \"→\" <ArchivePolicy> \"→\" <SafetyCheck> \"→\" <PersistenceDecision>\nArchivePolicy ::= \"archive_required_if_replace\" | \"archive_not_required\"\nPersistenceDecision ::= \"safe_to_persist\" | \"blocked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An existing agent overwritten with no archive — the original is lost.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "REPLACE → require approval → archive existing → verify the archive → persist only if recoverable, else block",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-replacement-safety",
            "title": "Replacement Safety"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Render the portable contract into runtime-specific agent specification, invocation contract, and audit artifacts only through adapter-defined schemas and destinations.",
                    "term": "Intent"
                  },
                  {
                    "description": "Runtime-specific artifacts are projections of the portable contract, not replacements for it.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PortableContract → AdapterSchema → RenderedArtifact → Validate → Persist",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AdapterRendering ::= <PortableContract> \"→\" <AdapterConfig> \"→\" <ArtifactSet> \"→\" <AdapterValidation> \"→\" <Persistence>\nArtifactSet ::= \"agent_specification\" \",\" \"invocation_contract\" \",\" \"audit_report\"\nAdapterConstraint ::= \"adapter_may_add_metadata_but_not_alter_core_intent\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The runtime artifact edited directly, diverging from the portable contract.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "portable contract → adapter schema → artifacts{agent spec, invocation contract, audit} → adapter may add metadata, never alter core intent",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-adapter-rendering",
            "title": "Adapter Rendering"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Record agent name, domain, operation mode, runtime environment, risk, complexity, reversibility, uncertainty, phase count, validation gates, evidence sources, capability profile, adapter identity, portability status, and timestamp.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generated agents require an inspectable provenance trail.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GenerationState → AuditFields → AuditReport",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AuditReport ::= <AgentIdentity> \",\" <DomainReference> \",\" <AgentOperationMode> \",\" <RuntimeEnvironment> \",\" <RiskMetrics> \",\" <ValidationGateSet> \",\" <EvidenceSourceSet> \",\" <CapabilityProfile> \",\" <AdapterIdentity> \",\" <PortabilityStatus>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Capability Profile](/records/algorithms/capability-profile)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A generated agent with no provenance — no record of how or from what it was built.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "generation state → audit{identity, domain, mode, risk metrics, gates, evidence sources, capability profile, adapter identity, portability status}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Capability Profile](/records/algorithms/capability-profile)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-audit-artifact",
            "title": "Audit Artifact"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Re-read the persisted agent specification, search for semantic operations, phase markers, validation gates, and runtime-specific leakage, then mark compliant only when required counts pass and leakage is absent.",
                    "term": "Intent"
                  },
                  {
                    "description": "Persistence is not enough; the stored artifact must still satisfy semantic structure.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PersistedSpec → MarkerSearch → CountMetrics → LeakageCheck → ComplianceVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SemanticCompliance ::= <PersistedArtifact> \"→\" <SemanticMarkerSet> \"→\" <MetricCheck> \"→\" <RuntimeLeakageCheck> \"→\" <ComplianceVerdict>\nComplianceVerdict ::= \"compliant\" | \"non_compliant\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The in-memory plan judged compliant, but the stored artifact never re-checked.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "re-read persisted spec → search{semantic ops, phase markers, gates} + leakage check → compliant only if counts pass and zero runtime leakage",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-semantic-compliance-validation",
            "title": "Semantic Compliance Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Search generated output for unsupported claims and evidence references, compare generated claims against the knowledge base, calculate grounding score, and reject artifacts below threshold.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generated architecture claims must trace back to evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GeneratedSpec → UnsupportedClaimSearch → EvidenceReferenceCheck → GroundingScore → Accept|Reject",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EvidenceGrounding ::= <GeneratedArtifact> \"→\" <ClaimAnalysis> \"→\" <KnowledgeBaseComparison> \"→\" <GroundingVerdict>\nGroundingVerdict ::= \"grounded\" | \"unsupported_claims_present\" | \"insufficient_evidence_references\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The generated agent asserts architecture claims that trace to nothing.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "generated spec → find claims → compare against the knowledge base → grounding score → reject below threshold",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-evidence-grounding-validation",
            "title": "Evidence Grounding Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Verify that generated agents contain phase gates, declaration-before-use structure, calculated metrics, exact thresholds or comparisons, and iterative discovery patterns.",
                    "term": "Intent"
                  },
                  {
                    "description": "The generated agent must embody the intended reasoning architecture, not merely describe it.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GeneratedSpec → EmbodimentMarkers → Score → Pass|Fail",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AlgorithmicEmbodiment ::= <GeneratedArtifact> \"→\" <EmbodimentMarkerSet> \"→\" <EmbodimentScore> \"→\" <EmbodimentVerdict>\nEmbodimentMarkerSet ::= \"phase_gates\" \",\" \"declaration_before_use\" \",\" \"calculated_metrics\" \",\" \"thresholds\" \",\" \"iterative_discovery\"\nEmbodimentVerdict ::= \"embodied\" | \"insufficiently_embodied\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The agent describes phase gates in prose but does not embody them.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "generated spec → markers{phase gates, declaration-before-use, calculated metrics, thresholds, iterative discovery} → embodied | insufficiently-embodied",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-algorithmic-embodiment-validation",
            "title": "Algorithmic Embodiment Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Summarize generated agent, target domain, operation mode, adapter, risk, complexity, reversibility, uncertainty, phase count, validation-gate count, compliance results, artifact references, degraded mode, and unsupported capabilities.",
                    "term": "Intent"
                  },
                  {
                    "description": "The final report must distinguish generated artifacts, validation status, and limitations.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ValidationResults + ArtifactRefs + Limitations → FinalReport",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FinalGenerationReport ::= <GenerationSummary> \",\" <RiskSummary> \",\" <ComplianceSummary> \",\" <ArtifactReferences> \",\" <LimitationSet>\nComplianceSummary ::= \"semantic_operations\" \",\" \"adapter\" \",\" \"evidence_grounding\" \",\" \"algorithmic_embodiment\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A report that conflates the artifact, its validation status, and its limitations.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "validation results + artifact refs + limitations{degraded mode, unsupported capabilities} → report distinguishing all three",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-final-generation-report",
            "title": "Final Generation Report"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Accept the generated agent as complete only when semantic-compliance, evidence-grounding above threshold, and algorithmic-embodiment all pass and the audit trail is recorded; otherwise route to regeneration or a blocked report.",
                    "term": "Intent"
                  },
                  {
                    "description": "Agent generation terminates as accepted only on a full validation pass — never a claim while any compliance, grounding, or embodiment gate is unmet.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ValidationVerdicts → AuditPresence → Accept|Regenerate|Blocked",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AgentGenerationCompletion ::= <ValidationVerdictSet> \"→\" <AuditCheck> \"→\" <AcceptanceVerdict>\nAcceptanceVerdict ::= \"agent_accepted\" | \"regenerate_required\" | \"blocked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Agent Creator Kernel](/records/algorithms/agent-creator-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A generated agent declared ready while its evidence-grounding failed and its algorithmic embodiment was insufficient.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "semantic compliance passed + evidence grounded above threshold + algorithmically embodied + audit recorded → agent_accepted; else regenerate | blocked",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-agent-generation-completion",
            "title": "Agent Generation Completion"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load configuration, detect capabilities, check creation history, validate cache, discover domain evidence, build knowledge base, analyze characteristics, extract principles, define phases, compose portable contract, render adapter artifacts, validate outputs, audit, and report.",
                    "term": "Intent"
                  },
                  {
                    "description": "Agent creation is an evidence-gated compiler from target-domain structure into portable agent contracts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Config → Capabilities → History → Cache → Discovery → Knowledge → Analysis → Principles → Phases → Contract → AdapterRender → Validate → Audit → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AgentCreatorKernel ::= <ConfigurationLoad> \"→\" <CapabilityProfile> \"→\" <CreationCollision> \"→\" <DomainCache> \"→\" <ScopeExtraction> \"→\" <DomainInvestigation> \"→\" <DomainKnowledgeBase> \"→\" <DomainCharacteristics> \"→\" <PrincipleExtraction> \"→\" <PhaseBoundarySelection> \"→\" <PortableAgentContract> \"→\" <AdapterRendering> \"→\" <SemanticCompliance> \"→\" <EvidenceGrounding> \"→\" <AlgorithmicEmbodiment> \"→\" <AuditReport> \"→\" <FinalGenerationReport>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Capability Profile](/records/algorithms/capability-profile), [Scope Extraction](/records/algorithms/scope-extraction), [Domain Knowledge Base](/records/algorithms/domain-knowledge-base), [Principle Extraction](/records/algorithms/principle-extraction), [Adapter Rendering](/records/algorithms/adapter-rendering), [Final Generation Report](/records/algorithms/final-generation-report), [Agent Generation Completion](/records/algorithms/agent-generation-completion)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Ungrounded Content](/records/architecture/ungrounded-content)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Evidence-Before-Generation](/records/algorithms/evidence-before-generation)",
                    "term": "orient"
                  },
                  {
                    "description": "[Risk Complexity Reversibility](/records/algorithms/risk-complexity-reversibility)",
                    "term": "see"
                  },
                  {
                    "description": "[Principle Extraction](/records/algorithms/principle-extraction)",
                    "term": "derive"
                  },
                  {
                    "description": "[Adaptive Phase Boundary](/records/algorithms/adaptive-phase-boundary)",
                    "term": "intent"
                  },
                  {
                    "description": "[Creation History Collision](/records/algorithms/creation-history-collision)",
                    "term": "constrain"
                  },
                  {
                    "description": "[Phase Validation Requirement](/records/algorithms/phase-validation-requirement)",
                    "term": "project"
                  },
                  {
                    "description": "[Adapter Rendering](/records/algorithms/adapter-rendering)",
                    "term": "act"
                  },
                  {
                    "description": "[Evidence Grounding Validation](/records/algorithms/evidence-grounding-validation)",
                    "term": "verify"
                  },
                  {
                    "description": "[Final Generation Report](/records/algorithms/final-generation-report)",
                    "term": "commit"
                  },
                  {
                    "description": "[Agent Generation Completion](/records/algorithms/agent-generation-completion)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A target domain turned straight into an agent by assumption, ungated.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "config → capabilities → history → cache → discover evidence → knowledge → risk analysis → principles → phases → portable contract → adapter render → validate{semantic/grounding/embodiment} → audit → report",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Capability Profile](/records/algorithms/capability-profile), [Scope Extraction](/records/algorithms/scope-extraction), [Domain Knowledge Base](/records/algorithms/domain-knowledge-base), [Principle Extraction](/records/algorithms/principle-extraction), [Adapter Rendering](/records/algorithms/adapter-rendering), [Final Generation Report](/records/algorithms/final-generation-report), [Agent Generation Completion](/records/algorithms/agent-generation-completion)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-agent-creator-kernel",
            "title": "Agent Creator Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-creation](/records/algorithms-domain/agent-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Load context> → <Detect capabilities> → <Check collisions> → <Discover domain evidence> → <Build knowledge> → <Analyze risk> → <Design phases> → <Compose portable contract> → <Render adapters> → <Validate grounding> → <Audit> → <Report>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any generated agent should be treated as a compiled artifact whose source is inspected domain evidence and whose target is a portable, adapter-renderable contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Context → Capability → History → Evidence → Knowledge → Risk → Phases → Contract → Adapter → Validation → Audit → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AgentGenerationConcern ::= <ContextContract> \"→\" <CapabilityContract> \"→\" <CollisionPolicy> \"→\" <EvidenceModel> \"→\" <KnowledgeBase> \"→\" <PhaseDesign> \"→\" <PortableContract> \"→\" <AdapterArtifactSet> \"→\" <ValidationSet> \"→\" <AuditTrail> \"→\" <FinalReport>\nValidationSet ::= \"semantic_compliance\" \",\" \"adapter_compliance\" \",\" \"evidence_grounding\" \",\" \"algorithmic_embodiment\" \",\" \"runtime_specific_leakage_absent\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the agent auditor, which walks a generated agent against the agent-quality dimensions, the structured-document validator, which holds every agent to the grammar's node form",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent the creator generates, and the domain evidence each one cites",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the agent, its evidence or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validator fails an agent with a malformed node or gate, and the creator persists no agent that fails its grounding or embodiment check",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because an agent contract is text; its runs are observed by the checks it declares",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real agent document and validates every agent on disk clean, while the auditor's walk is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar and the agent-quality dimensions, which every generated agent conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-agent-generation-concern",
            "title": "<Agent Generation Concern>"
          }
        ],
        "title": "Agent creation"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_hybrid_workflow_orchestration[\"Hybrid Workflow Orchestration\"]\n    n_dsl_compliance_loading[\"DSL Compliance Loading\"]\n    n_agent_workflow_file_modification_recovery[\"Agent Workflow File Modification Recovery\"]\n    n_context_forking_configuration[\"Context Forking Configuration\"]\n    n_verb_based_execution_classification[\"Verb-Based Execution Classification\"]\n    n_workspace_configuration_discovery[\"Workspace Configuration Discovery\"]\n    n_shared_document_workspace[\"Shared Document Workspace\"]\n    n_workflow_type_document_selection[\"Workflow Type Document Selection\"]\n    n_agent_sequence_definition[\"Agent Sequence Definition\"]\n    n_agent_document_responsibility[\"Agent Document Responsibility\"]\n    n_agent_activation_invocation[\"Agent Activation Invocation\"]\n    n_parallel_batch_execution[\"Parallel Batch Execution\"]\n    n_sequential_agent_execution[\"Sequential Agent Execution\"]\n    n_four_dimensional_agent_graph[\"Four-Dimensional Agent Graph\"]\n    n_handoff_signal[\"Handoff Signal\"]\n    n_orchestrator_action[\"Orchestrator Action\"]\n    n_workflow_coordination_sequence[\"Workflow Coordination Sequence\"]\n    n_workflow_recovery_loop[\"Workflow Recovery Loop\"]\n    n_checklist_integration[\"Checklist Integration\"]\n    n_phase_documentation_template[\"Phase Documentation Template\"]\n    n_workflow_principles_mapping[\"Workflow Principles Mapping\"]\n    n_capability_invocation_protocol[\"Capability Invocation Protocol\"]\n    n_template_assembly[\"Template Assembly\"]\n    n_first_time_initiation[\"First-Time Initiation\"]\n    n_workflow_validation_gate[\"Workflow Validation Gate\"]\n    n_workflow_creation_kernel[\"Workflow Creation Kernel\"]\n    n_workflow_orchestration_concern[\"<Workflow Orchestration Concern>\"]\n    n_handoff_signal --> n_orchestrator_action\n    n_orchestrator_action --> n_handoff_signal\n    n_workflow_creation_kernel --> n_dsl_compliance_loading\n    n_workflow_creation_kernel --> n_agent_workflow_file_modification_recovery\n    n_workflow_creation_kernel --> n_context_forking_configuration\n    n_workflow_creation_kernel --> n_workspace_configuration_discovery\n    n_workflow_creation_kernel --> n_shared_document_workspace\n    n_workflow_creation_kernel --> n_agent_sequence_definition\n    n_workflow_creation_kernel --> n_handoff_signal\n    n_workflow_creation_kernel --> n_workflow_coordination_sequence\n    n_workflow_creation_kernel --> n_checklist_integration\n    n_workflow_creation_kernel --> n_phase_documentation_template\n    n_workflow_creation_kernel --> n_capability_invocation_protocol\n    n_workflow_creation_kernel --> n_template_assembly\n    n_workflow_creation_kernel --> n_workflow_validation_gate\n    n_workflow_creation_kernel --> n_workflow_type_document_selection\n    n_workflow_creation_kernel --> n_agent_activation_invocation\n    n_workflow_creation_kernel --> n_first_time_initiation"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-agent-workflow",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Classify workflow phases by execution verb, run discovery and investigation agents in parallel forked contexts, run action and mutation agents sequentially, and coordinate all agents through shared artifacts and handoff signals.",
                    "term": "Intent"
                  },
                  {
                    "description": "Multi-agent workflows should parallelize independent knowledge gathering while serializing state-changing work.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WorkflowObjective → AgentPhases → ExecutionClassification → ParallelDiscovery → SequentialAction → Handoff",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "HybridWorkflowOrchestration ::= <WorkflowObjective> \"→\" <AgentSequence> \"→\" <ExecutionModeClassification> \"→\" <ParallelBatchSet> \"→\" <SequentialActionSet> \"→\" <WorkflowCompletion>\nExecutionMode ::= \"PARALLEL\" | \"SEQUENTIAL\"\nParallelPhase ::= \"DISCOVERY\" | \"INVESTIGATION\" | \"RESEARCH\" | \"ANALYSIS\" | \"EXPLORATION\"\nSequentialPhase ::= \"CREATE\" | \"WRITE\" | \"EXECUTE\" | \"VERIFY\" | \"IMPLEMENT\" | \"REFACTOR\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [state_transaction](/records/force/state-transaction), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every agent runs sequentially, even independent discovery — the workflow crawls.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "objective → agent sequence → classify by verb → parallel discovery (forked context) + sequential action (normal context) → handoff",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-hybrid-workflow-orchestration",
            "title": "Hybrid Workflow Orchestration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load grammar, keyword, operator, workflow, and checklist references before workflow generation, then require generated content to follow the declared DSL, naming, handoff, execution, forking, spawning, and capability rules.",
                    "term": "Intent"
                  },
                  {
                    "description": "Workflow generation must begin by loading the language and orchestration contracts that constrain output.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DSLSources → Requirements → ComplianceGate → Proceed|Block",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DSLComplianceLoading ::= <DSLSpecSet> \"→\" <WorkflowRequirementSet> \"→\" <ComplianceValidationGate>\nWorkflowRequirementSet ::= \"agent_dsl_syntax\" \",\" \"agent_oriented_content\" \",\" \"stable_filename_convention\" \",\" \"handoff_protocol\" \",\" \"hybrid_parallel_sequential\" \",\" \"context_isolation\" \",\" \"agent_spawn_mechanism\" \",\" \"capability_invocation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workflow generated free-form, ignoring the DSL and handoff contracts.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "load DSL + keyword + workflow + checklist specs → require{agent-DSL syntax, handoff protocol, hybrid execution, context isolation, agent spawn} → compliance gate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dsl-compliance-loading",
            "title": "DSL Compliance Loading"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "When a file modification conflict occurs, detect the error, re-read the current file, merge the intended delta into the current content, write the complete new version, verify persistence, and log recovery automatically without asking the developer.",
                    "term": "Intent"
                  },
                  {
                    "description": "State-mutation conflicts are synchronization failures and should trigger deterministic recovery, not a prompt to the developer.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ModificationError → RereadMerge → CompleteRewrite → Verify",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FileModificationRecovery ::= <FileModificationError> \"→\" <RecoveryProtocolSelection> \"→\" <RereadAndMerge> \"→\" <CompleteRewrite> \"→\" <RecoveryLog>\nRecoveryProtocol ::= \"reread-merge-complete-rewrite\" | \"snapshot-restore-on-failure\"\nForbiddenRecovery ::= \"retry_edit_without_recovery\" | \"ask_user_for_tool_error_recovery\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A stale-write conflict re-reads the file and retries the same edit, or stops to ask the developer.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "modification error → re-read current → merge the delta into full state → write complete version → verify → log; never retry-without-recovery, never ask for a tool error",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-agent-workflow-file-modification-recovery",
            "title": "Agent Workflow File Modification Recovery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Assign forked context to discovery, investigation, and documentation agents; assign normal context to action and validation agents; preserve model and parallel eligibility metadata per agent class.",
                    "term": "Intent"
                  },
                  {
                    "description": "Context isolation improves independent analysis, while normal context preserves continuity for mutation and validation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AgentClass → ContextMode → ParallelEligibility → ExecutionPolicy",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ContextForkingConfiguration ::= <AgentClass> \"→\" <ContextMode> \"→\" <ParallelPolicy> \"→\" <ExecutionConfiguration>\nAgentClass ::= \"discovery\" | \"investigation\" | \"documentation\" | \"action\" | \"validation\"\nContextMode ::= \"fork\" | \"normal\"\nParallelPolicy ::= \"parallel_true\" | \"parallel_false\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every agent shares one context — discovery pollutes the action agent's state.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent class → discovery/investigation/documentation → fork ; action/validation → normal → per-class parallel eligibility preserved",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-context-forking-configuration",
            "title": "Context Forking Configuration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract the primary verb from each agent purpose, classify it against parallel or sequential verb sets, and bind execution mode, context, and parallel eligibility.",
                    "term": "Intent"
                  },
                  {
                    "description": "Execution mode should be derived from action semantics, not arbitrary phase numbering.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AgentPurpose → PrimaryVerb → VerbClass → ExecutionMode",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VerbExecutionClassification ::= <AgentPurpose> \"→\" <PrimaryVerb> \"→\" <VerbSetMatch> \"→\" <AgentExecutionMode>\nParallelVerb ::= \"ANALYZE\" | \"FIND\" | \"EXTRACT\" | \"READ\" | \"DISCOVER\" | \"INVESTIGATE\" | \"RESEARCH\" | \"EXPLORE\" | \"TRACE\"\nSequentialVerb ::= \"CREATE\" | \"WRITE\" | \"EXECUTE\" | \"VERIFY\" | \"IMPLEMENT\" | \"LINK\" | \"ITERATE\" | \"REFACTOR\" | \"DEPLOY\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Execution mode assigned by phase number, not by what the agent does.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent purpose → primary verb → {ANALYZE/FIND/DISCOVER → PARALLEL(fork)} | {CREATE/WRITE/VERIFY → SEQUENTIAL(normal)}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-verb-based-execution-classification",
            "title": "Verb-Based Execution Classification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Read workspace configuration, extract zones, semantic extensions, root path, agent definitions, shared zone, workflow zone, and task zone before generating any workflow artifacts.",
                    "term": "Intent"
                  },
                  {
                    "description": "Workflow artifacts must be placed by discovered workspace configuration, not hardcoded paths.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WorkspaceConfig → Zones → AgentDefinitions → ArtifactBasePath",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkspaceConfigurationDiscovery ::= <WorkspaceConfigFile> \"→\" <WorkspaceConfig> \"→\" <ZoneConfig> \"→\" <AgentDefinitionSet> \"→\" <ArtifactPathPolicy>\nArtifactPathPolicy ::= \"shared_zone/workflow_name\" \",\" \"workflow_zone\" \",\" \"task_zone\" \",\" \"no_hardcoded_paths\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Artifact paths hardcoded — the workflow only runs in one layout.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "workspace-config → zones + root + agent defs → artifact base = shared_zone/workflow_name; no hardcoded paths",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workspace-configuration-discovery",
            "title": "Workspace Configuration Discovery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Pre-create workflow documents once, require every agent to read and edit the same documents, prohibit duplicate versions, and enforce single source of truth across phases.",
                    "term": "Intent"
                  },
                  {
                    "description": "Multi-agent coordination should refine shared artifacts rather than create divergent outputs.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CoreDocuments → PreCreate → AgentReadEdit → SingleSourceValidation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SharedDocumentWorkspace ::= <CoreDocumentSet> \"→\" <PreCreation> \"→\" <SharedAccessProtocol> \"→\" <IterativeRefinement> \"→\" <SingleSourceOfTruthGate>\nSharedAccessProtocol ::= \"all_agents_same_documents\" \",\" \"orchestrator_creates\" \",\" \"agents_refine\" \",\" \"append_mode_false\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Each agent writes its own output file; findings diverge across N versions.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "pre-create core documents once → every agent reads + edits the same set → no duplicate versions → single source of truth",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-shared-document-workspace",
            "title": "Shared Document Workspace"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Analyze workflow objective, classify workflow type, select five to eight semantically distinct core documents, and map each document to a non-overlapping purpose.",
                    "term": "Intent"
                  },
                  {
                    "description": "Workflow coordination needs the right shared document set for the work type.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WorkflowObjective → WorkflowType → CoreDocuments → PurposeMap",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkflowDocumentSelection ::= <WorkflowObjective> \"→\" <WorkflowType> \"→\" <CoreDocumentSet> \"→\" <DocumentPurposeMap>\nWorkflowType ::= \"cleanup\" | \"analysis\" | \"refactoring\" | \"documentation\" | \"implementation\" | \"security\" | \"performance\" | \"infrastructure\" | \"migration\"\nCoreDocumentConstraint ::= \"document_count_between_5_and_8\" \",\" \"distinct_logical_purpose\" \",\" \"semantic_names_only\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Generic output.md / results.md documents with overlapping purpose.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "objective → workflow_type{cleanup|analysis|refactoring|security|migration} → 5-8 distinct-purpose documents → one non-overlapping purpose each",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workflow-type-document-selection",
            "title": "Workflow Type Document Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each agent slot, create an agent object with name, type, phase, purpose, methodology, inputs, outputs, validation gates, document responsibilities, focus areas, edit protocol, agent activation, and 4D graph.",
                    "term": "Intent"
                  },
                  {
                    "description": "An orchestration plan requires agent objects with executable metadata, not just agent names.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AgentCount → AgentObjectSet → AgentSequence",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AgentSequenceDefinition ::= <AgentCount> \"→\" <AgentObjectSet> \"→\" <AgentSequence>\nAgentObject ::= <AgentName> \",\" <AgentType> \",\" <PhaseNumber> \",\" <Purpose> \",\" <Methodology> \",\" <InputArtifacts> \",\" <OutputArtifacts> \",\" <ValidationGates> \",\" <DocumentResponsibilities> \",\" <ExecutionMode> \",\" <Graph4D>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A plan that is just a list of agent names, no executable metadata.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent_count → agent objects{name, type, phase, purpose, inputs, outputs, validation gates, doc responsibilities, execution mode, 4D graph}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-agent-sequence-definition",
            "title": "Agent Sequence Definition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each core document, require every agent to read current state, identify outdated or incorrect content, remove stale sections, replace with new discoveries, avoid duplicate findings, and maintain single source of truth.",
                    "term": "Intent"
                  },
                  {
                    "description": "Shared-document workflows should use surgical refinement rather than additive accumulation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Document → Read → DetectStale → Remove → Replace → Deduplicate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AgentDocumentResponsibility ::= <CoreDocument> \"→\" <ReadCurrentState> \"→\" <ContradictionDetection> \"→\" <StaleContentRemoval> \"→\" <AccurateReplacement> \"→\" <SingleSourceValidation>\nProhibitedDocumentOperation ::= \"append_only\" | \"duplicate_findings\" | \"new_version_file\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Agents append findings, accumulating duplicates and contradictions.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "document → read current state → detect contradictions → remove stale → replace with new → single source of truth (never append, never a new version file)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-agent-document-responsibility",
            "title": "Agent Document Responsibility"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For every agent activation, construct a spawn invocation with agent type, prompt, description, model, and context; use forked context for parallel agents and normal context for sequential agents.",
                    "term": "Intent"
                  },
                  {
                    "description": "Orchestrators must execute agents through the runtime spawn primitive, not simulate agent behavior in the main session.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AgentObject → SpawnInvocation → AgentExecution",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AgentActivationInvocation ::= <AgentObject> \"→\" <SpawnCall> \"→\" <ExecutionResult>\nSpawnCall ::= \"agent_type\" \",\" \"prompt\" \",\" \"description\" \",\" \"model\" \",\" \"context_if_parallel\"\nForbiddenOrchestration ::= \"simulate_agent_execution_in_orchestrator\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The orchestrator simulates the agent's work in its own session.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent object → spawn primitive{agent_type, prompt, model, context-if-parallel} → real activation; never simulate in the orchestrator",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-agent-activation-invocation",
            "title": "Agent Activation Invocation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Accumulate adjacent parallel agents into a batch, invoke all spawns in a single concurrent batch, wait for all completions, and merge findings through shared documents.",
                    "term": "Intent"
                  },
                  {
                    "description": "Parallel agents should execute concurrently only when their work is investigation-safe and state-isolated.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ParallelAgents → ConcurrentSpawnBatch → WaitAll → MergeFindings",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ParallelBatchExecution ::= <ParallelAgentSet> \"→\" <ConcurrentSpawnBatch> \"→\" <CompletionWait> \"→\" <SharedDocumentMerge>\nConcurrentSpawnBatch ::= \"single_batch_concurrent_spawn\"\nParallelSafety ::= \"context_fork\" \",\" \"discovery_or_investigation_only\" \",\" \"shared_artifact_refinement\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Parallel agents launched in separate messages, so they run one after another anyway.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "adjacent parallel agents → one concurrent batch of forked-context spawns → wait for all → merge via shared documents",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-parallel-batch-execution",
            "title": "Parallel Batch Execution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Execute state-changing or validation agents one at a time in normal context, pass handoff context from the previous phase, wait for completion signal, then activate the next agent.",
                    "term": "Intent"
                  },
                  {
                    "description": "Mutating workflow phases must serialize to prevent conflicting edits and ambiguous state.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PreviousHandoff → SpawnCall → WaitCompletion → NextHandoff",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SequentialAgentExecution ::= <HandoffContext> \"→\" <SequentialSpawnInvocation> \"→\" <CompletionSignal> \"→\" <NextAgentActivation>\nSequentialConstraint ::= \"one_spawn_at_a_time\" \",\" \"wait_for_completion\" \",\" \"context_normal\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Two mutating agents launched at once, producing conflicting edits.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "prior handoff → one normal-context spawn at a time → wait for completion → activate the next",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-sequential-agent-execution",
            "title": "Sequential Agent Execution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each agent, build sequential dependencies, lateral parallel peers, diagonal artifact/data dependencies, and propagation effects including superseded state, propagated contracts, and breakage risks.",
                    "term": "Intent"
                  },
                  {
                    "description": "Multi-agent workflows need topology, not only order.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Agent → Z + X + Y + W Graph",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FourDAgentGraph ::= <AgentObject> \"→\" <SequentialAxis> \",\" <LateralAxis> \",\" <DiagonalAxis> \",\" <PropagationAxis>\nSequentialAxis ::= \"Z: prior_required_agents\"\nLateralAxis ::= \"X: peer_parallel_agents\"\nDiagonalAxis ::= \"Y: cross_phase_artifact_dependencies\"\nPropagationAxis ::= \"W: superseded_state, propagated_contracts, breaks_if_changed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An agent records only its order, not its cross-phase data or downstream ripple.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent → Z{prior required agents} + X{peer parallel} + Y{cross-phase artifact deps} + W{superseded state, propagated contracts, breaks-if-changed}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-four-dimensional-agent-graph",
            "title": "Four-Dimensional Agent Graph"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Require every agent to end with a structured handoff signal containing completed agent, phase status, artifact location, next agent, execution mode, context used, findings, files, validation status, parallel results, 4D graph, and orchestrator action.",
                    "term": "Intent"
                  },
                  {
                    "description": "Handoffs are control messages that preserve workflow state across agent boundaries.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AgentCompletion → HandoffContext → OrchestratorAction",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "HandoffSignal ::= <AgentCompleted> \",\" <PhaseStatus> \",\" <ArtifactsLocation> \",\" <NextAgent> \",\" <ExecutionMode> \",\" <ContextUsed> \",\" <KeyFindings> \",\" <CriticalFiles> \",\" <ValidationGatesPassed> \",\" <ParallelResults> \",\" <Graph4D> \",\" <OrchestratorAction>\nOrchestratorAction ::= \"ACTIVATE_NEXT_AGENT\" | \"PAUSE_FOR_USER\" | \"WORKFLOW_COMPLETE\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Orchestrator Action](/records/algorithms/orchestrator-action)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Orchestrator Action](/records/algorithms/orchestrator-action), [Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An agent finishes with a prose summary the orchestrator cannot route on.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent completion → handoff{completed, phase status, artifacts, next agent, execution mode, context, findings, validation, 4D graph, orchestrator_action}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Orchestrator Action](/records/algorithms/orchestrator-action)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-handoff-signal",
            "title": "Handoff Signal"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Interpret handoff action as activate next agent, pause for the developer, or complete workflow; automatically continue unless a critical decision or repeated recovery failure requires the developer's involvement.",
                    "term": "Intent"
                  },
                  {
                    "description": "The orchestrator is a control loop driven by structured handoff actions.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "HandoffSignal → ActionType → Execute|Pause|Complete",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "OrchestratorActionHandling ::= <HandoffSignal> \"→\" <ActionType> \"→\" <OrchestrationDecision>\nActionType ::= \"ACTIVATE_NEXT_AGENT\" | \"PAUSE_FOR_USER\" | \"WORKFLOW_COMPLETE\"\nContinuationRule ::= \"never_ask_should_I_continue\" \",\" \"use_orchestrator_action\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Handoff Signal](/records/algorithms/handoff-signal)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Handoff Signal](/records/algorithms/handoff-signal)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [resilience_recovery](/records/force/resilience-recovery), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The orchestrator asks the developer 'should I continue?' after every agent.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "handoff → orchestrator_action{ACTIVATE_NEXT_AGENT | PAUSE_FOR_USER | WORKFLOW_COMPLETE} → auto-continue unless a critical decision or repeated recovery failure",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Handoff Signal](/records/algorithms/handoff-signal)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-orchestrator-action",
            "title": "Orchestrator Action"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Pre-create documents, execute parallel batches where eligible, execute sequential agents one at a time, update checkpoints, validate single source of truth, and mark workflow completion.",
                    "term": "Intent"
                  },
                  {
                    "description": "Coordination is the explicit execution trace for the whole workflow.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PreCreateDocs → ParallelBatch|SequentialTask → Handoff → Checkpoint → Complete",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkflowCoordinationSequence ::= <DocumentPreCreation> \"→\" <AgentExecutionStepSet> \"→\" <CheckpointUpdateSet> \"→\" <WorkflowCompletionState>\nWorkflowCompletionState ::= \"WORKFLOW_PROGRESS_100_percent\" \",\" \"core_documents_refined\" \",\" \"final_output_ready\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Coordination left implicit — no record states the spawn order.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "pre-create docs → parallel batches where eligible + sequential tasks one at a time → handoffs → checkpoint updates → 100% complete",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workflow-coordination-sequence",
            "title": "Workflow Coordination Sequence"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "If an agent fails validation, read shared documents, identify unmet expectation, research the error pattern, relaunch the agent with adapted context, and pause for the developer after bounded recovery attempts.",
                    "term": "Intent"
                  },
                  {
                    "description": "Agent failure should trigger bounded evidence-based recovery, not silent continuation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ValidationFail → Diagnose → Research → Relaunch → RetryLimit|Recover",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkflowRecoveryLoop ::= <FailedAgentResult> \"→\" <SharedDocumentRead> \"→\" <UnmetExpectationAnalysis> \"→\" <ResolutionResearch> \"→\" <AgentRelaunch> \"→\" <RecoveryDecision>\nRecoveryDecision ::= \"continue_after_recovery\" | \"pause_for_user_after_limit\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A failed agent is silently skipped and the workflow continues.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "validation fail → read shared docs → diagnose unmet expectation → research the error → relaunch with adapted context → pause for the developer after the bound",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workflow-recovery-loop",
            "title": "Workflow Recovery Loop"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Create a workflow progress checklist in the artifact workspace, include execution model metadata, phases in linear dependency order with severity metadata, task checkboxes, progress bars, success criteria, and agent-edit coordination rules.",
                    "term": "Intent"
                  },
                  {
                    "description": "Workflow state must persist independently of any one agent context.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workflow → Checklist → AgentUpdates → ResumableProgress",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ChecklistIntegration ::= <WorkflowName> \"→\" <ChecklistFrontmatter> \"→\" <PhaseStructure> \"→\" <TaskBreakdown> \"→\" <ProgressTracking> \"→\" <SuccessCriteria>\nChecklistCoordinationRule ::= \"orchestrator_precreates\" \",\" \"all_agents_edit_same_checklist\" \",\" \"phase_complete_before_handoff\" \",\" \"resume_by_reading_checklist\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workflow state lives only in the orchestrator context; a restart loses it.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "workflow → progress checklist{execution model, linear phases + severity metadata, task checkboxes, success criteria} → any agent resumes by reading it",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-checklist-integration",
            "title": "Checklist Integration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each agent phase, render phase header, execution mode, context mode, methodology, 4D graph, artifact flow, focus areas, deliverable, and agent activation example.",
                    "term": "Intent"
                  },
                  {
                    "description": "Workflow templates must document how each agent is activated and what it contributes.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AgentPhase → DocumentationSection → InvocationExample",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PhaseDocumentationTemplate ::= <AgentObject> \"→\" <PhaseHeader> \"→\" <ExecutionModeDescription> \"→\" <MethodologySummary> \"→\" <Graph4DRendering> \"→\" <ArtifactSection> \"→\" <FocusSection> \"→\" <OutputSection> \"→\" <AgentActivationExample>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A phase documented with no execution mode, graph, or invocation example.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent phase → header + execution mode + context + methodology + 4D graph + artifacts + focus + deliverable + agent activation example",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-phase-documentation-template",
            "title": "Phase Documentation Template"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Derive workflow principles from the agent sequence, first agent grounding role, final agent quality guarantee, intermediate agent contributions, automation, context awareness, recovery, scalability, hybrid execution, context forking, and workspace integration.",
                    "term": "Intent"
                  },
                  {
                    "description": "A workflow should state the qualities guaranteed by its orchestration structure.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AgentSequence → PrincipleSet → WorkflowValueStatement",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkflowPrinciplesMapping ::= <AgentSequence> \"→\" <AgentContributionSet> \"→\" <WorkflowPrincipleSet>\nWorkflowPrinciple ::= \"grounded_in_codebase_reality\" | \"fully_automated\" | \"context_aware\" | \"self_recovering\" | \"dynamically_scalable\" | \"hybrid_execution\" | \"context_forking\" | \"workspace_integrated\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [resilience_recovery](/records/force/resilience-recovery), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A workflow that never states what its structure guarantees.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "agent sequence → per-agent contribution{first grounds, final guarantees quality} → principles{grounded, automated, context-aware, self-recovering, scalable}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workflow-principles-mapping",
            "title": "Workflow Principles Mapping"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define specialized capability invocation patterns, classify which capabilities run forked or normal, include examples, and allow workflows to call capabilities for research, validation, calculation, and specialized subroutines.",
                    "term": "Intent"
                  },
                  {
                    "description": "Workflows should support specialized capabilities without embedding every capability into every agent.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CapabilityNeed → CapabilityPattern → ContextMode → Invocation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CapabilityInvocationProtocol ::= <CapabilityNeed> \"→\" <CapabilitySelection> \"→\" <CapabilityInvocation> \"→\" <CapabilityResultIntegration>\nCapabilityInvocation ::= \"invoke(capability=name, args=args)\"\nCapabilityContextRule ::= \"discovery_capability_context_fork\" | \"validation_capability_context_normal\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every capability baked into every agent instead of a shared, invocable one.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "capability need → select → invoke(capability, args){discovery → forked, validation → normal} → integrate result",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-capability-invocation-protocol",
            "title": "Capability Invocation Protocol"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Assemble frontmatter, workspace config, overview, phase documentation, checklist requirements, orchestration protocol, handoff format, coordination sequence, capability integration, workflow principles, and domain notes into one workflow artifact.",
                    "term": "Intent"
                  },
                  {
                    "description": "The workflow template is a compiled orchestration contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Sections → FinalTemplate → OutputPath → Write",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TemplateAssembly ::= <WorkflowFrontmatter> \"→\" <WorkspaceConfigSection> \"→\" <WorkflowOverview> \"→\" <PhaseDocumentationSet> \"→\" <ChecklistRequirements> \"→\" <AgentOrchestrationProtocol> \"→\" <HandoffSignalFormat> \"→\" <WorkflowCoordination> \"→\" <CapabilityIntegrationProtocol> \"→\" <WorkflowPrinciples> \"→\" <OutputArtifact>\nOutputArtifact ::= \"{workflow_output_dir}/{workflow_name}-WORKFLOW.{workflow_ext}\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workflow sections written ad hoc, missing the handoff format or coordination.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "assemble{frontmatter, workspace config, overview, phase docs, checklist, orchestration protocol, handoff format, coordination, capabilities, principles} → {name}-WORKFLOW file",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-template-assembly",
            "title": "Template Assembly"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "After generating the workflow template, present a summary and request explicit first-run action: execute workflow, edit template, or cancel.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generation and first execution are separate approval states.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GeneratedWorkflow → UserChoice → Execute|Edit|Cancel",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FirstTimeInitiation ::= <GeneratedWorkflow> \"→\" <WorkflowSummary> \"→\" <UserChoice> \"→\" <InitialAction>\nUserChoice ::= \"Execute Workflow\" | \"Edit Template\" | \"Cancel\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [metaprogramming_modeling](/records/force/metaprogramming-modeling)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The generated workflow auto-executes without the developer's go-ahead.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "generated workflow → summary → developer choice{Execute | Edit Template | Cancel} → generation and first execution are separate approvals",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-first-time-initiation",
            "title": "First-Time Initiation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Validate DSL compliance, workspace discovery, dynamic agent count, execution classification, context configuration, 4D graphs, handoff protocol, hybrid execution, checklist integration, capability integration, template assembly, dynamic paths, uppercase filenames, and agent-oriented content.",
                    "term": "Intent"
                  },
                  {
                    "description": "A workflow template is complete only when orchestration, artifact, context, and validation contracts all pass.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WorkflowTemplate → GateSet → Valid|Invalid",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkflowValidationGate ::= <GeneratedWorkflow> \"→\" <DSLComplianceCheck> \"→\" <WorkspaceConfigCheck> \"→\" <AgentSequenceCheck> \"→\" <ExecutionModeCheck> \"→\" <Graph4DCheck> \"→\" <HandoffProtocolCheck> \"→\" <ChecklistIntegrationCheck> \"→\" <CapabilityIntegrationCheck> \"→\" <ArtifactPathCheck> \"→\" <CompletionVerdict>\nCompletionVerdict ::= \"workflow_template_valid\" | \"workflow_template_invalid\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Workflow Creation Kernel](/records/algorithms/workflow-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A workflow shipped without checking its handoff, 4D graphs, or dynamic paths.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "template → checks{DSL, workspace, agent sequence, execution mode, 4D graph, handoff, checklist, capabilities, artifact paths} → valid | invalid",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workflow-validation-gate",
            "title": "Workflow Validation Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load DSL and orchestration references, configure file recovery and context forking, discover workspace zones and agents, select shared documents, define dynamic agent sequence, classify execution mode, build 4D graphs, define handoff protocol, assemble coordination sequence, integrate checklist and capabilities, generate phase documentation, assemble template, and validate success criteria.",
                    "term": "Intent"
                  },
                  {
                    "description": "Workflow creation is a compiler from objective and workspace configuration into an executable multi-agent orchestration contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Specs → Workspace → Documents → Agents → Graphs → Handoffs → Coordination → Checklist → Capabilities → Template → Validation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkflowCreationKernel ::= <DSLComplianceLoading> \"→\" <FileModificationRecovery> \"→\" <ContextForkingConfiguration> \"→\" <WorkspaceConfigurationDiscovery> \"→\" <WorkflowDocumentSelection> \"→\" <SharedDocumentWorkspace> \"→\" <AgentSequenceDefinition> \"→\" <VerbExecutionClassification> \"→\" <FourDAgentGraph> \"→\" <HandoffSignal> \"→\" <WorkflowCoordinationSequence> \"→\" <ChecklistIntegration> \"→\" <PhaseDocumentationTemplate> \"→\" <CapabilityInvocationProtocol> \"→\" <TemplateAssembly> \"→\" <WorkflowValidationGate>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[DSL Compliance Loading](/records/algorithms/dsl-compliance-loading), [Agent Workflow File Modification Recovery](/records/algorithms/agent-workflow-file-modification-recovery), [Context Forking Configuration](/records/algorithms/context-forking-configuration), [Workspace Configuration Discovery](/records/algorithms/workspace-configuration-discovery), [Shared Document Workspace](/records/algorithms/shared-document-workspace), [Agent Sequence Definition](/records/algorithms/agent-sequence-definition), [Handoff Signal](/records/algorithms/handoff-signal), [Workflow Coordination Sequence](/records/algorithms/workflow-coordination-sequence), [Checklist Integration](/records/algorithms/checklist-integration), [Phase Documentation Template](/records/algorithms/phase-documentation-template), [Capability Invocation Protocol](/records/algorithms/capability-invocation-protocol), [Template Assembly](/records/algorithms/template-assembly), [Workflow Validation Gate](/records/algorithms/workflow-validation-gate)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Orchestration](/records/architecture/orchestration)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[DSL Compliance Loading](/records/algorithms/dsl-compliance-loading)",
                    "term": "orient"
                  },
                  {
                    "description": "[Workflow Type Document Selection](/records/algorithms/workflow-type-document-selection)",
                    "term": "derive"
                  },
                  {
                    "description": "[Agent Sequence Definition](/records/algorithms/agent-sequence-definition)",
                    "term": "project"
                  },
                  {
                    "description": "[Agent Activation Invocation](/records/algorithms/agent-activation-invocation)",
                    "term": "act"
                  },
                  {
                    "description": "[Workflow Validation Gate](/records/algorithms/workflow-validation-gate)",
                    "term": "verify"
                  },
                  {
                    "description": "[Template Assembly](/records/algorithms/template-assembly)",
                    "term": "commit"
                  },
                  {
                    "description": "[First-Time Initiation](/records/algorithms/first-time-initiation)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An objective turned straight into a hardcoded, single-threaded agent script.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "load specs → discover workspace → select docs → define agents → classify execution → 4D graphs → handoffs → coordinate → checklist + capabilities → assemble → validate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[DSL Compliance Loading](/records/algorithms/dsl-compliance-loading), [Agent Workflow File Modification Recovery](/records/algorithms/agent-workflow-file-modification-recovery), [Context Forking Configuration](/records/algorithms/context-forking-configuration), [Workspace Configuration Discovery](/records/algorithms/workspace-configuration-discovery), [Shared Document Workspace](/records/algorithms/shared-document-workspace), [Agent Sequence Definition](/records/algorithms/agent-sequence-definition), [Handoff Signal](/records/algorithms/handoff-signal), [Workflow Coordination Sequence](/records/algorithms/workflow-coordination-sequence), [Checklist Integration](/records/algorithms/checklist-integration), [Phase Documentation Template](/records/algorithms/phase-documentation-template), [Capability Invocation Protocol](/records/algorithms/capability-invocation-protocol), [Template Assembly](/records/algorithms/template-assembly), [Workflow Validation Gate](/records/algorithms/workflow-validation-gate)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workflow-creation-kernel",
            "title": "Workflow Creation Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [agent-workflow](/records/algorithms-domain/agent-workflow)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Load orchestration grammar> → <Discover workspace config> → <Select shared documents> → <Define agents> → <Classify parallel vs sequential> → <Fork discovery contexts> → <Serialize action phases> → <Build 4D graphs> → <Create handoff protocol> → <Coordinate shared-document refinement> → <Integrate checklist and capabilities> → <Validate template>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any multi-agent workflow should be generated as an executable orchestration contract where discovery is parallel, mutation is sequential, state is shared through documents, and handoffs preserve graph-aware context.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Grammar → Workspace → Documents → Agents → ExecutionMode → Context → Graph → Handoff → Coordination → Validation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "WorkflowOrchestrationConcern ::= <GrammarContract> \"→\" <WorkspaceContract> \"→\" <SharedArtifactContract> \"→\" <AgentSequenceContract> \"→\" <HybridExecutionContract> \"→\" <ContextForkingContract> \"→\" <Graph4DContract> \"→\" <HandoffContract> \"→\" <ChecklistContract> \"→\" <CapabilityContract> \"→\" <ValidationGate>\nHybridExecutionContract ::= \"parallel_discovery\" \",\" \"sequential_actions\" \",\" \"spawn_primitive_required\" \",\" \"no_orchestrator_simulation\" \",\" \"single_source_of_truth_documents\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Validation Gate](/records/algorithms/validation-gate)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the workflow validation gate, which checks the orchestration, artifact, context and validation contracts, the structured-document validator over the workflow template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every workflow template and every agent it sequences",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the template, an agent it sequences or the workspace configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate refuses to mark a template complete while any of its contracts fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The coordination record each run writes, which locates a failed handoff",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The workflow template's contracts, which each run's coordination record is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Validation Gate](/records/algorithms/validation-gate)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-workflow-orchestration-concern",
            "title": "<Workflow Orchestration Concern>"
          }
        ],
        "title": "Agent workflow"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_anti_pattern_inversion[\"Anti-Pattern Inversion\"]\n    n_anti_pattern_propagation_kernel[\"Anti-Pattern Propagation Kernel\"]\n    n_anti_pattern_remediation_algebra[\"Anti-Pattern Remediation Algebra\"]\n    n_architecture_smell_record[\"Architecture Smell Record\"]\n    n_anti_pattern_rule_compiler[\"Anti-Pattern Rule Compiler\"]\n    n_smell_taxonomy[\"Smell Taxonomy\"]\n    n_anti_pattern_relationship_record[\"Anti-Pattern Relationship Record\"]\n    n_architecture_anti_pattern[\"<Architecture Anti-Pattern>\"]"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-anti-patterns",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Take any desired architectural principle, invert its invariants, identify the recurring violation shape, model its propagation mechanism, define detection signals, and derive its remediation inverse.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every anti-pattern is a stable failure algorithm created by repeated violation of an architectural contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Principle → Invariant → Violation → Propagation → Detection → Remediation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AntiPatternInversion ::= <HealthyPrinciple> \"→\" <RequiredInvariant> \"→\" <InvariantViolation> \"→\" <FailurePropagation> \"→\" <DetectionSignalSet> \"→\" <RemediationInverse>\nAntiPatternRecord ::= <Name> \",\" <TriggerCondition> \",\" <DegenerationPath> \",\" <DetectionSignals> \",\" <DamageModel> \",\" <RemediationInverse>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Principle: Low Coupling — stated as a goal only; its violations are noticed ad hoc, named inconsistently, and caught late, with no derived failure algorithm.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "Low Coupling → invariant{no bidirectional dependency} → violation{Cyclic Dependency} → propagation{a convenience import closes a cycle, then spreads across modules} → detection{dependency-cycle scan} → remediation{invert the dependency / introduce a port}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-inversion",
            "title": "Anti-Pattern Inversion"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Start with a local shortcut, repeat it under delivery pressure, normalize it as convention, allow dependent code to form around it, then make remediation expensive through coupling and hidden assumptions.",
                    "term": "Intent"
                  },
                  {
                    "description": "Most architecture anti-patterns become dangerous when a shortcut becomes infrastructure.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Shortcut → Repetition → Normalization → DependencyFormation → Institutionalization → HighCostRepair",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AntiPatternPropagation ::= <LocalShortcut> \"→\" <RepeatedUse> \"→\" <ImplicitConvention> \"→\" <DependentCodeFormation> \"→\" <ArchitecturalDebt> \"→\" <RemediationCostIncrease>\nDebtAmplifier ::= \"copy_paste\" | \"missing_contract\" | \"missing_owner\" | \"missing_metric\" | \"missing_boundary\" | \"missing_version\" | \"missing_observability\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A one-off shortcut — inline a secret to ship a fix — treated as an isolated, cheap, local choice.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "Shortcut{inline secret} → repetition{reused under deadline} → normalization{becomes the team convention} → dependency-formation{configs read it directly} → institutionalization{deploy scripts assume it} → high-cost-repair{rotate the secret and rewire every dependent}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-propagation-kernel",
            "title": "Anti-Pattern Propagation Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each anti-pattern, identify the missing architectural control, introduce the inverse control, migrate existing dependents, verify absence of the old failure shape, and enforce recurrence prevention.",
                    "term": "Intent"
                  },
                  {
                    "description": "Anti-pattern repair is not complete until the propagation path is blocked.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AntiPattern → MissingControl → InverseControl → Migration → AbsenceCheck → PreventionGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AntiPatternRemediationAlgebra ::= <AntiPatternRecord> \"→\" <MissingControl> \"→\" <InverseArchitecturalControl> \"→\" <MigrationPlan> \"→\" <EliminationVerification> \"→\" <RecurrencePrevention>\nMissingControl ::= \"boundary\" | \"contract\" | \"owner\" | \"version\" | \"telemetry\" | \"schema\" | \"policy\" | \"state_isolation\" | \"dependency_rule\"\nRecurrencePrevention ::= \"static_check\" | \"contract_test\" | \"schema_gate\" | \"architecture_test\" | \"policy_as_code\" | \"review_gate\" | \"runtime_monitor\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The anti-pattern is deleted at one call site; the propagation path stays open, so it reappears elsewhere next sprint.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "Secret Sprawl → missing-control{no secret authority} → inverse-control{central store + injected access} → migration{repoint every reader} → absence-check{scan finds zero inline secrets} → prevention-gate{lint rule rejects new inline secrets}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-remediation-algebra",
            "title": "Anti-Pattern Remediation Algebra"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Model every smell as a recurring degeneration path with trigger conditions, enabling conditions, detection signals, damage model, remediation inverse, and prevention gate.",
                    "term": "Intent"
                  },
                  {
                    "description": "A smell becomes enforceable when it is represented as a measurable failure contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Smell → Trigger → Degeneration → Detection → Measurement → Remediation → Prevention",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureSmellRecord ::= <SmellName> \",\" <TriggerCondition> \",\" <EnablingConditionSet> \",\" <DegenerationPath> \",\" <DetectionSignalSet> \",\" <MetricSet> \",\" <DamageModel> \",\" <RemediationInverse> \",\" <PreventionGate>\nPreventionGate ::= \"static_check\" | \"architecture_test\" | \"contract_test\" | \"schema_gate\" | \"review_gate\" | \"fitness_function\" | \"runtime_monitor\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Smell described in prose ('this class is too big') — unmeasurable, unenforceable, re-argued case by case.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "God Object : trigger{unrelated methods accrete} → degeneration{fan-in/out grows} → detection{LCOM + responsibility count} → measurement{cohesion score below threshold} → remediation{Extract Class} → prevention{architecture test on cohesion}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-smell-record",
            "title": "Architecture Smell Record"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert each smell record into detection checks, measurable thresholds, severity policy, remediation hints, and recurrence-prevention gates.",
                    "term": "Intent"
                  },
                  {
                    "description": "A smell catalog is enforced only once it compiles into rules.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SmellRecord → DetectionRule → MetricThreshold → Severity → RefactorHint → Gate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AntiPatternRuleCompiler ::= <ArchitectureSmellRecordSet> \"→\" <DetectionRuleSet> \"→\" <MetricThresholdSet> \"→\" <SeverityPolicy> \"→\" <RemediationPlaybookSet> \"→\" <PreventionGateSet>\nCompiledRule ::= <RuleName> \",\" <Scope> \",\" <Detector> \",\" <Threshold> \",\" <PriorityRank> \",\" <FailureMessage> \",\" <RefactorHint> \",\" <PreventionGate>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Severity Policy](/records/algorithms/severity-policy)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A smell catalog read by the developer — each entry is advice that nothing executes.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "SmellRecord{God Object} → detection-rule{find unrelated method clusters} → metric-threshold{LCOM > 0.7} → severity{error} → refactor-hint{Extract Class} → gate{fails the build}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Severity Policy](/records/algorithms/severity-policy)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-rule-compiler",
            "title": "Anti-Pattern Rule Compiler"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Group smells by missing control so detection and remediation can be generalized.",
                    "term": "Intent"
                  },
                  {
                    "description": "Most bad practices are symptoms of a missing architectural control.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Smell → MissingControl → RuleFamily → RemediationFamily",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SmellTaxonomy ::= <SmellSet> \"→\" <MissingControlClassification> \"→\" <RuleFamilySet> \"→\" <RemediationFamilySet>\nMissingControlClassification ::= \"missing_boundary\" | \"missing_contract\" | \"missing_type\" | \"missing_owner\" | \"missing_version\" | \"missing_validation\" | \"missing_observability\" | \"missing_state_control\" | \"missing_release_control\" | \"missing_security_control\" | \"missing_evidence\" | \"excessive_abstraction\" | \"excessive_coupling\" | \"excessive_manual_process\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Dozens of smells listed flat, each handed its own bespoke, unrelated fix.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "smell-set{Magic Value, Secret Sprawl, Hardcoded Path} → missing-control{single source of truth} → rule-family{no-inline-authority checks} → remediation-family{centralize then inject}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-smell-taxonomy",
            "title": "Smell Taxonomy"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Model every anti-pattern as a typed relationship record: name, scope, causal links, conflicts, degradations, enabled failures, detection signals, measurement, remediation inverse, prevention, and severity.",
                    "term": "Intent"
                  },
                  {
                    "description": "An anti-pattern is enforceable only when it is represented as a typed relationship record.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AntiPatternRelationshipRecord ::= <AntiPatternName> \":\" \"Anti-Pattern\" \",\" <scope> \",\" <caused_by> \",\" <conflicts_with> \",\" <degrades> \",\" <enables_failure> \",\" <detected_by> \",\" <measured_by> \",\" <refactored_by> \",\" <prevented_by> \",\" <severity>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An anti-pattern named as free text with no typed edges — not resolvable, not gate-checkable, not linkable to the principle it violates.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "Cyclic Dependency : Anti-Pattern, scope{module}, caused_by{convenience import}, conflicts_with{Low Coupling}, degrades{modularity}, enables_failure{build deadlock}, detected_by{cycle scan}, refactored_by{invert dependency}, prevented_by{dependency rule}, severity{mandatory}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-relationship-record",
            "title": "Anti-Pattern Relationship Record"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [anti-patterns](/records/algorithms-domain/anti-patterns)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Local shortcut> → <Missing control> → <Repeated usage> → <Implicit dependency> → <Boundary/contract erosion> → <Systemic fragility> → <Expensive remediation>",
                    "term": "Intent"
                  },
                  {
                    "description": "Every architecture anti-pattern is a reproducible decay path caused by the absence of a specific control: boundary, contract, ownership, versioning, observability, state isolation, or enforcement.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Shortcut → Drift → Coupling → Fragility → Detection → Inversion",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureAntiPattern ::= <TriggerCondition> \"→\" <MissingControl> \"→\" <DegenerationPath> \"→\" <DamageModel> \"→\" <DetectionSignalSet> \"→\" <RemediationInverse> \"→\" <PreventionGate>\nRemediationInverse ::= \"introduce_boundary\" | \"declare_contract\" | \"centralize_authority\" | \"assign_owner\" | \"version_change\" | \"add_observability\" | \"isolate_state\" | \"enforce_policy\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Big Ball of Mud](/records/architecture/big-ball-of-mud)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules compiled from the smell catalog, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file the rules lint",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the linted source or a rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A compiled rule fails the lint stage on the smell's signature",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because these records describe decay paths found in source, not signals of a running system",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The smell catalog, which the compiled rules are derived from and the source is held to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-anti-pattern",
            "title": "<Architecture Anti-Pattern>"
          }
        ],
        "title": "Anti-patterns"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_document_truth_alignment[\"Document Truth Alignment\"]\n    n_architectural_contract_kernel[\"Architectural Contract Kernel\"]\n    n_responsibility_boundary[\"Responsibility Boundary\"]\n    n_coupling_control[\"Coupling Control\"]\n    n_interface_contract[\"Interface Contract\"]\n    n_substitutability[\"Substitutability\"]\n    n_canonical_data[\"Canonical Data\"]\n    n_domain_boundary[\"Domain Boundary\"]\n    n_self_description_manifest[\"Self-Description Manifest\"]\n    n_runtime_discovery[\"Runtime Discovery\"]\n    n_extension_point[\"Extension Point\"]\n    n_construction_boundary[\"Construction Boundary\"]\n    n_structural_mediation[\"Structural Mediation\"]\n    n_behavioral_dispatch[\"Behavioral Dispatch\"]\n    n_architectural_style_boundary[\"Architectural Style Boundary\"]\n    n_port_adapter[\"Port Adapter\"]\n    n_event_messaging[\"Event Messaging\"]\n    n_saga_compensation[\"Saga Compensation\"]\n    n_transaction_boundary[\"Transaction Boundary\"]\n    n_idempotent_side_effect[\"Idempotent Side Effect\"]\n    n_deterministic_core[\"Deterministic Core\"]\n    n_verification_fitness[\"Verification Fitness\"]\n    n_error_boundary[\"Error Boundary\"]\n    n_resilience_control[\"Resilience Control\"]\n    n_recovery_deployment[\"Recovery Deployment\"]\n    n_observability_trace[\"Observability Trace\"]\n    n_causality_ordering[\"Causality Ordering\"]\n    n_performance_scaling[\"Performance Scaling\"]\n    n_cache_correctness[\"Cache Correctness\"]\n    n_portability_environment[\"Portability Environment\"]\n    n_security_policy[\"Security Policy\"]\n    n_control_plane[\"Control Plane\"]\n    n_declarative_metaprogramming[\"Declarative Metaprogramming\"]\n    n_streaming_dataflow[\"Streaming Dataflow\"]\n    n_rag_knowledge_boundary[\"RAG Knowledge Boundary\"]\n    n_architecture_selection_meta_algorithm[\"Architecture Selection Meta-Algorithm\"]\n    n_universal_architectural_concern_template[\"Universal Architectural Concern Template\"]\n    n_architectural_contract_algebra[\"Architectural Contract Algebra\"]\n    n_manifest_driven_documentation[\"Manifest-Driven Documentation\"]\n    n_consumer_config_ssot[\"Consumer Config SSOT\"]\n    n_finite_state_machine[\"Finite State Machine\"]\n    n_statecharts[\"Statecharts\"]\n    n_petri_nets[\"Petri Nets\"]\n    n_queuing_theory[\"Queuing Theory\"]\n    n_architectural_contract_algebra --> n_domain_boundary\n    n_architectural_contract_algebra --> n_transaction_boundary\n    n_manifest_driven_documentation --> n_document_truth_alignment\n    n_manifest_driven_documentation --> n_self_description_manifest\n    n_manifest_driven_documentation --> n_extension_point\n    n_consumer_config_ssot --> n_architectural_contract_kernel\n    n_consumer_config_ssot --> n_responsibility_boundary\n    n_statecharts --> n_finite_state_machine"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-architecture",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For any document that states facts about a codebase, separate invariant facts (counts, paths, names, and the doc-type's structural schema) from variant prose, bind each invariant to a code-derived value through a stable key, compile the document from a template, and gate the output so a stated fact can never drift from the code it describes.",
                    "term": "Intent"
                  },
                  {
                    "description": "A document is well-formed iff every rendered invariant equals its resolved code-truth and every doc-type-required meta-concern is present in order; prose is free.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Concern → Variant → Invariant → TruthKey → Deriver → Template → Compilation → DriftGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DocumentTruth ::= <VariantProse> \"+\" <InvariantSet> \"→\" <TruthKeyBinding> \"→\" <DeriverResolution> \"→\" <TemplateCompilation> \"→\" <DriftGate>\nInvariantBinding ::= <TruthKey> \",\" <TokenSlot> \",\" <DerivedValue> \",\" <DocTypeSchema>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Manifest-Driven Documentation](/records/algorithms/manifest-driven-documentation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [contract_compatibility](/records/force/contract-compatibility), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A doc states 'the system has 12 modules' — a hand-typed count that drifts the moment a module is added.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "invariant{moduleCount} → truth-key{modules.length} → deriver{scan workspaces} → template{'... has {moduleCount} modules'} → drift-gate{rendered == derived, else fail}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-document-truth-alignment",
            "title": "Document Truth Alignment"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For any programmatic system, identify architectural concerns, define explicit contracts for each concern, bind implementations to those contracts, validate invariants, observe behavior, and evolve through versioned change.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture is a graph of bounded contracts whose nodes expose stable intent and whose edges preserve compatibility, causality, and governance.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Concern → Boundary → Contract → Implementation → Verification → Observation → Evolution",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureKernel ::= <ConcernSet> \"→\" <BoundarySet> \"→\" <ContractSet> \"→\" <ImplementationGraph> \"→\" <VerificationSet> \"→\" <ObservationSet> \"→\" <EvolutionPolicy>\nConcernContract ::= <Intent> \",\" <Responsibility> \",\" <InputContract> \",\" <OutputContract> \",\" <InvariantSet> \",\" <FailurePolicy> \",\" <VersionPolicy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Consumer Config SSOT](/records/algorithms/consumer-config-ssot)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooService { save(f) { db.write(f); log(f); notify(f); } }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface FooPort { save(f: Foo): Promise<void>; }\nclass FooService implements FooPort {\n  constructor(private repo: FooRepo, private events: EventSink) {}\n  async save(f: Foo) { await this.repo.save(f); this.events.emit({ type: \"FooSaved\", f }); }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architectural-contract-kernel",
            "title": "Architectural Contract Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Partition behavior into cohesive units, assign each unit one reason to change, hide internal details, expose only intentional interfaces, and reject cross-boundary leakage.",
                    "term": "Intent"
                  },
                  {
                    "description": "Modularity is achieved when responsibility, knowledge, and change pressure are localized.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Behavior → Responsibility → Boundary → Interface → Encapsulation → Replaceability",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ResponsibilityBoundary ::= <BehaviorSet> \"→\" <ResponsibilityPartition> \"→\" <ModuleBoundary> \"→\" <PublicInterface> \"→\" <PrivateImplementation>\nModuleBoundary ::= \"single_responsibility\" \",\" \"high_cohesion\" \",\" \"low_coupling\" \",\" \"information_hiding\" \",\" \"replaceable_implementation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Consumer Config SSOT](/records/algorithms/consumer-config-ssot), [Cascade Layer Partition](/records/algorithms/cascade-layer-partition), [Placement Isolation](/records/algorithms/placement-isolation), [Assembly Composition](/records/algorithms/assembly-composition)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooUtil { parse() {} save() {} render() {} notify() {} }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooParser { parse() {} }\nclass FooRepository { save() {} }\nclass FooView { render() {} }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-responsibility-boundary",
            "title": "Responsibility Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect dependency directions, invert dependencies toward abstractions, restrict imports to approved boundaries, and preserve autonomy between modules.",
                    "term": "Intent"
                  },
                  {
                    "description": "Low coupling is enforced by making dependencies point at contracts instead of concrete implementations.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ConcreteDependency → AbstractionBoundary → DependencyRule → ImportValidation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CouplingControl ::= <DependencyGraph> \"→\" <AbstractionNodeSet> \"→\" <AllowedEdgeSet> \"→\" <ForbiddenEdgeSet> \"→\" <DependencyValidation>\nDependencyRule ::= \"depend_on_interface\" | \"depend_on_port\" | \"same_boundary_only\" | \"adapter_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Constraints Over Shortcuts](/records/algorithms/no-shortcuts), [Event Emission Over Parent Callbacks](/records/algorithms/no-callbacks), [Least Privilege Over Broad Privilege](/records/algorithms/no-broad-privilege), [Saga Compensation Over Distributed 2PC](/records/algorithms/no-distributed-2pc), [Async Events Over Synchronous Cross-Boundary](/records/algorithms/no-sync-cross-boundary), [Injected Dependency Over Hidden](/records/algorithms/no-hidden-dependency), [Anti-Corruption Layer Over Cross-Context Leak](/records/algorithms/no-leaky-context), [Placement Isolation](/records/algorithms/placement-isolation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "import { SqlFooStore } from \"./infra/sql\";\nclass FooService { store = new SqlFooStore(); }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface FooStore { save(f: Foo): Promise<void>; }\nclass FooService { constructor(private store: FooStore) {} }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-coupling-control",
            "title": "Coupling Control"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define explicit interfaces with preconditions, postconditions, invariants, error semantics, version rules, and compatibility guarantees before implementation.",
                    "term": "Intent"
                  },
                  {
                    "description": "Interfaces are executable promises between independently changeable parts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Intent → Interface → Preconditions → Postconditions → Compatibility → Implementation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "InterfaceContract ::= <InterfaceName> \",\" <OperationSet> \",\" <PreconditionSet> \",\" <PostconditionSet> \",\" <InvariantSet> \",\" <ErrorContract> \",\" <VersionContract>\nCompatibilityRule ::= \"backward_compatible\" | \"forward_compatible\" | \"breaking_change_requires_new_version\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Composed Turn Contract](/records/algorithms/composed-turn-contract), [<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function doFoo(a, b, n) {}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface FooOp {\n  (a: Foo, b: Bar, n: number): Result<FooOut, FooError>;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-interface-contract",
            "title": "Interface Contract"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Validate that every implementation of an abstraction preserves the abstraction’s behavior, accepts valid parent inputs, returns valid parent outputs, and does not strengthen forbidden constraints.",
                    "term": "Intent"
                  },
                  {
                    "description": "Polymorphism is safe only when behavioral subtyping holds.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Interface → Implementation → ContractCheck → Substitute|Reject",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "Substitutability ::= <BaseContract> \"→\" <CandidateImplementation> \"→\" <BehavioralCompatibilityCheck> \"→\" <SubstitutionVerdict>\nBehavioralCompatibilityCheck ::= \"preconditions_not_stronger\" \",\" \"postconditions_not_weaker\" \",\" \"invariants_preserved\" \",\" \"errors_compatible\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class ReadOnlyFooStore extends FooStore { save() { throw new Error(\"unsupported\"); } }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface FooReader { find(id: FooId): Foo | undefined; }\ninterface FooWriter extends FooReader { save(f: Foo): void; }\nclass ReadOnlyFooStore implements FooReader { find(id: FooId) { return fooCache.get(id); } }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-substitutability",
            "title": "Substitutability"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Normalize incoming data into a canonical schema, validate types and semantics, preserve one source of truth, and translate at system boundaries only.",
                    "term": "Intent"
                  },
                  {
                    "description": "Semantic consistency requires one canonical model and controlled translation at edges.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RawData → Validate → Normalize → CanonicalModel → BoundaryTranslation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CanonicalDataFlow ::= <ExternalData> \"→\" <SchemaValidation> \"→\" <Canonicalization> \"→\" <CanonicalModel> \"→\" <BoundaryAdapter>\nCanonicalModel ::= <Schema> \",\" <TypeRules> \",\" <SemanticRules> \",\" <NormalizationRules> \",\" <SourceOfTruth>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Seed Composition](/records/algorithms/seed-composition), [Canonical Config Resolution](/records/algorithms/canonical-config-resolution), [Composed Turn Contract](/records/algorithms/composed-turn-contract), [<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema), [Token Source-of-Truth](/records/algorithms/token-source-of-truth), [Type-Keyed Appearance](/records/algorithms/type-keyed-appearance)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function useFoo(raw) { const name = raw.name ?? raw.Name ?? raw.title; }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function toCanonicalFoo(raw: unknown): Foo { return { id: fooId(raw), name: pickName(raw) }; }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-canonical-data",
            "title": "Canonical Data"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [topology](/records/reasoning/math-type-topology)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Identify bounded contexts, define the ubiquitous language and the owner of each context's model, map the relationships between contexts, and use anti-corruption layers where semantics differ.",
                    "term": "Intent"
                  },
                  {
                    "description": "Domain architecture protects meaning by making semantic boundaries explicit.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Domain → BoundedContext → Language → ContextMap → TranslationBoundary",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DomainBoundary ::= <DomainModel> \"→\" <BoundedContextSet> \"→\" <UbiquitousLanguageSet> \"→\" <ContextMap> \"→\" <IntegrationPolicy>\nIntegrationPolicy ::= \"shared_kernel\" | \"customer_supplier\" | \"anti_corruption_layer\" | \"published_language\" | \"separate_ways\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architectural Contract Algebra](/records/algorithms/architectural-contract-algebra), [Type-Keyed Appearance](/records/algorithms/type-keyed-appearance)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "fooContext.use(sharedBaz);\nbarContext.use(sharedBaz);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function toBarBaz(f: FooBaz): BarBaz { return { id: f.id }; }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-domain-boundary",
            "title": "Domain Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Require every component to declare identity, capabilities, contracts, dependencies, configuration, health model, and version metadata in a machine-readable manifest.",
                    "term": "Intent"
                  },
                  {
                    "description": "Runtime systems become discoverable and governable when components describe themselves.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Component → Manifest → CapabilityDeclaration → Discovery → Validation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SelfDescription ::= <Component> \"→\" <Manifest> \"→\" <CapabilitySet> \"→\" <ContractReferenceSet> \"→\" <RuntimeRegistration>\nManifest ::= \"identity\" \",\" \"version\" \",\" \"capabilities\" \",\" \"dependencies\" \",\" \"contracts\" \",\" \"configuration\" \",\" \"health\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Manifest-Driven Documentation](/records/algorithms/manifest-driven-documentation), [<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema), [Custom Type Registration](/records/algorithms/custom-type-registration)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "export class FooPlugin { transform(x) { return x; } }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "export const manifest = { identity: \"foo-plugin\", version: \"1.2.0\", capabilities: [\"transform\"], contracts: [\"FooPort@1\"], dependencies: [] };",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-self-description-manifest",
            "title": "Self-Description Manifest"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Discover available components by manifest, convention, registry, or service endpoint; validate discovered candidates against contracts; bind dynamically only after compatibility checks.",
                    "term": "Intent"
                  },
                  {
                    "description": "Dynamic binding is safe only when discovery is filtered by explicit contracts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DiscoverySource → CandidateSet → ContractValidation → Binding → RuntimeUse",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RuntimeDiscovery ::= <DiscoveryMechanism> \"→\" <CandidateComponentSet> \"→\" <CapabilityMatch> \"→\" <ContractValidation> \"→\" <BindingDecision>\nDiscoveryMechanism ::= \"manifest\" | \"registry\" | \"service_discovery\" | \"convention\" | \"configuration\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Runtime Extensibility](/records/algorithms/runtime-extensibility), [<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Runtime Discovery](/records/architecture/runtime-discovery)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const plugin = new KnownFooPlugin();",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const candidates = registry.discover({ capability: \"transform\" });\nconst bound = candidates.filter((c) => satisfies(c.contract, FooPortV1));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-runtime-discovery",
            "title": "Runtime Discovery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define stable extension contracts, register implementations through IoC or plugin registries, isolate plugin failures, and expose deterministic loading order.",
                    "term": "Intent"
                  },
                  {
                    "description": "Extensibility requires stable hooks, controlled registration, and observable binding.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ExtensionContract → PluginRegistration → DependencyInjection → Isolation → Dispatch",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ExtensionArchitecture ::= <ExtensionPoint> \"→\" <PluginContract> \"→\" <PluginRegistry> \"→\" <BindingPolicy> \"→\" <FailureIsolation>\nBindingPolicy ::= \"dependency_injection\" | \"service_registry\" | \"service_locator\" | \"manual_registration\" | \"auto_discovery\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Manifest-Driven Documentation](/records/algorithms/manifest-driven-documentation), [Composed Turn Contract](/records/algorithms/composed-turn-contract), [<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema), [Custom Type Registration](/records/algorithms/custom-type-registration)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "switch (kind) { case \"foo\": doFoo(); break; case \"bar\": doBar(); break; }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "registry.register(\"foo\", fooHandler);\nregistry.register(\"bar\", barHandler);\nregistry.get(kind)?.handle(input);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-extension-point",
            "title": "Extension Point"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Hide object creation behind factories, builders, prototypes, or abstract factories so callers depend on creation contracts rather than concrete constructors.",
                    "term": "Intent"
                  },
                  {
                    "description": "Creation logic is a boundary and should be replaceable independently from usage logic.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CreationRequest → ConstructionContract → Factory|Builder|Prototype → Instance",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConstructionBoundary ::= <CreationIntent> \"→\" <ConstructionStrategy> \"→\" <InstanceContract> \"→\" <ConstructedObject>\nConstructionStrategy ::= \"factory\" | \"factory_method\" | \"abstract_factory\" | \"builder\" | \"prototype\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Governed Construction Boundary](/records/algorithms/governed-construction-boundary)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [object_creation](/records/force/object-creation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const c = new FooConnection(host, port, user, pw);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const c = fooConnectionFactory.create(config);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-construction-boundary",
            "title": "Construction Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Insert adapters, facades, proxies, bridges, or decorators where incompatible structure, access control, abstraction separation, or behavior layering is required.",
                    "term": "Intent"
                  },
                  {
                    "description": "Structural patterns reshape access without corrupting the core contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ClientNeed → StructuralMismatch → MediatingPattern → CompatibleInterface",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StructuralMediation ::= <ClientContract> \"→\" <MismatchType> \"→\" <StructuralPattern> \"→\" <CompatibleBoundary>\nStructuralPattern ::= \"adapter\" | \"facade\" | \"proxy\" | \"bridge\" | \"decorator\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "legacyFooApi.call(new FooXmlPayload(foo));",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooAdapter implements FooPort {\n  constructor(private legacy: FooXmlApi) {}\n  save(f: Foo) { return this.legacy.call(toFooXml(f)); }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-structural-mediation",
            "title": "Structural Mediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Externalize variable behavior into strategies, template hooks, observers, or mediators while preserving stable orchestration contracts.",
                    "term": "Intent"
                  },
                  {
                    "description": "Behavioral variation belongs behind dispatch contracts, not scattered conditionals.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StableFlow → VariationPoint → DispatchPattern → RuntimeBehavior",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BehavioralDispatch ::= <StableOperation> \"→\" <VariationPoint> \"→\" <BehaviorPattern> \"→\" <SelectedBehavior>\nBehaviorPattern ::= \"strategy\" | \"template_method\" | \"observer\" | \"mediator\" | \"polymorphic_dispatch\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function handleFoo(f) { if (f.kind === \"a\") { return runA(f); } else if (f.kind === \"b\") { return runB(f); } }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const strategies: Record<FooKind, FooStrategy> = { a: fooStrategyA, b: fooStrategyB };\nfunction handleFoo(f: Foo) { return strategies[f.kind].run(f); }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-behavioral-dispatch",
            "title": "Behavioral Dispatch"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Select an architectural style, from a monolith or modular monolith to layered, hexagonal or microservices, by dependency direction, deployment autonomy, domain complexity, team topology, operational maturity and change isolation needs, then enforce the style through boundary rules.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture style is a macro-contract for dependency flow and deployment shape.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SystemForces → StyleSelection → BoundaryRules → FitnessValidation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureStyle ::= <SystemForces> \"→\" <Style> \"→\" <BoundaryRuleSet> \"→\" <FitnessFunctionSet>\nStyle ::= \"hexagonal\" | \"ports_and_adapters\" | \"clean_architecture\" | \"layered\" | \"component_based\" | \"package_by_feature\" | \"microservices\" | \"modular_monolith\" | \"monolith\"\nSystemForces ::= \"domain_complexity\" \",\" \"team_topology\" \",\" \"deployment_autonomy\" \",\" \"consistency_requirement\" \",\" \"operational_maturity\" \",\" \"scaling_pressure\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Cascade Layer Partition](/records/algorithms/cascade-layer-partition)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "import { SqlDriver } from \"../infra/sql\";",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "export const boundaries = { ui: [\"app\"], app: [\"domain\"], domain: [] };",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architectural-style-boundary",
            "title": "Architectural Style Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Place domain logic behind inbound and outbound ports, implement external technology through adapters, and forbid domain dependence on infrastructure.",
                    "term": "Intent"
                  },
                  {
                    "description": "The domain remains stable by depending on ports, not delivery or persistence mechanisms.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "UseCase → InboundPort → DomainLogic → OutboundPort → Adapter",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PortAdapterFlow ::= <ExternalDriver> \"→\" <InboundAdapter> \"→\" <InboundPort> \"→\" <UseCase> \"→\" <OutboundPort> \"→\" <OutboundAdapter>\nDependencyDirection ::= \"adapter_depends_on_port\" \",\" \"domain_depends_on_abstraction\" \",\" \"infrastructure_outside_core\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Persistence Fork](/records/algorithms/persistence-fork)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooUseCase { run(f) { new FooHttpClient().send(f); } }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface FooOutPort { send(f: Foo): Promise<void>; }\nclass FooUseCase { constructor(private out: FooOutPort) {} }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-port-adapter",
            "title": "Port Adapter"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert state changes into events, classify domain versus integration events, publish through durable channels, consume idempotently, and preserve ordering where required.",
                    "term": "Intent"
                  },
                  {
                    "description": "Event-driven systems trade immediate consistency for decoupled causal propagation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StateChange → Event → Publish → Consume → IdempotentEffect → Consistency",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EventMessaging ::= <StateChange> \"→\" <EventClassification> \"→\" <MessageEnvelope> \"→\" <BrokerOrBus> \"→\" <Consumer> \"→\" <EffectPolicy>\nEventClassification ::= \"domain_event\" | \"integration_event\" | \"stream_event\"\nEffectPolicy ::= \"idempotent\" \",\" \"retryable\" \",\" \"observable\" \",\" \"ordered_if_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[event_messaging](/records/force/event-messaging), [domain_boundary](/records/force/domain-boundary), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function doFoo(f) { await stepBar(f); await stepBaz(f); await stepQux(f); }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function doFoo(f) { await fooStore.save(f); await bus.publish({ type: \"FooHappened\", f }); }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-event-messaging",
            "title": "Event Messaging"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For long-running distributed workflows, split work into steps, persist progress, define compensating actions, and recover from partial failure through forward or backward correction.",
                    "term": "Intent"
                  },
                  {
                    "description": "Distributed transactions require explicit process state and compensation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workflow → StepGraph → LocalTransaction → Event → Compensation|Continue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "Saga ::= <SagaState> \"→\" <Step> \"→\" <LocalTransaction> \"→\" <ProgressEvent> \"→\" (<NextStep> | <CompensatingTransaction>)\nSagaStep ::= <Command> \",\" <SuccessEvent> \",\" <FailureEvent> \",\" <CompensationCommand>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[event_messaging](/records/force/event-messaging)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "saga-compensation",
                    "term": "Refused by rules"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "await reserveFoo(x); await reserveBar(x);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const saga = [ { do: reserveFoo, undo: releaseFoo }, { do: reserveBar, undo: releaseBar } ];\nrunSaga(saga);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-saga-compensation",
            "title": "Saga Compensation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define atomic state-change boundaries, isolate concurrent mutation, enforce consistency rules, and commit or roll back as a unit.",
                    "term": "Intent"
                  },
                  {
                    "description": "Correct state change requires explicit transaction scope and isolation semantics.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Command → UnitOfWork → Invariant → Commit|Rollback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TransactionBoundary ::= <Command> \"→\" <TransactionScope> \"→\" <InvariantCheck> \"→\" <ConcurrencyControl> \"→\" <CommitDecision>\nConcurrencyControl ::= \"optimistic_locking\" | \"pessimistic_locking\" | \"serial_execution\" | \"state_isolation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architectural Contract Algebra](/records/algorithms/architectural-contract-algebra), [State and Transaction Safety](/records/algorithms/state-and-transaction-safety)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [state_transaction](/records/force/state-transaction)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Transaction Boundary](/records/architecture/transaction-boundary)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "decFoo(a, n); incBar(b, n);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "await unitOfWork(async (tx) => { await decFoo(tx, a, n); await incBar(tx, b, n); });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-transaction-boundary",
            "title": "Transaction Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Assign a stable operation identity, check whether the effect was already applied, execute only once, and return the same semantic result for repeated requests.",
                    "term": "Intent"
                  },
                  {
                    "description": "External side effects must be repeat-safe under retries.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Request → IdempotencyKey → PriorResultCheck → ExecuteOnce → PersistOutcome",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "Idempotency ::= <Request> \"→\" <IdempotencyKey> \"→\" <DeduplicationStore> \"→\" (<PriorResult> | <SideEffectExecution>) \"→\" <StableResponse>\nStableResponse ::= \"same_key_same_effect_same_semantic_result\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Idempotent Merge](/records/algorithms/idempotent-merge)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [state_transaction](/records/force/state-transaction), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function applyFoo(req) { await external.apply(req.value); }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function applyFoo(req) {\n  if (await seen(req.key)) return priorResult(req.key);\n  const r = await external.apply(req.value); await persist(req.key, r); return r;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-idempotent-side-effect",
            "title": "Idempotent Side Effect"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Push nondeterminism to system edges, keep core logic pure where possible, use immutable inputs, and make outputs reproducible under identical inputs.",
                    "term": "Intent"
                  },
                  {
                    "description": "Correctness improves when the core is deterministic and side effects are controlled.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ExternalInput → Normalize → PureCore → DeterministicOutput → ControlledEffect",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DeterministicCore ::= <Input> \"→\" <Canonicalization> \"→\" <PureFunctionSet> \"→\" <Output> \"→\" <EffectBoundary>\nPurityConstraint ::= \"no_hidden_state\" \",\" \"no_hidden_time\" \",\" \"no_hidden_randomness\" \",\" \"referential_transparency\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Correctness Verification](/records/algorithms/correctness-verification), [Deterministic Merge Core](/records/algorithms/deterministic-merge-core)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function scoreFoo(f) { return f.base * (Date.now() % 2 ? 1.1 : 1); }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function scoreFoo(f: Foo, now: Date) { return f.base * rateAt(now); }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-deterministic-core",
            "title": "Deterministic Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define executable architecture rules, validate with static analysis, specification tests, property tests, and runtime checks, then block release when critical rules fail.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture must be continuously verified by fitness functions.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Rule → Test → Evidence → Pass|Fail → Gate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VerificationFitness ::= <SpecificationSet> \"→\" <VerificationMethodSet> \"→\" <EvidenceSet> \"→\" <FitnessVerdict>\nVerificationMethod ::= \"type_check\" | \"static_analysis\" | \"schema_validation\" | \"contract_test\" | \"property_based_test\" | \"specification_test\" | \"formal_verification\" | \"runtime_validation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Layer Fitness Enforcement](/records/algorithms/layer-fitness-enforcement)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "reviewChecklist.push(\"domain must not import infra\");",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "test(\"domain imports no infra\", () => expect(importsOf(\"domain\")).not.toContain(\"infra\"));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-verification-fitness",
            "title": "Verification Fitness"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect invalid state early, fail fast for programmer errors, fail safe for recoverable runtime faults, fail secure for security-sensitive failures, and return typed errors.",
                    "term": "Intent"
                  },
                  {
                    "description": "Error handling is a contract for containment, disclosure, and recovery.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Operation → Guard → ErrorClass → BoundaryPolicy → RecoveryOrAbort",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ErrorBoundary ::= <Operation> \"→\" <PreconditionCheck> \"→\" <ErrorClassification> \"→\" <FailurePolicy> \"→\" <ResultContract>\nFailurePolicy ::= \"fail_fast\" | \"fail_safe\" | \"fail_secure\" | \"graceful_degradation\" | \"fallback\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Governed Construction Boundary](/records/algorithms/governed-construction-boundary)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [resilience_recovery](/records/force/resilience-recovery), [security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "try { doFoo(); } catch (e) { return null; }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "try { return ok(doFoo()); } catch (e) {\n  if (isProgrammerError(e)) throw e;\n  Logger.error(\"doFoo failed\", e); return err(\"foo.retry\");\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-error-boundary",
            "title": "Error Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Wrap remote or unreliable calls with timeout, retry, circuit breaker, bulkhead isolation, fallback, and backpressure policies.",
                    "term": "Intent"
                  },
                  {
                    "description": "Resilience is controlled failure under resource and dependency stress.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Call → Timeout → RetryPolicy → CircuitBreaker → Bulkhead → Fallback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ResilienceControl ::= <ExternalCall> \"→\" <TimeoutPolicy> \"→\" <RetryPolicy> \"→\" <CircuitBreaker> \"→\" <Bulkhead> \"→\" <FallbackPolicy> \"→\" <BackpressurePolicy>\nRetryPolicy ::= \"bounded_attempts\" \",\" \"jittered_backoff\" \",\" \"idempotency_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const r = await callFoo(url);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const r = await breaker.run(() => withTimeout(callFoo(url), 2000), { retries: 3, backoff: jitter });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-resilience-control",
            "title": "Resilience Control"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Continuously health-check services, isolate failed instances, fail over to redundancy, roll back unsafe releases, and use canary or blue-green deployment for controlled exposure.",
                    "term": "Intent"
                  },
                  {
                    "description": "Deployment safety requires observable health and reversible rollout.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Deploy → HealthCheck → TrafficShift → DetectFailure → Rollback|Promote",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RecoveryDeployment ::= <ReleaseCandidate> \"→\" <DeploymentStrategy> \"→\" <HealthSignalSet> \"→\" <PromotionDecision>\nDeploymentStrategy ::= \"blue_green\" | \"canary\" | \"rolling\" | \"rollback\" | \"auto_remediation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[resilience_recovery](/records/force/resilience-recovery), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "deployAll(fooV2);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "canary(fooV2, { percent: 5, healthCheck });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-recovery-deployment",
            "title": "Recovery Deployment"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Attach correlation and causation identifiers to every operation, emit structured logs, metrics, traces, and audit records, then connect them into an explainable execution graph.",
                    "term": "Intent"
                  },
                  {
                    "description": "A system is operable only when behavior can be reconstructed from evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Request → CorrelationID → Logs/Metrics/Traces → Audit → CausalGraph",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ObservabilityTrace ::= <Operation> \"→\" <CorrelationId> \"→\" <CausationId> \"→\" <TelemetryEventSet> \"→\" <TraceGraph> \"→\" <AuditRecord>\nTelemetryEvent ::= \"log\" | \"metric\" | \"trace_span\" | \"alert\" | \"audit_log\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Event and Messaging Consistency](/records/algorithms/event-and-messaging-consistency)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "console.log(\"processing foo\");",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "logger.info(\"foo.process\", { correlationId: ctx.cid, causationId: ctx.parentId, fooId: foo.id });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-observability-trace",
            "title": "Observability Trace"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Model events as a dependency graph, assign causal metadata, preserve happens-before relationships with sequence numbers, Lamport clocks or vector clocks where physical timestamps are insufficient, and reject or compensate for invalid ordering.",
                    "term": "Intent"
                  },
                  {
                    "description": "Distributed correctness depends on causal ordering, not just timestamps.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Event → CausalMetadata → DependencyGraph → OrderingValidation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CausalityOrdering ::= <EventSet> \"→\" <CausalMetadataSet> \"→\" <DependencyGraph> \"→\" <OrderingPolicy>\nCausalMetadata ::= \"correlation_id\" | \"causation_id\" | \"sequence_number\" | \"lamport_clock\" | \"vector_clock\"\nDependencyGraph ::= \"DAG\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "events.sort((a, b) => a.timestamp - b.timestamp);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "events.sort(byVectorClock);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-causality-ordering",
            "title": "Causality Ordering"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Measure workload, identify bottlenecks, choose vertical or horizontal scaling, partition load, cache safe data, enforce rate limits, and benchmark continuously.",
                    "term": "Intent"
                  },
                  {
                    "description": "Scalability is achieved by measured bottleneck removal, not speculative optimization.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workload → Profile → Bottleneck → ScaleStrategy → Benchmark → Feedback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PerformanceScaling ::= <WorkloadModel> \"→\" <ProfilingResult> \"→\" <BottleneckAnalysis> \"→\" <ScalingStrategy> \"→\" <OptimizationPolicy> \"→\" <BenchmarkResult>\nScalingStrategy ::= \"vertical_scaling\" | \"horizontal_scaling\" | \"load_balancing\" | \"sharding\" | \"partitioning\" | \"caching\" | \"stateless_replication\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[performance_scaling](/records/force/performance-scaling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "optimizeEverywhere(app);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const hot = profile(load).topBottleneck();\nscale(hot, hot.isCpuBound ? \"horizontal\" : \"cache\"); benchmark();",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-performance-scaling",
            "title": "Performance Scaling"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Cache only data with defined freshness, key identity, invalidation triggers, consistency expectations, and fallback behavior.",
                    "term": "Intent"
                  },
                  {
                    "description": "Caching is safe only when staleness and invalidation are explicit.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Data → CacheKey → FreshnessPolicy → Invalidation → ReadThrough|Bypass",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CacheContract ::= <CacheableData> \"→\" <CacheKey> \"→\" <FreshnessPolicy> \"→\" <InvalidationPolicy> \"→\" <ConsistencyPolicy>\nConsistencyPolicy ::= \"strong\" | \"eventual\" | \"read_your_writes\" | \"bounded_staleness\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "cache.set(key, value);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "cache.set(fingerprint(inputs, deriverVersion), value, { invalidateOn: [\"FooChanged\"], consistency: \"read_your_writes\" });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-cache-correctness",
            "title": "Cache Correctness"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [topology](/records/reasoning/math-type-topology)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Externalize configuration, standardize protocols, isolate platform assumptions behind adapters, package runtime dependencies, and validate parity across environments.",
                    "term": "Intent"
                  },
                  {
                    "description": "Portable systems separate behavior from deployment substrate.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Code → ExternalConfig → StandardProtocol → Container|Package → EnvironmentParity",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PortabilityContract ::= <ApplicationCore> \"→\" <ConfigurationExternalization> \"→\" <ProtocolBoundary> \"→\" <InfrastructureAdapter> \"→\" <EnvironmentValidation>\nEnvironmentValidation ::= \"dev\" \",\" \"test\" \",\" \"staging\" \",\" \"production\" \",\" \"parity_check\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const db = connect(\"driver://prod-host:5432\");",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const db = connect(config.databaseUrl);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-portability-environment",
            "title": "Portability Environment"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Threat-model the system, reduce attack surface, authenticate identity, authorize actions, validate input, encode output, encrypt data, protect secrets, and enforce policy continuously.",
                    "term": "Intent"
                  },
                  {
                    "description": "Security is a default-deny contract over identity, data, and operations.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ThreatModel → Identity → Authorization → Validation → Protection → Audit",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SecurityPolicy ::= <ThreatModel> \"→\" <IdentityProof> \"→\" <AccessDecision> \"→\" <InputOutputGuard> \"→\" <DataProtection> \"→\" <PolicyEnforcement> \"→\" <SecurityAudit>\nAccessDecision ::= \"RBAC\" | \"ABAC\" | \"least_privilege\" | \"zero_trust\"\nDataProtection ::= \"encryption_at_rest\" \",\" \"encryption_in_transit\" \",\" \"secrets_management\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Governed Construction Boundary](/records/algorithms/governed-construction-boundary)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "if (user) allowFoo();",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "if (!policy.can(user, \"foo:write\", resource)) throw forbidden();\nconst foo = validate(FooSchema, input);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-security-policy",
            "title": "Security Policy"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Separate control concerns from data execution, centralize policy/configuration/authentication/logging where beneficial, and decentralize runtime execution where autonomy is required.",
                    "term": "Intent"
                  },
                  {
                    "description": "A control plane coordinates policy while data planes execute work.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Policy → ControlPlane → DistributedExecution → Feedback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ControlPlane ::= <PolicySet> \"→\" <CentralizedCoordination> \"→\" <DataPlaneSet> \"→\" <TelemetryFeedback> \"→\" <PolicyAdjustment>\nCentralizedCoordination ::= \"configuration\" | \"authentication\" | \"authorization\" | \"logging\" | \"orchestration\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Control Plane Coordination](/records/algorithms/control-plane-coordination)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [security_governance](/records/force/security-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Control Plane](/records/architecture/control-plane)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every service reads its own ad-hoc config and does its own auth — policy is scattered and drifts.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "policy{central} → control-plane{config, auth, orchestration} → data-planes{Foo, Bar execute work} → telemetry-feedback → policy-adjustment",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-control-plane",
            "title": "Control Plane"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Represent behavior as data, validate the model or DSL, compile or interpret it into runtime behavior, and restrict reflection or code generation behind safety contracts.",
                    "term": "Intent"
                  },
                  {
                    "description": "Metaprogramming is safe when code-as-data has schema, validation, and bounded execution.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Model → Schema → Compile|Interpret → RuntimeBehavior → SafetyCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DeclarativeMetaprogramming ::= <ProgramModel> \"→\" <ModelSchema> \"→\" <TransformationEngine> \"→\" <GeneratedOrInterpretedBehavior> \"→\" <SafetyBoundary>\nTransformationEngine ::= \"reflection\" | \"introspection\" | \"compile_time_evaluation\" | \"runtime_code_generation\" | \"DSL_interpreter\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [metaprogramming_modeling](/records/force/metaprogramming-modeling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "eval(fooExpression);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const ast = parse(fooDsl, GRAMMAR); validate(ast, SCHEMA); run(compile(ast), sandbox);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-declarative-metaprogramming",
            "title": "Declarative Metaprogramming"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Process data sequentially through bounded pipeline stages, preserve forward-only semantics where required, apply backpressure, checkpoint state where needed, and keep stages stateless unless state is explicitly modeled.",
                    "term": "Intent"
                  },
                  {
                    "description": "Streaming systems are contracts over flow, order, pressure, and bounded memory.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Source → Stage → Stage → Sink → Checkpoint",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StreamingDataflow ::= <Source> \"→\" <PipelineStageSet> \"→\" <BackpressurePolicy> \"→\" <CheckpointPolicy> \"→\" <Sink>\nPipelineStage ::= <InputStream> \"→\" <Transform> \"→\" <OutputStream>\nProcessingMode ::= \"single_pass\" | \"lazy_evaluation\" | \"sequential_access\" | \"forward_only\" | \"stateless\" | \"stateful_with_checkpoint\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [resilience_recovery](/records/force/resilience-recovery), [streaming_dataflow](/records/force/streaming-dataflow), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const all = await loadAllFoo(); return all.map(toBar).filter(isBaz);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "fooSource.pipe(mapStage(toBar)).pipe(filterStage(isBaz)).pipe(sink, { backpressure: true });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-streaming-dataflow",
            "title": "Streaming Dataflow"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Retrieve knowledge from indexed sources, validate relevance and freshness, ground generation in retrieved evidence, and distinguish known, inferred, and unsupported output.",
                    "term": "Intent"
                  },
                  {
                    "description": "Retrieval-augmented systems must separate source evidence from generated synthesis.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Query → Retrieve → Rank → Ground → Generate → Cite|Reject",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RAGBoundary ::= <UserQuery> \"→\" <Retriever> \"→\" <CandidateEvidenceSet> \"→\" <RelevanceValidation> \"→\" <GroundedGeneration> \"→\" <EvidenceDisclosure>\nEvidenceDisclosure ::= \"supported\" | \"partially_supported\" | \"unsupported_reject_or_disclose\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Profile Compose](/records/algorithms/profile-compose), [Delta Capture](/records/algorithms/delta-capture)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const answer = model.generate(query);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const ev = retrieve(query);\nconst g = generate(query, ev);\nreturn g.supported ? cite(g, ev) : disclose(\"unsupported\");",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-rag-knowledge-boundary",
            "title": "RAG Knowledge Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Given a concern, classify its force type, select the corresponding contract family, compose required invariants, bind implementation patterns, and attach validation gates.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architectural patterns are reusable only when selected by force, not by name.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Concern → ForceType → ContractFamily → PatternSet → ValidationGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureSelection ::= <Concern> \"→\" <ForceFamily> \"→\" <ContractFamily> \"→\" <ImplementationPatternSet> \"→\" <ValidationGateSet>\nForceFamily ::= \"modularity\" | \"compatibility\" | \"semantics\" | \"extension\" | \"state\" | \"correctness\" | \"resilience\" | \"security\" | \"scale\" | \"governance\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A pattern chosen by name ('let's use Foo') before the force it must resolve is known.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "concern → force{change-isolation} → contract-family{deployment-boundary} → pattern{selected by force, not by name} → validation-gate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-selection-meta-algorithm",
            "title": "Architecture Selection Meta-Algorithm"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For any architectural concern, define its intent, boundary, contract, invariants, allowed variation, forbidden leakage, validation strategy, observability model, and evolution policy.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every architecture principle can be operationalized as a bounded contract with verification and change rules.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Intent → Boundary → Contract → Invariant → Variation → Validation → Evolution",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "UniversalConcern ::= <Intent> \"→\" <Boundary> \"→\" <Contract> \"→\" <InvariantSet> \"→\" <AllowedVariationSet> \"→\" <ForbiddenLeakageSet> \"→\" <ValidationStrategy> \"→\" <ObservabilityModel> \"→\" <EvolutionPolicy>\nContract ::= <Input> \",\" <Output> \",\" <Preconditions> \",\" <Postconditions> \",\" <FailureModes> \",\" <CompatibilityRules>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [model_governance](/records/force/model-governance), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A principle stated as prose ('be modular') with no operational contract.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "intent → boundary → contract{in, out, pre, post} → invariants → allowed-variation → forbidden-leakage → validation → observability → evolution",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-universal-architectural-concern-template",
            "title": "Universal Architectural Concern Template"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Classify architectural force> → <Declare boundary> → <Define contract> → <Choose pattern> → <Bind implementation> → <Verify invariant> → <Observe runtime> → <Govern evolution>",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture becomes reproducible when every named principle is reduced to a force, every force becomes a contract, every contract has invariants, and every invariant has validation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Force → Contract → Pattern → Implementation → Verification → Operation → Evolution",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitecturalContractAlgebra ::= <Force> \"→\" <Boundary> \"→\" <Contract> \"→\" <Pattern> \"→\" <Implementation> \"→\" <Verification> \"→\" <Observation> \"→\" <Evolution>\nForce ::= \"change\" | \"dependency\" | \"semantic_consistency\" | \"runtime_extension\" | \"state_mutation\" | \"failure\" | \"scale\" | \"security\" | \"governance\" | \"intelligence\"\nBoundary ::= <ModuleBoundary> | <DomainBoundary> | <InterfaceBoundary> | <TransactionBoundary> | <SecurityBoundary> | <DeploymentBoundary> | <ObservationBoundary>\nPattern ::= <CreationalPattern> | <StructuralPattern> | <BehavioralPattern> | <ArchitecturalStyle> | <MessagingPattern> | <ResiliencePattern> | <GovernancePattern>\nVerification ::= <StaticCheck> | <ContractTest> | <SchemaValidation> | <PropertyTest> | <FitnessFunction> | <RuntimeHealthCheck> | <AuditReview>\nEvolution ::= <VersioningPolicy> | <CompatibilityPolicy> | <MigrationPolicy> | <RollbackPolicy> | <ADRPolicy> | <ContinuousCompliancePolicy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Domain Boundary](/records/algorithms/domain-boundary), [Transaction Boundary](/records/algorithms/transaction-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Design by Contract](/records/architecture/design-by-contract)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Domain Boundary](/records/algorithms/domain-boundary), [Transaction Boundary](/records/algorithms/transaction-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architectural-contract-algebra",
            "title": "Architectural Contract Algebra"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For a module whose public surface is machine-derivable, make its metadata manifest the single documentation source of truth: authored narrative lives in mandated, shape-validated manifest fields (with self-expanding custom fields), the API surface is collected deterministically from the built type-declarations, one marker-layered document is compiled per module from both, and a governance router runs the context-detection rules on the manifest strings where a manifest governs (rendering each field to its markdown fragment first) and on the document itself where none exists. Beyond the module document, a manifest may declare typed documents — each a form plus concern that routes through the pure location function to a computed path — generated and drift-checked the same way, so the manifest is the single content generator with no separate template mechanism.",
                    "term": "Intent"
                  },
                  {
                    "description": "A module's document is well-formed iff it recompiles byte-identical from its manifest docs-block plus its derived surface, its docs-block satisfies the mandated schema with every custom field a renderable shape, and every governed string passes the context rules reported at its manifest field; the manifest, where present, is the governed surface and the document is exempt and drift-checked.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Manifest → AuthoredField → DerivedSurface → SectionDeriver → MarkerLayer → Compilation → GovernanceRouter → DriftGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ModuleDocument ::= <ManifestAuthoredFields> \"+\" <DerivedSurface> \"→\" <SectionDeriverResolution> \"→\" <MarkerLayerTemplate> \"→\" <Compilation> \"→\" <DriftGate>\nGovernanceRouter ::= <ManifestPresent> \"→\" <RenderFieldToFragment> <ScanFragment> | <ManifestAbsent> \"→\" <ScanDocument>\nTypedDocument ::= <FormConcernName> \"→\" <LocationRouter> \"→\" <BodySections> \"→\" <Compilation> \"→\" <DriftGate>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Document Truth Alignment](/records/algorithms/document-truth-alignment), [Self-Description Manifest](/records/algorithms/self-description-manifest), [Extension Point](/records/algorithms/extension-point)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [contract_compatibility](/records/force/contract-compatibility), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A README hand-authored as prose that drifts from the exports it claims to document.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "manifest.docs{authored} + derivedSurface{from .d.ts} → section-derivers → marker-template → compile → drift-gate{recompiles byte-identical, else fail}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Document Truth Alignment](/records/algorithms/document-truth-alignment), [Self-Description Manifest](/records/algorithms/self-description-manifest), [Extension Point](/records/algorithms/extension-point)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-manifest-driven-documentation",
            "title": "Manifest-Driven Documentation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For any reusable package that must stay agnostic of the applications consuming it, hardcode zero consumer-specific truths in package source; declare every consumer-specific value in one consumer-owned config of typed sections, load it through a framework the leaf packages never import, and hand each package only the section it needs through an injection surface — so a package drops into any consumer without a literal about that consumer leaking through its source.",
                    "term": "Intent"
                  },
                  {
                    "description": "A package is consumer-agnostic iff every consumer-specific value it depends on arrives by injection at wiring time and no consumer token, path, or config-location appears in its source; the one consumer config is the single reader-visible source of those values and a static gate rejects any re-hardcoding.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ConsumerValue → ConfigSection → FrameworkLoad → InjectionSurface → PackageConsumption → CouplingGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConsumerConfigSSOT ::= <ConsumerValueSet> \"→\" <ConfigSectionSet> \"→\" <FrameworkLoad> \"→\" <InjectionSurface> \"→\" <PackageConsumption> \"+\" <CouplingGate>\nInjectionSurface ::= <SettingsChannel> \"|\" <OptionsChannel> \"|\" <ArgvEnvChannel> \"|\" <FactoryOptionChannel>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Architectural Contract Kernel](/records/algorithms/architectural-contract-kernel), [Responsibility Boundary](/records/algorithms/responsibility-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const ROOT = \"my-app\";\nconst cfg = read(\"../config/app.json\");",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "export function createFoo(opts: { root: string; store: FooStore }) { return new Foo(opts); }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Architectural Contract Kernel](/records/algorithms/architectural-contract-kernel), [Responsibility Boundary](/records/algorithms/responsibility-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-consumer-config-ssot",
            "title": "Consumer Config SSOT"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Model behavior as a finite set of states with explicit legal transitions, so illegal state combinations are unrepresentable.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every runtime state is one of the declared states and every transition is a declared edge.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EnumerateStates → DefineEvents → DeclareTransitions → RejectUndeclared",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FiniteStateMachine ::= <EnumerateStates> \"→\" <DefineEvents> \"→\" <DeclareTransitions> \"→\" <RejectUndeclared>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[State Pattern](/records/algorithms/state-pattern), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Statecharts](/records/algorithms/statecharts)",
                    "term": "Composed by"
                  },
                  {
                    "description": "boolean-flag-soup (illegal-states)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Finite State Machine](/records/architecture/finite-state-machine)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "let isOpen = false, isLoading = false, isError = false;\nfunction onClick() { isLoading = true; if (isOpen) isOpen = false; }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooState = \"closed\" | \"loading\" | \"open\" | \"error\";\nconst transitions: Record<FooState, Partial<Record<FooEvent, FooState>>> = {\n  closed: { open: \"loading\" },\n  loading: { ready: \"open\", fail: \"error\" },\n  open: { close: \"closed\" },\n  error: { retry: \"loading\" },\n};\nfunction next(state: FooState, event: FooEvent): FooState { return transitions[state][event] ?? state; }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[State Pattern](/records/algorithms/state-pattern), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-finite-state-machine",
            "title": "Finite State Machine"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extend a flat state machine with hierarchy and parallel regions, so independent concerns compose without state explosion.",
                    "term": "Intent"
                  },
                  {
                    "description": "Independent behavioral concerns live in separate parallel regions rather than a cross product of flat states.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "IdentifyIndependentConcerns → NestRelatedStates → SeparateParallelRegions → GuardTransitions",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "Statecharts ::= <IdentifyIndependentConcerns> \"→\" <NestRelatedStates> \"→\" <SeparateParallelRegions> \"→\" <GuardTransitions>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Finite State Machine](/records/algorithms/finite-state-machine), [Separation of Concerns](/records/algorithms/separation-of-concerns)",
                    "term": "Composes"
                  },
                  {
                    "description": "flat-state-explosion (combinatorial-growth)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Statecharts](/records/architecture/statecharts)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type S = \"idleMuted\" | \"idleLoud\" | \"playingMuted\" | \"playingLoud\";",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const fooChart = {\n  initial: \"idle\",\n  states: { idle: {}, playing: {} },\n  parallel: { volume: { states: { muted: {}, loud: {} } } },\n};",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Finite State Machine](/records/algorithms/finite-state-machine), [Separation of Concerns](/records/algorithms/separation-of-concerns)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-statecharts",
            "title": "Statecharts"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Model concurrent flow as places, tokens, and transitions, so reachability and deadlock are analyzable before runtime.",
                    "term": "Intent"
                  },
                  {
                    "description": "Concurrent progress is expressed as token flow through transitions whose enabling conditions are explicit.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DefinePlaces → PlaceTokens → DefineTransitions → AnalyzeReachability → AssertNoDeadlock",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PetriNet ::= <DefinePlaces> \"→\" <PlaceTokens> \"→\" <DefineTransitions> \"→\" <AnalyzeReachability> \"→\" <AssertNoDeadlock>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Concurrency Correctness](/records/algorithms/concurrency-correctness), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "ad-hoc-lock-ordering (deadlock)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Petri Nets](/records/architecture/petri-nets)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "acquire(a); acquire(b); work(); release(b); release(a);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const net = petriNet({\n  places: { idle: 1, aHeld: 0, bHeld: 0 },\n  transitions: [\n    { name: \"takeA\", consume: { idle: 1 }, produce: { aHeld: 1 } },\n    { name: \"takeB\", consume: { aHeld: 1 }, produce: { bHeld: 1 } },\n  ],\n});\nassertNoDeadlock(reachableMarkings(net));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Concurrency Correctness](/records/algorithms/concurrency-correctness), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-petri-nets",
            "title": "Petri Nets"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [architecture](/records/algorithms-domain/architecture)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Size a system from arrival and service rates, so capacity and wait time are predicted rather than guessed.",
                    "term": "Intent"
                  },
                  {
                    "description": "Utilization stays below one and predicted wait time is derived from the arrival/service-rate model.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "MeasureArrivalRate → MeasureServiceRate → ComputeUtilization → PredictWaitTime → SizeServers",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "QueuingModel ::= <MeasureArrivalRate> \"→\" <MeasureServiceRate> \"→\" <ComputeUtilization> \"→\" <PredictWaitTime> \"→\" <SizeServers>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Capacity Planning](/records/algorithms/capacity-planning), [Performance Core](/records/algorithms/performance-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "guess-based-capacity (saturation)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Queuing Theory](/records/architecture/queuing-theory)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const workers = 4;",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const rho = arrivalRate / (workers * serviceRate);\nif (rho >= 1) throw new Error(\"unstable queue: utilization >= 1\");\nconst avgWaitMs = mm1WaitTime({ arrivalRate, serviceRate, servers: workers });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the fitness functions, contract tests and architecture tests each contract names, the reviews a contract names where no automated check exists",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every module and boundary the contract governs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the module, its dependencies or the contract changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A failing fitness function or contract test blocks the release",
                    "term": "Refusal"
                  },
                  {
                    "description": "The traces and health signals the observability contracts require, which locate a contract failure in production",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The contract, which the module and its tests conform to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Capacity Planning](/records/algorithms/capacity-planning), [Performance Core](/records/algorithms/performance-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-queuing-theory",
            "title": "Queuing Theory"
          }
        ],
        "title": "Architecture"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_architectural_relationship_record[\"Architectural Relationship Record\"]\n    n_architecture_knowledge_graph[\"Architecture Knowledge Graph\"]\n    n_architectural_force_classification[\"Architectural Force Classification\"]\n    n_dependency_closure[\"Dependency Closure\"]\n    n_reinforcement_propagation[\"Reinforcement Propagation\"]\n    n_conflict_and_tension_resolution[\"Conflict and Tension Resolution\"]\n    n_severity_policy[\"Severity Policy\"]\n    n_violation_detection[\"Violation Detection\"]\n    n_measurement_normalization[\"Measurement Normalization\"]\n    n_refactor_selection[\"Refactor Selection\"]\n    n_enforcement_gate[\"Enforcement Gate\"]\n    n_architecture_assessment[\"Architecture Assessment\"]\n    n_modular_boundary_compliance[\"Modular Boundary Compliance\"]\n    n_contract_compatibility[\"Contract Compatibility\"]\n    n_canonical_semantics[\"Canonical Semantics\"]\n    n_self_description_and_discovery[\"Self-Description and Discovery\"]\n    n_runtime_extensibility[\"Runtime Extensibility\"]\n    n_pattern_selection[\"Pattern Selection\"]\n    n_event_and_messaging_consistency[\"Event and Messaging Consistency\"]\n    n_state_and_transaction_safety[\"State and Transaction Safety\"]\n    n_correctness_verification[\"Correctness Verification\"]\n    n_resilience_policy[\"Resilience Policy\"]\n    n_observability_and_auditability[\"Observability and Auditability\"]\n    n_performance_and_scalability[\"Performance and Scalability\"]\n    n_security_governance[\"Security Governance\"]\n    n_architecture_evolution_governance[\"Architecture Evolution Governance\"]\n    n_control_plane_coordination[\"Control Plane Coordination\"]\n    n_metaprogramming_safety[\"Metaprogramming Safety\"]\n    n_model_lifecycle_governance[\"Model Lifecycle Governance\"]\n    n_architectural_recommendation[\"Architectural Recommendation\"]\n    n_architecture_fitness_function_generation[\"Architecture Fitness Function Generation\"]\n    n_architecture_refactoring_roadmap[\"Architecture Refactoring Roadmap\"]\n    n_concept_cluster_extraction[\"Concept Cluster Extraction\"]\n    n_architecture_decision_support[\"Architecture Decision Support\"]\n    n_relationship_schema_validation[\"Relationship Schema Validation\"]\n    n_architecture_catalog_compiler[\"Architecture Catalog Compiler\"]\n    n_master_architecture_governance_kernel[\"Master Architecture Governance Kernel\"]\n    n_architectural_relationship_algebra[\"Architectural Relationship Algebra\"]\n    n_architecture_assessment --> n_dependency_closure\n    n_architecture_assessment --> n_violation_detection\n    n_architecture_assessment --> n_measurement_normalization\n    n_architecture_evolution_governance --> n_architecture_assessment\n    n_architectural_recommendation --> n_dependency_closure\n    n_architecture_fitness_function_generation --> n_architectural_relationship_record\n    n_architecture_fitness_function_generation --> n_enforcement_gate\n    n_architecture_fitness_function_generation --> n_severity_policy\n    n_master_architecture_governance_kernel --> n_relationship_schema_validation\n    n_master_architecture_governance_kernel --> n_concept_cluster_extraction\n    n_master_architecture_governance_kernel --> n_dependency_closure\n    n_master_architecture_governance_kernel --> n_violation_detection\n    n_master_architecture_governance_kernel --> n_measurement_normalization\n    n_master_architecture_governance_kernel --> n_refactor_selection\n    n_master_architecture_governance_kernel --> n_enforcement_gate\n    n_master_architecture_governance_kernel --> n_architecture_decision_support\n    n_architectural_relationship_algebra --> n_dependency_closure\n    n_architectural_relationship_algebra --> n_violation_detection\n    n_architectural_relationship_algebra --> n_measurement_normalization\n    n_architectural_relationship_algebra --> n_refactor_selection\n    n_architectural_relationship_algebra --> n_enforcement_gate\n    n_architectural_relationship_algebra --> n_architecture_evolution_governance"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-arch-relationships",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Represent every architectural concept as a typed relationship record containing scope, dependencies, reinforcing effects, enabled capabilities, conflicts, tensions, violations, detection signals, metrics, refactor actions, enforcement mechanisms, and severity.",
                    "term": "Intent"
                  },
                  {
                    "description": "An architecture principle becomes operational when it is converted from a name into a measurable, enforceable relationship contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Concept → Type → Scope → Requires → Violations → Detection → Measurement → Refactor → Enforcement → Severity",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitecturalRelationshipRecord ::= <ConceptName> \":\" <RecordType> \",\" <ScopeSet> \",\" <RequiresSet> \",\" <ReinforcesSet> \",\" <EnablesSet> \",\" <ConflictSet> \",\" <TensionSet> \",\" <ViolationSet> \",\" <DetectionSet> \",\" <MetricSet> \",\" <RefactorSet> \",\" <EnforcementSet> \",\" <EnforcementSeverity>\nRecordType ::= \"Principle\" | \"Quality Attribute\" | \"Contract\" | \"Architecture Style\" | \"Pattern\" | \"Mechanism\" | \"Metric\" | \"Practice\"\nEnforcementSeverity ::= \"mandatory\" | \"recommended\" | \"contextual\" | \"discouraged\"\nMandatoryFor ::= \"contextual\" \"+\" <SystemCondition>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architecture Fitness Function Generation](/records/algorithms/architecture-fitness-function-generation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Low Coupling' as a bare name in a list — not measurable, not enforceable.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "Low Coupling : Quality-Attribute, scope{module}, requires{Abstraction}, conflicts_with{Tight Coupling}, detected_by{cycle scan}, measured_by{coupling metric}, refactored_by{invert dependency}, enforced_by{dependency rule}, severity{mandatory}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architectural-relationship-record",
            "title": "Architectural Relationship Record"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Parse all relationship records into a directed multigraph where concepts are nodes and fields such as requires, reinforces, enables, conflicts, tensions, detects, measures, refactors, and enforces are typed edges.",
                    "term": "Intent"
                  },
                  {
                    "description": "The architecture catalog becomes reusable when its relationships can be traversed as a graph.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Records → Nodes → TypedEdges → Graph → QueryableArchitectureModel",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureGraph ::= <ConceptNodeSet> \",\" <RelationshipEdgeSet>\nConceptNode ::= <ConceptName> \",\" <RecordType> \",\" <ScopeSet> \",\" <EnforcementSeverity>\nRelationshipEdge ::= <SourceConcept> \"→\" <RelationType> \"→\" <TargetConceptOrSignal>\nRelationType ::= \"requires\" | \"reinforces\" | \"enables\" | \"conflicts_with\" | \"tensions_with\" | \"violated_by\" | \"detected_by\" | \"measured_by\" | \"refactored_by\" | \"enforced_by\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A flat list of relationship records — no way to ask 'what does Foo require, transitively?'",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "records → nodes{concepts} + typed-edges{requires, reinforces, enables, conflicts_with} → traversable graph",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-knowledge-graph",
            "title": "Architecture Knowledge Graph"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Given a design issue or desired quality, classify it into a force family, then select all concepts whose scope, type, violation signals, and enabled capabilities match that force.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architectural decisions should be selected by force and evidence, not by pattern name recognition.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Issue → ForceFamily → CandidateConcepts → ApplicableContracts",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ForceClassification ::= <DesignIssue> \"→\" <ForceFamily> \"→\" <ConceptQuery> \"→\" <ApplicableConceptSet>\nForceFamily ::= \"modularity\" | \"contract_compatibility\" | \"semantic_consistency\" | \"domain_boundary\" | \"runtime_extensibility\" | \"object_creation\" | \"structural_mediation\" | \"behavioral_variation\" | \"event_messaging\" | \"state_transaction\" | \"correctness_verification\" | \"resilience_recovery\" | \"observability_traceability\" | \"causality_ordering\" | \"performance_scaling\" | \"security_governance\" | \"architecture_evolution\" | \"control_coordination\" | \"metaprogramming_modeling\" | \"streaming_dataflow\" | \"model_governance\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A design issue answered by pattern-name recall ('use a Factory').",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "issue{concrete constructor everywhere} → force{object_creation} → concept-query → applicable{Construction Boundary}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architectural-force-classification",
            "title": "Architectural Force Classification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For any target architectural concept, recursively collect its required concepts until no new requirements remain, then order the closure by dependency depth before implementation.",
                    "term": "Intent"
                  },
                  {
                    "description": "A principle cannot be adopted safely unless its prerequisites are also satisfied.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TargetConcept → RequiresEdges → TransitiveClosure → DependencyOrder",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DependencyClosure ::= <TargetConcept> \"→\" <RequiresTraversal> \"→\" <RequiredConceptSet> \"→\" <TopologicalOrder>\nRequiresTraversal ::= \"follow requires edges until fixed point\"\nTopologicalOrder ::= \"prerequisites_before_dependents\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architecture Assessment](/records/algorithms/architecture-assessment), [Architectural Recommendation](/records/algorithms/architectural-recommendation), [Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel), [Architectural Relationship Algebra](/records/algorithms/architectural-relationship-algebra)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Adopt Foo without checking what Foo needs — its prerequisites are silently unmet.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "target{Foo} → follow requires-edges to fixed point → {Bar, Baz} → topological order{Baz, Bar, Foo}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dependency-closure",
            "title": "Dependency Closure"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "When a concept is implemented or strengthened, traverse its reinforces and enables edges to identify secondary quality gains and architecture capabilities unlocked.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture improvements produce second-order effects through reinforcing relationships.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ImplementedConcept → Reinforces + Enables → CapabilityImpact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ReinforcementPropagation ::= <SatisfiedConcept> \"→\" <ReinforcesTraversal> \"→\" <EnablesTraversal> \"→\" <ImpactSet>\nImpactSet ::= <QualityGainSet> \",\" <CapabilityGainSet>\nQualityGain ::= <ReinforcedConcept> \",\" <Confidence> \",\" <EvidenceRequired>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Foo implemented; its second-order gains go unnoticed and unclaimed.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "satisfied{Foo} → reinforces → {Bar quality} → enables → {Baz capability} → impact set with confidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-reinforcement-propagation",
            "title": "Reinforcement Propagation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each selected concept, collect conflicts and tensions, classify conflicts as prohibitive or resolvable, classify tensions as trade-offs, and require an explicit decision when severity or impact is high.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture is not only principle application; it is trade-off governance.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CandidateConcept → Conflicts + Tensions → TradeoffAnalysis → Decision",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConflictTensionResolution ::= <CandidateConceptSet> \"→\" <ConflictSet> \"→\" <TensionSet> \"→\" <ResolutionPolicy>\nResolutionPolicy ::= \"reject_combination\" | \"accept_with_mitigation\" | \"document_tradeoff\" | \"require_architecture_decision\" | \"contextual_override\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Two chosen concepts silently conflict at runtime; the developer never decided the trade-off.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "candidates{Foo, Bar} → conflict{prohibitive} → tension{trade-off} → policy{require architecture decision}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-conflict-and-tension-resolution",
            "title": "Conflict and Tension Resolution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Interpret severity as an enforcement policy: mandatory concepts become gates, recommended concepts become review findings, contextual concepts require scope justification, and discouraged concepts require explicit exception approval.",
                    "term": "Intent"
                  },
                  {
                    "description": "Severity converts architecture knowledge into governance behavior.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Severity → EnforcementMode → GateBehavior",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SeverityPolicy ::= <EnforcementSeverity> \"→\" <EnforcementMode>\nEnforcementMode ::= \"blocking_gate\" | \"review_warning\" | \"context_required\" | \"exception_required\" | \"informational\"\nSeverityMapping ::= \"mandatory → blocking_gate\" | \"recommended → review_warning\" | \"contextual → context_required\" | \"discouraged → exception_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Anti-Pattern Rule Compiler](/records/algorithms/anti-pattern-rule-compiler), [Architecture Fitness Function Generation](/records/algorithms/architecture-fitness-function-generation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every finding treated the same — a style nit blocks like a critical flaw.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "severity{mandatory} → blocking-gate ; severity{recommended} → review-warning ; severity{contextual} → context-required",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-severity-policy",
            "title": "Severity Policy"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each concept applicable to the current scope, execute its detected_by signals against the implementation, map observations to violated_by patterns, and produce evidence-backed violation records.",
                    "term": "Intent"
                  },
                  {
                    "description": "A principle violation must be grounded in observable implementation signals.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ApplicableConcept → DetectionSignals → Observations → ViolationRecords",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ViolationDetection ::= <ApplicableConceptSet> \"→\" <DetectionSignalSet> \"→\" <ObservedEvidenceSet> \"→\" <ViolationRecordSet>\nViolationRecord ::= <Concept> \",\" <ViolationPattern> \",\" <EvidenceLocationSet> \",\" <MetricValueSet> \",\" <EnforcementSeverity> \",\" <RecommendedRefactorSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architecture Assessment](/records/algorithms/architecture-assessment), [Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel), [Architectural Relationship Algebra](/records/algorithms/architectural-relationship-algebra)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[observability_traceability](/records/force/observability-traceability), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Foo is violated' asserted from opinion, with no observable signal.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "concept{Foo} → detected_by signals run on code → observations → violation-record{concept, pattern, evidence, severity}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-violation-detection",
            "title": "Violation Detection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert each concept’s measured_by field into executable or reviewable metrics, collect metric values, normalize them to comparable scores, and attach confidence based on measurement quality.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architectural assessment requires metrics with provenance, not free-form judgment.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "MeasuredBy → MetricDefinition → Measurement → NormalizedScore → Confidence",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MeasurementNormalization ::= <MetricDescriptorSet> \"→\" <MetricDefinitionSet> \"→\" <MetricValueSet> \"→\" <NormalizedScoreSet>\nMetricDefinition ::= <MetricName> \",\" <Scope> \",\" <CollectionMethod> \",\" <ThresholdPolicy> \",\" <ConfidencePolicy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architecture Assessment](/records/algorithms/architecture-assessment), [Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel), [Architectural Relationship Algebra](/records/algorithms/architectural-relationship-algebra)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Architecture judged by free-form opinion, no comparable numbers.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "measured_by{coupling} → metric-definition{scope, method, threshold} → values → normalized score + confidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-measurement-normalization",
            "title": "Measurement Normalization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Given a violation record, select refactor actions from the concept’s refactored_by field, rank actions by severity, dependency closure, blast radius, and expected reinforcement gain.",
                    "term": "Intent"
                  },
                  {
                    "description": "Refactoring should be selected from the violated concept’s remediation contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Violation → RefactorCandidates → RiskRank → SelectedPlan",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RefactorSelection ::= <ViolationRecord> \"→\" <RefactorActionSet> \"→\" <RefactorRanking> \"→\" <RefactorPlan>\nRefactorRanking ::= \"severity\" \",\" \"required_dependency_count\" \",\" \"blast_radius\" \",\" \"reinforcement_gain\" \",\" \"rollback_feasibility\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel), [Architectural Relationship Algebra](/records/algorithms/architectural-relationship-algebra)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A fix chosen ad hoc, unrelated to the violated concept's remediation contract.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "violation{Foo} → refactored_by candidates → rank{severity, blast-radius, reinforcement-gain} → refactor plan",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-refactor-selection",
            "title": "Refactor Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Translate each concept’s enforced_by field into static checks, contract tests, schema validation, CI gates, policy rules, runtime monitors, review gates, or architecture fitness functions.",
                    "term": "Intent"
                  },
                  {
                    "description": "Enforcement converts architectural intent into repeatable control.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EnforcementDescriptor → GateType → ValidationProcedure → Pass|Fail",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EnforcementGate ::= <Concept> \"→\" <EnforcementDescriptorSet> \"→\" <GateSet> \"→\" <GateResultSet>\nGateType ::= \"static_analysis\" | \"architecture_test\" | \"schema_validation\" | \"contract_test\" | \"lint_rule\" | \"fitness_function\" | \"runtime_monitor\" | \"policy_as_code\" | \"review_gate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architecture Fitness Function Generation](/records/algorithms/architecture-fitness-function-generation), [Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel), [Architectural Relationship Algebra](/records/algorithms/architectural-relationship-algebra)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'enforced_by: review' — a reviewer's promise that erodes under deadline.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "enforced_by{Foo} → gate-type{static-analysis | contract-test | fitness-function} → pass/fail in CI",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-enforcement-gate",
            "title": "Enforcement Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Select concepts relevant to a target scope, compute dependency closure, detect violations, measure evidence, rank findings by severity, and emit a prioritized architecture assessment.",
                    "term": "Intent"
                  },
                  {
                    "description": "Assessment is graph query plus evidence collection plus severity policy.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Scope → RelevantConcepts → DependencyClosure → Detection → Measurement → Findings",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureAssessment ::= <TargetScope> \"→\" <RelevantConceptSelection> \"→\" <DependencyClosure> \"→\" <ViolationDetection> \"→\" <MeasurementNormalization> \"→\" <FindingPrioritization> \"→\" <AssessmentReport>\nFindingPrioritization ::= \"mandatory_first\" \",\" \"high_blast_radius\" \",\" \"high_reinforcement_gain\" \",\" \"low_refactor_cost\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Dependency Closure](/records/algorithms/dependency-closure), [Violation Detection](/records/algorithms/violation-detection), [Measurement Normalization](/records/algorithms/measurement-normalization)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architecture Evolution Governance](/records/algorithms/architecture-evolution-governance)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'The architecture is fine' — an unscoped, evidence-free claim.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "scope → relevant concepts → dependency-closure → violation-detection → measurement → prioritized findings",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Dependency Closure](/records/algorithms/dependency-closure), [Violation Detection](/records/algorithms/violation-detection), [Measurement Normalization](/records/algorithms/measurement-normalization)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-assessment",
            "title": "Architecture Assessment"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Evaluate SRP, separation of concerns, cohesion, coupling, encapsulation, information hiding, abstraction, modularity, composability, replaceability, and autonomy as a connected boundary cluster.",
                    "term": "Intent"
                  },
                  {
                    "description": "Modular design is not one principle; it is a mutually reinforcing cluster around responsibility, dependency, and visibility.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Module → Responsibility → Cohesion → Coupling → Visibility → BoundaryHealth",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ModularBoundaryCompliance ::= <ModuleSet> \"→\" <ResponsibilityAnalysis> \"→\" <CohesionMetric> \"→\" <CouplingMetric> \"→\" <VisibilityLeakCheck> \"→\" <BoundaryScore>\nBoundaryScore ::= <ResponsibilityScore> \",\" <CohesionScore> \",\" <CouplingScore> \",\" <EncapsulationScore> \",\" <ReplaceabilityScore>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Modularity judged as one vague impression.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "modules → responsibility + cohesion + coupling + visibility-leak → boundary score{per-dimension}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-modular-boundary-compliance",
            "title": "Modular Boundary Compliance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For APIs, services, data, schemas, and protocols, validate explicit contracts, preconditions, postconditions, invariants, versioning, backward compatibility, forward compatibility, and interoperability.",
                    "term": "Intent"
                  },
                  {
                    "description": "Compatibility is the contract cluster that allows independent evolution.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Boundary → Contract → Version → CompatibilityMatrix → Gate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ContractCompatibility ::= <BoundaryContract> \"→\" <SchemaOrInterfaceValidation> \"→\" <SemanticValidation> \"→\" <VersionPolicy> \"→\" <CompatibilityMatrix> \"→\" <CompatibilityVerdict>\nCompatibilityMatrix ::= \"producer_current_consumer_current\" | \"producer_new_consumer_old\" | \"producer_old_consumer_new\" | \"unknown_field_handling\" | \"breaking_diff_check\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Loop-Owned Mode Selection](/records/algorithms/loop-owned-mode-selection), [<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A schema changed and downstreams broke — compatibility was never checked.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "boundary-contract → schema/semantic validation → version-policy → compatibility-matrix{new-producer/old-consumer} → verdict",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-contract-compatibility",
            "title": "Contract Compatibility"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect duplicated or conflicting models, schemas, terms, rules, and data definitions; select or create canonical authority; normalize variants; enforce single source of truth.",
                    "term": "Intent"
                  },
                  {
                    "description": "Semantic consistency requires canonical authority and explicit translation where contexts differ.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Concepts → Conflicts → CanonicalAuthority → Normalization → Enforcement",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CanonicalSemantics ::= <SemanticArtifactSet> \"→\" <ConflictDetection> \"→\" <CanonicalAuthoritySelection> \"→\" <NormalizationPolicy> \"→\" <TranslationBoundary> \"→\" <GovernanceGate>\nSemanticArtifact ::= \"schema\" | \"domain_model\" | \"field\" | \"term\" | \"rule\" | \"configuration\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Composed Turn Contract](/records/algorithms/composed-turn-contract)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Three models of 'Foo' drift apart; no single authority.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "artifacts{Foo-a, Foo-b} → conflict-detection → canonical authority → normalize variants → SSOT gate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-canonical-semantics",
            "title": "Canonical Semantics"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Require components, services, APIs, plugins, and runtime structures to declare metadata, capabilities, contracts, dependencies, configuration, and health so they can be discovered and validated.",
                    "term": "Intent"
                  },
                  {
                    "description": "Dynamic architecture requires self-description before runtime binding.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Component → Manifest → CapabilityDeclaration → Discovery → ContractValidation → Binding",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SelfDescribingDiscovery ::= <RuntimeEntity> \"→\" <Manifest> \"→\" <CapabilityDeclaration> \"→\" <DiscoveryMechanism> \"→\" <ConformanceValidation> \"→\" <BindingDecision>\nManifest ::= \"identity\" \",\" \"version\" \",\" \"capabilities\" \",\" \"dependencies\" \",\" \"contracts\" \",\" \"configuration\" \",\" \"health\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A runtime component's capabilities are unknowable without reading its source.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "entity → manifest{identity, capabilities, contracts} → discovery → conformance-validation → bind only if it matches",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-self-description-and-discovery",
            "title": "Self-Description and Discovery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect repeated core modification for variants, define extension points, create plugin contracts, register implementations, discover them dynamically, and isolate failures.",
                    "term": "Intent"
                  },
                  {
                    "description": "Extensibility is controlled variation behind stable runtime contracts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "VariantPressure → ExtensionPoint → PluginContract → Registry → Discovery → Isolation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RuntimeExtensibility ::= <VariantPressure> \"→\" <ExtensionPointDesign> \"→\" <PluginContract> \"→\" <RegistrationPolicy> \"→\" <RuntimeDiscovery> \"→\" <FailureIsolation>\nRegistrationPolicy ::= \"manual_registration\" | \"manifest_based\" | \"service_registry\" | \"convention_based\" | \"configuration_based\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Runtime Discovery](/records/algorithms/runtime-discovery)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Runtime Extensibility](/records/architecture/runtime-extensibility)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every new variant edits the core switch statement.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "variant-pressure → extension-point → plugin-contract → registry → runtime-discovery → failure-isolation",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Runtime Discovery](/records/algorithms/runtime-discovery)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-runtime-extensibility",
            "title": "Runtime Extensibility"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Select creational, structural, or behavioral patterns based on the problem force: creation variation, interface mismatch, access control, behavior variation, notification, workflow reuse, or coordination complexity.",
                    "term": "Intent"
                  },
                  {
                    "description": "Design patterns are remedies for specific force shapes, not generic decorations.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ProblemForce → PatternFamily → CandidatePattern → ApplicabilityCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PatternSelection ::= <ProblemForce> \"→\" <PatternFamily> \"→\" <CandidatePatternSet> \"→\" <ApplicabilityVerdict>\nPatternFamily ::= \"creational\" | \"structural\" | \"behavioral\"\nCandidatePattern ::= \"factory\" | \"factory_method\" | \"abstract_factory\" | \"builder\" | \"prototype\" | \"adapter\" | \"facade\" | \"proxy\" | \"bridge\" | \"decorator\" | \"strategy\" | \"template_method\" | \"observer\" | \"mediator\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A pattern applied as decoration ('let's add a Facade') with no force to justify it.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "force{interface mismatch} → family{structural} → candidate{Adapter} → applicability verdict",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pattern-selection",
            "title": "Pattern Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For asynchronous systems, validate event contracts, message schemas, idempotent consumers, outbox publication, correlation metadata, ordering guarantees, retry behavior, and dead-letter handling.",
                    "term": "Intent"
                  },
                  {
                    "description": "Event-driven architecture is safe only when messages are contracts and consumers are replay-safe.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StateChange → EventContract → Outbox → Broker → IdempotentConsumer → Trace",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EventMessagingConsistency ::= <StateChange> \"→\" <EventClassification> \"→\" <MessageContract> \"→\" <PublicationReliability> \"→\" <ConsumerIdempotency> \"→\" <OrderingPolicy> \"→\" <ObservabilityTrace>\nEventClassification ::= \"domain_event\" | \"integration_event\" | \"stream_event\"\nPublicationReliability ::= \"transactional_outbox\" | \"append_only_log\" | \"broker_acknowledgement\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Observability Trace](/records/algorithms/observability-trace)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [observability_traceability](/records/force/observability-traceability), [event_messaging](/records/force/event-messaging), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "[Event Messaging](/records/algorithms/event-messaging): Event messaging describes how state changes are published and consumed; this record validates that the published messages are contracts and that consumers are safe to replay.",
                    "term": "Distinct from"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Events published ad hoc; a consumer replays and double-applies.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "state-change → event-contract → transactional-outbox → broker → idempotent-consumer → ordering + trace",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Observability Trace](/records/algorithms/observability-trace)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-event-and-messaging-consistency",
            "title": "Event and Messaging Consistency"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Identify state mutation boundaries, enforce unit-of-work scope, validate invariants, apply concurrency control, guarantee idempotency where retries exist, and isolate side effects.",
                    "term": "Intent"
                  },
                  {
                    "description": "State correctness depends on explicit mutation boundaries and repeat-safe effects.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Command → TransactionBoundary → Invariant → Concurrency → Commit|Rollback → Idempotency",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StateTransactionSafety ::= <Command> \"→\" <TransactionBoundary> \"→\" <InvariantCheck> \"→\" <ConcurrencyControl> \"→\" <CommitDecision> \"→\" <SideEffectPolicy>\nConcurrencyControl ::= \"optimistic_locking\" | \"pessimistic_locking\" | \"serial_execution\" | \"state_isolation\"\nSideEffectPolicy ::= \"idempotent\" | \"outbox_published\" | \"compensatable\" | \"controlled_side_effect\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Transaction Boundary](/records/algorithms/transaction-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Two mutations with no boundary; a crash between them corrupts state.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "command → transaction-boundary → invariant-check → concurrency-control → commit/rollback → idempotent side-effect",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Transaction Boundary](/records/algorithms/transaction-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-state-and-transaction-safety",
            "title": "State and Transaction Safety"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Push nondeterminism to boundaries, prefer pure deterministic core logic, validate specifications with static analysis, type checks, property tests, contract tests, formal methods where useful, and reproducible test environments.",
                    "term": "Intent"
                  },
                  {
                    "description": "Correctness is achieved by deterministic design plus evidence-based verification.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Input → Canonicalize → DeterministicCore → Spec → Verification → Evidence",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CorrectnessVerification ::= <InputSet> \"→\" <Canonicalization> \"→\" <DeterministicCore> \"→\" <SpecificationSet> \"→\" <VerificationMethodSet> \"→\" <CorrectnessEvidence>\nVerificationMethod ::= \"type_check\" | \"static_analysis\" | \"schema_validation\" | \"contract_test\" | \"property_based_test\" | \"specification_test\" | \"formal_verification\" | \"runtime_validation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Deterministic Core](/records/algorithms/deterministic-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Correctness asserted by 'it worked on my machine'.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "input → canonicalize → deterministic-core → spec → {type-check, property-test, contract-test} → evidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Deterministic Core](/records/algorithms/deterministic-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-correctness-verification",
            "title": "Correctness Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Classify failure modes, apply fail-fast, fail-safe, fail-secure, retry, timeout, circuit breaker, fallback, bulkhead, backpressure, health check, failover, and rollback policies according to dependency criticality.",
                    "term": "Intent"
                  },
                  {
                    "description": "Resilience is controlled degradation under known failure modes.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "FailureMode → Criticality → PolicySet → RuntimeGuard → Recovery",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ResiliencePolicy ::= <FailureModeSet> \"→\" <CriticalityClassification> \"→\" <ResiliencePatternSet> \"→\" <RuntimeGuardSet> \"→\" <RecoveryActionSet>\nResiliencePattern ::= \"timeout\" | \"retry\" | \"circuit_breaker\" | \"fallback\" | \"bulkhead\" | \"backpressure\" | \"health_check\" | \"failover\" | \"rollback\" | \"auto_remediation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A remote call with no failure policy takes the whole system down.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "failure-modes → criticality → {timeout, retry, circuit-breaker, bulkhead} → runtime-guard → recovery",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-resilience-policy",
            "title": "Resilience Policy"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Attach correlation and causation identifiers, emit logs, metrics, traces, alerts, audit records, and runtime health signals, then reconstruct behavior as a causal execution graph.",
                    "term": "Intent"
                  },
                  {
                    "description": "Operability requires reconstructable evidence across runtime boundaries.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Operation → Correlation → Telemetry → Audit → TraceGraph → Diagnosis",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ObservabilityAuditability ::= <Operation> \"→\" <CorrelationId> \"→\" <CausationId> \"→\" <TelemetryEventSet> \"→\" <AuditRecordSet> \"→\" <TraceGraph>\nTelemetryEvent ::= \"structured_log\" | \"metric\" | \"trace_span\" | \"alert\" | \"audit_log\" | \"health_signal\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [observability_traceability](/records/force/observability-traceability), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An incident with no correlation ids — behavior can't be reconstructed.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "operation → correlation-id + causation-id → {logs, metrics, traces, audit} → trace-graph → diagnosis",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-observability-and-auditability",
            "title": "Observability and Auditability"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Establish workload model, profile runtime behavior, benchmark repeatably, identify bottlenecks, analyze time and space complexity, select scaling strategy, optimize only measured bottlenecks, and enforce SLO gates.",
                    "term": "Intent"
                  },
                  {
                    "description": "Performance engineering is evidence-driven bottleneck control, not speculative optimization.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workload → Profile → Benchmark → Bottleneck → Complexity → Scale|Optimize → SLO",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PerformanceScalability ::= <WorkloadModel> \"→\" <ProfilingEvidence> \"→\" <BenchmarkResultSet> \"→\" <BottleneckAnalysis> \"→\" <ComplexityAnalysis> \"→\" <ScalingOrOptimizationPlan> \"→\" <PerformanceGate>\nScalingOrOptimizationPlan ::= \"vertical_scale\" | \"horizontal_scale\" | \"load_balance\" | \"shard\" | \"partition\" | \"cache\" | \"stream\" | \"rate_limit\" | \"algorithm_replacement\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[performance_scaling](/records/force/performance-scaling), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Optimize by guesswork; add capacity and hope.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "workload → profile → benchmark → bottleneck → complexity → scale/optimize the measured bottleneck → SLO gate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-performance-and-scalability",
            "title": "Performance and Scalability"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Threat-model the system, reduce attack surface, authenticate identity, authorize actions, validate input, encode output, encrypt data, manage secrets, enforce policy as code, and continuously audit compliance.",
                    "term": "Intent"
                  },
                  {
                    "description": "Security is an enforced policy graph over identity, data, operations, and infrastructure.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ThreatModel → ControlSet → Policy → Enforcement → Audit",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SecurityGovernance ::= <ThreatModel> \"→\" <SecurityControlSet> \"→\" <PolicySet> \"→\" <PolicyEnforcement> \"→\" <ContinuousCompliance> \"→\" <RiskReview>\nSecurityControl ::= \"authentication\" | \"authorization\" | \"least_privilege\" | \"zero_trust\" | \"input_validation\" | \"output_encoding\" | \"encryption_at_rest\" | \"encryption_in_transit\" | \"secrets_management\" | \"audit_logging\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Security added as a late checklist, not a policy graph.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "threat-model → controls{authn, authz, validation, encryption, secrets} → policy-as-code → enforcement → continuous audit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-security-governance",
            "title": "Security Governance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Assess architecture against quality attributes, record decisions, analyze impact, track gaps, enforce standards with fitness functions, standardize patterns, and evolve through ADR-backed controlled change.",
                    "term": "Intent"
                  },
                  {
                    "description": "Evolutionary architecture requires decision memory and continuous fitness validation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Assessment → GapAnalysis → DecisionRecord → FitnessFunction → ChangePlan → Review",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureEvolutionGovernance ::= <Assessment> \"→\" <GapAnalysis> \"→\" <ImpactAnalysis> \"→\" <DecisionRecord> \"→\" <FitnessFunctionSet> \"→\" <EvolutionPlan> \"→\" <ReviewGate>\nDecisionRecord ::= \"ADR\" \",\" \"context\" \",\" \"decision\" \",\" \"consequences\" \",\" \"status\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Architecture Assessment](/records/algorithms/architecture-assessment)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Architectural Relationship Algebra](/records/algorithms/architectural-relationship-algebra), [Version Provenance](/records/algorithms/version-provenance), [Type-Migration Centralization](/records/algorithms/type-migration-centralization)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Architecture drifts; no decision memory, no fitness checks.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "assessment → gap-analysis → ADR → fitness-functions → change-plan → review gate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Architecture Assessment](/records/algorithms/architecture-assessment)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-evolution-governance",
            "title": "Architecture Evolution Governance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Separate control-plane policy from data-plane execution, centralize configuration, authentication, logging, or orchestration only where shared governance is beneficial, and preserve local autonomy where decentralization is required.",
                    "term": "Intent"
                  },
                  {
                    "description": "Control centralization should govern policy without collapsing execution autonomy.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Policy → ControlPlane → DataPlane → Telemetry → PolicyAdjustment",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ControlPlaneCoordination ::= <PolicySet> \"→\" <ControlPlane> \"→\" <DataPlaneSet> \"→\" <TelemetryFeedback> \"→\" <GovernanceAdjustment>\nControlConcern ::= \"configuration\" | \"authentication\" | \"authorization\" | \"logging\" | \"orchestration\" | \"service_registry\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Control Plane](/records/algorithms/control-plane)",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [security_governance](/records/force/security-governance), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "[Control Plane](/records/algorithms/control-plane): The control plane is the mechanism that coordinates policy; this record composes it and decides which concerns are centralized and which stay local.",
                    "term": "Distinct from"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every service does its own config + auth; policy scatters and drifts.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "policy → control-plane{config, authn, orchestration} → data-planes execute → telemetry → governance adjustment",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Control Plane](/records/algorithms/control-plane)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-control-plane-coordination",
            "title": "Control Plane Coordination"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Treat code as data only through schemas, manifests, DSL grammars, reflection contracts, compile-time checks, runtime guards, and generated artifact validation.",
                    "term": "Intent"
                  },
                  {
                    "description": "Metaprogramming is safe when generated behavior is bounded by a validated model.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Model → Schema → Transform → Generate|Interpret → Validate → Execute",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MetaprogrammingSafety ::= <ProgramModel> \"→\" <ModelSchema> \"→\" <TransformationEngine> \"→\" <GeneratedOrInterpretedArtifact> \"→\" <SafetyValidation> \"→\" <ExecutionBoundary>\nTransformationEngine ::= \"reflection\" | \"introspection\" | \"compile_time_evaluation\" | \"runtime_code_generation\" | \"DSL_interpreter\" | \"model_driven_generator\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [metaprogramming_modeling](/records/force/metaprogramming-modeling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Code-as-string eval'd with no schema or bound.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "model → schema → transform{reflection | DSL} → generated artifact → safety-validation → bounded execution",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-metaprogramming-safety",
            "title": "Metaprogramming Safety"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Register and version models, prompts, datasets, embeddings, retrieval sources and knowledge graphs, evaluate behavior against benchmarks, validate safety constraints, trace inference inputs through an inference contract, and monitor drift after deployment.",
                    "term": "Intent"
                  },
                  {
                    "description": "Model-backed architecture requires governance over evidence, model behavior, inference, evaluation, and safety.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ModelArtifact → Registry → Evaluation → Safety → InferenceTrace → Monitoring",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ModelLifecycleGovernance ::= <ModelArtifactSet> \"→\" <GovernanceRegistry> \"→\" <EvaluationSuite> \"→\" <InferenceContract> \"→\" <ExplainabilityTrace> \"→\" <SafetyPolicy> \"→\" <RuntimeMonitoring>\nModelArtifact ::= \"model\" | \"prompt\" | \"embedding_index\" | \"retrieval_source\" | \"knowledge_graph\" | \"dataset\" | \"evaluation\"\nInferenceContract ::= \"input_schema\" \",\" \"retrieval_context\" \",\" \"model_version\" \",\" \"output_schema\" \",\" \"explanation_or_trace\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [security_governance](/records/force/security-governance), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A model shipped with no registry, eval, trace, or safety gate.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "artifacts{model, prompt, index} → governance-registry → evaluation → inference-contract → explainability-trace → safety + monitoring",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-model-lifecycle-governance",
            "title": "Model Lifecycle Governance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Given a target problem, query the graph for matching violated_by and detected_by signals, collect candidate concepts, compute required dependencies, remove conflicting concepts, rank by severity and reinforcement gain, then recommend an ordered implementation path.",
                    "term": "Intent"
                  },
                  {
                    "description": "Recommendations are graph-derived paths from evidence to enforceable architecture change.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ProblemEvidence → CandidateConcepts → DependencyClosure → ConflictPrune → Rank → Roadmap",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitecturalRecommendation ::= <ProblemEvidenceSet> \"→\" <ConceptMatchSet> \"→\" <DependencyClosure> \"→\" <ConflictTensionResolution> \"→\" <SeverityRanking> \"→\" <ImplementationRoadmap>\nSeverityRanking ::= \"mandatory_before_recommended\" \",\" \"contextual_when_scope_matches\" \",\" \"discouraged_requires_exception\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Dependency Closure](/records/algorithms/dependency-closure)",
                    "term": "Composes"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Advice given from intuition, not from the graph or the evidence.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "problem-evidence → concept-match → dependency-closure → conflict-prune → severity rank → ordered roadmap",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Dependency Closure](/records/algorithms/dependency-closure)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architectural-recommendation",
            "title": "Architectural Recommendation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert mandatory and high-impact recommended records into executable fitness functions by binding detected_by signals to checks, measured_by fields to thresholds, and enforced_by fields to pipeline gates.",
                    "term": "Intent"
                  },
                  {
                    "description": "The catalog becomes self-enforcing when records compile into fitness functions.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RelationshipRecord → DetectionCheck → MetricThreshold → EnforcementGate → FitnessFunction",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FitnessFunctionGeneration ::= <ArchitecturalRelationshipRecord> \"→\" <DetectionCheck> \"→\" <MetricThreshold> \"→\" <EnforcementGate> \"→\" <FitnessFunction>\nFitnessFunction ::= <Name> \",\" <Scope> \",\" <CheckProcedure> \",\" <Threshold> \",\" <SeverityPolicy> \",\" <FailureMessage> \",\" <RefactorHintSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Architectural Relationship Record](/records/algorithms/architectural-relationship-record), [Enforcement Gate](/records/algorithms/enforcement-gate), [Severity Policy](/records/algorithms/severity-policy)",
                    "term": "Composes"
                  },
                  {
                    "description": "[streaming_dataflow](/records/force/streaming-dataflow), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Mandatory records sit as prose no check executes.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "record → detection-check + metric-threshold + enforcement-gate → executable fitness function",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Architectural Relationship Record](/records/algorithms/architectural-relationship-record), [Enforcement Gate](/records/algorithms/enforcement-gate), [Severity Policy](/records/algorithms/severity-policy)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-fitness-function-generation",
            "title": "Architecture Fitness Function Generation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Group violations by shared refactor actions, order remediation by prerequisite concepts, apply low-risk structural fixes first, then enforce newly satisfied concepts through gates.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture repair is more efficient when refactors are grouped by shared conceptual cause.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Violations → SharedCause → RefactorGroup → DependencyOrder → Apply → Enforce",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RefactoringRoadmap ::= <ViolationRecordSet> \"→\" <SharedCauseClustering> \"→\" <RefactorGroupSet> \"→\" <DependencyOrderedPlan> \"→\" <ExecutionGateSet>\nSharedCause ::= \"missing_boundary\" | \"missing_contract\" | \"semantic_drift\" | \"concrete_coupling\" | \"uncontrolled_state\" | \"missing_observability\" | \"manual_governance_only\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Violations fixed one-by-one in random order; shared causes re-fixed repeatedly.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "violations → cluster by shared-cause{missing-boundary} → refactor-groups → dependency-ordered plan → enforce",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-refactoring-roadmap",
            "title": "Architecture Refactoring Roadmap"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Group concepts into clusters by mutual requires, reinforces, enables, and shared scope; treat clusters as higher-order architectural concerns.",
                    "term": "Intent"
                  },
                  {
                    "description": "Large principle catalogs become usable when concepts are clustered by relationship density.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Graph → EdgeDensity → Cluster → ConcernFamily",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConceptClusterExtraction ::= <ArchitectureGraph> \"→\" <RelationshipDensityAnalysis> \"→\" <ClusterSet> \"→\" <ConcernFamilySet>\nConcernFamily ::= <ClusterName> \",\" <CoreConceptSet> \",\" <SupportingConceptSet> \",\" <ConflictConceptSet> \",\" <EnforcementPolicySet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A flat catalog of hundreds of concepts, unusable at scale.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "graph → relationship-density analysis → clusters → concern-families{core + supporting + conflict concepts}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-concept-cluster-extraction",
            "title": "Concept Cluster Extraction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each proposed design decision, compute satisfied concepts, violated concepts, tensions introduced, conflicts triggered, enabled capabilities, and enforcement cost; require ADR when trade-offs are nontrivial.",
                    "term": "Intent"
                  },
                  {
                    "description": "A design decision should be evaluated as a graph delta.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Decision → GraphDelta → BenefitSet + RiskSet → ADRRequired?",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureDecisionSupport ::= <ProposedDecision> \"→\" <SatisfiedConceptSet> \"→\" <ViolatedConceptSet> \"→\" <TensionSet> \"→\" <EnabledCapabilitySet> \"→\" <EnforcementCost> \"→\" <DecisionGovernance>\nDecisionGovernance ::= \"approve\" | \"approve_with_ADR\" | \"revise\" | \"reject\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A design decision judged by gut feel, not by its effect on the graph.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "decision → graph-delta{satisfied, violated, tensions, enabled} → enforcement-cost → approve / approve-with-ADR / revise / reject",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-decision-support",
            "title": "Architecture Decision Support"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Validate every concept record for required fields, known relation names, parseable scope, valid severity, nonempty detection and enforcement metadata, and resolvable references where possible.",
                    "term": "Intent"
                  },
                  {
                    "description": "The architectural catalog itself must be governed as a schema-bearing artifact.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Record → SchemaCheck → ReferenceCheck → CompletenessCheck → Valid|Invalid",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RelationshipSchemaValidation ::= <ArchitecturalRelationshipRecordSet> \"→\" <RequiredFieldValidation> \"→\" <ReferenceResolution> \"→\" <SeverityValidation> \"→\" <CompletenessScore> \"→\" <CatalogValidity>\nRequiredFieldSet ::= \"type\" \",\" \"scope\" \",\" \"requires\" \",\" \"reinforces\" \",\" \"enables\" \",\" \"conflicts_with\" \",\" \"tensions_with\" \",\" \"violated_by\" \",\" \"detected_by\" \",\" \"measured_by\" \",\" \"refactored_by\" \",\" \"enforced_by\" \",\" \"severity\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Master Architecture Governance Kernel](/records/algorithms/master-architecture-governance-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Catalog records with missing fields and dangling references ship unchecked.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "records → required-field validation → reference-resolution → severity validation → completeness score → catalog validity",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-relationship-schema-validation",
            "title": "Relationship Schema Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compile the relationship catalog into four executable artifacts: assessment rules, refactor playbooks, decision-support graphs, and governance gates.",
                    "term": "Intent"
                  },
                  {
                    "description": "A comprehensive architecture catalog should compile into operational tooling.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Catalog → Rules + Playbooks + DecisionGraph + Gates",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureCatalogCompiler ::= <ArchitectureGraph> \"→\" <AssessmentRuleSet> \"→\" <RefactorPlaybookSet> \"→\" <DecisionSupportModel> \"→\" <GovernanceGateSet>\nAssessmentRule ::= <Concept> \",\" <DetectedBy> \",\" <MeasuredBy> \",\" <EnforcementSeverity>\nRefactorPlaybook ::= <ViolationPattern> \",\" <RefactoredBy> \",\" <EnforcedBy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The catalog read only by the developer — no operational output.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "graph → {assessment-rules, refactor-playbooks, decision-support-model, governance-gates}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-catalog-compiler",
            "title": "Architecture Catalog Compiler"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Parse the catalog, validate records, build the graph, classify target scope, select relevant concept clusters, compute dependency closure, detect violations, measure evidence, resolve conflicts, generate refactor plans, enforce gates, and record decisions.",
                    "term": "Intent"
                  },
                  {
                    "description": "The catalog can be executed as a governance kernel for architecture assessment, remediation, and evolution.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Catalog → Graph → Scope → Concepts → Detection → Metrics → Refactor → Enforcement → ADR",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MasterArchitectureGovernanceKernel ::= <RelationshipSchemaValidation> \"→\" <ArchitectureGraph> \"→\" <TargetScopeClassification> \"→\" <ConceptClusterExtraction> \"→\" <DependencyClosure> \"→\" <ViolationDetection> \"→\" <MeasurementNormalization> \"→\" <ConflictTensionResolution> \"→\" <RefactorSelection> \"→\" <EnforcementGate> \"→\" <ArchitectureDecisionSupport> \"→\" <GovernanceReport>\nGovernanceReport ::= <SatisfiedConceptSet> \",\" <ViolationRecordSet> \",\" <MetricEvidenceSet> \",\" <ConflictTensionSet> \",\" <RefactorRoadmap> \",\" <EnforcementGateSet> \",\" <ADRRecommendationSet> \",\" <ResidualRiskSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Relationship Schema Validation](/records/algorithms/relationship-schema-validation), [Concept Cluster Extraction](/records/algorithms/concept-cluster-extraction), [Dependency Closure](/records/algorithms/dependency-closure), [Violation Detection](/records/algorithms/violation-detection), [Measurement Normalization](/records/algorithms/measurement-normalization), [Refactor Selection](/records/algorithms/refactor-selection), [Enforcement Gate](/records/algorithms/enforcement-gate), [Architecture Decision Support](/records/algorithms/architecture-decision-support)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Assessment, remediation, and evolution done by disconnected manual steps.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "validate → graph → scope → clusters → closure → detect → measure → resolve → refactor → enforce → ADR → governance report",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Relationship Schema Validation](/records/algorithms/relationship-schema-validation), [Concept Cluster Extraction](/records/algorithms/concept-cluster-extraction), [Dependency Closure](/records/algorithms/dependency-closure), [Violation Detection](/records/algorithms/violation-detection), [Measurement Normalization](/records/algorithms/measurement-normalization), [Refactor Selection](/records/algorithms/refactor-selection), [Enforcement Gate](/records/algorithms/enforcement-gate), [Architecture Decision Support](/records/algorithms/architecture-decision-support)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-master-architecture-governance-kernel",
            "title": "Master Architecture Governance Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [arch-relationships](/records/algorithms-domain/arch-relationships)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Parse concept records> → <Build relationship graph> → <Classify design force> → <Select applicable concepts> → <Resolve prerequisites> → <Detect violations> → <Measure evidence> → <Choose refactors> → <Enforce gates> → <Govern evolution>",
                    "term": "Intent"
                  },
                  {
                    "description": "Every architectural principle, pattern, mechanism, metric, and quality attribute can be treated as a relationship contract whose operational lifecycle is detection, measurement, remediation, enforcement, and evolution.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Record → Graph → Force → Concept → Evidence → Refactor → Gate → Governance",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitecturalRelationshipAlgebra ::= <ArchitecturalRelationshipRecordSet> \"→\" <ArchitectureGraph> \"→\" <ForceClassification> \"→\" <ApplicableConceptSet> \"→\" <DependencyClosure> \"→\" <ViolationDetection> \"→\" <MeasurementNormalization> \"→\" <RefactorSelection> \"→\" <EnforcementGate> \"→\" <ArchitectureEvolutionGovernance>\nArchitecturalRelationshipRecord ::= <ConceptName> \":\" <RecordType> \",\" <ScopeSet> \",\" <RequiresSet> \",\" <ReinforcesSet> \",\" <EnablesSet> \",\" <ConflictSet> \",\" <TensionSet> \",\" <ViolationSet> \",\" <DetectionSet> \",\" <MetricSet> \",\" <RefactorSet> \",\" <EnforcementSet> \",\" <EnforcementSeverity>\nOperationalLifecycle ::= \"define\" | \"select\" | \"detect\" | \"measure\" | \"refactor\" | \"enforce\" | \"observe\" | \"evolve\"\nCompletionCondition ::= \"all_mandatory_concepts_satisfied\" \",\" \"contextual_concepts_justified\" \",\" \"recommended_concepts_reported\" \",\" \"discouraged_concepts_exception_reviewed\" \",\" \"residual_risk_recorded\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Dependency Closure](/records/algorithms/dependency-closure), [Violation Detection](/records/algorithms/violation-detection), [Measurement Normalization](/records/algorithms/measurement-normalization), [Refactor Selection](/records/algorithms/refactor-selection), [Enforcement Gate](/records/algorithms/enforcement-gate), [Architecture Evolution Governance](/records/algorithms/architecture-evolution-governance)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Architectural Consistency](/records/architecture/architectural-consistency)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "[Architectural Contract Algebra](/records/algorithms/architectural-contract-algebra): The contract algebra designs a system by reducing each force to a contract; the relationship algebra processes the concept records themselves as a graph to detect, measure, refactor and enforce.",
                    "term": "Distinct from"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the ontology resolution gate, which validates every relationship record's fields, relations and references",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture record in the catalog",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a record or the relation ranges change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a dangling edge, an out-of-range relation, an unknown severity or an empty required field",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the catalog is data; the checks its records name observe the systems",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants an unchecked principle, a blank required field, a severity outside the closed levels and a definition that opens as another kind, and the bundled records pass",
                    "term": "Evidence"
                  },
                  {
                    "description": "The relation ranges and the closed field vocabularies, which every record conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Dependency Closure](/records/algorithms/dependency-closure), [Violation Detection](/records/algorithms/violation-detection), [Measurement Normalization](/records/algorithms/measurement-normalization), [Refactor Selection](/records/algorithms/refactor-selection), [Enforcement Gate](/records/algorithms/enforcement-gate), [Architecture Evolution Governance](/records/algorithms/architecture-evolution-governance)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architectural-relationship-algebra",
            "title": "Architectural Relationship Algebra"
          }
        ],
        "title": "Architecture relationships"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_structural_core[\"Structural Core\"]\n    n_correctness_core[\"Correctness Core\"]\n    n_evolution_principles[\"Evolution Principles\"]\n    n_resource_core[\"Resource Core\"]\n    n_execution_core[\"Execution Core\"]\n    n_computation_core[\"Computation Core\"]\n    n_security_core[\"Security Core\"]\n    n_performance_core[\"Performance Core\"]\n    n_contracts_core[\"Contracts Core\"]\n    n_causality_core[\"Causality Core\"]\n    n_declarative_core[\"Declarative Core\"]\n    n_extensibility_core[\"Extensibility Core\"]\n    n_observability[\"Observability\"]\n    n_enforcement_core[\"Enforcement Core\"]\n    n_atomic_boundary[\"Atomic Boundary\"]\n    n_human_factors[\"Human Factors\"]\n    n_domain_modeling[\"Domain Modeling\"]\n    n_design_patterns_core[\"Design Patterns Core\"]\n    n_state_pattern[\"State Pattern\"]\n    n_separation_of_concerns[\"Separation of Concerns\"]\n    n_concurrency_correctness[\"Concurrency Correctness\"]\n    n_capacity_planning[\"Capacity Planning\"]"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-architectural-clusters",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Structural Core](/records/layer/structural-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The architectural rules that preserve structural integrity — a single authoritative source, no shortcuts, no fallbacks, no duplication, no orphaned artifacts.",
                    "term": "Intent"
                  },
                  {
                    "description": "Structure stays sound only when every element has one authoritative home and no debt-incurring escape hatch exists.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SingleSource → NoShortcut → NoFallback → NoOrphan",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Finite State Machine](/records/algorithms/finite-state-machine), [Constraints Over Shortcuts](/records/algorithms/no-shortcuts), [Forward Compatibility Over Backward Compatibility](/records/algorithms/no-backward-compat), [Fail-Fast Over Fallback](/records/algorithms/no-fallback), [Explicit Removal Over Deprecation](/records/algorithms/no-deprecation), [Greenfield Over Legacy](/records/algorithms/no-legacy), [Single-Path Determinism Over Dual-Path](/records/algorithms/no-dual-path), [Compression Over Repetition](/records/algorithms/no-uncompressed), [Semantic Addressing Over Location Addressing](/records/algorithms/no-location), [Homoiconicity Over Separation](/records/algorithms/no-separation), [Bounded Complexity Over Unlimited](/records/algorithms/no-unlimited), [Rule As Code Over Convention](/records/algorithms/no-convention-enforcement), [Injected Dependency Over Hidden](/records/algorithms/no-hidden-dependency), [Convention Discovery Over Hardcoded Wiring](/records/algorithms/no-hardcoded-wiring)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Single Source of Truth](/records/architecture/single-source-of-truth)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-structural-core",
            "title": "Structural Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Correctness Core](/records/layer/correctness-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules ensuring behavioral correctness and validity — no silent failures, no hidden invalidity, feedback acted on, results observed.",
                    "term": "Intent"
                  },
                  {
                    "description": "Correctness holds only when every failure is surfaced and every invalid state is unrepresentable.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SurfaceFailure → RejectInvalid → ActOnFeedback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Petri Nets](/records/algorithms/petri-nets), [Enforced Feedback Over Ignored](/records/algorithms/no-ignored-feedback), [Errors As Language Over Silent Errors](/records/algorithms/no-silent), [Explicit Invalidity Over Hidden](/records/algorithms/no-hidden-invalidity), [Computed Health Over Metric Health](/records/algorithms/no-metrics), [Boundary Validation Over Unvalidated Input](/records/algorithms/no-unvalidated-input), [Design By Contract Over Implicit Contract](/records/algorithms/no-implicit-contract), [Schema-Validated Boundary Over Untyped](/records/algorithms/no-untyped-boundary), [Injected Nondeterminism Over Hidden](/records/algorithms/no-hidden-nondeterminism)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Fail Fast](/records/architecture/fail-fast)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-correctness-core",
            "title": "Correctness Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Evolution Principles](/records/layer/evolution-principles)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing how a system changes over time — no backward-compat cruft, no deprecation debt, no legacy retention, no 'for now'.",
                    "term": "Intent"
                  },
                  {
                    "description": "The system evolves cleanly only by deleting the superseded rather than accreting compatibility layers.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Supersede → Delete → NoLegacy",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Forward Compatibility Over Backward Compatibility](/records/algorithms/no-backward-compat), [Explicit Removal Over Deprecation](/records/algorithms/no-deprecation), [Greenfield Over Legacy](/records/algorithms/no-legacy), [Now Over For-Now](/records/algorithms/no-for-now), [Compression Over Repetition](/records/algorithms/no-uncompressed), [Approved Evolution Over Unapproved](/records/algorithms/no-unapproved), [Versioned Evolution Over Breaking Change](/records/algorithms/no-breaking-change), [Pattern By Fit Over Speculative Pattern](/records/algorithms/no-speculative-pattern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Evolutionary Architecture](/records/architecture/evolutionary-architecture)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-evolution-principles",
            "title": "Evolution Principles"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Resource Core](/records/layer/resource-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing resource lifecycle and ownership — bounded lifetime, single ownership, no leaks, no implicit retention.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every resource has one owner and a bounded lifetime; nothing is retained implicitly.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Acquire → Own → Bound → Release",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Fail-Fast Over Fallback](/records/algorithms/no-fallback), [Mandatory Over Optional](/records/algorithms/no-optional), [Now Over For-Now](/records/algorithms/no-for-now), [Single Owner Over Shared Ownership](/records/algorithms/no-shared-ownership), [Bounded Lifetime Over Unbounded](/records/algorithms/no-unbounded), [Enforced Symmetry Over Asymmetric Lifecycle](/records/algorithms/no-asymmetric), [Explicit Retention Over Implicit](/records/algorithms/no-implicit-retention), [Structural Release Over Discipline](/records/algorithms/no-discipline-release), [Config Externalization Over Env Fallback](/records/algorithms/no-env-fallback), [Atomic Boundary Over Partial Commit](/records/algorithms/no-partial-commit)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[State Isolation](/records/architecture/state-isolation)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-resource-core",
            "title": "Resource Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Execution Core](/records/layer/execution-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing execution flow — a single observable path, no deferring, no dual-path branching, nothing unobserved.",
                    "term": "Intent"
                  },
                  {
                    "description": "Execution follows one observable path; nothing runs unobserved or deferred indefinitely.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SinglePath → Observe → NoDefer",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Single-Path Determinism Over Dual-Path](/records/algorithms/no-dual-path), [Immediacy Over Deferring](/records/algorithms/no-deferring), [Observed Execution Over Unobserved](/records/algorithms/no-unobserved), [Single Owner Over Shared Ownership](/records/algorithms/no-shared-ownership), [Event Emission Over Parent Callbacks](/records/algorithms/no-callbacks), [Monotonic Growth Over Retraction](/records/algorithms/no-retraction), [Ordinal Time Over Timestamps](/records/algorithms/no-timestamps), [Saga Compensation Over Distributed 2PC](/records/algorithms/no-distributed-2pc), [Async Events Over Synchronous Cross-Boundary](/records/algorithms/no-sync-cross-boundary), [Observable Signals Over Opaque Runtime](/records/algorithms/no-opaque-runtime)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Controlled Side Effects](/records/architecture/controlled-side-effects)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-execution-core",
            "title": "Execution Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Computation Core](/records/layer/computation-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing computation determinism and purity — no mutable shared state, no hidden nondeterminism, reproducible results.",
                    "term": "Intent"
                  },
                  {
                    "description": "A computation is reproducible only when it has no hidden mutable or nondeterministic input.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Immutable → Deterministic → Reproducible",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Immutable Data Over Mutable State](/records/algorithms/no-mutable), [Errors As Language Over Silent Errors](/records/algorithms/no-silent), [Explicit Invalidity Over Hidden](/records/algorithms/no-hidden-invalidity), [Injected Nondeterminism Over Hidden](/records/algorithms/no-hidden-nondeterminism)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Determinism](/records/architecture/determinism)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-computation-core",
            "title": "Computation Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Security Core](/records/layer/security-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing security posture — no hardcoded secrets, validated input, least privilege, no insecure fallbacks.",
                    "term": "Intent"
                  },
                  {
                    "description": "The system is secure only when every input is validated and every privilege is least and explicit.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ValidateInput → LeastPrivilege → NoSecretLeak",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Secret Store Over Hardcoded Secrets](/records/algorithms/no-hardcoded-secrets), [Boundary Validation Over Unvalidated Input](/records/algorithms/no-unvalidated-input), [Least Privilege Over Broad Privilege](/records/algorithms/no-broad-privilege), [Config Externalization Over Env Fallback](/records/algorithms/no-env-fallback)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Security by Design](/records/architecture/security-by-design)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-security-core",
            "title": "Security Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Performance Core](/records/layer/performance-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing performance discipline — measured optimization, planned capacity, no guesswork.",
                    "term": "Intent"
                  },
                  {
                    "description": "Performance is improved only by measuring first; no optimization is applied unmeasured.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Measure → Optimize → Verify",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Queuing Theory](/records/algorithms/queuing-theory), [Profile-First Over Unmeasured Optimization](/records/algorithms/no-unmeasured-optimization)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Performance Engineering](/records/architecture/performance-engineering)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-performance-core",
            "title": "Performance Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Contracts Core](/records/layer/contracts-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing interfaces and contracts — explicit typed boundaries, versioned change, no implicit or breaking contracts.",
                    "term": "Intent"
                  },
                  {
                    "description": "A boundary is safe only when its contract is explicit, typed, and versioned.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ExplicitContract → TypedBoundary → VersionChange",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Design By Contract Over Implicit Contract](/records/algorithms/no-implicit-contract), [Versioned Evolution Over Breaking Change](/records/algorithms/no-breaking-change), [Schema-Validated Boundary Over Untyped](/records/algorithms/no-untyped-boundary)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Explicit Contracts](/records/architecture/explicit-contracts)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-contracts-core",
            "title": "Contracts Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Causality Core](/records/layer/causality-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing causal ordering and time — logical ordering, retractable state, no wall-clock dependence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Order is well-defined only through logical causality, never wall-clock assumptions.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "LogicalOrder → Retract → NoWallClock",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Monotonic Growth Over Retraction](/records/algorithms/no-retraction), [Ordinal Time Over Timestamps](/records/algorithms/no-timestamps)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Causality](/records/architecture/causality)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-causality-core",
            "title": "Causality Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Declarative Core](/records/layer/declarative-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules favoring declarative over imperative — declared configuration, separated concerns, no imperative wiring.",
                    "term": "Intent"
                  },
                  {
                    "description": "Behavior is declared as data, not encoded imperatively.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Declare → Separate → NoImperativeConfig",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Homoiconicity Over Separation](/records/algorithms/no-separation), [Declarative Config Over Imperative](/records/algorithms/no-imperative-config)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Declarative Configuration](/records/architecture/declarative-configuration)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-declarative-core",
            "title": "Declarative Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Extensibility Core](/records/layer/extensibility-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing extension — declarative discovered wiring over hardcoded, no imperative hardcoded registration.",
                    "term": "Intent"
                  },
                  {
                    "description": "The system extends without modification only when wiring is declarative and discovered, not hardcoded.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DeclareWiring → Discover → Extend",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Convention Discovery Over Hardcoded Wiring](/records/algorithms/no-hardcoded-wiring), [Declarative Config Over Imperative](/records/algorithms/no-imperative-config)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Open/Closed Principle (OCP)](/records/architecture/open-closed)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-extensibility-core",
            "title": "Extensibility Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Observability](/records/layer/observability)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules ensuring a system is observable — emitted metrics and signals, no unobserved execution, no opaque runtime.",
                    "term": "Intent"
                  },
                  {
                    "description": "A system is operable only when its behavior is observable through emitted signals.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Emit → Trace → NoOpaque",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Observed Execution Over Unobserved](/records/algorithms/no-unobserved), [Computed Health Over Metric Health](/records/algorithms/no-metrics), [Observable Signals Over Opaque Runtime](/records/algorithms/no-opaque-runtime)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Observability](/records/architecture/observability)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-observability",
            "title": "Observability"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Enforcement Core](/records/layer/enforcement-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules ensuring discipline is enforced programmatically — automated gates over convention, no discipline-only reliance.",
                    "term": "Intent"
                  },
                  {
                    "description": "A rule holds only when a gate enforces it; a rule kept by convention alone drifts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Gate → Automate → NoConventionOnly",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Structural Release Over Discipline](/records/algorithms/no-discipline-release), [Rule As Code Over Convention](/records/algorithms/no-convention-enforcement)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Fitness Functions](/records/architecture/fitness-functions)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-enforcement-core",
            "title": "Enforcement Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Atomic Boundary](/records/layer/atomic-boundary)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing atomicity — a transactional boundary that fully commits or fully rolls back, no partial commit, no deferring within.",
                    "term": "Intent"
                  },
                  {
                    "description": "A boundary either fully commits or fully rolls back; no partial state escapes.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Begin → AllOrNothing → Commit",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Immediacy Over Deferring](/records/algorithms/no-deferring), [Atomic Boundary Over Partial Commit](/records/algorithms/no-partial-commit)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Atomicity](/records/architecture/atomicity)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "atomic-boundary",
                    "term": "Refused by rules"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-atomic-boundary",
            "title": "Atomic Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Human Factors](/records/layer/human-factors)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing human ergonomics — bounded cognitive complexity, acted-on feedback, explicit approval, no unlimited options.",
                    "term": "Intent"
                  },
                  {
                    "description": "A system is usable only when its cognitive load is bounded and its decisions are approved and reversible.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BoundComplexity → Approve → ActOnFeedback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Mandatory Over Optional](/records/algorithms/no-optional), [Approved Evolution Over Unapproved](/records/algorithms/no-unapproved), [Enforced Feedback Over Ignored](/records/algorithms/no-ignored-feedback), [Bounded Complexity Over Unlimited](/records/algorithms/no-unlimited)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Principle of Least Surprise](/records/architecture/principle-of-least-surprise)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-human-factors",
            "title": "Human Factors"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Domain Modeling](/records/layer/domain-modeling)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing domain boundaries — bounded contexts, ubiquitous language, no leaky context.",
                    "term": "Intent"
                  },
                  {
                    "description": "A domain model stays coherent only when its context boundaries do not leak.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BoundContext → NoLeak → UbiquitousLanguage",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Anti-Corruption Layer Over Cross-Context Leak](/records/algorithms/no-leaky-context)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[Bounded Context](/records/architecture/bounded-context)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-domain-modeling",
            "title": "Domain Modeling"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)",
                  "Layer: [Design Patterns Core](/records/layer/design-patterns-core)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules governing design-pattern use — patterns applied only to demonstrated recurrence, no speculative pattern application.",
                    "term": "Intent"
                  },
                  {
                    "description": "A pattern is warranted only by demonstrated recurrence, never speculation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ObserveRecurrence → ApplyPattern → NoSpeculation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern By Fit Over Speculative Pattern](/records/algorithms/no-speculative-pattern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[First-Principles Design](/records/architecture/first-principles-design)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-design-patterns-core",
            "title": "Design Patterns Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The State design pattern — encapsulate state-dependent behavior in distinct state objects so transitions replace conditional branching.",
                    "term": "Intent"
                  },
                  {
                    "description": "State-dependent behavior is expressed by delegating to a current-state object, not by scattered conditionals.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DefineStates → DelegateBehavior → Transition",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Finite State Machine](/records/algorithms/finite-state-machine)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "[State Pattern](/records/architecture/state-pattern)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "State-dependent behavior scattered as if/else conditionals on a status flag.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "define state objects → delegate behavior to the current-state object → transition replaces the conditional branching",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-state-pattern",
            "title": "State Pattern"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The principle of separating a system into distinct concerns so each is addressed and changed independently.",
                    "term": "Intent"
                  },
                  {
                    "description": "Each concern is localized to one place and changes independently of the others.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "IdentifyConcerns → Separate → IsolateChange",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Statecharts](/records/algorithms/statecharts)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "separation-of-concerns",
                    "term": "Refused by rules"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "One module mixes parsing, persistence, and rendering — a change in one ripples through all.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "identify concerns → separate each into one place → each concern changes independently",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-separation-of-concerns",
            "title": "Separation of Concerns"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The rules ensuring correct concurrent behavior — no data races, well-defined interleavings, verified with models such as Petri nets.",
                    "term": "Intent"
                  },
                  {
                    "description": "Concurrent correctness holds only when every interleaving preserves the invariants.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ModelInterleavings → PreventRaces → Verify",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Petri Nets](/records/algorithms/petri-nets)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Concurrent access with a data race; some interleaving violates the invariant.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "model interleavings → prevent races → verify every interleaving preserves the invariants",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-concurrency-correctness",
            "title": "Concurrency Correctness"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Clusters](/records/algorithms-domain/architectural-clusters)",
                  "Tier: [exempt](/records/vocabulary/domain-tier-exempt)"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The activity of forecasting resource demand and provisioning capacity to meet it, informed by queuing theory.",
                    "term": "Intent"
                  },
                  {
                    "description": "Capacity meets demand only when provisioning is derived from measured or modeled load, not guessed.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ModelLoad → Forecast → Provision",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Queuing Theory](/records/algorithms/queuing-theory)",
                    "term": "Composed by"
                  },
                  {
                    "description": "none",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Capacity guessed, then saturates under production load.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "model load → forecast demand → provision from measured/modeled load, not a guess",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the layer and tension join, which places every principle in a cluster and resolves every tension between clusters",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every architecture and lexicon record the membership map places in the cluster",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the membership map, the topology or a member record changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The gate fails on a tension with no resolution, or an override that matches no live edge",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a cluster is a grouping of principles",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a tension between two principles no layer places, and the bundled tensions resolve with no dead override",
                    "term": "Evidence"
                  },
                  {
                    "description": "The membership map and the topology, which a tension's resolution is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-capacity-planning",
            "title": "Capacity Planning"
          }
        ],
        "title": "Architectural Clusters"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_no_shortcuts[\"Constraints Over Shortcuts\"]\n    n_no_backward_compat[\"Forward Compatibility Over Backward Compatibility\"]\n    n_no_fallback[\"Fail-Fast Over Fallback\"]\n    n_no_deprecation[\"Explicit Removal Over Deprecation\"]\n    n_no_legacy[\"Greenfield Over Legacy\"]\n    n_no_dual_path[\"Single-Path Determinism Over Dual-Path\"]\n    n_no_deferring[\"Immediacy Over Deferring\"]\n    n_no_optional[\"Mandatory Over Optional\"]\n    n_no_for_now[\"Now Over For-Now\"]\n    n_no_unobserved[\"Observed Execution Over Unobserved\"]\n    n_no_uncompressed[\"Compression Over Repetition\"]\n    n_no_unapproved[\"Approved Evolution Over Unapproved\"]\n    n_no_ignored_feedback[\"Enforced Feedback Over Ignored\"]\n    n_no_shared_ownership[\"Single Owner Over Shared Ownership\"]\n    n_no_unbounded[\"Bounded Lifetime Over Unbounded\"]\n    n_no_asymmetric[\"Enforced Symmetry Over Asymmetric Lifecycle\"]\n    n_no_implicit_retention[\"Explicit Retention Over Implicit\"]\n    n_no_discipline_release[\"Structural Release Over Discipline\"]\n    n_no_mutable[\"Immutable Data Over Mutable State\"]\n    n_no_silent[\"Errors As Language Over Silent Errors\"]\n    n_no_hidden_invalidity[\"Explicit Invalidity Over Hidden\"]\n    n_no_callbacks[\"Event Emission Over Parent Callbacks\"]\n    n_no_retraction[\"Monotonic Growth Over Retraction\"]\n    n_no_location[\"Semantic Addressing Over Location Addressing\"]\n    n_no_timestamps[\"Ordinal Time Over Timestamps\"]\n    n_no_separation[\"Homoiconicity Over Separation\"]\n    n_no_unlimited[\"Bounded Complexity Over Unlimited\"]\n    n_no_metrics[\"Computed Health Over Metric Health\"]\n    n_no_hardcoded_secrets[\"Secret Store Over Hardcoded Secrets\"]\n    n_no_unvalidated_input[\"Boundary Validation Over Unvalidated Input\"]\n    n_no_broad_privilege[\"Least Privilege Over Broad Privilege\"]\n    n_no_env_fallback[\"Config Externalization Over Env Fallback\"]\n    n_no_unmeasured_optimization[\"Profile-First Over Unmeasured Optimization\"]\n    n_no_convention_enforcement[\"Rule As Code Over Convention\"]\n    n_no_implicit_contract[\"Design By Contract Over Implicit Contract\"]\n    n_no_breaking_change[\"Versioned Evolution Over Breaking Change\"]\n    n_no_untyped_boundary[\"Schema-Validated Boundary Over Untyped\"]\n    n_no_partial_commit[\"Atomic Boundary Over Partial Commit\"]\n    n_no_distributed_2pc[\"Saga Compensation Over Distributed 2PC\"]\n    n_no_sync_cross_boundary[\"Async Events Over Synchronous Cross-Boundary\"]\n    n_no_opaque_runtime[\"Observable Signals Over Opaque Runtime\"]\n    n_no_hidden_dependency[\"Injected Dependency Over Hidden\"]\n    n_no_hardcoded_wiring[\"Convention Discovery Over Hardcoded Wiring\"]\n    n_no_imperative_config[\"Declarative Config Over Imperative\"]\n    n_no_leaky_context[\"Anti-Corruption Layer Over Cross-Context Leak\"]\n    n_no_hidden_nondeterminism[\"Injected Nondeterminism Over Hidden\"]\n    n_no_speculative_pattern[\"Pattern By Fit Over Speculative Pattern\"]"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-architectural-rules",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a debt-incurring shortcut with an encoded constraint that makes the invalid state unrepresentable, so the rule holds without relying on discipline.",
                    "term": "Intent"
                  },
                  {
                    "description": "A value that could be constructed invalidly is instead constructed only through a validating boundary.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ShortcutTaken → IdentifyInvariant → EncodeConstraint → RouteThroughBoundary → LeverageGained",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoShortcuts ::= <ShortcutTaken> \"→\" <IdentifyInvariant> \"→\" <EncodeConstraint> \"→\" <RouteThroughBoundary> \"→\" <LeverageGained>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "shortcuts (debt)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type FooId = string;\n\nfunction loadFoo(raw: string) {\n  return fooStore.get(raw as FooId);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooId = string & { readonly __brand: \"FooId\" };\n\nfunction fooId(raw: string): FooId {\n  if (!raw.startsWith(\"foo_\") || raw.length <= 4) throw new Error(`invalid FooId: ${raw}`);\n  return raw as FooId;\n}\n\nfunction loadFoo(id: FooId) {\n  return fooStore.get(id);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-shortcuts",
            "title": "Constraints Over Shortcuts"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace accreted legacy input shapes with one forward-compatible envelope that carries extensions, so evolution compounds instead of branching.",
                    "term": "Intent"
                  },
                  {
                    "description": "One canonical shape with an open extension slot subsumes every prior variant; no shape-discriminating branch remains.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ManyVariants → DefineEnvelope → MapToCanonical → OpenExtensionSlot → RemoveVariantBranches",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoBackwardCompat ::= <ManyVariants> \"→\" <DefineEnvelope> \"→\" <MapToCanonical> \"→\" <OpenExtensionSlot> \"→\" <RemoveVariantBranches>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "backward_compatibility (debt)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type FooInput = string | { name: string } | { label: string; flags?: string[] };\n\nfunction readFoo(input: FooInput) {\n  if (typeof input === \"string\") return { label: input, flags: [] };\n  if (\"name\" in input) return { label: input.name, flags: [] };\n  return { label: input.label, flags: input.flags ?? [] };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooEnvelope = {\n  kind: \"foo\";\n  label: string;\n  extensions: Readonly<Record<string, unknown>>;\n};\n\nfunction readFoo(input: FooEnvelope) {\n  return { label: input.label, extensions: input.extensions };\n\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-backward-compat",
            "title": "Forward Compatibility Over Backward Compatibility"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a silent fallback default with a required input that halts loudly when absent, so missing configuration surfaces at the boundary.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every required input is present and validated before use; absence throws rather than defaulting.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OptionalInput → MarkRequired → ValidateAtBoundary → HaltOnAbsence → ClarityGained",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoFallback ::= <OptionalInput> \"→\" <MarkRequired> \"→\" <ValidateAtBoundary> \"→\" <HaltOnAbsence> \"→\" <ClarityGained>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "fallback (debt)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function makeFoo(config: { mode?: \"foo\" | \"bar\" }) {\n  const mode = config.mode ?? \"foo\";\n  return mode === \"foo\" ? new Foo() : new Bar();\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooConfig = { mode: \"foo\" | \"bar\" };\n\nfunction makeFoo(config: FooConfig) {\n  if (!config.mode) throw new Error(\"FooConfig.mode is required\");\n  return config.mode === \"foo\" ? new Foo() : new Bar();\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-fallback",
            "title": "Fail-Fast Over Fallback"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a deprecated alias kept for compatibility with outright removal, so the single current name is the only path.",
                    "term": "Intent"
                  },
                  {
                    "description": "No symbol exists solely to forward to another; every callsite targets the canonical name.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DeprecatedAlias → MigrateCallsites → DeleteAlias → SinglePathRemains",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoDeprecation ::= <DeprecatedAlias> \"→\" <MigrateCallsites> \"→\" <DeleteAlias> \"→\" <SinglePathRemains>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "deprecation (debt)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooService {\n  makeFoo() { return this.createFoo(); }\n  createFoo() { return new Foo(); }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooService {\n  createFoo() { return new Foo(); }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-deprecation",
            "title": "Explicit Removal Over Deprecation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a legacy-mode branch with one current algorithm, deleting the old path rather than gating it behind a flag.",
                    "term": "Intent"
                  },
                  {
                    "description": "A single implementation serves the concern; no legacy-mode conditional selects behavior.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "LegacyBranch → ExtractCurrentPath → DeleteLegacyPath → RemoveFlag",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoLegacy ::= <LegacyBranch> \"→\" <ExtractCurrentPath> \"→\" <DeleteLegacyPath> \"→\" <RemoveFlag>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "legacy (debt)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function calculateFoo(input: FooInput, legacyMode: boolean) {\n  if (legacyMode) return oldFooAlgorithm(input);\n  return newFooAlgorithm(input);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function calculateFoo(input: FooInput) {\n  return fooAlgorithm(input);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-legacy",
            "title": "Greenfield Over Legacy"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Collapse a flag-selected dual path into one deterministic path, removing the branch and the flag that caused ambiguity.",
                    "term": "Intent"
                  },
                  {
                    "description": "Exactly one code path handles the operation; no runtime flag chooses between equivalent implementations.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DualPath → ChooseCanonical → MigrateConsumers → DeleteAlternate → DeterminismGained",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoDualPath ::= <DualPath> \"→\" <ChooseCanonical> \"→\" <MigrateConsumers> \"→\" <DeleteAlternate> \"→\" <DeterminismGained>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "dual-path (confusion)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function saveFoo(foo: Foo, flags: { useNewStore: boolean }) {\n  return flags.useNewStore\n    ? newFooStore.save(foo)\n    : oldFooStore.save(foo);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function saveFoo(foo: Foo) {\n  return fooStore.save(foo);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-dual-path",
            "title": "Single-Path Determinism Over Dual-Path"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a deferred follow-up with an atomic action that completes every coupled effect now, so nothing is forgotten.",
                    "term": "Intent"
                  },
                  {
                    "description": "Coupled effects commit together within one boundary; no effect is left as an implicit later step.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PartialAction → IdentifyCoupledEffects → WrapInTransaction → CommitTogether",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoDeferring ::= <PartialAction> \"→\" <IdentifyCoupledEffects> \"→\" <WrapInTransaction> \"→\" <CommitTogether>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Atomic Boundary](/records/algorithms/atomic-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "deferring (forgetting)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function renameFoo(id: FooId, name: string) {\n  await fooStore.rename(id, name);\n\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function renameFoo(id: FooId, name: string) {\n  await transaction(async tx => {\n    await tx.foos.rename(id, name);\n    await tx.search.reindex(id, name);\n  });\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Atomic Boundary](/records/algorithms/atomic-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-deferring",
            "title": "Immediacy Over Deferring"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace an optional dependency with a mandatory one, removing the null-guarded branch so behavior is system-defined not caller-defined.",
                    "term": "Intent"
                  },
                  {
                    "description": "A dependency the behavior relies on is always supplied; no optional-chaining guards its use.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OptionalDependency → MakeRequired → InjectAlways → RemoveGuards",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoOptional ::= <OptionalDependency> \"→\" <MakeRequired> \"→\" <InjectAlways> \"→\" <RemoveGuards>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Human Factors](/records/algorithms/human-factors), [Resource Core](/records/algorithms/resource-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "optional (user-orientation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooService {\n  constructor(private readonly audit?: AuditSink) {}\n\n  create(foo: Foo) {\n    this.audit?.write({ type: \"foo.created\", foo });\n    return fooStore.save(foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooService {\n  constructor(private readonly audit: AuditSink) {}\n\n  create(foo: Foo) {\n    this.audit.write({ type: \"foo.created\", foo });\n    return fooStore.save(foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Human Factors](/records/algorithms/human-factors), [Resource Core](/records/algorithms/resource-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-optional",
            "title": "Mandatory Over Optional"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a temporary in-memory placeholder with the real durable implementation immediately, so the stopgap never ossifies.",
                    "term": "Intent"
                  },
                  {
                    "description": "State that must survive restarts is persisted through the real store, not a transient map.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TemporaryStub → IdentifyDurabilityNeed → WireRealStore → DeleteStub",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoForNow ::= <TemporaryStub> \"→\" <IdentifyDurabilityNeed> \"→\" <WireRealStore> \"→\" <DeleteStub>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Evolution Principles](/records/algorithms/evolution-principles)",
                    "term": "Composes"
                  },
                  {
                    "description": "for_now (deferring)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooRepository {\n  private readonly data = new Map<string, Foo>();\n  save(foo: Foo) { this.data.set(foo.id, foo); }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooRepository {\n  constructor(private readonly db: Database) {}\n\n  save(foo: Foo) {\n    return this.db.execute(\"insert into foos(id, value) values (?, ?)\", foo.id, foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Evolution Principles](/records/algorithms/evolution-principles)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-for-now",
            "title": "Now Over For-Now"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Wrap an unobserved effect in structured telemetry so every execution emits a learnable signal on success and failure.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every significant effect opens and closes a span carrying its outcome; no path executes blind.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BlindEffect → OpenSpan → ExecuteWithinSpan → RecordOutcome",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUnobserved ::= <BlindEffect> \"→\" <OpenSpan> \"→\" <ExecuteWithinSpan> \"→\" <RecordOutcome>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Observability](/records/algorithms/observability), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "unobserved-execution (missed-learning)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function publishFoo(foo: Foo) {\n  sendFoo(foo);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function publishFoo(foo: Foo, telemetry: Telemetry) {\n  const span = telemetry.startSpan(\"foo.publish\", { fooId: foo.id });\n  try {\n    await sendFoo(foo);\n    span.end({ status: \"ok\" });\n  } catch (error) {\n    span.end({ status: \"error\", error });\n    throw error;\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Observability](/records/algorithms/observability), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-unobserved",
            "title": "Observed Execution Over Unobserved"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract a repeated pattern into one parameterized form, so the behavior lives once and duplication cannot drift.",
                    "term": "Intent"
                  },
                  {
                    "description": "A behavior expressed more than once is factored to a single definition parameterized over its variation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DuplicatedPattern → IdentifyVariation → ExtractParameterized → RedirectCallsites",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUncompressed ::= <DuplicatedPattern> \"→\" <IdentifyVariation> \"→\" <ExtractParameterized> \"→\" <RedirectCallsites>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Evolution Principles](/records/algorithms/evolution-principles)",
                    "term": "Composes"
                  },
                  {
                    "description": "pattern-without-compression (inefficiency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function validateFoo(foo: Foo) {\n  if (!foo.name) throw new Error(\"foo.name required\");\n  if (foo.name.length > 40) throw new Error(\"foo.name too long\");\n}\nfunction validateBar(bar: Bar) {\n  if (!bar.name) throw new Error(\"bar.name required\");\n  if (bar.name.length > 40) throw new Error(\"bar.name too long\");\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function requiredName(value: { name: string }, kind: string) {\n  if (!value.name) throw new Error(`${kind}.name required`);\n  if (value.name.length > 40) throw new Error(`${kind}.name too long`);\n}\n\nconst validateFoo = (foo: Foo) => requiredName(foo, \"foo\");\nconst validateBar = (bar: Bar) => requiredName(bar, \"bar\");",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Evolution Principles](/records/algorithms/evolution-principles)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-uncompressed",
            "title": "Compression Over Repetition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Gate a structural dependency behind a recorded architecture decision, so evolution proceeds only through approved boundaries.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every cross-boundary dependency traces to an approved decision record naming the allowed gateway.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "UnapprovedDependency → RaiseDecision → RecordApproval → WireApprovedGateway",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUnapproved ::= <UnapprovedDependency> \"→\" <RaiseDecision> \"→\" <RecordApproval> \"→\" <WireApprovedGateway>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Human Factors](/records/algorithms/human-factors)",
                    "term": "Composes"
                  },
                  {
                    "description": "evolution-without-approval (architectural-drift)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooService {\n\n  private readonly barDb = connectDirectlyToBarDatabase();\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type ArchitectureDecision = {\n  id: \"ADR-0042\";\n  status: \"approved\";\n  owner: \"foo-platform\";\n  allowedDependency: \"BarGateway\";\n};\n\nconst decision: ArchitectureDecision = approvedDecision(\"ADR-0042\");\nclass FooService {\n  constructor(private readonly bars: BarGateway, readonly adr = decision.id) {}\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Human Factors](/records/algorithms/human-factors)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-unapproved",
            "title": "Approved Evolution Over Unapproved"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Turn a logged-and-ignored warning into an enforced result, so negative feedback changes control flow instead of scrolling past.",
                    "term": "Intent"
                  },
                  {
                    "description": "A detected invalid condition returns a typed failure; it is never merely logged and continued.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WarnAndContinue → ModelFailureResult → ReturnTypedError → HaltHappyPath",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoIgnoredFeedback ::= <WarnAndContinue> \"→\" <ModelFailureResult> \"→\" <ReturnTypedError> \"→\" <HaltHappyPath>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Human Factors](/records/algorithms/human-factors), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "feedback-ignored (stagnation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function ingestFoo(foo: Foo) {\n  if (foo.score < 0) console.warn(\"bad foo score\", foo.score);\n  return fooStore.save(foo);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function ingestFoo(foo: Foo) {\n  if (foo.score < 0) {\n    return { ok: false, error: { code: \"INVALID_SCORE\", value: foo.score } } as const;\n  }\n  fooStore.save(foo);\n  return { ok: true } as const;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Human Factors](/records/algorithms/human-factors), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-ignored-feedback",
            "title": "Enforced Feedback Over Ignored"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Give one service authority over a piece of state and propagate to others by event, removing multi-writer ambiguity.",
                    "term": "Intent"
                  },
                  {
                    "description": "Exactly one service mutates a given entity; peers react to its events rather than co-writing it.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "MultiWriter → AssignOwner → EmitEvent → ProjectDownstream",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoSharedOwnership ::= <MultiWriter> \"→\" <AssignOwner> \"→\" <EmitEvent> \"→\" <ProjectDownstream>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "shared-ownership (ambiguity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function renameFoo(id: FooId, name: string) {\n  await fooService.rename(id, name);\n  await barService.patchFooName(id, name);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function renameFoo(id: FooId, name: string) {\n  await fooService.rename(id, name);\n}\n\nfooEvents.on(\"FooRenamed\", event => {\n  barProjection.apply(event);\n});",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-shared-ownership",
            "title": "Single Owner Over Shared Ownership"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace an unbounded cache with a capacity-bounded structure that evicts and clears, so memory release is deterministic.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every retained collection has an explicit bound and an eviction policy; growth cannot be unlimited.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "UnboundedStore → SetCapacity → AddEviction → ExposeClear",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUnbounded ::= <UnboundedStore> \"→\" <SetCapacity> \"→\" <AddEviction> \"→\" <ExposeClear>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "unbounded-lifetime (leaks)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const fooCache = new Map<string, Foo>();\n\nfunction rememberFoo(foo: Foo) {\n  fooCache.set(foo.id, foo);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooCache {\n  constructor(private readonly maxEntries: number) {}\n  private readonly values = new Map<string, Foo>();\n\n  set(foo: Foo) {\n    if (this.values.size >= this.maxEntries) {\n      const oldest = this.values.keys().next().value;\n      if (oldest !== undefined) this.values.delete(oldest);\n    }\n    this.values.set(foo.id, foo);\n  }\n\n  clear() { this.values.clear(); }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-unbounded",
            "title": "Bounded Lifetime Over Unbounded"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Pair every acquire with a guaranteed release via try/finally, so a fault mid-use cannot leak the resource.",
                    "term": "Intent"
                  },
                  {
                    "description": "Acquisition and release are structurally symmetric; release runs on every exit path.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "UnbalancedAcquire → WrapTryFinally → ReleaseInFinally → GuaranteedCleanup",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoAsymmetric ::= <UnbalancedAcquire> \"→\" <WrapTryFinally> \"→\" <ReleaseInFinally> \"→\" <GuaranteedCleanup>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "asymmetric-lifecycle (resource-leaks)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function readFoo() {\n  const handle = await openFoo();\n  const foo = await handle.read();\n  await handle.close();\n  return foo;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function readFoo() {\n  const handle = await openFoo();\n  try {\n    return await handle.read();\n  } finally {\n    await handle.close();\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-asymmetric",
            "title": "Enforced Symmetry Over Asymmetric Lifecycle"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace an anonymous listener push with an explicit retention token that names its owner and exposes release.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every retained reference is held through an ownership token that can be observed and released.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AnonymousRetention → MintToken → NameOwner → ExposeRelease",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoImplicitRetention ::= <AnonymousRetention> \"→\" <MintToken> \"→\" <NameOwner> \"→\" <ExposeRelease>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "implicit-retention (hidden-leaks)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const listeners: Array<() => void> = [];\n\nfunction watchFoo(foo: Foo) {\n  listeners.push(() => console.log(foo.id));\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type Retention = { owner: string; release(): void };\n\nfunction retainFoo(foo: Foo, owner: string): Retention {\n  const token = fooRetentions.add({ foo, owner });\n  return {\n    owner,\n    release: () => fooRetentions.delete(token),\n  };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-implicit-retention",
            "title": "Explicit Retention Over Implicit"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace manual release calls with a language disposal scope, so cleanup is enforced structurally, not by the developer's memory.",
                    "term": "Intent"
                  },
                  {
                    "description": "Resource cleanup is bound to scope exit by the language, not to a manually written release call.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ManualRelease → ImplementDisposable → UseScopedBinding → AutomaticCleanup",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoDisciplineRelease ::= <ManualRelease> \"→\" <ImplementDisposable> \"→\" <UseScopedBinding> \"→\" <AutomaticCleanup>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Enforcement Core](/records/algorithms/enforcement-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "discipline-release (human-error)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function useFoo() {\n  const foo = await acquireFoo();\n  await processFoo(foo);\n  await foo.release();\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooLease implements Disposable {\n  [Symbol.dispose]() { releaseFoo(this); }\n}\n\nfunction useFoo() {\n  using foo = acquireFooLease();\n  processFoo(foo);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Resource Core](/records/algorithms/resource-core), [Enforcement Core](/records/algorithms/enforcement-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-discipline-release",
            "title": "Structural Release Over Discipline"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace in-place mutation with a pure transform returning new data, so state transitions are reproducible.",
                    "term": "Intent"
                  },
                  {
                    "description": "Data is readonly; a change produces a new value rather than mutating the existing one.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "InPlaceMutation → MarkReadonly → ReturnNewValue → ReproducibilityGained",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoMutable ::= <InPlaceMutation> \"→\" <MarkReadonly> \"→\" <ReturnNewValue> \"→\" <ReproducibilityGained>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "mutable-state (unpredictability)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type Foo = { name: string; tags: string[] };\n\nfunction addTag(foo: Foo, tag: string) {\n  foo.tags.push(tag);\n  return foo;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type Foo = Readonly<{ name: string; tags: readonly string[] }>;\n\nfunction addTag(foo: Foo, tag: string): Foo {\n  return { ...foo, tags: [...foo.tags, tag] };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-mutable",
            "title": "Immutable Data Over Mutable State"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a null-on-failure return with a typed result union, so failure is machine-processable rather than swallowed.",
                    "term": "Intent"
                  },
                  {
                    "description": "A fallible operation returns a discriminated ok/error result; failure carries a typed code.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "NullOnFailure → DefineResultUnion → ReturnTypedError → ForceHandling",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoSilent ::= <NullOnFailure> \"→\" <DefineResultUnion> \"→\" <ReturnTypedError> \"→\" <ForceHandling>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "silent-errors (unknown-failure)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function parseFoo(raw: string): Foo | null {\n  try {\n    return JSON.parse(raw) as Foo;\n  } catch {\n    return null;\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type ParseFooResult =\n  | { ok: true; value: Foo }\n  | { ok: false; error: { code: \"INVALID_JSON\" | \"INVALID_FOO\"; detail: string } };\n\nfunction parseFoo(raw: string): ParseFooResult {\n  try {\n    const value = JSON.parse(raw);\n    return isFoo(value)\n      ? { ok: true, value }\n      : { ok: false, error: { code: \"INVALID_FOO\", detail: \"schema mismatch\" } };\n  } catch (error) {\n    return { ok: false, error: { code: \"INVALID_JSON\", detail: String(error) } };\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-silent",
            "title": "Errors As Language Over Silent Errors"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Model invalid state as an explicit variant rather than coercing to a plausible default that hides uncertainty.",
                    "term": "Intent"
                  },
                  {
                    "description": "Validity is a represented state; invalid inputs map to an invalid variant, never a silent valid default.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CoercedDefault → AddInvalidVariant → MapInvalidInputs → HonestUncertainty",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoHiddenInvalidity ::= <CoercedDefault> \"→\" <AddInvalidVariant> \"→\" <MapInvalidInputs> \"→\" <HonestUncertainty>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "hidden-invalidity (false-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type FooState = { count: number };\n\nfunction readFooCount(raw: unknown): FooState {\n  return { count: typeof raw === \"number\" ? raw : 0 };\n\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooState =\n  | { status: \"valid\"; count: number }\n  | { status: \"invalid\"; reason: \"NOT_A_NUMBER\" };\n\nfunction readFooCount(raw: unknown): FooState {\n  return typeof raw === \"number\"\n    ? { status: \"valid\", count: raw }\n    : { status: \"invalid\", reason: \"NOT_A_NUMBER\" };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-hidden-invalidity",
            "title": "Explicit Invalidity Over Hidden"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a parent-supplied callback with an emitted event, decoupling the producer from its consumers.",
                    "term": "Intent"
                  },
                  {
                    "description": "A component announces facts via events; it holds no reference to who reacts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ParentCallback → DefineEvent → EmitFact → SubscribeExternally",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoCallbacks ::= <ParentCallback> \"→\" <DefineEvent> \"→\" <EmitFact> \"→\" <SubscribeExternally>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "parent-callbacks (tight-coupling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooEditor {\n  constructor(private readonly onSaved: (foo: Foo) => void) {}\n\n  save(foo: Foo) {\n    fooStore.save(foo);\n    this.onSaved(foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "class FooEditor {\n  constructor(private readonly events: EventSink) {}\n\n  save(foo: Foo) {\n    fooStore.save(foo);\n    this.events.emit({ type: \"FooSaved\", fooId: foo.id });\n  }\n}\n\nfooEvents.on(\"FooSaved\", event => refreshFooView(event.fooId));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-callbacks",
            "title": "Event Emission Over Parent Callbacks"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace destructive deletion with an append-only removal event, so history is monotonic and projectable.",
                    "term": "Intent"
                  },
                  {
                    "description": "State changes append events; nothing is deleted in place, and current state is a projection.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DestructiveDelete → DefineEventLog → AppendRemoval → ProjectCurrent",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoRetraction ::= <DestructiveDelete> \"→\" <DefineEventLog> \"→\" <AppendRemoval> \"→\" <ProjectCurrent>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Causality Core](/records/algorithms/causality-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "retraction (complexity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type FooIndex = Map<FooId, Foo>;\n\nfunction deleteFoo(index: FooIndex, id: FooId) {\n  index.delete(id);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooEvent =\n  | { seq: number; type: \"FooAdded\"; foo: Foo }\n  | { seq: number; type: \"FooRemoved\"; fooId: FooId };\n\nfunction removeFoo(log: FooEvent[], id: FooId) {\n  log.push({ seq: log.length + 1, type: \"FooRemoved\", fooId: id });\n}\n\nconst currentFoos = projectFoos(log);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Causality Core](/records/algorithms/causality-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-retraction",
            "title": "Monotonic Growth Over Retraction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace positional path addressing with a semantic identity reference, so references survive structural change.",
                    "term": "Intent"
                  },
                  {
                    "description": "An entity is referenced by stable identity, never by its position within a container.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PositionalRef → AssignIdentity → ReferenceById → ResolveByLookup",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoLocation ::= <PositionalRef> \"→\" <AssignIdentity> \"→\" <ReferenceById> \"→\" <ResolveByLookup>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "location-addressing (brittleness)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const foo = document.sections[2].items[4];\nconst reference = \"sections[2].items[4]\";",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooRef = { kind: \"foo\"; id: FooId };\n\nconst reference: FooRef = { kind: \"foo\", id: fooId(\"foo_primary\") };\nconst foo = document.foosById.get(reference.id);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-location",
            "title": "Semantic Addressing Over Location Addressing"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace wall-clock ordering with an ordinal sequence, so event order is logical and clock-independent.",
                    "term": "Intent"
                  },
                  {
                    "description": "Ordering derives from a monotonic ordinal, not a physical timestamp subject to skew.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WallClockOrder → AssignOrdinal → AppendWithOrdinal → SortByOrdinal",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoTimestamps ::= <WallClockOrder> \"→\" <AssignOrdinal> \"→\" <AppendWithOrdinal> \"→\" <SortByOrdinal>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Causality Core](/records/algorithms/causality-core), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "timestamp-ordering (wall-clock-dependency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type FooEvent = { at: number; value: string };\n\nconst events = received.map(value => ({ at: Date.now(), value }));\nevents.sort((a, b) => a.at - b.at);",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooEvent = { ordinal: bigint; value: string };\n\nfunction appendFoo(value: string): FooEvent {\n  return fooLog.append(nextOrdinal(), value);\n}\n\nconst events = fooLog.read().sort((a, b) => Number(a.ordinal - b.ordinal));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Causality Core](/records/algorithms/causality-core), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-timestamps",
            "title": "Ordinal Time Over Timestamps"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Fuse behavior and its separate metadata into one homoiconic data structure that is both the rule and its description.",
                    "term": "Intent"
                  },
                  {
                    "description": "A rule is represented as data that is directly evaluated; no parallel metadata can drift from it.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CodeAndMetadata → DefineExprData → EvaluateData → SingleSource",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoSeparation ::= <CodeAndMetadata> \"→\" <DefineExprData> \"→\" <EvaluateData> \"→\" <SingleSource>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Declarative Core](/records/algorithms/declarative-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "separation (duplication)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function calculateFoo(foo: Foo) {\n  return foo.value * 2;\n}\n\nconst fooRuleMetadata = {\n  operation: \"multiply\",\n  operand: 2,\n};",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type Expr =\n  | { op: \"value\"; key: keyof Foo }\n  | { op: \"const\"; value: number }\n  | { op: \"multiply\"; left: Expr; right: Expr };\n\nconst fooRule: Expr = {\n  op: \"multiply\",\n  left: { op: \"value\", key: \"value\" },\n  right: { op: \"const\", value: 2 },\n};\n\nconst result = evaluate(fooRule, foo);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Structural Core](/records/algorithms/structural-core), [Declarative Core](/records/algorithms/declarative-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-separation",
            "title": "Homoiconicity Over Separation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Constrain an open-ended rule surface to a bounded grammar with depth and fan-out limits, capping cognitive load.",
                    "term": "Intent"
                  },
                  {
                    "description": "A rule structure has enforced maximum depth and breadth; unbounded nesting is rejected.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OpenEndedRule → DefineBoundedGrammar → ValidateDepth → ValidateFanOut",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUnlimited ::= <OpenEndedRule> \"→\" <DefineBoundedGrammar> \"→\" <ValidateDepth> \"→\" <ValidateFanOut>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Human Factors](/records/algorithms/human-factors), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "unlimited-complexity (cognitive-overload)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "type FooRule = {\n  run(context: unknown): unknown;\n};\n\nfunction execute(rule: FooRule) {\n  return rule.run(globalThis);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooRule =\n  | { op: \"equals\"; field: \"name\" | \"kind\"; value: string }\n  | { op: \"all\"; rules: readonly FooRule[] };\n\nfunction validateRule(rule: FooRule, depth = 0): void {\n  if (depth > 5) throw new Error(\"FooRule depth exceeds 5\");\n  if (rule.op === \"all\") {\n    if (rule.rules.length > 10) throw new Error(\"FooRule fan-out exceeds 10\");\n    rule.rules.forEach(child => validateRule(child, depth + 1));\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Human Factors](/records/algorithms/human-factors), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-unlimited",
            "title": "Bounded Complexity Over Unlimited"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace threshold-on-metrics health with a symbolic diagnosis that names the causes of an unready state.",
                    "term": "Intent"
                  },
                  {
                    "description": "Health is a computed state naming concrete blocking causes, not a boolean over numeric thresholds.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "MetricThreshold → EnumerateCauses → ComputeState → NameBlockers",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoMetrics ::= <MetricThreshold> \"→\" <EnumerateCauses> \"→\" <ComputeState> \"→\" <NameBlockers>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Observability](/records/algorithms/observability), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "metric-health (symptom-tracking)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function fooHealth(metrics: { errorRate: number; latencyMs: number }) {\n  return metrics.errorRate < 0.01 && metrics.latencyMs < 200 ? \"healthy\" : \"unhealthy\";\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooHealth =\n  | { state: \"ready\" }\n  | { state: \"blocked\"; causes: readonly (\"STORE_UNREACHABLE\" | \"SCHEMA_MISMATCH\")[] };\n\nfunction fooHealth(status: { storeReachable: boolean; schemaCompatible: boolean }): FooHealth {\n  const causes = [\n    ...(!status.storeReachable ? [\"STORE_UNREACHABLE\" as const] : []),\n    ...(!status.schemaCompatible ? [\"SCHEMA_MISMATCH\" as const] : []),\n  ];\n  return causes.length ? { state: \"blocked\", causes } : { state: \"ready\" };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Observability](/records/algorithms/observability), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-metrics",
            "title": "Computed Health Over Metric Health"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace an inline secret with a resolved read from a secret store that fails fast when the secret is absent.",
                    "term": "Intent"
                  },
                  {
                    "description": "No secret literal appears in source; secrets are read at runtime from a store and validated present.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "InlineSecret → MoveToStore → ResolveAtRuntime → FailIfMissing",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoHardcodedSecrets ::= <InlineSecret> \"→\" <MoveToStore> \"→\" <ResolveAtRuntime> \"→\" <FailIfMissing>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Security Core](/records/algorithms/security-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "hardcoded-secrets (exposure)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Secrets Management](/records/architecture/secrets-management)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const fooClient = new FooClient({\n  apiKey: \"foo_live_abc123\",\n});",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function makeFooClient(secrets: SecretStore) {\n  const apiKey = await secrets.read(\"services/foo/api-key\");\n  if (!apiKey) throw new Error(\"missing services/foo/api-key\");\n  return new FooClient({ apiKey });\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Security Core](/records/algorithms/security-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-hardcoded-secrets",
            "title": "Secret Store Over Hardcoded Secrets"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Parse and validate untrusted input at the boundary into a typed shape, failing fast on malformed data.",
                    "term": "Intent"
                  },
                  {
                    "description": "Input crosses the boundary only after schema validation; no raw external value reaches the core.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RawInput → ParseAtBoundary → ValidateSchema → PassTypedValue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUnvalidatedInput ::= <RawInput> \"→\" <ParseAtBoundary> \"→\" <ValidateSchema> \"→\" <PassTypedValue>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Security Core](/records/algorithms/security-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "unvalidated-input (injection)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Input Validation](/records/architecture/input-validation)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function createFoo(request: Request) {\n  const body = await request.json() as any;\n  return fooDb.query(`insert into foo(name) values ('${body.name}')`);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type CreateFoo = { name: string };\n\nfunction parseCreateFoo(value: unknown): CreateFoo {\n  if (!value || typeof value !== \"object\") throw new Error(\"body must be an object\");\n  const name = (value as Record<string, unknown>).name;\n  if (typeof name !== \"string\" || name.length < 1 || name.length > 40) {\n    throw new Error(\"name must be 1..40 characters\");\n  }\n  return { name };\n}\n\nasync function createFoo(request: Request) {\n  const input = parseCreateFoo(await request.json());\n  return fooDb.query(\"insert into foo(name) values (?)\", input.name);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Security Core](/records/algorithms/security-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-unvalidated-input",
            "title": "Boundary Validation Over Unvalidated Input"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Narrow a broad capability to the minimal typed interface a task needs, shrinking the blast radius.",
                    "term": "Intent"
                  },
                  {
                    "description": "A component receives only the narrow capability its task requires, never an ambient broad authority.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BroadCapability → DefineNarrowInterface → InjectMinimal → DenyRest",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoBroadPrivilege ::= <BroadCapability> \"→\" <DefineNarrowInterface> \"→\" <InjectMinimal> \"→\" <DenyRest>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Security Core](/records/algorithms/security-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "broad-privilege (blast-radius)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Least Privilege](/records/architecture/least-privilege)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "class FooJob {\n  constructor(private readonly admin: AdminDatabase) {}\n\n  run(foo: Foo) {\n    return this.admin.execute(`delete from bar; insert into foo values (?)`, foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface FooWriter {\n  insert(foo: Foo): Promise<void>;\n}\n\nclass FooJob {\n  constructor(private readonly foos: FooWriter) {}\n\n  run(foo: Foo) {\n    return this.foos.insert(foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Security Core](/records/algorithms/security-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-broad-privilege",
            "title": "Least Privilege Over Broad Privilege"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace env-var-or-default reads with a validated config loaded at boot that fails fast on missing values.",
                    "term": "Intent"
                  },
                  {
                    "description": "Configuration is parsed and validated once at startup; a missing required var halts boot.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EnvOrDefault → DefineConfigSchema → LoadAtBoot → FailIfIncomplete",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoEnvFallback ::= <EnvOrDefault> \"→\" <DefineConfigSchema> \"→\" <LoadAtBoot> \"→\" <FailIfIncomplete>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Security Core](/records/algorithms/security-core), [Resource Core](/records/algorithms/resource-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "env-fallback-default (silent-misconfig)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const fooUrl = process.env.FOO_URL || \"http://localhost:3000\";\nconst retryCount = Number(process.env.FOO_RETRIES || \"3\");",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type AppConfig = Readonly<{ fooUrl: URL; retryCount: number }>;\n\nfunction loadConfig(env: NodeJS.ProcessEnv): AppConfig {\n  if (!env.FOO_URL) throw new Error(\"FOO_URL is required\");\n  if (!env.FOO_RETRIES) throw new Error(\"FOO_RETRIES is required\");\n  const retryCount = Number(env.FOO_RETRIES);\n  if (!Number.isInteger(retryCount) || retryCount < 0) throw new Error(\"invalid FOO_RETRIES\");\n  return Object.freeze({ fooUrl: new URL(env.FOO_URL), retryCount });\n}\n\nconst config = loadConfig(process.env);",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Security Core](/records/algorithms/security-core), [Resource Core](/records/algorithms/resource-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-env-fallback",
            "title": "Config Externalization Over Env Fallback"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Gate any optimization behind a measured profile, so effort is evidence-driven rather than speculative.",
                    "term": "Intent"
                  },
                  {
                    "description": "A performance change is justified by a before/after measurement of the actual bottleneck.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SuspectedHotspot → Profile → IdentifyBottleneck → OptimizeMeasured → Verify",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUnmeasuredOptimization ::= <SuspectedHotspot> \"→\" <Profile> \"→\" <IdentifyBottleneck> \"→\" <OptimizeMeasured> \"→\" <Verify>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Performance Core](/records/algorithms/performance-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "unmeasured-optimization (guesswork)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const fooCache = new Map<string, Foo>();\n\nfunction getFoo(id: string) {\n  if (!fooCache.has(id)) fooCache.set(id, expensiveLookup(id));\n  return fooCache.get(id)!;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const profile = profiler.measure(\"foo.batch\", () => {\n  for (const id of fooIds) expensiveLookup(id);\n});\n\nif (profile.hotspot === \"repeated-foo-lookup\") {\n  const foos = fooStore.getMany(fooIds);\n  consume(foos);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Performance Core](/records/algorithms/performance-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-unmeasured-optimization",
            "title": "Profile-First Over Unmeasured Optimization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a written convention with an automated gate, so the invariant is enforced by code not by memory.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every stated invariant has an executable check that fails the build on violation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WrittenConvention → EncodeCheck → WireGate → FailOnViolation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoConventionEnforcement ::= <WrittenConvention> \"→\" <EncodeCheck> \"→\" <WireGate> \"→\" <FailOnViolation>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Enforcement Core](/records/algorithms/enforcement-core), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "convention-only-enforcement (drift)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "import { sql } from \"../infrastructure/database\";\n\nexport function makeFoo() {\n  return sql(\"select * from foo\");\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const architectureRule = forbidImports({\n  from: \"src/domain/**\",\n  to: \"src/infrastructure/**\",\n});\n\nfor (const violation of architectureRule.scan(projectGraph)) {\n  throw new Error(`forbidden dependency: ${violation.from} → ${violation.to}`);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Enforcement Core](/records/algorithms/enforcement-core), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-convention-enforcement",
            "title": "Rule As Code Over Convention"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "State pre-conditions, post-conditions, and invariants explicitly, so a boundary's contract is checkable not assumed.",
                    "term": "Intent"
                  },
                  {
                    "description": "A boundary declares and enforces its pre/post/invariant conditions; callers are not left to guess.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ImplicitAssumption → StatePreconditions → StatePostconditions → EnforceInvariants",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoImplicitContract ::= <ImplicitAssumption> \"→\" <StatePreconditions> \"→\" <StatePostconditions> \"→\" <EnforceInvariants>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Contracts Core](/records/algorithms/contracts-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "implicit-contract (silent-breakage)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function divideFoo(total: number, count: number) {\n  return total / count;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function divideFoo(total: number, count: number): number {\n  if (!Number.isFinite(total)) throw new Error(\"pre: total must be finite\");\n  if (!Number.isInteger(count) || count <= 0) throw new Error(\"pre: count must be positive\");\n\n  const result = total / count;\n\n  if (!Number.isFinite(result)) throw new Error(\"post: result must be finite\");\n  return result;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Contracts Core](/records/algorithms/contracts-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-implicit-contract",
            "title": "Design By Contract Over Implicit Contract"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Introduce change behind a version so existing consumers keep a stable contract while new ones adopt the new shape.",
                    "term": "Intent"
                  },
                  {
                    "description": "A contract change is additive or versioned; no in-place change breaks an existing consumer silently.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "InPlaceChange → IntroduceVersion → RunBothContracts → MigrateConsumers",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoBreakingChange ::= <InPlaceChange> \"→\" <IntroduceVersion> \"→\" <RunBothContracts> \"→\" <MigrateConsumers>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Contracts Core](/records/algorithms/contracts-core), [Evolution Principles](/records/algorithms/evolution-principles)",
                    "term": "Composes"
                  },
                  {
                    "description": "unversioned-breaking-change (consumer-breakage)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Versioning](/records/architecture/versioning)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "app.get(\"/foo\", () => ({ label: \"Foo\", tags: [] }));",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "app.get(\"/v1/foo\", () => ({ name: \"Foo\" }));\napp.get(\"/v2/foo\", () => ({ label: \"Foo\", tags: [] }));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Contracts Core](/records/algorithms/contracts-core), [Evolution Principles](/records/algorithms/evolution-principles)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-breaking-change",
            "title": "Versioned Evolution Over Breaking Change"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Type and schema-validate every boundary crossing, so invalid state cannot enter the typed core.",
                    "term": "Intent"
                  },
                  {
                    "description": "Data entering the system is validated against a schema; untyped values never propagate inward.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "UntypedBoundary → DefineSchema → ValidateOnEntry → PropagateTyped",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoUntypedBoundary ::= <UntypedBoundary> \"→\" <DefineSchema> \"→\" <ValidateOnEntry> \"→\" <PropagateTyped>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Contracts Core](/records/algorithms/contracts-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "untyped-boundary (invalid-state)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function loadFoo(response: Response): Promise<Foo> {\n  return await response.json() as Foo;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type Foo = Readonly<{ id: string; count: number }>;\n\nfunction decodeFoo(value: unknown): Foo {\n  if (!value || typeof value !== \"object\") throw new Error(\"Foo must be an object\");\n  const record = value as Record<string, unknown>;\n  if (typeof record.id !== \"string\") throw new Error(\"Foo.id must be a string\");\n  if (!Number.isInteger(record.count)) throw new Error(\"Foo.count must be an integer\");\n  return { id: record.id, count: record.count as number };\n}\n\nasync function loadFoo(response: Response): Promise<Foo> {\n  return decodeFoo(await response.json());\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Contracts Core](/records/algorithms/contracts-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-untyped-boundary",
            "title": "Schema-Validated Boundary Over Untyped"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Wrap coupled writes in an all-or-nothing boundary, so a fault cannot leave state half-applied.",
                    "term": "Intent"
                  },
                  {
                    "description": "Coupled state changes either all commit or all roll back; no partial application persists.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CoupledWrites → OpenTransaction → ApplyAll → CommitOrRollback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoPartialCommit ::= <CoupledWrites> \"→\" <OpenTransaction> \"→\" <ApplyAll> \"→\" <CommitOrRollback>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Atomic Boundary](/records/algorithms/atomic-boundary), [Resource Core](/records/algorithms/resource-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "partial-commit (corruption)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function moveFoo(id: FooId, from: BarId, to: BarId) {\n  await barStore.removeFoo(from, id);\n  await barStore.addFoo(to, id);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function moveFoo(id: FooId, from: BarId, to: BarId) {\n  await database.transaction(async tx => {\n    const removed = await tx.bars.removeFoo(from, id);\n    if (!removed) throw new Error(\"Foo is not owned by source Bar\");\n    await tx.bars.addFoo(to, id);\n  });\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Atomic Boundary](/records/algorithms/atomic-boundary), [Resource Core](/records/algorithms/resource-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-partial-commit",
            "title": "Atomic Boundary Over Partial Commit"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a cross-service two-phase commit with a saga of compensable steps, preserving service autonomy.",
                    "term": "Intent"
                  },
                  {
                    "description": "Cross-service consistency is achieved by compensating actions, not a distributed lock across services.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CrossServiceLock → DefineSteps → DefineCompensations → RunSaga",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoDistributed2pc ::= <CrossServiceLock> \"→\" <DefineSteps> \"→\" <DefineCompensations> \"→\" <RunSaga>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "cross-service-2PC (coupling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function createFooAndBar(foo: Foo, bar: Bar) {\n  const tx = await coordinator.begin();\n  await fooService.prepare(tx.id, foo);\n  await barService.prepare(tx.id, bar);\n  await coordinator.commit(tx.id);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function createFooAndBar(foo: Foo, bar: Bar) {\n  const fooId = await fooService.create(foo);\n  try {\n    await barService.create({ ...bar, fooId });\n  } catch (error) {\n    await fooService.cancel(fooId);\n    throw error;\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-distributed-2pc",
            "title": "Saga Compensation Over Distributed 2PC"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace a synchronous call across an autonomy boundary with an asynchronous event, decoupling in time.",
                    "term": "Intent"
                  },
                  {
                    "description": "Calls across autonomy boundaries are asynchronous; no boundary blocks on another's synchronous response.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SyncCrossCall → DefineEvent → EmitAsync → ConsumeIndependently",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoSyncCrossBoundary ::= <SyncCrossCall> \"→\" <DefineEvent> \"→\" <EmitAsync> \"→\" <ConsumeIndependently>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "synchronous-cross-autonomy-boundary (fragility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function createFoo(foo: Foo) {\n  const bar = await barServiceHttp.get(foo.barId);\n  await bazServiceHttp.validate(foo, bar);\n  return fooStore.save(foo);\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function createFoo(foo: Foo) {\n  await fooStore.transaction(async tx => {\n    await tx.foos.save(foo);\n    await tx.outbox.append({ type: \"FooCreated\", fooId: foo.id, barId: foo.barId });\n  });\n}\n\nfooEvents.on(\"FooCreated\", event => bazProjection.process(event));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Execution Core](/records/algorithms/execution-core), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-sync-cross-boundary",
            "title": "Async Events Over Synchronous Cross-Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Emit structured signals around runtime behavior, so operation is observable rather than blind.",
                    "term": "Intent"
                  },
                  {
                    "description": "Runtime paths emit structured telemetry sufficient to reconstruct what happened.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OpaqueRuntime → InstrumentSignals → EmitStructured → EnableReconstruction",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoOpaqueRuntime ::= <OpaqueRuntime> \"→\" <InstrumentSignals> \"→\" <EmitStructured> \"→\" <EnableReconstruction>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Observability](/records/algorithms/observability), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "opaque-runtime (blind-operation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "async function processFoo(foo: Foo) {\n  console.log(\"starting foo\");\n  await fooStore.save(foo);\n  console.log(\"done\");\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "async function processFoo(foo: Foo, telemetry: Telemetry) {\n  return telemetry.trace(\"foo.process\", { fooId: foo.id }, async span => {\n    const started = performance.now();\n    try {\n      await fooStore.save(foo);\n      telemetry.count(\"foo.processed\", 1, { result: \"ok\" });\n      span.event(\"foo.saved\", { durationMs: performance.now() - started });\n    } catch (error) {\n      telemetry.count(\"foo.processed\", 1, { result: \"error\" });\n      span.fail(error);\n      throw error;\n    }\n  });\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Observability](/records/algorithms/observability), [Execution Core](/records/algorithms/execution-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-opaque-runtime",
            "title": "Observable Signals Over Opaque Runtime"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Surface a concealed dependency as a constructor parameter, inverting control and revealing coupling.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every dependency is injected and visible in the signature; none is reached for ambiently.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "HiddenDependency → LiftToParameter → InjectAtComposition → RevealCoupling",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoHiddenDependency ::= <HiddenDependency> \"→\" <LiftToParameter> \"→\" <InjectAtComposition> \"→\" <RevealCoupling>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Coupling Control](/records/algorithms/coupling-control), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "hidden-dependency (concealed-coupling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "import { globalFooStore } from \"./globals\";\n\nclass FooService {\n  save(foo: Foo) {\n    return globalFooStore.save(foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface FooStore {\n  save(foo: Foo): Promise<void>;\n}\n\nclass FooService {\n  constructor(private readonly store: FooStore) {}\n\n  save(foo: Foo) {\n    return this.store.save(foo);\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Coupling Control](/records/algorithms/coupling-control), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-hidden-dependency",
            "title": "Injected Dependency Over Hidden"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace enumerated wiring with convention-based discovery, so new components register without editing a central list.",
                    "term": "Intent"
                  },
                  {
                    "description": "Components are discovered by convention at runtime; no central switch enumerates each one.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "HardcodedList → DefineConvention → DiscoverAtRuntime → SelfRegister",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoHardcodedWiring ::= <HardcodedList> \"→\" <DefineConvention> \"→\" <DiscoverAtRuntime> \"→\" <SelfRegister>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Extensibility Core](/records/algorithms/extensibility-core), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "hardcoded-wiring (rigidity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "import { FooHandler } from \"./foo-handler\";\nimport { BarHandler } from \"./bar-handler\";\nimport { BazHandler } from \"./baz-handler\";\n\nconst handlers = [new FooHandler(), new BarHandler(), new BazHandler()];",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface HandlerModule {\n  kind: string;\n  create(): Handler;\n}\n\nconst modules = await discover<HandlerModule>(\"./handlers/*.handler.js\");\nconst handlers = new Map(modules.map(module => [module.kind, module.create()]));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Extensibility Core](/records/algorithms/extensibility-core), [Structural Core](/records/algorithms/structural-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-hardcoded-wiring",
            "title": "Convention Discovery Over Hardcoded Wiring"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace imperative setup steps with declarative configuration describing the desired state.",
                    "term": "Intent"
                  },
                  {
                    "description": "Configuration declares the target state; it is not a sequence of mutation calls.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ImperativeSetup → DescribeDesiredState → ApplyDeclaratively → ConvergeToState",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoImperativeConfig ::= <ImperativeSetup> \"→\" <DescribeDesiredState> \"→\" <ApplyDeclaratively> \"→\" <ConvergeToState>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Declarative Core](/records/algorithms/declarative-core), [Extensibility Core](/records/algorithms/extensibility-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "imperative-config (drift)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const app = new FooApp();\napp.enableCache();\napp.setRetries(3);\nif (process.env.DEBUG) app.enableDebug();\napp.register(new BarPlugin());",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooConfig = Readonly<{\n  cache: { enabled: boolean };\n  retries: number;\n  debug: boolean;\n  plugins: readonly [\"bar\"];\n}>;\n\nconst config: FooConfig = {\n  cache: { enabled: true },\n  retries: 3,\n  debug: false,\n  plugins: [\"bar\"],\n};\n\nconst app = FooApp.fromConfig(validateFooConfig(config));",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Declarative Core](/records/algorithms/declarative-core), [Extensibility Core](/records/algorithms/extensibility-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-imperative-config",
            "title": "Declarative Config Over Imperative"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Insert an anti-corruption layer at a context boundary, so a foreign model cannot corrupt the local one.",
                    "term": "Intent"
                  },
                  {
                    "description": "A foreign model is translated at the boundary; its shape never leaks into the local bounded context.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ForeignModelLeak → DefineTranslation → TranslateAtBoundary → ProtectLocalModel",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoLeakyContext ::= <ForeignModelLeak> \"→\" <DefineTranslation> \"→\" <TranslateAtBoundary> \"→\" <ProtectLocalModel>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Domain Modeling](/records/algorithms/domain-modeling), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "cross-context-leak (model-corruption)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Anti-Corruption Layer](/records/architecture/anti-corruption-layer)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function priceBar(foo: FooDatabaseRow) {\n  return foo.status === \"A\" ? 10 : 0;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "type FooDatabaseRow = { id: string; status: \"A\" | \"D\" };\ntype BarEligibility = { fooId: string; eligible: boolean };\n\nfunction toBarEligibility(row: FooDatabaseRow): BarEligibility {\n  return { fooId: row.id, eligible: row.status === \"A\" };\n}\n\nfunction priceBar(input: BarEligibility) {\n  return input.eligible ? 10 : 0;\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Domain Modeling](/records/algorithms/domain-modeling), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-leaky-context",
            "title": "Anti-Corruption Layer Over Cross-Context Leak"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Inject clocks, randomness, and IO so the core is deterministic and testable, isolating nondeterminism at the edge.",
                    "term": "Intent"
                  },
                  {
                    "description": "Sources of nondeterminism are injected; the core computes deterministically given its inputs.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "HiddenClockOrRandom → DefinePort → InjectSource → DeterministicCore",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoHiddenNondeterminism ::= <HiddenClockOrRandom> \"→\" <DefinePort> \"→\" <InjectSource> \"→\" <DeterministicCore>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "hidden-nondeterminism (unreproducible)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "function makeFoo(name: string): Foo {\n  return {\n    id: crypto.randomUUID(),\n    name,\n    createdAt: new Date(),\n  };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "interface Clock { now(): Date; }\ninterface IdSource { nextFooId(): string; }\n\nfunction makeFoo(name: string, clock: Clock, ids: IdSource): Foo {\n  return {\n    id: ids.nextFooId(),\n    name,\n    createdAt: clock.now(),\n  };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Computation Core](/records/algorithms/computation-core), [Correctness Core](/records/algorithms/correctness-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-hidden-nondeterminism",
            "title": "Injected Nondeterminism Over Hidden"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [Architectural Rules](/records/algorithms-domain/architectural-rules)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Introduce a pattern only when a present force demands it, avoiding accidental complexity from anticipated needs.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every abstraction traces to a current force; none exists solely for a hypothesized future.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SpeculativeAbstraction → IdentifyPresentForces → MatchPatternToForce → RemoveUnforced",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NoSpeculativePattern ::= <SpeculativeAbstraction> \"→\" <IdentifyPresentForces> \"→\" <MatchPatternToForce> \"→\" <RemoveUnforced>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Design Patterns Core](/records/algorithms/design-patterns-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "speculative-pattern (accidental-complexity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "interface FooFactoryStrategy {\n  create(builder: FooAbstractBuilder, provider: FooProvider): Foo;\n}\n\nclass DefaultFooFactoryStrategy implements FooFactoryStrategy {\n  create(builder: FooAbstractBuilder, provider: FooProvider) {\n    return builder.withName(provider.getName()).build();\n  }\n}",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "function makeFoo(name: string): Foo {\n  return { name };\n}",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the quality rules and auto-fixes that refuse the shortcut each architectural rule forbids, the cross-file quality gate",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every source file under a governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the source or the rule changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A rule that fires fails the lint stage, and an auto-fix rewrites the shortcut where the fix is deterministic",
                    "term": "Refusal"
                  },
                  {
                    "description": "The telemetry a runtime rule requires, such as observed execution, which locates a path that runs unobserved",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The architectural rule, which the source conforms to and an auto-fix rewrites toward",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Evolution Principles](/records/algorithms/evolution-principles), [Design Patterns Core](/records/algorithms/design-patterns-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-no-speculative-pattern",
            "title": "Pattern By Fit Over Speculative Pattern"
          }
        ],
        "title": "Architectural Rules"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_static_to_dynamic_readiness[\"Static-to-Dynamic Readiness\"]\n    n_runtime_neutral_automation_boundary[\"Runtime-Neutral Automation Boundary\"]\n    n_automation_operation_mode[\"Automation Operation Mode\"]\n    n_capability_degradation[\"Capability Degradation\"]\n    n_automation_opportunity_detection[\"Automation Opportunity Detection\"]\n    n_intentional_static_separation[\"Intentional Static Separation\"]\n    n_breaking_point_calculation[\"Breaking Point Calculation\"]\n    n_automation_priority_ordering[\"Automation Priority Ordering\"]\n    n_convention_strength_analysis[\"Convention Strength Analysis\"]\n    n_extension_interface_discovery[\"Extension Interface Discovery\"]\n    n_scalability_projection[\"Scalability Projection\"]\n    n_performance_aware_discovery_design[\"Performance-Aware Discovery Design\"]\n    n_dynamic_extension_architecture[\"Dynamic Extension Architecture\"]\n    n_centralized_reference_resolver[\"Centralized Reference Resolver\"]\n    n_cache_invalidation_strategy[\"Cache Invalidation Strategy\"]\n    n_manual_fallback_preservation[\"Manual Fallback Preservation\"]\n    n_dynamic_failure_isolation[\"Dynamic Failure Isolation\"]\n    n_entry_point_migration[\"Entry Point Migration\"]\n    n_measured_vs_estimated_validation[\"Measured-vs-Estimated Validation\"]\n    n_architecture_validation_before_persistence[\"Architecture Validation Before Persistence\"]\n    n_knowledge_capture[\"Knowledge Capture\"]\n    n_automation_session_report[\"Automation Session Report\"]\n    n_automation_completion_status[\"Automation Completion Status\"]\n    n_automation_kernel[\"Automation Kernel\"]\n    n_automation_concern[\"<Automation Concern>\"]\n    n_automation_kernel --> n_capability_degradation\n    n_automation_kernel --> n_scalability_projection\n    n_automation_kernel --> n_dynamic_extension_architecture\n    n_automation_kernel --> n_knowledge_capture\n    n_automation_kernel --> n_entry_point_migration\n    n_automation_kernel --> n_automation_completion_status\n    n_automation_kernel --> n_automation_opportunity_detection\n    n_automation_kernel --> n_convention_strength_analysis\n    n_automation_kernel --> n_intentional_static_separation\n    n_automation_kernel --> n_automation_priority_ordering\n    n_automation_kernel --> n_automation_operation_mode\n    n_automation_kernel --> n_architecture_validation_before_persistence\n    n_automation_kernel --> n_automation_session_report"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-automation",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect static implementation patterns, classify whether they are intentional or problematic, measure maintainability pressure, verify convention strength, and automate only when stability or fallback exists.",
                    "term": "Intent"
                  },
                  {
                    "description": "Static code is not debt by default; automation requires evidence that dynamism reduces maintenance risk without increasing fragility.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StaticPattern → Classification → PressureMetric → ConventionStrength → Automate|RetainStatic|DesignFallback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AutomationReadiness ::= <StaticPattern> \"→\" <OpportunityClassification> \"→\" <MaintainabilityAssessment> \"→\" <ConventionAssessment> \"→\" <AutomationDecision>\nAutomationDecision ::= \"automate\" | \"retain_static\" | \"formalize_convention_first\" | \"manual_fallback_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A static list rewritten as dynamic discovery on sight, adding fragility for no gain.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "static pattern → classify intentional vs problematic → maintainability pressure + convention strength → {automate | retain static | formalize convention first}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-static-to-dynamic-readiness",
            "title": "Static-to-Dynamic Readiness"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Express discovery, reading, searching, validation, persistence, and reporting as semantic operations, then delegate concrete mechanics to runtime adapters.",
                    "term": "Intent"
                  },
                  {
                    "description": "Dynamic architecture must be portable across runtimes by separating automation intent from platform execution.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SemanticVerb → AdapterCapability → RuntimeAction → Evidence",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RuntimeNeutralBoundary ::= <SemanticOperation> \"→\" <AdapterMapping> \"→\" <RuntimeExecution> \"→\" <EvidenceResult>\nSemanticOperation ::= \"DISCOVER_RESOURCES\" | \"READ_RESOURCE\" | \"SEARCH_CONTENT\" | \"ANALYZE_CONTENT\" | \"VALIDATE_ARTIFACT\" | \"PERSIST_ARTIFACT\" | \"REPORT_RESULT\"\nAdapterMapping ::= <CapabilityStatus> \",\" <RuntimeConstraint> \",\" <FallbackPolicy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Automation logic hardcodes a runtime's glob and path, so it runs on one platform only.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "semantic op{DISCOVER/READ/SEARCH/VALIDATE/PERSIST} → adapter maps to the runtime → portable core, no platform mechanics inside",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-runtime-neutral-automation-boundary",
            "title": "Runtime-Neutral Automation Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect operation mode, bind allowed actions, prohibit source mutation outside implementation mode, and emit analysis, design, implementation, or validation artifacts accordingly.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation design and automation execution are separate contracts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DetectMode → BindPermissions → EnforceMutationGate → ExecuteAllowedScope → EmitArtifact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AutomationMode ::= \"analysis_only\" | \"analysis_and_design\" | \"implementation\" | \"validation_only\"\nModeExecution ::= <AutomationMode> \"→\" <PermissionSet> \"→\" <AllowedArtifact>\nPermissionSet ::= \"read_only\" | \"design_only\" | \"write_authorized\" | \"validate_only\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Analysis silently mutates source; a design run also implements.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "detect mode{analysis | design | implementation | validation} → bind permissions → mutation only in implementation mode → mode-legal artifact",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-automation-operation-mode",
            "title": "Automation Operation Mode"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Declare required capabilities, probe availability, emulate missing behavior where safe, disclose unavailable capability, and downgrade confidence or block dependent operations.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation systems must not silently assume filesystem, execution, persistence, validation, or search capabilities.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CapabilityRequirement → Probe → Available|Emulated|Unavailable → ConfidencePolicy",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CapabilityDegradation ::= <RequiredCapabilitySet> \"→\" <CapabilityProbeSet> \"→\" <CapabilityVerdict> \"→\" <ExecutionPolicy>\nCapabilityVerdict ::= \"full\" | \"degraded\" | \"blocked\"\nExecutionPolicy ::= \"execute\" | \"emulate\" | \"skip_with_disclosure\" | \"block\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Automation assumes it can execute and persist, then fails silently when it can't.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "required capabilities → probe → {full | degraded | blocked} → execute | emulate | skip-with-disclosure | block",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-capability-degradation",
            "title": "Capability Degradation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Search target scope for manual registries, hardcoded references, static lists, and duplicated discovery logic; then classify each finding with count, location, role, and maintenance signal.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation candidates emerge from repeated manual coordination points.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TargetScope → DetectionProcedures → PatternGroups → ClassificationRegistry",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "OpportunityDetection ::= <TargetScope> \"→\" <DetectionProcedureSet> \"→\" <PatternClassificationSet>\nDetectionProcedureSet ::= \"manual_registration\" \",\" \"hardcoded_reference\" \",\" \"static_list\" \",\" \"duplicated_discovery\"\nOpportunityClassification ::= <Location> \",\" <PatternType> \",\" <Count> \",\" <MaintenanceEvidence>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Automation targets guessed instead of found from repeated manual coordination points.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "scope → detect{manual registration, hardcoded reference, static list, duplicated discovery} → classify{location, type, count, maintenance signal}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-automation-opportunity-detection",
            "title": "Automation Opportunity Detection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each static pattern, compare size, frequency, stability, and risk; classify small or stable patterns as intentionally static candidates instead of automation debt.",
                    "term": "Intent"
                  },
                  {
                    "description": "Keeping a static list may be correct when the domain is bounded and explicitness improves safety.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StaticFinding → ScaleCheck → ChangeFrequencyCheck → RiskCheck → IntentionalStatic|AutomationCandidate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StaticSeparation ::= <StaticFinding> \"→\" <ScaleMetric> \"→\" <MutationEvidence> \"→\" <RiskAssessment> \"→\" <StaticVerdict>\nStaticVerdict ::= \"intentionally_static_candidate\" | \"automation_candidate\" | \"needs_more_evidence\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [runtime_extensibility](/records/force/runtime-extensibility), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A small, stable, bounded static list flagged as debt and automated away.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "static finding → scale + change-frequency + risk → {intentionally-static candidate | automation candidate | needs more evidence}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-intentional-static-separation",
            "title": "Intentional Static Separation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Measure current item count, estimate growth rate, compare against cognitive and maintenance limits, compute time or units until threshold breach, and assign severity.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation priority should be driven by scale pressure, not aesthetic preference.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CurrentScale + GrowthRate + Limits → BreakingPoint → Severity",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BreakingPoint ::= <CurrentCount> \",\" <GrowthRate> \",\" <LimitSet> \"→\" <ThresholdProjection> \"→\" <PriorityRank>\nLimitSet ::= \"cognitive_limit\" \",\" \"maintenance_limit\" \",\" \"duplication_limit\"\nPriorityRank ::= \"critical\" | \"high\" | \"medium\" | \"low\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[performance_scaling](/records/force/performance-scaling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Automation prioritized by aesthetic preference, not scale pressure.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "current count + growth rate + limits{cognitive, maintenance, duplication} → time until breach → severity",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-breaking-point-calculation",
            "title": "Breaking Point Calculation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert breaking points into urgency scores using severity, projected time-to-break, affected scope, and expected maintenance cost, then sort candidate migrations.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation work should be sequenced by operational impact.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BreakingPoints → UrgencyMetric → ImpactMetric → PriorityOrder",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PriorityOrdering ::= <BreakingPointSet> \"→\" <PriorityScoreSet> \"→\" <SortedAutomationBacklog>\nPriorityScore ::= <PriorityRank> \"+\" <TimeToBreak> \"+\" <AffectedScope> \"+\" <MaintenanceCost>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Migrations tackled in arbitrary order, low-impact first.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "breaking points → urgency{severity + time-to-break + scope + maintenance cost} → sorted backlog",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-automation-priority-ordering",
            "title": "Automation Priority Ordering"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Discover related resources, extract naming tokens and organization patterns, calculate consistency percentages, and mark auto-discovery readiness only when convention strength passes threshold.",
                    "term": "Intent"
                  },
                  {
                    "description": "Convention-based discovery is safe only when conventions are measurable.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RelatedResources → TokenExtraction → ConsistencyMetric → Strength → Readiness",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConventionStrength ::= <ResourceSet> \"→\" <ConventionSignalSet> \"→\" <ConsistencyScore> \"→\" <StrengthVerdict>\nStrengthVerdict ::= \"strong\" | \"moderate\" | \"weak\"\nReadinessRule ::= \"strong → auto_discovery_ready\" | \"moderate → formalize_first\" | \"weak → establish_convention_first\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Auto-discovery built on a naming convention only 60% of files follow.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "related resources → naming tokens + organization → consistency % → {strong → auto-ready | moderate → formalize | weak → establish convention first}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-convention-strength-analysis",
            "title": "Convention Strength Analysis"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Search for inheritance, composition, shared method contracts, and shared schema contracts; group similar implementations; infer interface candidates when implementation count exceeds threshold.",
                    "term": "Intent"
                  },
                  {
                    "description": "Dynamic discovery requires an explicit or inferable contract boundary.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ImplementationSet → ContractSignals → InterfaceCandidate → ExtensionContract",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ExtensionInterfaceDiscovery ::= <ImplementationPatternSet> \"→\" <ContractEvidence> \"→\" <InterfaceCandidateSet>\nContractEvidence ::= \"inheritance\" | \"composition\" | \"common_methods\" | \"common_schema\"\nInterfaceCandidate ::= <InterfaceName> \",\" <ImplementationCount> \",\" <RequiredContractEvidence>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Dynamic discovery attempted with no contract boundary to validate against.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "implementations → contract signals{inheritance, composition, common methods, common schema} → interface candidate when count exceeds threshold",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-extension-interface-discovery",
            "title": "Extension Interface Discovery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Measure current resource counts, project tenfold and hundredfold growth, assess manual maintenance feasibility, and identify where dynamic discovery becomes necessary.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation architecture should be evaluated against future scale, not only current scale.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CurrentScale → 10xProjection → 100xProjection → ManualFeasibility → DiscoveryNeed",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ScalabilityProjection ::= <CurrentScale> \"→\" <GrowthScenarioSet> \"→\" <MaintenanceFeasibilitySet> \"→\" <AutomationNeed>\nGrowthScenarioSet ::= \"10x\" | \"100x\"\nAutomationNeed ::= \"manual_ok\" | \"dynamic_recommended\" | \"dynamic_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [performance_scaling](/records/force/performance-scaling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Automation judged against today's 5 items, not tomorrow's 500.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "current scale → 10x + 100x projection → manual feasibility → {manual ok | dynamic recommended | dynamic required}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-scalability-projection",
            "title": "Scalability Projection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Estimate discovery and loading cost, compare large-scale cost against performance targets, introduce caching only when justified, and record failure modes.",
                    "term": "Intent"
                  },
                  {
                    "description": "Dynamic discovery must not hide runtime performance debt.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ItemCount → DiscoveryCost → LoadingCost → CacheNeed → PerformanceVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DiscoveryPerformanceDesign ::= <ScaleMetric> \"→\" <CostEstimateSet> \"→\" <CacheDecision> \"→\" <FailureModeSet>\nCostEstimateSet ::= \"discovery_cost\" \",\" \"loading_cost\" \",\" \"memory_overhead\"\nCacheDecision ::= \"cache_required\" | \"cache_not_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [performance_scaling](/records/force/performance-scaling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Dynamic discovery ships, hiding a per-startup scan cost that grows with scale.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "item count → {discovery cost, loading cost, memory} vs targets → cache only when justified → failure modes recorded",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-performance-aware-discovery-design",
            "title": "Performance-Aware Discovery Design"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Infer extension contracts, define discovery conventions, validate discovered implementations against the contract, preserve manual registration fallback, and report discovered, skipped, failed, and manual items.",
                    "term": "Intent"
                  },
                  {
                    "description": "Dynamic loading must be contract-validated and observable.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Contract → Discovery → Filter → Validate → Load|Skip → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DynamicExtensionArchitecture ::= <ExtensionContract> \"→\" <DiscoveryMechanism> \"→\" <ContractValidation> \"→\" <LoadingPolicy> \"→\" <ObservabilityReport>\nLoadingPolicy ::= \"load_valid\" | \"skip_invalid\" | \"manual_override\" | \"isolate_failure\"\nObservabilityReport ::= \"discovered_count\" \",\" \"manual_count\" \",\" \"skipped_count\" \",\" \"failed_count\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Implementations loaded dynamically with no contract validation, unobservable.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "contract → discovery → contract-validate → {load valid | skip invalid | manual override | isolate failure} → report{discovered, manual, skipped, failed}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dynamic-extension-architecture",
            "title": "Dynamic Extension Architecture"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Group duplicated hardcoded references, derive resolver names, define scope-safe resolution rules, provide configuration override fallback, and map each old reference to a resolver migration.",
                    "term": "Intent"
                  },
                  {
                    "description": "Hardcoded resource access should be centralized only through validated resolution boundaries.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "HardcodedReferenceGroup → Resolver → ScopeValidation → OverrideFallback → MigrationMap",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ReferenceResolver ::= <ReferenceGroup> \"→\" <ResolverDefinition> \"→\" <ScopePolicy> \"→\" <FallbackOverride> \"→\" <ReplacementMap>\nScopePolicy ::= \"reject_outside_allowed_scope\" | \"require_explicit_approval_for_escape\"\nFallbackOverride ::= \"configuration_override\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [resilience_recovery](/records/force/resilience-recovery), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The same hardcoded path duplicated at a dozen call sites.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "reference group → resolver → scope-safe rule → config override fallback → map each old reference to the resolver",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-centralized-reference-resolver",
            "title": "Centralized Reference Resolver"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define cache keys by scope, convention, adapter version, and implementation identity; invalidate by resource change, explicit request, time expiry, or implementation version change.",
                    "term": "Intent"
                  },
                  {
                    "description": "Caching dynamic discovery is safe only when invalidation semantics are explicit.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CacheSubject → CacheKey → Duration → InvalidationTrigger → Refresh",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CacheStrategy ::= <CacheSubject> \"→\" <CacheKey> \"→\" <CacheDuration> \"→\" <InvalidationPolicy>\nCacheSubject ::= \"discovery_results\" | \"loaded_extensions\" | \"reference_resolution\"\nInvalidationPolicy ::= \"resource_change\" | \"explicit_invalidation\" | \"time_expiry\" | \"implementation_change\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Discovery results cached with no invalidation, serving stale data forever.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "cache subject → key{scope, convention, adapter version, identity} → invalidate on{resource change, explicit, time, implementation change}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-cache-invalidation-strategy",
            "title": "Cache Invalidation Strategy"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Keep explicit registration paths for non-conforming or exceptional implementations, order manual entries deterministically, and report manual items separately from auto-discovered items.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation should reduce manual maintenance, not remove escape hatches.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AutoDiscovery → NonConformingItem → ManualRegistration → DeterministicMerge → Observability",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ManualFallback ::= <DiscoveredSet> \",\" <ManualSet> \"→\" <Validation> \"→\" <DeterministicMerge> \"→\" <FallbackReport>\nManualSet ::= <ExplicitRegistration> | <ExplicitRegistration> \",\" <ManualSet>\nFallbackReport ::= \"manual_items_listed_separately\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Auto-discovery removes the escape hatch — a non-conforming item can't be registered.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "auto-discovery + manual registration for exceptions → deterministic merge → manual items reported separately",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-manual-fallback-preservation",
            "title": "Manual Fallback Preservation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "On individual discovery, loading, or validation failure, isolate the failing item, continue with valid items where safe, and report the failed item with reason.",
                    "term": "Intent"
                  },
                  {
                    "description": "One bad extension must not collapse the whole dynamic system unless marked critical.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ItemFailure → Isolate → ContinueSafeSubset → ReportFailure",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FailureIsolation ::= <ExtensionItem> \"→\" <FailureType> \"→\" <IsolationPolicy> \"→\" <ContinuationPolicy> \"→\" <FailureReport>\nFailureType ::= \"discovery_failure\" | \"loading_failure\" | \"validation_failure\" | \"execution_failure\"\nContinuationPolicy ::= \"continue\" | \"continue_with_warning\" | \"halt_if_systemic_or_critical\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "One bad extension crashes the whole dynamic system.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "item failure{discovery | loading | validation} → isolate the item → continue with valid ones → report the failure; halt only if systemic or critical",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dynamic-failure-isolation",
            "title": "Dynamic Failure Isolation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Locate composition roots, identify manual registrations and hardcoded references, compose updates that use discovery registries and centralized resolvers, and apply only in implementation mode.",
                    "term": "Intent"
                  },
                  {
                    "description": "Dynamic architecture takes effect at composition boundaries.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CompositionRoot → StaticPatternScan → UpdatePlan → Validate → ApplyOrPlan",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EntryPointMigration ::= <CompositionRootSet> \"→\" <StaticPatternSet> \"→\" <EntryPointUpdate> \"→\" <Validation> \"→\" <PersistencePolicy>\nPersistencePolicy ::= \"persist_only_in_implementation_mode\" | \"emit_plan_only\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Discovery registries built but the composition root still hardcodes registrations.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "composition roots → scan static patterns → update to discovery + resolver → validate → persist only in implementation mode",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-entry-point-migration",
            "title": "Entry Point Migration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Run validation when execution is available; otherwise estimate from static evidence, label the result as estimated, and never report estimated performance as measured.",
                    "term": "Intent"
                  },
                  {
                    "description": "Validation truthfulness requires provenance on every metric.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ValidationNeed → CanMeasure? → MeasuredResult|EstimatedResult → ProvenanceLabel",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ValidationProvenance ::= <ValidationCheck> \"→\" <CapabilityCheck> \"→\" <ValidationResult> \"→\" <Provenance>\nProvenance ::= \"measured\" | \"estimated\" | \"unavailable\"\nRule ::= \"estimated != measured\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [performance_scaling](/records/force/performance-scaling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An estimated performance number reported as if it were measured.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "validation need → can measure? → {measured | estimated (labeled)} → estimated is never reported as measured",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-measured-vs-estimated-validation",
            "title": "Measured-vs-Estimated Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Validate generated contracts, registries, resolvers, plans, and entry point updates against schemas and architectural rules before saving or modifying any artifact.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generated architecture must satisfy structure before it becomes state.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GeneratedArtifact → SchemaValidation → ArchitectureValidation → Persist|Reject",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PrePersistenceValidation ::= <GeneratedArtifact> \"→\" <SchemaCheck> \"→\" <ArchitectureCheck> \"→\" <PersistenceDecision>\nPersistenceDecision ::= \"persist\" | \"reject\" | \"emit_unpersisted_artifact\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A generated resolver saved before it is checked against the architecture rules.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "generated artifact → schema check → architecture check → {persist | reject | emit unpersisted}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-validation-before-persistence",
            "title": "Architecture Validation Before Persistence"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load or initialize the automation knowledge base, merge new detections, conventions, scalability concerns, architecture designs, migration history, and validation outcomes, then persist when capability exists.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation systems improve when each session updates durable architectural memory.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SessionFindings → KnowledgeMerge → PersistenceCheck → Store|ReportPreparedUpdate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "KnowledgeCapture ::= <KnowledgeBase> \",\" <SessionFindings> \"→\" <MergedKnowledge> \"→\" <KnowledgePersistenceStatus>\nSessionFindings ::= <PatternClassifications> \",\" <ConventionReport> \",\" <ScalabilityReport> \",\" <ArchitectureDesign> \",\" <MigrationStatus>\nKnowledgePersistenceStatus ::= \"persisted\" | \"prepared_not_persisted\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [performance_scaling](/records/force/performance-scaling), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Each automation session forgets the last — the same analysis re-run.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "knowledge base + session findings → merge{detections, conventions, scale, designs, migration, validation} → persist when capability exists",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-knowledge-capture",
            "title": "Knowledge Capture"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Summarize detected patterns, convention readiness, scalability pressure, dynamic architecture, generated artifacts, implementation status, measured versus estimated validation, and limitations.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation reports must separate design intent from applied implementation and disclose degraded capability.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SessionArtifacts → Metrics → ValidationProvenance → Limitations → UserReport",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AutomationReport ::= <DetectionSummary> \",\" <ConventionSummary> \",\" <ScalabilitySummary> \",\" <ArchitectureSummary> \",\" <ImplementationSummary> \",\" <PerformanceValidationSummary> \",\" <KnowledgeUpdateSummary> \",\" <Limitations>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [performance_scaling](/records/force/performance-scaling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A report that conflates the design intent with what was applied.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "session → {detection, convention, scale, architecture, implementation, measured-vs-estimated validation, limitations} → report separating design from applied",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-automation-session-report",
            "title": "Automation Session Report"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Mark the static-to-dynamic automation complete only when convention strength passed, a manual fallback is preserved, performance and architecture validation passed with measured provenance, and any degraded capability is disclosed; otherwise report planned-only or blocked.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automation completion is a verified terminal state — never a claim while convention, fallback, validation, or capability evidence is absent.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CompletionCriteria → EvidenceCheck → CapabilityDisclosure → Complete|PlannedOnly|Blocked",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AutomationCompletionStatus ::= <CompletionCriteriaSet> \"→\" <EvidenceSet> \"→\" <CompletionVerdict>\nCompletionVerdict ::= \"automation_complete\" | \"planned_only\" | \"blocked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Automation Kernel](/records/algorithms/automation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Automated' declared while the convention was never formalized, no fallback was preserved, and the validation was estimated not measured.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "convention strong + fallback preserved + performance validated + architecture validated + capability disclosed → complete; else planned_only | blocked",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-automation-completion-status",
            "title": "Automation Completion Status"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load configuration, verify capabilities, initialize knowledge, detect static patterns, classify automation opportunity, analyze conventions, assess scale and performance, design dynamic architecture, optionally implement, validate, update knowledge, and report.",
                    "term": "Intent"
                  },
                  {
                    "description": "Static-to-dynamic refactoring is a gated evidence pipeline that only automates when convention, fallback, performance, and validation contracts are satisfied.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Init → Capabilities → Detect → Classify → Conventions → Scale → Design → Implement? → Validate → Knowledge → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AutomationKernel ::= <Initialization> \"→\" <CapabilityDegradation> \"→\" <OpportunityDetection> \"→\" <StaticSeparation> \"→\" <BreakingPoint> \"→\" <ConventionStrength> \"→\" <ScalabilityProjection> \"→\" <DynamicExtensionArchitecture> \"→\" <ReferenceResolver> \"→\" <OptionalImplementation> \"→\" <ValidationProvenance> \"→\" <KnowledgeCapture> \"→\" <AutomationReport>\nOptionalImplementation ::= \"skip_unless_implementation_mode\" | <EntryPointMigration>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Capability Degradation](/records/algorithms/capability-degradation), [Scalability Projection](/records/algorithms/scalability-projection), [Dynamic Extension Architecture](/records/algorithms/dynamic-extension-architecture), [Knowledge Capture](/records/algorithms/knowledge-capture), [Entry Point Migration](/records/algorithms/entry-point-migration), [Automation Completion Status](/records/algorithms/automation-completion-status)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [performance_scaling](/records/force/performance-scaling), [streaming_dataflow](/records/force/streaming-dataflow)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Convention over Configuration](/records/architecture/convention-over-configuration)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Automation Opportunity Detection](/records/algorithms/automation-opportunity-detection)",
                    "term": "orient"
                  },
                  {
                    "description": "[Convention Strength Analysis](/records/algorithms/convention-strength-analysis)",
                    "term": "see"
                  },
                  {
                    "description": "[Intentional Static Separation](/records/algorithms/intentional-static-separation)",
                    "term": "derive"
                  },
                  {
                    "description": "[Automation Priority Ordering](/records/algorithms/automation-priority-ordering)",
                    "term": "intent"
                  },
                  {
                    "description": "[Automation Operation Mode](/records/algorithms/automation-operation-mode)",
                    "term": "constrain"
                  },
                  {
                    "description": "[Dynamic Extension Architecture](/records/algorithms/dynamic-extension-architecture)",
                    "term": "project"
                  },
                  {
                    "description": "[Entry Point Migration](/records/algorithms/entry-point-migration)",
                    "term": "act"
                  },
                  {
                    "description": "[Architecture Validation Before Persistence](/records/algorithms/architecture-validation-before-persistence)",
                    "term": "verify"
                  },
                  {
                    "description": "[Automation Session Report](/records/algorithms/automation-session-report)",
                    "term": "commit"
                  },
                  {
                    "description": "[Automation Completion Status](/records/algorithms/automation-completion-status)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A static pattern rewritten dynamic by intuition, with no convention, fallback, or validation.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "init → capabilities → detect → classify → conventions → scale → design → optional implement → validate → knowledge → report",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Capability Degradation](/records/algorithms/capability-degradation), [Scalability Projection](/records/algorithms/scalability-projection), [Dynamic Extension Architecture](/records/algorithms/dynamic-extension-architecture), [Knowledge Capture](/records/algorithms/knowledge-capture), [Entry Point Migration](/records/algorithms/entry-point-migration), [Automation Completion Status](/records/algorithms/automation-completion-status)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-automation-kernel",
            "title": "Automation Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [automation](/records/algorithms-domain/automation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Detect static coordination point> → <Classify intentional vs problematic> → <Measure scale pressure> → <Verify convention strength> → <Design dynamic contract> → <Preserve fallback> → <Validate performance and architecture> → <Capture knowledge>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any static implementation should become dynamic only when the domain has stable conventions, bounded failure modes, observable discovery, and safe manual fallback.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Static → Evidence → Convention → Contract → Discovery → Fallback → Validation → Memory",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AutomationConcern ::= <StaticPattern> \"→\" <EvidenceClassification> \"→\" <ConventionReadiness> \"→\" <DynamicArchitecture> \"→\" <FallbackPolicy> \"→\" <PerformanceValidation> \"→\" <KnowledgeUpdate> \"→\" <Report>\nDynamicArchitecture ::= <ExtensionContract> \",\" <DiscoveryMechanism> \",\" <CentralizedResolver> \",\" <CachingPolicy> \",\" <FailureIsolation>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [observability_traceability](/records/force/observability-traceability), [performance_scaling](/records/force/performance-scaling), [domain_boundary](/records/force/domain-boundary), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the automation kernel's gates on convention strength, fallback preservation, performance and validation before persistence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every static list, switch or registry the automation pass considers",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or its conventions change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The kernel refuses to automate a candidate whose convention, fallback or validation contract fails",
                    "term": "Refusal"
                  },
                  {
                    "description": "The discovery and startup reports dynamic loading must emit, which locate an extension that failed to load",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The discovered convention, which replaces the static list and which the startup report is compared against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-automation-concern",
            "title": "<Automation Concern>"
          }
        ],
        "title": "Automation"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_runtime_agnostic_adapter_boundary[\"Runtime-Agnostic Adapter Boundary\"]\n    n_operation_mode_gating[\"Operation Mode Gating\"]\n    n_capability_disclosure[\"Capability Disclosure\"]\n    n_pattern_classification[\"Pattern Classification\"]\n    n_refactor_intent_classification[\"Refactor Intent Classification\"]\n    n_research_guidance[\"Research Guidance\"]\n    n_iterative_variation_discovery[\"Iterative Variation Discovery\"]\n    n_detection_registry[\"Detection Registry\"]\n    n_canonical_variation_selection[\"Canonical Variation Selection\"]\n    n_architecture_compliance_targeting[\"Architecture Compliance Targeting\"]\n    n_existing_solution_conflict[\"Existing Solution Conflict\"]\n    n_migration_action_mapping[\"Migration Action Mapping\"]\n    n_atomic_refactor_phase[\"Atomic Refactor Phase\"]\n    n_replacement_refactor[\"Replacement Refactor\"]\n    n_additive_debt_gate[\"Additive Debt Gate\"]\n    n_rollback_centered_execution[\"Rollback-Centered Execution\"]\n    n_pattern_specific_validation[\"Pattern-Specific Validation\"]\n    n_zero_duplication_verification[\"Zero-Duplication Verification\"]\n    n_validation_score[\"Validation Score\"]\n    n_developer_decision_gate[\"Developer Decision Gate\"]\n    n_completion_truthfulness[\"Completion Truthfulness\"]\n    n_centralization_report[\"Centralization Report\"]\n    n_centralization_kernel[\"Centralization Kernel\"]\n    n_centralization_concern[\"<Centralization Concern>\"]\n    n_canonical_variation_selection --> n_detection_registry\n    n_migration_action_mapping --> n_detection_registry\n    n_centralization_kernel --> n_pattern_classification\n    n_centralization_kernel --> n_research_guidance\n    n_centralization_kernel --> n_runtime_agnostic_adapter_boundary\n    n_centralization_kernel --> n_canonical_variation_selection\n    n_centralization_kernel --> n_operation_mode_gating\n    n_centralization_kernel --> n_migration_action_mapping\n    n_centralization_kernel --> n_replacement_refactor\n    n_centralization_kernel --> n_zero_duplication_verification\n    n_centralization_kernel --> n_centralization_report\n    n_centralization_kernel --> n_completion_truthfulness"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-centralization",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Express all workflow operations as semantic verbs, delegate runtime-specific mechanics to adapters, and prohibit repository-, shell-, framework-, model-, or path-specific logic from entering the core contract.",
                    "term": "Intent"
                  },
                  {
                    "description": "Portable architecture separates intent from execution substrate.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SemanticOperation → AdapterMapping → ConcreteExecution → EvidenceResult",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AdapterBoundary ::= <SemanticOperation> \"→\" <AdapterMapping> \"→\" <RuntimeAction> \"→\" <Result>\nSemanticOperation ::= \"DISCOVER_RESOURCES\" | \"READ_RESOURCE\" | \"SEARCH_CONTENT\" | \"APPLY_MIGRATION\" | \"VALIDATE_ARTIFACT\" | \"REPORT_RESULT\"\nAdapterMapping ::= <CapabilityStatus> \",\" <RuntimeConstraint> \",\" <FallbackPolicy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Centralization logic hardcodes a repo path and shell command, so it runs on one setup only.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "semantic op{DISCOVER/READ/SEARCH/APPLY_MIGRATION/VALIDATE} → adapter maps to the runtime → core carries no repo/shell/path/model",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-runtime-agnostic-adapter-boundary",
            "title": "Runtime-Agnostic Adapter Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect the requested operation mode, bind permitted capabilities, reject source mutation outside execution mode, and emit only artifacts valid for the current mode.",
                    "term": "Intent"
                  },
                  {
                    "description": "Analysis, planning, execution, and validation are distinct contracts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DetectMode → BindPermissions → EnforceMutationPolicy → ExecuteModeScope → EmitModeArtifact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MutationMode ::= \"analysis_only\" | \"analysis_and_plan\" | \"execute_migration\" | \"validation_only\"\nModeGate ::= <MutationMode> \"→\" <PermissionSet> \"→\" <ForbiddenActionSet> \"→\" <AllowedOutput>\nForbiddenActionSet ::= \"NoSourceMutationUnlessExecuteMigration\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An analysis run silently migrates source; a plan run also executes.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "detect mode{analysis | plan | execute-migration | validation} → bind permissions → source mutation only in execute mode → mode-legal artifact",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-operation-mode-gating",
            "title": "Operation Mode Gating"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Declare required capabilities, probe or emulate each capability, mark unavailable capabilities explicitly, and downgrade confidence where capability gaps affect evidence quality.",
                    "term": "Intent"
                  },
                  {
                    "description": "A workflow cannot silently rely on unavailable infrastructure.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RequiredCapability → Probe → Available|Unavailable|Emulated → ConfidenceImpact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CapabilityModel ::= <CapabilitySet> \"→\" <CapabilityStatusSet> \"→\" <CapabilityVerdict>\nCapabilityStatus ::= \"available\" | \"unavailable\" | \"emulated\"\nCapabilityVerdict ::= \"full\" | \"degraded\" | \"blocked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Centralization assumes it can search and write, failing silently when it can't.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "required capabilities → probe/emulate → {available | unavailable | emulated} → confidence downgraded on a gap",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-capability-disclosure",
            "title": "Capability Disclosure"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract the target pattern description, classify it into a known centralization category, select a search strategy, select a validation strategy, and request the developer's decision only when classification remains ambiguous.",
                    "term": "Intent"
                  },
                  {
                    "description": "Search must be shaped by pattern type before broad discovery begins.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PatternDescription → ClassificationEvidence → PatternType → StrategySet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PatternClassification ::= <PatternDescription> \"→\" <PatternType> \"→\" <SearchStrategy> \"→\" <ValidationStrategy>\nPatternType ::= \"STYLE_PATTERN\" | \"UTILITY\" | \"CONSTANT\" | \"CONFIGURATION\" | \"STRUCTURAL_CODE\" | \"CROSS_RESOURCE_DEPENDENCY\" | \"UNKNOWN\"\nStrategySet ::= <SearchStrategy> \",\" <RefactorApproach> \",\" <ValidationStrategy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Broad discovery launched before knowing what kind of pattern it is.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "pattern description → type{style | utility | constant | config | structural | cross-resource} → search strategy + validation strategy",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pattern-classification",
            "title": "Pattern Classification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Determine whether the scattered pattern represents a duplication problem, default multiple-occurrence problems to replacement refactor, and require explicit debt justification for additive enhancement.",
                    "term": "Intent"
                  },
                  {
                    "description": "Centralization is replacement, not merely abstraction creation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OccurrenceCount + PatternIntent → RefactorType → DebtPolicy",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RefactorIntent ::= <DuplicationEvidence> \"→\" <RefactorType> \"→\" <DebtPolicy>\nRefactorType ::= \"REPLACEMENT_REFACTOR\" | \"ADDITIVE_ENHANCEMENT\" | \"CONFIGURATION_UPDATE\" | \"DOCUMENTATION_ONLY\" | \"REQUIRES_ANALYSIS\"\nDebtPolicy ::= \"zero_duplication_required\" | \"explicit_retained_debt_required\" | \"documentation_sufficient\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A scattered pattern 'centralized' by adding an abstraction beside the old copies.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "occurrences + intent → refactor type{replacement | additive | config | doc} → replacement default; additive needs explicit debt justification",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-refactor-intent-classification",
            "title": "Refactor Intent Classification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Query available external or local guidance, extract best practices and anti-patterns, score research quality, and disclose reduced confidence when current external research is unavailable.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architectural plans must distinguish evidence-backed guidance from local-only inference.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GuidanceNeed → ExternalOrLocalResearch → ExtractPrinciples → ScoreConfidence → ReportLimitations",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ResearchGuidance ::= <ResearchQuerySet> \"→\" <SourceSet> \"→\" <BestPracticeSet> \"→\" <AntiPatternSet> \"→\" <ConfidenceScore>\nSourceSet ::= <ExternalCurrentSources> | <LocalKnowledgeSources> | <Unavailable>\nConfidenceScore ::= <SourceCount> \"+\" <SourceQuality> \"+\" <Recency> \"+\" <ArchitectureAlignment>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A plan built on local inference presented as best practice.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "guidance need → external or local research → best practices + anti-patterns → confidence score → disclose local-only limitation",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-research-guidance",
            "title": "Research Guidance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Search for the primary pattern, inspect match context, infer variants, add new variants to the search set, and repeat until no new variations appear or the iteration cap is reached.",
                    "term": "Intent"
                  },
                  {
                    "description": "Duplicates rarely appear in one exact form; centralization must discover variation families.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PrimaryPattern → Search → ContextRead → VariationExtract → ExpandedSearch → FixedPoint",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VariationDiscovery ::= <SearchPatternSet> \"→\" <MatchSet> \"→\" <ContextSet> \"→\" <VariationSet> \"→\" <SearchPatternSet>\nSearchLoop ::= <VariationDiscovery> \"until\" (\"NoNewVariations\" | \"IterationCapReached\")\nVariationSet ::= <PrimaryVariation> | <PrimaryVariation> \",\" <DerivedVariationSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "One exact form of the duplicate found; its variants missed.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "primary pattern → search → read context → infer variants → expand the search set → repeat until no new variations (or cap)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-iterative-variation-discovery",
            "title": "Iterative Variation Discovery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For every discovered occurrence, record resource, location, local context, matched pattern, extracted value, occurrence role, variation type, and discovery iteration.",
                    "term": "Intent"
                  },
                  {
                    "description": "Migration correctness depends on a complete occurrence ledger.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Match → Context → OccurrenceRecord → Registry",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DetectionRegistry ::= <OccurrenceRecord> | <OccurrenceRecord> \",\" <DetectionRegistry>\nOccurrenceRecord ::= <Resource> \",\" <Location> \",\" <Pattern> \",\" <Snippet> \",\" <ContextBefore> \",\" <ContextAfter> \",\" <Value> \",\" <OccurrenceRole> \",\" <VariationType> \",\" <Iteration>\nVariationType ::= \"primary\" | \"variant\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Canonical Variation Selection](/records/algorithms/canonical-variation-selection), [Migration Action Mapping](/records/algorithms/migration-action-mapping)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Occurrences half-tracked, so migration misses sites.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "each match + context → occurrence record{resource, location, matched pattern, value, role, variation type, iteration} → complete ledger",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-detection-registry",
            "title": "Detection Registry"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compare all detected variations by frequency, completeness, architectural fitness, and semantic coverage, then select the canonical implementation from evidence rather than preference.",
                    "term": "Intent"
                  },
                  {
                    "description": "The centralized form must be derived from observed project semantics.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DetectionRegistry → VariationMetrics → CanonicalCandidate → CanonicalVariation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CanonicalSelection ::= <DetectionRegistry> \"→\" <VariationMetricSet> \"→\" <CanonicalVariation>\nVariationMetricSet ::= \"frequency\" \",\" \"structural_completeness\" \",\" \"semantic_coverage\" \",\" \"architecture_fit\"\nCanonicalVariation ::= <EvidenceDerivedImplementationForm>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Detection Registry](/records/algorithms/detection-registry)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The centralized form chosen by preference, not by observed project semantics.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "detection registry → metrics{frequency, completeness, semantic coverage, architecture fit} → canonical form derived from evidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Detection Registry](/records/algorithms/detection-registry)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-canonical-variation-selection",
            "title": "Canonical Variation Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load relevant architecture and validation guidance, inspect existing centralized patterns, check naming and capacity constraints, detect conflicts, and select a justified centralization target.",
                    "term": "Intent"
                  },
                  {
                    "description": "A single source of truth must live in the correct architectural boundary.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PatternType → ArchitectureRules → ExistingPatternScan → ConflictCheck → TargetSelection",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ArchitectureTargeting ::= <PatternType> \"→\" <GuidanceSet> \"→\" <ExistingCentralizationSet> \"→\" <ComplianceCheckSet> \"→\" <CentralizationTarget>\nComplianceCheckSet ::= \"naming\" \",\" \"artifact_size\" \",\" \"folder_capacity\" \",\" \"dependency_direction\" \",\" \"single_responsibility\"\nCentralizationTarget ::= <Category> \",\" <LocationPolicy> \",\" <NamingConvention> \",\" <ReferenceMethod>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A single source of truth placed in the wrong architectural boundary.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "pattern type → guidance → existing centralized patterns → checks{naming, size, capacity, dependency direction, SRP} → justified target",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-architecture-compliance-targeting",
            "title": "Architecture Compliance Targeting"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Search existing centralized locations for the same or overlapping pattern, classify whether to reuse, extend, create a distinct target, or cancel, and require the developer's decision when conflict resolution is not mechanically safe.",
                    "term": "Intent"
                  },
                  {
                    "description": "Avoid creating a second source of truth while attempting centralization.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ExistingPatternSearch → ConflictDetected → ResolutionOptions → Decision",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConflictResolution ::= <DuplicateCheck> \"→\" <ConflictState> \"→\" <Resolution>\nConflictState ::= \"none\" | \"overlap\" | \"duplicate\" | \"ambiguous\"\nResolution ::= \"reuse_existing\" | \"extend_existing\" | \"create_distinct_target\" | \"cancel\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A second source of truth created because an existing one was never searched.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "search existing centralized locations → conflict{none | overlap | duplicate | ambiguous} → {reuse | extend | distinct | cancel}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-existing-solution-conflict",
            "title": "Existing Solution Conflict"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert every detection-registry occurrence into an explicit migration action, including old content, replacement strategy, skip policy, and justification requirement.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every occurrence must be migrated or explicitly justified.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DetectionRegistry → MigrationActionSet → CoverageCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MigrationMapping ::= <DetectionRegistry> \"→\" <MigrationActionSet>\nMigrationAction ::= <Resource> \",\" <Location> \",\" <OccurrenceRole> \",\" <OldContent> \",\" <NewContentStrategy> \",\" <MigrationStatus> \",\" <SkipJustificationPolicy>\nMigrationStatus ::= \"pending\" | \"migrated\" | \"skipped_with_justification\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Detection Registry](/records/algorithms/detection-registry)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Some occurrences migrated, others silently left behind.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "detection registry → a migration action per occurrence{old content, replacement strategy, skip policy + justification} → every occurrence migrated or justified",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Detection Registry](/records/algorithms/detection-registry)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-migration-action-mapping",
            "title": "Migration Action Mapping"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Divide the refactor into ordered phases, attach actions, attach verification criteria, attach rollback behavior, and prevent progression until the phase verification passes.",
                    "term": "Intent"
                  },
                  {
                    "description": "Refactoring should advance through verified checkpoints, not broad unverified edits.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phase → Actions → Verification → Pass|Rollback → NextPhase",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RefactorPhase ::= <PhaseNumber> \",\" <PhaseName> \",\" <ActionSet> \",\" <VerificationSet> \",\" <RollbackStrategy>\nPhaseTransition ::= <RefactorPhase> \"→\" (\"NextPhase\" | \"RollbackAndStop\")\nVerificationSet ::= <Check> | <Check> \",\" <VerificationSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A broad unverified edit across all sites at once.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "phases → actions + verification + rollback per phase → no progression until the phase verification passes",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-atomic-refactor-phase",
            "title": "Atomic Refactor Phase"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Create the centralized implementation, establish reference infrastructure, migrate all occurrences, delete old definitions, verify zero duplication, and run final validation.",
                    "term": "Intent"
                  },
                  {
                    "description": "Zero-debt centralization requires replacement plus deletion plus verification.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Centralize → Reference → Migrate → DeleteOld → VerifyZeroDuplication → Validate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ReplacementRefactor ::= <CreateCentralImplementation> \"→\" <UpdateReferenceInfrastructure> \"→\" <MigrateOccurrences> \"→\" <DeleteOldDefinitions> \"→\" <ZeroDuplicationCheck> \"→\" <FinalValidation>\nCompletionCondition ::= \"all_occurrences_migrated_or_justified\" \",\" \"no_unapproved_old_patterns\" \",\" \"validation_passed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An abstraction created but the old copies remain — two sources of truth.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "centralize → reference infra → migrate all → delete old definitions → verify zero duplication → final validation",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-replacement-refactor",
            "title": "Replacement Refactor"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "When a proposed abstraction leaves old patterns in place, require explicit approval, document retained debt, define deprecation conditions, and prohibit calling the result complete centralization.",
                    "term": "Intent"
                  },
                  {
                    "description": "Additive enhancement is not centralization unless debt is acknowledged and bounded.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AdditivePlan → DebtDisclosure → Approval → DeprecationPlan → IncompleteOrDebtAcceptedStatus",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AdditiveDebtGate ::= <AdditiveEnhancement> \"→\" <DebtRecord> \"→\" <UserApproval> \"→\" <DeprecationPlan>\nDebtRecord ::= <RetainedPatternSet> \",\" <Reason> \",\" <OwnerOrTrigger> \",\" <ExpirationOrReviewCondition>\nCentralizationStatus ::= \"not_zero_debt\" | \"approved_debt\" | \"canceled\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Centralized' declared while the old patterns are still live and unowned.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "additive enhancement → disclose retained debt → approval → deprecation plan → never called complete centralization",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-additive-debt-gate",
            "title": "Additive Debt Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Before each destructive or high-risk phase, create a checkpoint, execute actions, verify results, and roll back immediately on critical action or verification failure.",
                    "term": "Intent"
                  },
                  {
                    "description": "Migration safety requires a recovery path at every phase boundary.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Checkpoint → ExecutePhase → VerifyPhase → Commit|Rollback",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RollbackExecution ::= <Checkpoint> \"→\" <ActionExecution> \"→\" <Verification> \"→\" <PhaseOutcome>\nPhaseOutcome ::= \"commit_phase\" | \"rollback_and_halt\"\nRollbackTrigger ::= \"action_failure\" | \"verification_failure\" | \"critical_invariant_failure\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [streaming_dataflow](/records/force/streaming-dataflow), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A destructive migration phase runs with no recovery path.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "before each risky phase → checkpoint → execute → verify → commit | rollback on{action | verification | critical-invariant} failure",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-rollback-centered-execution",
            "title": "Rollback-Centered Execution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Select validation checks by pattern type, execute or mark each unavailable, verify architecture compliance, check all known variations for orphaned duplicates, and compute validation score.",
                    "term": "Intent"
                  },
                  {
                    "description": "Validation must match what was centralized.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PatternType → ValidationSet → ExecuteChecks → DuplicationScan → Score → Status",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PatternValidation ::= <PatternType> \"→\" <ValidationCheckSet> \"→\" <ValidationResultSet> \"→\" <RemainingIssueSet> \"→\" <FinalStatus>\nValidationCheckSet ::= <PrimaryValidation> \",\" <SecondaryValidationSet> \",\" <ArchitectureCompliance> \",\" <ZeroDuplicationCheck>\nFinalStatus ::= \"complete\" | \"incomplete\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Validation runs generic checks unrelated to what was centralized.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "pattern type → matched validation set → execute → scan every known variation for orphans → validation score",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pattern-specific-validation",
            "title": "Pattern-Specific Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Search every known primary and variant pattern outside the approved centralized location, classify remaining matches as approved or orphaned, and require zero unapproved matches for replacement refactors.",
                    "term": "Intent"
                  },
                  {
                    "description": "A single source of truth is invalid if old sources still exist.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SearchPatterns → ExcludeCentralTarget → RemainingMatches → Approved?|Issue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ZeroDuplication ::= <KnownVariationSet> \"→\" <ProjectSearch> \"→\" <RemainingMatchSet> \"→\" <DuplicationVerdict>\nProjectSearch ::= \"search_all_modules_except_approved_central_location\"\nDuplicationVerdict ::= \"zero_unapproved_duplication\" | \"remaining_duplicate_or_orphan\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A single source of truth declared while old sources still exist elsewhere.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "known primary + variant patterns → search all modules except the approved central location → zero unapproved matches required",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-zero-duplication-verification",
            "title": "Zero-Duplication Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Count total validation checks, count passed checks, divide safely, and mark complete only when the score is perfect and no remaining issues exist.",
                    "term": "Intent"
                  },
                  {
                    "description": "Numerical validation is useful only when combined with issue absence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Checks → PassedChecks → SafeDivide → Score → Complete|Incomplete",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ValidationScore ::= <TotalChecks> \",\" <PassedChecks> \"→\" <SafeDivide> \"→\" <ScorePercent>\nCompletionRule ::= \"ScorePercent == 100\" \"AND\" \"RemainingIssues == 0\"\nStatus ::= \"complete\" | \"incomplete\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A 90% score reported as complete while issues remain.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "total checks + passed → safe divide → score; complete only when score == 100 AND remaining issues == 0",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-validation-score",
            "title": "Validation Score"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Request the developer's decision before destructive, ambiguous, conflict-prone, additive-with-debt, or high-risk actions, then bind the selected decision into subsequent plan state.",
                    "term": "Intent"
                  },
                  {
                    "description": "Ambiguity and risk require explicit governance.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RiskCondition → DecisionOptions → DeveloperDecision → BoundPlanState",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DeveloperDecisionGate ::= <DecisionTrigger> \"→\" <OptionSet> \"→\" <SelectedOption> \"→\" <PlanUpdate>\nDecisionTrigger ::= \"ambiguous_classification\" | \"existing_solution_conflict\" | \"additive_debt\" | \"destructive_action\" | \"high_risk_refactor\"\nOptionSet ::= <Option> | <Option> \",\" <OptionSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A destructive or ambiguous action taken without governance.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "risk{ambiguous | conflict | additive-debt | destructive | high-risk} → options → developer decision → bound into plan state",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-developer-decision-gate",
            "title": "Developer Decision Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Mark centralization complete only if all critical criteria pass, all old patterns are removed or justified, zero duplication is verified, validation evidence is recorded, and remaining issues are empty.",
                    "term": "Intent"
                  },
                  {
                    "description": "Completion is a verified state, not a narrative claim.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CriteriaSet → EvidenceSet → RemainingIssuesCheck → Complete|Incomplete",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CompletionContract ::= <CriticalCriteriaSet> \"→\" <EvidenceSet> \"→\" <RemainingIssueSet> \"→\" <CompletionVerdict>\nCompletionVerdict ::= \"centralization_complete\" | \"planned_only\" | \"incomplete\" | \"blocked\"\nCentralizationComplete ::= \"single_source_of_truth_verified\" \",\" \"zero_unapproved_duplication\" \",\" \"validation_passed\" \",\" \"limitations_disclosed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Done' asserted while duplication and validation evidence are missing.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "critical criteria + old patterns removed/justified + zero duplication + validation evidence + no remaining issues → complete; else planned/incomplete/blocked",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-completion-truthfulness",
            "title": "Completion Truthfulness"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compose a final report containing classification, research confidence, detection metrics, architecture decision, plan, execution status, validation score, remaining issues, artifact references, and unavailable capabilities.",
                    "term": "Intent"
                  },
                  {
                    "description": "Reporting must preserve the evidence trail and distinguish planned work from executed work.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "WorkflowArtifacts → Metrics → Limitations → Status → UserReport",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "UserReport ::= <ClassificationSummary> \",\" <ResearchSummary> \",\" <DetectionSummary> \",\" <ArchitectureSummary> \",\" <PlanSummary> \",\" <ExecutionSummary> \",\" <ValidationSummary> \",\" <ArtifactReferences> \",\" <Limitations>\nExecutionSummary ::= \"executed\" | \"not_executed_planned_only\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A report that conflates planned work with executed work.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "artifacts → {classification, research confidence, detection metrics, architecture decision, plan, execution status, validation score, limitations} → planned vs executed distinguished",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-centralization-report",
            "title": "Centralization Report"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Initialize runtime context, classify the target pattern, gather research, discover all variations, analyze architecture, build a refactor plan, optionally execute migration, validate zero duplication, and report status.",
                    "term": "Intent"
                  },
                  {
                    "description": "Centralization is a gated evidence machine that transforms scattered implementation into verified single-source-of-truth architecture.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Init → Classify → Research → DetectVariations → AnalyzeArchitecture → Plan → Execute? → Validate → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CentralizationKernel ::= <Initialization> \"→\" <PatternClassification> \"→\" <ResearchGuidance> \"→\" <VariationDiscovery> \"→\" <ArchitectureTargeting> \"→\" <MigrationMapping> \"→\" <RefactorPlan> \"→\" <OptionalExecution> \"→\" <PatternValidation> \"→\" <UserReport>\nOptionalExecution ::= \"skip_unless_execute_migration\" | <RollbackExecution>\nRefactorPlan ::= <RefactorPhaseSet> \",\" <MigrationActionSet> \",\" <VerificationChecklist> \",\" <RollbackStrategy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Pattern Classification](/records/algorithms/pattern-classification), [Research Guidance](/records/algorithms/research-guidance)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Canonical Config Resolution](/records/algorithms/canonical-config-resolution), [Type-Migration Centralization](/records/algorithms/type-migration-centralization)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Single Source of Truth](/records/architecture/single-source-of-truth)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Runtime-Agnostic Adapter Boundary](/records/algorithms/runtime-agnostic-adapter-boundary)",
                    "term": "orient"
                  },
                  {
                    "description": "[Research Guidance](/records/algorithms/research-guidance)",
                    "term": "see"
                  },
                  {
                    "description": "[Pattern Classification](/records/algorithms/pattern-classification)",
                    "term": "derive"
                  },
                  {
                    "description": "[Canonical Variation Selection](/records/algorithms/canonical-variation-selection)",
                    "term": "intent"
                  },
                  {
                    "description": "[Operation Mode Gating](/records/algorithms/operation-mode-gating)",
                    "term": "constrain"
                  },
                  {
                    "description": "[Migration Action Mapping](/records/algorithms/migration-action-mapping)",
                    "term": "project"
                  },
                  {
                    "description": "[Replacement Refactor](/records/algorithms/replacement-refactor)",
                    "term": "act"
                  },
                  {
                    "description": "[Zero-Duplication Verification](/records/algorithms/zero-duplication-verification)",
                    "term": "verify"
                  },
                  {
                    "description": "[Centralization Report](/records/algorithms/centralization-report)",
                    "term": "commit"
                  },
                  {
                    "description": "[Completion Truthfulness](/records/algorithms/completion-truthfulness)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Scattered code merged by intuition, old copies left, never verified.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "init → classify → research → discover variations → analyze architecture → plan → optional execute → validate zero duplication → report",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Pattern Classification](/records/algorithms/pattern-classification), [Research Guidance](/records/algorithms/research-guidance)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-centralization-kernel",
            "title": "Centralization Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [centralization](/records/algorithms-domain/centralization)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Detect context> → <Classify pattern> → <Discover all occurrences and variants> → <Choose canonical source> → <Map migration> → <Gate execution> → <Validate zero debt> → <Report evidence>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any scattered implementation pattern can be centralized only by converting every occurrence into an accounted-for migration unit and proving no unapproved duplicate remains.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Context → Pattern → Registry → Canonical → Plan → ExecutionGate → Validation → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CentralizationConcern ::= <ContextContract> \"→\" <PatternContract> \"→\" <OccurrenceRegistry> \"→\" <CanonicalSource> \"→\" <MigrationPlan> \"→\" <ExecutionPolicy> \"→\" <ZeroDebtValidation> \"→\" <EvidenceReport>\nZeroDebtValidation ::= \"all_variants_checked\" \",\" \"old_patterns_removed_or_justified\" \",\" \"single_source_of_truth_verified\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the zero-duplication verification, which proves no unapproved copy of the centralized pattern remains, the pattern-specific validation of each migrated occurrence",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every occurrence in the detection registry",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused while any occurrence is neither migrated nor justified, or any old source remains",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because centralization is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The centralized pattern, which every occurrence migrates to or carries a justification against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-centralization-concern",
            "title": "<Centralization Concern>"
          }
        ],
        "title": "Centralization"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_orientation_stage[\"Orientation Stage\"]\n    n_authoritative_source_loading[\"Authoritative Source Loading\"]\n    n_trust_anchor[\"Trust Anchor\"]\n    n_intent_directionality_normalization[\"Intent & Directionality Normalization\"]\n    n_skeptical_context_acquisition[\"Skeptical Context Acquisition\"]\n    n_dynamic_discovery_pattern_generation[\"Dynamic Discovery Pattern Generation\"]\n    n_teleological_intent_gate[\"Teleological Intent Gate\"]\n    n_planning_stage[\"Planning Stage\"]\n    n_principle_activation[\"Principle Activation\"]\n    n_protocol_semantic_selection[\"Protocol Semantic Selection\"]\n    n_phase_decomposition[\"Phase Decomposition\"]\n    n_four_dimensional_phase_graph[\"Four-Dimensional Phase Graph\"]\n    n_dependency_linearization[\"Dependency Linearization\"]\n    n_severity_assignment[\"Severity Assignment\"]\n    n_loop_class_labeling[\"Loop Class Labeling\"]\n    n_compilation_stage[\"Compilation Stage\"]\n    n_codebase_pattern_enforcement[\"Codebase Pattern Enforcement\"]\n    n_verb_template_binding[\"Verb Template Binding\"]\n    n_task_atomization[\"Task Atomization\"]\n    n_ripple_chain_analysis[\"Ripple Chain Analysis\"]\n    n_validator_coverage[\"Validator Coverage\"]\n    n_structured_observability_context[\"Structured Observability Context\"]\n    n_cross_cutting_surface_coverage[\"Cross-Cutting Surface Coverage\"]\n    n_legacy_elimination[\"Legacy Elimination\"]\n    n_hierarchical_numbering[\"Hierarchical Numbering\"]\n    n_admissibility_constraint_stage[\"Admissibility Constraint Gate\"]\n    n_validation_stage[\"Validation Stage\"]\n    n_semantic_debt_policy[\"Semantic Debt Policy\"]\n    n_evidence_based_claim_verification[\"Evidence-Based Claim Verification\"]\n    n_validation_suite_battery[\"Validation Suite Battery\"]\n    n_repair_stage[\"Repair Stage\"]\n    n_bounded_repair_loop[\"Bounded Repair Loop\"]\n    n_severity_failure_routing[\"Severity Failure Routing\"]\n    n_rendering_stage[\"Rendering Stage\"]\n    n_checklist_output_rendering[\"Checklist Output Rendering\"]\n    n_explicit_termination[\"Explicit Termination\"]\n    n_cross_stage_invariants[\"Cross-Stage Invariants\"]\n    n_checklist_creation_kernel[\"Checklist Creation Kernel\"]\n    n_checklist_governance_concern[\"<Checklist Governance Concern>\"]\n    n_orientation_stage --> n_authoritative_source_loading\n    n_orientation_stage --> n_trust_anchor\n    n_orientation_stage --> n_intent_directionality_normalization\n    n_orientation_stage --> n_skeptical_context_acquisition\n    n_orientation_stage --> n_dynamic_discovery_pattern_generation\n    n_skeptical_context_acquisition --> n_dynamic_discovery_pattern_generation\n    n_planning_stage --> n_principle_activation\n    n_planning_stage --> n_protocol_semantic_selection\n    n_planning_stage --> n_phase_decomposition\n    n_planning_stage --> n_four_dimensional_phase_graph\n    n_planning_stage --> n_dependency_linearization\n    n_planning_stage --> n_severity_assignment\n    n_planning_stage --> n_loop_class_labeling\n    n_phase_decomposition --> n_four_dimensional_phase_graph\n    n_phase_decomposition --> n_severity_assignment\n    n_phase_decomposition --> n_loop_class_labeling\n    n_compilation_stage --> n_verb_template_binding\n    n_compilation_stage --> n_codebase_pattern_enforcement\n    n_compilation_stage --> n_task_atomization\n    n_compilation_stage --> n_ripple_chain_analysis\n    n_compilation_stage --> n_validator_coverage\n    n_compilation_stage --> n_structured_observability_context\n    n_compilation_stage --> n_cross_cutting_surface_coverage\n    n_compilation_stage --> n_legacy_elimination\n    n_compilation_stage --> n_hierarchical_numbering\n    n_task_atomization --> n_codebase_pattern_enforcement\n    n_validation_stage --> n_validation_suite_battery\n    n_validation_stage --> n_evidence_based_claim_verification\n    n_validation_stage --> n_semantic_debt_policy\n    n_repair_stage --> n_severity_failure_routing\n    n_repair_stage --> n_bounded_repair_loop\n    n_rendering_stage --> n_checklist_output_rendering\n    n_rendering_stage --> n_explicit_termination\n    n_checklist_creation_kernel --> n_orientation_stage\n    n_checklist_creation_kernel --> n_teleological_intent_gate\n    n_checklist_creation_kernel --> n_planning_stage\n    n_checklist_creation_kernel --> n_compilation_stage\n    n_checklist_creation_kernel --> n_admissibility_constraint_stage\n    n_checklist_creation_kernel --> n_validation_stage\n    n_checklist_creation_kernel --> n_repair_stage\n    n_checklist_creation_kernel --> n_rendering_stage\n    n_checklist_creation_kernel --> n_cross_stage_invariants\n    n_checklist_creation_kernel --> n_phase_decomposition\n    n_checklist_creation_kernel --> n_explicit_termination"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-checklist-creation",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Establish authority, trust, intent, and change-directionality, and gather current-system evidence before any planning, emitting a context bundle that is the sole artifact the planning stage reads.",
                    "term": "Intent"
                  },
                  {
                    "description": "Prior knowledge is untrusted; discover before assume; read authority before analysis; a resolved change-direction and a non-empty evidence inventory are the handoff precondition.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RawTask + GoverningDocs → AuthorityLoad → ContextDiscovery → IntentNormalization → ContextBundle|RepairRoute",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "OrientationStage ::= <RawTaskText> \",\" <HostGoverningDocs> \"→\" <AuthorityLoad> \"→\" <CurrentSystemDiscovery> \"→\" <IntentDirectionalityNormalization> \"→\" <ContextBundle>\nContextBundle ::= <NormalizedIntent> \",\" <ChangeRelation> \",\" <AuthoritativeSourceSet> \",\" <TrustAnchor> \",\" <PriorityStack> \",\" <DiscoveredArtifacts> \",\" <EvidenceInventory> \",\" <UnresolvedQuestions>\nOrientationHandoff ::= \"authority_loaded\" \",\" \"intent_and_change_direction_resolved\" \",\" \"evidence_inventory_non_empty\" \"→\" \"pass_to_planning\" | \"repair_owner_orientation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Authoritative Source Loading](/records/algorithms/authoritative-source-loading), [Trust Anchor](/records/algorithms/trust-anchor), [Intent & Directionality Normalization](/records/algorithms/intent-directionality-normalization), [Skeptical Context Acquisition](/records/algorithms/skeptical-context-acquisition), [Dynamic Discovery Pattern Generation](/records/algorithms/dynamic-discovery-pattern-generation)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[metaprogramming_modeling](/records/force/metaprogramming-modeling), [correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Planning starts from the task text alone — prior model knowledge treated as current system truth.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "raw task + governing docs → load authority → discover current system → normalize intent + change_relation → context_bundle{evidence_inventory non-empty}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Authoritative Source Loading](/records/algorithms/authoritative-source-loading), [Trust Anchor](/records/algorithms/trust-anchor), [Intent & Directionality Normalization](/records/algorithms/intent-directionality-normalization), [Skeptical Context Acquisition](/records/algorithms/skeptical-context-acquisition), [Dynamic Discovery Pattern Generation](/records/algorithms/dynamic-discovery-pattern-generation)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-orientation-stage",
            "title": "Orientation Stage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Resolve the always-read core sources plus the conditional sources whose triggers appear in the task, read them before analysis, and block with a blocker finding if any required source is missing.",
                    "term": "Intent"
                  },
                  {
                    "description": "Task decomposition is grounded in authoritative host rules read before analysis; a missing required source blocks at the orientation owner.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TaskDescription → CoreSources + TriggeredSources → SourceRead → LoadedContext|BlockMissing",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AuthoritativeSourceLoading ::= <TaskDescription> \"→\" <CoreSourceSet> \",\" <TriggeredSourceSet> \"→\" <SourceReadSet> \"→\" <SourceValidationGate>\nSourceSelection ::= \"always_read_core\" \",\" \"read_conditional_source_when_trigger_present\"\nSourceValidationGate ::= \"all_required_sources_loaded\" | \"blocked_missing_source\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[metaprogramming_modeling](/records/force/metaprogramming-modeling), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Decomposition grounded in memory, not the host's rules; a missing source is discovered too late.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "task → always-read core{governance, principle-ontology} + triggered{architecture, design, component} → read before analysis → block on a missing required source",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-authoritative-source-loading",
            "title": "Authoritative Source Loading"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Classify every input by trust level — source files, schema/config/data, build and validator output, tool output, and structured logs are trusted; narrative docs, comments, prior codebase knowledge, and unverified claims are untrusted and require verification before use.",
                    "term": "Intent"
                  },
                  {
                    "description": "Planning reliability depends on explicit source trust; untrusted input cannot ground a task until it is verified.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "InputSource → TrustClassification → UsagePolicy",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TrustAnchor ::= <InputSourceSet> \"→\" <TrustedSourceSet> \",\" <UntrustedSourceSet> \"→\" <UsagePolicy>\nUsagePolicy ::= \"trusted_can_ground_tasks\" | \"untrusted_requires_verification\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every input trusted equally — a narrative doc grounds a task the same as a build result.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "inputs → trusted{source files, schema/config, build/validator output, tool output} vs untrusted{narrative docs, comments, prior knowledge} → untrusted requires verification before it grounds a task",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-trust-anchor",
            "title": "Trust Anchor"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Normalize the task into a requested outcome, actions, and entities, and resolve the change relation — introduce, retain, remove, analyze, or mention — that later stages key their semantic policy on; an unresolved direction is recorded as ambiguity, never silently assumed.",
                    "term": "Intent"
                  },
                  {
                    "description": "The change relation is explicit before planning; an unknown direction is surfaced as an unresolved question.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TaskDescription → IntentExtraction → DirectionalityAnalysis → NormalizedIntent + Ambiguity",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "IntentDirectionalityNormalization ::= <TaskDescription> \",\" <ExplicitConstraints> \"→\" <RequestedOutcome> \",\" <RequestedActions> \",\" <Entities> \"→\" <ChangeRelation> \",\" <AmbiguitySet>\nChangeRelation ::= \"introduce\" | \"retain\" | \"remove\" | \"analyze\" | \"mention\" | \"unknown\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'update Foo' planned without resolving whether Foo is introduced, retained, or removed.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "task → outcome + actions + entities → change_relation{introduce|retain|remove|analyze|mention} → unknown direction recorded as an unresolved question, never assumed",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-intent-directionality-normalization",
            "title": "Intent & Directionality Normalization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract task keywords, generate discovery probes dynamically, inspect the existing implementation, and prevent new work from redefining architecture that already exists.",
                    "term": "Intent"
                  },
                  {
                    "description": "Planning discovers current artifacts before making architecture assumptions.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "NormalizedIntent → Keywords → DiscoveryProbes → DiscoveredArtifacts + Evidence",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SkepticalContextAcquisition ::= <NormalizedIntent> \"→\" <KeywordExtraction> \"→\" <DiscoveryPatternGeneration> \"→\" <ContextDiscovery> \"→\" <EvidenceInventory>\nKeywordExtraction ::= \"technical_nouns\" \",\" \"action_verbs\" \",\" \"file_refs\" \",\" \"folders\"\nDiscoveredArtifacts ::= \"base_classes\" \",\" \"implementations\" \",\" \"registrations\" \",\" \"migrations\" \",\" \"signatures\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Dynamic Discovery Pattern Generation](/records/algorithms/dynamic-discovery-pattern-generation)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "New work redefines a Foo abstraction that already exists, unseen.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "normalized intent → keywords → dynamic discovery probes → discovered artifacts{base classes, implementations, registrations} + evidence, before any architecture assumption",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Dynamic Discovery Pattern Generation](/records/algorithms/dynamic-discovery-pattern-generation)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-skeptical-context-acquisition",
            "title": "Skeptical Context Acquisition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert extracted nouns, verbs, folders, and file references into glob, grep, and target-file probes generated from the task's own language rather than a fixed enumeration.",
                    "term": "Intent"
                  },
                  {
                    "description": "Discovery probes are generated from task keywords, never from a fixed assumption list.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Keywords → Globs + Greps + Targets → ProbeExecution",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DynamicDiscoveryPatternGeneration ::= <KeywordSet> \"→\" <GlobPatternSet> \",\" <GrepPatternSet> \",\" <TargetFileSet>\nDiscoveryProbe ::= <ProbeTool> \",\" <Pattern> \",\" <Purpose>\nProbeTool ::= \"Glob\" | \"Grep\" | \"Read\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage), [Skeptical Context Acquisition](/records/algorithms/skeptical-context-acquisition)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [metaprogramming_modeling](/records/force/metaprogramming-modeling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Discovery runs a fixed checklist of globs, blind to the task's own nouns.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "keywords{nouns, verbs, folders, file-refs} → generated globs + greps + target-files from the task's own language, not a fixed enumeration",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dynamic-discovery-pattern-generation",
            "title": "Dynamic Discovery Pattern Generation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Resolve what the checklist is for before planning it: enumerate the admissible decomposition branches, score each by utility minus cost against the normalized intent and change relation, and gate on the highest-worth admissible branch before any seeing or deriving.",
                    "term": "Intent"
                  },
                  {
                    "description": "Teleology is mandatory-always: planning never proceeds on a branch that is not the argmax(utility - cost) over admissible branches; no admissible branch routes to a blocked report, never a guess.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ContextBundle → AdmissibleBranchEnumeration → UtilityCostScoring → ArgmaxSelection|Blocked",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TeleologicalIntentGate ::= <ContextBundle> \"→\" <AdmissibleBranchSet> \"→\" <UtilityCostScoring> \"→\" <SelectedBranch> | <BlockedNoAdmissibleBranch>\nBranchSelection ::= \"argmax_utility_minus_cost_over_admissible\" | \"blocked_no_admissible_branch\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Decomposition begins on the first approach that comes to mind — no worth comparison, so effort is spent before the objective is ranked.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "context_bundle → enumerate admissible decomposition branches → score utility - cost → select the argmax → WORTH_BEFORE_WORK gate before any planning",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-teleological-intent-gate",
            "title": "Teleological Intent Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Activate the principles that govern the current decision surfaces, select protocols by semantic fit against the requested transition, decompose them into phases, build the four-dimensional graph, and linearize the phases by dependency.",
                    "term": "Intent"
                  },
                  {
                    "description": "Order is by dependency, never by severity; every active principle binds a decision test and a validator; a protocol is never selected from a trigger word alone.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ContextBundle → ActivePrinciples → SelectedProtocols → PhaseGraph → LinearizedPhases|CycleRepair",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PlanningStage ::= <ContextBundle> \"→\" <PrincipleActivation> \"→\" <ProtocolSemanticSelection> \"→\" <PhaseDecomposition> \"→\" <FourDPhaseGraph> \"→\" <DependencyLinearization>\nPlanningHandoff ::= \"z_graph_acyclic\" \",\" \"every_phase_has_inputs_outputs_four_axes\" \",\" \"order_topological_severity_metadata_only\" \",\" \"every_mandatory_principle_binds_a_validator\" \"→\" \"pass_to_compilation\" | \"repair_owner_planning\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Principle Activation](/records/algorithms/principle-activation), [Protocol Semantic Selection](/records/algorithms/protocol-semantic-selection), [Phase Decomposition](/records/algorithms/phase-decomposition), [Four-Dimensional Phase Graph](/records/algorithms/four-dimensional-phase-graph), [Dependency Linearization](/records/algorithms/dependency-linearization), [Severity Assignment](/records/algorithms/severity-assignment), [Loop Class Labeling](/records/algorithms/loop-class-labeling)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution), [control_coordination](/records/force/control-coordination), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phases grouped under SPRINT: CRITICAL headers; a protocol picked from a trigger word.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "context_bundle → activate principles (each binds a decision-test + validator) → select protocols by semantic fit → decompose → 4D graph → linearize by dependency (severity is metadata)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Principle Activation](/records/algorithms/principle-activation), [Protocol Semantic Selection](/records/algorithms/protocol-semantic-selection), [Phase Decomposition](/records/algorithms/phase-decomposition), [Four-Dimensional Phase Graph](/records/algorithms/four-dimensional-phase-graph), [Dependency Linearization](/records/algorithms/dependency-linearization), [Severity Assignment](/records/algorithms/severity-assignment), [Loop Class Labeling](/records/algorithms/loop-class-labeling)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-planning-stage",
            "title": "Planning Stage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Test each principle in the ontology catalog against the current decision surfaces, mark it applies, uncertain, or not-applicable with a reason, and bind every applied principle to a decision test, a validator, and a severity that later routes its repair.",
                    "term": "Intent"
                  },
                  {
                    "description": "A principle is activated only with an explicit applicability decision and a bound validator; a label alone is never proof that local reasoning occurred.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ContextBundle → DecisionSurfaces → PrincipleFit → ActivePrincipleSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PrincipleActivation ::= <DecisionSurfaceSet> \"→\" <PrincipleCatalogTest> \"→\" <ApplicabilityDisposition> \",\" <ValidatorBinding> \",\" <Severity>\nApplicabilityDisposition ::= \"applies\" | \"uncertain\" | \"not_applicable\"\nSeverity ::= \"mandatory\" | \"recommended\" | \"contextual\" | \"discouraged\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'SRP applies' asserted as a label, with no decision-test and nothing that enforces it.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "decision surfaces → test each principle{applies|uncertain|not-applicable + reason} → bind validator + severity → a label alone is never proof reasoning occurred",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-principle-activation",
            "title": "Principle Activation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Match the requested state transition and architecture surfaces semantically against the protocol library, select every protocol whose use-condition fits, and always inject the mandatory verification protocol.",
                    "term": "Intent"
                  },
                  {
                    "description": "Protocols are selected by semantic fit against the requested transition, never from a trigger word; the verification protocol is always included.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ContextBundle + ActivePrinciples → SemanticMatch → SelectedProtocols → VerificationInjected",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ProtocolSemanticSelection ::= <RequestedTransition> \",\" <ArchitectureSurfaceSet> \",\" <ActivePrincipleSet> \"→\" <SemanticFitMatch> \"→\" <SelectedProtocolSet> \"→\" <MandatoryVerificationInjection>\nProtocol ::= \"module-separation\" | \"extension-no-modify\" | \"dependency-inversion\" | \"intention-emission\" | \"invariant-inheritance\" | \"registry-resolution\" | \"security-hardening\" | \"performance-eng\" | \"infra-provisioning\" | \"resilience-recovery\" | \"replacement-elim\" | \"enforcement-authoring\" | \"verification-gate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The word 'secure' in the task auto-selects the security protocol.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "requested transition + surfaces → semantic-fit match against the protocol library → selected set → the mandatory verification protocol always injected",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-protocol-semantic-selection",
            "title": "Protocol Semantic Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Expand each selected protocol's verb chain into phases, and annotate every phase with an id, verb, objective, preconditions, inputs, outputs, affected artifacts, local principles, severity, loop class, and a four-dimensional graph.",
                    "term": "Intent"
                  },
                  {
                    "description": "A phase is a protocol step enriched with inputs, outputs, validation, severity, and dependency metadata, ordered by dependency and never by severity.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SelectedProtocols → VerbChains → PhaseSet → AnnotatedPhases",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PhaseDecomposition ::= <SelectedProtocolSet> \"→\" <VerbChainSet> \"→\" <PhaseSet> \"→\" <PhaseAnnotationSet>\nPhaseAnnotation ::= \"id\" \",\" \"verb\" \",\" \"objective\" \",\" \"inputs\" \",\" \"outputs\" \",\" \"affected_artifacts\" \",\" \"principles\" \",\" \"severity\" \",\" \"loop_class\" \",\" \"graph_4d\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Four-Dimensional Phase Graph](/records/algorithms/four-dimensional-phase-graph), [Severity Assignment](/records/algorithms/severity-assignment), [Loop Class Labeling](/records/algorithms/loop-class-labeling)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A protocol's steps emitted as a flat task list with no inputs, outputs, or dependency metadata.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "selected protocols → verb chains → phases annotated{id, verb, objective, inputs, outputs, principles, severity, loop_class, 4D graph}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Four-Dimensional Phase Graph](/records/algorithms/four-dimensional-phase-graph), [Severity Assignment](/records/algorithms/severity-assignment), [Loop Class Labeling](/records/algorithms/loop-class-labeling)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-phase-decomposition",
            "title": "Phase Decomposition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For every phase, model the sequential dependency axis, the lateral independent-peer axis, the diagonal shared-data axis, and the propagation axis carrying superseded state, propagated contracts, and what breaks if the edge is omitted.",
                    "term": "Intent"
                  },
                  {
                    "description": "A phase exposes not only order but ripple; an empty propagation axis carries explicit no-downstream-consumer evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phase → Z + X + Y + W Graph",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FourDPhaseGraph ::= <Phase> \"→\" <SequentialAxis> \",\" <LateralAxis> \",\" <DiagonalAxis> \",\" <PropagationAxis>\nSequentialAxis ::= \"Z: prior_required_phases\"\nLateralAxis ::= \"X: independent_peer_phases\"\nDiagonalAxis ::= \"Y: shared_data_or_output_relationships\"\nPropagationAxis ::= \"W: superseded_state, propagated_contracts, breaks_if_omitted\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage), [Phase Decomposition](/records/algorithms/phase-decomposition)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [model_governance](/records/force/model-governance), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A phase records only its order — its downstream ripple is invisible.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "phase → Z{prior required phases} + X{independent peers} + Y{shared-data} + W{superseded state, propagated contracts, breaks-if-omitted}; empty W carries no-consumer evidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-four-dimensional-phase-graph",
            "title": "Four-Dimensional Phase Graph"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect cycles in the sequential Z-graph, block if any exist, and otherwise order the phases in topological Z-order with a stable tie-breaker so execution order is fixed by dependency alone.",
                    "term": "Intent"
                  },
                  {
                    "description": "Phases are linearized by topological dependency order; severity never controls order; a cycle blocks and routes to planning repair.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PhaseGraph → CycleCheck → TopologicalOrder|BlockedCycle",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DependencyLinearization ::= <PhaseGraph> \"→\" <CycleDetection> \"→\" <TopologicalOrder> | <BlockedCycleSet>\nLinearizationResult ::= \"pass_topological_order\" | \"blocked_cycle\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[causality_ordering](/records/force/causality-ordering), [control_coordination](/records/force/control-coordination), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phases ordered by priority label; a hidden cycle ships undetected.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "phase graph → detect Z-cycles (block on any) → topological Z-order with a stable tie-breaker; severity never controls order",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dependency-linearization",
            "title": "Dependency Linearization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Derive each phase's severity from the worst severity of its governing principles; severity is per-phase metadata that selects the repair route, while execution order stays linear by dependency.",
                    "term": "Intent"
                  },
                  {
                    "description": "Severity reflects principle risk and is metadata that routes failure; it is never a grouping or ordering axis.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phase → LocalPrinciples → WorstSeverity",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SeverityAssignment ::= <Phase> \"→\" <LocalPrincipleSet> \"→\" <WorstSeverityResolution> \"→\" <Severity>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage), [Phase Decomposition](/records/algorithms/phase-decomposition)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Severity used as a section header that groups the phases.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "phase → worst severity of its governing principles → per-phase metadata that routes the repair, never a grouping or ordering axis",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-severity-assignment",
            "title": "Severity Assignment"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Classify each phase by its verb into a construction, perceptual, cognitive, executive, or linking loop class so the phase's cognitive role is explicit.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every phase carries an explicit cognitive loop class derived from its verb.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Verb → LoopClass → LoopPattern",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LoopClassLabeling ::= <Verb> \"→\" <LoopClass> \"→\" <LoopPattern>\nLoopClass ::= \"Construction\" | \"Perceptual\" | \"Cognitive\" | \"Executive\" | \"Linking\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage), [Phase Decomposition](/records/algorithms/phase-decomposition)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A phase's cognitive role is implicit in its verb.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "verb → loop class{Construction|Perceptual|Cognitive|Executive|Linking} → the phase's cognitive role made explicit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-loop-class-labeling",
            "title": "Loop Class Labeling"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compile each phase into atomic, target-specific tasks under binding codebase-pattern execution constraints, attach a full nine-dimension named ripple chain to every task, and number the hierarchy N.N.N.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every emitted task is atomic and target-specific with an evidence contract, and carries all nine ripple dimensions expressed as names, never counts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PhaseRecords → TaskTemplates + PatternConstraints → AtomicTasks → RippleChains + Numbering",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CompilationStage ::= <PhaseRecordSet> \"→\" <VerbTemplateBinding> \",\" <CodebasePatternEnforcement> \"→\" <TaskAtomization> \"→\" <RippleChainAnalysis> \"→\" <HierarchicalNumbering>\nCompilationHandoff ::= \"every_task_atomic_and_target_specific\" \",\" \"every_task_has_evidence_contract\" \",\" \"nine_ripple_dimensions_with_names\" \"→\" \"pass_to_validation\" | \"repair_owner_compilation\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Verb Template Binding](/records/algorithms/verb-template-binding), [Codebase Pattern Enforcement](/records/algorithms/codebase-pattern-enforcement), [Task Atomization](/records/algorithms/task-atomization), [Ripple Chain Analysis](/records/algorithms/ripple-chain-analysis), [Validator Coverage](/records/algorithms/validator-coverage), [Structured Observability Context](/records/algorithms/structured-observability-context), [Cross-Cutting Surface Coverage](/records/algorithms/cross-cutting-surface-coverage), [Legacy Elimination](/records/algorithms/legacy-elimination), [Hierarchical Numbering](/records/algorithms/hierarchical-numbering)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution), [object_creation](/records/force/object-creation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phases emitted as vague tasks with count-only ripple ('touches 3 consumers').",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "phase records → bind verb templates + codebase-pattern constraints → atomize → attach 9-dimension named ripple chain → number N.N.N",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Verb Template Binding](/records/algorithms/verb-template-binding), [Codebase Pattern Enforcement](/records/algorithms/codebase-pattern-enforcement), [Task Atomization](/records/algorithms/task-atomization), [Ripple Chain Analysis](/records/algorithms/ripple-chain-analysis), [Validator Coverage](/records/algorithms/validator-coverage), [Structured Observability Context](/records/algorithms/structured-observability-context), [Cross-Cutting Surface Coverage](/records/algorithms/cross-cutting-surface-coverage), [Legacy Elimination](/records/algorithms/legacy-elimination), [Hierarchical Numbering](/records/algorithms/hierarchical-numbering)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-compilation-stage",
            "title": "Compilation Stage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Bind every emitted step to the required architecture pattern for its concern — factory construction, dependency injection, registry discovery, event emission, ports and adapters, contract-first boundaries, encapsulation, structured observability, bounded complexity, secrets management, input validation, least privilege, config externalization, fail-fast, legacy elimination, and enforcement authoring — rewriting each forbidden form into its required form.",
                    "term": "Intent"
                  },
                  {
                    "description": "Codebase patterns are binding execution constraints; a forbidden form is rewritten to its required form before the task is emitted.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Task → PatternViolationScan → RequiredRewrite → CompliantTask",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CodebasePatternEnforcement ::= <Task> \"→\" <ForbiddenPatternSet> \"→\" <ViolationSet> \"→\" <CompliantRewrite>\nPatternDomain ::= \"factory_creation\" | \"dependency_injection\" | \"registry_discovery\" | \"event_emission\" | \"ports_adapters\" | \"contract_first\" | \"encapsulation\" | \"structured_observability\" | \"bounded_complexity\" | \"secrets_management\" | \"input_validation\" | \"least_privilege\" | \"config_externalization\" | \"fail_fast\" | \"legacy_elimination\" | \"enforcement_rule\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage), [Task Atomization](/records/algorithms/task-atomization)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution), [object_creation](/records/force/object-creation), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A task says 'construct Foo' with no required pattern — direct instantiation slips through.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "task → scan forbidden forms → rewrite each to its required form{factory, DI, registry, events, ports, contract-first, fail-fast, secrets} before emit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-codebase-pattern-enforcement",
            "title": "Codebase Pattern Enforcement"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Map each execution verb to a task pattern, a tool set, and a blocking validation command, so a verb becomes a checklist task only through a validated template.",
                    "term": "Intent"
                  },
                  {
                    "description": "An execution verb becomes a task only through a template that binds its tools and a blocking validation command.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Verb → TaskPattern → Tools → ValidationCommand",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VerbTemplateBinding ::= <Verb> \"→\" <TaskPattern> \",\" <ToolSet> \",\" <ValidationCommand>\nVerb ::= \"ANALYZE\" | \"FIND\" | \"EXTRACT\" | \"CREATE\" | \"VERIFY\" | \"FILTER\" | \"EXECUTE\" | \"WRITE\" | \"READ\" | \"LINK\" | \"ITERATE\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [metaprogramming_modeling](/records/force/metaprogramming-modeling), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'CREATE Foo' becomes a task with no tools and no way to validate it.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "verb → task pattern + tool set + blocking validation command → a verb becomes a task only through a validated template",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-verb-template-binding",
            "title": "Verb Template Binding"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract atomic, target-specific actions from each phase group, gate every action through the codebase-pattern constraints, and attach an evidence contract, local principle checks, a validation method, and a done-condition to each.",
                    "term": "Intent"
                  },
                  {
                    "description": "A task is small enough to execute and strict enough to validate, carrying its own evidence contract and done-condition.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phase → TaskGroups → AtomicActions + Gates → AtomicTasks",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TaskAtomization ::= <Phase> \"→\" <TaskGroupSet> \"→\" <AtomicActionSet> \"→\" <CodebasePatternEnforcement> \"→\" <AtomicTaskSet>\nAtomicTask ::= <Action> \",\" <Target> \",\" <ExpectedEvidence> \",\" <ValidationMethod> \",\" <DoneCondition>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Codebase Pattern Enforcement](/records/algorithms/codebase-pattern-enforcement)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "One coarse task 'refactor the Foo module' — too big to execute or validate.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "phase → task groups → atomic actions (gated by codebase patterns) → each carries an evidence contract + validation method + done-condition",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Codebase Pattern Enforcement](/records/algorithms/codebase-pattern-enforcement)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-task-atomization",
            "title": "Task Atomization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Analyze each task across nine impact dimensions — registry, contracts, persistence, security, infrastructure, performance, observability, enforcement, and consumers — and record every named downstream effect with its consequence-if-omitted rather than a count, retaining an empty dimension with explicit applicability evidence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every task exposes all nine downstream dimensions as named impacts; ripple is never count-only and never filtered to the first match.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Task → RippleDimensions → NamedImpacts → DownstreamChain",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RippleChainAnalysis ::= <Task> \"→\" <RippleDimensionSet> \"→\" <ImpactSet> \"→\" <DownstreamEffectSet>\nRippleDimensionSet ::= \"registry\" \",\" \"contracts\" \",\" \"persistence\" \",\" \"security\" \",\" \"infrastructure\" \",\" \"performance\" \",\" \"observability\" \",\" \"enforcement\" \",\" \"consumers\"\nImpactSet ::= <NamedImpact> | \"none_with_applicability_evidence\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Impact recorded as a count ('affects 4 things'), filtered to the first match.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "task → 9 dims{registry, contracts, persistence, security, infrastructure, performance, observability, enforcement, consumers} → every named downstream impact + consequence-if-omitted; empty dim carries applicability evidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-ripple-chain-analysis",
            "title": "Ripple Chain Analysis"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For every architectural pattern introduced or referenced, discover an existing detector or author a new one, register it, and regenerate the catalog so the rule becomes an active enforcement gate rather than a convention.",
                    "term": "Intent"
                  },
                  {
                    "description": "A new or changed architectural invariant is protected by an automated detector that is registered and active — never convention-only.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Pattern → DetectorDiscovery → AuthorOrUpdate → RegisterAndRegenerate → EnforcementActive",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ValidatorCoverage ::= <ArchitecturalPattern> \"→\" <DetectorDiscovery> \"→\" <CoverageDecision> \"→\" <RegisterAndRegenerate> \"→\" <EnforcementActive>\nCoverageDecision ::= \"update_existing_detector\" | \"author_new_detector\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A new Foo invariant protected by a convention no check enforces.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "pattern → discover a detector or author one → register + regenerate the catalog → the rule becomes an active gate, not a convention",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-validator-coverage",
            "title": "Validator Coverage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect whether a task touches errors, contract or invariant violations, events, or resource lifecycle, and require the matching structured, machine-queryable observability context instead of a free-form message.",
                    "term": "Intent"
                  },
                  {
                    "description": "An observability task carries schema-complete, queryable context matched to its concern, never a stringified blob.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Task → ObservabilityTrigger → RequiredContext → SchemaValidation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StructuredObservabilityContext ::= <Task> \"→\" <ObservabilityTriggerSet> \"→\" <RequiredContextSet> \"→\" <ObservabilitySchema>\nRequiredContext ::= \"error\" | \"violation\" | \"event\" | \"lifecycle\" | \"contract\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An error task emits a stringified blob instead of queryable context.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "task → observability trigger{error|violation|event|lifecycle|contract} → required schema-complete, machine-queryable context matched to the concern",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-structured-observability-context",
            "title": "Structured Observability Context"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Gate the software surface beyond structure — security, performance, infrastructure and deployment, and resilience — so a change's threat, budget, config, and failure consequences are covered, not only its structural ones.",
                    "term": "Intent"
                  },
                  {
                    "description": "A change is not covered until its security, performance, infrastructure, and resilience consequences are gated, not only its structural ones.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Task → SurfaceDetection → SurfaceGates → CoverageVerification",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CrossCuttingSurfaceCoverage ::= <Task> \"→\" <SurfaceSet> \"→\" <SurfaceGateSet> \"→\" <CoverageGate>\nSurfaceSet ::= \"security\" | \"performance\" | \"infrastructure\" | \"resilience\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance), [performance_scaling](/records/force/performance-scaling), [resilience_recovery](/records/force/resilience-recovery), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A change gated only on structure; its threat, budget, and failure consequences uncovered.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "task → surfaces{security, performance, infrastructure, resilience} → a gate per surface → coverage beyond structure verified",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-cross-cutting-surface-coverage",
            "title": "Cross-Cutting Surface Coverage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For any change that touches a replaced, deprecated, dual-path, or fallback code path, delete the superseded path and its orphaned exports in the same completed change so exactly one forward path remains.",
                    "term": "Intent"
                  },
                  {
                    "description": "There is exactly one live path; dead, dual, deprecated, and fallback code is removed in the same change, never deferred.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Change → SupersededDetection → SamePassRemoval → SinglePathGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LegacyElimination ::= <Change> \"→\" <SupersededPathSet> \"→\" <SamePassDeletion> \"→\" <SinglePathGate>\nSupersededPathSet ::= \"dual_path\" | \"fallback\" | \"deprecated\" | \"dead_code\" | \"orphaned_export\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A replaced Foo path left behind beside its successor as a dual path 'for now'.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "change → detect superseded{dual-path, fallback, deprecated, dead code, orphaned export} → delete in the same change → exactly one live path remains",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-legacy-elimination",
            "title": "Legacy Elimination"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Render addressable coordinates — Phase N, Task N.N, Subtask N.N.N — assigned only after the phase order is stable.",
                    "term": "Intent"
                  },
                  {
                    "description": "Checklist execution requires stable, addressable task coordinates numbered after order is fixed.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Phases → Tasks → Subtasks → N.N.N Coordinates",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "HierarchicalNumbering ::= <PhaseIndex> \"→\" <TaskIndex> \"→\" <SubtaskIndex> \"→\" <HierarchicalId>\nHierarchicalId ::= \"N\" | \"N.N\" | \"N.N.N\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Tasks numbered before the phase order is stable, so ids churn.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "stable order → Phase N → Task N.N → Subtask N.N.N → addressable coordinates assigned only after order is fixed",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-hierarchical-numbering",
            "title": "Hierarchical Numbering"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Gate the formalized plan on teleological admissibility before verification: sum the realized cost, compare it to the selected branch's budget and hard limits, and confirm every task traces to the selected branch — an over-budget, limit-breaching, or off-branch plan is inadmissible and routes back rather than being silently accepted.",
                    "term": "Intent"
                  },
                  {
                    "description": "Teleology is mandatory-always: a plan is verified only after realized cost is within budget, every hard limit holds, and every task traces to the selected branch; the cost is never silently accepted.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TaskRecords + PhaseRecords + SelectedBranch → RealizedCostSum → BudgetAndLimitCheck → Admissible|RouteBack",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AdmissibilityConstraintGate ::= <TaskRecordSet> \",\" <PhaseRecordSet> \",\" <SelectedBranch> \"→\" <RealizedCostSum> \"→\" <BudgetAndLimitCheck> \"→\" <AdmissibilityVerdict>\nAdmissibilityVerdict ::= \"admissible_within_budget_and_limits\" | \"inadmissible_route_to_intent\" | \"limit_breach_route_to_act\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The compiled plan goes straight to verification — its realized cost is never checked against the selected branch's budget, so an over-budget or off-branch plan is verified and shipped anyway.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "task_records + phase_records → sum realized cost → compare to branch budget + hard limits → every task traces to the selected branch → ADMISSIBLE_BEFORE_VERIFY gate | route back to intent/act",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-admissibility-constraint-stage",
            "title": "Admissibility Constraint Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Judge the generated reasoning — not the future implementation — against evidence and semantic policy: run the governance validation suites, verify every material claim by evidence, and apply the semantic-debt rubric before rendering.",
                    "term": "Intent"
                  },
                  {
                    "description": "A claim is supported only with evidence, never because no contradiction was found; policy is semantic on the relation to a concept, never a substring ban.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ContextBundle + Phases + Tasks → ValidationSuites → ClaimVerification → SemanticPolicy → ValidationReport",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ValidationStage ::= <ContextBundle> \",\" <PhaseRecordSet> \",\" <TaskRecordSet> \"→\" <ValidationSuiteBattery> \",\" <EvidenceBasedClaimVerification> \",\" <SemanticDebtPolicy> \"→\" <ValidationReport>\nValidationReport ::= \"pass\" | \"repair_required\" | \"blocked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Validation Suite Battery](/records/algorithms/validation-suite-battery), [Evidence-Based Claim Verification](/records/algorithms/evidence-based-claim-verification), [Semantic Debt Policy](/records/algorithms/semantic-debt-policy)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A claim marked supported because no contradiction was found; policy enforced by banning a word.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "context + phases + tasks → GV-* suites → verify every claim by evidence → semantic-debt rubric (relation to a concept) → validation report",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Validation Suite Battery](/records/algorithms/validation-suite-battery), [Evidence-Based Claim Verification](/records/algorithms/evidence-based-claim-verification), [Semantic Debt Policy](/records/algorithms/semantic-debt-policy)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-validation-stage",
            "title": "Validation Stage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Classify the relation a task holds to each controlled debt concept — backward-compatibility path, failure-masking fallback, deprecated or dual production path, deferred required work, shortcut debt, and unsupported superlative claim — blocking only the introduce and retain relations while allowing mention, analysis, quotation, and removal.",
                    "term": "Intent"
                  },
                  {
                    "description": "Policy keys on the relation to a concept, so a prohibited design cannot pass by renaming and legitimately mentioning, analyzing, or removing debt is never blocked.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Content → ConceptMatch → RelationClassification → Allowed|Violation|Investigate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SemanticDebtPolicy ::= <Content> \"→\" <ControlledConceptMatch> \"→\" <ConceptRelation> \"→\" <PolicyDecision>\nConceptRelation ::= \"introduce\" | \"retain\" | \"remove\" | \"analyze\" | \"mention\" | \"assert\"\nPolicyDecision ::= \"allowed\" | \"violation\" | \"investigate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Validation Stage](/records/algorithms/validation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A substring ban blocks the word 'fallback' but the fallback design passes by renaming.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "content → match a controlled concept → classify the relation{introduce|retain → violation; mention|analyze|remove → allowed} → a renamed prohibited design still fails",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-semantic-debt-policy",
            "title": "Semantic Debt Policy"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract every material claim from the generated records, weigh supporting against contradicting evidence in the inventory, and classify each as supported, contradicted, not-applicable, or unsupported — recording the searched scope for a zero-result claim.",
                    "term": "Intent"
                  },
                  {
                    "description": "A material claim is supported only with evidence whose scope matches it; absence of contradiction is never treated as support.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Records → MaterialClaims → EvidenceWeighing → ClaimVerdicts",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EvidenceBasedClaimVerification ::= <RecordSet> \"→\" <MaterialClaimSet> \"→\" <EvidenceWeighing> \"→\" <ClaimVerdictSet>\nClaimVerdict ::= \"supported\" | \"contradicted\" | \"not_applicable\" | \"unsupported\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Validation Stage](/records/algorithms/validation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Foo has no other consumers' asserted with no search recorded.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "records → material claims → weigh supporting vs contradicting evidence → verdict{supported|contradicted|not-applicable|unsupported}; a zero-result claim records its searched scope",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-evidence-based-claim-verification",
            "title": "Evidence-Based Claim Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Run the governance validation suites over the generated context, phases, tasks, and claims — state integrity, authority, principle activation, plan graph, tasks, ripple, semantic policy, evidence, and output serializability — and emit findings that each name what was examined and carry an owner stage.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every gate names the evidence it examined and carries an owner stage; zero blocker or error findings is the sole pass condition.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GeneratedRecords → SuiteChecks → OwnedFindings → Pass|RepairRequired",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ValidationSuiteBattery ::= <GeneratedRecordSet> \"→\" <SuiteCheckSet> \"→\" <OwnedFindingSet> \"→\" <SuiteVerdict>\nValidationSuite ::= \"GV-STATE\" | \"GV-AUTHORITY\" | \"GV-ACTIVATION\" | \"GV-PLAN\" | \"GV-TASKS\" | \"GV-RIPPLE\" | \"GV-SEMANTIC\" | \"GV-EVIDENCE\" | \"GV-OUTPUT\"\nSuiteVerdict ::= \"pass\" | \"repair_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Validation Stage](/records/algorithms/validation-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A validation gate is a bare checkmark that names no evidence.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "records → GV-STATE/AUTHORITY/ACTIVATION/PLAN/TASKS/RIPPLE/SEMANTIC/EVIDENCE/OUTPUT → each finding names what it examined + an owner stage → zero blocker/error is the only pass",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-validation-suite-battery",
            "title": "Validation Suite Battery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Route every finding to its earliest responsible owner stage, apply the fix, invalidate every dependent record downstream, and re-run from that stage — bounded to a fixed number of cycles, after which the run terminates as blocked with the remaining findings.",
                    "term": "Intent"
                  },
                  {
                    "description": "Repair originates at the earliest invalid stage, cascades invalidation forward only, and is bounded; a downstream record is never restored after an upstream repair.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Findings → EarliestOwner → Invalidate + Rerun → Repaired|Blocked",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RepairStage ::= <FindingSet> \"→\" <EarliestOwnerStage> \"→\" <SeverityFailureRouting> \"→\" <DependentInvalidation> \"→\" <RerunFromOwner>\nRepairTermination ::= \"status_pass_to_rendering\" | \"cycle_exceeds_max_blocked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Severity Failure Routing](/records/algorithms/severity-failure-routing), [Bounded Repair Loop](/records/algorithms/bounded-repair-loop)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[resilience_recovery](/records/force/resilience-recovery), [control_coordination](/records/force/control-coordination), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A finding patched at the last stage; upstream cause left intact, downstream records stale.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "findings → earliest responsible owner stage → apply fix → invalidate every dependent downstream → re-run from that stage (bounded to 3 cycles)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Severity Failure Routing](/records/algorithms/severity-failure-routing), [Bounded Repair Loop](/records/algorithms/bounded-repair-loop)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-repair-stage",
            "title": "Repair Stage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Cap the repair loop at a fixed cycle limit, and on each cycle repair from the earliest invalid stage, invalidate all downstream records, and regenerate them; exceeding the limit sets the run blocked with the remaining findings.",
                    "term": "Intent"
                  },
                  {
                    "description": "The repair loop is bounded by a fixed cycle limit; exceeding it terminates as blocked rather than looping unbounded.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RepairRequired → CycleGuard → InvalidateAndRegenerate → Pass|Blocked",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BoundedRepairLoop ::= <RepairRequired> \"→\" <CycleGuard> \"→\" <InvalidateDependents> \",\" <RegenerateDownstream> \"→\" <BoundedTermination>\nBoundedTermination ::= \"repaired_pass\" | \"repair_limit_exceeded_blocked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Repair Stage](/records/algorithms/repair-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[resilience_recovery](/records/force/resilience-recovery), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Repair loops unbounded, re-deriving forever on an unfixable finding.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "repair-required → cycle guard → invalidate + regenerate downstream → exceeding max_cycles terminates as blocked with the remaining findings",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-bounded-repair-loop",
            "title": "Bounded Repair Loop"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Use each finding's severity to choose its repair route — a blocker blocks and repairs, an error repairs, a warning requires a disposition, and anything lower is investigated.",
                    "term": "Intent"
                  },
                  {
                    "description": "Severity governs the failure route, not the phase order; each severity maps to exactly one route.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Finding → Severity → RepairRoute",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SeverityFailureRouting ::= <Finding> \"→\" <Severity> \"→\" <RepairRoute>\nRepairRoute ::= \"block_and_repair\" | \"repair\" | \"disposition_required\" | \"investigate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Repair Stage](/records/algorithms/repair-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[resilience_recovery](/records/force/resilience-recovery), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every finding blocks the same way, regardless of severity.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "finding → severity → route{blocker → block+repair; error → repair; warning → disposition; lower → investigate} → severity routes failure, never phase order",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-severity-failure-routing",
            "title": "Severity Failure Routing"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Serialize only validated records into the checklist deterministically, or render the blocked report, emitting exactly one terminal — success or blocked — with future execution checkboxes left unchecked, and stop within the cycle bound.",
                    "term": "Intent"
                  },
                  {
                    "description": "Rendering adds no new architecture decision, leaves future execution gates unchecked, and terminates exactly once; it never stops prematurely while repairable nor loops beyond the cycle bound.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ValidatedRecords|BlockedReport → DeterministicRender → SuccessArtifact|BlockedArtifact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RenderingStage ::= <ValidatedRecordSet> | <BlockedValidationReport> \"→\" <DeterministicRender> \"→\" <GenerationResult>\nGenerationResult ::= \"success_output_file\" | \"blocked_output_file\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Checklist Output Rendering](/records/algorithms/checklist-output-rendering), [Explicit Termination](/records/algorithms/explicit-termination)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Rendering invents a new architecture decision and pre-checks future execution boxes.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "validated records | blocked report → deterministic render → exactly one terminal{success artifact | blocked report}; future execution checkboxes left unchecked",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Checklist Output Rendering](/records/algorithms/checklist-output-rendering), [Explicit Termination](/records/algorithms/explicit-termination)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-rendering-stage",
            "title": "Rendering Stage"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Emit the markdown checklist — governing context, principle disposition, phases in Z-topological order with loop class, severity, four-dimensional graph, and named ripple chains, hierarchically numbered tasks with evidence contracts, per-phase execution gates, appendices, and a final blocking execution gate — all left unchecked for future execution.",
                    "term": "Intent"
                  },
                  {
                    "description": "The rendered artifact preserves linear execution order, dependency topology, and every ripple impact by name, and leaves every future execution checkbox unchecked.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Context + Phases + Graphs + Ripples + Gates → ChecklistMarkdown",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ChecklistOutputRendering ::= <GoverningContext> \"→\" <PrincipleDisposition> \"→\" <LinearOrderedPhaseSet> \"→\" <PerPhaseGraphAndRipple> \"→\" <TaskHierarchy> \"→\" <AppendixSet> \"→\" <FinalExecutionGate>\nAppendixSet ::= \"file_organization\" \",\" \"evidence_inventory\" \",\" \"registry_contract_enforcement_changes\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Rendering Stage](/records/algorithms/rendering-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The checklist drops ripple impacts to counts and renders inactive principles as mandatory.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "context → principle disposition → phases in Z-order{loop class, severity, 4D graph, named ripple} → N.N.N tasks with evidence contracts → per-phase gate → appendices → final blocking gate (all unchecked)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-checklist-output-rendering",
            "title": "Checklist Output Rendering"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Guarantee the generator stops with exactly one terminal — a written success artifact whose rendering integrity is verified, or a written blocked report — never a premature stop while the status is repairable and never a loop beyond the cycle bound.",
                    "term": "Intent"
                  },
                  {
                    "description": "Termination is explicit and bounded: one of success or blocked, no premature stop, no unbounded loop.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ValidationStatus → TerminalSelection → WrittenArtifact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ExplicitTermination ::= <ValidationStatus> \"→\" <TerminalSelection> \"→\" <RenderIntegrityCheck> \"→\" <WrittenArtifact>\nTerminalSelection ::= \"write_success_artifact\" | \"write_blocked_report\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Rendering Stage](/records/algorithms/rendering-stage)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[resilience_recovery](/records/force/resilience-recovery), [control_coordination](/records/force/control-coordination), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The generator stops while the status is still repairable, or loops past its bound.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "validation status → terminal selection{write success artifact | write blocked report} → render-integrity check → exactly one written artifact, no premature stop, no unbounded loop",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-explicit-termination",
            "title": "Explicit Termination"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Bind every stage to the always-and-never rules of the generator — resolve authority and directionality before planning, discover before assuming, activate principles with a bound validator, order by dependency with severity as routing metadata, read only the prior stage's output contract through one evidence-bearing handoff, represent all four graph axes, require evidence for every claim, separate generation gates from future execution gates, repair from the earliest invalid stage, and render deterministically.",
                    "term": "Intent"
                  },
                  {
                    "description": "The generator's cross-stage guarantees hold in every stage; violating any one invalidates the run regardless of local stage success.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EveryStage → AlwaysRules + NeverRules → BoundGenerator",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CrossStageInvariants ::= <AlwaysRuleSet> \",\" <NeverRuleSet> \"→\" <BoundGeneratorContract>\nInvariantClass ::= \"authority_and_directionality_first\" | \"discover_before_assume\" | \"principle_bound_to_validator\" | \"dependency_order_severity_routes\" | \"single_output_contract_handoff\" | \"four_axis_graph_with_ripple\" | \"evidence_for_every_claim\" | \"generation_gate_not_execution_gate\" | \"repair_from_earliest_invalid_stage\" | \"deterministic_render_no_new_decision\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Checklist Creation Kernel](/records/algorithms/checklist-creation-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Each stage guards its own rules; a global always/never guarantee is nowhere enforced.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "every stage bound by ALWAYS{authority-first, discover-before-assume, principle-bound-to-validator, dependency-order, single-output handoff, 4D + ripple, evidence-for-claims, repair-from-earliest} + NEVER{prior-knowledge-as-evidence, protocol-from-trigger-word, substring-ban, severity-grouping}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-cross-stage-invariants",
            "title": "Cross-Stage Invariants"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Run the six-stage generator in order — orientation, planning, compilation, validation, repair, and rendering — bound by the cross-stage invariants, compiling a task description into a validated, dependency-aware execution checklist or an evidence-bearing blocked report.",
                    "term": "Intent"
                  },
                  {
                    "description": "Checklist creation is a governance compiler: each of framing, decomposition, tasks, gates, repair, and termination is produced and gated by the stage that owns that decision, under one set of cross-stage invariants.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Orientation → Planning → Compilation → Validation → Repair → Rendering",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ChecklistCreationKernel ::= <OrientationStage> \"→\" <PlanningStage> \"→\" <CompilationStage> \"→\" <ValidationStage> \"→\" <RepairStage> \"→\" <RenderingStage>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage), [Teleological Intent Gate](/records/algorithms/teleological-intent-gate), [Planning Stage](/records/algorithms/planning-stage), [Compilation Stage](/records/algorithms/compilation-stage), [Admissibility Constraint Gate](/records/algorithms/admissibility-constraint-stage), [Validation Stage](/records/algorithms/validation-stage), [Repair Stage](/records/algorithms/repair-stage), [Rendering Stage](/records/algorithms/rendering-stage), [Cross-Stage Invariants](/records/algorithms/cross-stage-invariants)",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [architecture_evolution](/records/force/architecture-evolution), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Directed Acyclic Graph (DAG)](/records/architecture/directed-acyclic-graph)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounded by"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage)",
                    "term": "orient"
                  },
                  {
                    "description": "[Teleological Intent Gate](/records/algorithms/teleological-intent-gate)",
                    "term": "intent"
                  },
                  {
                    "description": "[Planning Stage](/records/algorithms/planning-stage)",
                    "term": "derive"
                  },
                  {
                    "description": "[Phase Decomposition](/records/algorithms/phase-decomposition)",
                    "term": "project"
                  },
                  {
                    "description": "[Compilation Stage](/records/algorithms/compilation-stage)",
                    "term": "act"
                  },
                  {
                    "description": "[Admissibility Constraint Gate](/records/algorithms/admissibility-constraint-stage)",
                    "term": "constrain"
                  },
                  {
                    "description": "[Validation Stage](/records/algorithms/validation-stage)",
                    "term": "verify"
                  },
                  {
                    "description": "[Rendering Stage](/records/algorithms/rendering-stage)",
                    "term": "commit"
                  },
                  {
                    "description": "[Explicit Termination](/records/algorithms/explicit-termination)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A task compiled straight into a flat checklist, ungated and unordered.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "orientation → planning → compilation → validation → repair → rendering, bound by cross-stage invariants → a validated dependency-ordered checklist or an evidence-bearing blocked report",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Orientation Stage](/records/algorithms/orientation-stage), [Teleological Intent Gate](/records/algorithms/teleological-intent-gate), [Planning Stage](/records/algorithms/planning-stage), [Compilation Stage](/records/algorithms/compilation-stage), [Admissibility Constraint Gate](/records/algorithms/admissibility-constraint-stage), [Validation Stage](/records/algorithms/validation-stage), [Repair Stage](/records/algorithms/repair-stage), [Rendering Stage](/records/algorithms/rendering-stage), [Cross-Stage Invariants](/records/algorithms/cross-stage-invariants)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-checklist-creation-kernel",
            "title": "Checklist Creation Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [checklist-creation](/records/algorithms-domain/checklist-creation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Orient on authority + evidence> → <Plan principles + protocols + dependency graph> → <Compile atomic tasks + ripple chains> → <Validate reasoning by evidence + semantic policy> → <Repair from the earliest invalid stage> → <Render one bounded terminal>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any implementation checklist is generated as a validated, dependency-ordered execution graph whose every decision is owned and gated by a stage, not as a flat task list.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Authority → Evidence → Principles → Phases → Graph → Ripples → Validation → Repair → Terminal",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ChecklistGovernanceConcern ::= <OrientationContext> \"→\" <PlanningGraph> \"→\" <CompiledTaskSet> \"→\" <ValidationVerdict> \"→\" <BoundedRepair> \"→\" <RenderedTerminal>\nCompletionCondition ::= \"authority_and_directionality_resolved\" \",\" \"phases_dependency_ordered_with_4d_graph\" \",\" \"tasks_atomic_with_named_ripple_chains\" \",\" \"claims_evidence_backed\" \",\" \"semantic_policy_satisfied\" \",\" \"bounded_repair_converged\" \",\" \"single_terminal_emitted\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [architecture_evolution](/records/force/architecture-evolution), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the generator's validation stage and its validation suite, the structured-document validator over the checklist template",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task the generated checklist carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan, its sources or the codebase it targets change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The generator renders no checklist while a blocker or error finding remains, and terminates blocked past its repair bound",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a checklist is verified before execution; its tasks name the checks that observe execution",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants a retired head in a real template and validates the unplanted templates clean, while the generator's own stage is stated as a class",
                    "term": "Evidence"
                  },
                  {
                    "description": "The plan and its sources, which the checklist is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-checklist-governance-concern",
            "title": "<Checklist Governance Concern>"
          }
        ],
        "title": "Checklist creation"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_verification_loop[\"Verification Loop\"]\n    n_context_initialization[\"Context Initialization\"]\n    n_verification_execution[\"Verification Execution\"]\n    n_early_success_exit[\"Early Success Exit\"]\n    n_violation_classification[\"Violation Classification\"]\n    n_severity_ordered_remediation[\"Severity-Ordered Remediation\"]\n    n_iteration_bound[\"Iteration Bound\"]\n    n_file_scoped_fix[\"File-Scoped Fix\"]\n    n_file_limit_remediation[\"File Limit Remediation\"]\n    n_import_boundary_remediation[\"Import Boundary Remediation\"]\n    n_naming_convention_remediation[\"Naming Convention Remediation\"]\n    n_base_class_compliance_remediation[\"Base-Class Compliance Remediation\"]\n    n_css_token_remediation[\"CSS Token Remediation\"]\n    n_dom_factory_remediation[\"DOM Factory Remediation\"]\n    n_console_usage_remediation[\"Console Usage Remediation\"]\n    n_lifecycle_symmetry_remediation[\"Lifecycle Symmetry Remediation\"]\n    n_stylelint_post_fix[\"Stylelint Post-Fix\"]\n    n_reverification_gate[\"Reverification Gate\"]\n    n_partial_success_reporting[\"Partial Success Reporting\"]\n    n_completion_report[\"Completion Report\"]\n    n_codebase_verification_kernel[\"Codebase Verification Kernel\"]\n    n_compliance_verification_concern[\"<Compliance Verification Concern>\"]\n    n_verification_loop --> n_violation_classification\n    n_context_initialization --> n_iteration_bound\n    n_reverification_gate --> n_verification_execution\n    n_codebase_verification_kernel --> n_context_initialization\n    n_codebase_verification_kernel --> n_verification_execution\n    n_codebase_verification_kernel --> n_violation_classification\n    n_codebase_verification_kernel --> n_iteration_bound\n    n_codebase_verification_kernel --> n_file_scoped_fix\n    n_codebase_verification_kernel --> n_reverification_gate\n    n_codebase_verification_kernel --> n_completion_report\n    n_codebase_verification_kernel --> n_severity_ordered_remediation"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-codebase-verification",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Initialize verification context, execute the verification suite, classify failures, remediate violations, and repeat until pass or iteration limit.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architectural compliance is achieved through bounded verify-classify-fix cycles, not one-shot remediation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Init → Verify → Classify → Fix → Reverify → Pass|Limit",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VerificationLoop ::= <Initialization> \"→\" <VerificationRun> \"→\" (<PassReport> | <ViolationClassification> \"→\" <RemediationCycle> \"→\" <VerificationLoop>)\nLoopExit ::= \"passed\" | \"max_iterations_reached\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Violation Classification](/records/algorithms/violation-classification)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A one-shot fix attempt, unverified — some violations remain, and neither the developer nor the model notices.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "init → verify → classify failures → fix → re-verify → repeat until pass or iteration limit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Violation Classification](/records/algorithms/violation-classification)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-verification-loop",
            "title": "Verification Loop"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Discover architecture documents, load design guidance, initialize result containers, set iteration counters, and define maximum remediation attempts.",
                    "term": "Intent"
                  },
                  {
                    "description": "Verification requires a known rule context before failures can be interpreted.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DiscoverRules → LoadGuidance → InitializeState → SetBounds",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ContextInitialization ::= <RuleDiscovery> \"→\" <GuidanceLoad> \"→\" <VerificationState> \"→\" <IterationBound>\nVerificationState ::= \"verification_results\" \",\" \"iteration_count\" \",\" \"max_iterations\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Iteration Bound](/records/algorithms/iteration-bound)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Failures interpreted with no known rule context, so fixes miss the point.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "discover architecture docs + design guidance → init result containers + iteration counter + max attempts",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Iteration Bound](/records/algorithms/iteration-bound)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-context-initialization",
            "title": "Context Initialization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Run the configured verification procedure, capture raw output, parse errors and warnings, and derive pass status from zero-error condition.",
                    "term": "Intent"
                  },
                  {
                    "description": "Compliance status must be based on executable verification output, not inferred confidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ExecuteSuite → CaptureOutput → ParseErrors → ParseWarnings → PassBoolean",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VerificationExecution ::= <VerificationCommand> \"→\" <RawOutput> \"→\" <ParsedResult>\nParsedResult ::= <ErrorSet> \",\" <WarningSet> \",\" <PassStatus>\nPassStatus ::= \"errors.length == 0\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Reverification Gate](/records/algorithms/reverification-gate), [Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Compliance asserted from confidence, not from the verifier's output.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "run verification suite → capture raw output → parse errors + warnings → pass = errors.length == 0",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-verification-execution",
            "title": "Verification Execution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "If verification has no errors, report successful compliance and terminate without remediation.",
                    "term": "Intent"
                  },
                  {
                    "description": "A clean verification result is terminal and must not trigger unnecessary mutation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "VerificationResult → IsPass? → ReportSuccess|Continue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EarlyExit ::= <ParsedResult> \"→\" <PassCheck> \"→\" <SuccessReport>\nPassCheck ::= \"true\" | \"false\"\nSuccessReport ::= \"zero_violations\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A clean verification result still triggers unnecessary remediation.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "parsed result → is pass? → report zero-violations success and terminate, no mutation",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-early-success-exit",
            "title": "Early Success Exit"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each verification error, classify the violation into a known remediation category and attach the matching strategy.",
                    "term": "Intent"
                  },
                  {
                    "description": "Fixes must be selected by violation semantics, not by ad hoc text editing.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Error → Category → Strategy",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ViolationClassification ::= <ErrorSet> \"→\" <CategorizedViolationSet>\nCategory ::= \"file_limit\" | \"import_pattern\" | \"naming\" | \"base_class\" | \"css_token\" | \"dom_factory\" | \"console\" | \"lifecycle\" | \"unknown\"\nCategorizedViolation ::= <Error> \",\" <Category> \",\" <RemediationStrategy>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Verification Loop](/records/algorithms/verification-loop), [Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Errors fixed by ad hoc text editing, not by their semantics.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "each error → category{file_limit | import | naming | base_class | css_token | dom_factory | console | lifecycle} → matching strategy",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-violation-classification",
            "title": "Violation Classification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Group classified violations by category, order groups by severity, and apply fixes from highest architectural risk to lowest.",
                    "term": "Intent"
                  },
                  {
                    "description": "Remediation should resolve structural blockers before cosmetic or secondary violations.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CategorizedViolations → SeveritySort → OrderedFixQueue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SeverityOrdering ::= <ViolationCategorySet> \"→\" <SeverityRank> \"→\" <OrderedViolationQueue>\nSeverityRank ::= \"critical\" | \"high\" | \"medium\" | \"low\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A cosmetic warning fixed before a structural blocker.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "classified violations → group by category → order by severity → fix highest architectural risk first",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-severity-ordered-remediation",
            "title": "Severity-Ordered Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Increment iteration count before remediation, compare it to the maximum allowed attempts, and stop with partial success when the bound is exceeded.",
                    "term": "Intent"
                  },
                  {
                    "description": "Automated remediation must be bounded to avoid infinite repair loops.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Increment → CompareLimit → Continue|PartialExit",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "IterationBound ::= <IterationCount> \"→\" <Increment> \"→\" <LimitCheck> \"→\" <LoopDecision>\nLoopDecision ::= \"continue_remediation\" | \"stop_manual_review_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Context Initialization](/records/algorithms/context-initialization), [Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Automated remediation loops forever on an unfixable violation.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "increment iteration → compare to max → {continue | stop, manual review required}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-iteration-bound",
            "title": "Iteration Bound"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Read the violating file, analyze the violation type, transform content according to design guidance, write the updated content, and preserve compatibility with verification rules.",
                    "term": "Intent"
                  },
                  {
                    "description": "Each fix is a localized transformation constrained by architectural guidance.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ReadFile → AnalyzeViolation → Transform → WriteFile",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FileScopedFix ::= <Violation> \"→\" <FileRead> \"→\" <ViolationAnalysis> \"→\" <DesignGuidedTransformation> \"→\" <FileWrite>\nDesignGuidedTransformation ::= <CurrentContent> \",\" <ViolationType> \",\" <DesignGuide> \"→\" <UpdatedContent>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A fix edits broadly, breaking things the verifier didn't flag.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "violation → read file → analyze → transform per design guidance → write updated content",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-file-scoped-fix",
            "title": "File-Scoped Fix"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "When a file exceeds the allowed size, split responsibilities into smaller compliant artifacts, preserve imports and exports, and rewire references.",
                    "term": "Intent"
                  },
                  {
                    "description": "Size violations usually indicate excessive responsibility concentration.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OversizedFile → ResponsibilitySplit → NewArtifacts → ReferenceUpdate → SizeCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FileLimitFix ::= <OversizedArtifact> \"→\" <ResponsibilityPartition> \"→\" <ArtifactSplit> \"→\" <ReferenceRewrite> \"→\" <LineLimitValidation>\nLineLimitValidation ::= \"line_count <= configured_limit\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An oversized file trimmed by deleting code instead of splitting responsibility.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "oversized file → split responsibilities into compliant artifacts → preserve imports/exports → rewire references → size <= limit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-file-limit-remediation",
            "title": "File Limit Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect invalid cross-boundary imports, locate the approved dependency path or shared abstraction, rewrite imports, and verify dependency direction.",
                    "term": "Intent"
                  },
                  {
                    "description": "Import fixes must restore architectural boundaries rather than merely silence errors.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "InvalidImport → BoundaryRule → ApprovedPath → RewriteImport → DependencyCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ImportBoundaryFix ::= <ImportViolation> \"→\" <BoundaryPolicy> \"→\" <AllowedReference> \"→\" <ImportRewrite> \"→\" <DependencyValidation>\nBoundaryPolicy ::= \"same_module_only\" | \"shared_boundary_required\" | \"adapter_boundary_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A cross-boundary import error silenced without restoring the boundary.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "invalid import → boundary rule{same-module | shared | adapter} → approved path → rewrite → verify dependency direction",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-import-boundary-remediation",
            "title": "Import Boundary Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compare file, folder, class, or symbol names against naming rules, derive compliant names, rename artifacts, and update all references.",
                    "term": "Intent"
                  },
                  {
                    "description": "Naming remediation requires identity migration, not isolated renaming.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "InvalidName → NamingRule → NewName → Rename → ReferenceUpdate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NamingFix ::= <NamingViolation> \"→\" <NamingConvention> \"→\" <CompliantIdentifier> \"→\" <RenameOperation> \"→\" <ReferenceConsistencyCheck>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A file renamed but its references left dangling.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "invalid name → naming rule → compliant identifier → rename → update all references (identity migration)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-naming-convention-remediation",
            "title": "Naming Convention Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect classes missing required base abstraction, refactor inheritance or composition according to role rules, migrate duplicated lifecycle logic into hooks, and verify behavior remains represented.",
                    "term": "Intent"
                  },
                  {
                    "description": "Base-class violations are architectural adoption failures.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "NonCompliantClass → ExpectedBase → RefactorExtension → HookMigration → Verify",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BaseClassFix ::= <ClassRole> \"→\" <ExpectedBaseAbstraction> \"→\" <InheritanceOrCompositionUpdate> \"→\" <LifecycleHookMigration> \"→\" <ComplianceCheck>\nComplianceCheck ::= \"class_extends_expected_base\" | \"uses_required_composition_boundary\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A class missing its required base 'fixed' by silencing the rule.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "class role → expected base → refactor inheritance/composition → migrate duplicated lifecycle into hooks → verify behavior represented",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-base-class-compliance-remediation",
            "title": "Base-Class Compliance Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace hardcoded style values with approved design tokens, verify token availability, and run style validation.",
                    "term": "Intent"
                  },
                  {
                    "description": "Presentation constants should resolve through design-system tokens.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "HardcodedStyle → TokenLookup → Replacement → StyleValidation",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CssTokenFix ::= <HardcodedStyleValue> \"→\" <DesignTokenResolution> \"→\" <TokenReplacement> \"→\" <StyleValidation>\nDesignTokenResolution ::= \"existing_token\" | \"new_token_required\" | \"manual_review_required\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A hardcoded color left in place, the rule disabled instead.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "hardcoded style value → resolve design token{existing | new | manual review} → replace → style validation",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-css-token-remediation",
            "title": "CSS Token Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace direct DOM manipulation with the approved DOM factory, component factory, or rendering abstraction.",
                    "term": "Intent"
                  },
                  {
                    "description": "DOM creation must flow through the sanctioned construction boundary.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DirectDOM → FactoryBoundary → Rewrite → BehaviorCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DomFactoryFix ::= <DirectDomUsage> \"→\" <ApprovedCreationBoundary> \"→\" <FactoryRewrite> \"→\" <LifecycleCompatibilityCheck>\nDirectDomUsage ::= \"document.querySelector\" | \"document.createElement\" | \"innerHTML\" | \"direct_event_binding\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification), [object_creation](/records/force/object-creation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Direct document.createElement kept, the rule ignored.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "direct DOM{querySelector, createElement, innerHTML, direct event} → approved creation boundary → factory rewrite → lifecycle check",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dom-factory-remediation",
            "title": "DOM Factory Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace direct console calls with the approved logging abstraction, preserve severity and message context, and verify no direct console usage remains.",
                    "term": "Intent"
                  },
                  {
                    "description": "Observability should be centralized behind a logging contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ConsoleCall → LoggerMapping → Replacement → SearchNoConsole",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConsoleFix ::= <ConsoleUsage> \"→\" <LoggerSeverityMapping> \"→\" <LoggerReplacement> \"→\" <ConsoleAbsenceCheck>\nLoggerSeverityMapping ::= \"console.log→info\" | \"console.warn→warn\" | \"console.error→error\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability), [event_messaging](/records/force/event-messaging)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A console.log left in and the rule bypassed.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "console call → logger severity mapping{log→info, warn→warn, error→error} → replace → verify no direct console remains",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-console-usage-remediation",
            "title": "Console Usage Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect resources created without corresponding cleanup, add destroy or teardown paths, and verify create/destroy symmetry.",
                    "term": "Intent"
                  },
                  {
                    "description": "Lifecycle compliance requires every acquired resource to have a release path.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AcquireResource → MissingRelease? → AddCleanup → SymmetryCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LifecycleFix ::= <LifecycleViolation> \"→\" <AcquiredResourceSet> \"→\" <CleanupRequirementSet> \"→\" <DestroyPathUpdate> \"→\" <SymmetryValidation>\nSymmetryValidation ::= \"created_resources == destroyed_resources\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A resource acquired with no release path, leaking.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "lifecycle violation → acquired resources → add destroy/teardown → verify created == destroyed",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-lifecycle-symmetry-remediation",
            "title": "Lifecycle Symmetry Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "After remediation, run style validation, parse style errors, apply style-specific corrections, and block re-verification until style checks pass or are reported.",
                    "term": "Intent"
                  },
                  {
                    "description": "Syntax and style conformance must be restored before the next architectural verification cycle.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Remediation → Stylelint → StyleErrors? → FixStyle → Continue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StylePostValidation ::= <RemediatedArtifacts> \"→\" <StyleValidationRun> \"→\" (<StylePass> | <StyleFixCycle>)\nStyleFixCycle ::= <StyleErrorSet> \"→\" <StyleCorrectionSet> \"→\" <StyleValidationRun>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The next architectural cycle runs on style-broken code.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "remediation → run style validation → fix style errors → block re-verification until style passes",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-stylelint-post-fix",
            "title": "Stylelint Post-Fix"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "After fixes and style validation, rerun the full verification suite rather than trusting local corrections.",
                    "term": "Intent"
                  },
                  {
                    "description": "Only the authoritative verification suite can confirm global compliance.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "FixesApplied → LocalValidation → FullVerification",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ReverificationGate ::= <RemediationResult> \"→\" <PostFixValidation> \"→\" <VerificationExecution>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Verification Execution](/records/algorithms/verification-execution)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Local corrections trusted as global compliance.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "fixes applied → local validation → rerun the full authoritative verification suite",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Verification Execution](/records/algorithms/verification-execution)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-reverification-gate",
            "title": "Reverification Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "When iteration bounds are exhausted, report remaining violations, categorize unresolved issues, and mark the result as requiring manual review.",
                    "term": "Intent"
                  },
                  {
                    "description": "Bounded automation should fail visibly with actionable residue.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "MaxIterations → RemainingViolations → ManualReviewReport",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PartialSuccessReport ::= <IterationLimitReached> \"→\" <RemainingViolationSet> \"→\" <ManualReviewRequired>\nManualReviewRequired ::= \"remaining_errors\" \",\" \"remaining_warnings\" \",\" \"blocked_categories\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Iteration bound hit and the run silently reports success.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "max iterations → remaining violations categorized → mark result manual-review-required (visible, actionable residue)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-partial-success-reporting",
            "title": "Partial Success Reporting"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Report total iterations, fixed error count, remaining warnings, and final verification status.",
                    "term": "Intent"
                  },
                  {
                    "description": "Completion output should separate fixed violations from tolerated or remaining warnings.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "FinalState → Iterations → FixedCount → WarningCount → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CompletionReport ::= <FinalVerificationState> \",\" <IterationCount> \",\" <FixedCount> \",\" <RemainingWarningCount>\nFinalVerificationState ::= \"passed\" | \"partial_success\" | \"failed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Codebase Verification Kernel](/records/algorithms/codebase-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A report that mixes fixed violations with tolerated warnings.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "final state → {total iterations, fixed count, remaining warnings, final status{passed | partial | failed}}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-completion-report",
            "title": "Completion Report"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load compliance context, run verification, parse results, exit on pass, classify violations on failure, remediate by severity, run post-fix style validation, and repeat until zero errors or iteration limit.",
                    "term": "Intent"
                  },
                  {
                    "description": "Codebase verification is a bounded remediation state machine driven by authoritative compliance output.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Context → Verify → Parse → Pass? → Classify → Fix → StyleValidate → Reverify → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CodebaseVerificationKernel ::= <ContextInitialization> \"→\" <VerificationExecution> \"→\" (<EarlyExit> | <ViolationClassification> \"→\" <IterationBound> \"→\" <SeverityOrdering> \"→\" <FileScopedFix> \"→\" <StylePostValidation> \"→\" <ReverificationGate>) \"→\" <CompletionReport>\nSuccessCondition ::= \"verification_errors == 0\"\nFailureBound ::= \"iteration_count > max_iterations\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Context Initialization](/records/algorithms/context-initialization), [Verification Execution](/records/algorithms/verification-execution), [Violation Classification](/records/algorithms/violation-classification), [Iteration Bound](/records/algorithms/iteration-bound), [File-Scoped Fix](/records/algorithms/file-scoped-fix), [Reverification Gate](/records/algorithms/reverification-gate), [Completion Report](/records/algorithms/completion-report)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Verification](/records/architecture/verification)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Context Initialization](/records/algorithms/context-initialization)",
                    "term": "orient"
                  },
                  {
                    "description": "[Violation Classification](/records/algorithms/violation-classification)",
                    "term": "derive"
                  },
                  {
                    "description": "[Severity-Ordered Remediation](/records/algorithms/severity-ordered-remediation)",
                    "term": "intent"
                  },
                  {
                    "description": "[File-Scoped Fix](/records/algorithms/file-scoped-fix)",
                    "term": "act"
                  },
                  {
                    "description": "[Verification Execution](/records/algorithms/verification-execution)",
                    "term": "verify"
                  },
                  {
                    "description": "[Completion Report](/records/algorithms/completion-report)",
                    "term": "commit"
                  },
                  {
                    "description": "[Iteration Bound](/records/algorithms/iteration-bound)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Compliance claimed after one edit, never re-verified.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "context → verify → parse → pass? → classify → severity-order fix → style validate → reverify → repeat until zero errors or bound",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Context Initialization](/records/algorithms/context-initialization), [Verification Execution](/records/algorithms/verification-execution), [Violation Classification](/records/algorithms/violation-classification), [Iteration Bound](/records/algorithms/iteration-bound), [File-Scoped Fix](/records/algorithms/file-scoped-fix), [Reverification Gate](/records/algorithms/reverification-gate), [Completion Report](/records/algorithms/completion-report)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-codebase-verification-kernel",
            "title": "Codebase Verification Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [codebase-verification](/records/algorithms-domain/codebase-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Load rules> → <Run authoritative verifier> → <Parse failures> → <Classify by violation type> → <Apply bounded fixes> → <Run local post-fix validation> → <Rerun verifier> → <Exit on pass or bound>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any programmatic compliance workflow should be treated as a bounded verification-remediation loop whose only completion signal is the authoritative verifier passing.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Rules → Verify → Errors → Categories → Fixes → LocalValidation → Reverify → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ComplianceConcern ::= <RuleContext> \"→\" <AuthoritativeVerification> \"→\" <ViolationRegistry> \"→\" <RemediationQueue> \"→\" <BoundedMutationCycle> \"→\" <Reverification> \"→\" <FinalStatus>\nFinalStatus ::= \"passed\" | \"partial_success_manual_review\" | \"failed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the authoritative verification suite, whose output is the only completion signal",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the suite checks",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code changes or a fix is applied",
                    "term": "Freshness"
                  },
                  {
                    "description": "The loop reports no completion until the suite passes, and stops at its iteration bound with the residue reported",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because compliance is decided on the suite's output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The suite's output, which a completion claim cites",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-compliance-verification-concern",
            "title": "<Compliance Verification Concern>"
          }
        ],
        "title": "Codebase verification"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_phase_separated_execution[\"Phase-Separated Execution\"]\n    n_evidence_gated_claim_verification[\"Evidence-Gated Claim Verification\"]\n    n_validation_gate[\"Validation Gate\"]\n    n_file_modification_recovery[\"File Modification Recovery\"]\n    n_trust_anchor_declaration[\"Trust Anchor Declaration\"]\n    n_environment_capability_verification[\"Environment Capability Verification\"]\n    n_tool_calibration[\"Tool Calibration\"]\n    n_behavioral_self_test[\"Behavioral Self-Test\"]\n    n_adversarial_input_testing[\"Adversarial Input Testing\"]\n    n_defensive_string_normalization[\"Defensive String Normalization\"]\n    n_safe_arithmetic_contract[\"Safe Arithmetic Contract\"]\n    n_recursion_control[\"Recursion Control\"]\n    n_recursive_self_verification[\"Recursive Self-Verification\"]\n    n_advanced_tool_escalation[\"Advanced Tool Escalation\"]\n    n_investigation_report[\"Investigation Report\"]\n    n_action_log[\"Action Log\"]\n    n_contract_based_verification_kernel[\"Contract-Based Verification Kernel\"]\n    n_context_verification_concern[\"<Context Verification Concern>\"]\n    n_contract_based_verification_kernel --> n_tool_calibration\n    n_contract_based_verification_kernel --> n_behavioral_self_test\n    n_contract_based_verification_kernel --> n_validation_gate\n    n_contract_based_verification_kernel --> n_trust_anchor_declaration\n    n_contract_based_verification_kernel --> n_advanced_tool_escalation\n    n_contract_based_verification_kernel --> n_phase_separated_execution\n    n_contract_based_verification_kernel --> n_evidence_gated_claim_verification\n    n_contract_based_verification_kernel --> n_investigation_report\n    n_context_verification_concern --> n_validation_gate"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-context-verification",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect the current workflow phase, bind allowed operations to that phase, reject operations outside the phase contract, and emit only the artifact valid for that phase.",
                    "term": "Intent"
                  },
                  {
                    "description": "A system must separate discovery from mutation so that analysis cannot accidentally remediate and remediation cannot silently expand scope.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DetectPhase → BindCapabilities → EnforceMode → ExecuteAllowedOnly → EmitPhaseArtifact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PhaseExecution ::= <PhaseDetect> \"→\" <CapabilityBinding> \"→\" <ModeEnforcement> \"→\" <AllowedExecution> \"→\" <PhaseOutput>\nPhaseDetect ::= \"INVESTIGATE\" | \"ACTION\"\nAllowedExecution ::= <InvestigationOnly> | <ActionOnly>\nInvestigationOnly ::= \"Discover\" \"Test\" \"Document\" \"NoModify\"\nActionOnly ::= \"FixKnownGap\" \"Modify\" \"Version\" \"NoDiscovery\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An investigation starts fixing gaps and a fix expands its scope, with neither reported.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "detect phase{INVESTIGATE | ACTION} → bind allowed ops → INVESTIGATE{discover, test, document, no-modify} | ACTION{fix known gap, version, no-discovery}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-phase-separated-execution",
            "title": "Phase-Separated Execution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract claims, resolve each claim into observable evidence requirements, collect direct implementation evidence, classify each claim as verified, contradicted, or unverified, and report discrepancies.",
                    "term": "Intent"
                  },
                  {
                    "description": "No architectural claim is trusted until mapped to implementation evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Claim → EvidenceRequirement → Observation → Classification → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ClaimVerification ::= <ClaimSet> \"→\" <EvidenceMap> \"→\" <ObservationSet> \"→\" <VerdictSet> \"→\" <Report>\nClaimSet ::= <Claim> | <Claim> \",\" <ClaimSet>\nVerdictSet ::= \"verified\" | \"contradicted\" | \"unverified\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Plan Phase Verification](/records/algorithms/plan-phase-verification)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'The core has no infra imports' trusted because it sounds right.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "claims → map each to an observable evidence requirement → collect implementation evidence → verdict{verified | contradicted | unverified}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-evidence-gated-claim-verification",
            "title": "Evidence-Gated Claim Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "After each critical stage, evaluate declared success criteria, block downstream progression when critical criteria fail, and carry warning-state forward when noncritical criteria fail.",
                    "term": "Intent"
                  },
                  {
                    "description": "Complex workflows require explicit checkpoints that convert hidden uncertainty into visible control flow.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Stage → Criteria → Evaluate → Pass|Warn|Block → Continue|Abort",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ValidationGate ::= <Stage> \"→\" <CriteriaSet> \"→\" <GateResult>\nGateResult ::= \"PASS\" | \"WARN\" | \"BLOCK\"\nCriteriaSet ::= <Criterion> | <Criterion> \",\" <CriteriaSet>\nCriterion ::= <Condition> \":\" <PriorityRank>\nPriorityRank ::= \"critical\" | \"high\" | \"medium\" | \"low\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[<Workflow Orchestration Concern>](/records/algorithms/workflow-orchestration-concern), [Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel), [<Context Verification Concern>](/records/algorithms/context-verification-concern), [Phase Close Gate](/records/algorithms/phase-close-gate)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A stage's uncertainty stays hidden and flows silently downstream.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "stage → criteria{critical | noncritical} → {PASS | WARN | BLOCK} → block downstream on a critical failure",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-validation-gate",
            "title": "Validation Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "When a file mutation fails because state changed between read and edit, reread the current file, merge the intended delta into the current content, write the complete new version, and verify persistence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Treat stale-write failures as state synchronization failures, not as patch failures.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EditFail → ReRead → MergeDelta → WriteFullState → Verify",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FileRecovery ::= \"ModificationError\" \"→\" <ReadCurrent> \"→\" <Merge> \"→\" <WriteComplete> \"→\" <VerifyWrite>\nMerge ::= <CurrentContent> \"+\" <RequiredChange> \"→\" <NewContent>\nVerifyWrite ::= \"Exists\" \"&\" \"ContentMatches\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A stale-write failure re-patches the old content, corrupting state.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "edit fail → re-read current → merge the delta into full state → write complete version → verify{exists & content matches}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-file-modification-recovery",
            "title": "File Modification Recovery"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Declare the minimum assumptions required for the system to verify anything, bind all verification logic to those assumptions, and disclose the verification boundary.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every axiom a verifier rests on is declared explicitly.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "MinimalAssumptions → Boundary → VerificationScope → Disclosure",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TrustAnchor ::= <AssumptionSet> \"→\" <TrustBoundary> \"→\" <Scope>\nAssumptionSet ::= <Assumption> | <Assumption> \",\" <AssumptionSet>\nAssumption ::= \"RuntimeWorks\" | \"FilesystemWorks\" | \"CommandExecutionWorks\" | \"ToolIOWorks\"\nTrustBoundary ::= \"CannotVerifyVerifierWithoutExternalReference\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The verifier's own axioms are hidden, so its boundary is unknowable.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "declare minimal assumptions{runtime, filesystem, execution, tool IO} → boundary{cannot verify the verifier} → disclosed, not verified",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-trust-anchor-declaration",
            "title": "Trust Anchor Declaration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Before executing advanced behavior, probe required runtime dependencies, classify each dependency failure by severity, and degrade or block capability based on criticality.",
                    "term": "Intent"
                  },
                  {
                    "description": "Runtime capability must be measured before the workflow relies on it.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Requirement → Probe → Status → Severity → CapabilityMode",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EnvironmentVerification ::= <RequirementSet> \"→\" <ProbeSet> \"→\" <StatusSet> \"→\" <CapabilityVerdict>\nCapabilityVerdict ::= \"full\" | \"degraded\" | \"blocked\"\nStatus ::= \"passed\" | \"failed\"\nRequirement ::= \"runtime\" | \"packageManager\" | \"writePermission\" | \"filesystem\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Advanced analysis relied on before checking the runtime can run it.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "requirements{runtime, package manager, write, filesystem} → probe each → classify by severity → mode{full | degraded | blocked}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-environment-capability-verification",
            "title": "Environment Capability Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Create known-good and known-bad fixtures, run the verification tool against both, detect false positives and false negatives, and mark the tool reliable only if both controls pass.",
                    "term": "Intent"
                  },
                  {
                    "description": "Verification tools must be tested against controls before their results are trusted.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "KnownGood + KnownBad → RunTool → CompareExpected → CalibrateReliability",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ToolCalibration ::= <FixtureSet> \"→\" <ToolRun> \"→\" <ExpectedComparison> \"→\" <ReliabilityVerdict>\nFixtureSet ::= <KnownGood> \",\" <KnownBad>\nReliabilityVerdict ::= \"reliable\" | \"false_positive_risk\" | \"false_negative_risk\" | \"unreliable\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A detector's match trusted with no control test.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "known-good + known-bad fixtures → run tool → detect false-positive AND false-negative → reliable only if both controls pass",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-tool-calibration",
            "title": "Tool Calibration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Execute the system’s claimed behaviors against simple positive and negative cases, compare actual output to expected output, and treat mismatch as implementation evidence failure.",
                    "term": "Intent"
                  },
                  {
                    "description": "A capability counts only once its behavior matches a testable contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ClaimedBehavior → PositiveCase + NegativeCase → Execute → Compare → Verdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BehavioralSelfTest ::= <BehaviorClaim> \"→\" <TestCasePair> \"→\" <ExecutionResult> \"→\" <BehaviorVerdict>\nTestCasePair ::= <PositiveCase> \",\" <NegativeCase>\nBehaviorVerdict ::= \"matches_contract\" | \"false_positive\" | \"false_negative\" | \"failed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A claimed capability trusted without ever running it on a case.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "claimed behavior → positive + negative case → execute → compare → {matches contract | false-positive | false-negative | failed}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-behavioral-self-test",
            "title": "Behavioral Self-Test"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Generate malicious, malformed, ambiguous, and deceptive inputs, execute the detection logic against them, and classify whether the system resists or accepts invalid patterns.",
                    "term": "Intent"
                  },
                  {
                    "description": "Verification logic must be tested against hostile inputs, not only ordinary examples.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AttackInput → ExecuteDetector → ExpectedReject|ExpectedIgnore → VulnerabilityVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AdversarialTesting ::= <AttackSet> \"→\" <DetectorExecution> \"→\" <SecurityVerdict>\nAttackSet ::= <Attack> | <Attack> \",\" <AttackSet>\nAttack ::= \"pathTraversal\" | \"nullByte\" | \"unicodeHomoglyph\" | \"commentFalsePositive\" | \"patternSpoof\"\nSecurityVerdict ::= \"blocked\" | \"ignored\" | \"vulnerable\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A detector accepted after ordinary examples pass, never tested hostilely.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "attacks{pathTraversal, nullByte, unicodeHomoglyph, commentFalsePositive, patternSpoof} → run detector → {blocked | ignored | vulnerable}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-adversarial-input-testing",
            "title": "Adversarial Input Testing"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Reject null input, remove dangerous path/control patterns, normalize Unicode representation, and only pass sanitized strings to filesystem, parser, or command boundaries.",
                    "term": "Intent"
                  },
                  {
                    "description": "All external strings must be converted from hostile representation into bounded representation before use.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RawString → NullGuard → StripDanger → Normalize → SafeString",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StringNormalization ::= <RawString> \"→\" <NullGuard> \"→\" <DangerRemoval> \"→\" <UnicodeNormalize> \"→\" <SafeString>\nNullGuard ::= \"reject(null|undefined)\"\nDangerRemoval ::= \"remove('../')\" | \"remove('..\\\\')\" | \"remove(NULL_BYTE)\"\nUnicodeNormalize ::= \"NFC\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A raw external string passed straight to a filesystem or command boundary.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "raw string → null-guard → strip{'../', null byte} → Unicode NFC → only the sanitized string crosses a boundary",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-defensive-string-normalization",
            "title": "Defensive String Normalization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Check operands before calculation, reject division by zero, reject non-finite results, enforce bounds, and return nullable or typed failure instead of unsafe numeric state.",
                    "term": "Intent"
                  },
                  {
                    "description": "Arithmetic output is only valid if the operation and result both satisfy the numeric contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Operands → PreconditionCheck → Compute → FiniteCheck → BoundsCheck → Result|Failure",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SafeArithmetic ::= <Operands> \"→\" <Preconditions> \"→\" <Computation> \"→\" <Postconditions> \"→\" <NumericOutput>\nPreconditions ::= \"denominator != 0\" | \"operands finite\"\nPostconditions ::= \"isFinite(result)\" | \"withinBounds(result)\"\nNumericOutput ::= <Number> | \"null\" | <TypedFailure>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A division runs unchecked and returns NaN or Infinity into a decision.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "operands → preconditions{denominator != 0, finite} → compute → postconditions{isFinite, within bounds} → number | null | typed failure",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-safe-arithmetic-contract",
            "title": "Safe Arithmetic Contract"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [dynamical-systems](/records/reasoning/math-type-dynamical-systems)",
                  "Yields: boolean | counter"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Increment depth on recursive entry, compare against maximum depth, reject excessive recursion, and unwind depth on completion.",
                    "term": "Intent"
                  },
                  {
                    "description": "Recursive systems require explicit depth governance to prevent runaway self-reference.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Enter → IncrementDepth → CheckLimit → Continue|Reject → Exit",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RecursionControl ::= <EnterRecursiveCall> \"→\" <DepthIncrement> \"→\" <LimitCheck> \"→\" <Decision> \"→\" <Exit>\nDecision ::= \"continue\" | \"reject_max_depth_exceeded\"\nLimitCheck ::= \"currentDepth <= maxDepth\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Boundary Reconciliation](/records/algorithms/boundary-reconciliation), [Plan Phase Verification](/records/algorithms/plan-phase-verification), [Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A recursive self-reference runs away with no depth bound.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "enter → increment depth → depth <= max? → {continue | reject max-depth} → unwind on exit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-recursion-control",
            "title": "Recursion Control"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load the system’s own definition, extract self-claims, search for implementation evidence of each claim, classify discrepancies, and downgrade confidence when self-description exceeds implemented behavior.",
                    "term": "Intent"
                  },
                  {
                    "description": "A verifier should apply its verification rules to itself.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SelfDefinition → ExtractClaims → VerifyClaims → DetectDiscrepancies → ConfidenceAdjustment",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SelfVerification ::= <SelfDefinition> \"→\" <SelfClaimSet> \"→\" <EvidenceSearch> \"→\" <DiscrepancySet> \"→\" <ConfidenceState>\nConfidenceState ::= \"confirmed\" | \"partially_confirmed\" | \"overclaimed\" | \"invalid\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The verifier exempts itself from its own rules and overclaims.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "self definition → extract self-claims → search implementation evidence → discrepancies → confidence{confirmed | overclaimed | invalid}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-recursive-self-verification",
            "title": "Recursive Self-Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "When direct tools cannot answer a verification question, synthesize a specialized analyzer, execute it against the target, parse its output, and integrate the result as evidence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Missing capability should trigger controlled tool construction rather than unsupported inference.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Need → CapabilityGap → GenerateTool → ExecuteTool → ParseEvidence → Integrate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ToolEscalation ::= <AnalysisNeed> \"→\" <CapabilityCheck> \"→\" <ToolConstruction> \"→\" <ToolExecution> \"→\" <EvidenceIntegration>\nCapabilityCheck ::= \"direct_capability_available\" | \"requires_generated_tool\"\nToolConstruction ::= \"write_script\" \"→\" \"execute_script\" \"→\" \"parse_results\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [object_creation](/records/force/object-creation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A capability gap filled by inference instead of evidence.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "analysis need → capability gap → write script → execute → parse → integrate the result as evidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-advanced-tool-escalation",
            "title": "Advanced Tool Escalation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Collect verified findings, failed checks, warnings, discrepancies, environmental limits, adversarial results, and confidence level into a structured report without performing remediation.",
                    "term": "Intent"
                  },
                  {
                    "description": "Investigation produces evidence, not fixes.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EvidenceSet → FindingSet → RiskSet → Confidence → Report",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "InvestigationReport ::= <EvidenceSet> \"→\" <Findings> \"→\" <Risks> \"→\" <Confidence> \"→\" <Report>\nFindings ::= <VerifiedFinding> | <Discrepancy> | <UnverifiedClaim>\nReport ::= \"investigation_report\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Contract-Based Verification Kernel](/records/algorithms/contract-based-verification-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An investigation that also 'quickly fixes' what it found.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "evidence → findings + risks + adversarial results + confidence → one investigation report, no remediation",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-investigation-report",
            "title": "Investigation Report"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Accept only documented gaps as input, apply bounded changes, version the modified artifact, verify the write, and emit an action log without discovering new scope.",
                    "term": "Intent"
                  },
                  {
                    "description": "Remediation operates only on known evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DocumentedGap → BoundedFix → Version → Verify → ActionLog",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ActionLog ::= <DocumentedGapSet> \"→\" <FixSet> \"→\" <VersionedArtifact> \"→\" <Verification> \"→\" <Log>\nDocumentedGapSet ::= <Gap> | <Gap> \",\" <DocumentedGapSet>\nFixSet ::= <Fix> | <Fix> \",\" <FixSet>\nLog ::= \"action_log\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A fix run against a gap that was never documented, discovering new scope mid-flight.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "documented gaps only → bounded fix → version → verify write → action log; discovers nothing new",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-action-log",
            "title": "Action Log"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Declare assumptions, detect phase, verify environment, calibrate tools, execute phase-legal behavior, test adversarially, enforce validation gates, self-verify claims, and emit a typed artifact.",
                    "term": "Intent"
                  },
                  {
                    "description": "A reusable verification kernel is a gated state machine whose transitions are evidence-bound and phase-constrained.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Assumptions → Phase → Environment → Calibration → Execution → AdversarialTest → SelfVerify → TypedOutput",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VerificationKernel ::= <TrustAnchor> \"→\" <PhaseExecution> \"→\" <EnvironmentVerification> \"→\" <ToolCalibration> \"→\" <BehavioralSelfTest> \"→\" <AdversarialTesting> \"→\" <ValidationGate> \"→\" <SelfVerification> \"→\" <TypedOutput>\nTypedOutput ::= \"investigation_report\" | \"action_log\" | \"blocked_execution_report\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Tool Calibration](/records/algorithms/tool-calibration), [Behavioral Self-Test](/records/algorithms/behavioral-self-test), [Validation Gate](/records/algorithms/validation-gate)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Design by Contract](/records/architecture/design-by-contract)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Trust Anchor Declaration](/records/algorithms/trust-anchor-declaration)",
                    "term": "orient"
                  },
                  {
                    "description": "[Tool Calibration](/records/algorithms/tool-calibration)",
                    "term": "see"
                  },
                  {
                    "description": "[Advanced Tool Escalation](/records/algorithms/advanced-tool-escalation)",
                    "term": "act"
                  },
                  {
                    "description": "[Phase-Separated Execution](/records/algorithms/phase-separated-execution)",
                    "term": "constrain"
                  },
                  {
                    "description": "[Evidence-Gated Claim Verification](/records/algorithms/evidence-gated-claim-verification)",
                    "term": "verify"
                  },
                  {
                    "description": "[Investigation Report](/records/algorithms/investigation-report)",
                    "term": "commit"
                  },
                  {
                    "description": "[Validation Gate](/records/algorithms/validation-gate)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Behavior trusted because it looks right, with no phase, calibration, or self-check.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "declare assumptions → detect phase → verify environment → calibrate tools → phase-legal execution → adversarial test → validation gate → self-verify → typed artifact",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Tool Calibration](/records/algorithms/tool-calibration), [Behavioral Self-Test](/records/algorithms/behavioral-self-test), [Validation Gate](/records/algorithms/validation-gate)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-contract-based-verification-kernel",
            "title": "Contract-Based Verification Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [context-verification](/records/algorithms-domain/context-verification)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Detect required contract> → <Bind allowed capability> → <Execute bounded operation> → <Validate evidence> → <Emit typed result>",
                    "term": "Intent"
                  },
                  {
                    "description": "<Any system behavior should be treated as a contract-bound transition whose legitimacy depends on phase, evidence, and postcondition verification.>",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Contract → Capability → Operation → Gate → Artifact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConcernAlgorithm ::= <PhaseContract> \"→\" <CapabilityBinding> \"→\" <Operation> \"→\" <ValidationGate> \"→\" <TypedArtifact>\nPhaseContract ::= <Precondition> \",\" <AllowedActionSet> \",\" <ForbiddenActionSet> \",\" <Postcondition>\nTypedArtifact ::= <Report> | <Log> | <Failure>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Validation Gate](/records/algorithms/validation-gate)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the verifier's evidence gate, which maps every claim to implementation evidence, its calibration and self-tests, which check the verifier before its results are trusted",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every claim under investigation and the files that could support it",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or document behind a claim changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A claim with no mapped evidence is reported unverified, and the investigation writes no fix",
                    "term": "Refusal"
                  },
                  {
                    "description": "The environment capability probes, which measure the runtime before the workflow relies on it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The implementation evidence, which a claim is verified against",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Validation Gate](/records/algorithms/validation-gate)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-context-verification-concern",
            "title": "<Context Verification Concern>"
          }
        ],
        "title": "Context verification"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_convergence_walk[\"Convergence Walk\"]\n    n_invocation_join[\"Invocation Join\"]\n    n_duplicate_disposition_walk[\"Duplicate Disposition Walk\"]\n    n_lifetime_resolution[\"Lifetime Resolution\"]"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-coordination",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [coordination](/records/algorithms-domain/coordination)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Take a venue from its opening to the archive in a fixed order, so the question of whether a decision is made and the question of whether it is built are answered by two surfaces.",
                    "term": "Intent"
                  },
                  {
                    "description": "A venue leaves the active surface only once its outcome is absorbed, and it leaves by moving to the archive, never by deletion.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OpenVenue → HoldVenue → SignOutcome → CloseOutcome → AbsorbWork → ArchiveVenue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConvergenceWalk ::= <OpenVenue> \"→\" <HoldVenue> \"→\" <SignOutcome> \"→\" <CloseOutcome> \"→\" <AbsorbWork> \"→\" <ArchiveVenue>\nArchiveVenue ::= \"moved_with_positions\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[control_coordination](/records/force/control-coordination), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Independent Lifetime Axes](/records/architecture/independent-lifetime-axes)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A discussion is closed once every party signs, so the ruling stands, the gate turns green and the change the ruling implied is never built.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "open with an exit condition → hold, failing the pipeline → sign, one own line per participant → close, outcome written to the surviving documents → absorb, a checklist with an owner per item that lands → archive, the venue moved with every position intact",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the coordination member's venue, archive and writer checks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every venue closure, run start, duplicate set and surface lifetime a coordination topology carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a venue, a run declaration, a copy of a fact or a lifetime declaration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The coordination checks refuse a venue closed without its outcome absorbed, a closure missing its extraction, and a writer outside the sanctioned set",
                    "term": "Refusal"
                  },
                  {
                    "description": "Each closure, run and copy compared against the declarations that govern it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared schema and lifetime of each surface, which every closure, run and copy conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-convergence-walk",
            "title": "Convergence Walk"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [coordination](/records/algorithms-domain/coordination)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Decide for each caller whether a live run already answers its question, joining by reading when one does and starting by declare-then-read ordering when none does.",
                    "term": "Intent"
                  },
                  {
                    "description": "A joiner writes nothing and enters no collision comparison, and a starter writes its entry before it reads the set of live runs.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Caller → CoverageTest → JoinByRead → DeclareEntry → ReadLiveSet → StartVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "InvocationJoin ::= <Caller> \"→\" <CoverageTest> \"→\" <JoinByRead> \"|\" <DeclareEntry> \"→\" <ReadLiveSet> \"→\" <StartVerdict>\nStartVerdict ::= \"proceed\" | \"yield\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[control_coordination](/records/force/control-coordination), [state_transaction](/records/force/state-transaction)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Read-Time Join](/records/architecture/read-time-join)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every caller of a shared measurement starts its own run, so two runs over one question collide and each writes a report.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "caller → a live declared scope covers the question: join, read the published result and its standing, write nothing → none covers it: start, write the entry, then read the set → the earlier stamp proceeds, the other exits without writing",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the coordination member's venue, archive and writer checks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every venue closure, run start, duplicate set and surface lifetime a coordination topology carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a venue, a run declaration, a copy of a fact or a lifetime declaration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The coordination checks refuse a venue closed without its outcome absorbed, a closure missing its extraction, and a writer outside the sanctioned set",
                    "term": "Refusal"
                  },
                  {
                    "description": "Each closure, run and copy compared against the declarations that govern it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared schema and lifetime of each surface, which every closure, run and copy conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-invocation-join",
            "title": "Invocation Join"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [coordination](/records/algorithms-domain/coordination)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Walk a duplicated fact in order, enumerating its copies, counting the distinguished ones, reading each derivation edge's period, choosing the disposition and checking which consumer each copy reaches.",
                    "term": "Intent"
                  },
                  {
                    "description": "A collapse follows only a direction exactly one distinguished copy supplies, and a copy across a one-shot edge is diagnosed rather than rewritten.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EnumerateCopies → CountDistinguished → ReadPeriods → ChooseDisposition → CheckDelivery",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DuplicateDispositionWalk ::= <EnumerateCopies> \"→\" <CountDistinguished> \"→\" <ReadPeriods> \"→\" <ChooseDisposition> \"→\" <CheckDelivery>\nCountDistinguished ::= \"direction\" | \"cycle\" | \"undeclared\"\nChooseDisposition ::= \"nothing_owed\" | \"comparator_owed\" | \"diagnose_and_repair_source\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Period-Decided Disposition](/records/architecture/period-decided-disposition)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A fact stated in several places is collapsed toward whichever copy looks authoritative, and the copies written once against an earlier state of the source are overwritten.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "enumerate every copy any consumer reaches → count the distinguished copies: one gives a direction, none refuses as a cycle, more than one refuses as undeclared → read each edge's period → deliver: add the copy the population is missing",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the coordination member's venue, archive and writer checks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every venue closure, run start, duplicate set and surface lifetime a coordination topology carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a venue, a run declaration, a copy of a fact or a lifetime declaration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The coordination checks refuse a venue closed without its outcome absorbed, a closure missing its extraction, and a writer outside the sanctioned set",
                    "term": "Refusal"
                  },
                  {
                    "description": "Each closure, run and copy compared against the declarations that govern it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared schema and lifetime of each surface, which every closure, run and copy conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-duplicate-disposition-walk",
            "title": "Duplicate Disposition Walk"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [coordination](/records/algorithms-domain/coordination)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Resolve the lifetime of the unit an operation targets from the file's declared default and the declared divergence of its section, reading each axis separately and never from the path.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every decision a mechanism takes about a surface resolves from a declared lifetime, and a surface that declares nothing is undeclared rather than defaulted.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Surface → FileDefault → SectionDivergence → ResolvedAxes",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LifetimeResolution ::= <Surface> \"→\" <FileDefault> \"→\" <SectionDivergence> \"→\" <ResolvedAxes>\nResolvedAxes ::= \"retention\" \",\" \"mutability\" \",\" \"removal_authority\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[control_coordination](/records/force/control-coordination), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Independent Lifetime Axes](/records/architecture/independent-lifetime-axes)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A mechanism decides what it may do to a surface from the shape of its path, so a retired surface under a working folder is swept like a live one.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "surface → the file's declared default on each axis → each section's declared divergence → the resolved retention, mutability and removal authority for the unit the operation targets → an undeclared surface stays undeclared",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the coordination member's venue, archive and writer checks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every venue closure, run start, duplicate set and surface lifetime a coordination topology carries",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a venue, a run declaration, a copy of a fact or a lifetime declaration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The coordination checks refuse a venue closed without its outcome absorbed, a closure missing its extraction, and a writer outside the sanctioned set",
                    "term": "Refusal"
                  },
                  {
                    "description": "Each closure, run and copy compared against the declarations that govern it",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared schema and lifetime of each surface, which every closure, run and copy conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-lifetime-resolution",
            "title": "Lifetime Resolution"
          }
        ],
        "title": "Coordination"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_coverage_workspace[\"Coverage Workspace\"]\n    n_surface_grid_walk[\"Surface Grid Walk\"]\n    n_uncovered_gap_derivation[\"Uncovered Gap Derivation\"]\n    n_coverage_risk_prioritization[\"Coverage Risk Prioritization\"]\n    n_technique_invariant_selection[\"Technique and Invariant Selection\"]\n    n_test_authoring[\"Test Authoring\"]\n    n_evidence_verdict[\"Evidence Verdict\"]\n    n_coverage_ledger[\"Coverage Ledger\"]\n    n_coverage_completion[\"Coverage Completion\"]\n    n_test_coverage_kernel[\"Test Coverage Kernel\"]\n    n_test_coverage_concern[\"<Test Coverage Concern>\"]\n    n_test_coverage_kernel --> n_coverage_workspace\n    n_test_coverage_kernel --> n_surface_grid_walk\n    n_test_coverage_kernel --> n_uncovered_gap_derivation\n    n_test_coverage_kernel --> n_coverage_risk_prioritization\n    n_test_coverage_kernel --> n_technique_invariant_selection\n    n_test_coverage_kernel --> n_test_authoring\n    n_test_coverage_kernel --> n_evidence_verdict\n    n_test_coverage_kernel --> n_coverage_ledger\n    n_test_coverage_kernel --> n_coverage_completion"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-test-coverage",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Establish the unit under test, load the test-surface catalog as the space of what can be wrong, and enumerate every surface the unit can carry, so coverage is measured against the full derivable space rather than an ad-hoc list.",
                    "term": "Intent"
                  },
                  {
                    "description": "Coverage must be measured against the derivable surface space, not a remembered subset.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "UnitUnderTest → SurfaceCatalog → CandidateSurfaceSet → CoverageWorkspace",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CoverageWorkspace ::= <UnitUnderTest> \"→\" <SurfaceCatalog> \"→\" <CandidateSurfaceSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Testing starts from whatever surfaces come to mind, with no record of the full space a system can fail in.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "unit under test → load the test-surface catalog{dimension x lens → invariant, technique} → a coverage workspace enumerating every surface the unit can carry",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-coverage-workspace",
            "title": "Coverage Workspace"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Walk the dimension-by-lens grid across the catalog, mark every cell that carries a surface, and surface the empty cells as candidate gaps using the anomaly lens, so a missing aspect is detected structurally rather than by recollection.",
                    "term": "Intent"
                  },
                  {
                    "description": "An empty (dimension x lens) cell that can fail is an untested aspect until a surface is derived for it.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SurfaceCatalog → GridWalk → PresentCellSet → CandidateGapSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SurfaceGridWalk ::= <CandidateSurfaceSet> \"→\" <DimensionLensGrid> \"→\" <PresentCellSet> \",\" <CandidateGapSet>\nDimensionLensGrid ::= <OntologyDimension> \"x\" <AnalysisLens>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "[anomaly](/records/reasoning/lens-anomaly), [semantic-correctness](/records/reasoning/test-surface-semantic-correctness)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Coverage is asserted from the surfaces already tested, so the empty cells of the dimension x lens grid stay invisible.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "catalog → walk (dimension x lens) grid → present cells (a surface exists) vs empty cells (no surface) → the candidate-gap set the anomaly lens surfaces",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-surface-grid-walk",
            "title": "Surface Grid Walk"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Reduce the candidate-gap set to the cells this unit can fail in, yielding the required-but-uncovered surfaces that still owe a test, so effort is spent on gaps that can fail rather than the full cartesian complement.",
                    "term": "Intent"
                  },
                  {
                    "description": "A gap counts only where the unit can fail; the coverage obligation is the required set, not the whole grid.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CandidateGapSet → FailabilityFilter → RequiredUncoveredSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "UncoveredGapDerivation ::= <CandidateGapSet> \"→\" <FailabilityFilter> \"→\" <RequiredUncoveredSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The gap set is treated as final, so cells that cannot fail for this unit are chased and the gaps that can fail are diluted.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "candidate gaps → keep only cells this unit can fail in → required-but-uncovered set = the surfaces still owed a test",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-uncovered-gap-derivation",
            "title": "Uncovered Gap Derivation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Score each required-uncovered surface by failure impact and reachability, rank the surfaces, and address the highest-risk gaps first, so limited testing effort removes the most risk.",
                    "term": "Intent"
                  },
                  {
                    "description": "The highest-risk uncovered surface is tested first.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RequiredUncoveredSet → RiskScore → PrioritizedSurfaceQueue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CoverageRiskPrioritization ::= <RequiredUncoveredSet> \"→\" <RiskScoreSet> \"→\" <PrioritizedSurfaceQueue>\nRiskScore ::= <FailureImpact> \"*\" <Reachability>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every uncovered surface is treated as equally urgent, so a rarely hit cosmetic gap competes with an unguarded security boundary.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "required-uncovered surfaces → failure-impact x reachability → priority → the highest-risk surfaces first",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-coverage-risk-prioritization",
            "title": "Coverage Risk Prioritization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each prioritized surface, state the invariant that must hold and select the technique whose reasoning mode matches how that surface is observed, so the test asserts the right property by the right method.",
                    "term": "Intent"
                  },
                  {
                    "description": "The technique is chosen by matching its reasoning mode to the surface, and the assertion is the surface's invariant.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Surface → InvariantStatement → ModeMatchedTechnique → SurfacePlan",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TechniqueInvariantSelection ::= <Surface> \"→\" <Invariant> \",\" <ModeMatchedTechnique> \"→\" <SurfacePlan>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A test is written before deciding what must hold or how to obtain evidence, so it asserts an accidental condition with the wrong technique.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "surface → state its invariant (the assertion) → pick the technique whose reasoning mode matches how the surface is observed → a matched (invariant, technique) plan",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-technique-invariant-selection",
            "title": "Technique and Invariant Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Realize each surface plan as an executable test: encode the predicate as an assertion and wire the evidence source the technique requires, producing a runnable test that covers the surface.",
                    "term": "Intent"
                  },
                  {
                    "description": "A covered surface has an executable test whose predicate is checkable and whose evidence source is wired.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SurfacePlan → PredicateAssertion → EvidenceWiring → RunnableTest",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TestAuthoring ::= <SurfacePlan> \"→\" <PredicateAssertion> \",\" <EvidenceWiring> \"→\" <RunnableTest>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The plan stays a note; the predicate is never realized as an executable check that gathers evidence.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "surface plan → realize the predicate as an executable assertion → wire the evidence source the technique requires → a runnable test for the surface",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-test-authoring",
            "title": "Test Authoring"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Run each test, gather its evidence, and issue the verdict: pass or fail when the evidence set is non-empty, unknown when it is empty, so an untested or unrun surface reads as unknown rather than as a silent pass.",
                    "term": "Intent"
                  },
                  {
                    "description": "A verdict is pass or fail only against a non-empty evidence set; no evidence yields unknown, never pass.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RunnableTest → EvidenceSet → Verdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "EvidenceVerdict ::= <RunnableTest> \"→\" <EvidenceSet> \"→\" <Verdict>\nVerdict ::= \"pass\" | \"fail\" | \"unknown\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A surface with no run is silently treated as passing, so absence of evidence reads as evidence of correctness.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "run the test → gather evidence → non-empty evidence set: pass or fail; empty evidence set: unknown (the coverage-gap state), never pass",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-evidence-verdict",
            "title": "Evidence Verdict"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Record each surface's verdict in a durable coverage ledger together with the residual uncovered and unknown set, so coverage state is reusable evidence rather than a fact re-derived on every run.",
                    "term": "Intent"
                  },
                  {
                    "description": "Coverage state is durable ledger evidence, not a per-run recomputation.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "VerdictSet → CoverageLedger → ResidualGapSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CoverageLedger ::= <VerdictSet> \"→\" <SurfaceLedger> \"→\" <ResidualGapSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Each run forgets the last, so which surfaces are covered, uncovered, or unknown must be re-derived every time.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "verdicts → a durable coverage ledger{surface → verdict} + the residual uncovered/unknown set → reusable coverage state",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-coverage-ledger",
            "title": "Coverage Ledger"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Mark coverage complete only when every required surface carries a surface, a technique, and an invariant, and its verdict is non-unknown; any required surface still unknown leaves coverage incomplete.",
                    "term": "Intent"
                  },
                  {
                    "description": "Completion is the absence of required-unknown surfaces, not an aggregate percentage.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CoverageLedger → RequiredSurfaceCheck → CompletionVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CoverageCompletion ::= <CoverageLedger> \"→\" <RequiredSurfaceCheck> \"→\" <CompletionVerdict>\nCompletionVerdict ::= \"coverage_complete\" | \"coverage_incomplete\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Test Coverage Kernel](/records/algorithms/test-coverage-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Coverage is declared done while required surfaces remain unknown, so the untested cells hide behind an aggregate percentage.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "ledger → every required surface carries a surface + technique + invariant AND a non-unknown verdict → complete; any required-unknown remains → incomplete",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-coverage-completion",
            "title": "Coverage Completion"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Load the surface catalog for a unit, walk the dimension-by-lens grid, derive the required-uncovered surfaces, prioritize them by risk, select a mode-matched technique and invariant per surface, author the test, issue an evidence verdict, ledger the state, and terminate only when no required surface remains unknown.",
                    "term": "Intent"
                  },
                  {
                    "description": "Test coverage is a derivation from the surface space to a durable verdict ledger, complete only when no required surface is unknown.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workspace → GridWalk → GapDerivation → RiskPriority → TechniqueInvariant → TestAuthoring → EvidenceVerdict → Ledger → Completion",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TestCoverageKernel ::= <CoverageWorkspace> \"→\" <SurfaceGridWalk> \"→\" <UncoveredGapDerivation> \"→\" <CoverageRiskPrioritization> \"→\" <TechniqueInvariantSelection> \"→\" <TestAuthoring> \"→\" <EvidenceVerdict> \"→\" <CoverageLedger> \"→\" <CoverageCompletion>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Coverage Workspace](/records/algorithms/coverage-workspace), [Surface Grid Walk](/records/algorithms/surface-grid-walk), [Uncovered Gap Derivation](/records/algorithms/uncovered-gap-derivation), [Coverage Risk Prioritization](/records/algorithms/coverage-risk-prioritization), [Technique and Invariant Selection](/records/algorithms/technique-invariant-selection), [Test Authoring](/records/algorithms/test-authoring), [Evidence Verdict](/records/algorithms/evidence-verdict), [Coverage Ledger](/records/algorithms/coverage-ledger), [Coverage Completion](/records/algorithms/coverage-completion)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [semantic_consistency](/records/force/semantic-consistency), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Specification-Based Testing](/records/architecture/specification-based-testing)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Coverage Workspace](/records/algorithms/coverage-workspace)",
                    "term": "orient"
                  },
                  {
                    "description": "[Surface Grid Walk](/records/algorithms/surface-grid-walk)",
                    "term": "see"
                  },
                  {
                    "description": "[Uncovered Gap Derivation](/records/algorithms/uncovered-gap-derivation)",
                    "term": "derive"
                  },
                  {
                    "description": "[Coverage Risk Prioritization](/records/algorithms/coverage-risk-prioritization)",
                    "term": "intent"
                  },
                  {
                    "description": "[Technique and Invariant Selection](/records/algorithms/technique-invariant-selection)",
                    "term": "project"
                  },
                  {
                    "description": "[Test Authoring](/records/algorithms/test-authoring)",
                    "term": "act"
                  },
                  {
                    "description": "[Evidence Verdict](/records/algorithms/evidence-verdict)",
                    "term": "verify"
                  },
                  {
                    "description": "[Coverage Ledger](/records/algorithms/coverage-ledger)",
                    "term": "commit"
                  },
                  {
                    "description": "[Coverage Completion](/records/algorithms/coverage-completion)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Coverage is pursued by intuition and reported as a percentage, so the space a system can fail in is never walked and unknown surfaces pass silently.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "workspace → grid walk → gap derivation → risk priority → technique+invariant → authored test → evidence verdict → ledger → completion",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Coverage Workspace](/records/algorithms/coverage-workspace), [Surface Grid Walk](/records/algorithms/surface-grid-walk), [Uncovered Gap Derivation](/records/algorithms/uncovered-gap-derivation), [Coverage Risk Prioritization](/records/algorithms/coverage-risk-prioritization), [Technique and Invariant Selection](/records/algorithms/technique-invariant-selection), [Test Authoring](/records/algorithms/test-authoring), [Evidence Verdict](/records/algorithms/evidence-verdict), [Coverage Ledger](/records/algorithms/coverage-ledger), [Coverage Completion](/records/algorithms/coverage-completion)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-test-coverage-kernel",
            "title": "Test Coverage Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [test-coverage](/records/algorithms-domain/test-coverage)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Load the surface catalog for a unit> → <Walk the dimension x lens grid> → <Derive the required-uncovered surfaces> → <Prioritize by risk> → <Select a mode-matched technique and its invariant> → <Author the test> → <Issue an evidence verdict> → <Ledger the coverage state> → <Terminate when no required surface is unknown>",
                    "term": "Intent"
                  },
                  {
                    "description": "Coverage is complete when every (dimension x lens) surface the unit can fail in carries a surface, a technique, and an invariant with a non-unknown verdict.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SurfaceSpace → GridWalk → RequiredGaps → Priority → TechniqueInvariant → AuthoredTest → Verdict → Ledger",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TestCoverageConcern ::= <SurfaceCatalog> \"→\" <DimensionLensGrid> \"→\" <RequiredUncoveredSet> \"→\" <PrioritizedSurfaceQueue> \"→\" <SurfacePlanSet> \"→\" <RunnableTestSet> \"→\" <VerdictSet> \"→\" <CoverageLedger>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the evidence verdict, which is pass or fail only against a non-empty evidence set, the covered-surfaces check on each module's declaration",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every surface the unit can fail in",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the unit's code or its tests change",
                    "term": "Freshness"
                  },
                  {
                    "description": "A required surface with no evidence stays unknown, and completion is refused while any required surface is unknown",
                    "term": "Refusal"
                  },
                  {
                    "description": "The runtime techniques among the surfaces' lists, which locate failures without certifying their absence",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The evidence set, which a verdict is decided from, so a required surface without evidence stays unknown",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-test-coverage-concern",
            "title": "<Test Coverage Concern>"
          }
        ],
        "title": "Test coverage"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_pag_document_declaration[\"PAG Document Declaration\"]\n    n_pag_keyword_ontology[\"PAG Keyword Ontology\"]\n    n_pag_node_decomposition[\"PAG Node Decomposition\"]\n    n_pag_validation_gate[\"PAG Handoff Gate\"]\n    n_pag_explicit_control_flow[\"PAG Explicit Control Flow\"]\n    n_pag_constraint_boundary[\"PAG Invariant Record\"]\n    n_pag_tool_invocation[\"PAG Semantic Operation\"]\n    n_pag_coordination_construct[\"PAG Structure Declaration\"]\n    n_pag_ambiguity_reduction[\"PAG Ambiguity Reduction\"]\n    n_pag_authoring_kernel[\"PAG Authoring Kernel\"]\n    n_pag_well_formedness_validation[\"PAG Well-Formedness Validation\"]\n    n_pag_instruction_concern[\"<PAG Instruction Concern>\"]\n    n_pag_authoring_kernel --> n_pag_document_declaration\n    n_pag_authoring_kernel --> n_pag_keyword_ontology\n    n_pag_authoring_kernel --> n_pag_node_decomposition\n    n_pag_authoring_kernel --> n_pag_validation_gate\n    n_pag_authoring_kernel --> n_pag_explicit_control_flow\n    n_pag_authoring_kernel --> n_pag_tool_invocation\n    n_pag_authoring_kernel --> n_pag_coordination_construct\n    n_pag_authoring_kernel --> n_pag_constraint_boundary\n    n_pag_authoring_kernel --> n_pag_well_formedness_validation\n    n_pag_well_formedness_validation --> n_pag_validation_gate\n    n_pag_well_formedness_validation --> n_pag_explicit_control_flow"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-pag",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Bind a document to a declared type and its default verb (THIS <TYPE> <VERB> <description>) after the YAML frontmatter and before any node, then declare in the meta block what the document is for, which sources ground which, what it trusts, what it may touch and what it declares outside itself, and how far repair may recurse.",
                    "term": "Intent"
                  },
                  {
                    "description": "A PAG document announces what kind of instruction it is, and what it may touch, before it instructs.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Frontmatter → TypeDeclaration → DefaultVerb → MetaBlock → Jurisdiction → DeclaredContract",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagDocumentDeclaration ::= <Frontmatter> \"→\" <TypeDeclaration> \"→\" <MetaBlock> \"→\" <DeclaredContract>\nPagDocumentType ::= \"AGENT\" | \"WORKFLOW\" | \"PROTOCOL\" | \"POLICY\" | \"CHECKLIST\" | \"TEMPLATE\" | \"TASK\" | \"INSTRUCTION\" | \"PROMPT\" | \"COMMAND\" | \"TEST\" | \"DEBUG\" | \"VERIFICATION\" | \"DISTILLATION\" | \"AUDIT\" | \"TRANSLATION\" | \"COMPOSITION\"\nPagDocumentVerb ::= \"IS\" | \"ENFORCES\" | \"EXECUTES\" | \"PERFORMS\" | \"PROVIDES\" | \"IMPLEMENTS\" | \"DEFINES\" | \"MANAGES\" | \"COORDINATES\" | \"HAS\" | \"GENERATES\" | \"RESOLVES\" | \"FINDS\" | \"FIXES\" | \"VERIFIES\" | \"CLASSIFIES\" | \"DISTILLS\" | \"ABSTRACTS\" | \"ELIMINATES\" | \"AUDITS\" | \"MEASURES\" | \"SCORES\" | \"CORRECTS\" | \"RENDERS\" | \"COMPOSES\" | \"FOLDS\"\nPagMetaField ::= \"objective\" | \"priority\" | \"trust\" | \"jurisdiction\" | \"recursion_limit\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [contract_compatibility](/records/force/contract-compatibility), [metaprogramming_modeling](/records/force/metaprogramming-modeling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A document instructs with no declared type — its semantic contract, its authority and its jurisdiction are implicit.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "frontmatter → THIS {AGENT|WORKFLOW|CHECKLIST} {IS|EXECUTES|ENFORCES} description → META block{objective, priority, trust, jurisdiction, recursion_limit} → declared contract",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-document-declaration",
            "title": "PAG Document Declaration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Draw every operative token from a fixed, uppercase, code-frequent vocabulary partitioned into semantic categories, each token grounded to a record in the reasoning ontology, and bind targets to sources through explicit prepositions, so the model completes recognized structured patterns rather than interpreting prose.",
                    "term": "Intent"
                  },
                  {
                    "description": "Explicit high-frequency uppercase tokens, each grounded to a reasoning record, reduce interpretive variance; prose does not.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ProseIntent → KeywordCategory → UppercaseToken → ReasoningGround → PrepositionBinding → StructuredDirective",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagKeywordOntology ::= <KeywordCategory> \"→\" <KeywordToken> \"→\" <ReasoningGround> \"→\" <PrepositionBinding> \"→\" <StructuredDirective>\nPagKeywordCategory ::= \"semantic_operation\" | \"node\" | \"action\" | \"control_flow\" | \"declaration\" | \"modifier\" | \"coordination\" | \"state_machine\" | \"dag\" | \"priority_queue\" | \"flowchart\" | \"document_type\" | \"document_verb\" | \"meta\" | \"validation\" | \"report\" | \"invariant\" | \"contextual\"\nPagPreposition ::= \"FROM\" | \"TO\" | \"INTO\" | \"WITH\" | \"USING\" | \"AGAINST\" | \"IN\" | \"AS\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[metaprogramming_modeling](/records/force/metaprogramming-modeling), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Get the data and check it' — prose the model must interpret.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "prose intent → uppercase token{READ_RESOURCE|ANALYZE_CONTENT|VALIDATE_ARTIFACT} + preposition{FROM|INTO|AGAINST} → structured directive, low interpretive variance",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-keyword-ontology",
            "title": "PAG Keyword Ontology"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Group directives into nodes, each one decision on one reasoning axis, headed by its layer, axis, math type and the shape its decision yields, tagged with the substrate stage its artifact comes to be at, and contracted so that its input names the prior node's output or a declared slot, its transform is stated in semantic operations, and its output is the one record the next node reads.",
                    "term": "Intent"
                  },
                  {
                    "description": "Each node is one bounded decision whose data flow from the prior node is declared by identity, never inferred from a name.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DirectiveSet → NodeHeader → GenesisStage → Contract → DeclaredInput → NodeOutput",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagNodeDecomposition ::= <DirectiveSet> \"→\" <NodeSet> \"→\" <DataFlowGraph>\nPagNodeHeader ::= \"#\" \"NODE\" <NodeNumber> \"—\" <NodeTitle> \"[\" <Layer> \"·\" <Axis> \"·\" <MathType> \"·\" \"yields:\" <Shape> \"]\"\nPagNodeContract ::= \"CONTRACT:\" \"input:\" <PriorOutputOrSlot> \"transform:\" <SemanticOperations> \"output:\" <NodeOutput> <OptionalFreshness>\nPagScopeRule ::= \"declare_before_use\" \",\" \"document_wide_scope\" \",\" \"prior_output_only\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [domain_boundary](/records/force/domain-boundary), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Directives poured in one flat block, forward-referencing later work, with no statement of what each block decides or what shape its decision takes.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "directives → nodes{# NODE n — NAME [layer · axis · math type · yields: shape], @genesis, CONTRACT input/transform/output, one gate} → a node reads only the prior node's output → explicit data flow",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-node-decomposition",
            "title": "PAG Node Decomposition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Close every node with a handoff gate of three-to-five checks, each a claim about the output with the evidence that settles it and the population it was measured over, a refusal condition named before any irreversible write, the standing of the read set beside the verdict, and a result line that routes pass to the next node, each failure to the earliest node that owns its repair, and unknown to blocked.",
                    "term": "Intent"
                  },
                  {
                    "description": "A node boundary is trusted only when its checks carry evidence and a population, its writes are refused before they land, and its unknown is routed; unknown is not pass.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "NodeOutput → CheckWithEvidence → Population → Refusal → Standing → ThreeVerdicts → ResultLine",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagHandoffGate ::= <NodeOutput> \"→\" <CheckLineSet> \"→\" <OptionalRefusal> \"→\" <OptionalStanding> \"→\" <ResultLine>\nPagCheckLine ::= \"[check]\" <Claim> \"(evidence:\" <Evidence> \")\" \"over:\" <Set> \"measured:\" <Count> \"/\" <Count>\nPagVerdict ::= \"pass\" | \"fail\" | \"unknown\"\nPagResultLine ::= \"result:\" \"pass\" \"→\" <NextNode> \"|\" <Failure> \"→\" \"REPAIR\" \"(owner:\" <Node> \")\" \"|\" \"unknown\" \"→\" \"BLOCKED\"\nPagGateConstraint ::= \"evidence_per_check\" \",\" \"population_declared\" \",\" \"three_to_five_checks\" \",\" \"refusal_before_write\" \",\" \"unknown_routed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel), [PAG Well-Formedness Validation](/records/algorithms/pag-well-formedness-validation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence), [ver-population](/records/reasoning/node-ver-population), [ver-refusal](/records/reasoning/node-ver-refusal), [ver-standing](/records/reasoning/node-ver-standing), [ter-block](/records/reasoning/node-ter-block)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A node ends with 'looks good' — a vague assertion with no evidence, no population, no refusal, and only two verdicts.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "node output → 3-5 checks{[check] claim (evidence: what settles it) over: set measured: n / N} + refuse: condition before write + standing: moved-set + result: pass → next | failure → REPAIR (owner) | unknown → BLOCKED",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-validation-gate",
            "title": "PAG Handoff Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Express branching with IF / ELSE IF / ELSE, iteration with FOR EACH over a collection (never a bare FOR), and failure handling with TRY / CATCH, every conditional colon-terminated and every branch a complete directive sequence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Control flow is explicit and colon-delimited so the model does not infer structure from prose sequence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Condition → BranchSet → IterationForm → FailureForm → DeterministicPath",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagControlFlow ::= <Conditional> | <Iteration> | <FailureHandling>\nPagIteration ::= \"FOR\" \"EACH\" <Iterator> \"IN\" <Collection> \":\" <DirectiveSet>\nPagControlConstraint ::= \"colon_terminated\" \",\" \"for_each_not_for\" \",\" \"complete_branch_directives\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel), [PAG Well-Formedness Validation](/records/algorithms/pag-well-formedness-validation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Branching and iteration inferred from prose order; a bare FOR, a missing colon.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "IF/ELSE IF/ELSE + FOR EACH x IN collection + TRY/CATCH → every conditional colon-terminated, complete branch directives",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-explicit-control-flow",
            "title": "PAG Explicit Control Flow"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "State every behavioral invariant as a record with four slots: the property in a form that could be false, the set it quantifies over, the parties it binds, and the objector, the check that would disagree if the property stopped holding or none as declared debt, so an unwatched invariant is visible rather than assumed.",
                    "term": "Intent"
                  },
                  {
                    "description": "An invariant is stated with its property, its set, its parties and its objector, or it is indistinguishable from a property a reader happened to infer.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BehaviorPolicy → Property → Set → Parties → Objector → InvariantRecord",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagInvariantBlock ::= \"#\" \"CROSS-NODE\" \"INVARIANTS\" <InvariantRecord>+\nPagInvariantRecord ::= \"INVARIANT\" <Name> \":\" <Property> \"over:\" <Set> \"binds:\" <Parties> \"objector:\" (<CheckRef> | \"none\")\nPagInvariantQuality ::= \"falsifiable\" \",\" \"quantified\" \",\" \"delivered\" \",\" \"watched\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [security_governance](/records/force/security-governance), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Behavioral rules as a bullet list under ALWAYS and NEVER — no set the rule ranges over, no party it binds, nothing that would disagree if it stopped holding.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "INVARIANT name: property over: set binds: parties objector: check | none → each invariant stated in a form that could be false, with what watches it",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-constraint-boundary",
            "title": "PAG Invariant Record"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Name every external effect as one of the semantic operations (discover, read, search, analyze, extract, calculate, compose, validate, persist, execute, request a decision, report) with a uniform WITH / USING parameter clause and an INTO / arrow result binding, so the document names what it does and an adapter binding resolves how, and no host's tool name enters the document.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every external effect is a semantic operation with explicit parameters and an explicit result binding, and the host's tools are the adapter's data.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SemanticOperation → OperationTarget → ParameterClause → ResultBinding → AdapterBinding",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagToolInvocation ::= <SemanticOperation> <OperationTarget> <OptionalParamClause> <OptionalResultClause>\nPagSemanticOperation ::= \"DISCOVER_RESOURCES\" | \"READ_RESOURCE\" | \"SEARCH_CONTENT\" | \"ANALYZE_CONTENT\" | \"EXTRACT_FACTS\" | \"CALCULATE_METRIC\" | \"COMPOSE_ARTIFACT\" | \"VALIDATE_ARTIFACT\" | \"PERSIST_ARTIFACT\" | \"EXECUTE_TOOL\" | \"REQUEST_DECISION\" | \"REPORT_RESULT\"\nPagResultBinding ::= \"INTO\" <Identifier> | \"→\" <Identifier> | \"AS\" <Identifier>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An external effect described in prose, or named by one host's tool, so the document runs in one place only.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "semantic operation{READ_RESOURCE|PERSIST_ARTIFACT|EXECUTE_TOOL|REQUEST_DECISION} + WITH/USING params + INTO/→ result → a named effect the adapter binds to a host's tool",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-tool-invocation",
            "title": "PAG Semantic Operation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Make a document's structure explicit with the declaration that names it: a DAG for a dependency graph, a STATE_MACHINE for a lifetime or a set of derived states, a PRIORITY_QUEUE for a ranking, a FLOWCHART for the rendered projection of a declared structure, and for a shared surface the coordination model's SURFACE, RECORD and ITEM with their typed edges, derived states and the one post-and-wait operation, so ordering, ownership and state are declared as structure rather than narrated as prose.",
                    "term": "Intent"
                  },
                  {
                    "description": "Ordering, ownership and state are declared through explicit structure constructs a check can read, never implied by textual order.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StructureNeed → StructureDeclaration → DeclaredEdges → DerivedState → ReadableStructure",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagStructure ::= <Dag> | <StateMachine> | <PriorityQueue> | <Flowchart> | <Surface>\nPagStructureForm ::= \"DAG\" | \"STATE_MACHINE\" | \"PRIORITY_QUEUE\" | \"FLOWCHART\" | \"SURFACE\"\nPagSurface ::= \"SURFACE\" <SurfaceKey> \":\" (\"RECORD\" <RecordId> \"subject:\" <SubjectKey> <EdgeClause>*)+\nPagEdgeKind ::= \"PARENT\" | \"SATISFIED_BY\" | \"BLOCKS\" | \"ANSWERS\" | \"REFUTES\" | \"SUPERSEDES\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[control_coordination](/records/force/control-coordination), [event_messaging](/records/force/event-messaging), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Concurrency, ordering, lifetimes and ownership implied by the order sentences appear in.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "a declared structure → DAG{dependency graph} | STATE_MACHINE{lifetime, derived states} | PRIORITY_QUEUE{ranking} | FLOWCHART{rendered projection} | SURFACE{RECORD, ITEM, typed edges, WAIT} → the structure is explicit and a check can read it",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-coordination-construct",
            "title": "PAG Structure Declaration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Replace interpretive prose with explicit structured tokens so the model completes recognized patterns, while accepting that output stays probabilistic: the grammar reduces input ambiguity, it does not constrain output tokens or guarantee determinism.",
                    "term": "Intent"
                  },
                  {
                    "description": "PAG shapes the input toward consistent completion and does not always apply; it reduces the variance of the output without making it deterministic.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ProseAmbiguity → TokenStructure → PatternRecognition → ReducedVariance",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagAmbiguityReduction ::= <ProseIntent> \"→\" <StructuredPattern> \"→\" <ReducedInterpretationLoad>\nPagApplicabilityBound ::= \"input_shaping_only\" \",\" \"probabilistic_output\" \",\" \"not_always_applicable\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Prose intent claimed to guarantee deterministic model output.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "prose → structured tokens → reduced interpretation load; input-shaping only, output stays probabilistic (less variance, never deterministic)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-ambiguity-reduction",
            "title": "PAG Ambiguity Reduction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compose a PAG document as frontmatter and typed declaration, then a meta block with jurisdiction, then nodes each headed by its layer, axis, math type and yields, contracted to read the prior node's output, and closed by a handoff gate with evidence, population, refusal and the three verdicts, drawing directives from the semantic operations, control flow and structure declarations, and closing with invariant records and a report.",
                    "term": "Intent"
                  },
                  {
                    "description": "A well-formed PAG document is a node-gated, keyword-typed, invariant-bounded instruction contract whose every verdict carries its population.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Declaration → MetaBlock → Nodes → Gates → Directives → Invariant → Report → PagDocument",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagAuthoringKernel ::= <PagDocumentDeclaration> \"→\" <PagKeywordOntology> \"→\" <PagNodeDecomposition> \"→\" <PagHandoffGate> \"→\" <PagControlFlow> \"→\" <PagToolInvocation> \"→\" <PagStructure> \"→\" <PagInvariantBlock>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[PAG Document Declaration](/records/algorithms/pag-document-declaration), [PAG Keyword Ontology](/records/algorithms/pag-keyword-ontology), [PAG Node Decomposition](/records/algorithms/pag-node-decomposition), [PAG Handoff Gate](/records/algorithms/pag-validation-gate), [PAG Explicit Control Flow](/records/algorithms/pag-explicit-control-flow), [PAG Semantic Operation](/records/algorithms/pag-tool-invocation), [PAG Structure Declaration](/records/algorithms/pag-coordination-construct), [PAG Invariant Record](/records/algorithms/pag-constraint-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[metaprogramming_modeling](/records/force/metaprogramming-modeling), [model_governance](/records/force/model-governance), [contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Explicit Contracts](/records/architecture/explicit-contracts)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[PAG Document Declaration](/records/algorithms/pag-document-declaration)",
                    "term": "orient"
                  },
                  {
                    "description": "[PAG Keyword Ontology](/records/algorithms/pag-keyword-ontology)",
                    "term": "see"
                  },
                  {
                    "description": "[PAG Node Decomposition](/records/algorithms/pag-node-decomposition)",
                    "term": "project"
                  },
                  {
                    "description": "[PAG Invariant Record](/records/algorithms/pag-constraint-boundary)",
                    "term": "constrain"
                  },
                  {
                    "description": "[PAG Semantic Operation](/records/algorithms/pag-tool-invocation)",
                    "term": "act"
                  },
                  {
                    "description": "[PAG Handoff Gate](/records/algorithms/pag-validation-gate)",
                    "term": "verify"
                  },
                  {
                    "description": "[PAG Well-Formedness Validation](/records/algorithms/pag-well-formedness-validation)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An instruction written as prose, ungated, untyped and unwatched.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "frontmatter + typed declaration → meta block with jurisdiction → nodes each headed, contracted and closed by a handoff gate → directives{semantic operations, control flow, structure declarations} → INVARIANT records → REPORT",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[PAG Document Declaration](/records/algorithms/pag-document-declaration), [PAG Keyword Ontology](/records/algorithms/pag-keyword-ontology), [PAG Node Decomposition](/records/algorithms/pag-node-decomposition), [PAG Handoff Gate](/records/algorithms/pag-validation-gate), [PAG Explicit Control Flow](/records/algorithms/pag-explicit-control-flow), [PAG Semantic Operation](/records/algorithms/pag-tool-invocation), [PAG Structure Declaration](/records/algorithms/pag-coordination-construct), [PAG Invariant Record](/records/algorithms/pag-constraint-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-authoring-kernel",
            "title": "PAG Authoring Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Scan a PAG document for structural and epistemic defects, each named for the shape it catches — a retired unit head, a node without a gate, a check without evidence, a gate without a population or with an empty one, an unknown left unrouted, a write without a refusal, an artifact without freshness, a node declared twice, an input naming no source, an invariant missing its set, parties or objector, a bare invariant block, a lowercase keyword, a bare FOR, a missing colon, a vague condition — and emit a token-based, regex-free verdict.",
                    "term": "Intent"
                  },
                  {
                    "description": "A PAG document is trusted only after a deterministic well-formedness scan whose defect set is the epistemology's failure taxonomy, never because it reads fluently.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PagDocument → DefectScan → DefectSet → WellFormednessVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagWellFormedness ::= <PagDocument> \"→\" <DefectScanSet> \"→\" <WellFormednessVerdict>\nPagDefect ::= \"retired_unit_head\" | \"node_without_gate\" | \"node_tag_malformed\" | \"node_declared_twice\" | \"input_without_source\" | \"check_without_evidence\" | \"gate_without_population\" | \"empty_population\" | \"result_missing\" | \"unknown_unrouted\" | \"write_without_refusal\" | \"artifact_without_freshness\" | \"invariant_without_set\" | \"invariant_without_parties\" | \"invariant_without_objector\" | \"bare_invariant_block\" | \"gate_too_few_conditions\" | \"gate_too_many_conditions\" | \"vague_condition\" | \"for_without_each\" | \"lowercase_keyword\" | \"missing_colon\" | \"no_declaration\"\nPagWellFormednessVerdict ::= \"well_formed\" | \"ill_formed\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[PAG Handoff Gate](/records/algorithms/pag-validation-gate), [PAG Explicit Control Flow](/records/algorithms/pag-explicit-control-flow)",
                    "term": "Composes"
                  },
                  {
                    "description": "[PAG Authoring Kernel](/records/algorithms/pag-authoring-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A PAG document trusted because it reads fluently.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "document → defect scan{retired unit head, node without gate, check without evidence, gate without population, empty population, unknown unrouted, write without refusal, artifact without freshness, node declared twice, input without source, invariant without set/parties/objector, bare invariant block, lowercase keyword, for without each, missing colon, vague condition} → well-formed | ill-formed",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[PAG Handoff Gate](/records/algorithms/pag-validation-gate), [PAG Explicit Control Flow](/records/algorithms/pag-explicit-control-flow)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-well-formedness-validation",
            "title": "PAG Well-Formedness Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pag](/records/algorithms-domain/pag)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Declare document type and jurisdiction> → <Draw grounded uppercase directives> → <Decompose into headed, contracted, gated nodes> → <Bind semantic operations and structure declarations> → <Bound with invariant records> → <Validate well-formedness against the failure taxonomy>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any PAG artifact should be treated as a structured instruction contract whose tokens are drawn from a fixed ontology grounded in the reasoning collection, whose nodes are closed by evidence-bearing gates that carry their population and route unknown to blocked, and whose invariants name their objector, reducing interpretive ambiguity without guaranteeing deterministic output.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DocumentType → Keywords → Nodes → Gates → OperationsAndStructure → Invariant → WellFormedness",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PagInstructionConcern ::= <PagDocumentDeclaration> \"→\" <PagKeywordOntology> \"→\" <PagNodeDecomposition> \"→\" <PagHandoffGate> \"→\" <PagToolInvocation> \"→\" <PagStructure> \"→\" <PagInvariantBlock> \"→\" <PagWellFormedness>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[metaprogramming_modeling](/records/force/metaprogramming-modeling), [model_governance](/records/force/model-governance), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the structured-document validator, whose defect set is the grammar's failure taxonomy",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every agent and template document written in the grammar",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a document or the grammar changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The validation stage fails on any defect code",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because a document is verified before any run",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: a suite plants each defect code in a node-form document and validates a well-formed document clean",
                    "term": "Evidence"
                  },
                  {
                    "description": "The grammar, which every document conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pag-instruction-concern",
            "title": "<PAG Instruction Concern>"
          }
        ],
        "title": "Pattern Abstract Grammar"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_analysis_workspace[\"Analysis Workspace\"]\n    n_registry_baseline[\"Registry Baseline\"]\n    n_compliance_gap[\"Compliance Gap\"]\n    n_semantic_domain_partitioning[\"Semantic Domain Partitioning\"]\n    n_behavioral_signature_extraction[\"Behavioral Signature Extraction\"]\n    n_cross_class_pattern_detection[\"Cross-Class Pattern Detection\"]\n    n_behavioral_inconsistency[\"Behavioral Inconsistency\"]\n    n_sequential_chain_duplication[\"Sequential Chain Duplication\"]\n    n_temporal_coupling_detection[\"Temporal Coupling Detection\"]\n    n_relational_graph_duplication[\"Relational Graph Duplication\"]\n    n_causal_wiring_duplication[\"Causal Wiring Duplication\"]\n    n_anomaly_outlier_detection[\"Anomaly Outlier Detection\"]\n    n_conceptual_duplication_detection[\"Conceptual Duplication Detection\"]\n    n_fractal_scale_duplication[\"Fractal Scale Duplication\"]\n    n_anti_pattern_classification[\"Anti-Pattern Classification\"]\n    n_anti_pattern_priority_matrix[\"Anti-Pattern Priority Matrix\"]\n    n_abstraction_boundary_principle[\"Abstraction Boundary Principle\"]\n    n_base_class_candidate_selection[\"Base-Class Candidate Selection\"]\n    n_concrete_vs_abstract_responsibility_split[\"Concrete-vs-Abstract Responsibility Split\"]\n    n_template_method_lifecycle[\"Template Method Lifecycle\"]\n    n_base_schematic_composition[\"Base Schematic Composition\"]\n    n_migration_ordering[\"Migration Ordering\"]\n    n_backup_verified_migration[\"Backup-Verified Migration\"]\n    n_anti_pattern_elimination_verification[\"Anti-Pattern Elimination Verification\"]\n    n_registry_regeneration[\"Registry Regeneration\"]\n    n_anti_reintroduction_gate[\"Anti-Reintroduction Gate\"]\n    n_distillation_metrics[\"Distillation Metrics\"]\n    n_pattern_distillation_history[\"Pattern Distillation History\"]\n    n_pattern_distillation_completion_truthfulness[\"Pattern Distillation Completion Truthfulness\"]\n    n_pattern_distiller_kernel[\"Pattern Distiller Kernel\"]\n    n_pattern_distillation_concern[\"<Pattern Distillation Concern>\"]\n    n_pattern_distiller_kernel --> n_analysis_workspace\n    n_pattern_distiller_kernel --> n_registry_baseline\n    n_pattern_distiller_kernel --> n_compliance_gap\n    n_pattern_distiller_kernel --> n_semantic_domain_partitioning\n    n_pattern_distiller_kernel --> n_cross_class_pattern_detection\n    n_pattern_distiller_kernel --> n_anti_pattern_classification\n    n_pattern_distiller_kernel --> n_base_class_candidate_selection\n    n_pattern_distiller_kernel --> n_base_schematic_composition\n    n_pattern_distiller_kernel --> n_registry_regeneration\n    n_pattern_distiller_kernel --> n_distillation_metrics\n    n_pattern_distiller_kernel --> n_behavioral_signature_extraction\n    n_pattern_distiller_kernel --> n_anti_pattern_priority_matrix\n    n_pattern_distiller_kernel --> n_migration_ordering\n    n_pattern_distiller_kernel --> n_backup_verified_migration\n    n_pattern_distiller_kernel --> n_anti_pattern_elimination_verification\n    n_pattern_distiller_kernel --> n_pattern_distillation_history\n    n_pattern_distiller_kernel --> n_pattern_distillation_completion_truthfulness"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-pattern-distillation",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Create a unique analysis session, allocate phase/metric/migration artifact locations, load baseline documentation and registries, write a manifest, and block continuation if required context is unavailable.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architectural refactoring must begin from an auditable workspace with explicit input provenance.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Session → Workspace → ContextLoad → Manifest → Gate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AnalysisWorkspace ::= <SessionId> \"→\" <WorkspacePath> \"→\" <ContextResourceSet> \"→\" <Manifest> \"→\" <InitializationGate>\nInitializationGate ::= \"workspace_exists\" \",\" \"manifest_written\" \",\" \"baseline_docs_loaded\" \",\" \"registry_loaded\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Refactoring begins ad hoc, with no auditable record of what it started from.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "session → workspace{phase/metric/migration locations} → load baseline + registries → manifest → block if required context missing",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-analysis-workspace",
            "title": "Analysis Workspace"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Read existing architectural registries, extract known base abstractions, count implementations, measure hierarchy depth, and record the current abstraction state before proposing changes.",
                    "term": "Intent"
                  },
                  {
                    "description": "New abstractions must be compared against existing architecture before being created.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Registry → ExistingAbstractions → ImplementationCounts → HierarchyMetrics → Baseline",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RegistryBaseline ::= <RegistryData> \"→\" <BaseAbstractionSet> \"→\" <ImplementationMetricSet> \"→\" <HierarchyMetricSet> \"→\" <BaselineReport>\nImplementationMetricSet ::= \"total_base_classes\" \",\" \"total_implementations\" \",\" \"implementation_count_by_base\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A new base abstraction created without measuring what already exists.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "registry → existing bases + implementation counts + hierarchy depth → current abstraction state, before proposing a change",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-registry-baseline",
            "title": "Registry Baseline"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Discover implementation classes by role, detect which ones conform to expected base abstractions, calculate noncompliance counts, and compute architectural compliance rate.",
                    "term": "Intent"
                  },
                  {
                    "description": "Pattern distillation must distinguish missing adoption from missing abstraction.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RoleClasses → ExpectedBaseRule → ConformingSet + NonconformingSet → ComplianceRate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ComplianceGap ::= <RoleClassSet> \"→\" <BaseExpectation> \"→\" <ConformanceScan> \"→\" <GapReport>\nBaseExpectation ::= <RoleName> \"extends\" <ExpectedBaseClass>\nGapReport ::= \"noncompliant_count\" \",\" \"compliant_count\" \",\" \"compliance_rate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'The Foos don't extend a base' — but is the base missing, or just its adoption?",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "role classes → expected base rule → conforming vs nonconforming → compliance rate distinguishing missing adoption from missing abstraction",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-compliance-gap",
            "title": "Compliance Gap"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Group implementation resources by semantic role, such as manager, repository, handler, service, controller, adapter, or worker, then analyze each family separately.",
                    "term": "Intent"
                  },
                  {
                    "description": "Reusable abstractions emerge from families of similar responsibility, not arbitrary files.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ResourceSet → RoleClassifier → SemanticDomains → DomainMetrics",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SemanticDomainPartitioning ::= <ResourceSet> \"→\" <RoleClassification> \"→\" <SemanticDomainSet>\nSemanticDomain ::= <DomainName> \",\" <ResourcePathSet> \",\" <ClassCount> \",\" <BehavioralSignatureSet>\nRoleClassification ::= \"manager\" | \"repository\" | \"handler\" | \"service\" | \"controller\" | \"adapter\" | \"worker\" | \"unknown\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [performance_scaling](/records/force/performance-scaling), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Abstractions drawn from arbitrary files instead of families of like responsibility.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "resources → classify by role{manager|repository|handler|service|adapter} → per-family analysis",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-semantic-domain-partitioning",
            "title": "Semantic Domain Partitioning"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [analysis](/records/reasoning/axis-analysis)",
                  "Yields: operation"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each class in a semantic domain, inspect constructor behavior, lifecycle hooks, error handling, state management, dependency acquisition, and public orchestration methods.",
                    "term": "Intent"
                  },
                  {
                    "description": "Base-class candidates require behavioral evidence, not just naming similarity.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ClassResource → BehaviorScan → Signature → DomainSignatureSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BehavioralSignature ::= <InitializationBehavior> \",\" <LifecycleBehavior> \",\" <ErrorHandlingBehavior> \",\" <StateManagementBehavior> \",\" <DependencyManagementBehavior> \",\" <PublicMethodPatternSet>\nLifecycleBehavior ::= \"initialize\" \",\" \"destroy\" \",\" \"onInitialize\" \",\" \"onDestroy\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [domain_boundary](/records/force/domain-boundary), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "[structural](/records/reasoning/lens-structure), [behavioral](/records/reasoning/lens-behavior)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A base-class candidate proposed on naming similarity alone.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "class → scan{constructor, lifecycle hooks, error handling, state, dependencies, public methods} → behavioral signature (evidence, not names)",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-behavioral-signature-extraction",
            "title": "Behavioral Signature Extraction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Search across semantic domains for repeated imports, repeated initialization, repeated lifecycle code, repeated error handling, repeated state setup, and repeated dependency wiring.",
                    "term": "Intent"
                  },
                  {
                    "description": "Duplication becomes an abstraction candidate when it appears across multiple implementations with the same role.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DomainSignatures → CrossClassSearch → DuplicatePatternSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CrossClassPatternDetection ::= <BehavioralSignatureSet> \"→\" <RepeatedStructureSearch> \"→\" <CrossClassPatternSet>\nCrossClassPattern ::= <PatternName> \",\" <OccurrenceCount> \",\" <AffectedResourceSet> \",\" <PatternRole>\nPatternRole ::= \"initialization\" | \"lifecycle\" | \"error_handling\" | \"state_management\" | \"dependency_management\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "[structural](/records/reasoning/lens-structure), [frequency](/records/reasoning/lens-frequency)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "One duplicated block noticed; the family-wide repetition stays invisible.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "signatures → search repeated{imports, init, lifecycle, error, state, deps} across the role family → cross-class pattern + occurrence count",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-cross-class-pattern-detection",
            "title": "Cross-Class Pattern Detection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect multiple competing implementations of the same behavior, count each variation, compute dominant-pattern consistency, and flag low-consistency behavior for normalization.",
                    "term": "Intent"
                  },
                  {
                    "description": "Inconsistent behavior is an architectural smell even when code is not textually duplicated.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BehaviorFamily → VariationCounts → ConsistencyRate → NormalizeCandidate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BehavioralInconsistency ::= <BehaviorFamily> \"→\" <VariationSet> \"→\" <ConsistencyMetric> \"→\" <InconsistencyVerdict>\nConsistencyMetric ::= \"max_variation_count / total_variation_count\"\nInconsistencyVerdict ::= \"consistent\" | \"weakly_consistent\" | \"inconsistent\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  },
                  {
                    "description": "[behavioral](/records/reasoning/lens-behavior)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Three competing implementations of one behavior, none textually duplicated, so nothing flags.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "behavior family → variation counts → consistency = dominant/total → {consistent | weakly | inconsistent} → normalize the inconsistent",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-behavioral-inconsistency",
            "title": "Behavioral Inconsistency"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each class in the role family, extract the ordered sequence of orchestration steps, align sequences across the family, and surface repeated ordered chains that no textual-duplication scan would catch.",
                    "term": "Intent"
                  },
                  {
                    "description": "Order-sensitive repetition is duplication even when no contiguous block is textually identical.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RoleFamily → OrderedCallSequence → SequenceAlignment → RepeatedChainSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SequentialChainDuplication ::= <CallSequenceSet> \"→\" <SequenceAlignment> \"→\" <RepeatedOrderedChainSet>\nRepeatedOrderedChain ::= <OrderedStepList> \",\" <OccurrenceCount> \",\" <AffectedResourceSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ana-sequential](/records/reasoning/node-ana-sequential)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[sequential](/records/reasoning/lens-sequential)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Two classes call the same steps in the same order, but no single block is textually identical, so frequency scanning finds nothing.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "role family → extract ordered call-sequence per class → align sequences → repeated ordered chain + occurrence count",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-sequential-chain-duplication",
            "title": "Sequential Chain Duplication"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Detect must-precede and must-follow ordering constraints between operations in each class, intersect them across the role family, and surface the shared temporal-coupling contract that a base lifecycle would centralize.",
                    "term": "Intent"
                  },
                  {
                    "description": "A lifecycle ordering constraint re-encoded across a family is a shared contract, not a per-class detail.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RoleFamily → OrderingConstraintSet → CrossFamilyIntersection → SharedCouplingContract",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TemporalCouplingDetection ::= <OrderingConstraintSet> \"→\" <ConstraintIntersection> \"→\" <SharedTemporalContractSet>\nOrderingConstraint ::= <Operation> \"must_precede\" <Operation> | <Operation> \"must_follow\" <Operation>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ana-temporal](/records/reasoning/node-ana-temporal)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[temporal](/records/reasoning/lens-time)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Every class re-encodes 'call setup before use, teardown after' as scattered ad-hoc ordering, and the shared lifecycle contract stays invisible.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "role family → must-precede/must-follow constraints per class → intersect across family → shared temporal-coupling contract",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-temporal-coupling-detection",
            "title": "Temporal Coupling Detection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Build the dependency-acquisition subgraph for each class, test for isomorphic subgraphs across the role family, and surface repeated object-graph wiring that a base or factory would assemble once.",
                    "term": "Intent"
                  },
                  {
                    "description": "A dependency subgraph reassembled across a family is duplicated structure, distinct from duplicated statements.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RoleFamily → DependencySubgraph → SubgraphIsomorphism → RepeatedWiringSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RelationalGraphDuplication ::= <DependencySubgraphSet> \"→\" <IsomorphismScan> \"→\" <RepeatedWiringSubgraphSet>\nRepeatedWiringSubgraph ::= <NodeSet> \",\" <EdgeSet> \",\" <OccurrenceCount> \",\" <AffectedResourceSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ana-relational](/records/reasoning/node-ana-relational)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[relational](/records/reasoning/lens-relation)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The same object graph — acquire A, wire B onto A, hand both to C — is reassembled by hand in every class.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "role family → dependency-acquisition subgraph per class → subgraph isomorphism across family → repeated wiring subgraph",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-relational-graph-duplication",
            "title": "Relational Graph Duplication"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extract cause-to-effect edges (event to handler, failure to recovery, state change to reaction) per class, match trigger/reaction pairs across the role family, and surface repeated causal wiring that a base policy would centralize.",
                    "term": "Intent"
                  },
                  {
                    "description": "Repeated trigger-to-reaction wiring is duplicated causal policy even when the surrounding code differs.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RoleFamily → CausalEdgeSet → TriggerReactionMatch → RepeatedCausalWiringSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CausalWiringDuplication ::= <CausalEdgeSet> \"→\" <TriggerReactionMatch> \"→\" <RepeatedCausalWiringSet>\nCausalEdge ::= <Trigger> \"causes\" <Reaction> \",\" <OccurrenceCount>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ana-causal](/records/reasoning/node-ana-causal)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[causal](/records/reasoning/lens-cause)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The same trigger-to-reaction wiring — this event runs that handler, that failure invokes this recovery — is duplicated across the family.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "role family → cause→effect edges per class → match trigger/reaction pairs across family → repeated causal-wiring set",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-causal-wiring-duplication",
            "title": "Causal Wiring Duplication"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Score each class's deviation from the dominant behavioral signature, identify the outliers, and name why each deviates, so inconsistency is localized to the deviant implementation rather than reported as an aggregate rate.",
                    "term": "Intent"
                  },
                  {
                    "description": "Inconsistency is an anomaly to be localized to a deviant implementation, not merely a family-level ratio.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BehaviorFamily → DominantSignature → DeviationScore → OutlierSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AnomalyOutlierDetection ::= <BehaviorFamily> \"→\" <DominantSignature> \"→\" <DeviationScoreSet> \"→\" <OutlierSet>\nOutlier ::= <Resource> \",\" <DeviationScore> \",\" <DeviationReason>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ana-anomaly](/records/reasoning/node-ana-anomaly)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[anomaly](/records/reasoning/lens-anomaly)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A family shares one behavior — except the one class that does it differently, and a consistency ratio only reports 'weakly consistent' without naming the deviant.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "behavior family → per-class deviation score against the dominant signature → outlier set + why each deviates → normalize or justify",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anomaly-outlier-detection",
            "title": "Anomaly Outlier Detection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Derive a name-independent semantic signature for each behavior (intent, input-to-output shape, effects), cluster behaviors by meaning rather than identifier, and surface same-meaning/different-name clusters that only the semantic lens can detect.",
                    "term": "Intent"
                  },
                  {
                    "description": "Same meaning under different names is duplication that textual, structural, and frequency lenses are blind to.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RoleFamily → SemanticSignature → MeaningCluster → ConceptualDuplicateSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConceptualDuplicationDetection ::= <SemanticSignatureSet> \"→\" <MeaningClustering> \"→\" <ConceptualDuplicateSet>\nSemanticSignature ::= <Intent> \",\" <InputOutputShape> \",\" <EffectSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ana-semantic](/records/reasoning/node-ana-semantic)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[semantic](/records/reasoning/lens-meaning)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Two implementations mean the same thing under different names, so no textual, structural, or frequency scan flags them.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "role family → semantic signature per behavior (intent, inputs→outputs, effects) → cluster by meaning not name → same-meaning/different-name set + novelty score",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-conceptual-duplication-detection",
            "title": "Conceptual Duplication Detection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [topology](/records/reasoning/math-type-topology)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Test whether a duplication shape recurs at more than one scale (method, class, module), and determine the scale at which the abstraction belongs, so single-scale scanning does not abstract at the wrong level.",
                    "term": "Intent"
                  },
                  {
                    "description": "A shape that recurs across scales must be abstracted at the scale where it is invariant, not only where it was first noticed.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CandidateShape → MultiScaleRecurrence → ScaleInvariance → AbstractionScale",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "FractalScaleDuplication ::= <CandidateShape> \"→\" <MultiScaleRecurrenceScan> \"→\" <ScaleInvarianceVerdict>\nScaleInvarianceVerdict ::= \"method_scale\" | \"class_scale\" | \"module_scale\" | \"scale_invariant\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ana-fractal](/records/reasoning/node-ana-fractal)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[fractal](/records/reasoning/lens-fractal)",
                    "term": "Detector for"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The distiller scans one scale — the class family — and misses that the same shape repeats at the method level and again at the module level.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "candidate shape → test recurrence at method / class / module scale → scale-invariant duplication + the scale the abstraction belongs at",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-fractal-scale-duplication",
            "title": "Fractal Scale Duplication"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert duplicated, inconsistent, and architecture-violating findings into anti-pattern records with type, occurrence count, impact, effort, severity, and affected resources.",
                    "term": "Intent"
                  },
                  {
                    "description": "Refactoring targets should be normalized into comparable anti-pattern contracts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Finding → AntiPatternRecord → PriorityInput",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AntiPatternClassification ::= <FindingSet> \"→\" <AntiPatternSet>\nAntiPattern ::= <AntiPatternType> \",\" <Pattern> \",\" <OccurrenceCount> \",\" <Impact> \",\" <Effort> \",\" <PriorityRank> \",\" <AffectedResourceSet>\nAntiPatternType ::= \"copy_paste_duplication\" | \"behavioral_inconsistency\" | \"architectural_violation\" | \"conceptual_duplication\" | \"structural_duplication\" | \"sequential_duplication\" | \"temporal_coupling\" | \"relational_duplication\" | \"causal_duplication\" | \"scale_duplication\"\nPriorityRank ::= \"critical\" | \"high\" | \"medium\" | \"low\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel), [Custom-Rule Derivation](/records/algorithms/custom-rule-derivation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Findings kept as loose notes, not comparable across the backlog.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "findings → anti-pattern records{type, occurrence, impact, effort, severity, affected resources}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-classification",
            "title": "Anti-Pattern Classification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Assign numeric impact and effort scores, calculate priority, sort anti-patterns, and group them into remediation bands.",
                    "term": "Intent"
                  },
                  {
                    "description": "Distillation should address high-value anti-patterns first.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AntiPattern → ImpactScore + EffortScore → Priority → SortedBacklog",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PriorityMatrix ::= <AntiPatternSet> \"→\" <ScoredAntiPatternSet> \"→\" <PriorityBandSet>\nScoredAntiPattern ::= <AntiPattern> \",\" <ImpactScore> \",\" <EffortScore> \",\" <PriorityValue>\nPriorityValue ::= <ImpactScore> \"*\" <EffortScore>\nPriorityBand ::= \"priority_1\" | \"priority_2\" | \"priority_3\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Refactoring picks a target by gut feel, not value.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "anti-patterns → impact * effort → priority → sorted into remediation bands",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-priority-matrix",
            "title": "Anti-Pattern Priority Matrix"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Evaluate each high-priority anti-pattern against boundary principles: universal, invariant, foundational, enforcing, and cognitive-load-reducing.",
                    "term": "Intent"
                  },
                  {
                    "description": "A base abstraction is justified only when the behavior belongs below the subclass boundary.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AntiPattern → BoundaryPrinciples → PrinciplesMet → AbstractionEligible",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BoundaryPrincipleEvaluation ::= <AntiPattern> \"→\" <BoundaryPrincipleSet> \"→\" <EligibilityVerdict>\nBoundaryPrincipleSet ::= \"universal\" \",\" \"invariant\" \",\" \"foundational\" \",\" \"enforcing\" \",\" \"reducing_load\"\nEligibilityVerdict ::= \"base_candidate\" | \"utility_candidate\" | \"composition_candidate\" | \"local_refactor_only\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Duplication abstracted into a base whether or not the behavior belongs below the subclass boundary.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "anti-pattern → boundary principles{universal, invariant, foundational, enforcing, load-reducing} → {base | utility | composition | local-refactor}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-abstraction-boundary-principle",
            "title": "Abstraction Boundary Principle"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Promote an anti-pattern to a base-class candidate only when it satisfies enough boundary principles and applies across a meaningful portion of the semantic domain.",
                    "term": "Intent"
                  },
                  {
                    "description": "Inheritance should encode stable lifecycle or invariant behavior, not incidental reuse.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AntiPattern + DomainCoverage + BoundaryScore → Candidate|Reject",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BaseClassCandidateSelection ::= <AntiPattern> \",\" <DomainCoverage> \",\" <BoundaryScore> \"→\" <CandidateVerdict>\nCandidateVerdict ::= \"create_base_class\" | \"prefer_composition\" | \"prefer_utility\" | \"reject_abstraction\"\nDomainCoverage ::= \"occurrence_count / total_domain_classes\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Incidental reuse promoted to inheritance.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "anti-pattern + domain coverage + boundary score → verdict{create_base | prefer_composition | prefer_utility | reject}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-base-class-candidate-selection",
            "title": "Base-Class Candidate Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Partition the family's behavior into what is invariant across every member (the topology preserved under substitution) and what varies per member (the novelty); the invariant set becomes the concrete base, the variant set becomes the abstract seam. The concrete/abstract boundary is derived from the evidence, not read off a fixed lifecycle vocabulary — so the split holds for any paradigm, not only OOP class lifecycles.",
                    "term": "Intent"
                  },
                  {
                    "description": "The concrete/abstract boundary is the invariant/variant boundary of the family, discovered from evidence — never a pre-assumed lifecycle template.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "FamilyBehaviorSet → InvariantPartition + VariantPartition → ConcreteBase + AbstractSeam",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ResponsibilitySplit ::= <FamilyBehaviorSet> \"→\" <InvariantSet> \",\" <VariantSet> \"→\" <ConcreteBase> \",\" <AbstractSeamSet>\nInvariantSet ::= \"behavior identical across every family member\"\nVariantSet ::= \"behavior that differs per family member\"\nAbstractSeam ::= <VariantBehaviorName> \",\" <SeamKind>\nSeamKind ::= \"hook\" | \"abstract_method\" | \"injected_strategy\" | \"parameter\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [control_coordination](/records/force/control-coordination)",
                    "term": "Forces"
                  },
                  {
                    "description": "[substrate-node:invariant](/records/reasoning/substrate-node-invariant), [ont-novelty](/records/reasoning/node-ont-novelty)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The split is drawn from a fixed OOP lifecycle vocabulary (constructor/initialize/destroy/onInitialize/executeCore), which pre-decides the shape whether or not the family's behavior matches it.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "family behavior → partition INVARIANT (identical across every member) from VARIANT (differs per member) → invariant set = concrete base, variant set = the abstract seam; the hook names are read from the variant behavior, not assumed",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-concrete-vs-abstract-responsibility-split",
            "title": "Concrete-vs-Abstract Responsibility Split"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define public lifecycle methods that enforce guard checks, call shared setup or cleanup, invoke subclass hooks, and centralize error handling.",
                    "term": "Intent"
                  },
                  {
                    "description": "Template method converts repeated lifecycle code into one predictable behavioral contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PublicMethod → Guard → SharedBehavior → Hook → ErrorPolicy → Result",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TemplateLifecycle ::= <LifecycleMethod> \"→\" <GuardCheck> \"→\" <SharedOperation> \"→\" <SubclassHook> \"→\" <ErrorHandlingPolicy>\nLifecycleMethod ::= \"initialize\" | \"destroy\" | \"execute\" | \"process\"\nSubclassHook ::= \"onInitialize\" | \"onDestroy\" | \"onExecute\" | \"onProcess\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Each subclass re-implements the same guard-setup-cleanup lifecycle.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "public lifecycle method → guard → shared setup/cleanup → subclass hook → centralized error handling → one predictable contract",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-template-method-lifecycle",
            "title": "Template Method Lifecycle"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Generate the base abstraction from the selected candidate, enforce size constraints, split if oversized, and record which anti-patterns the abstraction eliminates.",
                    "term": "Intent"
                  },
                  {
                    "description": "Generated abstractions must remain small enough to be maintainable.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Candidate → GenerateBase → SizeCheck → SplitIfNeeded → BaseArtifact",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BaseSchematicComposition ::= <BaseClassCandidate> \"→\" <GeneratedBaseArtifact> \"→\" <ConstraintCheck> \"→\" <PersistableBaseArtifact>\nConstraintCheck ::= \"line_count <= max_allowed_lines\" \",\" \"name_matches_convention\" \",\" \"location_matches_architecture\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A base generated so large it becomes the new god object.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "candidate → generate base → size <= max (split if oversized) + name + location conventions → persistable base",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-base-schematic-composition",
            "title": "Base Schematic Composition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Sort target classes by complexity from lowest to highest, migrate simpler implementations first, and use early migrations to validate the abstraction before complex adoption.",
                    "term": "Intent"
                  },
                  {
                    "description": "Migration risk decreases when the base pattern is proven on low-complexity cases first.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TargetClasses → ComplexityMetric → SortedMigrationOrder",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MigrationOrdering ::= <TargetClassSet> \"→\" <ComplexityScoreSet> \"→\" <MigrationQueue>\nComplexityScore ::= \"line_count\" | \"method_count\" | \"dependency_count\" | \"state_property_count\"\nMigrationQueue ::= \"ascending_complexity\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [causality_ordering](/records/force/causality-ordering), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The most complex implementation migrated first, and the base is wrong before it's proven.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "target classes → complexity score → migrate ascending complexity → prove the base on simple cases first",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-migration-ordering",
            "title": "Migration Ordering"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For each target class, create a recoverable checkpoint, refactor it to extend or use the abstraction, verify the removed anti-pattern no longer exists, and restore from backup on failure.",
                    "term": "Intent"
                  },
                  {
                    "description": "Structural migration must be reversible per target artifact.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Backup → Refactor → Verify → Commit|Restore",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MigrationExecution ::= <TargetClass> \"→\" <Checkpoint> \"→\" <RefactorToBase> \"→\" <Verification> \"→\" <MigrationOutcome>\nMigrationOutcome ::= \"committed\" | \"restored_from_checkpoint\" | \"failed_with_log\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Custom-Rule Derivation](/records/algorithms/custom-rule-derivation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [streaming_dataflow](/records/force/streaming-dataflow), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A refactor breaks a target and there is no way back.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "per target → checkpoint → refactor to the base → verify the anti-pattern is gone → commit | restore from checkpoint",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-backup-verified-migration",
            "title": "Backup-Verified Migration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "After migration, search the entire target scope for old duplicate patterns, allow only approved base-location occurrences, and fail completion if unapproved duplicates remain.",
                    "term": "Intent"
                  },
                  {
                    "description": "Refactoring is incomplete until the old pattern is gone.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "KnownAntiPattern → ScopeSearch → RemainingOccurrences → Pass|Fail",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AntiPatternElimination ::= <AntiPatternPatternSet> \"→\" <WholeScopeSearch> \"→\" <RemainingOccurrenceSet> \"→\" <EliminationVerdict>\nEliminationVerdict ::= \"eliminated\" | \"remaining_unapproved_occurrences\" | \"base_only_occurrence\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Distillation declared done while the old pattern still lives at three sites.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "known anti-pattern → search the whole scope → allow only approved base-location occurrences → fail completion on unapproved duplicates",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-pattern-elimination-verification",
            "title": "Anti-Pattern Elimination Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "After creating or migrating abstractions, regenerate or update the architecture registry, reread it, and confirm the new base and migrated implementations are represented.",
                    "term": "Intent"
                  },
                  {
                    "description": "Architecture metadata must reflect the new implementation truth.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RefactorResult → RegistryRegeneration → RegistryReadback → RepresentationCheck",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "RegistryRegeneration ::= <MigrationResult> \"→\" <RegistryUpdate> \"→\" <UpdatedRegistry> \"→\" <RegistryVerification>\nRegistryVerification ::= \"new_base_present\" \",\" \"implementation_count_updated\" \",\" \"old_pattern_absent_or_marked\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The registry still reflects the pre-refactor architecture.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "migration result → regenerate registry → reread → confirm new base + migrated implementations represented",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-registry-regeneration",
            "title": "Registry Regeneration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "After eliminating an anti-pattern, author or strengthen the custom lint rule that statically forbids its reintroduction and any bypass of the new base, build the rule plugin, and regenerate the rule catalog, so the distilled boundary is enforced by a gate rather than by discipline.",
                    "term": "Intent"
                  },
                  {
                    "description": "A distilled pattern is incomplete until a gate forbids its reintroduction.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "DistilledBoundary → LintRuleAuthored → PluginBuilt → CatalogRegenerated → EnforcedBoundary",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AntiReintroductionGate ::= <DistilledBoundary> \"→\" <CustomLintRule> \"→\" <PluginBuild> \"→\" <CatalogRegeneration> \"→\" <EnforcementVerdict>\nEnforcementVerdict ::= \"gate_active\" | \"gate_absent\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[constraint](/records/reasoning/substrate-node-constraint)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The distilled base eliminates the duplication today, but nothing stops the developer or the model from reintroducing the same anti-pattern — the gate held only for this run, by discipline.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "distilled boundary → author/strengthen a custom lint rule forbidding the anti-pattern + the base-bypass → build the plugin → regenerate the rule catalog → the boundary is enforced structurally",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-anti-reintroduction-gate",
            "title": "Anti-Reintroduction Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [probability](/records/reasoning/math-type-probability)",
                  "Yields: number[0,1]"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Calculate duplication reduction, code reduction, adoption rate, lines saved, maintenance burden reduction, and cognitive-load reduction after migration.",
                    "term": "Intent"
                  },
                  {
                    "description": "Refactoring should produce measurable architectural ROI.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "BeforeMetrics + AfterMetrics → ReductionMetrics → ROISummary",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DistillationMetrics ::= <BaselineMetricSet> \",\" <PostMigrationMetricSet> \"→\" <FinalMetricSet>\nFinalMetricSet ::= \"duplication_reduction\" \",\" \"code_reduction\" \",\" \"base_class_adoption\" \",\" \"lines_saved\" \",\" \"maintenance_burden_reduction\" \",\" \"cognitive_load_reduction\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ROI asserted ('much cleaner now') with no numbers.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "before + after → {duplication reduction, code reduction, adoption rate, lines saved, maintenance + cognitive-load reduction}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-distillation-metrics",
            "title": "Distillation Metrics"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Append the completed analysis summary to a durable history log, store metric snapshots, and preserve lessons learned for future abstraction decisions.",
                    "term": "Intent"
                  },
                  {
                    "description": "Refactoring intelligence improves when outcomes become reusable historical evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Summary → HistoryAppend → MetricSnapshot → LessonsLearned",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DistillationHistory ::= <SummaryReport> \"→\" <HistoryLog> \"→\" <MetricStore> \"→\" <ReusableLearningSet>\nReusableLearning ::= <Lesson> \",\" <Evidence> \",\" <ApplicabilityContext>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Each distillation forgets the last — the same lessons re-learned.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "summary → durable history log + metric snapshots + lessons → reusable evidence for future abstraction decisions",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pattern-distillation-history",
            "title": "Pattern Distillation History"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Mark pattern distillation complete only if workspace, baseline, semantic analysis, anti-pattern classification, abstraction selection, migration, verification, registry update, anti-reintroduction gate, and metrics logging all pass.",
                    "term": "Intent"
                  },
                  {
                    "description": "Completion is an evidence state, not an assertion — and it includes a gate that forbids the anti-pattern's return.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PhaseGates → VerificationResults → Metrics → Complete|Incomplete",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DistillationCompletion ::= <InitializationGate> \",\" <RegistryGate> \",\" <SemanticAnalysisGate> \",\" <AntiPatternGate> \",\" <AbstractionGate> \",\" <MigrationGate> \",\" <EnforcementGate> \",\" <MetricsGate> \"→\" <CompletionVerdict>\nCompletionVerdict ::= \"pattern_distillation_complete\" | \"pattern_distillation_incomplete\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "'Done' asserted while verification, registry-update, and the anti-reintroduction gate never ran.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "gates{workspace, baseline, semantic, anti-pattern, abstraction, migration, verification, registry, enforcement, metrics} all pass → complete; else incomplete",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pattern-distillation-completion-truthfulness",
            "title": "Pattern Distillation Completion Truthfulness"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Initialize an analysis workspace, read registry baselines, partition semantic domains, extract behavioral signatures, detect anti-patterns, prioritize them, evaluate abstraction boundaries, compose base schematics, migrate targets, verify elimination, update registries, calculate ROI, and persist history.",
                    "term": "Intent"
                  },
                  {
                    "description": "Pattern distillation is a forensic compiler from repeated behavioral evidence into predictable implementation architecture.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Workspace → Registry → Semantics → AntiPatterns → Abstraction → Migration → Verification → Metrics → History",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PatternDistillerKernel ::= <AnalysisWorkspace> \"→\" <RegistryBaseline> \"→\" <ComplianceGap> \"→\" <SemanticDomainPartitioning> \"→\" <BehavioralSignature> \"→\" <CrossClassPatternDetection> \"→\" <AntiPatternClassification> \"→\" <PriorityMatrix> \"→\" <BoundaryPrincipleEvaluation> \"→\" <BaseClassCandidateSelection> \"→\" <ResponsibilitySplit> \"→\" <BaseSchematicComposition> \"→\" <MigrationExecution> \"→\" <AntiPatternElimination> \"→\" <RegistryRegeneration> \"→\" <DistillationMetrics> \"→\" <DistillationHistory>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Analysis Workspace](/records/algorithms/analysis-workspace), [Registry Baseline](/records/algorithms/registry-baseline), [Compliance Gap](/records/algorithms/compliance-gap), [Semantic Domain Partitioning](/records/algorithms/semantic-domain-partitioning), [Cross-Class Pattern Detection](/records/algorithms/cross-class-pattern-detection), [Anti-Pattern Classification](/records/algorithms/anti-pattern-classification), [Base-Class Candidate Selection](/records/algorithms/base-class-candidate-selection), [Base Schematic Composition](/records/algorithms/base-schematic-composition), [Registry Regeneration](/records/algorithms/registry-regeneration), [Distillation Metrics](/records/algorithms/distillation-metrics)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Custom-Rule Derivation](/records/algorithms/custom-rule-derivation)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Premature Abstraction](/records/architecture/premature-abstraction)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Analysis Workspace](/records/algorithms/analysis-workspace)",
                    "term": "orient"
                  },
                  {
                    "description": "[Behavioral Signature Extraction](/records/algorithms/behavioral-signature-extraction)",
                    "term": "see"
                  },
                  {
                    "description": "[Anti-Pattern Classification](/records/algorithms/anti-pattern-classification)",
                    "term": "derive"
                  },
                  {
                    "description": "[Anti-Pattern Priority Matrix](/records/algorithms/anti-pattern-priority-matrix)",
                    "term": "intent"
                  },
                  {
                    "description": "[Migration Ordering](/records/algorithms/migration-ordering)",
                    "term": "project"
                  },
                  {
                    "description": "[Backup-Verified Migration](/records/algorithms/backup-verified-migration)",
                    "term": "act"
                  },
                  {
                    "description": "[Anti-Pattern Elimination Verification](/records/algorithms/anti-pattern-elimination-verification)",
                    "term": "verify"
                  },
                  {
                    "description": "[Pattern Distillation History](/records/algorithms/pattern-distillation-history)",
                    "term": "commit"
                  },
                  {
                    "description": "[Pattern Distillation Completion Truthfulness](/records/algorithms/pattern-distillation-completion-truthfulness)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Repeated behavior abstracted by intuition, migrated irreversibly, never verified.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "workspace → baseline → semantics → anti-patterns → abstraction boundary → base schematic → reversible migration → elimination proof → registry regenerate → ROI → history",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Analysis Workspace](/records/algorithms/analysis-workspace), [Registry Baseline](/records/algorithms/registry-baseline), [Compliance Gap](/records/algorithms/compliance-gap), [Semantic Domain Partitioning](/records/algorithms/semantic-domain-partitioning), [Cross-Class Pattern Detection](/records/algorithms/cross-class-pattern-detection), [Anti-Pattern Classification](/records/algorithms/anti-pattern-classification), [Base-Class Candidate Selection](/records/algorithms/base-class-candidate-selection), [Base Schematic Composition](/records/algorithms/base-schematic-composition), [Registry Regeneration](/records/algorithms/registry-regeneration), [Distillation Metrics](/records/algorithms/distillation-metrics)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pattern-distiller-kernel",
            "title": "Pattern Distiller Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [pattern-distillation](/records/algorithms-domain/pattern-distillation)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Initialize evidence workspace> → <Measure current architecture> → <Group semantic families> → <Extract behavioral signatures> → <Detect duplicate/inconsistent behavior> → <Score anti-patterns> → <Evaluate abstraction boundary> → <Compose reusable schematic> → <Migrate with rollback> → <Verify old-pattern elimination> → <Record ROI>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any repeated implementation behavior should become a shared abstraction only when evidence proves it is universal, invariant, foundational, enforceable, and cognitively load-reducing.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Evidence → Semantics → AntiPattern → Boundary → Abstraction → Migration → Verification → Metrics",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PatternDistillationConcern ::= <EvidenceWorkspace> \"→\" <ArchitecturalBaseline> \"→\" <SemanticDomainSet> \"→\" <BehavioralSignatureSet> \"→\" <AntiPatternSet> \"→\" <AbstractionBoundary> \"→\" <ReusableSchematic> \"→\" <MigrationPlan> \"→\" <EliminationVerification> \"→\" <ROIMetrics>\nAbstractionBoundary ::= \"universal\" \",\" \"invariant\" \",\" \"foundational\" \",\" \"enforcing\" \",\" \"reducing_load\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the anti-pattern elimination verification and the anti-reintroduction gate, the duplication detectors the analysis lenses name",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every class family the analysis partitions",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the family's code or the architecture registry changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "Completion is refused until the old pattern is gone and a gate forbids its return",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because distillation is verified on source",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The distilled pattern, which the family's code migrates to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-pattern-distillation-concern",
            "title": "<Pattern Distillation Concern>"
          }
        ],
        "title": "Pattern distillation"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_profile_compose[\"Profile Compose\"]\n    n_delta_capture[\"Delta Capture\"]\n    n_idempotent_merge[\"Idempotent Merge\"]\n    n_version_provenance[\"Version Provenance\"]\n    n_deterministic_merge_core[\"Deterministic Merge Core\"]\n    n_persistence_fork[\"Persistence Fork\"]\n    n_seed_composition[\"Seed Composition\"]\n    n_living_profile_kernel[\"Living Profile Kernel\"]\n    n_living_accumulation_concern[\"<Living Accumulation Concern>\"]\n    n_living_profile_kernel --> n_seed_composition\n    n_living_profile_kernel --> n_delta_capture\n    n_living_profile_kernel --> n_idempotent_merge\n    n_living_profile_kernel --> n_version_provenance\n    n_living_profile_kernel --> n_persistence_fork\n    n_living_profile_kernel --> n_profile_compose\n    n_living_accumulation_concern --> n_version_provenance\n    n_living_accumulation_concern --> n_persistence_fork"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-living-profile",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Specializing the RAG Knowledge Boundary, read the durable profile document (or an empty one), strip volatile metadata, and project a compact view injected into reasoning as retrieved memory rather than ground truth.",
                    "term": "Intent"
                  },
                  {
                    "description": "Accumulated knowledge is disclosed as supported evidence, not authority; the consumer still grounds every use against live source.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Store → ReadDoc|Empty → StripVolatileMetadata → CompactView → ContextInjection",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ProfileCompose ::= <ProfileStore> \"→\" (<StoredDocument> | <EmptyDocument>) \"→\" <MetadataStrip> \"→\" <CompactKnowledgeView> \"→\" <ContextEvidence>\nCompactKnowledgeView ::= <AxisSet> \"without\" <VolatileMetadata>\nContextEvidence ::= \"disclosed_as_memory\" \",\" \"not_ground_truth\" \",\" \"reverifiable_against_source\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[RAG Knowledge Boundary](/records/algorithms/rag-knowledge-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Accumulated profile knowledge treated as ground truth, never re-verified.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "profile store → read doc (or empty) → strip volatile metadata → compact view → injected as disclosed memory, reverifiable against source",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[RAG Knowledge Boundary](/records/algorithms/rag-knowledge-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-profile-compose",
            "title": "Profile Compose"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Specializing the RAG Knowledge Boundary, accept a structured knowledge delta the reasoning turn self-reports inline, admit only facts verified within that same turn, and reject speculation without a separate extraction pass.",
                    "term": "Intent"
                  },
                  {
                    "description": "A durable fact enters the profile only from evidence produced in the same turn; unsupported claims are rejected, never guessed into memory.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StructuredTurn → KnowledgeDelta|Null → VerifiedThisTurnFilter → AdmissibleDelta",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DeltaCapture ::= <StructuredTurn> \"→\" (<KnowledgeDelta> | <NullDelta>) \"→\" <EvidenceFilter> \"→\" <AdmissibleDelta>\nEvidenceFilter ::= \"verified_this_turn\" \"→\" \"supported\" | \"unverified\" \"→\" \"unsupported_reject\"\nAdmissibleDelta ::= <AxisDeltaSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[RAG Knowledge Boundary](/records/algorithms/rag-knowledge-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A speculative claim written into durable memory without same-turn evidence.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "structured turn → knowledge delta → keep only facts verified this turn → admissible delta; unverified rejected",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[RAG Knowledge Boundary](/records/algorithms/rag-knowledge-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-delta-capture",
            "title": "Delta Capture"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Specializing the Idempotent Side Effect, assign each fact a stable identity, apply the delta per field kind, deduplicate and cap, and guarantee that re-applying the same delta yields the same document.",
                    "term": "Intent"
                  },
                  {
                    "description": "Merge is idempotent and bounded — the same delta applied twice is a no-op, and no axis grows without limit.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Doc + Delta → StableFactIdentity → PerFieldKindMerge → DedupeAndCap → MergedDoc",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "IdempotentMerge ::= <Document> \",\" <AdmissibleDelta> \"→\" <FactIdentitySet> \"→\" <PerFieldKindApplication> \"→\" <DedupeAndCap> \"→\" <MergedDocument>\nFieldKind ::= \"scalar_overwrite\" | \"set_union\" | \"list_append_dedupe_cap\"\nDedupeAndCap ::= \"dedupe_by_stable_identity\" \",\" \"cap_list_axis_to_limit\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Idempotent Side Effect](/records/algorithms/idempotent-side-effect)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Re-applying the same delta grows an axis and changes the document.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "doc + delta → stable fact identity → per-field-kind merge{overwrite | union | append-dedupe-cap} → double-apply is a no-op",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Idempotent Side Effect](/records/algorithms/idempotent-side-effect)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-idempotent-merge",
            "title": "Idempotent Merge"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Specializing Governance Evolution, detect whether the merge changed state, and only on real change bump the version, timestamp it, and append a modification record — leaving a no-op untouched.",
                    "term": "Intent"
                  },
                  {
                    "description": "A no-op delta bumps nothing; every real change is auditable and reversible, and a version is never mutated in place without a provenance record.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "MergedDoc → ChangeDetect → (NoOp | VersionBump + Timestamp + ModificationRecord) → VersionedDoc",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VersionProvenance ::= <MergedDocument> \"→\" <ChangeDetection> \"→\" (<NoOpOutcome> | <VersionedOutcome>)\nChangeDetection ::= \"merged_equals_prior\" \"→\" \"no_op\" | \"merged_differs\" \"→\" \"versioned\"\nVersionedOutcome ::= <VersionBump> \",\" <Timestamp> \",\" <ModificationRecord>\nModificationRecord ::= \"at\" \",\" \"changed_axes\" \",\" \"prior_version\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Architecture Evolution Governance](/records/algorithms/architecture-evolution-governance)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel), [<Living Accumulation Concern>](/records/algorithms/living-accumulation-concern), [Versioned Turn Provenance](/records/algorithms/versioned-turn-provenance)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A version bumped and mutated in place even on a no-op merge.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "merged doc → change detect → {no-op: untouched | real change: bump + timestamp + modification record}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Architecture Evolution Governance](/records/algorithms/architecture-evolution-governance)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-version-provenance",
            "title": "Version Provenance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Specializing the Deterministic Core, keep compose and merge pure functions over immutable inputs with the clock injected, so identical inputs reproduce identical outputs.",
                    "term": "Intent"
                  },
                  {
                    "description": "No hidden time, state, or randomness — the clock is a parameter, and merge is referentially transparent.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "(Doc, Delta, Clock) → PureMerge → (Doc', Modification|Null)",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ProfileMergeCore ::= <Document> \",\" <AdmissibleDelta> \",\" <InjectedClock> \"→\" <PureMerge> \"→\" (<NextDocument> \",\" <ModificationOrNull>)\nPurityConstraint ::= \"no_hidden_state\" \",\" \"no_hidden_time\" \",\" \"no_hidden_randomness\" \",\" \"referential_transparency\"\nInjectedClock ::= \"now_supplied_by_adapter\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Deterministic Core](/records/algorithms/deterministic-core)",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Merge reads the wall clock internally, so identical inputs differ.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "(doc, delta, injected clock) → pure merge → (doc', modification|null); no hidden time/state/randomness",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Deterministic Core](/records/algorithms/deterministic-core)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-deterministic-merge-core",
            "title": "Deterministic Merge Core"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Specializing the Port Adapter, resolve the durable store by connection mode — an authoritative per-owner store when the trusted arm is connected, a read-only mirror otherwise — and write back only where accumulation is trusted.",
                    "term": "Intent"
                  },
                  {
                    "description": "Authoritative accumulation happens only against the trusted store; the fallback is a read mirror, never a divergent source of truth.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ConnectionMode → AuthoritativeStore|LimitedMirror → ScopedKey → Persist|MirrorReadOnly",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PersistenceFork ::= <ConnectionMode> \"→\" (<AuthoritativeStore> | <LimitedMirror>) \"→\" <ScopedOwnerKey> \"→\" <PersistenceOutcome>\nConnectionMode ::= \"trusted_arm_connected\" | \"disconnected_limited\"\nPersistenceOutcome ::= \"persist_write_back\" | \"mirror_read_only\"\nScopedOwnerKey ::= \"stable_owner_identity\" \",\" \"sanitized\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Port Adapter](/records/algorithms/port-adapter)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel), [<Living Accumulation Concern>](/records/algorithms/living-accumulation-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Accumulation written to a fallback mirror, creating a divergent source of truth.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "connection mode → {trusted arm connected: authoritative per-owner store, write back | disconnected: read-only mirror}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Port Adapter](/records/algorithms/port-adapter)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-persistence-fork",
            "title": "Persistence Fork"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Specializing Canonical Data, overlay the accumulated knowledge onto the frozen baseline scope as additive context without mutating the baseline.",
                    "term": "Intent"
                  },
                  {
                    "description": "The frozen baseline is an immutable source of truth; accumulated knowledge is additive context, never a rewrite of scope.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "FrozenBaseline + ComposedKnowledge → AdditiveOverlay → TurnSeed",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "SeedComposition ::= <FrozenBaseline> \",\" <ComposedKnowledgeView> \"→\" <AdditiveOverlay> \"→\" <TurnSeed>\nAdditiveOverlay ::= \"baseline_immutable\" \",\" \"knowledge_appended_not_merged_into_baseline\"\nTurnSeed ::= <BaselineScope> \",\" <AccumulatedKnowledge>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Canonical Data](/records/algorithms/canonical-data)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Living Profile Kernel](/records/algorithms/living-profile-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Accumulated knowledge merged into the baseline, rewriting frozen scope.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "frozen baseline + composed knowledge → additive overlay (baseline immutable) → turn seed",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Canonical Data](/records/algorithms/canonical-data)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-seed-composition",
            "title": "Seed Composition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compose the accumulated knowledge onto the frozen baseline into a seed, run the reasoning turn, capture the inline verified delta, merge it idempotently under an injected clock, version only real change, and persist against the fork — looping per turn.",
                    "term": "Intent"
                  },
                  {
                    "description": "A living profile is a versioned, idempotently accumulated, provenance-logged memory that grows only from verified per-turn evidence and never overrides frozen scope or live source.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Baseline → Compose → Seed → Turn → Delta → Merge(Clock) → Version → Persist → (next turn)",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LivingProfileKernel ::= <SeedComposition> \"→\" <ReasoningTurn> \"→\" <DeltaCapture> \"→\" <IdempotentMerge> \"→\" <ProfileMergeCore> \"→\" <VersionProvenance> \"→\" <PersistenceFork> \"→\" <ProfileCompose>\nKernelInvariant ::= \"grows_only_from_verified_evidence\" \",\" \"never_overrides_frozen_scope\" \",\" \"never_overrides_live_source\" \",\" \"bounded_and_idempotent\" \",\" \"auditable_and_reversible\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Seed Composition](/records/algorithms/seed-composition), [Delta Capture](/records/algorithms/delta-capture), [Idempotent Merge](/records/algorithms/idempotent-merge), [Version Provenance](/records/algorithms/version-provenance), [Persistence Fork](/records/algorithms/persistence-fork), [Profile Compose](/records/algorithms/profile-compose)",
                    "term": "Composes"
                  },
                  {
                    "description": "[model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Versioning](/records/architecture/versioning)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Seed Composition](/records/algorithms/seed-composition)",
                    "term": "orient"
                  },
                  {
                    "description": "[Delta Capture](/records/algorithms/delta-capture)",
                    "term": "verify"
                  },
                  {
                    "description": "[Idempotent Merge](/records/algorithms/idempotent-merge)",
                    "term": "act"
                  },
                  {
                    "description": "[Version Provenance](/records/algorithms/version-provenance)",
                    "term": "commit"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Per-turn evidence written to memory ungated, unbounded, unversioned.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "compose → seed → turn → capture verified delta → idempotent merge (injected clock) → version only real change → persist against the fork → loop",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Seed Composition](/records/algorithms/seed-composition), [Delta Capture](/records/algorithms/delta-capture), [Idempotent Merge](/records/algorithms/idempotent-merge), [Version Provenance](/records/algorithms/version-provenance), [Persistence Fork](/records/algorithms/persistence-fork), [Profile Compose](/records/algorithms/profile-compose)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-living-profile-kernel",
            "title": "Living Profile Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [living-profile](/records/algorithms-domain/living-profile)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Compose prior memory as disclosed evidence> → <Capture only same-turn verified deltas> → <Merge idempotently by stable identity, bounded> → <Version and log only real change> → <Persist against the connection fork> → <Overlay onto the immutable baseline>",
                    "term": "Intent"
                  },
                  {
                    "description": "Any per-turn evidence stream becomes durable memory only when accumulation is idempotent, bounded, provenance-logged, deterministic at its core, and additive to an immutable baseline it may never rewrite.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Evidence → Admissibility → IdempotentMerge → Provenance → Persistence → AdditiveOverlay",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LivingAccumulationConcern ::= <DisclosedMemory> \"→\" <AdmissibleDelta> \"→\" <IdempotentBoundedMerge> \"→\" <VersionProvenance> \"→\" <PersistenceFork> \"→\" <AdditiveBaselineOverlay>\nIdempotentBoundedMerge ::= \"stable_identity\" \",\" \"dedupe\" \",\" \"cap\" \",\" \"double_apply_is_no_op\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Version Provenance](/records/algorithms/version-provenance), [Persistence Fork](/records/algorithms/persistence-fork)",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [streaming_dataflow](/records/force/streaming-dataflow)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the merge core's determinism and idempotency checks, the provenance log, which records every version and the evidence behind it",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every delta applied to the profile",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a new turn produces evidence or the frozen baseline changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A delta without same-turn evidence is rejected, and the fallback mirror accepts no writes",
                    "term": "Refusal"
                  },
                  {
                    "description": "The provenance log, which locates when and from what evidence each fact entered",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The same-turn evidence, which every delta cites, and the frozen baseline, which the mirror never overrides",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Version Provenance](/records/algorithms/version-provenance), [Persistence Fork](/records/algorithms/persistence-fork)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-living-accumulation-concern",
            "title": "<Living Accumulation Concern>"
          }
        ],
        "title": "Living profile"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_living_plan_state[\"Living Plan State\"]\n    n_boundary_reconciliation[\"Boundary Reconciliation\"]\n    n_phase_close_gate[\"Phase Close Gate\"]\n    n_plan_phase_verification[\"Plan Phase Verification\"]\n    n_governed_autonomous_plan_loop[\"Governed Autonomous Plan Loop\"]\n    n_governed_plan_concern[\"<Governed Plan Concern>\"]\n    n_phase_close_gate --> n_boundary_reconciliation\n    n_plan_phase_verification --> n_boundary_reconciliation\n    n_governed_autonomous_plan_loop --> n_living_plan_state\n    n_governed_autonomous_plan_loop --> n_boundary_reconciliation\n    n_governed_autonomous_plan_loop --> n_phase_close_gate\n    n_governed_autonomous_plan_loop --> n_plan_phase_verification\n    n_governed_plan_concern --> n_living_plan_state\n    n_governed_plan_concern --> n_phase_close_gate"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-governed-plan-loop",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [governed-plan-loop](/records/algorithms-domain/governed-plan-loop)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Treat the plan as durable append/update-only state — tasks carrying status and grounding, a considerations backlog, and a dismissed-key set — maintained every turn and re-delivered on restart, so anything discovered mid-pass is retained instead of falling out of scope.",
                    "term": "Intent"
                  },
                  {
                    "description": "Plan progress is authoritative persisted state, never inferred from transient conversation, and a completion is recorded only with evidence.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "EmitDelta → GuardTransition → AppendOnly → Persist → RenderFromState",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LivingPlanState ::= <PlanDelta> \"→\" <TransitionGuard> \"→\" <DurableMerge> \"→\" <StateRender>\nTaskStatus ::= \"pending\" | \"active\" | \"done\"\nConsiderationStatus ::= \"open\" | \"confirmed\" | \"dismissed\"\nDoneTransition ::= \"requires\" <GroundingCitation>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop), [<Governed Plan Concern>](/records/algorithms/governed-plan-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [causality_ordering](/records/force/causality-ordering), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Plan progress inferred from the conversation, so a discovery mid-pass falls out of scope on restart.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "plan delta → transition guard{done requires grounding} → append/update-only durable state{tasks, considerations, dismissed keys} → render from state, restart-survivable",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the phase close gate, whose verification flag only deterministic engine code writes",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task of the living plan",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan or the verified work changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A phase does not close while its gate fails, and a failure routes back to execution",
                    "term": "Refusal"
                  },
                  {
                    "description": "The persisted plan state, which records progress across restarts",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The engine's verification flag, which a phase closes on",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-living-plan-state",
            "title": "Living Plan State"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [governed-plan-loop](/records/algorithms-domain/governed-plan-loop)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Capture considerations during a phase but act on them only at the phase boundary — triage each open consideration against code and canon into a confirmed task or a dismissed resolved-false key, deduping new opens against the confirmed and dismissed sets before triage.",
                    "term": "Intent"
                  },
                  {
                    "description": "A dismissed consideration never resurfaces and the backlog converges monotonically, so the loop cannot oscillate.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Capture → DeferToBoundary → DedupBeforeTriage → Triage → DryPassOrBound",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BoundaryReconciliation ::= <Backlog> \"→\" <Dedup> \"→\" <Triage> \"→\" <Termination>\nTriage ::= \"confirm\" \"→\" <Task> | \"dismiss\" \"→\" <ResolvedFalse>\nDedup ::= \"newOpens\" \"against\" \"(confirmed | resolvedFalse)\"\nTermination ::= \"dryPass\" | \"maxReconcileRounds\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Recursion Control](/records/algorithms/recursion-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Phase Close Gate](/records/algorithms/phase-close-gate), [Plan Phase Verification](/records/algorithms/plan-phase-verification), [Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[causality_ordering](/records/force/causality-ordering), [resilience_recovery](/records/force/resilience-recovery), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Considerations acted on mid-phase, and a dismissed one resurfaces — the loop oscillates.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "capture during phase → act only at the boundary → dedup new opens vs (confirmed | dismissed) → triage{confirm → task | dismiss → resolved-false} → dry pass or bound",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the phase close gate, whose verification flag only deterministic engine code writes",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task of the living plan",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan or the verified work changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A phase does not close while its gate fails, and a failure routes back to execution",
                    "term": "Refusal"
                  },
                  {
                    "description": "The persisted plan state, which records progress across restarts",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The engine's verification flag, which a phase closes on",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Recursion Control](/records/algorithms/recursion-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-boundary-reconciliation",
            "title": "Boundary Reconciliation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [governed-plan-loop](/records/algorithms-domain/governed-plan-loop)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Make completion a gated state of the plan rather than a judgment call — a phase closes only when all tasks are done, a dry reconciliation pass holds, verify is clean for the chosen scope, and the coverage graph confirms the ripple set; otherwise the loop returns to execution.",
                    "term": "Intent"
                  },
                  {
                    "description": "Completion can never be self-declared; closure is a composed evidence-bound gate whose failure routes back to execution, never to done.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AllTasksDone → DryPass → VerifyClean → CoverageConfirmed → CloseOrExecute",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PhaseCloseGate ::= <TaskCompletion> \"&\" <DryPass> \"&\" <VerifyResult> \"&\" <CoverageResult> \"→\" <Decision>\nDecision ::= \"close\" | \"return_to_execute\"\nVerifyResult ::= \"scope:full\" | \"scope:work\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Validation Gate](/records/algorithms/validation-gate), [Boundary Reconciliation](/records/algorithms/boundary-reconciliation)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop), [<Governed Plan Concern>](/records/algorithms/governed-plan-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance), [correctness_verification](/records/force/correctness-verification), [state_transaction](/records/force/state-transaction)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The phase is self-declared done.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "all tasks done & dry reconciliation holds & verify clean (scope) & coverage graph confirms ripple → close | return to execute; never self-declared",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the phase close gate, whose verification flag only deterministic engine code writes",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task of the living plan",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan or the verified work changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A phase does not close while its gate fails, and a failure routes back to execution",
                    "term": "Refusal"
                  },
                  {
                    "description": "The persisted plan state, which records progress across restarts",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The engine's verification flag, which a phase closes on",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Validation Gate](/records/algorithms/validation-gate), [Boundary Reconciliation](/records/algorithms/boundary-reconciliation)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-phase-close-gate",
            "title": "Phase Close Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [governed-plan-loop](/records/algorithms-domain/governed-plan-loop)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Before a composed plan reaches the developer, the engine loops it back through evidence, completeness, and adversarial-skepticism passes, reconciles the findings into the plan, and increments a loop-owned pass counter the model cannot forge; a render boundary blocks an unverified plan.",
                    "term": "Intent"
                  },
                  {
                    "description": "A plan is never presented un-reviewed, and the verification flag is written only by deterministic engine code, never by model tokens.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AutoLoopback → ThreePassVerify → ReconcileFindings → LoopOwnedIncrement → PresentGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PlanPhaseVerification ::= <AutoLoopback> \"→\" <VerifyPasses> \"→\" <Reconcile> \"→\" <CounterIncrement> \"→\" <PresentGate>\nVerifyPasses ::= \"evidence\" \",\" \"completeness\" \",\" \"adversarial\"\nPresentGate ::= \"verificationPasses >= 1\"\nCounter ::= \"loop_owned\" \"not_model_emitted\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Evidence-Gated Claim Verification](/records/algorithms/evidence-gated-claim-verification), [Boundary Reconciliation](/records/algorithms/boundary-reconciliation), [Recursion Control](/records/algorithms/recursion-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Governed Autonomous Plan Loop](/records/algorithms/governed-autonomous-plan-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A plan presented to the developer un-reviewed, its verified flag set by model tokens.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "auto loopback → 3 passes{evidence, completeness, adversarial} → reconcile findings → loop-owned counter (not model-emitted) → render blocked until verified",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the phase close gate, whose verification flag only deterministic engine code writes",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task of the living plan",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan or the verified work changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A phase does not close while its gate fails, and a failure routes back to execution",
                    "term": "Refusal"
                  },
                  {
                    "description": "The persisted plan state, which records progress across restarts",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The engine's verification flag, which a phase closes on",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Evidence-Gated Claim Verification](/records/algorithms/evidence-gated-claim-verification), [Boundary Reconciliation](/records/algorithms/boundary-reconciliation), [Recursion Control](/records/algorithms/recursion-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-plan-phase-verification",
            "title": "Plan Phase Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [governed-plan-loop](/records/algorithms-domain/governed-plan-loop)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Drive a large task to completion under gates — seed per phase, investigate, execute, self-inform from canon and self-audit, capture considerations, reconcile at the boundary, and close only when the plan is a mechanically resolved state, then re-seed the next phase.",
                    "term": "Intent"
                  },
                  {
                    "description": "Autonomy is bounded by gates rather than disposition — the plan can only grow with code-verified work, completion is a gated state and not a judgment call, and every step is restart-survivable.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SeedPhase → Investigate → Execute → GatedSelfAuditAndInform → CaptureConsiderations → BoundaryReconcile → CloseGate → ReSeedNextPhase",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "GovernedPlanLoop ::= <PhaseSeed> \"→\" <ActivityCycle> \"→\" <BoundaryReconciliation> \"→\" <PhaseCloseGate> \"→\" <ReSeed>\nActivityCycle ::= \"investigate\" \"→\" \"execute\" \"→\" \"verify\"\nSelfDrive ::= <CanonSelfInform> \"&\" <SkepticalSweep> \"&\" <PlanMaintenance>\nCompletion ::= \"gated_state\" \"not_judgment_call\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Living Plan State](/records/algorithms/living-plan-state), [Boundary Reconciliation](/records/algorithms/boundary-reconciliation), [Phase Close Gate](/records/algorithms/phase-close-gate), [Plan Phase Verification](/records/algorithms/plan-phase-verification), [Phase-Separated Execution](/records/algorithms/phase-separated-execution)",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [security_governance](/records/force/security-governance), [correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Auditability](/records/architecture/auditability)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  },
                  {
                    "description": "[constrain](/records/stage/constrain)",
                    "term": "Grounded by"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Living Plan State](/records/algorithms/living-plan-state)",
                    "term": "commit"
                  },
                  {
                    "description": "[Boundary Reconciliation](/records/algorithms/boundary-reconciliation)",
                    "term": "constrain"
                  },
                  {
                    "description": "[Plan Phase Verification](/records/algorithms/plan-phase-verification)",
                    "term": "verify"
                  },
                  {
                    "description": "[Phase Close Gate](/records/algorithms/phase-close-gate)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A long task driven from conversation memory, self-declared done, losing mid-pass discoveries on restart.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "seed phase → investigate → execute → gated self-audit + canon self-inform → capture + reconcile at boundary → close only on a mechanically resolved gated state → re-seed next phase",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the phase close gate, whose verification flag only deterministic engine code writes",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task of the living plan",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan or the verified work changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A phase does not close while its gate fails, and a failure routes back to execution",
                    "term": "Refusal"
                  },
                  {
                    "description": "The persisted plan state, which records progress across restarts",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The engine's verification flag, which a phase closes on",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Living Plan State](/records/algorithms/living-plan-state), [Boundary Reconciliation](/records/algorithms/boundary-reconciliation), [Phase Close Gate](/records/algorithms/phase-close-gate), [Plan Phase Verification](/records/algorithms/plan-phase-verification), [Phase-Separated Execution](/records/algorithms/phase-separated-execution)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-governed-autonomous-plan-loop",
            "title": "Governed Autonomous Plan Loop"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [governed-plan-loop](/records/algorithms-domain/governed-plan-loop)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Seed the phase> → <Investigate and execute under gates> → <Self-inform from canon and self-audit> → <Capture and reconcile considerations at the boundary> → <Close only on a mechanically resolved gated state> → <Re-seed the next phase>",
                    "term": "Intent"
                  },
                  {
                    "description": "A large task reaches completion only under gates, never by disposition: the plan grows solely from code-verified work, completion is a gated state rather than a judgment call, and every step is restart-survivable.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SeedPhase → GatedActivity → BoundaryReconcile → CloseGate → ReSeed",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "GovernedPlanConcern ::= <PhaseSeed> \"→\" <GatedActivityCycle> \"→\" <BoundaryReconciliation> \"→\" <PhaseCloseGate> \"→\" <ReSeed>\nGatedActivityCycle ::= \"investigate\" \"→\" \"execute\" \"→\" \"gated_self_audit\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Living Plan State](/records/algorithms/living-plan-state), [Phase Close Gate](/records/algorithms/phase-close-gate)",
                    "term": "Composes"
                  },
                  {
                    "description": "[state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the phase close gate, whose verification flag only deterministic engine code writes",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every phase and task of the living plan",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the plan or the verified work changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A phase does not close while its gate fails, and a failure routes back to execution",
                    "term": "Refusal"
                  },
                  {
                    "description": "The persisted plan state, which records progress across restarts",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The engine's verification flag, which a phase closes on",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Living Plan State](/records/algorithms/living-plan-state), [Phase Close Gate](/records/algorithms/phase-close-gate)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-governed-plan-concern",
            "title": "<Governed Plan Concern>"
          }
        ],
        "title": "Governed plan loop"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_quality_governance_loop[\"Quality Governance Loop\"]\n    n_canonical_config_resolution[\"Canonical Config Resolution\"]\n    n_stage_ordering[\"Stage Ordering\"]\n    n_comment_normalization_remediation[\"Comment Normalization Remediation\"]\n    n_custom_rule_derivation[\"Custom-Rule Derivation\"]\n    n_machine_verdict_derivation[\"Machine Verdict Derivation\"]\n    n_bounded_cascade_termination[\"Bounded Cascade Termination\"]\n    n_quality_engine_concern[\"Quality-Engine Kernel\"]\n    n_quality_governance_loop --> n_canonical_config_resolution\n    n_quality_governance_loop --> n_stage_ordering\n    n_quality_governance_loop --> n_comment_normalization_remediation\n    n_quality_governance_loop --> n_machine_verdict_derivation\n    n_quality_governance_loop --> n_bounded_cascade_termination\n    n_quality_engine_concern --> n_canonical_config_resolution\n    n_quality_engine_concern --> n_stage_ordering\n    n_quality_engine_concern --> n_quality_governance_loop"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-quality-engine",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "On each update (an apply), normalize the proposal, resolve a CheckPlan, verify it, and on failure fix-then-reverify the downstream set until the verdict is clean or the pass bound is reached, then escalate.",
                    "term": "Intent"
                  },
                  {
                    "description": "Every code update is a bounded verify-remediate loop keyed to the apply event, not the turn; the machine verdict — never the model's read — is its only completion signal.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Update → Normalize → Resolve → Verify → Clean? → Fix → Reverify → Clean|Escalate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "QualityGovernanceLoop ::= <Update> \"→\" <NormalizationPrefix> \"→\" <CheckPlanResolution> \"→\" <Verification> \"→\" (<CleanVerdict> | <DownstreamFixCycle> \"→\" <QualityGovernanceLoop>)\nDownstreamFixCycle ::= <InScopeFindings> \"→\" <ModelFixBurst> \"→\" <Reapply> \"→\" <BoundedReverify>\nBoundedReverify ::= \"passCount <= MAX_CASCADE_PASSES\" \"AND\" \"in_scope_findings_strictly_decrease\" | \"escalate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Recursion Control](/records/algorithms/recursion-control), [Resilience Control](/records/algorithms/resilience-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Quality-Engine Kernel](/records/algorithms/quality-engine-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance), [model_governance](/records/force/model-governance), [event_messaging](/records/force/event-messaging)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Manual-Only Governance](/records/architecture/manual-only-governance)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Canonical Config Resolution](/records/algorithms/canonical-config-resolution)",
                    "term": "derive"
                  },
                  {
                    "description": "[Stage Ordering](/records/algorithms/stage-ordering)",
                    "term": "project"
                  },
                  {
                    "description": "[Comment Normalization Remediation](/records/algorithms/comment-normalization-remediation)",
                    "term": "act"
                  },
                  {
                    "description": "[Machine Verdict Derivation](/records/algorithms/machine-verdict-derivation)",
                    "term": "verify"
                  },
                  {
                    "description": "[Bounded Cascade Termination](/records/algorithms/bounded-cascade-termination)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A code edit judged clean by the model's read, not the machine verdict.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "apply → normalize → resolve CheckPlan → verify → {clean | fix in-scope + reverify, bounded, findings strictly decrease} → clean | escalate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Recursion Control](/records/algorithms/recursion-control), [Resilience Control](/records/algorithms/resilience-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-quality-governance-loop",
            "title": "Quality Governance Loop"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Expand one canonical config across selected profiles and native rules into per-tool config, resolve exactly one owner per contested surface, detect the four conflict kinds fail-closed, route loosening or self-certification to the developer's gate, and emit a resolved plan.",
                    "term": "Intent"
                  },
                  {
                    "description": "A single canonical model expands to many tools without contradiction only when every contested surface has one owner and every conflict is caught before runtime.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CanonicalConfig → Expand → OwnershipResolution → ConflictDetection → HumanAuthorityRouting → ResolvedPlan|ConflictReport",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CanonicalConfigResolution ::= <CanonicalConfig> \"→\" <PerToolExpansion> \"→\" <SingleOwnerPerSurface> \"→\" <ConflictDetection> \"→\" (<ResolvedPlan> | <ConflictReport>)\nConflictKind ::= \"ownership_overlap\" | \"unsatisfiable_on_fixed\" | \"value_out_of_range\" | \"known_bad_pair\"\nResolution ::= \"single_owner_enabled\" | \"route_to_human_authority_gate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel), [Canonical Data](/records/algorithms/canonical-data)",
                    "term": "Composes"
                  },
                  {
                    "description": "[Quality-Engine Kernel](/records/algorithms/quality-engine-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "One config expanded to many tools with contradictory, unowned rules.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "canonical config → per-tool expansion → one owner per contested surface → detect conflicts{ownership overlap, unsatisfiable, out-of-range, known-bad-pair} fail-closed → resolved plan | conflict report",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel), [Canonical Data](/records/algorithms/canonical-data)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-canonical-config-resolution",
            "title": "Canonical Config Resolution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Build the runnability DAG from dependsOn, topologically order the cascade by the invalidates relation so fixes point forward, partition into normalization prefix, structural band, and semantic suffix, and permit back-edges only inside the suffix.",
                    "term": "Intent"
                  },
                  {
                    "description": "The order determines the total work scope; a forward-pointing order makes each fix dirty only later stages, so the prefix converges once and the suffix is bounded.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Stages → RunnabilityDAG → InvalidatesTopoSort → BandPartition → OrderedStages",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "StageOrdering ::= <StageSet> \"→\" <DependsOnDAG> \"→\" <InvalidatesOrder> \"→\" <BandPartition> \"→\" <OrderedStages>\nBandPartition ::= \"normalization_prefix\" \",\" \"structural_band\" \",\" \"semantic_suffix\"\nBackEdgePolicy ::= \"allowed_only_in_semantic_suffix_resolved_at_runtime\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Quality-Engine Kernel](/records/algorithms/quality-engine-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Checks run in arbitrary order, so a fix re-dirties an already-passed stage forever.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "stages → runnability DAG (dependsOn) → topo-order by invalidates (fixes point forward) → bands{normalization prefix, structural, semantic suffix}; back-edges only in the suffix",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-stage-ordering",
            "title": "Stage Ordering"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Express the comment-strip rule once as canonical behavior, bind it per language from a comment-grammar descriptor, run the toolchain-free token-scan backing on the in-memory proposal and the real-AST backing in the sandbox, preserve directive comments, and trust a backing only after calibration and adversarial testing.",
                    "term": "Intent"
                  },
                  {
                    "description": "An agnostic auto-fix is behavior-as-data compiled per language behind a safety boundary — adding a language is adding a descriptor, not code.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CanonicalRule + GrammarDescriptor → Compile → TokenScan|ASTBacking → DirectivePreservingStrip → CalibratedFix",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CommentNormalization ::= <CanonicalCommentRule> \"→\" <PerLanguageDescriptor> \"→\" <CompiledBacking> \"→\" <DirectivePreservingStrip> \"→\" <SafetyBoundary>\nCompiledBacking ::= \"ast_lite_token_scan_in_memory\" | \"real_ast_via_tier_p_sandbox\"\nSafetyBoundary ::= \"tool_calibration\" \",\" \"adversarial_input_testing\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A comment-strip auto-fix hardcoded per language, so adding a language means new code.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "canonical rule + comment-grammar descriptor → compile per language → token-scan (in-memory) | real-AST (sandbox) → preserve directive comments → trust only after calibration + adversarial test",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-comment-normalization-remediation",
            "title": "Comment Normalization Remediation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Derive a candidate rule from repeated evidence through anti-pattern classification, boundary-principle evaluation, and candidate selection, migrate with rollback, verify elimination, and admit a tightening rule while routing a self-certifying or loosening rule through the developer's gate.",
                    "term": "Intent"
                  },
                  {
                    "description": "A rule that governs the model's own output cannot be authored or loosened by the model; tightening is admitted, self-certification is gated.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Evidence → AntiPattern → BoundaryPrinciple → Candidate → Migrate → Verify → Admit|HumanGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CustomRuleDerivation ::= <RepeatedEvidence> \"→\" <AntiPatternClassification> \"→\" <BoundaryPrincipleEvaluation> \"→\" <CandidateSelection> \"→\" <BackupVerifiedMigration> \"→\" <SelfCertGate>\nSelfCertGate ::= \"tightening_admitted\" | \"self_certifying_or_loosening_routes_to_human_authority\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel), [Anti-Pattern Classification](/records/algorithms/anti-pattern-classification), [Backup-Verified Migration](/records/algorithms/backup-verified-migration)",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The model authors and loosens a rule that governs its own output.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "repeated evidence → anti-pattern classify → boundary principle → candidate → migrate with rollback → verify elimination → {tightening admitted | self-certify/loosen routes to the developer's gate}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Pattern Distiller Kernel](/records/algorithms/pattern-distiller-kernel), [Anti-Pattern Classification](/records/algorithms/anti-pattern-classification), [Backup-Verified Migration](/records/algorithms/backup-verified-migration)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-custom-rule-derivation",
            "title": "Custom-Rule Derivation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Derive the verify-stage verdict from the toolchain's machine output — exit codes and parsed findings — never from the model's reading, so a clean verdict is an observed machine fact.",
                    "term": "Intent"
                  },
                  {
                    "description": "The verify verdict is machine-derived from exit codes and parsed findings; a model's judgment is never the completion signal.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "CheckResults → ExitCodesAndFindings → MachineVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "MachineVerdictDerivation ::= <CheckResults> \"→\" <ExitCodeAndFindingParse> \"→\" <MachineVerdict>\nMachineVerdict ::= \"clean\" | \"violations\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A pass declared from the model's reading of the diff, not the tool's exit.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "check results → exit codes + parsed findings → machine verdict{clean | violations}; the model's read is never the signal",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-machine-verdict-derivation",
            "title": "Machine Verdict Derivation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Terminate the verify-remediate cascade on the completion AND-gate — a clean verdict, or bounded progress where findings strictly decrease within the pass bound — escalating when neither holds.",
                    "term": "Intent"
                  },
                  {
                    "description": "The cascade terminates on a clean machine verdict or a violated progress bound; it never loops unbounded and never stops on an unclean state without escalating.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PassResult → CompletionGate → Stop|Continue|Escalate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "BoundedCascadeTermination ::= <PassResult> \"→\" <CompletionGate> \"→\" (<Clean> | <BoundedContinue> | <Escalate>)\nCompletionGate ::= \"clean\" | \"findings_strictly_decrease\" \"AND\" \"passCount <= MAX_CASCADE_PASSES\" | \"escalate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [resilience_recovery](/records/force/resilience-recovery)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A remediation cascade that loops until it happens to pass, or forever.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "each pass → {clean: stop | findings strictly decrease AND passCount <= MAX: continue | else: escalate}",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-bounded-cascade-termination",
            "title": "Bounded Cascade Termination"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [quality-engine](/records/algorithms-domain/quality-engine)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Resolve a canonical policy into a per-ecosystem CheckPlan, order its stages by the invalidates relation, normalize the proposal, run generation checks on the server and project tools via the relay, derive a machine verdict, and drive a bounded downstream cascade to clean — holding no runtime execution in the engine itself.",
                    "term": "Intent"
                  },
                  {
                    "description": "Language-agnostic code governance is a pure planner-plus-judge behind a port; execution lives in the relay and the loop, the verdict is machine-derived, and the config gate has already removed every runtime contradiction.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Policy → Resolve → Order → Normalize → Execute(G+P) → Verdict → Cascade → Clean|Escalate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "QualityEngineKernel ::= <QualityPolicy> \"→\" <CanonicalConfigResolution> \"→\" <StageOrdering> \"→\" <CommentNormalization> \"→\" <CheckPlanExecution> \"→\" <VerdictDerivation> \"→\" <QualityGovernanceLoop>\nCheckPlanExecution ::= \"generation_checks_server_side\" \",\" \"project_commands_via_relay\"\nVerdictDerivation ::= \"exit_code\" | \"parse_findings\"\nEngineBoundary ::= \"pure_core_no_runtime_execution_behind_port_adapter\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Canonical Config Resolution](/records/algorithms/canonical-config-resolution), [Stage Ordering](/records/algorithms/stage-ordering), [Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the machine verdict, derived from the tools' exit codes and parsed findings",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file the configured tools reach",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the code or the configuration changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The cascade stops on a violated progress bound and escalates, and reports clean only on a clean verdict",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the verdict is derived from tool output",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The tools' exit codes and parsed findings, which the verdict is derived from",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Canonical Config Resolution](/records/algorithms/canonical-config-resolution), [Stage Ordering](/records/algorithms/stage-ordering), [Quality Governance Loop](/records/algorithms/quality-governance-loop)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-quality-engine-concern",
            "title": "Quality-Engine Kernel"
          }
        ],
        "title": "Quality engine"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_composed_turn_contract[\"Composed Turn Contract\"]\n    n_loop_owned_mode_selection[\"Loop-Owned Mode Selection\"]\n    n_versioned_turn_provenance[\"Versioned Turn Provenance\"]\n    n_mode_contract_validation[\"Mode Contract Validation\"]\n    n_mode_driven_response_schema[\"<Mode-Driven Response Schema>\"]\n    n_loop_owned_mode_selection --> n_composed_turn_contract\n    n_loop_owned_mode_selection --> n_mode_contract_validation\n    n_loop_owned_mode_selection --> n_versioned_turn_provenance\n    n_mode_driven_response_schema --> n_composed_turn_contract\n    n_mode_driven_response_schema --> n_loop_owned_mode_selection\n    n_mode_driven_response_schema --> n_versioned_turn_provenance"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-mode-driven-response-schema",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [mode-driven-response-schema](/records/algorithms-domain/mode-driven-response-schema)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compose a model turn's validation schema and its instruction from one self-registering field registry, projected per mode, so the schema the response is graded against and the instruction the model is given can never drift.",
                    "term": "Intent"
                  },
                  {
                    "description": "The per-mode validation schema and the per-mode instruction are projections of a single field registry; there is no second hand-authored contract surface, and adding or changing a field changes both at once.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RegisterField → SelectByMode → ProjectSchema → ProjectInstruction → StampVersion",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ComposedTurnContract ::= <FieldRegistry> \"→\" <ModeProjection> \"→\" <SchemaAndInstruction>\nModeKey ::= \"(\" \"phase\" \",\" \"activity\" \")\"\nSchemaVersion ::= \"content_hash\" \"(\" <FieldSet> \")\"\nDeterminism ::= \"same_mode\" \"→\" \"byte_identical\" \"(\" <Schema> \",\" <Instruction> \")\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Interface Contract](/records/algorithms/interface-contract), [Canonical Data](/records/algorithms/canonical-data), [Canonical Semantics](/records/algorithms/canonical-semantics), [Extension Point](/records/algorithms/extension-point)",
                    "term": "Composes"
                  },
                  {
                    "description": "[<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Loop-Owned Mode Selection](/records/algorithms/loop-owned-mode-selection)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The validation schema and the model's instruction hand-maintained twice, so they drift.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "field registry → project per (phase, activity) mode → schema + instruction from one source → same mode = byte-identical, changing a field changes both",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the mode contract validation, which accepts a response only against the contract the loop selected",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every model turn the loop grades",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the field registry or the selected mode changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A response that fails its mode contract is rejected and retried with error-specific remediation, never against a relaxed contract",
                    "term": "Refusal"
                  },
                  {
                    "description": "The append-only turn records, which locate a failed turn",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The selected mode contract, which every graded response conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Interface Contract](/records/algorithms/interface-contract), [Canonical Data](/records/algorithms/canonical-data), [Canonical Semantics](/records/algorithms/canonical-semantics), [Extension Point](/records/algorithms/extension-point)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-composed-turn-contract",
            "title": "Composed Turn Contract"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [mode-driven-response-schema](/records/algorithms-domain/mode-driven-response-schema)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "The loop assigns the (phase, activity) mode that selects which contract a response is validated against; the model's output carries no contract-selecting field, so a model can never grade itself against a contract it chose.",
                    "term": "Intent"
                  },
                  {
                    "description": "The mode that selects the response contract is loop-assigned; the model has no field that selects the contract it is graded against.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "LoopAssignMode → ComposeContract → ValidateAgainstContract",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LoopOwnedModeSelection ::= <LoopAssignedMode> \"→\" <ComposeContract> \"→\" <ValidateResponse>\nModeAuthority ::= \"loop_owned\" \"not_model_selected\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Contract Compatibility](/records/algorithms/contract-compatibility)",
                    "term": "Composes"
                  },
                  {
                    "description": "[<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[security_governance](/records/force/security-governance), [state_transaction](/records/force/state-transaction), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Composed Turn Contract](/records/algorithms/composed-turn-contract)",
                    "term": "act"
                  },
                  {
                    "description": "[Mode Contract Validation](/records/algorithms/mode-contract-validation)",
                    "term": "verify"
                  },
                  {
                    "description": "[Versioned Turn Provenance](/records/algorithms/versioned-turn-provenance)",
                    "term": "commit"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The model's output carries the field that selects which contract it's graded against.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "loop assigns (phase, activity) mode → compose contract → validate; the model can never grade itself against a contract it chose",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the mode contract validation, which accepts a response only against the contract the loop selected",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every model turn the loop grades",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the field registry or the selected mode changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A response that fails its mode contract is rejected and retried with error-specific remediation, never against a relaxed contract",
                    "term": "Refusal"
                  },
                  {
                    "description": "The append-only turn records, which locate a failed turn",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The selected mode contract, which every graded response conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Contract Compatibility](/records/algorithms/contract-compatibility)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-loop-owned-mode-selection",
            "title": "Loop-Owned Mode Selection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [mode-driven-response-schema](/records/algorithms-domain/mode-driven-response-schema)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Persist each accepted model turn as an append-only, mode-tagged, schema-versioned, causally ordered record with change-only provenance, so the turn history is a queryable, auditable log and a turn is never graded against a schema version its stored state never saw.",
                    "term": "Intent"
                  },
                  {
                    "description": "Turn records are append-only and single-writer causally ordered; a version is stamped by content and never mutated in place; a no-op change appends nothing.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "StampVersion → AssignCausalOrder → AppendOnly → BumpOnChange → Query",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VersionedTurnProvenance ::= <SchemaVersion> \"→\" <CausalOrder> \"→\" <AppendOnlyRecord>\nCausalOrder ::= \"single_writer_counter\" \"not\" \"disk_read_max\"\nProvenance ::= \"bump_on_real_change\" \"no_op_appends_nothing\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Version Provenance](/records/algorithms/version-provenance)",
                    "term": "Composes"
                  },
                  {
                    "description": "[<Mode-Driven Response Schema>](/records/algorithms/mode-driven-response-schema)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Loop-Owned Mode Selection](/records/algorithms/loop-owned-mode-selection)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[observability_traceability](/records/force/observability-traceability), [state_transaction](/records/force/state-transaction), [causality_ordering](/records/force/causality-ordering)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A turn graded against a schema version its stored state never saw.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "accepted turn → stamp version by content → single-writer causal order → append-only, mode-tagged record; a no-op appends nothing",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the mode contract validation, which accepts a response only against the contract the loop selected",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every model turn the loop grades",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the field registry or the selected mode changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A response that fails its mode contract is rejected and retried with error-specific remediation, never against a relaxed contract",
                    "term": "Refusal"
                  },
                  {
                    "description": "The append-only turn records, which locate a failed turn",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The selected mode contract, which every graded response conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Version Provenance](/records/algorithms/version-provenance)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-versioned-turn-provenance",
            "title": "Versioned Turn Provenance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [mode-driven-response-schema](/records/algorithms-domain/mode-driven-response-schema)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Validate the model's response against the loop-selected mode contract and, on a validation miss, drive an error-specific self-healing retry bounded by the contract, so a response is accepted only when it satisfies the schema it is graded against.",
                    "term": "Intent"
                  },
                  {
                    "description": "A response is accepted only against the mode contract the loop selected; a validation miss self-heals with error-specific remediation, never against a relaxed contract.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Response → ValidateAgainstContract → Valid|SelfHealRetry → Accepted|Rejected",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ModeContractValidation ::= <Response> \",\" <ModeContract> \"→\" <Validation> \"→\" (<Accepted> | <SelfHealRetry> \"→\" <ModeContractValidation>)\nSelfHealRetry ::= \"error_specific_remediation\" \"(\" <ValidationIssues> \")\" \"bounded\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Loop-Owned Mode Selection](/records/algorithms/loop-owned-mode-selection)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A response accepted because it looked right, not because it satisfied the mode's schema.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "response + mode contract → validate → {valid | error-specific self-heal retry, bounded} → accepted | rejected",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the mode contract validation, which accepts a response only against the contract the loop selected",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every model turn the loop grades",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the field registry or the selected mode changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A response that fails its mode contract is rejected and retried with error-specific remediation, never against a relaxed contract",
                    "term": "Refusal"
                  },
                  {
                    "description": "The append-only turn records, which locate a failed turn",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The selected mode contract, which every graded response conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-mode-contract-validation",
            "title": "Mode Contract Validation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [mode-driven-response-schema](/records/algorithms-domain/mode-driven-response-schema)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Make the model's structured output a mode-driven composed contract — the output mirror of composed input context: per loop-owned mode the schema and instruction are projected from one field registry, the response is validated and self-heals against it, the typed fields are governed, and every turn is persisted as a versioned queryable record — so the output has one source, cannot drift from its instruction, and can be audited.",
                    "term": "Intent"
                  },
                  {
                    "description": "The response contract is composed per loop-owned mode from a single field registry; instruction and validation are the same source; a validation miss self-heals with error-specific remediation; output governance is advisory and never blocks the hard verify gate; and every accepted turn is a versioned, append-only record.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ComposeContract → ValidateByMode → SelfRemediate → GovernFields → PersistVersioned",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ModeDrivenResponseSchema ::= <ComposedTurnContract> \"→\" <LoopOwnedModeSelection> \"→\" <SelfRemediation> \"→\" <GroundingAdvisory> \"→\" <VersionedTurnProvenance>\nSingleSource ::= \"instruction\" \"=\" \"validation\" \"=\" \"projection\" \"(\" <FieldRegistry> \")\"\nSelfRemediation ::= \"error_specific_retry\" \"(\" <ValidationIssues> \",\" <ModeContract> \")\"\nGroundingAdvisory ::= \"typed_field\" \"→\" \"validator\" \"(\" \"advisory_not_blocking\" \")\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Composed Turn Contract](/records/algorithms/composed-turn-contract), [Loop-Owned Mode Selection](/records/algorithms/loop-owned-mode-selection), [Versioned Turn Provenance](/records/algorithms/versioned-turn-provenance), [Interface Contract](/records/algorithms/interface-contract), [Canonical Data](/records/algorithms/canonical-data), [Contract Compatibility](/records/algorithms/contract-compatibility), [Self-Description Manifest](/records/algorithms/self-description-manifest), [Runtime Discovery](/records/algorithms/runtime-discovery), [Extension Point](/records/algorithms/extension-point)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency), [runtime_extensibility](/records/force/runtime-extensibility), [correctness_verification](/records/force/correctness-verification), [security_governance](/records/force/security-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the mode contract validation, which accepts a response only against the contract the loop selected",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every model turn the loop grades",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until the field registry or the selected mode changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "A response that fails its mode contract is rejected and retried with error-specific remediation, never against a relaxed contract",
                    "term": "Refusal"
                  },
                  {
                    "description": "The append-only turn records, which locate a failed turn",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The selected mode contract, which every graded response conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Composed Turn Contract](/records/algorithms/composed-turn-contract), [Loop-Owned Mode Selection](/records/algorithms/loop-owned-mode-selection), [Versioned Turn Provenance](/records/algorithms/versioned-turn-provenance), [Interface Contract](/records/algorithms/interface-contract), [Canonical Data](/records/algorithms/canonical-data), [Contract Compatibility](/records/algorithms/contract-compatibility), [Self-Description Manifest](/records/algorithms/self-description-manifest), [Runtime Discovery](/records/algorithms/runtime-discovery), [Extension Point](/records/algorithms/extension-point)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-mode-driven-response-schema",
            "title": "<Mode-Driven Response Schema>"
          }
        ],
        "title": "Mode-driven response schema"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_cascade_layer_partition[\"Cascade Layer Partition\"]\n    n_token_source_of_truth[\"Token Source-of-Truth\"]\n    n_type_keyed_appearance[\"Type-Keyed Appearance\"]\n    n_custom_type_registration[\"Custom Type Registration\"]\n    n_governed_construction_boundary[\"Governed Construction Boundary\"]\n    n_placement_isolation[\"Placement Isolation\"]\n    n_assembly_composition[\"Assembly Composition\"]\n    n_layer_fitness_enforcement[\"Layer Fitness Enforcement\"]\n    n_type_migration_centralization[\"Type-Migration Centralization\"]\n    n_css_type_cascade_concern[\"CSS Type-Cascade Kernel\"]\n    n_css_type_cascade_concern --> n_cascade_layer_partition\n    n_css_type_cascade_concern --> n_token_source_of_truth\n    n_css_type_cascade_concern --> n_type_keyed_appearance\n    n_css_type_cascade_concern --> n_custom_type_registration\n    n_css_type_cascade_concern --> n_placement_isolation\n    n_css_type_cascade_concern --> n_assembly_composition\n    n_css_type_cascade_concern --> n_layer_fitness_enforcement"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-css-cascade",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Declare one ordered set of named cascade layers once at the stylesheet root, assign every rule to exactly one layer, and let layer order — not selector specificity nor source order — decide precedence, so values, appearance, placement, and assembly can never fight for the same declaration.",
                    "term": "Intent"
                  },
                  {
                    "description": "Style precedence must be a property of the layer a rule lives in, not of how specific its selector is; an unlayered rule silently outranks every layer and is therefore forbidden.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Root → LayerOrderDeclaration → PerFileLayerBinding → LayerPrecedence → DeterministicCascade",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CascadeLayerPartition ::= <LayerOrderDeclaration> \"→\" <LayeredBindingSet> \"→\" <PrecedencePolicy>\nLayerOrderDeclaration ::= \"@layer\" \"tokens\" \",\" \"globals\" \",\" \"shell\" \",\" \"components\" \",\" \"app\"\nLayeredBinding ::= <StyleFile> \"assigned_to\" <ExactlyOneLayer>\nPrecedencePolicy ::= \"app_over_components_over_shell_over_globals_over_tokens\" \",\" \"layer_beats_specificity\" \",\" \"no_unlayered_rule\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Architectural Style Boundary](/records/algorithms/architectural-style-boundary), [Responsibility Boundary](/records/algorithms/responsibility-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[CSS Type-Cascade Kernel](/records/algorithms/css-type-cascade-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": ".foo { color: red; }\n#page .foo { color: blue; }",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "@layer tokens, globals, components, app;\n@layer globals { [data-el=\"foo\"] { color: var(--fg); } }\n@layer app { .foo-view { gap: var(--space-4); } }",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Architectural Style Boundary](/records/algorithms/architectural-style-boundary), [Responsibility Boundary](/records/algorithms/responsibility-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-cascade-layer-partition",
            "title": "Cascade Layer Partition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Define every design primitive — color, space, radius, the type scale, size, duration, z-index — exactly once as a custom property in the tokens layer, and forbid any downstream literal where a token exists.",
                    "term": "Intent"
                  },
                  {
                    "description": "Values are canonical data with a single source; a literal in globals, components, or app where a token exists is duplication, not styling.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Primitive → TokenDeclaration → DownstreamReference → NoLiteralWhereTokenExists",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TokenSourceOfTruth ::= <PrimitiveSet> \"→\" <TokenDeclarationSet> \"→\" <ReferenceOnlyDownstream>\nTokenCategory ::= \"color\" | \"space\" | \"radius\" | \"type_scale\" | \"size\" | \"duration\" | \"z_index\"\nLiteralPolicy ::= \"reference_token\" | \"zero_value_exempt\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Canonical Data](/records/algorithms/canonical-data)",
                    "term": "Composes"
                  },
                  {
                    "description": "[CSS Type-Cascade Kernel](/records/algorithms/css-type-cascade-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [performance_scaling](/records/force/performance-scaling)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": ".foo { color: #33bb55; }\n.bar { color: #33bb55; }",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "@layer tokens { :root { --foo: #33bb55; } }\n@layer globals { [data-el=\"foo\"], [data-el=\"bar\"] { color: var(--foo); } }",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Canonical Data](/records/algorithms/canonical-data)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-token-source-of-truth",
            "title": "Token Source-of-Truth"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "In the globals layer, define how every element and component type looks, its size, and its spacing exactly once, keyed only by element tag, `data-el` custom type, and the orthogonal `data-*` axes (`data-variant` paint, `data-size` scale, `data-gap` child rhythm, `data-tone` palette, `data-measure` width); never key appearance by a purpose-class, and let every value be a token.",
                    "term": "Intent"
                  },
                  {
                    "description": "Appearance is a contract owned by a type, not by a use-site; a purpose-class in globals fragments one type's look across many call-sites and is forbidden.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Type → GlobalAppearanceRule → DefinedOncePerType → TokenizedValues",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TypeKeyedAppearance ::= <TypeSelector> \"→\" <AppearanceRule> \"→\" <DefinedOncePerType>\nTypeSelector ::= <ElementTag> | \"[data-el=\" <CustomType> \"]\" | <TypeSelector> \"[data-\" (\"variant\"|\"size\"|\"gap\"|\"tone\"|\"measure\"|\"layout\") \"=\" <Value> \"]\"\nAppearanceProperty ::= \"look\" | \"size\" | \"spacing\" | \"intrinsic_rendering_behavior\"\nForbiddenKey ::= \"purpose_class\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Canonical Data](/records/algorithms/canonical-data), [Domain Boundary](/records/algorithms/domain-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[CSS Type-Cascade Kernel](/records/algorithms/css-type-cascade-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": ".foo-label { font-size: 12px; color: gray; }",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "@layer globals { [data-el=\"foo\"] { font-size: var(--text-sm); color: var(--fg-muted); } }",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Canonical Data](/records/algorithms/canonical-data), [Domain Boundary](/records/algorithms/domain-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-type-keyed-appearance",
            "title": "Type-Keyed Appearance"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Extend the stylable element vocabulary beyond the native HTML tag set by registering each semantic type against a base tag and a `data-el` stamp; the registered type becomes a first-class node the globals layer binds one appearance contract to, so a concept no native tag can express — a field-label, an icon, a toast, an entry — is styled by its type, never by a class.",
                    "term": "Intent"
                  },
                  {
                    "description": "The set of stylable types is open and self-registered, not limited to the HTML tag set; a new appearance contract is a newly registered type plus one global rule, never a new purpose-class.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "SemanticConcept → DefineElement(type, baseTag, dataEl) → TypeRegistry → DataElStamp → GlobalAppearanceContract",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CustomTypeRegistration ::= <SemanticConcept> \"→\" <ElementDefinition> \"→\" <TypeRegistryEntry> \"→\" <RenderedTypeStamp> \"→\" <AppearanceBinding>\nElementDefinition ::= \"type\" \",\" \"baseTag\" \",\" \"dataElToken\"\nRenderedTypeStamp ::= <BaseTag> \"carrying\" \"data-el=\" <DataElToken>\nAppearanceBinding ::= \"[data-el=\" <DataElToken> \"]\" \"owns_exactly_one_global_appearance_rule\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Extension Point](/records/algorithms/extension-point), [Self-Description Manifest](/records/algorithms/self-description-manifest)",
                    "term": "Composes"
                  },
                  {
                    "description": "[CSS Type-Cascade Kernel](/records/algorithms/css-type-cascade-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "**…**\n.foo { color: gray; }",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "defineElement({ type: \"foo\", baseTag: \"output\", dataEl: \"foo\" });\n@layer globals { [data-el=\"foo\"] { color: var(--fg-muted); } }",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Extension Point](/records/algorithms/extension-point), [Self-Description Manifest](/records/algorithms/self-description-manifest)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-custom-type-registration",
            "title": "Custom Type Registration"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Route all DOM creation through one governed factory that resolves a node spec of shape `{ el, variant, size, gap, tone, measure, layout, class, on, children }` against the type, handler, and component registries, maps each axis key to its `data-*` attribute, treats `class` as a gated hook (icon-font glyph, `u-*` utility, or `c-*` component — never bespoke, never appearance), throws on any unknown type, handler, or component, and refuses an inline `style` attribute.",
                    "term": "Intent"
                  },
                  {
                    "description": "The construction surface must be structurally incapable of producing a node that is unstyled-by-type or carries an inline style; the illegal state is unrepresentable, not merely linted after the fact.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "NodeSpec → RegistryResolution → ScalarMapping → UnknownReject|InlineStyleReject → GovernedNode",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "GovernedConstruction ::= <NodeSpec> \"→\" <RegistryLookup> \"→\" <ScalarApplication> \"→\" <GuardSet> \"→\" <RenderedNode>\nNodeSpec ::= \"el\" \",\" \"variant?\" \",\" \"size?\" \",\" \"gap?\" \",\" \"tone?\" \",\" \"measure?\" \",\" \"layout?\" \",\" \"class?\" \",\" \"on?\" \",\" \"children?\"\nScalarApplication ::= \"each_axis_key→data-attr\" \",\" \"class=gated_iconfont_or_u_or_c\"\nGuardSet ::= \"throw_on_unknown_element\" \",\" \"throw_on_unknown_handler\" \",\" \"throw_on_unknown_component\" \",\" \"reject_style_attribute\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Construction Boundary](/records/algorithms/construction-boundary), [Error Boundary](/records/algorithms/error-boundary), [Security Policy](/records/algorithms/security-policy)",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [object_creation](/records/force/object-creation)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "const n = document.createElement(\"div\");\nn.className = \"foo\";\nn.style.color = \"red\";",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "const n = dom({ el: \"foo\", tone: \"bar\", children: [text] });",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Construction Boundary](/records/algorithms/construction-boundary), [Error Boundary](/records/algorithms/error-boundary), [Security Policy](/records/algorithms/security-policy)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-governed-construction-boundary",
            "title": "Governed Construction Boundary"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [topology](/records/reasoning/math-type-topology)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "In the components layer, set only where a component sits — position, offsets, stacking, overlay — keyed by its type, and never its look, size, or spacing, which remain owned by globals.",
                    "term": "Intent"
                  },
                  {
                    "description": "Placement and appearance are separate contracts; a placement rule that also sets a look re-opens a type's appearance outside its single global definition and breaks the layer partition.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ComponentType → PlacementRule → PositionStackingOverlayOnly → NoAppearanceLeak",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PlacementIsolation ::= <ComponentType> \"→\" <PlacementRule> \"→\" <ForbiddenAppearanceSet>\nPlacementProperty ::= \"position\" | \"inset\" | \"top\" | \"right\" | \"bottom\" | \"left\" | \"z_index\" | \"float\" | \"clear\"\nForbiddenInComponents ::= \"color\" | \"font\" | \"size\" | \"spacing\" | \"border\" | \"radius\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Responsibility Boundary](/records/algorithms/responsibility-boundary), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Composes"
                  },
                  {
                    "description": "[CSS Type-Cascade Kernel](/records/algorithms/css-type-cascade-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "@layer components { [data-el=\"foo\"] { position: fixed; inset-block-end: 1rem; color: white; } }",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "@layer components { [data-el=\"foo\"] { position: fixed; inset-block-end: var(--space-4); z-index: var(--z-overlay); } }",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Responsibility Boundary](/records/algorithms/responsibility-boundary), [Coupling Control](/records/algorithms/coupling-control)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-placement-isolation",
            "title": "Placement Isolation"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "In the app layer, compose views from structural containers and arrange their children with flex or grid and token-valued gaps, pad each container once so its children are full-width and fill the padded box, forbid horizontal margins, and never set or override any element's or component's look.",
                    "term": "Intent"
                  },
                  {
                    "description": "Assembly arranges typed parts and owns child layout plus gutter discipline, but holds zero appearance authority, so a view can be recomposed without restyling a single type.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "View → ContainerSet → ChildArrangement → GutterConvention → NoAppearanceOverride",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AssemblyComposition ::= <View> \"→\" <StructuralContainerSet> \"→\" <ChildArrangement> \"→\" <GutterConvention>\nChildArrangement ::= \"flex\" | \"grid\" | \"token_valued_gap\"\nGutterConvention ::= \"container_pads_once\" \",\" \"child_width_100\" \",\" \"no_horizontal_margin\" \",\" \"narrower_via_explicit_width\" \",\" \"zero_margin_exempt\"\nAppearanceAuthority ::= \"none\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Responsibility Boundary](/records/algorithms/responsibility-boundary)",
                    "term": "Composes"
                  },
                  {
                    "description": "[CSS Type-Cascade Kernel](/records/algorithms/css-type-cascade-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "@layer app { .foo-view .bar { margin: 0 12px; box-shadow: 0 1px 2px; } }",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "@layer app { .foo-view { display: grid; gap: var(--space-4); padding-inline: var(--space-4); } }",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Responsibility Boundary](/records/algorithms/responsibility-boundary)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-assembly-composition",
            "title": "Assembly Composition"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Bind each layer invariant to a machine check — layer order declared once, placement properties barred from globals, class selectors barred from globals, literals barred where a token exists, no horizontal margin, all DOM through the factory, no inline style — run them as hard errors with no warn tier and no inline disables, and gate the push on a clean verdict.",
                    "term": "Intent"
                  },
                  {
                    "description": "A layer contract holds only if a fitness function fails the build when it is broken; the factory makes appearance-by-type unrepresentable and the linters make any residue unshippable.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "LayerInvariant → FitnessFunction → StaticCheck → HardErrorNoWarn → PushGate",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "LayerFitnessEnforcement ::= <InvariantSet> \"→\" <FitnessFunctionSet> \"→\" <VerdictGate>\nCssFitnessRule ::= \"layer_order\" | \"no_appearance_in_components_or_app\" | \"no_class_in_globals\" | \"layered_class_format_c_or_u\" | \"no_bespoke_class\" | \"tokens_only\" | \"axis_value_validation\" | \"no_horizontal_margin\"\nDomFitnessRule ::= \"factory_only_creation\" | \"no_inline_style\"\nGatePolicy ::= \"hard_error_no_warn_tier\" \",\" \"no_inline_disable\" \",\" \"block_push_on_fail\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Verification Fitness](/records/algorithms/verification-fitness)",
                    "term": "Composes"
                  },
                  {
                    "description": "[CSS Type-Cascade Kernel](/records/algorithms/css-type-cascade-concern)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [object_creation](/records/force/object-creation), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "reviewChecklist.push(\"no appearance in the app layer\");",
                "kind": "code",
                "language": "typescript",
                "title": "Before"
              },
              {
                "code": "export const rules = { \"no-appearance-in-app\": \"error\", \"factory-only-creation\": \"error\" };",
                "kind": "code",
                "language": "typescript",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Verification Fitness](/records/algorithms/verification-fitness)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-layer-fitness-enforcement",
            "title": "Layer Fitness Enforcement"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "To move an existing purpose-class or page-scoped stylesheet into this model, treat every appearance-bearing class rule as a migration unit, derive the element type it decorates, register a custom `data-el` type when no tag or variant expresses it, move its look, size, and spacing into one global rule keyed by that type, demote any residual position into components and any residual layout into app, and verify that zero appearance rule keyed by a purpose-class remains outside the globals layer.",
                    "term": "Intent"
                  },
                  {
                    "description": "Migration is centralization by type: each scattered purpose-class appearance collapses into one type-keyed global rule, and completion is proven by the absence of appearance outside globals, not by a narrative claim.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "PurposeClassRule → DeriveType → RegisterTypeIfNeeded → MoveAppearanceToGlobals → DemoteResidue → ZeroAppearanceClassOutsideGlobals",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TypeMigration ::= <LegacyAppearanceRuleSet> \"→\" <TypeDerivation> \"→\" <GlobalCentralization> \"→\" <ResidueDemotion> \"→\" <ZeroDuplicationVerdict>\nTypeDerivation ::= \"existing_tag\" | \"existing_variant\" | \"register_new_data_el_type\"\nResidueDemotion ::= \"placement→components\" \",\" \"layout→app\"\nZeroDuplicationVerdict ::= \"no_appearance_keyed_by_purpose_class_outside_globals\" | \"incomplete\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel), [Architecture Evolution Governance](/records/algorithms/architecture-evolution-governance)",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [correctness_verification](/records/force/correctness-verification), [model_governance](/records/force/model-governance), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": ".foo { color: white; background: blue; position: sticky; top: 0; }",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "@layer globals { [data-el=\"foo\"] { color: var(--fg-on-accent); background: var(--bg-accent); } }\n@layer components { [data-el=\"foo\"] { position: sticky; top: 0; } }",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Centralization Kernel](/records/algorithms/centralization-kernel), [Architecture Evolution Governance](/records/algorithms/architecture-evolution-governance)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-type-migration-centralization",
            "title": "Type-Migration Centralization"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [css-cascade](/records/algorithms-domain/css-cascade)",
                  "Tier: [leaf](/records/vocabulary/domain-tier-leaf)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Declare one layer order, hold every value in tokens, key every appearance on a type — native or custom-registered — exactly once in globals, hold placement in components and assembly in app, create all DOM through a factory that stamps types and refuses inline style, and gate the whole contract behind machine fitness functions.",
                    "term": "Intent"
                  },
                  {
                    "description": "Styling is reproducible when precedence is layer-decided, appearance is a per-type contract, the type vocabulary is open and factory-stamped, and every invariant has a build-failing check.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "LayerOrder → Tokens → TypeKeyedGlobals → Placement → Assembly → GovernedFactory → Fitness",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "CssTypeCascadeKernel ::= <CascadeLayerPartition> \"→\" <TokenSourceOfTruth> \"→\" <TypeKeyedAppearance> \"→\" <CustomTypeRegistration> \"→\" <GovernedConstruction> \"→\" <PlacementIsolation> \"→\" <AssemblyComposition> \"→\" <LayerFitnessEnforcement>\nStylingBoundary ::= \"values_in_tokens\" \",\" \"appearance_by_type_in_globals\" \",\" \"app_frame_in_shell\" \",\" \"structure_in_components\" \",\" \"assembly_in_app\"\nOpenTypeVocabulary ::= \"native_tag\" | \"registered_data_el_custom_type\"\nCascadeContract ::= \"layer_decides_precedence\" \",\" \"one_definition_per_property_per_type\" \",\" \"factory_and_linters_enforce\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Cascade Layer Partition](/records/algorithms/cascade-layer-partition), [Token Source-of-Truth](/records/algorithms/token-source-of-truth), [Type-Keyed Appearance](/records/algorithms/type-keyed-appearance), [Custom Type Registration](/records/algorithms/custom-type-registration), [Placement Isolation](/records/algorithms/placement-isolation), [Assembly Composition](/records/algorithms/assembly-composition), [Layer Fitness Enforcement](/records/algorithms/layer-fitness-enforcement)",
                    "term": "Composes"
                  },
                  {
                    "description": "[contract_compatibility](/records/force/contract-compatibility), [object_creation](/records/force/object-creation), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Single Source of Truth](/records/architecture/single-source-of-truth)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the stylesheet linters and the element construction factory, the layer fitness functions that fail the build when the partition breaks",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every stylesheet and every element the factory constructs",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a stylesheet, the tokens or the factory change",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an unlayered rule, a literal where a token exists, or appearance declared outside the global type rules",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because the cascade is decided statically",
                    "term": "Observation"
                  },
                  {
                    "description": "None, because the catalog states this check as a class, so a watched run belongs to each system that adopts it",
                    "term": "Evidence"
                  },
                  {
                    "description": "The layer order and the token set, which every stylesheet conforms to",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Cascade Layer Partition](/records/algorithms/cascade-layer-partition), [Token Source-of-Truth](/records/algorithms/token-source-of-truth), [Type-Keyed Appearance](/records/algorithms/type-keyed-appearance), [Custom Type Registration](/records/algorithms/custom-type-registration), [Placement Isolation](/records/algorithms/placement-isolation), [Assembly Composition](/records/algorithms/assembly-composition), [Layer Fitness Enforcement](/records/algorithms/layer-fitness-enforcement)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-css-type-cascade-concern",
            "title": "CSS Type-Cascade Kernel"
          }
        ],
        "title": "CSS cascade"
      },
      {
        "blocks": [
          {
            "caption": "What composes what inside this domain.",
            "kind": "mermaid",
            "text": "flowchart LR\n    n_taxonomy_jurisdiction[\"Taxonomy Jurisdiction\"]\n    n_reshape_risk_priority[\"Reshape Risk Priority\"]\n    n_path_role_walk[\"Path Role Walk\"]\n    n_concern_classification[\"Concern Classification\"]\n    n_name_projection[\"Name Projection\"]\n    n_container_reshape[\"Container Reshape\"]\n    n_vocabulary_admission_gate[\"Vocabulary Admission Gate\"]\n    n_discovery_verification[\"Discovery Verification\"]\n    n_taxonomy_ledger[\"Taxonomy Ledger\"]\n    n_taxonomy_completion[\"Taxonomy Completion\"]\n    n_container_ladder[\"Container Ladder\"]\n    n_export_triage_ladder[\"Export Triage Ladder\"]\n    n_dialect_resolution[\"Dialect Resolution\"]\n    n_alignment_cadence[\"Alignment Cadence\"]\n    n_taxonomy_kernel[\"Taxonomy Kernel\"]\n    n_taxonomy_concern[\"<Taxonomy Concern>\"]\n    n_taxonomy_kernel --> n_taxonomy_jurisdiction\n    n_taxonomy_kernel --> n_reshape_risk_priority\n    n_taxonomy_kernel --> n_path_role_walk\n    n_taxonomy_kernel --> n_concern_classification\n    n_taxonomy_kernel --> n_name_projection\n    n_taxonomy_kernel --> n_container_reshape\n    n_taxonomy_kernel --> n_vocabulary_admission_gate\n    n_taxonomy_kernel --> n_discovery_verification\n    n_taxonomy_kernel --> n_taxonomy_ledger\n    n_taxonomy_kernel --> n_taxonomy_completion"
          }
        ],
        "icon": "bi-diagram-2",
        "id": "algorithms-domain-taxonomy",
        "intro": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a grammar. Each record also shows what it composes and is composed by, which forces and principles it answers to, what grounds it and what it grounds, and an exemplar where the record carries one. The diagram shows what composes what inside the domain.",
        "subsections": [
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [orient](/records/stage/orient)",
                  "Axis: [ontology](/records/reasoning/axis-ontology)",
                  "Math type: [set-theory](/records/reasoning/math-type-set-theory)",
                  "Yields: set | boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Read the registry's root, container, bucket and ignore declarations, enumerate every file under a declared root, and separate the governed set from the ignored set and from the folders declared as neither, so jurisdiction is read rather than inferred.",
                    "term": "Intent"
                  },
                  {
                    "description": "No declaration, no enforcement: a file is governed only under a declared root, and a root folder in neither the container nor the bucket declaration is a finding rather than a new container.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Registry → GovernedRootSet → ContainerSet → GovernedFileSet → FlaggedFolderSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TaxonomyJurisdiction ::= <Registry> \"→\" <GovernedRootSet> \"→\" <JurisdictionPartition>\nJurisdictionPartition ::= <GovernedFileSet> \",\" <IgnoredSet> \",\" <FlaggedFolderSet>\nGovernedRootSet ::= <ContainerSet> \",\" <BucketSet> \",\" <IgnoreSet>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Declared Jurisdiction](/records/architecture/declared-jurisdiction)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Whether a file is governed is decided per file as it comes up, so an undeclared tree is silently exempt and a stray root-level folder reads as legitimate.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "registry → governed roots → containers + buckets + ignore entries → the governed file set, and the flagged set of root folders declared as neither",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-taxonomy-jurisdiction",
            "title": "Taxonomy Jurisdiction"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [intent](/records/stage/intent)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean | ranking"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Score each governed container by how much reference surface a rename disturbs — importer count and the number of surfaces that resolve by pattern rather than by literal path — and rank ascending, so the pilot is the lowest-risk container and the highest-risk one lands last.",
                    "term": "Intent"
                  },
                  {
                    "description": "The container converted first is the one whose failure is cheapest to detect, not the one whose naming is worst.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ContainerSet → ReferenceSurfaceCount → RiskScore → OrderedContainerQueue",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ReshapeRiskPriority ::= <ContainerSet> \"→\" <RiskScoreSet> \"→\" <OrderedContainerQueue>\nRiskScore ::= <ImporterCount> \"*\" <ShapeDiscoveredSurfaceCount>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Manual Identity Migration](/records/architecture/manual-identity-migration)",
                    "term": "Principle"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Conversion starts wherever the tree looks worst, so the first container is the one with the most importers and the most pattern-resolved aggregators.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "containers → score(importer count x shape-discovered surface count) → ascending rank → pilot the lowest-risk container end to end first",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-reshape-risk-priority",
            "title": "Reshape Risk Priority"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [see](/records/stage/see)",
                  "Axis: [analysis](/records/reasoning/axis-analysis)",
                  "Math type: [graph](/records/reasoning/math-type-graph)",
                  "Yields: edge-list"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Walk every governed path from its root, assign each folder depth a role from the declared grammar in the ordered sequence container then subject then concern, and emit the depth-to-role edge list together with the depths that repeat a role, revisit an earlier one, or exceed the cap.",
                    "term": "Intent"
                  },
                  {
                    "description": "Each depth consumes a role strictly later than the depth before it, a role may be skipped but never repeated or revisited, and the file's parent always resolves to the concern role.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GovernedPath → DepthSequence → RoleAssignment → RoleEdgeList → DepthViolationSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "PathRoleWalk ::= <GovernedPath> \"→\" <RoleAssignment> \"→\" <RoleEdgeList> \",\" <DepthViolationSet>\nRoleAssignment ::= <Container> \"<\" <Subject> \"<\" <Concern>\nDepthViolation ::= \"over_cap\" | \"role_repeated\" | \"role_revisited\" | \"file_outside_concern\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Bounded Nesting Depth](/records/architecture/bounded-nesting-depth)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A path is judged by whether it looks tidy, so a concern folder nested under a concern folder and a subject folder below its concern both read as ordinary nesting.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "path → assign each depth a role in the order container < subject < concern → depth<=cap and no role repeated or revisited → the role-assignment edge list plus the violating depths",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-path-role-walk",
            "title": "Path Role Walk"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Read each governed file, assign the narrowest accurate concern from the declared vocabulary by its primary responsibility, record a file that fits two concerns as a split candidate, and break an irreducible overlap by the domain-ward layer, so classification is judgment against the file rather than pattern-matching against its path.",
                    "term": "Intent"
                  },
                  {
                    "description": "A concern is assigned by reading the file, never by its current location; a file that fits two concerns is a split candidate, not a tie to be broken arbitrarily.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "GovernedFile → PrimaryResponsibility → CandidateConcernSet → AssignedConcern → SplitCandidateSet",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ConcernClassification ::= <GovernedFile> \"→\" <CandidateConcernSet> \"→\" <AssignedConcern> \"|\" <SplitCandidate>\nCandidateConcernSet ::= <PrimaryResponsibility> \"→\" <DeclaredConcern> \"+\"\nAssignedConcern ::= <NarrowestAccurateConcern> \"|\" <DomainWardTieBreak>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [domain_boundary](/records/force/domain-boundary)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Narrowest Concern](/records/architecture/narrowest-concern)",
                    "term": "Principle"
                  },
                  {
                    "description": "[semantic-correctness](/records/reasoning/test-surface-semantic-correctness)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A file is tagged from where it currently sits, so a saturated label absorbs several distinct roles and a two-role file is hidden under whichever word came first.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "read the file → narrowest accurate declared concern → one concern: classified; two concerns: split candidate; irreducible overlap: domain-ward layer wins",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-concern-classification",
            "title": "Concern Classification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Compose the target name from the assigned concern, the subject, and a variant taken only where a collision or a facet requires one, and derive the folder chain from that same concern, so the filename and its placement are one projection rather than two decisions.",
                    "term": "Intent"
                  },
                  {
                    "description": "The concern tag terminates the filename and names the parent folder, so the name determines the placement and one unanchored pattern resolves either level.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "AssignedConcern → SubjectSelection → VariantTrigger → TargetName → TargetFolderChain",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "NameProjection ::= <AssignedConcern> \",\" <Subject> \",\" <VariantTrigger> \"→\" <TargetName> \",\" <TargetFolderChain>\nTargetName ::= <Subject> \".\" <Variant>? \".\" <ConcernTag> \".\" <Extension>\nTargetFolderChain ::= <Container> \"/\" <SubjectFolder>? \"/\" <ConcernFolder>\nVariantTrigger ::= \"collision\" | \"facet\" | \"none\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Positional Slot Resolution](/records/architecture/positional-slot-resolution)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The new name is written by hand, so the tag lands mid-name, a compound swallows the concern, and the folder chain is chosen separately from the filename.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "(subject, variant?, concern, ext) → foo.<variant>.<concern>.<ext> with the tag terminating → the folder chain container/[subject]/<concern-folder> that the tag itself determines",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-name-projection",
            "title": "Name Projection"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [act](/records/stage/act)",
                  "Axis: [formalization](/records/reasoning/axis-formalization)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Convert one container at a time: split the multi-role files first, move and rename each remaining file to its projected name and folder, update every importer in the same pass, move the mirrored tests to match the new concern folders, and re-point every surface whose pattern encoded the old form.",
                    "term": "Intent"
                  },
                  {
                    "description": "A rename is one identity migration completed within a single container, references included; the gate is green before the next container starts.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "OrderedContainerQueue → SplitExecution → MoveRename → ImporterUpdate → TestMirrorMove → SurfaceRepoint",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ContainerReshape ::= <Container> \"→\" <SplitExecution> \"→\" <MoveRename> \"→\" <ReferenceUpdate> \"→\" <SurfaceRepoint>\nReferenceUpdate ::= <ImporterUpdate> \",\" <TestMirrorMove>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Manual Identity Migration](/records/architecture/manual-identity-migration)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A rename tool rewrites every literal path across the whole tree at once, and the surfaces that resolve by pattern are never re-pointed.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "one container → split candidates first → move and rename → update every importer → move the mirrored tests → re-point every shape-discovered surface → gate green before the next container",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-container-reshape",
            "title": "Container Reshape"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [constrain](/records/stage/constrain)",
                  "Axis: [teleology](/records/reasoning/axis-teleology)",
                  "Math type: [optimization](/records/reasoning/math-type-optimization)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Hold every proposed word against the declared vocabularies and the rejection table, resolve and name the declared word that covers it where one does, refuse a word that names a process, an adjective, a grouping label, or a measurement, sort a surviving word by the is-a test into concerns or subjects, and admit it only by developer-approved registry edit.",
                    "term": "Intent"
                  },
                  {
                    "description": "An undeclared word is a finding, never a license to add one, and a refusal names the covering word wherever the table resolves one; coverage is decided by the role a file plays, never by general-language synonymy.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ProposedWord → CoverageCheck → CoveringConcern → IsATest → AdmissionVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "VocabularyAdmissionGate ::= <ProposedWord> \"→\" <CoverageCheck> \"→\" <IsATest> \"→\" <AdmissionVerdict>\nCoverageCheck ::= <ProposedWord> \"→\" <RejectionTableIndex> \"→\" <CoveringConcern> \"|\" \"uncovered\"\nRejectionTableIndex ::= <RefusedWord> \"→\" <DeclaredConcern>\nAdmissionVerdict ::= \"admit_concern\" | \"admit_subject\" | \"refuse_rename_file\" | \"refuse_covered_by\" <CoveringConcern>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [model_governance](/records/force/model-governance)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Closed Vocabulary](/records/architecture/closed-vocabulary)",
                    "term": "Principle"
                  },
                  {
                    "description": "[tel-priority](/records/reasoning/node-tel-priority)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "An unclassifiable file is answered by adding its word to the vocabulary, or by an ignore entry, and the check goes green either way; where a word is refused, the refusal names only what is wrong.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "proposed word → rejection-table index resolves the covering concern: refuse naming it, and rename the file → uncovered: is-a a role: concerns; has-a a thing: subjects → otherwise refuse; admission is a developer-approved registry edit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-vocabulary-admission-gate",
            "title": "Vocabulary Admission Gate"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "For every shape-discovered surface touched by the reshape, compare the member set it collects against what it collected before, and issue the verdict from that comparison, so a collection that silently emptied is caught rather than read as a clean pass.",
                    "term": "Intent"
                  },
                  {
                    "description": "A green gate is not evidence for a pattern-resolved surface; the verdict comes from the collected member set, and an unexplained drop is a failure.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ShapeDiscoveredSurfaceSet → CollectedSetBefore → CollectedSetAfter → DiscoveryVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DiscoveryVerification ::= <ShapeDiscoveredSurfaceSet> \"→\" <CollectedSetDelta> \"→\" <DiscoveryVerdict>\nCollectedSetDelta ::= <CollectedSetBefore> \"-\" <CollectedSetAfter>\nDiscoveryVerdict ::= \"preserved\" | \"intended_change\" | \"silently_emptied\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Glob-Resolvable Tree](/records/architecture/glob-resolvable-tree)",
                    "term": "Principle"
                  },
                  {
                    "description": "[ver-evidence](/records/reasoning/node-ver-evidence)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The gate is green after the rename, so the reshape is called done; the aggregator that collected by suffix now collects nothing and there is nothing left to check.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "per aggregator → collected member set before vs after → equal or intentionally changed: pass; silently emptied or shrunk: fail, and a green gate is not evidence",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-discovery-verification",
            "title": "Discovery Verification"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [commit](/records/stage/commit)",
                  "Axis: [representation](/records/reasoning/axis-representation)",
                  "Math type: [information-theory](/records/reasoning/math-type-information-theory)",
                  "Yields: hash | novelty-score"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Record the registry version, the conversion state of each container, and every admitted and refused word with its reasoning, so the taxonomy's history is durable evidence rather than a fact re-derived from the tree on each pass.",
                    "term": "Intent"
                  },
                  {
                    "description": "A refusal is recorded with its reason, so the answer to why a word is absent is retrievable rather than lost.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RegistryVersion → ContainerConversionState → AdmissionRecordSet → TaxonomyLedger",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TaxonomyLedger ::= <RegistryVersion> \",\" <ContainerConversionState> \",\" <AdmissionRecordSet>\nAdmissionRecord ::= <ProposedWord> \",\" <AdmissionVerdict> \",\" <Reasoning>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[observability_traceability](/records/force/observability-traceability), [architecture_evolution](/records/force/architecture-evolution)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Derived Naming Registry](/records/architecture/derived-naming-registry)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Which containers are converted and which words were refused is remembered rather than recorded, so the same rejected word is proposed again and the vocabulary drifts from the document.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "registry version + per-container conversion state + admitted and refused words → a durable ledger the next reshape and the next proposal both read",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-taxonomy-ledger",
            "title": "Taxonomy Ledger"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [terminate](/records/stage/terminate)",
                  "Axis: [termination](/records/reasoning/axis-termination)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Mark the taxonomy complete only when every governed file resolves against the grammar at both levels, no split candidate is outstanding, and every shape-discovered surface has a preserved verdict, leaving it incomplete while any residual remains.",
                    "term": "Intent"
                  },
                  {
                    "description": "Completion is the absence of residual findings, never a converted-container count, and never a finding removed by an ignore entry.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "TaxonomyLedger → ResidualFindingSet → CompletionVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TaxonomyCompletion ::= <TaxonomyLedger> \"→\" <ResidualFindingSet> \"→\" <CompletionVerdict>\nResidualFindingSet ::= <PlacementViolationSet> \"+\" <NamingViolationSet> \"+\" <SplitCandidateSet> \"+\" <UnverifiedSurfaceSet>\nCompletionVerdict ::= \"taxonomy_complete\" | \"taxonomy_incomplete\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Composed by"
                  },
                  {
                    "description": "[Taxonomy Kernel](/records/algorithms/taxonomy-kernel)",
                    "term": "Named in the derivation of"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Concern-Folder Correspondence](/records/architecture/concern-folder-correspondence)",
                    "term": "Principle"
                  },
                  {
                    "description": "[ter-stop](/records/reasoning/node-ter-stop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Conversion is declared done on the container count, while unclassified files sit under an ignore entry and one aggregator still collects nothing.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "every governed file placed and named to the grammar AND every split candidate resolved AND every surface verified preserved → complete; any residual → incomplete",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-taxonomy-completion",
            "title": "Taxonomy Completion"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Decide what a folder found at a governed root is by asking, in order, whether it groups concern sets, holds one role, belongs under an existing container, or is not source at all, so a new container is declared only for a new grouping axis.",
                    "term": "Intent"
                  },
                  {
                    "description": "A container is declared only for a grouping axis no existing container covers, and never to house a folder that resists placement or to shorten a path.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "RootFolder → SubjectTest → ConcernTest → ExistingContainerTest → SourceTest → LadderVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ContainerLadder ::= <RootFolder> \"→\" <SubjectTest> \"→\" <ConcernTest> \"→\" <ExistingContainerTest> \"→\" <SourceTest> \"→\" <LadderVerdict>\nLadderVerdict ::= \"subject_folder\" | \"concern_folder\" | \"move_under_container\" | \"ignore_entry\" | \"propose_container\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[modularity](/records/force/modularity), [semantic_consistency](/records/force/semantic-consistency)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Declared Jurisdiction](/records/architecture/declared-jurisdiction)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A folder appears at a governed root, so it is declared a container, and the next folder that resists placement gets one too.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "folder at a root → groups concern sets that must not merge: subject folder → holds one role: concern folder → an existing container groups it: move it there → not source: ignore entry → only a new grouping axis: container, by approved edit",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-container-ladder",
            "title": "Container Ladder"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [derive](/records/stage/derive)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Give each export nothing imports the first verdict that holds, in order: wire it where a call site repeats its work, stage it as capability awaiting a consumer, delete a superseded one with its references, or remove it with the duplicate it served.",
                    "term": "Intent"
                  },
                  {
                    "description": "An unreferenced export is triaged one at a time while its file is being read, and a report that nothing imports it starts the ladder rather than concluding it.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "UnreferencedExport → HandRolledCallSite → AwaitingConsumer → Superseded → ConsolidatedDuplicate → TriageVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "ExportTriageLadder ::= <UnreferencedExport> \"→\" <HandRolledCallSite> \"→\" <AwaitingConsumer> \"→\" <Superseded> \"→\" <ConsolidatedDuplicate> \"→\" <TriageVerdict>\nTriageVerdict ::= \"wire\" | \"stage\" | \"delete\" | \"remove_with_duplicate\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[architecture_evolution](/records/force/architecture-evolution), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Manual Identity Migration](/records/architecture/manual-identity-migration)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "The dead-code report lists exports nothing imports, and they are removed in bulk; a capability a call site was hand-rolling disappears with the evidence of the gap.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "unreferenced export → a call site hand-rolls it: wire it → capability awaiting a consumer: stage it in the allowlist → superseded with no consumer: delete with every reference → only consumer was a merged duplicate: remove with the duplicate",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-export-triage-ladder",
            "title": "Export Triage Ladder"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [project](/records/stage/project)",
                  "Axis: [reasoning](/records/reasoning/axis-reasoning)",
                  "Math type: [algebra](/records/reasoning/math-type-algebra)",
                  "Yields: ordered-structure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Resolve a filename whose extension a dialect names by splitting its stem at that case's word boundaries, taking the longest trailing word run that is a declared tag as the concern and the leading words as the subject and an optional declared variant.",
                    "term": "Intent"
                  },
                  {
                    "description": "A dialect changes how the slots are spelled and never which words may fill them, so every dialect file resolves against the same closed vocabularies as a dotted one.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Extension → DialectCase → WordRun → ConcernRun → HeadSlots → ResolvedSlots",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "DialectResolution ::= <Extension> \"→\" <DialectCase> \"→\" <WordRun> \"→\" <ConcernRun> \",\" <HeadSlots> \"→\" <ResolvedSlots>\nDialectCase ::= \"camel\" | \"pascal\" | \"snake\" | \"kebab\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [contract_compatibility](/records/force/contract-compatibility)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Case Dialect](/records/architecture/case-dialect)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A language that names its files in another case is either left outside the grammar or forced into dotted names its own tools cannot find.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "extension → dialect case → stem split at word boundaries → longest trailing run that is a declared tag: concern → leading words: subject, then a declared variant → the same three slots the dotted grammar reads",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-dialect-resolution",
            "title": "Dialect Resolution"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Stage: [verify](/records/stage/verify)",
                  "Axis: [verification](/records/reasoning/axis-verification)",
                  "Math type: [logic](/records/reasoning/math-type-logic)",
                  "Yields: boolean"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Accept a conversion record only when the alignment entry it cites was written against the protocol's current revision and fewer than the declared span of records cite that entry, so the rules are re-read at a bounded cadence.",
                    "term": "Intent"
                  },
                  {
                    "description": "Editing the protocol reopens every record written against the earlier revision, and no alignment entry covers more than the declared span of records.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "ConversionRecord → AlignmentEntry → RevisionCheck → SpanCheck → AlignmentVerdict",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "AlignmentCadence ::= <ConversionRecord> \"→\" <AlignmentEntry> \"→\" <RevisionCheck> \",\" <SpanCheck> \"→\" <AlignmentVerdict>\nAlignmentVerdict ::= \"current\" | \"stale_revision\" | \"span_exceeded\"",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[correctness_verification](/records/force/correctness-verification), [observability_traceability](/records/force/observability-traceability)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Manual Identity Migration](/records/architecture/manual-identity-migration)",
                    "term": "Principle"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "A long conversion runs on a protocol read once at the start, and later files are classified under rulings that have faded from working context while every record still looks correct.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "conversion record → cites an alignment entry → the entry's hash equals the protocol's current hash and the run citing it is within the declared span → accepted; otherwise → re-read the protocol whole and write a new entry",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-alignment-cadence",
            "title": "Alignment Cadence"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Math type: [computation](/records/reasoning/math-type-computation)",
                  "Yields: procedure"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "Resolve jurisdiction from the registry, order the containers by reshape risk, walk each path into its ordered roles, classify each file to its narrowest concern, project the name and the folder chain together, reshape one container at a time, hold every proposed word at the admission gate, verify that pattern-resolved surfaces still collect what they collected, ledger the state, and terminate only when no residual finding remains.",
                    "term": "Intent"
                  },
                  {
                    "description": "Placement and naming are one derivation from a declared vocabulary to a verified tree, in which every folder and every filename slot resolves to a declared word and one unanchored pattern resolves a concern at either level.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Jurisdiction → RiskPriority → RoleWalk → Classification → NameProjection → Reshape → AdmissionGate → DiscoveryVerification → Ledger → Completion",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TaxonomyKernel ::= <TaxonomyJurisdiction> \"→\" <ReshapeRiskPriority> \"→\" <PathRoleWalk> \"→\" <ConcernClassification> \"→\" <NameProjection> \"→\" <ContainerReshape> \"→\" <VocabularyAdmissionGate> \"→\" <DiscoveryVerification> \"→\" <TaxonomyLedger> \"→\" <TaxonomyCompletion>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "[Taxonomy Jurisdiction](/records/algorithms/taxonomy-jurisdiction), [Reshape Risk Priority](/records/algorithms/reshape-risk-priority), [Path Role Walk](/records/algorithms/path-role-walk), [Concern Classification](/records/algorithms/concern-classification), [Name Projection](/records/algorithms/name-projection), [Container Reshape](/records/algorithms/container-reshape), [Vocabulary Admission Gate](/records/algorithms/vocabulary-admission-gate), [Discovery Verification](/records/algorithms/discovery-verification), [Taxonomy Ledger](/records/algorithms/taxonomy-ledger), [Taxonomy Completion](/records/algorithms/taxonomy-completion)",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [modularity](/records/force/modularity), [architecture_evolution](/records/force/architecture-evolution), [correctness_verification](/records/force/correctness-verification)",
                    "term": "Forces"
                  },
                  {
                    "description": "[Closed Vocabulary](/records/architecture/closed-vocabulary)",
                    "term": "Principle"
                  },
                  {
                    "description": "[derivation-loop](/records/reasoning/loop-derivation-loop)",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "Derivation map"
              },
              {
                "entries": [
                  {
                    "description": "[Taxonomy Jurisdiction](/records/algorithms/taxonomy-jurisdiction)",
                    "term": "orient"
                  },
                  {
                    "description": "[Reshape Risk Priority](/records/algorithms/reshape-risk-priority)",
                    "term": "intent"
                  },
                  {
                    "description": "[Path Role Walk](/records/algorithms/path-role-walk)",
                    "term": "see"
                  },
                  {
                    "description": "[Concern Classification](/records/algorithms/concern-classification)",
                    "term": "derive"
                  },
                  {
                    "description": "[Name Projection](/records/algorithms/name-projection)",
                    "term": "project"
                  },
                  {
                    "description": "[Container Reshape](/records/algorithms/container-reshape)",
                    "term": "act"
                  },
                  {
                    "description": "[Vocabulary Admission Gate](/records/algorithms/vocabulary-admission-gate)",
                    "term": "constrain"
                  },
                  {
                    "description": "[Discovery Verification](/records/algorithms/discovery-verification)",
                    "term": "verify"
                  },
                  {
                    "description": "[Taxonomy Ledger](/records/algorithms/taxonomy-ledger)",
                    "term": "commit"
                  },
                  {
                    "description": "[Taxonomy Completion](/records/algorithms/taxonomy-completion)",
                    "term": "terminate"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Naming and placement are conventions carried in reviewers' heads, so a path has more than one right answer, an undeclared word enters whenever a file resists classification, and no pattern resolves a concern tree-wide.",
                "kind": "code",
                "language": "text",
                "title": "Before"
              },
              {
                "code": "jurisdiction → risk priority → role walk → classification → name projection → container reshape → admission gate → discovery verification → ledger → completion",
                "kind": "code",
                "language": "text",
                "title": "After"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "[Taxonomy Jurisdiction](/records/algorithms/taxonomy-jurisdiction), [Reshape Risk Priority](/records/algorithms/reshape-risk-priority), [Path Role Walk](/records/algorithms/path-role-walk), [Concern Classification](/records/algorithms/concern-classification), [Name Projection](/records/algorithms/name-projection), [Container Reshape](/records/algorithms/container-reshape), [Vocabulary Admission Gate](/records/algorithms/vocabulary-admission-gate), [Discovery Verification](/records/algorithms/discovery-verification), [Taxonomy Ledger](/records/algorithms/taxonomy-ledger), [Taxonomy Completion](/records/algorithms/taxonomy-completion)",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-taxonomy-kernel",
            "title": "Taxonomy Kernel"
          },
          {
            "blocks": [
              {
                "items": [
                  "Domain: [taxonomy](/records/algorithms-domain/taxonomy)",
                  "Tier: [process](/records/vocabulary/domain-tier-process)",
                  "Meta record"
                ],
                "kind": "list"
              },
              {
                "entries": [
                  {
                    "description": "<Resolve jurisdiction from the declared roots> → <Order containers by reshape risk> → <Walk each path into ordered roles> → <Classify each file to its narrowest concern> → <Project the name and its folder chain together> → <Reshape one container at a time> → <Hold every proposed word at the admission gate> → <Verify pattern-resolved discovery survived> → <Ledger the state> → <Terminate on no residual finding>",
                    "term": "Intent"
                  },
                  {
                    "description": "Every governed folder and every filename slot resolves to a word from a closed declared vocabulary, the concern tag terminates the filename and names its parent folder, and no path exceeds the declared depth cap.",
                    "term": "Invariant"
                  }
                ],
                "kind": "glossary"
              },
              {
                "code": "Jurisdiction → RoleWalk → Classification → NameProjection → Reshape → AdmissionGate → Verification → Ledger",
                "kind": "code",
                "language": "text",
                "title": "Flow"
              },
              {
                "code": "TaxonomyConcern ::= <GovernedRootSet> \"→\" <RoleEdgeList> \"→\" <AssignedConcern> \"→\" <TargetName> \",\" <TargetFolderChain> \"→\" <DiscoveryVerdict> \"→\" <TaxonomyLedger>",
                "kind": "code",
                "language": "bnf",
                "title": "Productions"
              },
              {
                "entries": [
                  {
                    "description": "none",
                    "term": "Composes"
                  },
                  {
                    "description": "[semantic_consistency](/records/force/semantic-consistency), [modularity](/records/force/modularity)",
                    "term": "Forces"
                  },
                  {
                    "description": "none",
                    "term": "Grounds"
                  }
                ],
                "kind": "glossary"
              },
              {
                "kind": "text",
                "text": "How it is checked"
              },
              {
                "entries": [
                  {
                    "description": "the placement and naming gates, the discovery verification, which compares what each pattern-resolved surface collects before and after a rename",
                    "term": "Checked by"
                  },
                  {
                    "description": "Every file and folder under a declared governed root",
                    "term": "Population"
                  },
                  {
                    "description": "A verdict stands until a file is created, moved or renamed, or the vocabulary changes",
                    "term": "Freshness"
                  },
                  {
                    "description": "The lint stage fails an undeclared word, a tag that does not match its folder, or a path over the depth cap",
                    "term": "Refusal"
                  },
                  {
                    "description": "None, because placement is decided on the tree",
                    "term": "Observation"
                  },
                  {
                    "description": "Watched to fire and to accept: one suite lints a file whose tag is undeclared and one whose tag differs from its folder, another refuses a repeated role and a path past the depth cap, and both pass conforming paths",
                    "term": "Evidence"
                  },
                  {
                    "description": "The declared vocabularies and roots, which every path conforms to, so an undeclared word is an approved edit to the declaration",
                    "term": "Authoritative side"
                  },
                  {
                    "description": "Not answered",
                    "term": "Depends on"
                  },
                  {
                    "description": "Not answered",
                    "term": "Shape it refuses"
                  }
                ],
                "kind": "glossary"
              }
            ],
            "id": "algorithms-taxonomy-concern",
            "title": "<Taxonomy Concern>"
          }
        ],
        "title": "Taxonomy"
      }
    ]
  },
  "description": "Every algorithm contract in this domain is listed with its position on the derivation loop, its intent and invariant, the flow it walks and its productions as a…",
  "id": "ontology",
  "label": "Algorithms",
  "tab": "algorithms",
  "title": "Algorithms — Ontology — Bane's Lab",
  "url": "https://banes-lab.com/ontology/algorithms"
}
