Skip to content

[Story] Remove the scaffold, debug and unreachable commands (authorized removals) #30

Done

Description

@aMonteSl

As a Code-XR user,
I want the command palette to offer only commands that work and that are meant for me,
so that I am not exposed to a "Hello World" scaffold or to debug commands that can delete my Python environment.

Scope (ROADMAP §B decision 2 and W2c, authorized by the maintainer on 2026-09-18)

  • Remove the 17 registered commands nothing can invoke (pending-removal in test/commands/internalCommandIds.cjs): 11 superseded setters (W2-45, plus the private methods they orphan), 2 never-wired files-by-language commands (W2-46), cleanAnalysis keeping the startup cleanup helpers (W2-47), visualizeData.debugState (W2-48), the two debug theme commands and debugThemeProblem.ts (W2-49).
  • Remove CodeXR.helloWorld (W2-50).
  • Hide codeXR.pythonEnv.debugFailInstallation from the palette (W2-51).
  • Drop the redundant "when": "true" on the view (W2-52).
  • Keep the published legacy aliases codexr.servers.refresh / codexr.servers.refreshServers.

Acceptance criteria

  • One commit per row; each carries a CHANGELOG [1.2.1] → Removed line and shrinks the pending-removal list.
  • Contributed commands 70 → 69; registered 123 → 105/106; palette-visible debug or scaffold commands 2 → 0.
  • assertUniqueCommandIds and the command-contract test stay green; the legacy aliases are still registered.
  • The startup cleanup that cleanAnalysis shared still runs (manual F5 check recorded).

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 #47, merged into v1.2.1 (CI green on the three OSes). W2-45..W2-52, one commit each: 17 unreachable commands and Hello World removed, debugFailInstallation hidden from the palette, no-op when dropped. Contributed commands 70 → 69, pending-removal 17 → 0, palette debug/scaffold 2 → 0; legacy refresh aliases kept; CHANGELOG [1.2.1] Removed/Changed lines. F5 checklist in .claude/docs/v1.2.1/sessions/30-authorized-command-removals.md (verified in the final run, #43).


    Generated by Claude Code

  5. added
    area: extension
    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: extensionstream: cleanup-refactortfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions