Summary
Implement API-driven namespace lifecycle management so namespaces can be created, listed, and deleted via service APIs. This establishes the namespace control plane required for namespace-scoped repository creation and multi-tenant isolation.
Parent initiative: #39
Scope
In Scope
- Add API endpoints (or GraphQL mutations/queries) for namespace creation, retrieval/listing, and deletion.
- Validate namespace identifiers (format, length, reserved names, uniqueness).
- Persist namespace metadata and audit fields (
created_at, created_by, updated_at, updated_by).
- Enforce idempotent behaviour for create requests and deterministic errors for conflicts.
- Add simple authorisation checks so only permitted callers can create/delete namespaces.
- Add integration tests for create, duplicate create, delete, and invalid input scenarios.
- Document namespace API contract and examples in
docs/.
Out of Scope
Acceptance Criteria
Dependencies
Tracking
Summary
Implement API-driven namespace lifecycle management so namespaces can be created, listed, and deleted via service APIs. This establishes the namespace control plane required for namespace-scoped repository creation and multi-tenant isolation.
Parent initiative: #39
Scope
In Scope
created_at,created_by,updated_at,updated_by).docs/.Out of Scope
Acceptance Criteria
Dependencies
Tracking