Implementation status (monorepo) — interim backlog mirror
Until Jira project MEL is the system of record, this file tracks which user stories in
07-epics-and-user-stories.mdhave partial or complete implementation in the ghasi-melmastoon implementation monorepo (sibling of this documentation repo, e.g.D:\GhasiTech\ghasi-melmastoon).
The canonical acceptance criteria stay in §7 of the master doc; this file only states what shipped in code and what is still open.
Last updated: 2026-04-23
Owner: update this file in the same PR or follow-up as any merge that changes story-relevant behaviour (same rule will apply once Jira sync is enabled).
Status legend
| Status | Meaning |
|---|---|
| Not started | No implementation work mapped to this story (default; most of the 161 stories). Omitted from the tables below. |
| In progress | At least one acceptance criterion is met in the monorepo; others remain. |
| Blocked | Depends on external dependency or an explicit deferral (e.g. Cloud KMS wiring). |
| Done | All ACs in the master doc are satisfied by automated tests + integration paths. None of the tracked stories below are Done yet. |
Stories with implementation touchpoints
US-MEL-0001 — Owner self-signup with verified email & SMS (EP-MEL-01)
| Status | In progress |
| Implemented | Password policy and POST /api/v1/auth/register on iam-service (202, Idempotency-Key, spec-shaped body); transactional outbox + melmastoon.iam.user.registered.v1; idempotent replay; email-uniqueness conflict path; web-tenant-booking server route proxies to iam-service with tenant from middleware (browser cannot spoof tenant). |
| Not yet | OTP email/SMS confirmation, breach check, geo/sanctions gate, Tenant(plan=trial) creation, Pact/E2E as in story Test types line. |
| Evidence (monorepo) | services/iam-service/, apps/web-tenant-booking/src/app/api/auth/register/, packages/contracts/openapi/iam-service.openapi.yaml |
| Notes | Wave 5.0 realignment + register slice; Wave 5.1 does not complete this story (see US-MEL-0126 for JWT stack). |
US-MEL-0126 — JWT issuance & rotation (EP-MEL-17)
| Status | In progress |
| Implemented | Ed25519 access-token signing contract (TokenSigner), file-backed LocalEd25519Signer (dev/test), KmsAsymmetricSigner scaffold (prod path; GCP client not wired yet — Blocked for production signing until infra batch), GET /.well-known/jwks.json, opaque refresh token generator (rft_… + sha256), iam.sessions table + migration per data model, env contract for iss/aud/TTL. |
| Not yet | AC1 — no /auth/login yet (no access+refresh pair issued on sign-in). AC2 — refresh rotation, reuse detection, session family revoke. AC3 — logout / revoke-all. |
| Evidence (monorepo) | services/iam-service/src/infrastructure/crypto/, .../interface/http/jwksController.ts, .../migrations/0002_sessions.sql, planning/wave-audits/wave-04-spec-deviations.md §0.1 |
| Notes | Wave 5.1 lands signing + storage + JWKS; Wave 5.2 is the planned slice for login/refresh/logout and full AC coverage. |
Engineering milestones (not 1:1 with a single story)
These are vertical-slice / wave deliveries; link them to stories above where relevant.
| Milestone | Summary | Monorepo reference |
|---|---|---|
| Wave 5.0 | Spec realignment: register route, BFF no-auth, outbox shape, OpenAPI, web→iam routing | planning/wave-audits/wave-04-spec-deviations.md |
| Wave 5.1 | IAM JWT signing primitives, JWKS, sessions DDL, D-13 response consistency | .cursor/INDEX.md (Wave 5.1 block), same deviation doc §0.1 |
| Next | Wave 5.2 — login/refresh, envelope+relayer (D-05/D-10) | TBD; update this file when merged |
Process (until Jira)
This file is part of the mandatory development workflow. Full rules: ../standards/DEVELOPMENT_WORKFLOW.md.
- When a PR implements part of a user story: add or update a row in Stories with implementation touchpoints (or move status toward Done when all ACs are proven).
- Link the PR or branch name in the Notes column when helpful.
- After Jira MEL is live: either generate this file from Jira (preferred) or replace body with “See Jira” and keep a one-line pointer here.
Cross-references
- Backlog README
- USER_STORIES.md (flat index — implementation column not duplicated there; this file is the source for impl status)
- EP-MEL-01.md · EP-MEL-17.md
- Monorepo agent index:
ghasi-melmastoon/.cursor/INDEX.md - Jira setup (future): ../standards/JIRA_PROJECT_SETUP.md