Files
user-engine/workplans/USER-WP-0001-preparation-and-interface-adoption.md

83 lines
2.1 KiB
Markdown

---
id: USER-WP-0001
type: workplan
title: "User Engine Preparation And Interface Adoption"
domain: netkingdom
repo: user-engine
status: finished
owner: codex
topic_slug: netkingdom
planning_priority: high
planning_order: 1
created: "2026-05-22"
updated: "2026-05-22"
state_hub_workstream_id: "cc5ff9a5-5592-45e3-b7ef-cf6c7fab0f03"
---
# USER-WP-0001 - User Engine Preparation And Interface Adoption
## Goal
Prepare this repository for implementation by adopting the boundary guidance
from the PRD, architecture blueprint, and NetKingdom interface guidance.
## Tasks
```task
id: USER-WP-0001-T1
status: done
priority: high
state_hub_task_id: "7f91d466-2f97-4acf-832a-e9de0b21be04"
```
Define the initial repository layout, implementation stack, local commands,
test commands, and module boundaries.
```task
id: USER-WP-0001-T2
status: done
priority: high
state_hub_task_id: "940ce697-fbad-4ef9-9024-175f482b2d3a"
```
Implement or document the core ports: identity claims adapter, authorization
check port, application binding store, membership fact exporter, event outbox,
audit writer, and secret provider.
```task
id: USER-WP-0001-T3
status: done
priority: high
state_hub_task_id: "c16bd102-0f86-4951-86ee-8d6088ac888b"
```
Create initial schemas for users, accounts, identity links, applications,
catalogs, profile values, memberships, audit records, and outbox events.
```task
id: USER-WP-0001-T4
status: done
priority: medium
state_hub_task_id: "9e962947-6d1f-49ae-a362-d8a13d430b87"
```
Create local development fixtures for verified identity envelopes and
authorization decisions.
```task
id: USER-WP-0001-T5
status: done
priority: medium
state_hub_task_id: "c5b24341-ae26-48a0-97ac-6fbcf108b0e0"
```
Document standalone and platform mode configuration boundaries.
## Acceptance Criteria
- The repo has a clear implementation layout and command set.
- Interface ports exist as code or precise specs.
- Domain ownership does not duplicate identity, authorization, secret custody,
deployment, or UI responsibilities.
- USER-WP-0002 can start without unresolved interface ownership.