Skip to content

refactor(main): group session lifecycle and journal modules by owner - #38638

Merged
nwparker merged 33 commits into
mainfrom
module-layout-v2/b07-session-owners-439e
Nov 6, 2026
Merged

nwparker merged 33 commits into
mainfrom
module-layout-v2/b07-session-owners-439e

Conversation

@nwparker

@nwparker nwparker commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Structured-session lifecycle and journal code was spread across broad directories and forwarding imports. Group it by concrete acquisition, delivery, host, publication, recovery, database, writing and projection owners, with direct imports from defining modules.

This includes 814 physical moves and updates module requests, fixtures, mocks and active test selectors. It retains current upstream behavior, including the hidden text-task policies, composer workspace changes, and naming-test reintroduction. The naming test imports and mock now target the relocated definitions.

Validation: all six selected static checks and 24 focused tests pass on the current tree. Fresh independent refactor review and the full PR workflow remain required before merge. Detailed audit evidence stays local and ignored.

Files Added Deleted Net
Test 536 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1999 $\color{#cf222e}{\Huge{\mathbf{−}}}$​5132 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3133
Prod 842 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​4163 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4047 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​116

@nwparker
nwparker force-pushed the module-layout-v2/b07-session-owners-439e branch from 8b97a9a to b2ce14d Compare November 5, 2026 22:31
@nwparker nwparker changed the title refactor(main): group structured session modules by owner refactor(main): group session lifecycle and journal modules by owner Nov 6, 2026
@nwparker
nwparker merged commit 1c950ba into main Nov 6, 2026
130 of 131 checks passed
brennanb2025 added a commit that referenced this pull request Nov 6, 2026
…files (#39133)

#38638 moved journal-payload-bounds.ts and journal-reasoning-row.ts into
agent-session-journal/item-lifecycle/; #38956 then listed them at their old
paths, which fails the path-literal ratchet on every PR.
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