Mechanism census

Every mechanism, by role and family. form (the shape it takes) and Enf. (soft/hard) are the cross-cuts (see README). Families 1–5 = the agent role (the fleet + work-producing substrate); family 6 = the models-bridge (the MBSE substrate between the two); families 7–11 = the product role (the shipped artifact). All <!--census:controls-->69<!--/census--> entries are fully written ().

Enf. = soft/hard (see README Governance has two mechanisms): Hard = deterministic (blocking / audit / signal); Soft = probabilistic (influences, cannot block); Soft·Hard = soft guidance with a hard counterpart.

Agent target

1. Context & dispatch substrate

What an agent knows and how it is launched.family folder

MechanismFormEnf.Entry
Brief-lintingvalidationHardbrief-linting.md
Docs hierarchy + governance indexvalidationSoft·Harddocs-hierarchy.md
Dynamic context injectionagent-outputSoftdynamic-context-injection.md
Role-typed dispatchquality-gateHardrole-typed-dispatch.md

2. Gates & merge-train

The path-to-production staircase for agent work.family folder

MechanismFormEnf.Entry
Pre-commit hook (3-stanza, tree-sha markers)quality-gateHardpre-commit-hook.md
Sentinel first-commit early-abortquality-gateHardsentinel-first-commit.md
Merge-train MIS batchingquality-gateHardmerge-train-mis-batching.md
Staged deploy gates (canary → smoke → promote)quality-gateHardstaged-deploy-gates.md

3. Mediators & resource locks

Host-level wrappers that ration shared compute across concurrent worktrees. Three cap by cardinality — one resource-mediator pattern at three lock cardinalities (exclusive N=1 · bounded M=8 · a global mutex); the fourth caps by live pressure instead of count (an admit-before / shed-during gate on a GREEN/YELLOW/RED signal).family folder

MechanismFormEnf.Entry
Test-serializer (N=1 flock on dotnet test)regressionHardtest-serializer.md
Build-serializer (M=8 semaphore)validationHardbuild-serializer.md
Aggregate-compute protection (lint-all host mutex)validationHardaggregate-compute-protection.md
Resource-pressure gating (admit before, shed during)quality-gateHardresource-pressure-gating.md

4. Lifecycle & observability

Live signal surfaces over the fleet.family folder

MechanismFormEnf.Entry
Agent-registry (agent-registry.jsonl + marker cache)observabilityHard (signal)agent-registry.md
Orchestrator-as-reactor over an event busobservabilityHard (signal)typed-event-bus.md
Deploy heartbeats + stale-worker detectionobservabilityHard (signal)deploy-heartbeats.md
Tombstone commits (lifecycle close records)audit-trailHard (audit)tombstone-commits.md
Cron-alerts gateobservabilityHard (blocking)cron-alerts-gate.md
Lifecycle hooks (turn-stop / compaction / session-start / pre-action)quality-gateSoft·Hardlifecycle-hooks.md
Reflection-facet substrate (tempo-gated policy nudges)quality-gateSoft·Hardreflection-facet-substrate.md
Caused-by provenance (agent-side change traceability)audit-trailHardcaused-by-provenance.md

5. Governance-doc mechanisms

Documentation treated as enforced infrastructure.family folder

MechanismFormEnf.Entry
CLAUDE.md rule index + cap lintvalidationSoft·Hardclaude-md-rule-index.md
Mandatory snippet-table enforcementvalidationHardmandatory-snippet-table.md
Epic Definition-of-Done (Final-Opus trust-nothing re-run)quality-gateHardepic-definition-of-done.md
Doc-hygiene lints (index coverage, autogen provenance)validationHarddoc-hygiene-lints.md
Operational playbooks (situation-keyed devops procedures)agent-outputSoftoperational-playbooks.md
Operator runbook skill (positive map + symptom index, ref-lint-kept)agent-outputSoft·Hardoperator-runbook-skill.md
Epic & design-doc templatesagent-outputSoft·Hardepic-and-design-templates.md
Enforce at the right semantic levelagent-outputSoftsemantic-level-enforcement.md

Models-bridge

6. System models

One MBSE method (the trunk — <!--census:bridge_method:word-->thirteen<!--/census--> subject-agnostic mechanisms) reified toward the two subjects the bridge couples: the product it ships and the orchestration that builds it (a Y). <!--census:bridge_models:Word-->Eight<!--/census--> models split product-facing (service-flow, user-journey, domain-registries) · orchestration-facing (synchronization, agent-orch) · shared-spine (component-zone, concurrency, deployment — both faces); the <!--census:bridge_method:word-->thirteen<!--/census--> method-mechanisms — incl. formal temporal-logic verification, coverage→model-node mapping, journey-criticality → test-tier placement, invariant-DAG execution policy, computed control↔substrate blast-radius, and the symbol-anchored traceability graph — hold them all true. Rows below are grouped trunk → product → orchestration → shared.family folder · role README

MechanismFormEnf.Entry
Executable source-of-truth (data-not-code, can't drift) — trunk / methodtyped-irHardexecutable-source-of-truth.md
Drift & parity gates (model↔reality) — trunk / methodvalidationHarddrift-parity-gates.md
Agent-first MBSE harness (frozen records; adopt schema, skip runtime) — trunk / methodtyped-irHardagent-first-mbse-harness.md
Formal invariant verification (temporal form → model check) — trunk / methodvalidationHardformal-invariant-verification.md
Coverage → model-node mapping (which invariants are tested) — trunk / methodvalidationSoft·Hardcoverage-model-mapping.md
Journey-criticality → test-tier placement (which host a test runs on) — trunk / methodvalidationSoft·Hardjourney-criticality-test-placement.md
Invariant-DAG execution policy (typed Scheduler: correctness vs resource + cost) — trunk / methodtyped-irSoft·Hardinvariant-dag-execution-policy.md
Model-driven codegen — trunk / methodvalidationHardmodel-driven-codegen.md
Model query surface (repo-query) — trunk / methodagent-outputSoftquery-surface.md
Meta-model consumption (read, don't hardcode) — trunk / methodtyped-irHardmeta-model-consumption.md
Control↔substrate dependency (computed blast-radius) — trunk / methodtyped-irHardcontrol-substrate-dependency.md
Symbol-anchored traceability graph (derived edges) — trunk / methodtyped-irHardsymbol-anchored-traceability-graph.md
Model-graded finding severity (distance-graded gate) — trunk / methodquality-gateHardmodel-graded-finding-severity.md
Service-flow / API model — product-facingtyped-irHardservice-flow-model.md
User-journey model (product-goal → implementation) — product-facingtyped-irHarduser-journey-model.md
Domain registries — product-facingtyped-irHarddomain-registries.md
Synchronization model (meta-sync) — orchestration-facingtyped-irHardsynchronization-model.md
Agent-orchestration model (developer journeys) — orchestration-facingtyped-irHardagent-orchestration-model.md
Component & zone model — shared spinetyped-irHardcomponent-zone-model.md
Mediator & single-writer contracts — shared spinetyped-irHardconcurrency-contracts.md
Deployment & tier topology — shared spinetyped-irHarddeployment-topology-model.md

Product target

7. Canonical models & seams

The one sanctioned typed model or seam per concern, each held in place by a ban-lint.family folder

MechanismFormEnf.Entry
PdfModel (sole PDF mutation surface)typed-irHardpdf-model.md
Office Models ({Slides,Docs,Sheets}Model)typed-irHardoffice-models.md
ServiceClient (typed cross-service seam)bounded-serviceHardservice-client.md
Canonical walkers (one traversal per tree)typed-irHardcanonical-walkers.md
Sole raw-Redis seam (the dispatch module)bounded-serviceHardraw-redis-seam.md

8. Validation & conformance

Deterministic pass/fail checks over the artifact.family folder

MechanismFormEnf.Entry
ContentValidator (input ⊆ output fidelity)validationHardcontent-validator.md
Blocking semantic lintsvalidationHardsemantic-lints.md
Standards / WCAG rule enginevalidationHardstandards-rule-engine.md
Cross-source coherence lintsvalidationHardcoherence-lints.md

9. Regression tests

Repeatable behaviour-pinning bodies.family folder

MechanismFormEnf.Entry
Test-onion tiers (Smoke / Lite / targeted / full)regressionHardtest-onion-tiers.md
FsCheck property testsregressionHardproperty-tests.md
Fuzz campaigns (+ auto-coverage)regressionHardfuzz-campaigns.md
DDT pin-trailersregressionHardddt-pin-trailers.md

10. Provenance & attribution

Durable records of what the tool changed.family folder

MechanismFormEnf.Entry
Per-mutator attribution stampsaudit-trailHard (audit)mutator-stamps.md
F10 mutator-stamp-wiring lintvalidationHardf10-wiring-lint.md
derive-changelog (reconstruct mutations)audit-trailHard (audit)derive-changelog.md
a11y_ prefix conventionrepair-vocabHarda11y-prefix.md

11. Repair vocabulary

The bounded move-space of the remediator.family folder

MechanismFormEnf.Entry
Typed ViolationCategory / FailureCategory enumsrepair-vocabHardtyped-categories.md
Closed remediation-verb setsrepair-vocabHardremediation-verbs.md
Codemod-first threshold (N≳50 → AST transformer)repair-vocabSoftcodemod-first.md

Three roles complete — 69 mechanisms across 11 families, all fully developed. Agent (28): Context & dispatch (4) · Gates & merge-train (4) · Mediators & resource locks (4) · Lifecycle & observability (8) · Governance-doc mechanisms (8, incl. the CLAUDE.md rule index meta-mechanism). Models-bridge (21): the MBSE method (<!--census:bridge_method-->13<!--/census--> subject-agnostic mechanisms, incl. formal temporal-logic verification, coverage→model-node mapping, journey-criticality → test-tier placement, invariant-DAG execution policy, computed control↔substrate blast-radius, + the symbol-anchored traceability graph) reified as a Y over <!--census:bridge_models-->8<!--/census--> models — product-facing 3 (service-flow · user-journey · domain-registries) · orchestration-facing 2 (synchronization · agent-orch) · shared-spine 3 (component-zone · concurrency · deployment, both faces); the MBSE substrate through which a bounded agent operates an unbounded codebase. Product (20): Canonical models & seams (5) · Validation & conformance (4) · Regression tests (4) · Provenance & attribution (4) · Repair vocabulary (3).