Skip to content

refactor(graph): isolate mutation confirmation owner - #137

Merged
RCmerci merged 1 commit into
mainfrom
codex/graph-mutation-confirmation-20261027
Oct 27, 2026
Merged

RCmerci merged 1 commit into
mainfrom
codex/graph-mutation-confirmation-20261027

Conversation

@RCmerci

@RCmerci RCmerci commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Move the stateful mutation target-confirmation lifecycle into Journal_graph_mutation_confirmation: latest-target stamps, private read buffers, version consistency and bounded restart/continuation. Root keeps calendar/status/admission/precondition authority, structural-interest registration, canonical projection/cache publication, failure owners and the one scheduler. This deliberately extracts the cohesive confirmation owner; moving all Capture/Child/conflict paths together would require many authority/cache forwarding ports.

The leaf returns Continue/Confirmed/Failed, never a success payload or cache write. Its stamp is the live Root next_request explicitly stored as pending source_epoch, preserving both stale guards. Keep initial+two retries, version reset, original UUID error text and Projection-vs-Worker failure classification, superseded failures and the conservative four-purpose variant. The semantic Reference fragment preserves target, retained children and last-page children, and Root calls it only after a real captured/updated publication. Children remain vectors internally with public Projection/Protocol List adaptation only. No new cursor/child limit.

Stage4 final planned source PR, stacked on #136 at320bdb3274b13462f9b3b8d0427d0f037a07290a. Four files; Dune only registers the necessary leaf. Independent read-only review found no issues, checked exact file hashes and tracked diff6c25a5a71bfc975c9906fcf75e5da7bebe85cc0b317b131b17db1bb99e4e603e. Root public interface, shared caches, queue, Wire/FFI and existing failure-owner ordering remain unchanged.

Final full dune build @ALL app/native_embed.exe.o -j3 and dune runtest --force -j3 passed: Runtime175 (including10050-child confirmation and identity/version/failure-owner behavior), Application150, sync333 and all other suites. No mirror test, weakened assertion or timeout. Exact-head CI pending. Fresh actual full-App Simulator acceptance will run on this final Stage4 combination, retaining host-restamp/cross_abi_validated=false. No spec/Swift/dependency changes, merge or release. Optional subscription/date/property/directory abstractions are deferred because current semantic differences or limited benefit do not justify coupling them to these owner boundaries.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 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-10-27T10:17:11.826695Z 6eceac6 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.

@RCmerci
RCmerci changed the base branch from codex/graph-feed-owner-20261027 to main October 27, 2026 12:36
@RCmerci
RCmerci merged commit 3537e64 into main Oct 27, 2026
1 check passed
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