Skip to content

Capture read-only subprocess and test-owner journals - #1359

Open
taras wants to merge 95 commits into
mainfrom
codex/1171-readonly-subprocess-and-owners
Open

taras wants to merge 95 commits into
mainfrom
codex/1171-readonly-subprocess-and-owners

Conversation

@taras

@taras taras commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Why

The read-only Core subprocess completes before its parent's assertions about the denied write. Those assertions can now retain the journal of the subprocess that actually ran. Advances #1171 and builds on #1358.

What changes

  • Use the shared guarded snapshot handoff for the read-only component subprocess. The child still refuses writes. The joined parent holds the snapshot through its assertions and saves it on failure.
  • Attribute fresh Core, Git, Workflow, Testing and REPL executions, including comparisons that need separate streams for each run.
  • Record fixture-owned replay, failure injection and retained history cases in the inventory.

Review guide

Start with the late-assertion and passing controls in packages/core/tests/component-module-loader.test.ts. The Workflow identity comparison retains the ordinary run and both original bundles on independent streams.

How to verify it

  • The subprocess regression preserves the original post-exit assertion error and compares the saved journal with the received snapshot. The passing control saves no artifacts.
  • The seven signed commits have 35 passing focused runtime and typecheck receipts across applicable Deno, Node 22.23.4, and Bun suites.
  • The original Planner and independent Fable reviewer passed exact revision f192591b0.

Scope

The migration ledger leaves 95 pending and 44 partial owner rows for the rest of #1171.

Scope confirmation

  • All changed files support the journal migration or its verification.
  • The description matches the signed revision and verification.

taras added 30 commits November 16, 2026 13:22
taras added a commit that referenced this pull request Nov 17, 2026
@taras
taras added this pull request to stack #1386 November 17, 2026 12:00
@taras
taras marked this pull request as ready for review November 17, 2026 13:20
Base automatically changed from codex/1171-guarded-journal-migrations to main November 17, 2026 13:52

This branch has not been deployed

No deployments
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