Merge pull request 'docs(roadmap): record completion of M2 mutation audit and boundary hardening' (#1) from docs/m2-mutation-audit-sync into main

This commit was merged in pull request #1.
This commit is contained in:
kiskaadee committed 2026-10-19 14:15:34 -05:00
commit 46236a3cc5
2 files changed
+16 -15

No files matched your search

+12 -11
View File
@@ -63,11 +63,12 @@ During our workspace audit on `2026-10-18`, we identified three areas where orig
- [x] Slice, commit (`git-commit`), and open PR for `feat/operational-truth-mvp` in `armonia-api` ([PR #7](https://gitea.roadtotech.me/armonia-del-ser/armonia-api/pulls/7)). - [x] Slice, commit (`git-commit`), and open PR for `feat/operational-truth-mvp` in `armonia-api` ([PR #7](https://gitea.roadtotech.me/armonia-del-ser/armonia-api/pulls/7)).
### Milestone M2: SQLModel + Repository Refactor & Mutation Testing (`armonia-api#6`) ### Milestone M2: SQLModel + Repository Refactor & Mutation Testing (`armonia-api#6`)
- [ ] Add `sqlmodel`, `sqlalchemy-libsql`, `pytest-mock`, and `mutmut` to `armonia-api/pyproject.toml`. - [x] Add `sqlmodel`, `sqlalchemy-libsql`, `pytest-mock`, and `mutmut` to `armonia-api/pyproject.toml`.
- [ ] Define `SQLModel` table entities in `app/models/` and configure `app/db/database.py` for Turso/SQLite portability. - [x] Define `SQLModel` table entities in `app/models/` and configure `app/db/database.py` for Turso/SQLite portability.
- [ ] Extract all SQL queries from `app/routers/` into `app/repositories/` and pure business logic into `app/services/`. - [x] Extract all SQL queries from `app/routers/` into `app/repositories/` and pure business logic into `app/services/`.
- [ ] Isolate external I/O in tests using `pytest-mock` and run `mutmut` audit against `app/services/`. - [x] Isolate external I/O in tests using `pytest-mock` and run `mutmut` audit against `app/services/` (100% kill score, ADR 0006).
- [ ] Implement `GET /availability` and Group Roster API (`GET /rosters`, `POST /rosters/quick-checkin`) cleanly on top of the new service/repository layers (`armonia-api#3`). - [x] Implement `GET /availability` and Group Roster API (`GET /rosters`, `POST /rosters/quick-checkin`) cleanly on top of the new service/repository layers (`armonia-api#3`).
- [x] Decouple auth adapter for proxy-headers (`Authelia`/`LLDAP`) and add multi-stage container build (`Dockerfile`).
### Milestone M3: Google Calendar Pull + Push Coordination (`armonia-api#4`) ### Milestone M3: Google Calendar Pull + Push Coordination (`armonia-api#4`)
- [ ] Implement real Google Calendar REST integration in `app/services/calendar.py` (with `pytest-mock` test coverage). - [ ] Implement real Google Calendar REST integration in `app/services/calendar.py` (with `pytest-mock` test coverage).
@@ -75,12 +76,12 @@ During our workspace audit on `2026-10-18`, we identified three areas where orig
- [ ] Verify end-to-end Push-on-Write status transitions (`[PAGO PENDIENTE]`, `[PAGO DIFERIDO]`, `[CONFIRMADO]`, event deletion on `RELEASED`/`CANCELLED`) and manual retry (`POST /bookings/{id}/sync-calendar`). - [ ] Verify end-to-end Push-on-Write status transitions (`[PAGO PENDIENTE]`, `[PAGO DIFERIDO]`, `[CONFIRMADO]`, event deletion on `RELEASED`/`CANCELLED`) and manual retry (`POST /bookings/{id}/sync-calendar`).
### Milestone M4: Mobile-First Admin Dashboard (`armonia-dashboard#1`) ### Milestone M4: Mobile-First Admin Dashboard (`armonia-dashboard#1`)
- [ ] Initialize `Vite+` (`vp`), `Tailwind CSS`, `HTMX`, and `Biome` in `armonia-dashboard`. - [x] Initialize `Vite+` (`vp`), `Tailwind CSS`, `HTMX`, and `Biome` in `armonia-dashboard`.
- [ ] Delegate to **Anne Droid** (`feat/anne/*`) to implement the 5-state resilient operator views (`>= 44x44px` touch targets): - [x] Delegate to **Anne Droid** (`feat/anne/*`) to implement the 5-state resilient operator views (`>= 44x44px` touch targets):
- Google OAuth login & session guard. - [x] 48-Hour Payment Follow-Up Queue with 1-tap `wa.me` links, Acknowledge Payment, and immediate visual feedback (PR #4).
- 48-Hour Payment Follow-Up Queue with 1-tap `wa.me` links, Acknowledge Payment, Authorize Delayed Payment, and Release Slot actions. - [x] Agenda & buffer indicator (15-min buffers rendered visually).
- Agenda & Google Calendar sync health indicator (`SYNCED` vs `FAILED` retry). - [x] Accessible toasts, inline micro-modals, agenda date filter, and sticky mobile nav (PR #5).
- Multi-session package counter (`8 de 10`) & Group Workshop Roster check-in. - [ ] Multi-session package counter (`8 de 10`) & Group Workshop Roster check-in view.
### Milestone M5: Public Landing & Self-Service Portal (`armonia-landing#1`) ### Milestone M5: Public Landing & Self-Service Portal (`armonia-landing#1`)
- [ ] Initialize `Vite+` (`vp`), `Tailwind CSS`, `HTMX`, and `Biome` in `armonia-landing`. - [ ] Initialize `Vite+` (`vp`), `Tailwind CSS`, `HTMX`, and `Biome` in `armonia-landing`.
+4 -4
View File
@@ -7,10 +7,10 @@ x 2026-10-18 (A) Slice and commit pending AGENTS.md, README.md, and flake.nix ch
x 2026-10-18 (A) Slice and commit pending orthogonal state engine, OAuth allowlist, AGENTS.md, and flake.nix changes in armonia-api and open PR +api @git issue:armonia-api#3 x 2026-10-18 (A) Slice and commit pending orthogonal state engine, OAuth allowlist, AGENTS.md, and flake.nix changes in armonia-api and open PR +api @git issue:armonia-api#3
x 2026-10-19 (B) Add sqlmodel, sqlalchemy-libsql, pytest-mock, and mutmut dependencies to armonia-api/pyproject.toml +api @db issue:armonia-api#6 x 2026-10-19 (B) Add sqlmodel, sqlalchemy-libsql, pytest-mock, and mutmut dependencies to armonia-api/pyproject.toml +api @db issue:armonia-api#6
x 2026-10-19 (B) Define SQLModel table models in armonia-api/app/models/ and configure portable engine in app/db/database.py +api @db issue:armonia-api#6 x 2026-10-19 (B) Define SQLModel table models in armonia-api/app/models/ and configure portable engine in app/db/database.py +api @db issue:armonia-api#6
(B) Extract raw SQL queries from FastAPI routers into armonia-api/app/repositories/ and domain logic into app/services/ +api @arch issue:armonia-api#6 x 2026-10-19 (B) Extract raw SQL queries from FastAPI routers into armonia-api/app/repositories/ and domain logic into app/services/ +api @arch issue:armonia-api#6
(B) Isolate external I/O with pytest-mock and run mutmut boundary audit on armonia-api/app/services/ +api @test issue:armonia-api#6 x 2026-10-19 (B) Isolate external I/O with pytest-mock and run mutmut boundary audit on armonia-api/app/services/ +api @test issue:armonia-api#6
(B) Implement GET /availability endpoint with mandatory buffer collision filtering in armonia-api +api @backend issue:armonia-api#3 x 2026-10-19 (B) Implement GET /availability endpoint with mandatory buffer collision filtering in armonia-api +api @backend issue:armonia-api#3
(B) Implement Group Workshop Roster API (GET /rosters, POST /rosters/quick-checkin) in armonia-api +api @backend issue:armonia-api#3 x 2026-10-19 (B) Implement Group Workshop Roster API (GET /rosters, POST /rosters/quick-checkin) in armonia-api +api @backend issue:armonia-api#3
(C) Implement live Google Calendar API Pull-on-Read and Push-on-Write synchronization in armonia-api/app/services/calendar.py +api @gcal issue:armonia-api#4 (C) Implement live Google Calendar API Pull-on-Read and Push-on-Write synchronization in armonia-api/app/services/calendar.py +api @gcal issue:armonia-api#4
x 2026-10-19 (C) Scaffold Vite+, Tailwind, HTMX, and Biome project structure in armonia-dashboard +dashboard @ui issue:armonia-dashboard#1 x 2026-10-19 (C) Scaffold Vite+, Tailwind, HTMX, and Biome project structure in armonia-dashboard +dashboard @ui issue:armonia-dashboard#1
x 2026-10-19 (C) Implement 48-hour follow-up queue, payment acknowledgment, and agenda views in armonia-dashboard with Anne Droid +dashboard @ui issue:armonia-dashboard#1 x 2026-10-19 (C) Implement 48-hour follow-up queue, payment acknowledgment, and agenda views in armonia-dashboard with Anne Droid +dashboard @ui issue:armonia-dashboard#1