Skip to content

refactor(src): reorganize src/ feature-first into app/features/core/platform/shared (#55) - #65

Merged
aMonteSl merged 21 commits into
v1.2.1from
claude/project-thread-n2s3q6-src-layout
Nov 25, 2026
Merged

aMonteSl merged 21 commits into
v1.2.1from
claude/project-thread-n2s3q6-src-layout

Conversation

@aMonteSl

Copy link
Copy Markdown
Collaborator

Requested by Adrián · project thread

Executes story #55 (epic #26) as planned in docs/cleanup/src-layout.md, with the tree the maintainer approved. src/ now holds extension.ts and five layers:

  • app/: the composition root;
  • features/: one folder per sidebar section;
  • core/: the engine, one folder per domain;
  • platform/: VS Code host plumbing;
  • shared/.

All folders are kebab-case and the 46 re-export barrels are gone.

Commits. Pure moves (git mv plus import rewrites), one bisectable commit per batch:

  • the move-map refresh (docs/cleanup/src-move-map.json);
  • a tooling commit (measureGuardrails --renamed, the layer-based direction test);
  • four batch-0 commits that dissolve the barrels;
  • B1–B14;
  • a closing commit with test/tooling/srcLayout.test.cjs (keeps the layout as it is), the CHANGELOG line, the doc updates and §7 Result.

No behaviour change. Each batch shows it the same way:

  • compiled-module equivalence: 291 of 291 modules (tsc --removeComments, requires resolved);
  • the same webpack module count (512);
  • the feature baseline is unchanged, without --write;
  • npm test is green, with the lint budget held at 158 warnings and the guardrail waivers unchanged;
  • test:python and test:analysis passed on B3, B11 and B12, and the XR harnesses on B7, B9 and B12.

Packaged VSIX. It holds the same 199 files. Only three differ:

  • CHANGELOG.md;
  • the bundle, 21 KB smaller without the barrels;
  • one lazy chunk, whose webpack id changed.

Shape:

Before After
files 337 291
folders 172 99
snake_case/camelCase folders 58 0
single-file folders 70 9
index.ts 48 0
two-way folder pairs 5 4

Each remaining pair has its reason recorded in folderDependencies.json.

Before merging other branches: any open branch touching src/ must be replayed with the A.5 codemod and the move map. Run rm -rf apps/vscode-extension/out before compiling tests, so a stale out/ cannot hide a missed path.

Still to do: the maintainer's F5 smoke (open the sidebar, run one XR analysis, start and stop a server). The checklist is in .claude/docs/v1.2.1/sessions/55-src-layout.md, and it runs in the final verification (#43).

Refs #55


Generated by Claude Code

Re-generates the #55 move map (src-layout.md §4) on v1.2.1 at 41cfc52,
after #34, #35, #42 and #56 merged, and commits it as data:
docs/cleanup/src-move-map.json (`moves`: old -> new / null = dissolved
barrel / key = value = stays; `batch`: B0-B14 per row). It is the input of
the batch codemod, of measureGuardrails --renamed and of the H3 check.

Rows that changed (new §4.1):
- already at their destination after #42 (now "stays"):
  platform/commands/commandRegistry.ts, platform/tree/baseInterfaces.ts,
  platform/templatePaths.ts; commands/shared/index.ts is gone (46 barrels).
- new files placed beside the file they were split from:
  core/logging/sink.ts -> platform/logging (B1),
  visualization_settings/storage/settingsFile.ts -> core/charts/settings (B4),
  babia_templates/models/xrFieldModels.ts -> core/charts (B7),
  code_analysis/engine/utils/pythonStderrStream.ts -> core/analysis/python (B12),
  .../chart_type_shared/chartTypeCommandFactory.ts ->
  features/analysis/sections/settings (B13).
- utils/sha256Generator.ts -> core/analysis/utils (B12) instead of shared/:
  #34 gave it a logger, so shared/ would import platform/ (upward edge);
  its 7 importers are all in the analysis engine.

Re-measured (A.4): 1 upward edge (multiServerLauncher -> launchNotifications,
known), 1 cross-feature pair (active-servers -> collaboration, by design),
3 two-way pairs inside core/. All 337 files covered, no target collision.
Docs only; no source change.

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Preparatory tooling for the #55 move batches (src-layout.md §5.1 step 3,
§3.4), so every batch can keep the ratchet tight with no waiver.

measureGuardrails.cjs:
- `--write --renamed <map.json>` re-keys the committed baseline through a
  move map before comparing (size.filesOver500 and reachability paths at
  their new location; console/any byModule regrouped from new per-file
  counts). A path is re-keyed only once the move happened on disk, so the
  one cumulative docs/cleanup/src-move-map.json serves every batch.
- console/any `byModule` group by two levels under src/core/ and
  src/features/ (core/server, features/analysis, ...). Recorded per-file
  counts (`console.byFile`, `any.byFile`, informational) make the regroup
  exact.
- Baseline diff: console.byModule core -> core/logging (2, the sink:
  regrouping only, totals unchanged). waivers unchanged (6, none added).

folderDependencies.json / .cjs / dependencyDirection.test.cjs:
- one data file now also carries `twoLevelAreas`, the layer order
  `layers` (app -> features -> core -> platform -> shared) and
  `layerExceptions`; a new test refuses an allowed edge that goes up the
  layers or across features unless it is listed with a reason.
- the "measurement reads the code" check matches file edges by basename
  (extension.ts -> logger.ts, httpsServerBase.ts -> connectedParticipant.ts)
  so it survives the moves.
- mayImport rewritten for the two-level units (core/logging, core/startup).

Tests: guardrailRatchet gains moduleOf and --renamed re-keying cases.
Docs: DEVELOPMENT.md (guardrails:update --renamed), ARCHITECTURE.md
(folder dependencies).

Gates: npm test 1059/1059 (lint 158 warnings = budget).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Batch 0, area "views": deletes the 26 pure re-export index.ts barrels under
src/views/ (9) and src/code_analysis/views/ (17). They form one commit
because src/views/index.ts re-exported src/code_analysis/views/index.ts:
dissolving the first alone left three analysis barrels unreachable.

Each importer's `import { X } from '<barrel>'` now names the file that
declares X (resolved through the TypeScript checker, nested barrels
followed); 17 importers rewritten, no other line touched. extension.ts
imports ModularTreeDataProvider from views/ModularTreeDataProvider.

Load order: a barrel evaluated every module it re-exported on first import.
All of those modules are still statically reachable from extension.ts, so
they still load during the synchronous load of the bundle, before
activate(); only their relative order can change. Top-level side effects of
the re-exported modules (AST scan): getLogger() handles and pure constants
only, no getInstance()/registerCommand/setContext.

H3 (src-layout.md §6, batch-0 variant): tsc --removeComments before/after,
every surviving module byte-identical once each `<barrel>.Name` reference is
resolved to `<declaringModule>.Name` from the compiled barrel's re-export
table and relative require bindings are compared as a set:
311 modules compared, 26 barrels dropped, 6 importers normalized, 0 problems
(type-only importers compile identically). Negative control: a one-letter
change in a compiled importer is reported.

Text pins: none (no test, script or living doc names these barrels).
Guardrails: --renamed, only informational src.files 337 -> 311; ratcheted
unchanged, waivers unchanged. folderDependencies.json unchanged.
featureBaseline green without --write.

Gates: npm test 1059/1059 (lint 158 = budget).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Batch 0, area "analysis commands": deletes the 10 pure re-export index.ts
barrels under src/code_analysis/commands/ (directory_analysis,
dom_visualization, file_analysis, subsections/ and six per-setting
folders). 25 importers rewritten to the declaring file. Among them the 21
setting command modules that reached `CommandRegistration` through an
unrelated setting's barrel (`analysis_file_mode/index.ts`, src-layout.md
§2.4) now import analysisFileModeCommands.ts directly; the type and its
declaring file are unchanged here.

Load order: same argument as the views commit; the re-exported modules are
all still statically reachable and their top-level code is getLogger() and
pure constants.

H3 (batch-0 variant, compare-b0): 301 modules compared, 10 barrels dropped,
2 importers normalized (the rest are type-only and compile identically),
0 problems.

Text pins: none name these barrels (tests name the concrete files).
Guardrails: --renamed, ratcheted unchanged, waivers unchanged.
folderDependencies.json unchanged. featureBaseline green without --write.

Gates: npm test 1059/1059 (lint 158 = budget).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
 B0)

Batch 0, area "collaboration / remote access": deletes
src/collaboration/index.ts and src/remote_access/index.ts (pure `export *`
barrels). Their 9 importers (servers runtime, active-server model and
registry, extension.ts, the collaboration commands) now import the
declaring files, e.g. remoteSessionAuthority.ts or collaborationProfile.ts
directly. This is the barrel half of #42 item 1 (src-layout.md §2.4): the
server no longer evaluates the remote-access *services* barrel to reach
RemoteSessionAuthority. The folder-level matrix does not change (the same
folders are still imported).

Load order: every re-exported module (remoteAccessManager,
cloudflaredBinaryManager, collaborationProfileManager, ...) is still
imported statically from extension.ts; top-level code in them is getLogger()
and pure constants (the avatar-id sets).

H3 (batch-0 variant, compare-b0): 299 modules compared, 2 barrels dropped,
8 importers normalized, 0 problems.

Text pins: none name the barrels (tests read the concrete files).
Guardrails: --renamed, ratcheted unchanged, waivers unchanged.
featureBaseline green without --write.

Gates: npm test 1059/1059 (lint 158 = budget).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Batch 0, area "the rest": deletes the last 8 pure re-export barrels:
code_analysis/{configuration,configuration/models,dependencies,historical,
refresh}/index.ts, code_analysis/engine/components/customComponents/index.ts,
commands/analysis/index.ts and visualization_settings/index.ts. 25 importers
now name the declaring file; four tree items that re-exported a
configuration type through the barrel (`export { AnalysisFileMode } from
'../../../../configuration'`) re-export it from analysisConfiguration.ts.

src/ has no re-export barrel left (46 dissolved in batch 0). The two
index.ts files that hold code (commands/index.ts, servers/runtime/index.ts)
are renamed by their move batches.

The lazy require in utils/getVisualizationConfiguration.ts stays a lazy
require with the same destructured names; only its specifier changes:
'../visualization_settings' -> '../visualization_settings/utils/settingsAccessors'
(src-layout.md §5.2). Its eslint no-require-imports override names the
file, which does not move here.

Load order: the barrels' modules are all still statically reachable. The
singletons built at load time behind them (analysisRefreshCoordinator,
analysisUpdateEvents) have constructors with no side effect beyond deferred
debug logging.

Tests: four scene-asset tests loaded the compiled customComponents/index.js
as one namespace and look entry points up by name. New
test/helpers/sceneAssetModules.cjs rebuilds that namespace from the same 20
modules (first export wins, like export *), and names the folder once for
B12. Assertions unchanged (pin class G, path only):
roomAndGuideAssets, singleFileRuntimeAssets, xrRuntimeManifestAsymmetry,
embeddedRuntimeAssets.

H3 (batch-0 variant, compare-b0): 291 modules compared, 8 barrels dropped,
25 importers normalized, 0 problems.

folderDependencies.json: vscodeFreeFloor 109 -> 106, only because three
vscode-free barrels were deleted (configuration/models, customComponents,
refresh); the set of surviving vscode-free files is unchanged (diffed
against 41cfc52). Guardrails: --renamed, ratcheted unchanged, waivers
unchanged. ARCHITECTURE.md barrel policy line updated (it named barrels
that no longer exist). featureBaseline green without --write.

Gates: npm test 1059/1059 (lint 158 = budget).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Pure move, src-layout.md §4 rows B1 (9 files, git mv, basenames kept):
  core/extensionContext.ts            -> platform/extensionContext.ts
  core/logging/{logger,logPolicy,sink}.ts -> platform/logging/
  utils/commandBuilder.ts             -> platform/commands/commandBuilder.ts
  utils/detailDialog.ts               -> platform/ui/detailDialog.ts
  utils/errorHandler.ts               -> platform/ui/errorHandler.ts
  active_servers/services/panelManager.ts -> platform/webview/panelManager.ts
  utils/nonceGenerator.ts             -> shared/nonceGenerator.ts
(utils/sha256Generator.ts goes to core/analysis/utils in B12, §4.1.)

Specifiers rewritten in 154 importers by the A.5 codemod (relative
import/export/require/import() only; no other line changed).

Pins retargeted, path only (class G, asserted text unchanged): the logging
tests and helpers that load out/core/logging/*.js (logger, logPolicy,
fakeVscode, server lifecycle/launcher/registry/action tests),
sourceText.test (collectFiles/readSourceTree over src/platform),
lintContract (the no-console sink allowlist), eslint.config.mjs
CONSOLE_ALLOWLIST. Docs: ARCHITECTURE.md module map (core/ row, platform/
row, new shared/ row, utils/ row), activation step 1, Logging section;
DEVELOPMENT.md lint row.

H3 (src-layout.md §6):
- compiled-module equivalence (A.6 compare-out, tsc --removeComments):
  291 modules compared, 0 problems;
- webpack (mode none) stats: 512 modules, 279 src modules, unchanged;
- featureBaseline green without --write;
- guardrails --renamed: ratcheted unchanged (console.byModule
  core/logging -> platform), waivers unchanged; folderDependencies.json
  mayImport rewritten (core/logging -> platform, new shared unit).

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
 B2)

Pure move, src-layout.md §4 rows B2 (5 files, git mv). Moves (src/ omitted):
  commands/learn_more/learnMoreCommands.ts -> features/learn-more/commands/learnMoreCommandRegistrations.ts
  learn_more/commands/learnMoreCommands.ts -> features/learn-more/commands/learnMoreCommands.ts
  views/learn_more/interactions/handleLearnMoreClicks.ts -> features/learn-more/views/handleLearnMoreClicks.ts
  views/learn_more/items/learnMoreItems.ts -> features/learn-more/views/learnMoreItems.ts
  views/learn_more/LearnMoreSectionProvider.ts -> features/learn-more/views/LearnMoreSectionProvider.ts
Renamed (map §3.2: basename collision): learnMoreCommands.ts -> learnMoreCommandRegistrations.ts.

The pilot batch of src-layout.md §5.3. Specifiers rewritten in 7 files by
the A.5 codemod (relative import/export/require/import() only).

Pins: no test, script or tooling names these files. Docs: ARCHITECTURE.md
module map row learn_more/ -> features/learn-more/.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged,
waivers unchanged; folderDependencies.json mayImport rewritten
(features/learn-more -> platform), no layer violation.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…thon-env (#55 B3)

Pure move, src-layout.md §4 rows B3 (9 files, git mv). Moves (src/ omitted):
  commands/python_env/pythonEnvCommands.ts -> features/python-env/commands/pythonEnvCommandRegistrations.ts
  python_env/commands/pythonEnvCommands.ts -> features/python-env/commands/pythonEnvCommands.ts
  python_env/runtime/pythonEnvUiState.ts -> core/python-env/pythonEnvUiState.ts
  python_env/runtime/pythonPackageManifest.ts -> core/python-env/pythonPackageManifest.ts
  python_env/runtime/venvManager.ts -> core/python-env/venvManager.ts
  python_env/storage/pythonEnvStorage.ts -> core/python-env/pythonEnvStorage.ts
  python_env/utils/pythonEnvUtils.ts -> core/python-env/pythonEnvUtils.ts
  python_env/views/items/pythonEnvItems.ts -> features/python-env/views/pythonEnvItems.ts
  views/python_env/PythonEnvSectionProvider.ts -> features/python-env/views/PythonEnvSectionProvider.ts
Renamed (map §3.2: basename collision): pythonEnvCommands.ts -> pythonEnvCommandRegistrations.ts.

The venv itself is core/python-env (executePython and the git export need
it, src-layout.md §3.3); the feature keeps only its commands and tree.
Specifiers rewritten in 13 files by the A.5 codemod.

Pins retargeted, path only (class G, asserted text unchanged):
test/python_env/{analysisRunnerPin,pythonEnvUtils}.test.cjs,
test/analysis/dependencyGraph.test.cjs, test/tooling/pythonRequirements.cjs
(incl. the generated header line), backend/scripts/run-analysis-tests.cjs
(the tooling pin of §5.3), and backend/requirements.txt line 2, the
"Source of truth" comment that pythonRequirements.cjs writes (the package
list is unchanged; the pythonRequirements test regenerates and compares).
Docs: ARCHITECTURE.md module map (python_env/ -> core/python-env/ +
features/python-env/), PYTHON_ANALYSIS.md venv heading, DEVELOPMENT.md
python:requirements row, backend/README.md, add-language skill.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged
(any.byModule python_env -> core/python-env), waivers unchanged;
folderDependencies.json mayImport rewritten, no layer violation.

Also run (§5.3 risk note): npm run test:python OK, npm run test:analysis OK.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…and features/ (#55 B4)

Pure move, src-layout.md §4 rows B4 (13 files, git mv). Moves (src/ omitted):
  commands/visualization_settings/visualizationSettingsCommands.ts -> features/visualization-settings/commands/visualizationSettingsCommandRegistrations.ts
  views/visualization_settings/interactions/handleVisualizationSettingsClicks.ts -> features/visualization-settings/views/handleVisualizationSettingsClicks.ts
  views/visualization_settings/items/visualizationSettingsItems.ts -> features/visualization-settings/views/visualizationSettingsSectionItems.ts
  views/visualization_settings/VisualizationSettingsSectionProvider.ts -> features/visualization-settings/views/VisualizationSettingsSectionProvider.ts
  visualization_settings/commands/visualizationSettingsCommands.ts -> features/visualization-settings/commands/visualizationSettingsCommands.ts
  visualization_settings/model/settingsModel.ts -> core/charts/settings/settingsModel.ts
  visualization_settings/storage/settingsFile.ts -> core/charts/settings/settingsFile.ts
  visualization_settings/storage/settingsStorage.ts -> core/charts/settings/settingsStorage.ts
  visualization_settings/utils/colorPickerUtils.ts -> features/visualization-settings/views/colorPickerUtils.ts
  visualization_settings/utils/dynamicColorIconGenerator.ts -> features/visualization-settings/views/dynamicColorIconGenerator.ts
  visualization_settings/utils/settingsAccessors.ts -> core/charts/settings/settingsAccessors.ts
  visualization_settings/views/interactions/handleSettingsInteraction.ts -> features/visualization-settings/views/handleSettingsInteraction.ts
  visualization_settings/views/items/visualizationSettingsItems.ts -> features/visualization-settings/views/visualizationSettingsItems.ts
Renamed (map §3.2: basename collision): visualizationSettingsCommands.ts -> visualizationSettingsCommandRegistrations.ts, visualizationSettingsItems.ts -> visualizationSettingsSectionItems.ts.

The settings store goes to core/charts/settings because
utils/getVisualizationConfiguration.ts (core/charts in B7) reads it
(src-layout.md §3.3). Specifiers rewritten in 16 files by the A.5 codemod;
the lazy `require()` in getVisualizationConfiguration.ts stays a lazy
require with the same destructured names, specifier only:
'../visualization_settings/utils/settingsAccessors' ->
'../core/charts/settings/settingsAccessors'.

Pins retargeted, path only (class G): test/visualization_settings/
settingsStorage.test.cjs (3). Docs: ARCHITECTURE.md module map
(visualization_settings/ -> core/charts/settings/ +
features/visualization-settings/).

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged, waivers
unchanged; folderDependencies.json mayImport rewritten, no layer violation.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…e-data (#55 B5)

Pure move, src-layout.md §4 rows B5 (12 files, git mv). Moves (src/ omitted):
  commands/visualize_data/visualizeDataCommands.ts -> features/visualize-data/commands/visualizeDataCommandRegistrations.ts
  utils/jsonFieldAnalyzer.ts -> features/visualize-data/services/jsonFieldAnalyzer.ts
  views/visualize_data/interactions/handleVisualizeDataClicks.ts -> features/visualize-data/views/handleVisualizeDataClicks.ts
  views/visualize_data/items/visualizeDataItems.ts -> features/visualize-data/views/visualizeDataSectionItems.ts
  views/visualize_data/VisualizeDataSectionProvider.ts -> features/visualize-data/views/VisualizeDataSectionProvider.ts
  visualize_data/commands/visualizeDataCommands.ts -> features/visualize-data/commands/visualizeDataCommands.ts
  visualize_data/model/visualizeDataModel.ts -> features/visualize-data/model/visualizeDataModel.ts
  visualize_data/runtime/visualizationRestorer.ts -> features/visualize-data/services/visualizationRestorer.ts
  visualize_data/state/visualizeDataState.ts -> features/visualize-data/model/visualizeDataState.ts
  visualize_data/views/interactions/visualizationLauncher.ts -> features/visualize-data/services/visualizationLauncher.ts
  visualize_data/views/items/visualizationItem.ts -> features/visualize-data/views/visualizationItem.ts
  visualize_data/views/items/visualizeDataItems.ts -> features/visualize-data/views/visualizeDataItems.ts
Renamed (map §3.2: basename collision): visualizeDataCommands.ts -> visualizeDataCommandRegistrations.ts, visualizeDataItems.ts -> visualizeDataSectionItems.ts.

Specifiers rewritten in 16 files by the A.5 codemod.

Pins retargeted, path only (class G): test/visualize_data/
{dimensionFieldMapping,visualizeDataModel}.test.cjs; eslint.config.mjs
prefer-nullish-coalescing exemption list (visualizeDataState.ts, same
rule, same file). Docs: ARCHITECTURE.md module map row, packages/README.md
("lives today in").

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged, waivers
unchanged; folderDependencies.json mayImport rewritten, no layer violation.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Pure move, src-layout.md §4 rows B6 (10 files, git mv). Moves (src/ omitted):
  babia_examples/commands/babiaExamplesCommands.ts -> features/examples/commands/babiaExamplesCommands.ts
  babia_examples/model/babiaExampleModel.ts -> features/examples/model/babiaExampleModel.ts
  babia_examples/runtime/exampleLauncher.ts -> features/examples/services/exampleLauncher.ts
  babia_examples/views/babiaExamplesTreeView.ts -> features/examples/views/babiaExamplesTreeView.ts
  babia_examples/views/interactions/handleExampleClicks.ts -> features/examples/views/handleExampleClicks.ts
  babia_examples/views/items/exampleItems.ts -> features/examples/views/exampleItems.ts
  commands/babia_examples/babiaExamplesCommands.ts -> features/examples/commands/babiaExamplesCommandRegistrations.ts
  views/babia_examples/BabiaExamplesSectionProvider.ts -> features/examples/views/BabiaExamplesSectionProvider.ts
  views/babia_examples/interactions/handleBabiaExampleClicks.ts -> features/examples/views/handleBabiaExampleClicks.ts
  views/babia_examples/items/babiaExampleItems.ts -> features/examples/views/babiaExampleItems.ts
Renamed (map §3.2: basename collision): babiaExamplesCommands.ts -> babiaExamplesCommandRegistrations.ts.

Folder `babia_examples` becomes `features/examples` (decision 2 of
src-layout.md §0: feature names follow what the user sees); file names keep
`babia`. The two item factories and two click handlers now sit side by side
in features/examples/views/; merging them is 1.3.0 work, not a move.
Specifiers rewritten in 13 files by the A.5 codemod.

Pins retargeted, path only (class G): test/packaging/packagedLayout.test.cjs.
Docs: ARCHITECTURE.md module map row.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged
(any.byModule views -> features/examples), waivers unchanged;
folderDependencies.json mayImport rewritten, no layer violation.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Pure move, src-layout.md §4 rows B7 (11 files, git mv). Moves (src/ omitted):
  babia_templates/charts/chartPresentation.ts -> core/charts/chartPresentation.ts
  babia_templates/charts/templateCharts.ts -> core/charts/templateCharts.ts
  babia_templates/models/chartModels.ts -> core/charts/chartModels.ts
  babia_templates/models/xrFieldModels.ts -> core/charts/xrFieldModels.ts
  babia_templates/processing/dimensionValidator.ts -> core/charts/processing/dimensionValidator.ts
  babia_templates/processing/placeholders/createChart.ts -> core/charts/processing/placeholders/createChart.ts
  babia_templates/processing/placeholders/createStructure.ts -> core/charts/processing/placeholders/createStructure.ts
  babia_templates/processing/templateHTMLProcessor.ts -> core/charts/processing/templateHTMLProcessor.ts
  babia_templates/processing/templateProcessor.ts -> core/charts/processing/templateProcessor.ts
  babia_templates/registry/chartRegistry.ts -> core/charts/chartRegistry.ts
  utils/getVisualizationConfiguration.ts -> core/charts/getVisualizationConfiguration.ts

Folder `babia_templates` becomes `core/charts` (decision 2 of §0); the
chart registry is a cross-module contract (ARCHITECTURE "Cross-module
contracts" §2): path only, content unchanged. utils/getVisualizationConfiguration.ts
joins it; its lazy `require` of settingsAccessors keeps its form and names
(specifier './settings/settingsAccessors'), and its eslint
no-require-imports override and the lintContract list follow the file.
Specifiers rewritten in 21 files by the A.5 codemod.

Pins retargeted, path only (class G, asserted text unchanged): 10 analysis
tests (babiaChartDimensionContract, chartTypeSettings, dimensionValidator,
livePanelDomIntegration, uiPolicy, xrAnalysisTableRuntime,
xrChartMappingUiRuntime, xrDataSource, xrFieldSchemaIntegration,
xrMappingUiModel), test/baseline/featureSurface.cjs (the chart-type source
it reads; its snapshot is unchanged), run-xr-immersive-harness.cjs,
lintContract, settingsStorage.test, eslint.config.mjs. Docs: ARCHITECTURE.md
(pipeline diagram, module map row, field-schema contract), XR_COMPONENTS.md,
PYTHON_ANALYSIS.md, INDEX.md, packages/README.md.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged, waivers
unchanged; folderDependencies.json mayImport rewritten, no layer violation.

Also run (§5.3 risk note): npm run test:xr-harness passed;
test:xr-immersive-harness passed (static contract + AR/VR semantics), both
with the sandbox preload that serves the pinned CDN scripts from npm-pack
copies (the proxy blocks the CDNs; outside the repo).

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…atures/ (#55 B8)

Pure move, src-layout.md §4 rows B8 (11 files, git mv). Moves (src/ omitted):
  collaboration/model/anonymousName.ts -> core/collaboration/anonymousName.ts
  collaboration/model/collaborationProfile.ts -> core/collaboration/collaborationProfile.ts
  collaboration/model/connectedParticipant.ts -> core/collaboration/connectedParticipant.ts
  collaboration/services/collaborationProfileManager.ts -> core/collaboration/collaborationProfileManager.ts
  commands/collaboration/collaborationCommands.ts -> features/collaboration/commands/collaborationCommands.ts
  remote_access/model/remoteAccessModel.ts -> core/remote-access/remoteAccessModel.ts
  remote_access/security/remoteSessionAuthority.ts -> core/remote-access/remoteSessionAuthority.ts
  remote_access/services/cloudflaredBinaryManager.ts -> core/remote-access/cloudflaredBinaryManager.ts
  remote_access/services/remoteAccessManager.ts -> core/remote-access/remoteAccessManager.ts
  views/collaboration/CollaborationSectionProvider.ts -> features/collaboration/views/CollaborationSectionProvider.ts
  views/collaboration/items/collaborationItems.ts -> features/collaboration/views/collaborationItems.ts

Remote access is all core/ (no sidebar section; three features and the
server use it, src-layout.md §3.3). The collaboration profile model and
manager are core/; the collaboration commands and tree group are the
feature. Specifiers rewritten in 25 files by the A.5 codemod.

Pins retargeted, path only (class G, asserted text unchanged):
test/servers/remoteAccessImplementation.test.cjs (9, incl. multi-line
path.join segments), remoteSessionAuthority.test, serverActionHandlers.test,
test/analysis/collaborationRuntime.test, test/collaboration/avatarIdSync.test,
test/packaging/resourceConsumers.test.
folderDependencies.json: mayImport rewritten; the two documented pairs
active_servers<->remote_access and remote_access<->servers keep their
reasons under the new unit name core/remote-access (same pairs, renamed).
Docs: ARCHITECTURE.md module map rows (core/collaboration,
features/collaboration, core/remote-access) and folder-dependency sentence,
INDEX.md servers row.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged, waivers
unchanged; no layer violation.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…55 B9)

Pure move, src-layout.md §4 rows B9 (44 files, git mv). Moves (src/ omitted):
  active_servers/model/activeServerModel.ts -> core/server/registry/activeServerModel.ts
  active_servers/registry/activeServerRegistry.ts -> core/server/registry/activeServerRegistry.ts
  active_servers/runtime/serverControl.ts -> core/server/serverControl.ts
  active_servers/services/serverRegistrar.ts -> core/server/registry/serverRegistrar.ts
  servers/runtime/analysis/analysisBridgeReplies.ts -> core/server/analysis/analysisBridgeReplies.ts
  servers/runtime/analysis/analysisFeatureHost.ts -> core/server/analysis/analysisFeatureHost.ts
  servers/runtime/analysis/analysisMessageRouter.ts -> core/server/analysis/analysisMessageRouter.ts
  servers/runtime/analysis/dependencyGraphBridge.ts -> core/server/analysis/dependencyGraphBridge.ts
  servers/runtime/analysis/historicalComparisonBridge.ts -> core/server/analysis/historicalComparisonBridge.ts
  servers/runtime/analysis/projectEvolutionBridge.ts -> core/server/analysis/projectEvolutionBridge.ts
  servers/runtime/analysisServerCapabilities.ts -> core/server/analysisServerCapabilities.ts
  servers/runtime/broadcast/broadcastTypes.ts -> core/server/broadcast/broadcastTypes.ts
  servers/runtime/broadcast/mediaFrame.ts -> core/server/broadcast/mediaFrame.ts
  servers/runtime/broadcast/relayPolicy.ts -> core/server/broadcast/relayPolicy.ts
  servers/runtime/broadcast/screenBroadcastSignalingServer.ts -> core/server/broadcast/screenBroadcastSignalingServer.ts
  servers/runtime/collaboration/collaborationRoomServer.ts -> core/server/collaboration/collaborationRoomServer.ts
  servers/runtime/collaboration/collaborationSessionApi.ts -> core/server/collaboration/collaborationSessionApi.ts
  servers/runtime/collaboration/participantIdentity.ts -> core/server/collaboration/participantIdentity.ts
  servers/runtime/collaboration/roomMessageCodec.ts -> core/server/collaboration/roomMessageCodec.ts
  servers/runtime/collaboration/roomRegistry.ts -> core/server/collaboration/roomRegistry.ts
  servers/runtime/collaboration/roomSharedState.ts -> core/server/collaboration/roomSharedState.ts
  servers/runtime/collaboration/roomTypes.ts -> core/server/collaboration/roomTypes.ts
  servers/runtime/generatedHttpsCertificateManager.ts -> core/server/generatedHttpsCertificateManager.ts
  servers/runtime/http/httpRespond.ts -> core/server/http/httpRespond.ts
  servers/runtime/http/staticAssets.ts -> core/server/http/staticAssets.ts
  servers/runtime/httpsCustomServer.ts -> core/server/httpsCustomServer.ts
  servers/runtime/httpsDefaultServer.ts -> core/server/httpsDefaultServer.ts
  servers/runtime/httpServer.ts -> core/server/httpServer.ts
  servers/runtime/httpsServerBase.ts -> core/server/httpsServerBase.ts
  servers/runtime/httpsTlsOptions.ts -> core/server/httpsTlsOptions.ts
  servers/runtime/index.ts -> core/server/launchServerWithFile.ts
  servers/runtime/multiServerLauncher.ts -> core/server/multiServerLauncher.ts
  servers/runtime/portManager.ts -> core/server/portManager.ts
  servers/runtime/remote/brandMark.ts -> core/server/remote/brandMark.ts
  servers/runtime/remote/pairingPage.ts -> core/server/remote/pairingPage.ts
  servers/runtime/remote/remoteAccessPolicy.ts -> core/server/remote/remoteAccessPolicy.ts
  servers/runtime/remote/remotePairingApi.ts -> core/server/remote/remotePairingApi.ts
  servers/runtime/serverFactory.ts -> core/server/serverFactory.ts
  servers/runtime/sse/sseClientRegistry.ts -> core/server/sse/sseClientRegistry.ts
  servers/runtime/sse/SSEManager.ts -> core/server/sse/SSEManager.ts
  servers/runtime/ws/webSocketEndpoint.ts -> core/server/ws/webSocketEndpoint.ts
  servers/storage/serverSettingsManager.ts -> core/server/serverSettingsManager.ts
  servers/utils/networkUtils.ts -> core/server/networkUtils.ts
  utils/fileToServerMap.ts -> core/server/fileToServerMap.ts
Renamed (map §3.2: basename collision): index.ts -> launchServerWithFile.ts.

servers/runtime/ becomes core/server/ with its sub-folders unchanged; the
running-server registry, its model, the registrar and ServerControl join
it (core/server/registry/, core/server/serverControl.ts), as do the server
settings, networkUtils and the file->server map. servers/runtime/index.ts
(it holds launchServerWithFile) is renamed launchServerWithFile.ts. Since
#42 every template path goes through resolveTemplatePath(extensionPath), so
the old __dirname depth constraint of §3.3 does not apply (grep: no
__dirname in src). HttpServer.stop()'s dispose-before-close order is
untouched (a move). Specifiers rewritten in 42 files by the A.5 codemod.

Pins retargeted, path only (class G, asserted text unchanged), 144
references in 25 test files: test/servers/* (lifecycle, launcher,
certificates, LAN URL, room, broadcast, websockets, action handlers,
remote access, config readers, registry), test/analysis/* (dependency
graph and bridge, historical comparison, live-panel historical, message
router, capabilities, git history services, reanalysis architecture,
virtual screen, data source), avatarIdSync, templatePaths,
modularTreeSnapshot; eslint.config.mjs prefer-nullish-coalescing list (5).

ESLint any-free lock (codexr/any-free-folders): serverControl.ts was locked
through src/active_servers/**; it now sits in core/server/, beside 7 files
that still carry `any`. The lock moves to the whole folder,
src/core/server/**/*.ts (only a tightening: the other files there have no
`any`, lint warnings unchanged at 158), with those 7 files in the block's
`ignores`. lintContract unchanged and green (folder globs that exist).

folderDependencies.json: mayImport rewritten; two-way pairs re-documented
(active_servers<->code_analysis + code_analysis<->servers ->
code_analysis<->core/server; active_servers<->core/remote-access +
core/remote-access<->servers -> core/remote-access<->core/server;
new core/server<->servers is the known upward edge multiServerLauncher ->
launchNotifications, #42 item 5); no layer violation.
Docs: ARCHITECTURE.md pipeline, module map (core/server, core/server/registry,
sub-folder rows, active_servers row), folder-dependency sentence; INDEX.md;
verify skill routing row; XR_COMPONENTS.md; media/SHOTLIST.md.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged
(size.filesOver500 paths re-keyed), waivers unchanged.

Also run (§5.3 risk note): npm run test:xr-harness passed (sandbox CDN
preload). F5 smoke for the maintainer after this batch: open the sidebar,
run one XR analysis, start and stop a server.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…ures/ (#55 B10)

Pure move, src-layout.md §4 rows B10 (16 files, git mv). Moves (src/ omitted):
  active_servers/commands/activeServersCommands.ts -> features/active-servers/commands/activeServersCommands.ts
  active_servers/services/serverOpenActions.ts -> features/active-servers/services/serverOpenActions.ts
  active_servers/services/withServer.ts -> features/active-servers/services/withServer.ts
  active_servers/views/interactions/handleServerActions.ts -> features/active-servers/views/handleServerActions.ts
  active_servers/views/interactions/serverDetailsFormat.ts -> features/active-servers/views/serverDetailsFormat.ts
  commands/active_servers/activeServersCommands.ts -> features/active-servers/commands/activeServersCommandRegistrations.ts
  commands/servers/serverCommands.ts -> features/servers/commands/serverCommandRegistrations.ts
  servers/commands/serverCommands.ts -> features/servers/commands/serverCommands.ts
  servers/runtime/previewRenderer.ts -> features/active-servers/services/previewRenderer.ts
  servers/views/interactions/handleConfigurationClicks.ts -> features/servers/views/handleConfigurationClicks.ts
  servers/views/interactions/launchNotifications.ts -> features/active-servers/views/launchNotifications.ts
  servers/views/items/configurationItems.ts -> features/servers/views/configurationItems.ts
  views/active_servers/ActiveServersSectionProvider.ts -> features/active-servers/views/ActiveServersSectionProvider.ts
  views/active_servers/items/activeServerItems.ts -> features/active-servers/views/activeServerItems.ts
  views/servers/items/serverItems.ts -> features/servers/views/serverItems.ts
  views/servers/ServersSectionProvider.ts -> features/servers/views/ServersSectionProvider.ts
Renamed (map §3.2: basename collision): activeServersCommands.ts -> activeServersCommandRegistrations.ts, serverCommands.ts -> serverCommandRegistrations.ts.

The two halves of each section (feature folder + views/<feature>/ +
commands/<feature>/ wrapper) meet in one features/ folder. The preview
renderer and the launch toasts go to features/active-servers (their only
consumers). The wrappers are renamed *CommandRegistrations.ts (they
collided with the feature's own *Commands.ts). Specifiers rewritten in 19
files by the A.5 codemod.

Pins retargeted, path only (class G, asserted text unchanged):
test/servers/{activeServersCommands,lanUrl,multiServerLauncher,
remoteAccessImplementation,serverActionHandlers,serverCommandsContextGuard,
serverConfigReaders}.test.cjs.

ESLint any-free lock: src/active_servers/** (gone) ->
src/features/active-servers/**/*.ts, with activeServerItems.ts (1 `any`,
moved in from views/active_servers) in `ignores`. Also restores the lock on
platform/webview/panelManager.ts, which B1 moved out of active_servers/
without carrying it: src/platform/webview/**/*.ts (no `any`). Warnings
unchanged at 158.

folderDependencies.json: mayImport rewritten; the two exceptions of
src-layout.md §3.5 are now recorded in layerExceptions with their reasons
(core/server -> features/active-servers: multiServerLauncher ->
launchNotifications; features/active-servers -> features/collaboration:
the nested COLLABORATION group). Pairs: active_servers<->servers is gone;
core/server<->servers is now core/server<->features/active-servers.

Docs: ARCHITECTURE.md pipeline, module map (features/active-servers,
features/servers, core/server toasts note), duplication note,
folder-dependency sentence; INDEX.md; verify skill routing; cleanup skill
trap notes (the two-folder active-servers trap and the serverItems.ts
basename trap now describe the merged layout); AI_WORKFLOWS.md example.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged, waivers
unchanged.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…B11)

Pure move, src-layout.md §4 rows B11 (21 files, git mv). Moves (src/ omitted):
  code_analysis/dependencies/dependencyGraphModels.ts -> core/dependencies/dependencyGraphModels.ts
  code_analysis/dependencies/dependencyGraphService.ts -> core/dependencies/dependencyGraphService.ts
  code_analysis/export/exportManifest.ts -> core/export/exportManifest.ts
  code_analysis/export/exportModeSelection.ts -> core/export/exportModeSelection.ts
  code_analysis/export/exportPackageTransaction.ts -> core/export/exportPackageTransaction.ts
  code_analysis/export/gitExportOptions.ts -> core/export/gitExportOptions.ts
  code_analysis/export/gitExportPythonWorkerPool.ts -> core/export/gitExportPythonWorkerPool.ts
  code_analysis/export/gitRevisionExportCore.ts -> core/export/gitRevisionExportCore.ts
  code_analysis/export/gitRevisionExporter.ts -> core/export/gitRevisionExporter.ts
  code_analysis/export/gitTimelineBlobAnalyzer.ts -> core/export/gitTimelineBlobAnalyzer.ts
  code_analysis/historical/analysisUpdateEvents.ts -> core/history/analysisUpdateEvents.ts
  code_analysis/historical/gitAnalysisEligibility.ts -> core/history/gitAnalysisEligibility.ts
  code_analysis/historical/gitAnalysisSessionContext.ts -> core/history/gitAnalysisSessionContext.ts
  code_analysis/historical/gitAnalysisShared.ts -> core/history/gitAnalysisShared.ts
  code_analysis/historical/gitBatchObjectReader.ts -> core/history/gitBatchObjectReader.ts
  code_analysis/historical/gitRepositoryService.ts -> core/history/gitRepositoryService.ts
  code_analysis/historical/gitTimelineBlobIndex.ts -> core/history/gitTimelineBlobIndex.ts
  code_analysis/historical/gitTimelineSampler.ts -> core/history/gitTimelineSampler.ts
  code_analysis/historical/historicalComparisonModels.ts -> core/history/historicalComparisonModels.ts
  code_analysis/historical/historicalComparisonService.ts -> core/history/historicalComparisonService.ts
  code_analysis/historical/projectEvolutionService.ts -> core/history/projectEvolutionService.ts

The dependency graph service, the Git history services and the export
pipeline leave code_analysis/ for core/dependencies, core/history and
core/export. Specifiers rewritten by the A.5 codemod; pins retargeted,
path only (class G, asserted text unchanged) in 23 test files and
eslint.config.mjs (the prefer-nullish-coalescing override for
projectEvolutionService.ts).

folderDependencies.json: mayImport rewritten, no layer violation. Two
pairs that used to be intra-folder become visible and are documented
with their reasons: code_analysis<->core/export (transitional, gone
once B13 moves the Active Analyses export command into features/) and
code_analysis<->core/history (the watchers publish on
analysisUpdateEvents).

Docs: ARCHITECTURE.md module map (core/dependencies, core/history, new
core/export row) and folder-dependency sentence; INDEX.md routing.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged,
waivers unchanged.

Also run (§5.3 risk note): npm run test:python OK (73),
npm run test:analysis OK.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Pure move, src-layout.md §4 rows B12 (64 files, git mv). Moves (src/ omitted):
  code_analysis/configuration/analysisConfigurationStorage.ts -> core/analysis/configuration/analysisConfigurationStorage.ts
  code_analysis/configuration/models/analysisConfiguration.ts -> core/analysis/configuration/analysisConfiguration.ts
  code_analysis/engine/analysisOrchestrator.ts -> core/analysis/analysisOrchestrator.ts
  code_analysis/engine/components/customComponents/analysisModeComponentAsset.ts -> core/analysis/scene-assets/analysisModeComponentAsset.ts
  code_analysis/engine/components/customComponents/analysisTableComponentAsset.ts -> core/analysis/scene-assets/analysisTableComponentAsset.ts
  code_analysis/engine/components/customComponents/avatarComponentAsset.ts -> core/analysis/scene-assets/avatarComponentAsset.ts
  code_analysis/engine/components/customComponents/codexrDebugComponentAsset.ts -> core/analysis/scene-assets/codexrDebugComponentAsset.ts
  code_analysis/engine/components/customComponents/codexrRoomComponentAsset.ts -> core/analysis/scene-assets/codexrRoomComponentAsset.ts
  code_analysis/engine/components/customComponents/collaborationComponentAsset.ts -> core/analysis/scene-assets/collaborationComponentAsset.ts
  code_analysis/engine/components/customComponents/commonComponentAsset.ts -> core/analysis/scene-assets/commonComponentAsset.ts
  code_analysis/engine/components/customComponents/commonGitRefPickerComponentAsset.ts -> core/analysis/scene-assets/commonGitRefPickerComponentAsset.ts
  code_analysis/engine/components/customComponents/dependencyGraphComponentAsset.ts -> core/analysis/scene-assets/dependencyGraphComponentAsset.ts
  code_analysis/engine/components/customComponents/dependencyVisualBudgetComponentAsset.ts -> core/analysis/scene-assets/dependencyVisualBudgetComponentAsset.ts
  code_analysis/engine/components/customComponents/guideScreenComponentAsset.ts -> core/analysis/scene-assets/guideScreenComponentAsset.ts
  code_analysis/engine/components/customComponents/historicalComparisonComponentAsset.ts -> core/analysis/scene-assets/historicalComparisonComponentAsset.ts
  code_analysis/engine/components/customComponents/immersiveRigComponentAsset.ts -> core/analysis/scene-assets/immersiveRigComponentAsset.ts
  code_analysis/engine/components/customComponents/logoComponentAsset.ts -> core/analysis/scene-assets/logoComponentAsset.ts
  code_analysis/engine/components/customComponents/pointerPolicyComponentAsset.ts -> core/analysis/scene-assets/pointerPolicyComponentAsset.ts
  code_analysis/engine/components/customComponents/projectEvolutionComponentAsset.ts -> core/analysis/scene-assets/projectEvolutionComponentAsset.ts
  code_analysis/engine/components/customComponents/renderBudgetComponentAsset.ts -> core/analysis/scene-assets/renderBudgetComponentAsset.ts
  code_analysis/engine/components/customComponents/runtimeAssembly.ts -> core/analysis/scene-assets/runtimeAssembly.ts
  code_analysis/engine/components/customComponents/singleFileRuntimeAssets.ts -> core/analysis/scene-assets/singleFileRuntimeAssets.ts
  code_analysis/engine/components/customComponents/virtualScreenComponentAsset.ts -> core/analysis/scene-assets/virtualScreenComponentAsset.ts
  code_analysis/engine/components/customComponents/xrChartDebugComponentAsset.ts -> core/analysis/scene-assets/xrChartDebugComponentAsset.ts
  code_analysis/engine/components/customComponents/xrChartMappingUiComponentAsset.ts -> core/analysis/scene-assets/xrChartMappingUiComponentAsset.ts
  code_analysis/engine/core/analysisSession.ts -> core/analysis/session/analysisSession.ts
  code_analysis/engine/core/sessionRegistry.ts -> core/analysis/session/sessionRegistry.ts
  code_analysis/engine/launchers/launcherLivePanel.ts -> core/analysis/launchers/launcherLivePanel.ts
  code_analysis/engine/launchers/launcherVisualizeDOM.ts -> core/analysis/launchers/launcherVisualizeDOM.ts
  code_analysis/engine/launchers/launcherXRAnalysis.ts -> core/analysis/launchers/launcherXRAnalysis.ts
  code_analysis/engine/launchers/launchPipeline.ts -> core/analysis/launchers/launchPipeline.ts
  code_analysis/engine/parsers/directoryXRParser.ts -> core/analysis/parsers/directoryXRParser.ts
  code_analysis/engine/parsers/fileXRParser.ts -> core/analysis/parsers/fileXRParser.ts
  code_analysis/engine/parsers/livePanelParser.ts -> core/analysis/parsers/livePanelParser.ts
  code_analysis/engine/parsers/visualizeDOMParser.ts -> core/analysis/parsers/visualizeDOMParser.ts
  code_analysis/engine/processors/analysisBootstrap.ts -> core/analysis/processors/analysisBootstrap.ts
  code_analysis/engine/processors/FileRequirementProcessor.ts -> core/analysis/processors/FileRequirementProcessor.ts
  code_analysis/engine/servers/models/sessionServerModels.ts -> core/analysis/session-servers/sessionServerModels.ts
  code_analysis/engine/servers/serverLaunchOrchestrator.ts -> core/analysis/session-servers/serverLaunchOrchestrator.ts
  code_analysis/engine/servers/sessionServerManager.ts -> core/analysis/session-servers/sessionServerManager.ts
  code_analysis/engine/servers/sseNotificationManager.ts -> core/analysis/session-servers/sseNotificationManager.ts
  code_analysis/engine/utils/backendScriptPath.ts -> core/analysis/python/backendScriptPath.ts
  code_analysis/engine/utils/executePython.ts -> core/analysis/python/executePython.ts
  code_analysis/engine/utils/fileHashCalculator.ts -> core/analysis/utils/fileHashCalculator.ts
  code_analysis/engine/utils/pythonStderrStream.ts -> core/analysis/python/pythonStderrStream.ts
  code_analysis/engine/utils/saveFiles.ts -> core/analysis/utils/saveFiles.ts
  code_analysis/engine/utils/themeUtils.ts -> core/analysis/utils/themeUtils.ts
  code_analysis/engine/watchers/analysisFilePolicy.ts -> core/analysis/watchers/analysisFilePolicy.ts
  code_analysis/engine/watchers/configurationConverter.ts -> core/analysis/watchers/configurationConverter.ts
  code_analysis/engine/watchers/debounceManager.ts -> core/analysis/watchers/debounceManager.ts
  code_analysis/engine/watchers/directoryReanalysisData.ts -> core/analysis/watchers/directoryReanalysisData.ts
  code_analysis/engine/watchers/directoryReAnalyzer.ts -> core/analysis/watchers/directoryReAnalyzer.ts
  code_analysis/engine/watchers/directorySnapshot.ts -> core/analysis/watchers/directorySnapshot.ts
  code_analysis/engine/watchers/directoryWatcherOrchestrator.ts -> core/analysis/watchers/directoryWatcherOrchestrator.ts
  code_analysis/engine/watchers/fileHashTracker.ts -> core/analysis/watchers/fileHashTracker.ts
  code_analysis/engine/watchers/fileWatcherOrchestrator.ts -> core/analysis/watchers/fileWatcherOrchestrator.ts
  code_analysis/engine/watchers/reAnalysisManager.ts -> core/analysis/watchers/reAnalysisManager.ts
  code_analysis/engine/watchers/sessionWatcherManager.ts -> core/analysis/watchers/sessionWatcherManager.ts
  code_analysis/refresh/analysisRefreshCoordinator.ts -> core/analysis/refresh/analysisRefreshCoordinator.ts
  code_analysis/refresh/analysisViewModes.ts -> core/analysis/refresh/analysisViewModes.ts
  code_analysis/services/xrFieldSchemaService.ts -> core/analysis/python/xrFieldSchemaService.ts
  utils/languageMetadata.ts -> core/analysis/languages/languageMetadata.ts
  utils/sha256Generator.ts -> core/analysis/utils/sha256Generator.ts
  utils/supportedLanguages.ts -> core/analysis/languages/supportedLanguages.ts

The analysis engine leaves code_analysis/ for core/analysis/: launchers,
parsers, processors, session (was engine/core), session-servers (was
engine/servers), watchers, refresh, configuration, the Python bridge
(python/: executePython, backendScriptPath, pythonStderrStream,
xrFieldSchemaService), scene-assets (was
engine/components/customComponents), utils, and the language tables from
src/utils (languages/). sha256Generator goes to core/analysis/utils
(§4.1: it imports the logger). The Python sources and every packaged path
are untouched (webpack `to: 'code_analysis/python'`, backendScriptPath's
dist/code_analysis/python). The lazy require in directoryReAnalyzer.ts
stays lazy; only its specifier changed. Specifiers rewritten by the A.5
codemod.

Pins retargeted, path only (class G, asserted text unchanged): the test
files listed by the retarget pass, plus test/helpers/sceneAssetModules.cjs
(SCENE_ASSETS_OUT -> out/core/analysis/scene-assets), the "must not come
back" existence check for visualStyleComponentAsset.ts in
xrDataSource.test.cjs (now checks the folder the asset would live in),
and the comment pin in backend/tests/analyzers/
test_analyzer_extension_coverage.py.

ESLint: the no-require-imports override follows directoryReAnalyzer.ts;
the any-free lock src/code_analysis/engine/watchers/** ->
src/core/analysis/watchers/**, and xrFieldSchemaService.ts (locked through
code_analysis/services/**) carries its lock into src/core/analysis/python/**
with executePython.ts (2 `any`) in `ignores`. Warnings unchanged at 158.

folderDependencies.json: mayImport rewritten, no layer violation.
Pairs: code_analysis<->core/server is now core/analysis<->core/server,
code_analysis<->core/history is now core/analysis<->core/history (reasons
rewritten for the new edges), code_analysis<->core/export is gone.

Docs: ARCHITECTURE.md pipeline, data-flow paragraph, module map
(core/analysis row, code_analysis row reduced to what is left, utils
row), component-asset contract, folder-dependency sentence;
XR_COMPONENTS.md; AI_WORKFLOWS.md; runtime-component and add-language
skills; PYTHON_ANALYSIS.md; INDEX.md. templates/components/COMPONENTS.md
says `src/.../customComponents/runtimeAssembly.ts` and is left alone
(templates/ ships; noted in the session log).

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged,
waivers unchanged.

Also run (§5.3 risk note): npm run test:python OK (73),
npm run test:analysis OK, npm run test:xr-harness passed,
test:xr-immersive-harness passed.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
…B13)

Pure move, src-layout.md §4 rows B13 (55 files, git mv). Moves (src/ omitted):
  code_analysis/commands/analysisCommands.ts -> features/analysis/commands/analysisCommands.ts
  code_analysis/commands/clean_analysis/cleanAnalysisCommands.ts -> features/analysis/commands/cleanAnalysisCommands.ts
  code_analysis/commands/directory_analysis/directoryAnalysisCommands.ts -> features/analysis/commands/directory/directoryAnalysisCommands.ts
  code_analysis/commands/directory_analysis/directoryAnalysisLivePanelCommands.ts -> features/analysis/commands/directory/directoryAnalysisLivePanelCommands.ts
  code_analysis/commands/directory_analysis/directoryAnalysisXRCommands.ts -> features/analysis/commands/directory/directoryAnalysisXRCommands.ts
  code_analysis/commands/directory_analysis/projectAnalysisCommands.ts -> features/analysis/commands/directory/projectAnalysisCommands.ts
  code_analysis/commands/dom_visualization/domVisualizationCommands.ts -> features/analysis/commands/dom/domVisualizationCommands.ts
  code_analysis/commands/file_analysis/fileAnalysisCommands.ts -> features/analysis/commands/file/fileAnalysisCommands.ts
  code_analysis/commands/file_analysis/fileAnalysisLivePanelCommands.ts -> features/analysis/commands/file/fileAnalysisLivePanelCommands.ts
  code_analysis/commands/file_analysis/fileAnalysisXRCommands.ts -> features/analysis/commands/file/fileAnalysisXRCommands.ts
  code_analysis/commands/subsections/active_analyses/activeAnalysesCommands.ts -> features/analysis/sections/active-analyses/activeAnalysesCommandRegistrations.ts
  code_analysis/commands/subsections/analysis_settings/analysis_directory_mode/analysisDirectoryModeCommands.ts -> features/analysis/sections/settings/analysis-directory-mode/analysisDirectoryModeCommands.ts
  code_analysis/commands/subsections/analysis_settings/analysis_file_mode/analysisFileModeCommands.ts -> features/analysis/sections/settings/analysis-file-mode/analysisFileModeCommands.ts
  code_analysis/commands/subsections/analysis_settings/analysisSettingsCommands.ts -> features/analysis/sections/settings/analysisSettingsCommands.ts
  code_analysis/commands/subsections/analysis_settings/auto_analysis_delay/autoAnalysisDelayCommands.ts -> features/analysis/sections/settings/auto-analysis-delay/autoAnalysisDelayCommands.ts
  code_analysis/commands/subsections/analysis_settings/auto_analysis_enabled/autoAnalysisEnabledCommands.ts -> features/analysis/sections/settings/auto-analysis-enabled/autoAnalysisEnabledCommands.ts
  code_analysis/commands/subsections/analysis_settings/chart_type_directory/chartTypeDirectoryCommands.ts -> features/analysis/sections/settings/chart-type-directory/chartTypeDirectoryCommands.ts
  code_analysis/commands/subsections/analysis_settings/chart_type_file/chartTypeFileCommands.ts -> features/analysis/sections/settings/chart-type-file/chartTypeFileCommands.ts
  code_analysis/commands/subsections/analysis_settings/chart_type_shared/chartTypeCommandFactory.ts -> features/analysis/sections/settings/chartTypeCommandFactory.ts
  code_analysis/commands/subsections/analysis_settings/dimension_mapping_directory/dimensionMappingDirectoryCommands.ts -> features/analysis/sections/settings/dimension-mapping-directory/dimensionMappingDirectoryCommands.ts
  code_analysis/commands/subsections/analysis_settings/dimension_mapping_file/dimensionMappingFileCommands.ts -> features/analysis/sections/settings/dimension-mapping-file/dimensionMappingFileCommands.ts
  code_analysis/commands/subsections/analysis_settings/filesByLanguageSortingCommands.ts -> features/analysis/sections/settings/files-by-language-sorting/filesByLanguageSortingCommands.ts
  code_analysis/commands/subsections/analysis_settings/profile_configuration/profileConfigurationCommands.ts -> features/analysis/sections/settings/profile-configuration/profileConfigurationCommands.ts
  code_analysis/commands/subsections/analysis_settings/view_theme/viewThemeCommands.ts -> features/analysis/sections/settings/view-theme/viewThemeCommands.ts
  code_analysis/commands/subsections/files_by_language/filesByLanguageCommands.ts -> features/analysis/sections/files-by-language/filesByLanguageCommands.ts
  code_analysis/commands/subsections/project_by_language/projectByLanguageCommands.ts -> features/analysis/sections/project-by-language/projectByLanguageCommands.ts
  code_analysis/services/serverWatcherIntegration.ts -> features/analysis/services/serverWatcherIntegration.ts
  code_analysis/services/workspaceSnapshotModel.ts -> features/analysis/workspace/workspaceSnapshotModel.ts
  code_analysis/services/workspaceSnapshotService.ts -> features/analysis/workspace/workspaceSnapshotService.ts
  code_analysis/utils/filesByLanguageSortingUtils.ts -> features/analysis/sections/settings/files-by-language-sorting/filesByLanguageSortingUtils.ts
  code_analysis/utils/workspaceFileScanner.ts -> features/analysis/workspace/workspaceFileScanner.ts
  code_analysis/views/AnalysisSectionProvider.ts -> features/analysis/views/AnalysisSectionProvider.ts
  code_analysis/views/interactions/handleAnalysisClicks.ts -> features/analysis/views/handleAnalysisClicks.ts
  code_analysis/views/items/analysisItems.ts -> features/analysis/views/analysisItems.ts
  code_analysis/views/subsections/active_analyses/commands/activeAnalysesCommands.ts -> features/analysis/sections/active-analyses/activeAnalysesCommands.ts
  code_analysis/views/subsections/active_analyses/services/activeAnalysesDataService.ts -> features/analysis/sections/active-analyses/activeAnalysesDataService.ts
  code_analysis/views/subsections/analysis_settings/analysis_directory_mode/analysisDirectoryMode.ts -> features/analysis/sections/settings/analysis-directory-mode/analysisDirectoryMode.ts
  code_analysis/views/subsections/analysis_settings/analysis_file_mode/analysisFileMode.ts -> features/analysis/sections/settings/analysis-file-mode/analysisFileMode.ts
  code_analysis/views/subsections/analysis_settings/analysisSettingsSubsectionProvider.ts -> features/analysis/sections/settings/analysisSettingsSubsectionProvider.ts
  code_analysis/views/subsections/analysis_settings/auto_analysis_delay/autoAnalysisDelay.ts -> features/analysis/sections/settings/auto-analysis-delay/autoAnalysisDelay.ts
  code_analysis/views/subsections/analysis_settings/auto_analysis_enabled/autoAnalysisEnabled.ts -> features/analysis/sections/settings/auto-analysis-enabled/autoAnalysisEnabled.ts
  code_analysis/views/subsections/analysis_settings/chart_type_directory/chartTypeDirectory.ts -> features/analysis/sections/settings/chart-type-directory/chartTypeDirectory.ts
  code_analysis/views/subsections/analysis_settings/chart_type_file/chartTypeFile.ts -> features/analysis/sections/settings/chart-type-file/chartTypeFile.ts
  code_analysis/views/subsections/analysis_settings/chart_type_shared/sharedChartTypeSettingCore.ts -> features/analysis/sections/settings/sharedChartTypeSettingCore.ts
  code_analysis/views/subsections/analysis_settings/dimension_mapping_directory/dimensionMappingDirectory.ts -> features/analysis/sections/settings/dimension-mapping-directory/dimensionMappingDirectory.ts
  code_analysis/views/subsections/analysis_settings/dimension_mapping_file/dimensionMappingFile.ts -> features/analysis/sections/settings/dimension-mapping-file/dimensionMappingFile.ts
  code_analysis/views/subsections/analysis_settings/dimension_mapping_file/dimensionMappingValidator.ts -> features/analysis/sections/settings/dimension-mapping-file/dimensionMappingValidator.ts
  code_analysis/views/subsections/analysis_settings/dimension_mapping_shared/sharedDimensionMappingSettingCore.ts -> features/analysis/sections/settings/sharedDimensionMappingSettingCore.ts
  code_analysis/views/subsections/analysis_settings/files_by_language_sorting/filesByLanguageSorting.ts -> features/analysis/sections/settings/files-by-language-sorting/filesByLanguageSorting.ts
  code_analysis/views/subsections/analysis_settings/profile_configuration/profileConfiguration.ts -> features/analysis/sections/settings/profile-configuration/profileConfiguration.ts
  code_analysis/views/subsections/analysis_settings/view_theme/viewTheme.ts -> features/analysis/sections/settings/view-theme/viewTheme.ts
  code_analysis/views/subsections/files_by_language/filesByLanguageSubsectionProvider.ts -> features/analysis/sections/files-by-language/filesByLanguageSubsectionProvider.ts
  code_analysis/views/subsections/project_by_language/projectByLanguageSubsectionProvider.ts -> features/analysis/sections/project-by-language/projectByLanguageSubsectionProvider.ts
  commands/analysis/AnalysisCommands.ts -> features/analysis/commands/analysisCommandRegistrations.ts
  utils/uriPathConverter.ts -> features/analysis/commands/dom/uriPathConverter.ts
Renamed (map §3.2: basename collision): activeAnalysesCommands.ts -> activeAnalysesCommandRegistrations.ts, AnalysisCommands.ts -> analysisCommandRegistrations.ts.

The rest of code_analysis/ (the ANALYSES section: per-mode commands, the
tree and its subsections, the workspace scan, the server watcher
integration) and the commands/analysis wrapper meet in
features/analysis/. Subsection folders are kebab-case and the commands
and views halves of each setting share one folder under
sections/settings/. src/code_analysis/ is gone (the Python backend has
lived in backend/src since the monorepo move; the packaged
dist/code_analysis/python path is untouched). uriPathConverter.ts leaves
src/utils for commands/dom, its only consumer. Specifiers rewritten by the
A.5 codemod.

Pins retargeted, path only (class G, asserted text unchanged): the test
files listed by the retarget pass, plus chartTypeCommands.test.cjs (its
BASE folder and the two kebab-case setting folders),
profileConfigurationCommands.test.cjs (header comment), and three
"must not exist" guards that would otherwise pass vacuously:
reanalysisArchitecture.test.cjs (the removed feature's folder, now looked
for under features/analysis, features/analysis/commands and
features/analysis/sections) and analysisPaths.test.cjs (the empty legacy
storage folder, now under core/analysis).

ESLint: the prefer-nullish-coalescing override follows
sharedDimensionMappingSettingCore.ts; the any-free locks move with their
files: src/code_analysis/services/** -> src/features/analysis/services/**
and src/features/analysis/workspace/** (workspaceFileScanner.ts joins it,
it has no `any`), src/code_analysis/views/subsections/active_analyses/** ->
src/features/analysis/sections/active-analyses/** (the command
registrations file that joins it has no `any`). Warnings unchanged at 158.

folderDependencies.json: mayImport rewritten, no new layer violation and
no new pair.

Docs: ARCHITECTURE.md pipeline and module map (features/analysis row,
code_analysis rows removed, folder-size hint); INDEX.md, AI_WORKFLOWS.md
and CLAUDE.md context-size hints (code_analysis "246 files" -> core/ and
features/analysis together, about 120); packages/README.md.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged,
waivers unchanged.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Pure move, src-layout.md §4 rows B14 (7 files, git mv). Moves (src/ omitted):
  commands/common/generalCommands.ts -> app/commands/generalCommands.ts
  commands/index.ts -> app/commands/registerAllCommands.ts
  core/startup/startupCoordinator.ts -> app/startup/startupCoordinator.ts
  utils/commonCommands.ts -> app/sidebar/commonCommands.ts
  views/common/sectionChild.ts -> app/sidebar/sectionChild.ts
  views/ModularTreeDataProvider.ts -> app/sidebar/ModularTreeDataProvider.ts
  views/sectionDefinitions.ts -> app/sidebar/sectionDefinitions.ts
Renamed (map §3.2: basename collision): index.ts -> registerAllCommands.ts.

The composition root gets its own layer, app/: the command aggregator
(commands/index.ts renamed registerAllCommands.ts, the name of the one
function it holds, per the map), generalCommands, the unified sidebar
tree (ModularTreeDataProvider, sectionDefinitions, sectionChild,
commonCommands) and the startup coordinator. src/commands, src/views,
src/utils and src/core/startup are gone: src/ now holds the five areas
and extension.ts. The eight lazy require() calls in
ModularTreeDataProvider.ts stay lazy require() calls; only their
specifiers changed (../X -> ../../features/X). Specifiers rewritten by
the A.5 codemod. One comment in platform/commands/commandRegistry.ts
named src/commands/index.ts and now names the new file (no emitted code
changes: H3 compares with --removeComments).

Pins retargeted, path only (class G, asserted text unchanged) in 8 test
files; lintContract.test.cjs sorts the exemption list it reads, so the
expected literal was re-sorted with the new path (same three files).

ESLint: the no-require-imports override follows ModularTreeDataProvider.ts.
No any-free lock involved. Warnings unchanged at 158.

folderDependencies.json: mayImport rewritten (app may import every
feature, core/python-env, core/server and platform); no layer violation,
no new pair; the commands, views, utils and core/startup units are gone.

Docs: ARCHITECTURE.md activation flow, module map (app/ row replaces the
views/, commands/, core/startup and utils/ rows), aggregation-point note;
CLAUDE.md (assertUniqueCommandIds lives in platform/commands and is
called by app/commands/registerAllCommands.ts); AI_WORKFLOWS.md; cleanup
skill deadness check 3.

H3 (src-layout.md §6): compare-out 291 modules, 0 problems; webpack
(mode none) 512 modules / 279 src modules, unchanged; featureBaseline
green without --write; guardrails --renamed: ratcheted unchanged,
waivers unchanged.

Gates: npm test 1059/1059 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
Closes the move (B0-B14) with a guard and the records.

- test/tooling/srcLayout.test.cjs: src/ holds exactly the five layers
  (app, core, features, platform, shared) and extension.ts; core/ and
  features/ hold folders only (they are read two levels deep); every
  folder is kebab-case; no index.ts only re-exports. Paths are built with
  path.join and compared as posix, so it runs the same on Windows. A
  mutation check (a snake_case folder holding a re-export index.ts) fails
  two of its tests.
- CHANGELOG [1.2.1]: "Changed (internal): src/ reorganized feature-first;
  no behaviour change".
- ARCHITECTURE.md: file count, the layout paragraph and the per-feature
  convention (commands/ with *Commands.ts and *CommandRegistrations.ts,
  flat views/, sections/<subsection>/, core/<domain>/ for shared engine
  code). INDEX.md routing for XR and analysis tasks. DEVELOPMENT.md test
  tree.
- docs/cleanup/src-layout.md §7 Result: files per batch, the H3 result,
  the package comparison and the before/after shape (A.7: 337 -> 291
  files, 172 -> 99 folders, 57 snake_case -> 0, 70 -> 9 single-file leaf
  folders, 48 index.ts -> 0, 5 -> 4 two-way folder pairs).
- .claude/docs/v1.2.1/sessions/55-src-layout.md: session log with the F5
  smoke checklist for the maintainer.

package:vsix against a build of 41cfc52: the same 199 files, every one
byte-identical except CHANGELOG.md, dist/extension.js (-21 KB, the
barrel modules) and the get-port lazy chunk, renamed 756 -> 515 by
webpack's deterministic ids with identical contents.

Gates: npm test 1064/1064 (lint 158 = budget, typecheck, unreachable 0).

Refs #55

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FkKt8WKa6XiX4gKgDL8Hu
@aMonteSl aMonteSl self-assigned this Nov 25, 2026
@aMonteSl
aMonteSl merged commit 913cb36 into v1.2.1 Nov 25, 2026
7 checks passed
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.

2 participants