style(13-03): apply Prettier formatting across repo
Mechanical reformat — no logic changes. 398 files changed, 19125 insertions(+), 16457 deletions(-). Prettier 3.8.4 with .prettierrc (singleQuote:true, semi:true, tabWidth:2, trailingComma:all, printWidth:100). Isolated per D-13-08 for reviewability.
This commit is contained in:
@@ -16,13 +16,13 @@ created: 2026-06-09
|
||||
|
||||
## Test Infrastructure
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Framework** | Vitest ^4.1.8 (existing) |
|
||||
| **Config file** | `apps/api/vitest.config.ts` + `apps/pwa/vitest.config.ts` (existing) |
|
||||
| **Quick run command** | `pnpm --filter @familysync/api test` / `pnpm --filter @familysync/pwa test` |
|
||||
| **Full suite command** | `pnpm test` (root, all workspaces) |
|
||||
| **Estimated runtime** | ~TBD seconds (planner to confirm) |
|
||||
| Property | Value |
|
||||
| ---------------------- | --------------------------------------------------------------------------- |
|
||||
| **Framework** | Vitest ^4.1.8 (existing) |
|
||||
| **Config file** | `apps/api/vitest.config.ts` + `apps/pwa/vitest.config.ts` (existing) |
|
||||
| **Quick run command** | `pnpm --filter @familysync/api test` / `pnpm --filter @familysync/pwa test` |
|
||||
| **Full suite command** | `pnpm test` (root, all workspaces) |
|
||||
| **Estimated runtime** | ~TBD seconds (planner to confirm) |
|
||||
|
||||
---
|
||||
|
||||
@@ -40,17 +40,17 @@ created: 2026-06-09
|
||||
> Planner fills this from the Phase Requirements → Test Map in `04-RESEARCH.md`.
|
||||
> Seed rows (from RESEARCH):
|
||||
|
||||
| Task ID | Plan | Wave | Requirement | Threat Ref | Secure Behavior | Test Type | Automated Command | File Exists | Status |
|
||||
|---------|------|------|-------------|------------|-----------------|-----------|-------------------|-------------|--------|
|
||||
| 4-XX-XX | XX | X | LIST-01 | — | Create list inserts row + list_shares for shared | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-01 | — | `GET /api/lists` returns only accessible lists (owner + shares) | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-02 | — | PATCH `checked:true` updates only `checked` (per-field) | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-03 | — | PATCH new rank produces correct fractional order | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-04 | T-4-xx | Private-list events NOT emitted to non-owner subscriber | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | D-11 | — | Bounded backoff hook exhausts after capped attempts | unit (PWA) | `pnpm --filter @familysync/pwa test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | D-07 | — | Optimistic update rolls back on mutation error | unit (PWA) | `pnpm --filter @familysync/pwa test` | ❌ W0 | ⬜ pending |
|
||||
| Task ID | Plan | Wave | Requirement | Threat Ref | Secure Behavior | Test Type | Automated Command | File Exists | Status |
|
||||
| ------- | ---- | ---- | ----------- | ---------- | --------------------------------------------------------------- | ---------- | ------------------------------------ | ----------- | ---------- |
|
||||
| 4-XX-XX | XX | X | LIST-01 | — | Create list inserts row + list_shares for shared | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-01 | — | `GET /api/lists` returns only accessible lists (owner + shares) | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-02 | — | PATCH `checked:true` updates only `checked` (per-field) | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-03 | — | PATCH new rank produces correct fractional order | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | LIST-04 | T-4-xx | Private-list events NOT emitted to non-owner subscriber | unit (API) | `pnpm --filter @familysync/api test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | D-11 | — | Bounded backoff hook exhausts after capped attempts | unit (PWA) | `pnpm --filter @familysync/pwa test` | ❌ W0 | ⬜ pending |
|
||||
| 4-XX-XX | XX | X | D-07 | — | Optimistic update rolls back on mutation error | unit (PWA) | `pnpm --filter @familysync/pwa test` | ❌ W0 | ⬜ pending |
|
||||
|
||||
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
||||
_Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky_
|
||||
|
||||
---
|
||||
|
||||
@@ -65,11 +65,11 @@ created: 2026-06-09
|
||||
|
||||
## Manual-Only Verifications
|
||||
|
||||
| Behavior | Requirement | Why Manual | Test Instructions |
|
||||
|----------|-------------|------------|-------------------|
|
||||
| Behavior | Requirement | Why Manual | Test Instructions |
|
||||
| ------------------------------------------------------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
||||
| Cross-device live co-edit (one member's change appears for the other within seconds) | LIST-04 / success criterion 3 | Two-client real-time behavior over the deployed tunnel; better observed in a browser | Drive with `playwright-cli` (two contexts) where possible; iOS-Safari standalone behavior needs a device |
|
||||
|
||||
*Drag-and-drop reorder (LIST-03) and SSE live sync should be validated in-browser via `playwright-cli` per project convention.*
|
||||
_Drag-and-drop reorder (LIST-03) and SSE live sync should be validated in-browser via `playwright-cli` per project convention._
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user