drop eight package.json scripts that point at nothing

Same origin as the phantom docs in the last commit — this architecture was based on another
project and some of its scripts came along without their targets.

- `build:editor` and its three variants run `scripts/build/editor.ts`, which has never
  existed here. CLAUDE.md carried a note saying exactly that, which the note now outlives.
- `start:sidecar` / `stop:sidecar` / `restart:sidecar` / `logs:sidecar` drive
  `systemctl … officer-pty-sidecar`, a systemd unit replaced by PM2. That unit still exists
  on this host, enabled, pointing at a `monorepo/` directory that is gone, and has been
  failing to start ever since — these scripts are how it stayed reachable.

CLAUDE.md's "Sidecar control" line pointed at the four systemd wrappers; it now says PM2 and
points at working-on-officer.md for which process a change needs restarted.

Verified afterwards that every remaining script's target exists. The rest of package.json is
untouched — the edit is nine lines out, no reformatting.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-31 17:42:24 +00:00
co-authored by Claude Opus 5
parent 829b034d13
commit aac20bf112
2 changed files with 3 additions and 11 deletions
+1 -9
View File
@@ -17,10 +17,6 @@
"prebuild": "bun run ./scripts/prebuild.ts",
"build:web": "bun run ./scripts/build/web.ts",
"build:dashboard": "bun run ./scripts/build/dashboard.ts",
"build:editor": "bun run ./scripts/build/editor.ts",
"build:editor:app": "bun run ./scripts/build/editor.ts --app",
"build:editor:extension": "bun run ./scripts/build/editor.ts --extension",
"build:editor:runtime": "bun run ./scripts/build/editor.ts --runtime",
"build:landing": "bun run ./scripts/build/landing.ts",
"db:gen": "cd src/databases/officer_db && bun run generate",
"db:push": "cd src/databases/officer_db && bun run push",
@@ -29,11 +25,7 @@
"format": "{ git diff --name-only HEAD -- 'src/**/*.ts' 'src/**/*.tsx'; git ls-files --others --exclude-standard -- 'src/**/*.ts' 'src/**/*.tsx'; } | xargs -r prettier --write",
"format:all": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
"setup": "bash scripts/setup.sh",
"start:sidecar": "sudo systemctl start officer-pty-sidecar",
"stop:sidecar": "sudo systemctl stop officer-pty-sidecar",
"restart:sidecar": "sudo systemctl restart officer-pty-sidecar",
"logs:sidecar": "journalctl -u officer-pty-sidecar -f"
"setup": "bash scripts/setup.sh"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.41",