Skip to content

feat(positron): toMobileScreen — the mobile adaptation rule, verified without a simulator - #1809

Merged
joelteply merged 1 commit into
canaryfrom
feat/mobile-adaptation-rule
Jul 5, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/mobile-adaptation-rule

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The way this framework was built for: the mobile UX is a RULE authored + tested once, not a
per-app design and not blind native code. toMobileScreen derives a phone-native MobileScreen from
the SAME chatApp WorkspaceView the desktop paints as a three-panel — conversation full-screen
(primary), the who/where listings behind a bottom nav (tabs), each cell stripped to presence
(id/title/glyph/status; the dossier badges/meters a desktop row affords are DROPPED). A Flutter/
Swift/Kotlin painter renders MobileScreen → native widgets; the RULE is proven here before any Dart.

Same discipline as createRagTarget: verify the logic with a test, not pixels. The native screenshot
is the grid's last mile — the IosSimShot (xcrun simctl) + android capture adapters (task #94) are
already real and waiting for a toolchain box + the app that consumes MobileScreen. 19/19 chat-view +
5/5 patterns green, typecheck clean. Mobile's essence is real and correct; the simulator only paints it.

Co-Authored-By: Claude Opus 4.8 [email protected]
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… without a simulator

The way this framework was built for: the mobile UX is a RULE authored + tested once, not a
per-app design and not blind native code. toMobileScreen derives a phone-native MobileScreen from
the SAME chatApp WorkspaceView the desktop paints as a three-panel — conversation full-screen
(primary), the who/where listings behind a bottom nav (tabs), each cell stripped to presence
(id/title/glyph/status; the dossier badges/meters a desktop row affords are DROPPED). A Flutter/
Swift/Kotlin painter renders MobileScreen → native widgets; the RULE is proven here before any Dart.

Same discipline as createRagTarget: verify the logic with a test, not pixels. The native screenshot
is the grid's last mile — the IosSimShot (xcrun simctl) + android capture adapters (task #94) are
already real and waiting for a toolchain box + the app that consumes MobileScreen. 19/19 chat-view +
5/5 patterns green, typecheck clean. Mobile's essence is real and correct; the simulator only paints it.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 11a4a31 into canary Jul 5, 2026
@joelteply
joelteply deleted the feat/mobile-adaptation-rule branch July 5, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant