1 · Host and runtime hooksSessionStart: naming → session_bearing.py. UserPromptSubmit: compaction_probe.py → model_router.py → dhf_preprompt.py. PreToolUse: harness_guard.py. PostToolUse: harness_observer.py.
2 · Generic router and repo adaptersThe generic dispatcher honors opt-out first, lazily delegates known repositories, and otherwise routes explicit DHF work by lifecycle stage. Project paths, fixtures, commands, and business boundaries stay in repo-specific adapters.
3 · Lifecycle and specialist workflowsEight normalized stages—research, requirements, planning, development, validation, review, ship, handoff—select planning, TDD, QA, security, release, documentation, or deterministic helpers.
4 · Durable governance and evidenceharness_recover.py, harness_checkpoint.py, harness_ledger.py, harness_transition.py, harness_eval.py, schemas, state logs, and fresh four-field verification receipts make work recoverable and auditable.
5 · Distribution boundarycodex/ is repository source. ~/.codex is machine runtime. Promotion is explicit, targeted, reversible, and followed by byte parity plus full verification. Public docs and future independent-core releases are separate publication lanes.