Commit Graph
919 Commits
Author SHA1 Message Date
luckberg 2a209080a9 Merge pull request 'Phase 14: desktop e2e coverage (add blocking Desktop Chrome Playwright gate)' (#10) from gsd/phase-14-desktop-e2e-coverage into main
Publish / publish (push) Successful in 19s
Reviewed-on: #10
2026-06-12 09:32:26 -04:00
luckberg 4607693a71 Merge branch 'main' into gsd/phase-14-desktop-e2e-coverage
CI / fast-checks (pull_request) Successful in 1m33s
CI / api (pull_request) Successful in 59s
CI / harness (pull_request) Successful in 3m55s
2026-06-12 09:25:47 -04:00
Lucas Berger cf48fa8e1b docs(phase-14): complete phase execution
CI / fast-checks (pull_request) Successful in 1m20s
CI / api (pull_request) Successful in 57s
CI / harness (pull_request) Successful in 3m56s
2026-06-12 09:10:18 -04:00
Lucas Berger f9fc7bbda2 docs(14): add code review report 2026-06-12 09:07:20 -04:00
luckberg 75760e9d7d Merge pull request 'docs: refresh CI + lint/format docs (Phase 8 + Phase 13)' (#9) from gsd/docs-ci-lint-refresh into main
Publish / publish (push) Successful in 7s
Reviewed-on: #9
2026-06-12 08:54:16 -04:00
Lucas Berger f75bc4239f style(14-01): apply prettier formatting to layout.spec.ts for CI format:check gate
CI / fast-checks (pull_request) Successful in 1m22s
CI / api (pull_request) Successful in 59s
CI / harness (pull_request) Successful in 3m58s
2026-06-12 08:31:33 -04:00
Lucas Berger 214e59d6e2 docs(phase-14): update tracking after wave 1 2026-06-12 08:27:39 -04:00
Lucas Berger 1c7775a022 chore: merge executor worktree (worktree-agent-aaafe3c94f936d618) 2026-06-12 08:25:19 -04:00
Lucas Berger 492adbc8b3 docs(14-01): complete desktop e2e coverage plan
- 85 passed, 5 skipped, 0 failed across iphone + pixel + desktop
- SC-1/SC-2/SC-3 all satisfied
2026-06-12 08:24:31 -04:00
Lucas Berger bfc49d199d chore(14-01): update spec headers + README for desktop profile, cosmetic CI step rename
- Updated calendar.spec.ts header to list all three profiles (iphone/pixel/desktop)
- Updated lists.spec.ts header to list all three profiles (iphone/pixel/desktop)
- Updated e2e/README.md preamble to add 'Desktop Chrome (1280x720)'
- Added --project=desktop example to README run-commands block
- Updated README full-suite command comment to name all three profiles
- Cosmetic: ci.yml step-name and comment updated to mention desktop (no plumbing change)
- Full suite verified: 85 passed, 5 skipped (3 desktop geometry + 2 parity guards), 0 failed
2026-06-12 08:23:10 -04:00
Lucas Berger 29035999ea feat(14-01): desktop-skip three mobile-only layout assertions, add D-04 parity
- Added test.skip(testInfo.project.name === 'desktop') to the two safe-area-inset
  BottomTabBar in-viewport tests (BottomTabBar returns null at >=768px on desktop)
- Added test.skip(testInfo.project.name === 'desktop') to the 56x56 FAB geometry test
  (on desktop 'New Event' resolves to the toolbar button, not the 56px FAB)
- Added desktop-only D-04 parity test asserting 'New Event' toolbar button height >=44px
  guarded by test.skip(testInfo.project.name !== 'desktop')
- Updated header jsdoc to list all three profiles including desktop
- All mobile assertions preserved (toBeGreaterThanOrEqual(56) and (44) still present)
2026-06-12 08:20:06 -04:00
Lucas Berger d3bc69657b feat(14-01): add desktop Playwright project (Desktop Chrome, 1280x720, no hasTouch)
- Appended 'desktop' project entry after 'pixel' in playwright.config.ts projects array
- Uses devices['Desktop Chrome'] with serviceWorkers: 'block' (D-02/Pitfall 15)
- No baseURL override — inherited from top-level use block (D-08)
- Updated file header jsdoc: three-profile matrix, added --project=desktop example
2026-06-12 08:19:04 -04:00
Lucas Berger 5c3bd5c1ea docs(14): record planning complete + pattern map 2026-06-12 08:10:03 -04:00
Lucas Berger 8742dd43a4 docs(14): create phase plan 2026-06-12 08:07:37 -04:00
Lucas Berger d8cdbcfc14 docs(state): record phase 14 context session 2026-06-12 07:57:10 -04:00
Lucas Berger 2daeb49b89 docs(14): capture phase context 2026-06-12 07:57:03 -04:00
Lucas Berger 5ab463ccbb docs: add backlog 999.17 (CI doc-only PR skip) + remove stale graph.html
CI / fast-checks (pull_request) Successful in 1m19s
CI / api (pull_request) Successful in 58s
CI / harness (pull_request) Successful in 3m16s
2026-06-11 22:29:26 -04:00
Lucas Berger cfb2fd3cf9 docs(graph): refresh knowledge-graph artifacts (rebuilt at 63ae0c6 — 5924 nodes/6053 edges)
CI / fast-checks (pull_request) Successful in 1m22s
CI / api (pull_request) Successful in 1m0s
CI / harness (pull_request) Successful in 3m29s
2026-06-11 22:25:27 -04:00
Lucas Berger 213aeba347 docs: refresh CI + lint/format docs (Phase 8 + Phase 13)
CI / fast-checks (pull_request) Successful in 1m23s
CI / api (pull_request) Successful in 1m0s
CI / harness (pull_request) Successful in 3m27s
2026-06-11 22:21:23 -04:00
luckberg 63ae0c69d4 Merge pull request 'Phase 13: Real Lint Gate — type-aware ESLint + Prettier format gate' (#8) from gsd/phase-13-real-lint-gate-eslint into main
Publish / publish (push) Successful in 1m7s
Reviewed-on: #8
2026-06-11 21:51:08 -04:00
Lucas Berger 0eb43c93d7 fix(13): ignore .pnpm-store in Prettier — CI puts pnpm's store in-workspace so format:check walked into it
CI / fast-checks (pull_request) Successful in 1m23s
CI / api (pull_request) Successful in 1m4s
CI / harness (pull_request) Successful in 3m29s
2026-06-11 21:32:14 -04:00
Lucas Berger fc5b06d343 Merge remote-tracking branch 'origin/main' into gsd/phase-13-real-lint-gate-eslint
CI / fast-checks (pull_request) Failing after 1m47s
CI / api (pull_request) Successful in 1m0s
CI / harness (pull_request) Successful in 3m30s
# Conflicts:
#	.planning/ROADMAP.md
2026-06-11 21:25:14 -04:00
Lucas Berger f16316c6fd docs(quick-260611-tfc): WR-01 sw.ts notificationclick fallback fix 2026-06-11 21:16:38 -04:00
Lucas Berger af78ccc8b9 fix(quick-260611-tfc): make notificationclick openWindow fallback reachable
- Add .then(navigated) check: opens new window when client.navigate() resolves null
- Add .catch(): opens new window when client.focus() or client.navigate() rejects
- Both branches guarded by self.clients.openWindow per spec
- Returned chain (not floating) satisfies no-floating-promises gate
- All other behaviour preserved: close(), url extraction, post-loop fallback
2026-06-11 21:14:14 -04:00
Lucas Berger f06216b567 docs(13): add code review report 2026-06-11 21:08:54 -04:00
Lucas Berger 90d94febea docs(13): mark phase complete — tracking updates 2026-06-11 21:00:55 -04:00
Lucas Berger 8a53e9d1ee docs(13): phase verification — passed (9/9), 2 live-CI human items 2026-06-11 20:59:51 -04:00
Lucas Berger 743c7d92f0 fix(13-03): exclude .planning from Prettier so the format gate stays green
GSD planning artifacts (.planning/**) are rewritten by tooling on every workflow
run and are never hand-formatted. Including them in Prettier scope caused
pnpm format:check to exit 1 on virtually every future PR, making the SC-3
green baseline impossible to hold. Add .planning/ to .prettierignore, mirroring
the same rationale as dist/ and apps/api/src/db/migrations/.

Real source docs (README.md, docs/**) remain in Prettier scope.
No playwright-report/, test-results/, or coverage/ directories exist to ignore.
2026-06-11 20:50:45 -04:00
Lucas Berger f153b7199d docs(13-03): complete Prettier reformat + CI format gate plan 2026-06-11 20:44:52 -04:00
Lucas Berger 0422406c42 feat(13-03): add Format check CI step; remove stale no-op lint comment
- Insert 'Format check: pnpm format:check' after Lint in fast-checks job
- Remove the 3-line comment that said lint was a no-op (no longer true)
- Step order: Install → Lint → Format check → Typecheck → PWA unit tests
- Branch-protection contexts (name:CI, fast-checks, api, harness) unchanged
2026-06-11 20:35:44 -04:00
Lucas Berger 982438dc10 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.
2026-06-11 20:35:18 -04:00
Lucas Berger 4bc0445173 docs(13-02): record post-verification correction — residual lint error and fix 2026-06-11 20:31:10 -04:00
Lucas Berger 3f2e3ea659 fix(13-02): resolve residual no-unnecessary-type-assertion in SyncStateToast.test
- Replace inline 'as string | null' assertion with an explicit typed const
  declaration inside the vi.hoisted() callback body
- 'value: string | null' typed const satisfies both ESLint (no assertion) and
  tsc (null assignment on line 82 is type-safe)
2026-06-11 20:30:51 -04:00
Lucas Berger 1453cbed76 docs(13-02): complete ESLint violation elimination plan 2026-06-11 20:25:47 -04:00
Lucas Berger 03e953158a fix(13-02): eliminate all ESLint violations — pnpm lint exits 0
- eslint.config.js: disable React Compiler rules (v7 flat.recommended enables
  them; codebase does not use the Compiler); add e2e/ to disableTypeChecked
  block; promote exhaustive-deps to error
- API broker: remove redundant as-casts (outboxWorker, poller, reminderScheduler,
  expand, sync, vevent, spike); add targeted ical.js no-unsafe-assignment/argument
  disables with justifying comments inside try blocks
- API routes/sse.ts: fix no-misused-promises on async writeSSE callback with
  void+IIFE+catch pattern
- API routes/lists.ts: let → const for updateValues
- API tests: remove unused imports (beforeEach, eq, vi); rename unused vars
  with _ prefix; remove unused lastActiveId assignment
- PWA components: void navigate() and void queryClient.invalidateQueries() on
  all fire-and-forget call sites; fix CalendarShell explicit-type-casts;
  Couldn't → HTML entity
- PWA test files: as unknown as Response for partial mock objects; string | null
  type annotation on mockLastSyncedUid; remove async from test callbacks without
  await; act(() => {}) not await act(async () => {}) for sync ops
- sw.ts: restructure Notification.data?.url access as let+if so disable
  comments land on the exact violation lines; void self.skipWaiting()
2026-06-11 20:23:38 -04:00
Lucas Berger 39e26561cf docs(13-01): complete lint gate foundation plan — SUMMARY + STATE + ROADMAP
Plan 13-01 complete: ESLint flat config + Prettier installed and wired,
SC-1 gate proven (exit 1 on deliberate violations), 119 real violations
inventoried for Plan 02 (api:42, pwa:77). STATE advanced to Plan 2 of 3.
2026-06-11 19:53:55 -04:00
Lucas Berger 7a255eacaa fix(13-01): disable react/react-in-jsx-scope for React 19 JSX transform
SC-1 smoke revealed flat.recommended enables react/react-in-jsx-scope (error),
while the legacy recommended disables it. This codebase uses jsx:"react-jsx"
(React 17+ automatic transform) so React does not need to be in scope. Disable
the rule explicitly alongside react/prop-types in the pwa-react config block.

Also proved both gate halves:
- pnpm lint exits 1 on no-floating-promises deliberate violation (SC-1 lint)
- pnpm format:check exits 1 listing _format-gate-test.ts (SC-1 format)
Both throwaway files deleted; neither staged nor committed.
2026-06-11 19:52:08 -04:00
Lucas Berger df62d333d0 chore(13-01): install ESLint+Prettier, author flat config, wire lint/format scripts
- Install eslint@9.39.4 @eslint/js@9.39.4 typescript-eslint@8.61.0
  eslint-plugin-react@7.37.5 eslint-plugin-react-hooks@7.1.1
  eslint-config-prettier@10.1.8 prettier@3.8.4 as root devDependencies
- Author eslint.config.js: ignores → base recommendedTypeChecked (projectService:true)
  → pwa-react block (apps/pwa/** only) → disableTypeChecked override (config files +
  apps/api/tests) → prettier-last (eslint-config-prettier/flat)
- Add .prettierrc (singleQuote:true, printWidth:100) and .prettierignore
- Add "type":"module" to root package.json; add format/format:check scripts
- Add lint script (--max-warnings 0) to apps/api and apps/pwa
2026-06-11 19:44:57 -04:00
luckberg 0798046714 Merge pull request 'fix(08): resolve remaining Phase 8 CI review findings (WR-02/03/04/05 + IN-01 doc)' (#7) from gsd/phase-08-fixes into main
Publish / publish (push) Successful in 15s
Reviewed-on: #7
2026-06-11 19:40:44 -04:00
luckberg b645243582 Merge branch 'main' into gsd/phase-08-fixes
CI / fast-checks (pull_request) Successful in 49s
CI / api (pull_request) Successful in 58s
CI / harness (pull_request) Successful in 3m30s
2026-06-11 19:31:13 -04:00
luckberg 60be525836 Merge pull request 'docs(roadmap): promote Phases 13 (lint gate) + 14 (desktop e2e) into v1.1' (#6) from gsd/roadmap-v1.1-phases-13-14 into main
Publish / publish (push) Successful in 7s
Reviewed-on: #6
2026-06-11 19:30:59 -04:00
Lucas Berger 5f065183b0 docs(08-fix): code review + auto-fix report (5 fixed, IN-02 deferred to Phase 13)
CI / fast-checks (pull_request) Successful in 49s
CI / api (pull_request) Successful in 1m3s
CI / harness (pull_request) Successful in 3m27s
2026-06-11 19:29:36 -04:00
Lucas Berger 66c54507ad docs(13): create phase plan 2026-06-11 19:27:50 -04:00
Lucas Berger bf091102f2 fix(08-fix): IN-01 document MariaDB-only long-unique HASH index dependency 2026-06-11 19:27:11 -04:00
Lucas Berger 4001cd5b90 fix(08-fix): WR-04 push immutable sha tag before :latest with strict shell 2026-06-11 19:27:07 -04:00
Lucas Berger 58861d99a8 fix(08-fix): WR-05 bind REGISTRY_PAT via env: and pipe with printf for docker login 2026-06-11 19:27:03 -04:00
Lucas Berger 6bcf867e6c fix(08-fix): WR-03 fail closed on empty GITHUB_SHA when computing image tags 2026-06-11 19:26:53 -04:00
Lucas Berger 44a9c307e2 fix(08-fix): WR-02 upload Playwright HTML report on harness failure 2026-06-11 19:26:28 -04:00
Lucas Berger 694253ecb0 docs(13): create phase plan — 3 plans (lint gate + Prettier format gate)
- 13-01: install ESLint v9/typescript-eslint/React/Prettier (pinned), flat config,
  package lint + root format scripts, root type:module; prove gate fails (SC-1)
- 13-02: fix all first-run violations across both apps, address-not-mask (D-13-05/06)
- 13-03: isolated Prettier reformat (D-13-08) + CI format:check step + green baseline (SC-2/SC-3)
- ROADMAP: add active Phase 13 entry + Progress row; mark backlog 999.16 promoted
2026-06-11 19:25:08 -04:00
Lucas Berger 2863025bcd docs(13): add pattern map 2026-06-11 19:18:46 -04:00