state-hub/.claude/rules/architecture.md

15 lines
646 B
Markdown
Raw Normal View History

2026-06-18 00:29:04 +02:00
## Architecture
State Hub uses a **repo-anchored classification spine** (STATE-WP-0065):
- **Primary anchor:** `managed_repos` + committed `.repo-classification.yaml`
- **Market domain:** derived from classification (`domain` field) — 14 fixed values
- **Workplans:** table `workplans`, `repo_id` required, `topic_id` optional
- **Legacy:** `/workstreams/` REST routes and `workstream_*` MCP tools are aliases
Classification canon lives in `the-custodian/canon/standards/`.
Validation: `api/classification.py` · registration: `make register-from-classification`.
2026-06-18 00:29:04 +02:00
## Quick Reference
`~/state-hub/mcp_server/TOOLS.md` — MCP tool reference