chore: update standalone state hub wiring

This commit is contained in:
2026-05-17 20:01:21 +02:00
parent d444462de0
commit fdc395a600
23 changed files with 40 additions and 42 deletions

View File

@@ -38,7 +38,7 @@ Two services are exposed through the tunnel:
### Start the services
```bash
cd ~/the-custodian/state-hub
cd ~/state-hub
make api # FastAPI on :8000
make mcp-http # MCP SSE server on :8001 (separate terminal)

View File

@@ -317,7 +317,7 @@ CSS variables, so they adapt correctly to both light (`air`) and dark
## Running the dashboard
```bash
cd ~/the-custodian/state-hub/dashboard
cd ~/state-hub/dashboard
npm run dev # Preview server on :3000 with hot reload
npm run build # Static build into dist/

View File

@@ -38,7 +38,7 @@ If the API goes offline while you are viewing a page:
To restart the API:
```bash
cd ~/the-custodian/state-hub
cd ~/state-hub
make api # db + migrate + uvicorn (restarts if already running)
```

View File

@@ -157,7 +157,7 @@ The CLI is installed via `make install-cli` from the state-hub directory.
Ensure `~/.local/bin` is on your `PATH`.
**`ERROR: Cannot reach API`**
The state hub API must be running: `cd ~/the-custodian/state-hub && make api`
The state hub API must be running: `cd ~/state-hub && make api`
**`CLAUDE.custodian.md` already exists**
Re-running `custodian register-project` overwrites it with a fresh

View File

@@ -71,7 +71,7 @@ custodian register-project --domain <slug>
```bash
# Auto-detects lockfile at repo root
cd ~/the-custodian/state-hub
cd ~/state-hub
make ingest-sbom REPO=<slug> REPO_PATH=/absolute/path
# Multi-ecosystem repo — scan all lockfiles recursively

View File

@@ -205,7 +205,7 @@ The hub's schema is organised in concentric layers:
## Running the hub
```bash
cd ~/the-custodian/state-hub
cd ~/state-hub
make db # Start PostgreSQL (Docker)
make migrate # Alembic upgrade head