Add continuous history with owned native breadcrumb navigation #904
<!-- codex-pull-request-review-summary -->
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-10-14T01:45:15.492450Z">2026-10-14T01:45:15.492450Z</relative-time> | d4c2772 | New commits |
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
</details>
@codex review exact application head1bce568033667400e2daaab49e6cfae4494db837 against frozen3a7ea7e4484ab984370bf6b784856434d389ac3a: actual source-pin hidden ancestor geometry, legitimate visible zero rows, reveal publication and owned pending scroll replay. Independent source challenge found no blockers after residual hidden-native write regression was proved and fixed. Source208/208 integration plus tsc/ESLint/Stylelint pass; actual rebuilt browser qualification is separately running PR903 pinned1bce, not claimed complete. Sole exact-head request; Global owns all integration/merge/deploy.
<sub><sub>!P2 Badge</sub></sub> Recompute selector offsets before replaying a hidden jump
When scrollToIndex receives a selector while the transcript is hidden by App.tsx during source-pin validation, the target node can already exist but both bounding rectangles report zero, so the stored pendingScrollTop represents the row start rather than the requested tool. This branch replays that stale absolute position after reveal without recomputing the selector offset; MessageList.handleRangeChanged then observes the row without passing the selector and the jump reducer can acknowledge it even when the highlighted tool remains offscreen. Preserve the semantic target or recompute its offset before replaying so REQ-VT-006's requested-position postcondition is met.
AGENTS.md reference: AGENTS.md:L511-L511
Useful? React with 👍 / 👎.
<sub><sub>!P2 Badge</sub></sub> Re-measure zero-height rows after reveal
When a mounted row legitimately changes from a positive extent to zero while an ancestor is display:none, this early return discards the zero ResizeObserver delivery. The observer has nevertheless recorded zero as its last delivered size, so if the row remains zero after reveal it need not emit another row entry; reveal processing then retains the old positive value in measuredExtents, leaving total extent and spacer geometry permanently stale. Re-measure mounted rows on reveal instead of relying on a positive follow-up observation, as required by REQ-VT-004/010's measured-geometry contract.
AGENTS.md reference: AGENTS.md:L511-L511
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1bce568033
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
Fixed in0200bcb51 (included exact6bb39c66a): existing semantic pending selector is retained while hidden and resolved against visible boxes before native replay; unresolved semantic target is not row-measured completion. Two actual red reveal-order cases received430 instead of630, then green. Subsequent independent challenge proved canceled owners and child-first same-commit replay also needed fencing: d3/6bb add full command-key cancellation and current-render authority/evidence gates. Final228 integration+11finalization/tsc/ESLint/Stylelint pass; exactsource independent review no blocker. Prior1bce22 actualdesktop checks are old-source proof, not6bb runtime; successor rebuilt qualification required.
Fixed in0200bcb51 (included exact6bb39c66a): reveal explicitly remeasures mounted visible rows/header before rebuilding layout/replay, including genuine visible zero even without another row ResizeObserver entry. Actual red tests in both reveal orders retained400 instead of380 and wrong anchor60 instead of40; green follows. Hidden geometry still excluded. Full228 integration+11finalization and TypeScript/ESLint/Stylelint pass; source hashes retained. No claim source-mocked proof qualifies rebuilt browser or PWA; next app pin6bb requires fresh real qualification.
@codex review immutable final6bb39c66a569ce6f7b260314c375799cdb4714e0 against frozen3a7ea7e4484ab984370bf6b784856434d389ac3a, especially hidden selector replay, genuine visible zero remeasurement, owned cancellation without replacement, and current-render authority before child-first reveal/reset evidence. Both priorP2 findings have actualRED/GREEN dispositions and threadsresolved. Independentchallenge additionally proved superseded physical write and same-commit child-first replay gaps; fixed with required token-owned API/cancel plus current-render absent/command authority and stale MessageList evidencegate.228integration+11finalization, tsc/ESLint/Stylelint allpass; exactsource/checkreceipt independentlyverified and finalsource review finds no remainingcontractblocker. No telemetry/result/probe semantics changed. Old1bce22 actualrealbackend desktopordinaryGlobal checks are old-source proof; fresh PR903 qualification repins6bb explicitly next, not yet passed. Sole final-head request, no broad waiver. Global alone integrates/merges/deploys.
Codex Review: Didn't find any major issues. Already looking forward to the next diff.
Reviewed commit: 6bb39c66a5
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
Main-range P2 callback-identity repair published exactda381abc6fba0fdd0a73195bc2aa195db4a2f455. ActualRED real Alias→Page→NavStack→MessageList→VT holds replacement hidden jump while older page arrives: frozen6bb wrongly becomes idle from old same-nav-token superseded callback. Completion nowtyped{commandKey,result}; Page compares full desired command/view identity before retiring, accepts exactcurrent usercancel, ignoresstaleoldgeneration, retainscompletedjump acrosslaterpaging/restoration. Requiredlegacy/fixture consumers threadedtruthfulresult, no telemetrychange.446pass/2existingskips across13files +tsc/ESLint/Stylelintpass, exactsource/hash/redproof independentlyverified; finalboundedchallenge no remaining specificcontractblocker. Old6bb ALL7CI+23strictdesktoprealchecks/a90038436208004all8jobsSUCCESS are OLDsource evidence, notda acceptance. New903 repinsda next; no race/browser/phone waiver.
@codex review exactda381abc6fba0fdd0a73195bc2aa195db4a2f455 cumulative actualmainb8 diff after904retarget: especially full-key completion ACK under heldsame-token/newview+olderpagearrival, currentusercancel truth, completedjump vsrestore semantics. Sole successor request; Globalalone merges/deploys.
Codex Review: Didn't find any major issues. Keep them coming!
Reviewed commit: da381abc6f
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
Final exact MAIN-RANGE source/runtime handoff: APPda381abc6fba0fdd0a73195bc2aa195db4a2f455 all7 applicable CIjobsSUCCESS in38441016149, includingactualRusttests/genuinecodegen. FinalCodex6151673235 explicitlyda no majorissues. Main-range ACKrace ACTUALRED exact6bb realAliascomposition andGREEN446/2skip/fullsourcehash independentlyverified; fullcommandKey/result/currentcancel/completedrestore disposition complete. Separately built matchingAPPda+harness2f2b8d15e in903run38441222016 all8jobsSUCCESS;23strictrealbackendbrowser assertions (22ordinary+Global plusSSE), artifact11834514545 verifiedretained. No currentproofreliesonoldbinary/substitutedappSHA; earlierfailed/successfulreceipts preserved. Scopeexclusions remainexplicit: source-testnotbrowser delayed-race repro, Thinkexacttool/mobile/WebKit/PWA/trace/SLO, andfuturejointtelemetryhead. Combined904 targetsactualmain; DO NOT merge898alone. Global owns integration/merge/deploy; noneperformedhere.
@codex review exact cumulative5c182bb4d31389680587b6eb5bfbc012b0ce0690 against actualmain da345160b2dcf78c4d156f6d386e54485e0856ea. This merge preserves landed875 provider/model request/parser/header semantics and canonicalADR100 exactly, keeps qualified historyUI/backend equalda381, and renumbers only unlanded historyADR101/index/taskrefs. Independent source reconciliation no blocker; existingnewCI executes canonical/requestmap/header/provider tests and history API/codegen.903 separatelyrepins newapp for actual mockordinary/Global runtime23assertions. Predecessorproofs preserved notrelabeled. Useralreadyapprovedcombinedmerge/batchdeploy, GlobalheldbeforePUT onbaseguard; no newapprovalgate or productionauthority. Sole newheadreview request; feedback/fulltree+exactCI/runtime admission stillrequired.
<sub><sub>!P2 Badge</sub></sub> Map opening-only source pins to the represented boundary
When a user follows a continuation to /c/<successor>, ProductConversationAliasRedirect adds source_transcript=<successor>. If that successor currently contains only its generated opening, the history projection intentionally suppresses that opening because represented_successor_opening_message_id points to the original boundary; consequently messages contains no row for the selected segment, and this branch marks the valid pin exhausted as soon as has_older is false. The page then displays “Original source transcript unavailable” rather than positioning at the represented boundary, violating REQ-CONV-026's exact source-selection behavior during the common interval before the successor persists another message. Resolve a hashless opening-only transcript pin through the boundary roster, as the bookmark path already does.
AGENTS.md reference: AGENTS.md:L511-L511
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5c182bb4d3
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
Fixed exact0621b5475f5f2fe6b8eb12d0900eb2d87ac33178: hashless empty selected successor resolves only its exact non-null represented-opening boundary relation, sharing typed helper with bookmark mapping. Known target remains owed across lazy intermediate predecessor pages; URL/pin/newest composer unchanged. Ordinary/Global loaded/lazy four actual RED cases against5c become GREEN; unrepresented empty/reserved read-only and equal-text user-instruction controls stay correct.371 light source tests+tsc/ESLint/Stylelint pass, source/test hashes independently reviewed no blocker. No generic empty fallback/duplicate restoration/provider change. Rebuilt exact0621 mock realserver/browser qualification required; older5c23-pass artifact remains preserved/notrelabeled.
@codex review immutable successor0621b5475f5f2fe6b8eb12d0900eb2d87ac33178 against actualmain da345160b2dcf78c4d156f6d386e54485e0856ea. PriorP2opening-only hashlesspin now has actualredgreen4ordinaryGlobal loadedlazy +6controls, exactrepresentedrelation fallback without URL/composer/provider semantics changes.371source tests+tsc/lint pass andindependentexactsource review no blocker. Landed875+ADR100 unchanged; historyADR101 retained. Prior5c runtime23checks passes but isnotnewsourceproof;903 repins0621 next. Userapprovedmerge retained/no newapprovalgate; Globalalone landing/deploy afteractualexactCI/runtime/fullfeedbackaudit. Sole newheadreview request.
Codex Review: Didn't find any major issues. Already looking forward to the next diff.
Reviewed commit: 0621b5475f
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
@codex review exactadeb9c5dbd6213a7599d0fa026d24228d3e039eb against actualmain1973e631d8d7198b6749122edfcf6aefa9f6d8b1. Freshbaseguard discovered906 while0621 exactruntime23checks passed; merger preserveslandedBashCloseStop/harddeleteContinue registry+task bytes exactly, all0621 historyUI/API/provider/ADR bytesunchanged. Independentintegrationreview no blocker, newRustCI executesBothpolicywitnesses;903 freshapp repinawaited.0621finalCodex6154519449 no majorissues/23artifact11846436662 preserved OLDapp, notnewmergeproof. Userapprovalcombinedlanding/batchdeploy valid, no newgate/policychurn/productionauthority. Sole currentheadmainrangereview request; prior3actualthreadsresolved.
<sub><sub>!P2 Badge</sub></sub> Suppress accepted openings while refreshing pending handoffs
When a generated continuation settles after a latest_opening_pending snapshot has rendered, SSE can publish the successor's continuation message while the snapshot still reports no represented_successor_opening_message_id; makeAggregateMessages therefore renders that message beside the already-present predecessor boundary. This code only schedules an asynchronous refetch after the duplicate has rendered, and if that request fails the stale snapshot leaves both representations visible and the newest member read-only. Provisionally withhold or classify the continuation opening until the refreshed snapshot is adopted.
AGENTS.md reference: AGENTS.md:L332-L334
Useful? React with 👍 / 👎.
<sub><sub>!P2 Badge</sub></sub> Preserve the advanced cursor across tail refreshes
Every actual history response includes the full topology roster, including segments whose messages arrays are empty, so earliestRefreshedOrdinal is normally the root ordinal and this retainedPrefix test remains false even after the reader has acquired older pages. A background refresh then replaces the advanced before/has_older state with the fresh tail cursor while retaining the messages themselves; when the reader is near the historical top, MessageList follows that cursor and downloads all of those pages again. Continuations or close refreshes can therefore replay an arbitrarily large acquired history, contrary to REQ-CONV-026's requirement to retain valid acquired pages independently of refreshed tail state. Track page coverage rather than segment-roster presence when deciding which cursor to keep.
AGENTS.md reference: AGENTS.md:L511-L511
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: adeb9c5dbd
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
<sub><sub>!P2 Badge</sub></sub> Scope hashed evidence to the pinned transcript
When a URL contains a validated source_transcript plus a message hash, this aggregate-wide lookup accepts a message from any other member of the same conversation. A mismatched or stale URL such as a pin for member A with a hash/tool locator from member B therefore positions and highlights B's evidence while retaining A as the claimed source transcript; before this change, the exact-member route limited the available messages to the pinned row. Require the hash target's conversation_id to match the selected transcript, except for the explicitly represented-opening-to-boundary relation, or reject the incoherent locator so REQ-CONV-026's exact source-evidence selection cannot be misattributed.
AGENTS.md reference: AGENTS.md:L511-L511
Useful? React with 👍 / 👎.
<sub><sub>!P2 Badge</sub></sub> Keep paging to the selected transcript's actual start
When a hashless source_transcript selects a historical segment containing more messages than fit in one aggregate page, the first page that reaches that segment may contain only its newest suffix. This find accepts the first currently acquired message and stops the pagination effect, so the source link jumps into the middle of the transcript instead of its first message or represented opening boundary. Continue loading until the segment's beginning is covered, or expose its opening identity in topology metadata.
AGENTS.md reference: AGENTS.md:L466-L470
Useful? React with 👍 / 👎.
<sub><sub>!P2 Badge</sub></sub> Retry shared-stream opening snapshots after append races
When a message commits after the token-shared stream reads messages but before this fenced opening read, the append watermark differs and read_continuation_opening_at_snapshot returns TranscriptSnapshotChanged. Unlike the authenticated stream, this path is not wrapped in stable_transcript_read; it converts the mismatch directly into a 500, so a share viewer connecting to an active conversation can lose its SSE handshake instead of performing the bounded retry required by the SSE contract.
AGENTS.md reference: AGENTS.md:L466-L470
Useful? React with 👍 / 👎.
<sub><sub>!P2 Badge</sub></sub> Render unrepresented continuation openings as separate messages
When a generated successor opening is edited so its persisted content no longer equals the predecessor summary, the backend correctly removes its represented-opening relation and returns it as a separate message. Because its message type remains continuation, this branch still renders it as a compact CompletedContinuationBoundary (and the chapter builder also labels it as a boundary), creating a second apparent context boundary rather than the separately visible edited opening required by the opening presentation contract. Gate boundary rendering and chapter classification on productHistoricalHandoff instead of the message type alone.
AGENTS.md reference: AGENTS.md:L466-L470
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 891e28f3b2
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
STOP / integration incomplete. The three actionable final adeb review findings still block landing despite historical source/runtime success. Cursor and pinned-member repairs are retained. Backend891 typed Pending/Accepted authority is not UI-integrated; its source run38471383395 and genuine-codegen run38471558037 failed on a missing exhaustive DbError match. Failure logs preserved; no blind rerun. Corrective local successors d4680cc40 and6002226da repair error mappings, replace superseded opening content+authority coherently, and preserve monotonic client generation across mixed replay. Focused atom142 tests pass; authored Rust live/reconnect tests remain unexecuted. Genuine regenerated DTOs, all schema/store/Page consumers, actual pending-to-accepted/reconnect liveness, exact-source tests/review/runtime remain required. Old PR903 runtime receipts are old-app evidence only. User-approved combined904 landing retained, but Global alone executes after final qualification; never merge898 alone. No production mutation.
<sub><sub>!P2 Badge</sub></sub> Gate writes on the typed opening authority
When a successor is reserved but its opening is still pending, the backend now returns latest_opening: { status: "pending", ... } and no longer returns latest_opening_pending. This condition therefore evaluates !undefined to true, enabling the composer, Recall, retry, and reaction mutations against a member whose writable_transcript_row_id is null; submissions during the handoff interval will be rejected or race the opening. Read the new authority sum (or the writable ID) instead of retaining the removed parallel boolean representation.
AGENTS.md reference: AGENTS.md:L332-L334
Useful? React with 👍 / 👎.
<sub><sub>!P2 Badge</sub></sub> Do not advance replay past the committed message
If the post-commit opening lookup fails—for example because of a transient SQLite error or invalid receipt—the message has already committed at sequence N, but this branch publishes an Error at next_seq() (N+1) without anchoring or broadcasting message N. After the client consumes that error, reconnect sees after_event_sequence >= the database tail and selects Preserve, so the committed user message can remain absent from the transcript indefinitely. Publish the durable row before reporting the projection error, or force reconnect to perform a full transcript read.
AGENTS.md reference: AGENTS.md:L320-L322
Useful? React with 👍 / 👎.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 41e6d85a1d
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
</details>
STOP remains. Typed UI and genuine generated DTO integration is now published through6b5c9a910; independent reviews exposed/repaired stale accepted GET presentation overwrite, pre-effect duplicate frame and older-pagination readiness import. Exactee non-build UI3346 passed/2 skipped; sourceee Clippy/UI/spec/E2E/task lanes green but Rust621/622 failed a regression that tried to create an edge the schema structurally rejects;6b corrects the test to assert actual trigger rejection (no production fence weakened). Source successors pending. A narrowly reviewed cfg(test)-only actual-server one-shot reserved-identity barrier is authored8d for deterministic Pending→Accepted qualification, with isolated HOME/config/mock/loopback/IPC and bounded cleanup; it is NOT yet compiled or runtime-qualified. Instrumented test binary receipts remain explicitly separate from unchanged shipping runtime receipts; existing903 is still old app evidence. No merge or telemetry import authorized by this status. Global retains sole combined904 landing authority after final source/review/shipping+instrumented runtime qualification; never898 alone.
scottopell
Summary
Add continuous chronological history and native breadcrumbs across ordinary and Global conversations, including source-navigation repairs found by real-backend qualification. This is the combined main-range task10005 candidate; do not merge older PR898 alone.
Changed
Why
Real isolated browser testing exposed a blank retained transcript during pin changes. Main-range review also exposed a token-only completion race while a newer jump remained hidden. Both have actual red/green proofs, not timing workarounds.
Qualified exact source:
da381abc6fba0fdd0a73195bc2aa195db4a2f455passes all seven applicable jobs in 38441016149, including actual Rust tests/genuine codegen. Final main-range Codex found no major issues. Independent callback-contract review verified source hashes and actual alias-composition red proof; 446 tests pass / two existing skips plus tsc/lint. Prior P2 threads are disposed/resolved.Real artifact: PR903 run38441222016 independently builds this exact app/matching UI under harness
2f2b8d15e: all eight applicable jobs and 22 ordinary/Global desktop history checks plus captured browser SSE pass. Artifact11834514545 retains identities/hashes/API/SSE/geometry/screenshots. Older 3a/1bce/6bb failed and successful receipts remain preserved, not relabeled.Remaining: explicit joint telemetry/event-card integration and later trusted-URL/user physical-PWA acceptance. No mobile/WebKit, deterministic delayed-page browser race, ThinkAside exact-tool, trace retrieval or latency-SLO claim. The delayed race has source red/green coverage, not a claimed browser reproduction. Global alone integrates/merges/deploys; no merge or deployment performed.