chore(consistency): register TEN-WP-0001/0002 in State Hub [auto]
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
dbd0b8b17c
commit
7eb21c05b8
3 changed files with 34 additions and 0 deletions
22
WORK-RECORDS.md
Normal file
22
WORK-RECORDS.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Work Records — tenant-engine
|
||||
|
||||
> Generated by `statehub fix-consistency` (CUST-WP-0061-T04, work-record
|
||||
> stage 3). Do not edit by hand — edit the source file/block listed for
|
||||
> each record and re-run fix-consistency to refresh this index. Archived
|
||||
> workplans are omitted; closed decisions/intakes/engagements stay listed
|
||||
> so recently-resolved work is still visible. [auto]
|
||||
|
||||
| Kind | ID | Status | Lane | Source |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| workplan | TEN-WP-0001 | finished | — | workplans/TEN-WP-0001-statehub-bootstrap.md |
|
||||
| workplan | TEN-WP-0002 | ready | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
| task | TEN-WP-0001-T01 | done | — | workplans/TEN-WP-0001-statehub-bootstrap.md |
|
||||
| task | TEN-WP-0001-T02 | done | — | workplans/TEN-WP-0001-statehub-bootstrap.md |
|
||||
| task | TEN-WP-0001-T03 | done | — | workplans/TEN-WP-0001-statehub-bootstrap.md |
|
||||
| task | TEN-WP-0002-T01 | todo | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
| task | TEN-WP-0002-T02 | todo | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
| task | TEN-WP-0002-T03 | todo | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
| task | TEN-WP-0002-T04 | todo | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
| task | TEN-WP-0002-T05 | todo | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
| task | TEN-WP-0002-T06 | todo | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
| task | TEN-WP-0002-T07 | todo | — | workplans/TEN-WP-0002-domain-model-and-scaffold.md |
|
||||
|
|
@ -9,6 +9,7 @@ owner: codex
|
|||
topic_slug: netkingdom
|
||||
created: "2026-07-23"
|
||||
updated: "2026-07-23"
|
||||
state_hub_workstream_id: "c9f8ca93-f9df-4ad7-b48f-16915874a341"
|
||||
---
|
||||
|
||||
# Bootstrap State Hub integration
|
||||
|
|
@ -21,6 +22,7 @@ Canonical owner of tenant-as-an-entity facts for NetKingdom: existence, onboardi
|
|||
id: TEN-WP-0001-T01
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "00827f3d-4089-4cab-a5d1-11d6980debf7"
|
||||
```
|
||||
|
||||
Review `INTENT.md`, `SCOPE.md`, `AGENTS.md`, and `.custodian-brief.md`.
|
||||
|
|
@ -44,6 +46,7 @@ an explicit "state-hub template sync" marker meaning they're managed by
|
|||
id: TEN-WP-0001-T02
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "edcdce43-e804-424d-8215-7648926c7680"
|
||||
```
|
||||
|
||||
Identify the repo's install, test, lint, build, and run commands. Add or refine
|
||||
|
|
@ -63,6 +66,7 @@ actual `Makefile`/`pyproject.toml`, which land in `TEN-WP-0002`.
|
|||
id: TEN-WP-0001-T03
|
||||
status: done
|
||||
priority: medium
|
||||
state_hub_task_id: "3f4482ab-52dc-4582-b52b-d2b0ae1e9a61"
|
||||
```
|
||||
|
||||
Create the first implementation workplan for the repository's most important
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ owner: codex
|
|||
topic_slug: netkingdom
|
||||
created: "2026-07-23"
|
||||
updated: "2026-07-23"
|
||||
state_hub_workstream_id: "f2fcafb4-edef-4e8e-9401-d781b4d0c585"
|
||||
---
|
||||
|
||||
# Service skeleton, domain model, and the three boundary-contract APIs
|
||||
|
|
@ -35,6 +36,7 @@ enforcement.
|
|||
id: TEN-WP-0002-T01
|
||||
status: todo
|
||||
priority: high
|
||||
state_hub_task_id: "d22b0ce8-3f25-4c8d-b54f-ba44c65159c1"
|
||||
```
|
||||
|
||||
Python 3.12 + FastAPI, matching `qonto-assistant`'s layout convention:
|
||||
|
|
@ -51,6 +53,7 @@ FastAPI app with a `/health` endpoint.
|
|||
id: TEN-WP-0002-T02
|
||||
status: todo
|
||||
priority: high
|
||||
state_hub_task_id: "cfceea30-f383-4781-a7e4-226653aafca9"
|
||||
```
|
||||
|
||||
Pure domain types, no framework dependency:
|
||||
|
|
@ -87,6 +90,7 @@ no-plan-required exception, and grant/revoke as append-only operations.
|
|||
id: TEN-WP-0002-T03
|
||||
status: todo
|
||||
priority: high
|
||||
state_hub_task_id: "ade9374a-ed26-45da-a424-a0d21effe520"
|
||||
```
|
||||
|
||||
In-memory store behind a `TenantStore` protocol/interface (mirrors
|
||||
|
|
@ -105,6 +109,7 @@ store interface, plus event emission for each mutation.
|
|||
id: TEN-WP-0002-T04
|
||||
status: todo
|
||||
priority: high
|
||||
state_hub_task_id: "425cab98-ab7f-47fb-a8b6-ec0f52d62cd5"
|
||||
```
|
||||
|
||||
`GET /tenants/{tenant_id}/roles` — returns current, non-revoked capability
|
||||
|
|
@ -123,6 +128,7 @@ and returns the expected role set for a seeded tenant.
|
|||
id: TEN-WP-0002-T05
|
||||
status: todo
|
||||
priority: high
|
||||
state_hub_task_id: "2a04ce4c-c967-4540-8873-70ac419378e6"
|
||||
```
|
||||
|
||||
`GET /tenants/{tenant_id}/roles/live` — same data as the cache-read
|
||||
|
|
@ -145,6 +151,7 @@ signals failure distinctly from "zero roles", not silently as 200 + `[]`.
|
|||
id: TEN-WP-0002-T06
|
||||
status: todo
|
||||
priority: medium
|
||||
state_hub_task_id: "3a2d1ee7-6e66-4080-9345-32ba457acf5f"
|
||||
```
|
||||
|
||||
`POST /tenants` (create), `POST /tenants/{id}/roles/grant`,
|
||||
|
|
@ -168,6 +175,7 @@ when swapped.
|
|||
id: TEN-WP-0002-T07
|
||||
status: todo
|
||||
priority: low
|
||||
state_hub_task_id: "eecf4bc8-d20b-4b18-986a-6518f2f74d7b"
|
||||
```
|
||||
|
||||
Confirm T01–T06 done; run `make test`/`make lint`; verify the three API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue