Skip to content

[M2.1] API skeleton #20

Closed
Closed

Description

@samuelmbabhazi

Task id

M2.1

Track

C: control plane

Scope

  • NestJS app with module layout from CLAUDE.md, Prisma, config validation, health endpoints, problem-details errors, OpenAPI generation, request logging with secret redaction.
  • Shared foundations used by every later module: KEK loading and the envelope encryption library (SPEC 9), the domain event bus, and the AuditEvent table with an append-only writer, so that every command from M1.2 onward emits audit events.

Acceptance criteria

/api/v1/health up; OpenAPI document generated in CI; packages/api-client generated from it; encryption library round-trip and tamper tests pass.

Depends on

M0.1 (#1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions