Skip to content

refactor: group agent, tab and terminal store owners - #39458

Closed
nwparker wants to merge 2 commits into
mainfrom
module-layout-v2/store-agent-tabs-terminals-e4e5
Closed

nwparker wants to merge 2 commits into
mainfrom
module-layout-v2/store-agent-tabs-terminals-e4e5

Conversation

@nwparker

@nwparker nwparker commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Group agent discovery, runtime connections, tab history and terminal state with the modules that own those features. User behavior stays the same.

Files Added Deleted Net
Test 192 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1919 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1547 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​372
Prod 265 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​939 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1021 $\color{#cf222e}{\Huge{\mathbf{−}}}$​82

What Changed

Organize 123 store inputs through 108 moves, four production splits and five test-suite splits. Remove the tabs barrel, forwarding exports and transparent equality/reset delegates; use direct defining-owner imports. Compose terminal reopen state and cross-content reopen dispatch directly in both application and test stores.

Update source-loading benchmarks, active routing, timing keys and writer baselines. Preserve historical qualification fixtures. Refine existing tests to retain routing, refusal, restart, cleanup and placement outcomes while removing private inventories, work budgets and production-versus-production expected values. Retire two now-unused inventory-only test accessors.

Why

State owners and their tests were still spread across the slice root. This is one coherent store batch in the serial layout cleanup, stacked on #39451.

Linked Issue

Maintainer-requested module-layout cleanup; no separate issue.

Visual Proof

N/A — source ownership and import paths change; no visual or interaction change is intended.

Testing

  • Current head 41468d9016a7 is composed on be05f16f49ef; its tree is d2e563446f01. The stack incorporates main 5dae65c4b4ef, including deliberate upstream test removals and the mobile speech-service fix.
  • Root complete-entry, body/import-route and metadata union checks passed for the current composition. Independent SOURCE carry review passed; independent BOUNDARY review and root replay gates remain before merge.
  • Original implementation validation and audit qualifications remain tied to their original pins. The previous head completed full CI successfully; current-head CI is newly running and is not yet a pass.
  • Broad local unit selections timed out; they are not passing results. The isolated backend recovery failure also reproduced on pristine main with the same runtime/case filter; cause remains unproven.

@nwparker
nwparker marked this pull request as ready for review November 7, 2026 10:36
@nwparker
nwparker force-pushed the module-layout-v2/store-settings-catalog-139 branch from e4e5f51 to 55f1406 Compare November 7, 2026 10:55
@nwparker
nwparker force-pushed the module-layout-v2/store-agent-tabs-terminals-e4e5 branch from 92d2e30 to 4151227 Compare November 7, 2026 10:58
@nwparker
nwparker force-pushed the module-layout-v2/store-settings-catalog-139 branch from 55f1406 to 2128765 Compare November 7, 2026 11:47
@nwparker
nwparker force-pushed the module-layout-v2/store-agent-tabs-terminals-e4e5 branch from 4151227 to 7380a59 Compare November 7, 2026 11:48
@nwparker
nwparker force-pushed the module-layout-v2/store-settings-catalog-139 branch from 2128765 to e58488e Compare November 7, 2026 12:21
@nwparker
nwparker force-pushed the module-layout-v2/store-agent-tabs-terminals-e4e5 branch from 7380a59 to 8972f0d Compare November 7, 2026 12:24
@nwparker
nwparker force-pushed the module-layout-v2/store-settings-catalog-139 branch from e58488e to be05f16 Compare November 7, 2026 12:54
@nwparker
nwparker force-pushed the module-layout-v2/store-agent-tabs-terminals-e4e5 branch from 8972f0d to 41468d9 Compare November 7, 2026 12:54
@nwparker
nwparker force-pushed the module-layout-v2/store-settings-catalog-139 branch from be05f16 to 475c623 Compare November 7, 2026 13:43
@nwparker
nwparker force-pushed the module-layout-v2/store-agent-tabs-terminals-e4e5 branch from 41468d9 to 4bb8ded Compare November 7, 2026 13:44
@nwparker
nwparker force-pushed the module-layout-v2/store-settings-catalog-139 branch from 475c623 to e52116d Compare November 7, 2026 13:52
@nwparker
nwparker force-pushed the module-layout-v2/store-agent-tabs-terminals-e4e5 branch from 4bb8ded to 8604717 Compare November 7, 2026 13:53
@nwparker
nwparker changed the base branch from module-layout-v2/store-settings-catalog-139 to main November 7, 2026 14:26
@nwparker nwparker closed this Nov 7, 2026
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