Skip to content

[Story] Remove dead templates, Python code, assets, media and tooling #31

Done

Description

@aMonteSl

As a contributor cloning Code-XR,
I want the repository to contain only files that something uses,
so that the working tree is small, searches are meaningful and nobody maintains dead runtimes or scripts.

Scope

From ROADMAP W2d (re-validated):

  • Templates: htmlLiveReload.js, uncalled baseName(), the abandoned visual-style feature (asset, 236-line runtime, test), two per-frame virtual-screen logs (W2-53..57).
  • Python: the dead livePanels reanalysis twin, python/examples/, the dead progress/warning logger API, seven never-called helpers, the unread --output flag and project type, html/ on sys.path, the unreachable .st analyzer, resume_only + argparse CLI, four redundant stderr lines (W2-58..66).
  • Assets and tooling: resources/languages_icons/no_color/ (34 MB), the empty integration-test lane and its dev dependencies, orphan esbuild.config.mjs (+ docs/monorepo.md and the root test:integration mirror) (W2-03, W2-67..69).

New from the 2026-11-25 sweep (docs/cleanup/sweep-outside-src.md):

  • media/: four v1.1.0 GIFs (158 MB) and three PNGs (3.5 MB) referenced by nothing; ADR preview screenshots (7.2 MB) not linked from any ADR. History is not rewritten; only the working tree shrinks.
  • Unused examples shipped in the VSIX: examples/charts/pie/population.html and four unreferenced examples/data/*.json.
  • Byte-identical test fixtures (typescript_sample.ts = javascript_sample.js, two identical test/manual JSONs) — only if no test needs both.
  • Stale .gitignore entries; the orphan .claude/plans/ file.

Acceptance criteria

  • Each deletion proven (grep of name and path across src, templates, tests, scripts, webpack, files allowlist, docs and the website repo) and committed on its own.
  • npm test, npm run test:python, npm run test:analysis green; harness run for the touched runtimes.
  • VSIX listing diff contains only the intended removals; size recorded before/after.
  • Working tree at least 34 MB smaller (plus the media removals).
  • CHANGELOG line only where a user can notice (smaller package).

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. added
    tfm
    user-story
    on Nov 25, 2026
  3. aMonteSl commented on Nov 25, 2026

    @aMonteSl
    CollaboratorAuthor

    Progress: assets/media landed in #45, dead template code (W2-53..57) in #49, both merged into v1.2.1. The Python part (W2-58..66) is in #50. This story closes when #50 merges.


    Generated by Claude Code

  4. added a commit that references this issue on Nov 25, 2026
  5. aMonteSl commented on Nov 25, 2026

    @aMonteSl
    CollaboratorAuthor

    All three parts landed in v1.2.1: assets/media (#45), templates (#49) and Python W2-58..66 (#50). Closing.


    Generated by Claude Code

  6. added
    area: extension
    area: python-backend
    area: xr-scene
    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: extensionarea: python-backendarea: xr-scenestream: cleanup-refactortfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions