Skip to content

Isolate Codex 0.152 runtime contracts and declare PlanAnvil roles - #27

Merged
KeyffMS merged 5 commits into
mainfrom
fix/codex-0152-runtime-probes-and-roles
Sep 4, 2026
Merged

Isolate Codex 0.152 runtime contracts and declare PlanAnvil roles#27
KeyffMS merged 5 commits into
mainfrom
fix/codex-0152-runtime-probes-and-roles

Conversation

@KeyffMS

@KeyffMS KeyffMS commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Summary

Consolidates the next Codex CLI 0.152 qualification step without changing the release gate.

Product

  • explicitly declares plan_anvil_profiler and plan_anvil_reviewer in .codex/config.toml using the 0.152 [agents.<role>] contract and their existing role files;
  • keeps the existing project hook definitions unchanged because exact 0.152 source confirms the current hooks.json shape and Bash matcher are valid.

Precision v2

Replaces the workflow's precision runner with a runtime-isolation matrix that separates previously-confounded variables:

  • CLI trust + ephemeral project hook control;
  • persisted project trust + non-ephemeral JSON and TOML project hooks;
  • isolated-home hook control;
  • SessionStart plus real PreToolUse deny, so hook discovery is distinguishable from matcher/dispatch failure;
  • isolated-home compaction hooks with SessionStart control and single/two-step body_after_prefix/total variants;
  • project agent autodiscovery vs explicit [agents.fixture_agent] vs isolated-home explicit role;
  • non-ephemeral vs ephemeral subagent transport with the same home-scoped SubagentStart recorder;
  • strict config parsing, isolated CODEX_HOME, auth fingerprint checks, cleanup, opaque context-token redaction, and no raw transcript persistence.

Regression protection

  • keeps the old precision harness for reproducibility;
  • adds dedicated v2 unit tests and updates the approved workflow test;
  • precision remains diagnostic-only and cannot change C01-C16 release status.

@KeyffMS
KeyffMS merged commit e058934 into main Sep 4, 2026
7 checks passed
KeyffMS added a commit that referenced this pull request Sep 8, 2026
Preserve full self-hosted run #27 (34140846679) exactly, with its actual source a9cdcdc and all C01-C16 REPRODUCED. C08 now proves expected stop and repaired completion without timeout; C09/C10 regressions passed and C13 retains the explicit non-ephemeral fallback. Update current evidence/provenance and status/release documentation while keeping original #25, product/runtime/security and release guards unchanged. Strict release validation passed on the exact reviewed tree; PR CI #124 passed all eight jobs. No new live run or production tag is created.

Closes #7.
KeyffMS added a commit that referenced this pull request Sep 8, 2026
Reconcile compliance and release notes with immutable full #27 evidence, preserve #25 history and the C13 non-ephemeral limitation, and add three documentation consistency regressions. PR CI #126 passed all eight jobs. VERSION and qualified product/runtime bytes remain unchanged. Production publication still requires strict validation and a verified signed annotated tag.

Closes #17.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant