You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Story] Simplify and de-duplicate the TypeScript analysis pipeline, export and settings code #35
area: extensionVS Code extension host (TypeScript): commands, launcher, servers, servicesstream: cleanup-refactorEpic #26: deep cleanup and restructuring of the extensiontfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
As a developer extending the analysis pipeline, I want the most complex TypeScript functions broken into named, tested steps and the copy-pasted helpers merged, so that a change is made in one place and can be understood without reading 300-line functions.
Scope (ROADMAP W4-T, T01–T55, each with its behavioural net first)
executePython.ts: recovery branch that cannot recover, recoverXRResult, spawnAndCollect discriminated union, finishAnalysis, typed analysis result (T01–T06).
XR parsers: copy steps and guard list as data (T07–T09).
Export: buildExportManifest (CCN 61) and runGitRevisionExport in phases, failure classification table, validateExportPackage (T19–T28, T34, T35).
Done. Part A merged via #63 and part B via #61, both into v1.2.1 with CI green on Linux, Windows and macOS.
Acceptance, measured on the merged tree:
worst TypeScript function CCN 20 (target ≤ 25); functions over CCN 30: 0 (was 3);
complexity over10/15/20/30: 69/25/6/3 → 54/9/0/0;
floating promises: 0, now a lint error;
ESLint warning budget 553 → 204; functions over 80 lines 45 → 36; any 166 → 130;
npm test 1053/1053 and test:analysis passing.
Every refactor landed after a characterization test that was green against the unchanged code. The behaviour quirks pinned for 1.3.0 and the F5 checklist are in .claude/docs/v1.2.1/sessions/35a-ts-pipeline.md; the F5 checks run in #43.
area: extensionVS Code extension host (TypeScript): commands, launcher, servers, servicesstream: cleanup-refactorEpic #26: deep cleanup and restructuring of the extensiontfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Activity
test(network): characterize the three unguarded LAN URL sites
refactor(network): LAN URL at the three unguarded sites
refactor(active-servers): one remote-manager guard
test(servers): characterize the extension-context guard
refactor(servers): requireExtensionContext helper
test(servers): characterize the two server-config readers
refactor(servers): one getServerConfig
refactor(collaboration): derive the room's avatar ids from the model
refactor(promises): explicit void in code_analysis
refactor(promises): explicit void in the server modules
refactor(promises): explicit void in the view and data modules
refactor(promises): explicit void in the remaining modules; no-floati…
docs(v1.2.1): session log for #35 part B
aMonteSl commentedon Nov 25, 2026
Part B (T29–T33, T36–T59) is merged in #61. CI is green on Linux, macOS and Windows.
no-floating-promisesis now an error.Part A (T01–T28, T34, T35) is still in progress. This story closes when it lands.
Generated by Claude Code
Merge pull request #61 from Code-XR-Project/claude/project-thread-n2s…
aMonteSl commentedon Nov 25, 2026
Done. Part A merged via #63 and part B via #61, both into
v1.2.1with CI green on Linux, Windows and macOS.Acceptance, measured on the merged tree:
any166 → 130;npm test1053/1053 andtest:analysispassing.Every refactor landed after a characterization test that was green against the unchanged code. The behaviour quirks pinned for 1.3.0 and the F5 checklist are in
.claude/docs/v1.2.1/sessions/35a-ts-pipeline.md; the F5 checks run in #43.Generated by Claude Code
Merge pull request #63 from Code-XR-Project/claude/project-thread-n2s…