Skip to content

Plan 004 review fixes — warning wiring, truthful imports, sign-off gate, docs accuracy - #27

Merged
monchee merged 7 commits into
mainfrom
plan-004-fixes
Oct 9, 2026
Merged

monchee merged 7 commits into
mainfrom
plan-004-fixes

Conversation

@monchee

@monchee monchee commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Fixes all 16 defects from the GPT review of plan 004 (13 DEFECT + 3 actionable NITs):

  • storageWarning now reaches TestingScreen (App wiring was lost)
  • Dashboard import flows (new + replacement) and Get Started no longer claim success on failed writes
  • Testing-plan builder shows draft failure state; persistDraftNow enforces the cross-tab guard
  • Failure-mode spec split: CI-safe navigation/cross-tab tests run in CI; storage-interception tests are local-only (documented — CI chromium doesn't intercept prototype patching, verified via 6 rounds of page snapshots)
  • New: service-worker unlocked-update prompt test; Forward-with-guard assertion; two-tab stored-draft assertion
  • Dark-contrast check: proper alpha handling, +POS surface scanned
  • sync-protocols: mkdirSync import fixed; clinical sign-off gate enforced (fingerprint + Decision/Reviewer/Reviewed; --accept after documented sign-off; --review-only unchanged)
  • README version current; DREAM_DEV_PORT actually overrides the dev server command; check:release documented

Verification: tsc clean, lint clean, 928 unit tests, e2e green locally (full suite), CI pending on this PR.

Monchee added 7 commits October 10, 2026 08:50
…tingScreen via App; truthful Dashboard imports (both flows) and GetStarted return path; plan-builder draft failure state; persistDraftNow cross-tab guard; split failure-mode spec (CI-safe navigation/cross-tab vs local-only storage interception, documented); add SW unlocked-update prompt test; assert Forward-with-guard and stored-draft unchanged in two-tab; fix dark-contrast alpha handling and scan +POS surface; fix sync-protocols mkdirSync import; enforce clinical sign-off gate (fingerprint + Decision/Reviewer/Reviewed check, --accept after sign-off); README version current, DREAM_DEV_PORT actually overrides the server command, check:release documented; delete leftover debug spec
…fore contrast scan; version bump + changelog for the fixes PR (release guard by design)
… race on slower machines); SW update test scoped to local verification with documented limitation (plan STOP condition: report rather than silently downgrade); limitation recorded in plans/README
…scribe-level skip was cascading to the whole accessibility suite); local-only scope documented
… existing signed report BEFORE overwrite; --accept verifies same fingerprint + affirmative decision and preserves the sign-off block; REJECTED/maybe decisions refuse; --review-only never writes); report-save failure test moved to CI-safe describe; storageWarning cleared on reset/clear; DashboardScreen boolean type propagated; README version current; check:release in MAINTAINERS
…view-only returns before ANY write in both branches (including no-diff); ACCEPTED report (with verbatim preserved sign-off block: Decision/Reviewer/Role/Reviewed/Scope-notes) is written BEFORE snapshot/masterlist so the durable signed artifact is never behind the clinical data; hasClinicalSignOff requires affirmative decision (REJECTED refuses); per-test CI skips in the storage-interception describe
@monchee
monchee merged commit e22451a into main Oct 9, 2026
4 checks passed
@monchee
monchee deleted the plan-004-fixes branch October 9, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant