statehub register + repo-seed template scaffold (CLAUDE.md, .claude/rules/, registry/). INTENT.md and SCOPE.md rewritten from the generated stub to match net-kingdom's ratified tenant-engine-boundary-contract_v0.1.md (Purpose, Responsibility Boundary, Non-Goals). topic_slug corrected from the auto-assigned custodian default to netkingdom, matching key-cape and user-engine. TEN-WP-0001 (bootstrap) complete: files reviewed/refined, stack decided (Python 3.12 + FastAPI, matching qonto-assistant's convention), first real workplan seeded. TEN-WP-0002 drafted: service skeleton, domain model (tenant/grouping/ capability-role/plan-grant), storage layer, and the three boundary-contract API surfaces (cache-read for key-cape, live-lookup for flex-auth with an explicit fail-closed requirement, write API behind a WriteAuthorizer seam since real flex-auth integration is a declared non-goal for this pass). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
29 lines
663 B
Markdown
29 lines
663 B
Markdown
## Stack
|
|
|
|
- **Language:** Python 3.12 (matches `qonto-assistant`'s fleet convention for
|
|
small headless services)
|
|
- **Framework:** FastAPI, `pyproject.toml` + `Makefile` layout
|
|
- **Key deps:** State Hub ADR-001 workplans, `net-kingdom` canon (IAM Profile
|
|
v0.3, ADR-0013, ADR-0014, tenant-engine boundary contract)
|
|
|
|
## Dev Commands
|
|
|
|
```bash
|
|
# Orient (offline-safe)
|
|
cat .custodian-brief.md
|
|
cat INTENT.md
|
|
cat SCOPE.md
|
|
ls workplans/
|
|
|
|
# Once scaffolded (TEN-WP-0002)
|
|
make install-dev
|
|
make test
|
|
make lint
|
|
make run
|
|
|
|
# After workplan or registry edits — from this repo checkout
|
|
statehub fix-consistency
|
|
|
|
# Sanity-check markdown / registry edits
|
|
git diff --check
|
|
```
|