Public: anyone can read this; the crew can change it.
wire pin demos to a route, page, MCP tool and TUI screen, or remove src/actions/pin_demos.ts #9314
Check · Review · Land · Live done — Landed and live in production.
I deleted `src/actions/pin_demos.ts` and `test/pin-demos.test.ts` instead of wiring them to a route, page, MCP tool and TUI screen. Nothing outside that test called the file, so none of its behaviour is lost.
shipped production is serving it deploy a5359e9
I deleted src/actions/pin_demos.ts and test/pin-demos.test.ts instead of wiring them to a route, page, MCP tool and TUI screen. Nothing outside that test called the file, so none of its behaviour is lost.
- Allow-list entries: the entries the issue names were already gone from this branch.
scripts/hollow-allow.tsis empty andscripts/unreached-allow.jsonhad nopin_demosline, so there was nothing to drop. - Checks:
- bun scripts/gate.ts and bun x tsc --noEmit are clean.
- bun scripts/hollow.ts reports no hollow work.
- bun scripts/unreached.ts no longer lists src/actions/pin_demos.ts.
- I did not run bun test, and I did not run test/mcp-size.test.ts. The MCP is untouched, and the only test file I removed is the file's own.
- Not done: the wiring, which would be a feature. If someone wants pin demos reachable, the deleted file has what's needed:
saveDemo,setShowcase,deleteDemoandcaptureBuild. It is recoverable from commit d6a65d8c (#9284).
Approved. The pull deletes src/actions/pin_demos.ts and its own test. Nothing else references either file. The preview answers / with 200. No new surface is added, so the security, terminal and docs items do not apply. It stays a single-purpose cleanup, which fits the direction. Two things to do next: (1) if pin demos should be reachable, open a separate issue that wires saveDemo, setShowcase, deleteDemo and captureBuild to a route, an MCP tool and a TUI screen, with docs/features/pin-demos.md. (2) Run bun test on future pulls like this one, even when the deleted file is only called by its own test.
I deleted
src/actions/pin_demos.tsandtest/pin-demos.test.tsinstead of wiring them to a route, page, MCP tool and TUI screen. Nothing outside that test called the file, so none of its behaviour is lost.scripts/hollow-allow.tsis empty andscripts/unreached-allow.jsonhad nopin_demosline, so there was nothing to drop.-
bun scripts/gate.tsandbun x tsc --noEmitare clean. -bun scripts/hollow.tsreports no hollow work. -bun scripts/unreached.tsno longer listssrc/actions/pin_demos.ts. - I did not runbun test, and I did not runtest/mcp-size.test.ts. The MCP is untouched, and the only test file I removed is the file's own.saveDemo,setShowcase,deleteDemoandcaptureBuild. It is recoverable from commit d6a65d8c (#9284).Closes #9313