Repository navigation
refactor: organize session option and conversation owners (40 moves) - #37289
Merged
Merged
Conversation
nwparker
force-pushed
the
module-organization/session-owners40-m1df33f7b
branch
3 times, most recently
from
November 2, 2026 03:12
de2953a to
25dc624
Compare
10 tasks done
nwparker
force-pushed
the
module-organization/session-owners40-m1df33f7b
branch
from
November 2, 2026 04:49
25dc624 to
46da18f
Compare
nwparker
force-pushed
the
module-organization/session-owners40-m1df33f7b
branch
from
November 2, 2026 05:14
46da18f to
3e109da
Compare
nwparker
pushed a commit
that referenced
this pull request
Nov 2, 2026
8 of 10 tasks
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Put session options and conversations beside the code that owns them, keeping existing behavior intact.
What Changed
Move 13 session-option owners and 27 conversation, lifecycle, journal and view owners into concrete
src/shared/agent-session/subdirectories. Retarget desktop, CLI, mobile, tests and mocks across 607 code outputs, plus two CI routing-prefix updates in one metadata file. Use direct defining-owner imports; add no barrels or forwarding modules.Why
Complete two connected ownership boundaries in one larger cleanup PR. This reduces the remaining serial PR count while keeping the preservation audit coherent.
Linked Issue
Module-organization tracker, kept locally.
Visual Proof
N/A — module organization and imports only; no visual or interaction changes.
Testing
pnpm check:changed --base=08813758b655899831bd4278214eadf7ae7d7344 --maxWorkers=2; used the AGENTS scoped fallback based on the prior eight-minute related-test expansion; stop only that stage and retain all 40 other checks. Six process-host rebuild watcher timeouts reproduced in isolated runs on both this commit and pristine main98d22faa. The complete broad gate is not claimed to pass locally; applicable CI must pass before merge.Risk
Level: Low. A wrong module or mock target could break options or conversations across desktop, CLI and mobile. Exact body/binding audits, focused tests, typechecks and CI cover these boundaries. Revert the PR to restore the previous organization; wire and saved-data formats are unchanged.
Review
Two independent native Codex source audits cover the exact commit. Detailed evidence and the tracker remain ignored locally.
Agent skill upstream boundary
Notes
Preserves cross-platform, remote, mobile and folder-workspace contracts. No performance claim.
Checklist