Skip to content

feat: show the shared mission graph on the phone - #2467

Merged
yansfil merged 5 commits into
mainfrom
feat/phone-mission-graph-main
Nov 11, 2026
Merged

yansfil merged 5 commits into
mainfrom
feat/phone-mission-graph-main

Conversation

@yansfil

@yansfil yansfil commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Supersedes #2454 with the same commit; the branch changes only to remove the #2466 stack.

The phone's vertical step rail made a mission's parallel work hard to follow.
The phone now uses the desktop graph's layout, card frame, connections and report.
Touch pan and pinch preserve the view; a node tap opens its worker's conversation.
The header, progress, decision and reply controls keep their existing behavior.

Phone mission graph at 393 pt, demo mission, light

Phone mission graph at 393 pt, demo mission, dark

18-node mission and touch zoom at 393 pt

Phone mission graph at 393 pt, 18 nodes in parallel branches, light

Phone mission graph at 393 pt, 18 nodes in parallel branches, dark

Phone mission graph at 393 pt, native touch pinch to 91 percent and pan

Ready merge remains the operator turn, open PR #33 +1

Paired owning-guide update: https://github.com/with-hide/hide-private/pull/868

Review

  • Decide: The operator approved the graph UI. Corrected captures settle theme transitions before recording colors.
  • Risky files: MissionMapCanvas.tsx adds touch gestures; MissionGraph.tsx shares the desktop layout.
  • Risky files: mission-graph-card.tsx extracts the desktop frame; phone metadata stays at its boundary.
  • Cost: At most two pointers and one pending animation frame; no wire events; frame cancels on unmount.

Tests

  • Layer: Phone UI unit tests, existing desktop graph tests, and native Chromium touch through the phone demo.
  • Catches: Missing/parallel nodes, gates, omitted/empty/finished states, worker taps and wrong turn markers.
  • Catches: Deliberately omitting one node failed the four-node graph test; restored source passes.
  • Catches: After integrating feat: leave a node's ready merge to the operator #2459, the detail keeps ready operator merges, newest open held PR and additional count; restoring the old current-PR selection fails on Document Rust and Swift working conventions #37 instead of Distinguish pull request states with colors and icons #33.
  • Catches: Native card-start pan and pinch continue across successive moves; restoring the capture-transfer bug fails the second pan move.
  • Repeat: Built-phone CI repeats the native card-touch scenario 6 times successfully, with retries disabled; the two changed E2E specs total 192 passes.
  • Repeat: On committed 826e92f, all 27 focused phone tests passed 3 consecutive runs through the shared cargo slot, including the added ready-merge detail assertions; no retry.
  • Repeat: Earlier candidates passed the native-touch scenario body 3 times locally, paired-phone gate E2E 3 times, 26 phone tests × 3 runs, and 141 focused tests including CSS variable validation; these are earlier-head evidence.
  • Waits: No new fixed waits, retries or timeout overrides in committed tests.

Evidence

  • Verified: 393 × 852 CSS px, light/dark demo and 18 nodes; no page overflow or browser exceptions.
  • Verified: Native Chromium touch pinch 46% → 91%, pan by 60/90 px, drag suppresses worker navigation.
  • Verified: Node tap opens its worker; finished map fits; empty and omitted plans render one line.
  • Verified: A real paired phone answers a gate and keeps its completed step visible on the shared graph; 3 local E2E runs passed.
  • Verified: After merging main once, 27 focused phone tests pass, the native-touch scenario passes, and the 393 pt ready-merge card shows the correct open PRs and operator turn.
  • Verified: Prior candidate web/phone builds and focused units pass; current lint, design contract and native-touch checks pass.
  • Not verified: Physical iPhone/Safari and native iOS host; live relay/Apple services were outside scope.
  • Verified: New PR feat: show the shared mission graph on the phone #2467 passes every planned CI lane on its first attempt, including WSL product tests and the six-run native-touch repeat. macOS desktop lanes were not selected by the plan.
  • Not verified: This is direct delegation with no PRD run.
Verification record
  • Candidate: 826e92f014316961d80b7ac520791451313c8b77; integrated main: 62583c64fe74e98e6c8432e7c66571fed5cdcca0.
  • Final CI: https://github.com/with-hide/hide/actions/runs/43087183617, first-attempt success on the candidate above, 35 successful jobs and no failures. WSL setup took 42 seconds and both WSL product steps passed.
  • Earlier same-head CI: https://github.com/with-hide/hide/actions/runs/43077731006/attempts/2, success on the candidate above. The first attempt stalled during WSL distribution setup before product tests; the lead requested cancellation and one failed-only rerun. Its cancellation annotation is The run was canceled by @yansfil. The canceled job log was unavailable (log not found); its raw job state and annotation are preserved locally. The rerun completed setup in 61 seconds and both WSL product steps passed.
  • Previous head 13a79ac24e: https://github.com/with-hide/hide/actions/runs/43038814917, attempt 3, all planned lanes pass.
  • Main was merged once after feat: leave a node's ready merge to the operator #2459 landed. The sole conflict was its edits to the removed phone rail; the shared mergePull rule now supplies the graph card, ready merges join initial framing, and the inherited list test also checks detail cards.
  • Independent final review: PASS on 826e92f014316961d80b7ac520791451313c8b77 for feat: show the shared mission graph on the phone #2467 (letter-35850). Source, author logs and same-head CI were reviewed; the reviewer did not independently execute tests or browser checks. The capture-transfer defect and missing three-run repeat evidence are closed.
  • Final native touch repeat: https://github.com/with-hide/hide/actions/runs/43087183617/job/130755001539; mission-gate.spec.ts + phone-relay.spec.ts, 32 tests x 6 repeats, 192 pass, retries 0. Native card touch passes all 6 repeats in 1.7 seconds each.
  • The superseded 4aa2 verify was cancelled before pushing this integration head; no failure was observed before cancellation.
  • Final head retains card pointers while implicit capture transfers to the canvas; only the canvas losing its own capture ends tracking.
  • Before fix: all five native pan moves stop at scrollTop 106; three pinch moves stop at scale 1.00.
  • After fix: pan scrollTop 106, 121, 136, 151, 154; pinch scales 1.00, 1.33, 1.67.
  • Card-start event traces record SPAN implicit capture, bubbling lost capture and DIV capture, followed by actual successive moves.
  • Restoring the old handler makes the new scenario fail on its second pan move; restored fix passes three times.
  • Local source-hosted runs execute the committed scenario body with only its navigation changed to the Vite entry; the built-phone relay-fixture run passed all six CI repeats; local focused-unit WASM preparation later ran in the shared slot after disk space recovered.
  • The lead requested one failed-only rerun after another unchanged branch passed WSL; only WSL and verify reran.
  • That failed-only rerun changed no source; the external package-host DNS failure no longer reproduced on that attempt.
  • Author review covered correctness, fragmentation, simplicity, module boundaries, ownership/limits and tests.
  • The existing phone frame already carries dependencies; no contracts, daemon projection or protocol change.
  • Desktop-only satellites and defect metadata stay absent on the phone; values are not fabricated.
  • The App Store capture marker [data-phone-mission-steps] remains on the graph section.
  • Final focused tests ran through the shared cargo slot and verification entrypoint. An initial unslotted preparation was stopped immediately, then rerun through the slot.
  • All browsers and the worktree's dev server were closed; the installed app and operator runtime were untouched.
  • The operator approved the graph UI; the parent owns the merge. No merge was attempted.
  • All six phone captures were re-recorded at final candidate 826e92f014 after the capture-transfer fix.
  • CI run 43034405862 caught the remaining old rail-fold E2E expectation; it now checks the requested visible completed graph card.
  • That run also hit Ubuntu DNS resolution failure in WSL package installation before product tests; the log is preserved and the previous head subsequently passed the complete planned verify.
  • Initial CI run 43032557664 caught an undefined CSS size variable; the ineffective reference is removed.
  • Dark controls in the first long-light capture were a 150 ms theme transition, confirmed by computed styles and active CSS transitions; corrected captures record settled colors.
  • Empty reply/selection keeps Send/Answer disabled as designed; the input and header remain active.

Capture SHA-256:

  • demo-light.png: 1000c713b58fb97011988f4a29a5225a91a6ef2564957daedd1c7fd3574c2d1f
  • demo-dark.png: 4034c128592617a1232ac8dd62fe23c495e370fcec98bee816fe9613057167ff
  • long-light.png: 9f4f1874d89820407369b428b241ce16713fde9cddac8133d6c40f9862203247
  • long-dark.png: a3c41bf2baed60e94fcbe2610a547e8ee70d22022eddc6abf5d424a0c1c84d97
  • long-zoomed-panned.png: 2f3f8015198768a7e6680f23cfbb3a818e3aeba4e4d33971a51efd2f02c2403c
  • merge-ready-light.png: 39620d8bef7f13ab721acf262bb7f90001ad0f976b33a9a2f9207c88601f0d03

@yansfil
yansfil enabled auto-merge November 11, 2026 19:27
@yansfil
yansfil added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit e53b664 Nov 11, 2026
198 of 200 checks passed
@yansfil
yansfil deleted the feat/phone-mission-graph-main branch November 11, 2026 19:54
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