Skip to content

[Story] Fix the monorepo seams and stale project documentation #32

Done

Description

@aMonteSl

As a developer working in the new monorepo,
I want every path, script, document and agent guide to describe the layout that actually exists,
so that the backend, the extension and the future IDE each own their files and nobody follows a stale instruction.

Scope (new findings, docs/cleanup/sweep-outside-src.md)

  • Runtime safety: the development fallback extensionPath/../../backend/src in executePython.ts and gitRevisionExporter.ts escapes the extension folder; in an installed extension it could resolve outside it. Gate it on development mode (behaviour-neutral for a correct install; CHANGELOG Fixed line).
  • Backend ownership: move backend-only material out of the extension (test/fixtures/dependency-languages/, manual_test/, test/analysis/manual_metrics_suite.py, scripts/report-manual-metrics.py, the three Python runners) into backend/; root test:backend no longer delegates through the extension workspace. Add backend/requirements.txt generated from (and tested against) the pin in pythonPackageManifest.ts.
  • Cross-platform config: .mcp.json uses cmd /c npx (Windows only).
  • Docs and agent guides: the session-close skill and AI_WORKFLOWS.md still run the 1.2.0 cycle; add-language and verify skills describe paths/working directories that no longer exist; DEVELOPMENT.md, XR_COMPONENTS.md, INDEX.md, the root README (media/ claim) and CLAUDE.md doc-debt pointer are stale; apps/vscode-extension/README.md:75 links outside the package.
  • Repository identity: package.json repository.url and 40 README links still point at aMonteSl/CodeXR — decision for the maintainer (kept as is unless he confirms the canonical URL).

Acceptance criteria

  • npm run test:python, test:analysis, test:htmlanalysis and report:manual-metrics work from the root after the move, on the three OSes in CI.
  • No document or skill under .claude/ references a path or branch that does not exist (checked by grep in the PR).
  • The dev fallback can no longer resolve outside the extension in production mode (unit test).
  • VSIX contents unchanged except for intended differences.

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. added
    tfm
    user-story
    on Nov 25, 2026
  3. added a commit that references this issue on Nov 25, 2026
  4. aMonteSl commented on Nov 25, 2026

    @aMonteSl
    CollaboratorAuthor

    Done in #46, merged into v1.2.1 (CI green on Windows, Linux and macOS): development-only Python fallback (CHANGELOG Fixed), backend test material and runners moved into backend/, backend/requirements.txt generated from the TS manifest with a drift test, stale agent docs and skills moved to v1.2.1. .mcp.json kept as is on purpose (documented). repository.url left for the maintainer's decision.


    Generated by Claude Code

  5. added
    area: tooling
    stream: cleanup-refactor
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: toolingstream: cleanup-refactortfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions