refactor: remove Control Center from this repository

Progress tracking now lives in a separate project. Drop the server,
docs, and module-boundary entries without restoring engineering-dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-19 03:40:00 +00:00
co-authored by Cursor
parent 2641045547
commit 14f75df1ac
111 changed files with 75 additions and 13820 deletions
-40
View File
@@ -1,40 +0,0 @@
#!/usr/bin/env bash
# Thin wrapper for the personal Control Center. Independent of the product
# system: own DB container (deploy/control-center), own port (8790).
set -euo pipefail
cd "$(dirname "$0")/.."
cmd="${1:-help}"
shift || true
case "$cmd" in
db-start)
docker compose -f deploy/control-center/docker-compose.yml up -d db
;;
db-stop)
docker compose -f deploy/control-center/docker-compose.yml down
;;
serve)
exec go run ./cmd/control-center serve "$@"
;;
serve-lan)
# Bind all interfaces for LAN/remote access. A fixed console token is
# mandatory (the server refuses otherwise).
export CC_HTTP_ADDR="${CC_HTTP_ADDR:-0.0.0.0:8790}"
if [ -z "${CC_CONSOLE_TOKEN:-}" ]; then
echo "serve-lan requires CC_CONSOLE_TOKEN to be set" >&2
exit 2
fi
exec go run ./cmd/control-center serve "$@"
;;
migrate)
exec go run ./cmd/control-center migrate "$@"
;;
register-agent)
exec go run ./cmd/control-center register-agent "$@"
;;
*)
echo "usage: $0 {db-start|db-stop|serve|serve-lan|migrate|register-agent} [args...]" >&2
exit 2
;;
esac