Skip to content

refactor: organize markdown, editor model and save owners - #38037

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/r03b-actual-A4451
Nov 4, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/r03b-actual-A4451

Conversation

@nwparker

@nwparker nwparker commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Group 518 editor modules by concrete ownership: Markdown documents and navigation, preview rendering/search/workers, rich-editor instances and commands, model and buffer lifetimes, save queues, external changes, and view modes. Retire two forwarding modules and 43 forwarded bindings; consumers import their defining owners directly.

Preserve runtime bodies, singleton/cache/plugin identities, resources, lazy imports, and platform behavior. Extract existing contract types and the visibility-observer fixture into their defining owners. Update existing mocks and embedded loaders to follow direct owner imports. The refresh preserves upstream test deletions and the renamed build plugin; timing metadata changes only the surviving moved path keys.

Validation:

  • Independent source and boundary audits passed, including the exact committed tree, all 518 moved owners, incoming module contacts, overlap resolutions, upstream deletions and renamed destination, and timing/resource/CI routing.
  • Normal hooks passed with no change to the reviewed tree. The current Bun web typecheck passed for 16,241 files; five focused roots passed all 66 tests without skips.
  • Final changed checks passed all 30 non-unit checks, including node/web typechecks and code quality. Broad related tests reached the declared two-minute limit, so the combined local gate did not pass. The five focused roots passed separately.
  • Fresh hosted required checks and aggregate, current-main merge composition, actual squash verification, and original-scope closure remain required before completion.
Files Added Deleted Net
Test 304 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​826 $\color{#cf222e}{\Huge{\mathbf{−}}}$​745 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​81
Prod 392 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1402 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1223 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​179

@nwparker
nwparker force-pushed the module-layout-v2/r03b-actual-A4451 branch from d6f0b46 to 0f2a595 Compare November 4, 2026 06:08
@nwparker
nwparker merged commit 8d0e7a1 into main Nov 4, 2026
59 checks passed
audichuang added a commit to audichuang/orca that referenced this pull request Nov 5, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 5, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 6, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 7, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 8, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 8, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 10, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 10, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 12, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 13, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 14, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 16, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
…8033, stablyai#38037, stablyai#38101, stablyai#38023, stablyai#37915, …)

Rewrite fork import specifiers and fork-owned path literals to the paths
upstream v1.4.249 moved them to, splitting named imports whose module was
split (fork-import-relocate.py from the fork canary notes).
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