Skip to main content

Adaptive Architecture

Adaptive architecture is the repo’s self-remediation model. The repo should detect drift, explain the failing contract, point to the canonical source, provide an exact repair path, and re-check the result. Human maintainers make policy decisions; routine drift should be repairable by contributors or agents.

Control Loop

Core Mechanisms

Remediation Script Families

Generated Artifact Rule

Generated files are outputs, not authoring surfaces. When a generated artifact is stale:
  1. Identify the generator in operations/governance/config/generated-artifacts.json or the relevant catalog.
  2. Run the generator in --check mode if available.
  3. Run the generator in write mode.
  4. Re-run the check.
  5. Include both source and output changes in the same review unit.

Current Adaptive Gaps

Acceptance Criteria For New Adaptive Features

  • The feature has a machine-readable source or manifest.
  • The feature has an exact validator command.
  • The feature has an exact repair command or a documented reason repair is manual.
  • The feature declares one primary gate layer.
  • Reports are bounded by retention policy.
  • Generated outputs carry banners or are otherwise listed in generated artifact governance.
  • The final check can be run by a contributor with only repo-local instructions.
  • docs-guide/policies/ownerless-governance.mdx
  • docs-guide/policies/infrastructure-principles.mdx
  • docs-guide/policies/generated-artifact-and-hook-governance.mdx
  • operations/governance/config/ownerless-governance-surfaces.json
  • tools/lpd
Last modified on May 19, 2026