Skip to content

Complete Runtime Architecture Reset Stage C - #116

Merged
raederhans merged 6 commits into
mainfrom
codex/runtime-architecture-reset-stage-c-integration
Aug 31, 2026
Merged

Complete Runtime Architecture Reset Stage C#116
raederhans merged 6 commits into
mainfrom
codex/runtime-architecture-reset-stage-c-integration

Conversation

@raederhans

Copy link
Copy Markdown
Owner

Summary

  • add a trusted-local single-writer ContentAddressedArtifactCache/v1 and connect startup-support checkpoints to verified admit/restore identities
  • add a fail-closed road maturity projection that keeps workbench preview, main-map, apply bridge, and Pages ownership independent
  • add bounded direct verification routes and regenerate the retained tracked Pages mirror

Local verification

  • C1 focused Python: 22/22
  • C2 maturity/road/layer/manifest: 5/5 + 5/5 + 6/6 + 20/20
  • adaptive edit selection: 3 commands, 20 tests, 0 deferred
  • verification shadow equal; 403-route schema; script portfolio complete
  • architecture boundary check passed
  • Pages: 913.73 MiB; startup shell 62/62; landing assets 10/10; showcase view 20/20; source/dist byte-identical

Boundaries

  • cache remains trusted local single-writer; same-privilege hostile concurrent path replacement is outside this contract
  • tracked dist and legacy catalog projection remain retained
  • no browser, Nightly, Release, performance simulation, deployment, or retirement

Stage B could detect startup-support drift but could not materialize a verified prior result. Add a canonical local artifact cache and bind the startup-support checkpoint to exact manifest, tree, source, and builder identities while preserving the legacy rebuild path.

Constraint: The cache and checkpoint parent are trusted single-writer local storage; shared, remote, and hostile-concurrent writers remain outside this contract.

Rejected: Use the short scenario snapshot directory as a cache identity | it is not a full content address.

Rejected: Replace checkpoint outputs before complete validation | partial recovery can destroy the last known-good files.

Confidence: high

Scope-risk: moderate

Reversibility: clean

Directive: If this cache is ever shared with untrusted or same-privilege concurrent writers, replace path-based checks with handle-relative no-follow I/O before widening the trust boundary.

Tested: Python compile checks; 22 focused CAS, session, startup-support reuse, corruption, restore, and rollback tests passed; git diff --cached --check.

Not-tested: full scenario rebuild, crash or power-loss recovery, Pages/dist, browser, Nightly, Release, performance, deployment.

Related: candidate 44f34021284dad8523ee08cf34ec2f4032e71df8; Stage C baseline afe96bf
The transport registry exposed capability metadata without a trustworthy product-maturity projection. Add a road-only resolver that keeps workbench preview, main-map eligibility, apply support, and Pages ownership independent and fail-closed against their own evidence.

Constraint: This first vertical slice covers road only; tracked dist remains retained and is regenerated by the integration owner, not by the candidate task.

Rejected: Collapse all surfaces into one ready flag | independent evidence failures would erase valid facts and create false maturity.

Rejected: Infer main-map or apply support from previewOnly registry metadata | those facts belong to the loaded manifest.

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Add another family only with its own manifest evidence and hostile missing/mismatched carrier tests.

Tested: maturity 5/5; road preview 5/5; layer-panel 6/6; transport manifest 20/20; architecture boundaries; git diff --cached --check.

Not-tested: Pages/dist build, browser, Nightly, Release, performance, deployment.

Related: candidate a7bb18118d39ebe03c99c0905b6afd4f111d8628; Stage C baseline afe96bf
The Stage C files previously selected the right checks but exceeded the edit budget because seconds-long direct contracts were priced and expanded like broad contract suites. Register exact content-cache and transport-maturity routes, retain three TNO lifecycle sentinels, and keep the legacy shadow derived from canonical authority.

Constraint: The full TNO module remains a deeper verification route; local edit selection covers admission, recovery, and fatal rollback without changing global budgets.

Rejected: Raise the repository-wide edit budget | unrelated changes would inherit the wider allowance.

Rejected: Drop TNO recovery coverage | route success would no longer prove the new rollback boundary.

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Keep new direct routes within measured local cost and add a combined-change-set budget regression.

Tested: focused metadata and adaptive budget 3/3; shadow equality; 403-route schema; script portfolio; adaptive execution 3 commands and 20 tests; git diff --check.

Not-tested: full TNO module, Pages/dist, browser, Nightly, Release, performance, deployment.
The tracked Pages artifact must remain byte-aligned with source while retirement authorization is withheld. Regenerate the retained dist mirror after the road maturity projection changed the transport capability registry.

Constraint: Tracked dist remains authoritative for this release path; this commit changes only the mirrored registry and deterministic manifest size totals.

Rejected: Retire tracked dist during Stage C | the required receipt identity and authorization are still unavailable.

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Regenerate through the canonical Pages builder whenever the source registry changes.

Tested: verify:pages-dist builder 913.73 MiB; startup shell 62/62; landing assets 10/10; showcase view 20/20; source/dist no-index diff clean; manifest records 29,223 bytes; git diff --check.

Not-tested: browser, Nightly, Release, performance, deployment.
The durable task records still described undispatched Stage C lanes. Record the completed C1/C2 ownership, integrated commits, local verification evidence, Pages single-owner run, and the remaining protected-main gate.

Constraint: Stage C remains ready for remote gate rather than complete until required checks pass and the merge identity is confirmed.

Rejected: Mark Stage C complete from local checks alone | that would erase the protected-main acceptance criterion.

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Replace the pending remote state with the exact PR and merge receipt after protected-main closeout.

Tested: architecture boundary check; git diff --check. Documentation otherwise reviewed directly.

Not-tested: browser, Nightly, Release, performance, deployment.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T09:46:36.326440Z f910a55 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

PR fast correctly rejected the stale retained-shadow count fixture after Stage C added two direct routes. Update the expected route, command, catalog-entry, and leaf totals to the canonical 403/359/465/434 projection.

Constraint: This changes only exact deterministic count expectations; no gate, route, or budget is relaxed.

Rejected: Skip the portfolio contract in PR fast | that would hide canonical projection drift.

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Update every deterministic projection fixture whenever canonical route cardinality changes.

Tested: verification script portfolio 54/54; shadow equal; 403-route schema; git diff --check.

Not-tested: browser, Nightly, Release, performance, deployment.
@raederhans
raederhans merged commit df1b14f into main Aug 31, 2026
10 checks passed
@raederhans
raederhans deleted the codex/runtime-architecture-reset-stage-c-integration branch August 31, 2026 10:07
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