chore: remove unused surfaces (VS Code extension, statusline, landing assets, Docker) #14

Merged
nntrivi2001 merged 1 commits from chore/remove-unused-surfaces into main 2026-09-10 07:12:09 +00:00
Owner

Was stacked on #13; #13 is now merged (a146284) and this PR is retargeted at main.

The repo shipped five install/publish surfaces that nothing in the project builds, tests, or documents as supported any more. Each carried its own stale docs. The container path additionally described a Dockerfile whose COPY statusline/ would have broken the image build the moment that directory went away — found by scanning every COPY target for existence.

Removed

Surface Files Why
vscode-extension/ 16 Marketplace extension published under hoangsonw.claude-code-agent-monitor — an ID we do not own
statusline/ 3 Standalone CLI statusline, independent of the dashboard
Root landing/wiki PWA assets 17 sw.js, manifest.json, robots.txt, sitemap.xml, og-image.svg, favicon.svg, fonts/ — for pages that no longer exist
.superpowers/ 4 Scratch brainstorm state, already covered by .gitignore:55, so it predates the rule
Container publish path Dockerfile, docker-compose.yml, .dockerignore, 5 Makefile targets, 2 npm scripts Nothing in CI or the docs builds or publishes an image

Kept deliberately — the USER's containers, not ours

This is the line the change is careful about; none of these are ours to delete:

  • scripts/install-hooks.js container detection + AGENTHUB_ALLOW_CONTAINER_HOOKS — this is what guards issue #193 (a hook path written from inside a container poisoning a bind-mounted host ~/.claude), plus its test
  • server/lib/lane-detect.js docker-compose service detection and server/data/profile-templates/postgres-compose/ — a lane's own compose file
  • server/lib/stage-detect.js docker push detection
  • the host.docker.internal Prometheus notes in docs/API.md / server/routes/metrics.js
  • the Config Explorer's reads of the user's own ~/.claude/statusline.py (cc-discovery.js, cc-watcher.js)
  • .devcontainer/ stays as a dev environment; only its docker-in-docker feature is dropped, since it existed solely to build the Dockerfile this PR removes

Docs follow the code

ARCHITECTURE.md loses the VS Code, statusline and container sections plus two dead TOC anchors, and its PWA section is rewritten from three PWAs to one (every claim re-checked against client/public/sw.js and manifest.json). Same removals in INSTALL.md, SETUP.md, docs/DEPLOYMENT.md, server/README.md, client/README.md, docs/README.md, docs/HOOKS.md, docs/DATABASE.md. The Makefile target count in ARCHITECTURE.md is corrected 25 → 17 (it was already stale before this PR). docs/DEPLOYMENT.md keeps its Kubernetes section but now states outright that the repo ships no image — build your own — so image: agenthub:latest is not left dangling.

Verification

npm run test:server 1633 pass / 0 fail · npm run test:client 475 pass / 0 fail · npm run build green · prettier --check clean · file-header audit clean · 0 new duplicate headings (the 2 in ARCHITECTURE.md pre-exist in main; this PR removes one) · 0 new dead TOC anchors or dead relative links (the 1 anchor + 4 links flagged all pre-exist in main and are left alone).

> Was stacked on #13; #13 is now merged (`a146284`) and this PR is retargeted at `main`. The repo shipped five install/publish surfaces that nothing in the project builds, tests, or documents as supported any more. Each carried its own stale docs. The container path additionally described a `Dockerfile` whose `COPY statusline/` would have broken the image build the moment that directory went away — found by scanning every `COPY` target for existence. ## Removed | Surface | Files | Why | |---|---|---| | `vscode-extension/` | 16 | Marketplace extension published under `hoangsonw.claude-code-agent-monitor` — an ID we do not own | | `statusline/` | 3 | Standalone CLI statusline, independent of the dashboard | | Root landing/wiki PWA assets | 17 | `sw.js`, `manifest.json`, `robots.txt`, `sitemap.xml`, `og-image.svg`, `favicon.svg`, `fonts/` — for pages that no longer exist | | `.superpowers/` | 4 | Scratch brainstorm state, already covered by `.gitignore:55`, so it predates the rule | | Container publish path | `Dockerfile`, `docker-compose.yml`, `.dockerignore`, 5 Makefile targets, 2 npm scripts | Nothing in CI or the docs builds or publishes an image | ## Kept deliberately — the USER's containers, not ours This is the line the change is careful about; none of these are ours to delete: - `scripts/install-hooks.js` container detection + `AGENTHUB_ALLOW_CONTAINER_HOOKS` — this is what guards **issue #193** (a hook path written from inside a container poisoning a bind-mounted host `~/.claude`), plus its test - `server/lib/lane-detect.js` docker-compose service detection and `server/data/profile-templates/postgres-compose/` — a *lane's own* compose file - `server/lib/stage-detect.js` `docker push` detection - the `host.docker.internal` Prometheus notes in `docs/API.md` / `server/routes/metrics.js` - the Config Explorer's reads of the user's own `~/.claude/statusline.py` (`cc-discovery.js`, `cc-watcher.js`) - `.devcontainer/` stays as a dev environment; only its `docker-in-docker` feature is dropped, since it existed solely to build the Dockerfile this PR removes ## Docs follow the code `ARCHITECTURE.md` loses the VS Code, statusline and container sections plus two dead TOC anchors, and its PWA section is rewritten from three PWAs to one (every claim re-checked against `client/public/sw.js` and `manifest.json`). Same removals in `INSTALL.md`, `SETUP.md`, `docs/DEPLOYMENT.md`, `server/README.md`, `client/README.md`, `docs/README.md`, `docs/HOOKS.md`, `docs/DATABASE.md`. The Makefile target count in `ARCHITECTURE.md` is corrected 25 → 17 (it was already stale before this PR). `docs/DEPLOYMENT.md` keeps its Kubernetes section but now states outright that the repo ships no image — build your own — so `image: agenthub:latest` is not left dangling. ## Verification `npm run test:server` 1633 pass / 0 fail · `npm run test:client` 475 pass / 0 fail · `npm run build` green · `prettier --check` clean · file-header audit clean · 0 new duplicate headings (the 2 in `ARCHITECTURE.md` pre-exist in `main`; this PR removes one) · 0 new dead TOC anchors or dead relative links (the 1 anchor + 4 links flagged all pre-exist in `main` and are left alone).
nntrivi2001 changed target branch from fix/plugin-install-and-repo-rename to main 2026-09-10 07:11:53 +00:00
nntrivi2001 added 1 commit 2026-09-10 07:11:53 +00:00
The repo shipped five install/publish surfaces that nothing in the project builds, tests or documents as supported any more. Each one carried its own stale docs, and the Docker/Podman path additionally described a Dockerfile whose COPY of statusline/ would have broken the build the moment that directory went away.

Removed: vscode-extension/ (16 files, marketplace extension for an ID we do not own); statusline/ (3 files, standalone CLI statusline); the repo-root landing/wiki PWA assets (sw.js, manifest.json, robots.txt, sitemap.xml, og-image.svg, favicon.svg, fonts/ - 17 files for pages that no longer exist); .superpowers/ (4 files of scratch brainstorm state, already covered by .gitignore:55); and the container publish path (Dockerfile, docker-compose.yml, .dockerignore, 5 Makefile targets, 2 npm scripts).

Kept deliberately - these are about the USER's containers, not ours: scripts/install-hooks.js container detection and AGENTHUB_ALLOW_CONTAINER_HOOKS (issue #193), server/lib/lane-detect.js docker-compose service detection, server/data/profile-templates/postgres-compose/, server/lib/stage-detect.js 'docker push' detection, the host.docker.internal Prometheus notes, the Config Explorer's reads of the user's own ~/.claude/statusline.py, and .devcontainer/ (its docker-in-docker feature is dropped since it existed only to build the removed Dockerfile).

Docs follow the code: ARCHITECTURE.md loses the VS Code, statusline and container sections plus two dead TOC anchors, and its PWA section is rewritten from three PWAs to one; INSTALL.md, SETUP.md, docs/DEPLOYMENT.md, server/README.md, client/README.md, docs/README.md, docs/HOOKS.md and docs/DATABASE.md drop the same. The Makefile target count in ARCHITECTURE.md is corrected 25 -> 17 (it was already stale).
nntrivi2001 merged commit eb63569324 into main 2026-09-10 07:12:09 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Smartgift-AI/AgentHub#14