Repository navigation
docs(nav): add navigation-flows + screen-contracts as-built spec, fix stale drift - #683
Merged
Merged
Conversation
New canonical AS-BUILT spec pair for both apps' screen transitions: docs/navigation-flows.md (route model, per-app flow chains + mermaid, negative-flow table) and docs/screen-contracts.md (per-screen element inventory, interaction-outcome, covering-behavior, and state-variant contracts) — replacing prose flow claims scattered across docs/v1/design.md §How.5 and docs/designs/01-08 with one code-verified source of truth. Surfaces two real cross-app drifts the audit missed: Minesweeper's daily-ready reminder never deep-links (no reminderTapRoute wired), and MS's solved-daily re-view Close pops to Home while Sudoku's pops to the Daily hub. Also lands the completed spec-drift audit's corrections: scoped AS-BUILT-UPDATE banners on design.md §How.5 and docs/designs/01-08 (05 flags the stale pause-overlay/nav-bar-timer sections, 06 flags the stale fullScreenCover-CompletionView/Play-Again-pushes sections, 08 notes the #516 themed-background exception), a completion-mock caveat on both app-flow prototypes, an SDD-003 Epic 4 CTA-evolution update, an SDD-006 status/scope correction (PR1 prints a TODO block to stdout; NEXT-STEPS.md is PR2 scope), and 02-home.md's two subtitle punctuation nits ("Global / friends", "Account / language" to match code). Co-Authored-By: Claude Fable 5 <[email protected]>
…ADICTED (CR) The banner claimed the doc was verified accurate, but its own body §b/§d still describe the completion-embedded top-3 mini-slice + View-full- leaderboard CTA, both removed in SDD-003 Epic 4 (CompletionView.swift calls CompletionScreen with state: .hidden). Flag §b/§d as CODE CONTRADICTED, mirroring 06-completion.md; the dormant slice = #468. Co-Authored-By: Claude Fable 5 <[email protected]>
The banner edit pulled docs/v1/design.md into the lychee changed-file set, exposing a long-standing broken link: (v2/design.md) resolved to docs/v1/v2/design.md. Corrected to ../v2/design.md. Co-Authored-By: Claude Fable 5 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jul 4, 2026
Spec-first navigation methodology: screen contracts (element inventory + per-interaction presentation semantics + back/close landing + covering/ z-order + state variants) + forward/negative flow chains, code-anchored. Synthesizes web research (wireflows, statecharts, HIG modality, model-based test derivation) + this repo battle-scars (#2B/#197/#523/#611/#518/#674). Worked example: docs/screen-contracts.md + docs/navigation-flows.md (#683). Co-authored-by: Claude Fable 5 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jul 5, 2026
…ain (#695) Session log: 4-screenshot bug wave (#673-#677), three-lane dual-app UIUX/spec audit, navigation-flows + screen-contracts spec (#683), the screen-contract-spec skill (#684), the contract-driven static pass, the 4-PR fix train (#690-#693), two evidence-based environmental downgrades, and the gated open items (#685/#468/B1-B4/#694). Co-authored-by: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces the canonical AS-BUILT navigation spec for both apps and corrects the documentation drift the spec-audit surfaced.
New (SSOT):
docs/navigation-flows.md— route model, two-context board presentation (iOS modal / macOS push), per-app flow chains + mermaid, 18-row negative-flow table.docs/screen-contracts.md— 21 screen contracts: element inventory · interaction→destination/presentation/back-lands-on · covering behavior · state variants · code anchors.Corrections: scoped AS-BUILT banners on
docs/v1/design.md§How.5 anddocs/designs/01-08; SDD-003 Epic 4 CTA-evolution note; SDD-006 status + NEXT-STEPS-is-stdout correction; both prototype HTML Play-Again caveats; 02-home punctuation.Real drifts surfaced (now documented, candidates for product decisions): MS daily-ready reminder tap is a no-op (no
reminderTapRoute); MS solved-daily Close pops to Home while Sudoku pops to the Daily hub (asymmetry); the completion top-3 leaderboard slice + 'View full leaderboard' CTA are removed (state: .hiddeneverywhere) — the #468 dormant machinery, flagged in 06/07 banners.Dual CR: haiku APPROVE (mechanical); sonnet APPROVE after one blocking fix (07-leaderboard banner wrongly claimed 'verified accurate' while its body described the removed slice — corrected in b61c9fd). All 5 code-contradiction claims + presentation tags + negative-flow rows independently verified against source.
🤖 Generated with Claude Code