2026-06-22 23:16:28 +02:00
|
|
|
## Stack
|
|
|
|
|
|
2026-08-29 14:37:38 +02:00
|
|
|
- **Language:** Python 3.12+ (`requires-python = ">=3.12"`)
|
|
|
|
|
- **Layout:** `pyproject.toml` + `src/user_engine/` + stdlib `unittest`
|
|
|
|
|
- **Runtime:** optional extras only — `psycopg[binary]` (Postgres store),
|
|
|
|
|
`PyJWT[crypto]` (OIDC). Core domain and in-memory adapters have no
|
|
|
|
|
third-party deps.
|
|
|
|
|
- **Entry point:** `user-engine-portal` → `user_engine.runtime:main`
|
2026-06-22 23:16:28 +02:00
|
|
|
|
|
|
|
|
## Dev Commands
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-08-29 14:37:38 +02:00
|
|
|
# Orient
|
|
|
|
|
cat .custodian-brief.md
|
|
|
|
|
cat INTENT.md
|
|
|
|
|
cat SCOPE.md
|
|
|
|
|
ls workplans/
|
2026-06-22 23:16:28 +02:00
|
|
|
|
2026-08-29 14:37:38 +02:00
|
|
|
# Tests and layer check
|
|
|
|
|
make test
|
|
|
|
|
make check-layer
|
2026-06-22 23:16:28 +02:00
|
|
|
|
2026-08-29 14:37:38 +02:00
|
|
|
# Optional extras
|
|
|
|
|
pip install -e ".[runtime]"
|
2026-06-22 23:16:28 +02:00
|
|
|
|
2026-08-29 14:37:38 +02:00
|
|
|
# After workplan or registry edits
|
|
|
|
|
statehub fix-consistency
|
2026-06-22 23:16:28 +02:00
|
|
|
```
|