TEN-WP-0005 landed the authoritative metadata update and reversible retirement contract, so USER-WP-0021-T01's deferred tenant operations are now implementable without user-engine inventing lifecycle semantics. TenantManagementPort gains read, update, retire, and reactivate. The HTTP adapter echoes the record version as an If-Match ETag (never `*`), sends an Idempotency-Key plus actor/reason/correlation_id, and surfaces Idempotent-Replay. Authority failures map to redacted domain errors carrying only the contract's stable error_code; its detail text never crosses the boundary. Platform operators get the matching API routes and a CSRF-protected browser screen that reads the record before mutating it and hides the metadata form for a retired tenant. Portal OpenAPI moves to 0.3.0 with TenantRecord, UpdateTenant, and TenantLifecycleChange. Full suite: 145 tests, 3 external-provider skips. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude/rules | ||
| .forgejo/workflows | ||
| docs | ||
| migrations/postgres | ||
| openapi | ||
| registry | ||
| src/user_engine | ||
| tests | ||
| wiki | ||
| workplans | ||
| .custodian-brief.md | ||
| .gitignore | ||
| .repo-classification.yaml | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| Containerfile | ||
| INTENT.md | ||
| LICENSE | ||
| Makefile | ||
| pyproject.toml | ||
| README.md | ||
| SCOPE.md | ||
| WORK-RECORDS.md | ||
Headless multi-application, multi-tenant user management engine.
Development
make test
See docs/development.md, docs/configuration.md, docs/contracts.md,
docs/canon-mapping.md, docs/canon-interface-card.yaml,
docs/evidence-gap-examples.md, docs/family-dataspace-onboarding.md,
docs/netkingdom-registration-onboarding-vision.md,
docs/postgres-durable-store-consumer-requirements.md, docs/examples.md,
docs/registration-identity-and-factor-model.md,
docs/prepared-accounts-and-entitlement-claims.md,
docs/hats-realms-services-assets-access-profiles.md,
docs/onboarding-journeys-and-welcome-protocols.md,
docs/registration-and-access-management-ui.md, docs/scenarios.md,
docs/registration-scenario-and-security-conformance.md,
docs/operability.md, docs/release.md, docs/ui-contracts.md,
docs/identity-domain-naming-decision.md, and docs/final-assessment.md
for implementation boundaries, contracts, canon mappings, examples, and release
readiness.