Skip to content

refactor(graph): isolate reference source planning owner - #134

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

RCmerci merged 1 commit into
mainfrom
codex/graph-reference-owner-20261027

Conversation

@RCmerci

@RCmerci RCmerci commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Reference cache/discovery state and its shared-response observer currently live inside the GraphRuntime assembly. Move all five tables, invalidation/retry/fallback, typed-property refinement, fragment installation/discovery, reset and abandon into Journal_graph_reference_plan. GraphRuntime keeps the public API, request IDs/pending/delivery, the single background queue, common eligibility checks and dispatch. The leaf receives only a live epoch getter, a planning-only read callback and known-page lookup.

Preserve the different own/shared page capacity rules, watched-source capacity exception, whole-fragment-before-discovery ordering, response/update order, original fallback epoch and current fences. New unknown-size aggregates use Rrbvec with one adaptation to the existing public List output. No subscription/date/property policy changes, spec/Swift/dependency changes or extra queue. Dune only registers the extracted module.

Stage4 first independent PR, stacked on #133 (base a467188). Independent review caught an eager Detail ownership scan; the final lazy query restores the old short circuit and final review has no findings. Reviewed file hashes and tracked diff SHA2562d3fbf9550f7b82d96ded386cee7426398f50316c63807d3eb667e998262404d retained in task evidence.

Final full dune build @ALL app/native_embed.exe.o -j3 and dune runtest --force -j3 passed on corrected bytes, including public Runtime175, Application150 and sync333. Existing public boundary behavior coverage is reused for this migration; no mirror tests. Exact-head CI passed on f9e1316. Fresh actual full-App Simulator acceptance will run on the final Stage4 combination, retaining host-restamp/cross_abi_validated=false; Stage3 GUI is historical only. No stage4 merge or release authorized.

@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-27T09:52:01.497935Z f9e1316 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/app-worker-admission-20261027 to main October 27, 2026 12:35
@RCmerci
RCmerci merged commit 52c6272 into main Oct 27, 2026
2 checks 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