Commit Graph
609 Commits
Author SHA1 Message Date
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
Lucas Berger bcc9682a01 docs(roadmap): promote Phases 13 (real lint gate) + 14 (desktop e2e) into v1.1; fold backlog 999.5 self-service onboarding into admin-credential phase
CI / fast-checks (pull_request) Successful in 50s
CI / api (pull_request) Successful in 1m1s
CI / harness (pull_request) Successful in 3m33s
2026-06-11 19:13:31 -04:00
luckberg b12e10d129 Merge pull request 'chore(ci): split publish into standalone push-only workflow + document release model' (#5) from gsd/quick-split-publish into main
Publish / publish (push) Successful in 7s
Reviewed-on: #5
2026-06-11 19:04:30 -04:00
Lucas Berger ee67dfecef docs(13): add research + validation strategy 2026-06-11 19:04:13 -04:00
Lucas Berger ef87a3edf6 docs(13): research phase — ESLint flat config + Prettier 2026-06-11 19:03:11 -04:00
Lucas Berger 2b6b0da939 docs(state): record phase 13 context session 2026-06-11 18:29:04 -04:00
Lucas Berger 8fbc68f993 docs(13): capture phase context 2026-06-11 18:28:58 -04:00
Lucas Berger 234384c142 docs(quick-260611-ozt): split publish job into standalone gitea workflow + document release model
CI / fast-checks (pull_request) Successful in 49s
CI / api (pull_request) Successful in 56s
CI / harness (pull_request) Successful in 3m22s
2026-06-11 18:08:27 -04:00
Lucas Berger 92353e1860 docs(260611-ozt): document release model in README Publishing/Releases section
- Add Publishing / Releases section covering auto-trigger, image tags,
  REGISTRY_PAT secret naming, branch-protection safety gate, and MILESTONE bump
- publish.yml already carries condensed header block (committed in prior task)
2026-06-11 18:06:46 -04:00
Lucas Berger bb331fd110 chore(260611-ozt): split publish job into standalone publish.yml
- Create .gitea/workflows/publish.yml (push-to-main only, name=Publish)
- Strip publish job, push trigger, and MILESTONE env from ci.yml
- Eliminates orphaned CI / publish (pull_request) status on PRs
- Preserves all three required PR status contexts unchanged
2026-06-11 18:06:46 -04:00
Lucas Berger e14054c264 docs(260611-ozt): pre-dispatch plan for split publish job into standalone gitea workflow 2026-06-11 18:02:57 -04:00