Open History to see the last commit
1# Jerry: implementation plan
2
3## Objective and scope
4
5Deliver a runnable macOS prototype with one draggable explorer that climbs real windows, parachutes towards a patterned sock, and records the discovery. The user must be able to continue working normally throughout.
6
7The product concept and later ideas live in [PLAN.md](PLAN.md). This document describes the build order. Do not start with three characters, finished artwork, a journal, or Windows support.
8
9## Current status
10
11Phases 1–7 are implemented for the local, single-display macOS prototype. The latest increment connects real desktop travel, the repeating sock hunt, saved menu preferences, lifecycle guards, and Release packaging. Verification and practical limits are recorded in [prototype validation](PROTOTYPE_VALIDATION.md); this does not claim full-screen traversal, a Windows port, or public distribution readiness.
12
13## Initial technical decisions
14
15- Use Swift, AppKit for desktop integration, and SpriteKit for animation.
16- Create a native macOS app target and a small, platform-independent Swift package for geometry, simulation, and mission rules. Select the minimum macOS version after checking the available SDK and test machines.
17- Use a menu bar app with explicit pause, resume, reset expedition, and quit actions.
18- Render the world in a transparent, mouse-ignoring overlay. Use one small non-activating input panel around the explorer for direct dragging. Do not assume returning nil from a view hit test forwards clicks to another app.
19- Start with one display and placeholder shapes. Use desktop coordinates in logical points, with one explicit conversion boundary between Core Graphics, AppKit, and scene coordinates.
20- Use a deterministic simulation with a seeded random source. SpriteKit presents simulation state rather than independently deciding character movement.
21- Read window geometry and order, not window titles or captured images. Verify which metadata is available without permissions on supported macOS versions before committing to a permission model.
22- Keep behaviour and animation definitions portable. Decide how to share executable code with Windows when planning that port; a Swift package alone does not guarantee an inexpensive Windows implementation.
23
24## Proposed repository structure
25
26```text
27Jerry.xcodeproj
28Jerry/
29 App/ # Entry point, menu bar, settings, lifecycle
30 Desktop/ # Window discovery, coordinate conversion, display tracking
31 Overlay/ # Rendering panels, character input panels, drag handling
32 Rendering/ # SpriteKit scene, explorer nodes, ropes, parachutes
33 Rig/ # Character hierarchy, joint constraints, pose blending
34 Animation/ # Clips, timing, contact targets, animation events
35 Playground/ # Development-only animation preview and fake terrain
36 Resources/ # Assets and animation definitions
37Packages/
38 ExpeditionCore/
39 Sources/ExpeditionCore/
40 Geometry/ # Points, rectangles, visible edge subtraction
41 Terrain/ # Surfaces, attachment anchors, terrain snapshots
42 Simulation/ # Explorer state, motion, collision, simulation clock
43 Navigation/ # Reachable transitions and route selection
44 Missions/ # Mission stages and expedition events
45 Tests/ExpeditionCoreTests/
46docs/
47 MANUAL_TESTS.md
48```
49
50Create directories as their implementation becomes necessary, rather than adding empty scaffolding upfront.
51
52## 1. Establish a runnable shell
53
541. Inspect the installed Xcode/Swift toolchain and choose a supported deployment target.
552. Create the app target and core package, with a public README and build/launch instructions in the root AGENTS.md.
563. Implement the menu bar controls and one transparent overlay on the main display.
574. Draw a placeholder explorer and verify that the overlay does not activate the app or capture keyboard focus.
585. Add a development-only terrain/debug toggle.
59
60Acceptance: launch and quit reliably; type, scroll, select text, and drag underlying windows normally while the placeholder is visible. Pause stops animation; quit removes every app-owned panel.
61
62Implementation status (5 November 2026): app shell, local core package, Xcode target/shared scheme, click-through overlay, placeholder idle animation, menu controls, and debug guides are implemented. The Debug build and initial launch/rendering passed. See [manual checks](MANUAL_TESTS.md) for remaining interactive acceptance checks.
63
64## 2. Prove dragging before adding movement
65
661. Create a small non-activating input panel that follows the explorer's body. Keep ropes, flags, parachutes, and empty overlay space non-interactive.
672. Handle mouse down, dragged, and up locally in that panel. Preserve the grab offset so the character does not jump to the cursor centre.
683. Enter a `held` simulation state on mouse down; autonomous movement must stop.
694. Keep receiving the drag until release even when the cursor leaves the original character bounds.
705. On release, enter a short settling state; later connect this to platform attachment or parachute recovery.
716. Verify focus remains with the user's application. Start without global input hooks or Accessibility access; reassess only if the prototype demonstrates a need.
72
73Acceptance: repeatedly pick up and move the character without activating the toy, losing a drag, or blocking clicks away from its small hit area. If input panels are unreliable, resolve the approach here before proceeding.
74
75Implementation status (5 November 2026): a small non-activating character input panel, grab-offset handling, held/settling/idle states, screen bounds, display-change cancellation, and paused dragging are implemented. Six core tests and the native Debug build passed. The user confirmed that actual dragging and typing in another app both work. Remaining native edge-case checks are listed in docs/MANUAL_TESTS.md; core tests alone are not proof of window-server input behaviour.
76
77## 3. Discover windows and derive terrain
78
791. Implement a `WindowProvider` that supplies immutable snapshots containing window ID, frame, and front-to-back order.
802. Exclude the toy's own windows, invisible/minimised windows, and unsuitable system surfaces. Keep classification rules isolated and inspectable in debug mode.
813. Begin with a geometry refresh around 10 Hz, independent of the rendering rate. Measure responsiveness before increasing it.
824. Convert all frames to the simulation coordinate system.
835. Subtract areas covered by nearer windows from candidate top and side edges. Treat screen boundaries as fallback terrain.
846. Assign surface IDs from window ID, edge, and segment. Store attachments as window ID, edge, and local offset so splitting a visible edge does not lose the character's anchor unnecessarily.
857. Translate attached characters with their supporting window. If their support disappears or becomes occluded, enter recovery rather than teleporting or remaining suspended.
86
87Acceptance: debug lines match exposed window edges, including overlapping and resized windows. Moving or closing a supporting window updates the character predictably. Confirm basic terrain works with the actual permission state on the target Mac.
88
89Implementation status (5 November 2026): metadata discovery at 10 Hz, explicit coordinate conversion, visible-edge subtraction, window-relative top attachments, debug terrain, and placeholder controlled descent on support loss are implemented. The user confirmed near-edge drops attach and supporting-window movement carries the explorer. Recovery now sweeps downward against exposed tops so drops from farther above can land, rather than passing through to the desktop. The native build and geometry/attachment tests pass, and live metadata and terrain rendering have been inspected. The launch context already has screen-capture permission, so denied-permission behaviour remains unverified. Remaining native landing/close acceptance checks are recorded separately in docs/MANUAL_TESTS.md. Climbing, side attachments, and real parachute recovery remain later work.
90
91## 4. Build the animation playground and character rig
92
93Build a development-only preview window before connecting full movement to real windows. Keep it separate from the non-activating desktop overlay so preview controls can accept normal input.
94
951. Construct one explorer from simple coloured shapes: head, torso, upper/lower arms, hands, upper/lower legs, feet, and backpack. Use a parent-child joint hierarchy with explicit shoulder, elbow, hip, and knee pivots.
962. Add controls for idle, walking, climbing, abseiling, parachuting, being held, and investigating. Include pause, restart, slow playback, facing direction, and a joint/contact debug view.
973. Provide fake window edges, draggable handholds, a rope anchor, and a grab point. Make every preview repeatable without relying on the live desktop.
984. Implement parameterised poses and animation clips. Start with joint rotations and pose blending; add a small two-segment limb solver where necessary to keep hands and feet on contact targets. Handle unreachable targets without snapping or invalid joint positions.
995. Add body bobbing, backpack bounce, limb sway while held, and anticipation before a jump. Test an initial character height of 60–80 logical points and adjust for readability.
1006. Keep world position, collision, and mission decisions in the simulation. The rig consumes position, facing, movement phase, contact targets, and events; its visual offsets must not change terrain collision or drag anchors.
1017. Support clean interruption and pose blending when grabbed, dropped, or deprived of a handhold. Remove stale animation callbacks before another state starts.
1028. Reuse the same rig and animation controller in the playground and the desktop scene.
103
104Acceptance: preview every movement at actual desktop scale; hands and feet stay attached during contact, limbs bend consistently in both facing directions, and dragging interrupts any pose cleanly. The first comic sequence is an explorer walking to an edge, looking down, changing its mind, and being picked up by the user.
105
106Implementation status (5 November 2026): phase four is implemented with a shared shape rig, two-bone IK, anatomical bend poles, numeric pose blending, idle/walk/climb/abseil/parachute/held/investigation clips, and a looping edge-hesitation comic sequence. The Debug-only playground includes an actual-size comparison, 1–3× zoom, 0.1–1× playback, pause/restart, facing/background controls, joint/contact debugging, tunable cadence/stride/bounce, and draggable contacts, anchor, pivot, and body. The desktop reuses the rig for resting, held, and recovery states. Debug and Release builds pass; 34 core tests pass. Native previews and interaction checks are documented in docs/MANUAL_TESTS.md. The user's knee/foot-direction feedback was addressed by consistent knee and elbow pole targets. [Animation workflow](ANIMATION_WORKFLOW.md) documents the rig and future drawing/integration tasks. Finished bitmap artwork and real climbing routes remain subsequent work.
107
108### Agent workflow for animation and drawing
109
110Implement in small, reviewable tasks. Each task should produce a runnable preview and a screenshot or short recording, with a brief account of what changed and any remaining visual problems. Use agent-created previews for verification and user feedback for subjective style and comic timing; continue technical work that does not depend on an unanswered art preference.
111
1121. **Rig and playground task:** ask a coding agent to build the shape-based explorer, fake terrain, and preview controls described above. No external artwork is needed.
1132. **Movement refinement task:** tune joint placement, contacts, timing, dangling, and secondary motion. Expose tunable parameters so feedback such as "slower footsteps" or "more backpack bounce" can be applied without rewriting the rig.
1143. **Character design task:** use an image-generation agent/tool to draw a reference character with a clear silhouette, oversized equipment, and a consistent style. Review at actual desktop size before producing all the parts.
1154. **Body-part artwork task:** generate artwork and prepare separate transparent parts using the reference and a documented neutral pose. Record each asset's dimensions, pivot, attachment points, overlap, and layer order in a rig manifest. Inspect and clean up alignment, transparent edges, missing areas behind joints, and consistency of clothing and proportions; generation alone does not guarantee rig-ready assets.
1165. **Artwork integration task:** replace placeholder shapes with the prepared parts without changing the movement system. Check every preview pose in both directions and on light and dark backgrounds. Keep the shape rig available for debugging.
1176. **Personality task:** add facial expressions and bespoke poses for binoculars, the upside-down map, the kettle, and the sock discovery. Keep these expressions and equipment poses on the single explorer; vary his confidence, caution and fatigue.
118
119Prefer one consistent articulated rig over independently generated full-frame sprite sheets. Use occasional hand-authored or generated-and-cleaned special frames where articulation cannot express a comic pose well. Finished art and the other two characters remain subsequent increments; this stage establishes the workflow with one explorer.
120
121Suggested first agent task:
122
123> Build a development-only animation playground in Swift and SpriteKit for one explorer made from simple shapes with articulated arms and legs. Add selectable previews for idle, walking, climbing, abseiling, parachuting, being held, and investigating. Include a fake window edge, draggable handholds, a grab point, slow playback, and joint visualisation. Keep the rig separate from desktop integration and world simulation. Use no external artwork yet. Verify the preview at actual desktop scale and provide a screenshot or recording of the result.
124
125## 5. Implement movement and recovery
126
127Implement a state machine with explicit entry, update, and exit behaviour:
128
129| State | Purpose | Typical exit |
130| --- | --- | --- |
131| Idle | Rest or await a route | Route selected |
132| Walking | Follow a horizontal surface | Edge or destination reached |
133| Climbing | Move along a reachable vertical edge | Top reached or support lost |
134| Abseiling | Descend from an anchored rope | Landing or anchor lost |
135| Falling | Short unsupported movement | Landing or parachute deployment |
136| Parachuting | Controlled descent with limited steering | Landing |
137| Held | User controls position | Mouse release |
138| Settling | Brief pause after being placed | Resume or deploy parachute |
139| Investigating | Perform discovery animation | Mission event emitted |
140
1411. Use a fixed simulation step with an accumulator and a limit on catch-up work after stalls.
1422. Implement walking and climbing first, then falling and landing, then parachuting and abseiling.
143 Feed the resulting state and contact targets into the rig established in stage 4; use the playground to reproduce and tune animation issues.
1443. Use swept landing checks so a character cannot pass through a thin platform between updates.
1454. Build a small graph of traversable surfaces with walk, climb, abseil, and parachute transitions. Reject transitions beyond the current movement limits.
1465. Revalidate the next transition when terrain changes. If a route becomes impossible, wait, replan, or recover safely.
1476. If the user drops an explorer away from a surface, open the parachute and find a safe landing. Do not immediately route it back to its previous position.
1487. Keep characters within usable display bounds and provide a reset action if no valid route remains.
149
150Acceptance: walk to an edge, climb, abseil, parachute, and land on real windows. Repeat while moving, closing, and covering windows, and while dragging the explorer during each movement type.
151
152Implementation status (5 November 2026): fixed 120 Hz stepping with bounded catch-up, seeded surface routing, real top walking, side climbing, window-anchored abseiling, steered parachuting, swept landing, and route continuation after landing are implemented. Current and upcoming transitions are revalidated against fresh terrain. Grabbing cancels navigation immediately, including while paused. The shared rig receives facing and world-stable climbing contacts; recovery retains release momentum. Reset Expedition provides an escape hatch. The `recovering` movement state contains the initial falling/deployment and open-canopy subphases; investigation is controlled by the mission stage rather than a second movement controller. See the focused movement tests and native evidence in [prototype validation](PROTOTYPE_VALIDATION.md).
153
154Refinement (6 November 2026): added phase-synchronised walking and climbing, a stable knee branch with lower climbing contacts, explicit mantle/lower/launch beats, a top-pinned rope that follows rounded corners with tangent joins, and a menu for requesting specific real-terrain activities. Manual requests queue through unsafe interruptions and rest when complete; automatic adventures can be restored from the same submenu.
155
156Rope increment (6 November 2026): grappling, swinging, rope climbing and abseiling now share a physical line/session. Hook acquisition adds reachable graph transitions; gravity, slack/tension, reeling/payout, contacts and momentum govern hanging movement. Menu mode changes keep the existing line, and a landed abseiler can climb back up it. Native and numerical verification is in the latest rope section of the validation record.
157
158## 6. Assemble the sock hunt
159
1601. Implement mission stages: select destination, spot suspected sock, approach launch point, cross, investigate, discover the sock, update map, rest.
1612. Place the discovery prop on a reachable surface. Tie its location to its supporting window and reselect if that location disappears.
1623. Prefer parachuting when a valid launch and landing pair exists; use climbing or a nearer destination when the desktop layout does not permit it.
1634. Add binoculars, patterned socks, a parachute, and a rope using simple temporary art.
1645. Coordinate movement and animation through events. Cancel stale animation completions when the user grabs a character or its route changes.
1656. Add small pauses for anticipation, disappointment, and misplaced confidence.
166
167Acceptance: the entire sequence runs unattended on a suitable desktop layout, and interruption by dragging or window changes does not strand the mission. A sparse desktop still permits safe wandering and rest.
168
169Implementation status (5 November 2026): the deterministic mission director selects a reachable discovery, prefers parachute routes when available, and runs spotting, approach, crossing, investigation, sock discovery, map update, and rest beats. Simple binoculars, patterned socks, map, canopy, and anchored rope render in the click-through layer. Window-relative props follow their supports; missing destinations and grabs invalidate the old mission. Tests cover unattended repetition on sparse and suitable desktops, interruption, moving/removing destinations, and landing continuations.
170
171## 7. Package and evaluate the first prototype
172
1731. Add minimal settings and persist them. Mission persistence can wait until the longer expedition exists.
1742. Pause simulation and terrain polling when explicitly paused; rebuild terrain and reset the simulation clock after sleep/wake.
1753. For the one-display prototype, recover or pause if its display disappears. Hide the expedition during unsupported full-screen or desktop transitions until support is verified.
1764. Measure idle and active CPU, memory, and animation smoothness on the development Mac. Start with a 30 fps render target; document measurements and adjust based on results.
1775. Add a manual test checklist and a runnable development app build. Signing and notarisation become required when distributing outside the development machine.
178
179Acceptance: use the prototype during an ordinary work session without input interference, stuck characters, or accumulating panels. Document known limitations instead of claiming unsupported display or Space behaviour works.
180
181Implementation status (5 November 2026): Pause, Gentle Pace, and guide preferences persist. Pause suspends simulation and routine geometry polling, with dragging still available. Sleep/Space/foreground-app notifications drive visibility guards; return refreshes terrain and resets clocks while preserving explicit pause. The explorer remains on the primary display and resets safely after display changes. Duplicate app instances are prevented. `scripts/package.sh` produces a local Release app/archive. Automated core/soak tests, native AppKit lifecycle checks, runtime observations, performance samples, and known OS limitations are recorded in [prototype validation](PROTOTYPE_VALIDATION.md). Signing/notarisation remains a distribution increment, as scoped above.
182
183## Verification
184
185Use automated tests where the algorithm has meaningful failure cases:
186
187- Coordinate conversion for non-zero display origins and different axis directions.
188- Visible-edge subtraction for overlapping, touching, and fully covered windows.
189- Moving attachments and recovery after support removal.
190- Swept landing, unreachable routes, and bounded simulation catch-up.
191- Drag interruption and mission recovery using deterministic terrain snapshots.
192
193Use native manual checks for click-through, drag capture, focus retention, window stacking, pause/quit, sleep/wake, and desktop changes. These cannot be established by core unit tests. Run relevant checks after each milestone; do not defer interaction checks until the final build.
194
195Use the animation playground for actual-size visual review, contact accuracy, facing changes, pose interruption, and artwork alignment. Add focused numerical tests for limb reach constraints if a limb solver is introduced; visual quality still requires reviewing the rendered animation.
196
197## Subsequent increments
198
1991. Complete the character drawing and integration workflow from stage 4, replacing temporary art and refining readable character scale and animation timing.
2002. Refine the single explorer’s personality, equipment interactions and solo adventures.
2013. Add multiple displays, mixed scaling, and verified Spaces/full-screen behaviour.
2024. Add the scene director, persistent expedition progress, and selected later ideas from PLAN.md.
2035. Complete distribution signing/notarisation, packaging, and release testing.
2046. Plan the Windows host using the established behaviour contracts, assets, and test fixtures; choose a shared implementation strategy based on the working Mac prototype.
205
206## Platform references
207
208- [Apple: onscreen window enumeration](https://developer.apple.com/documentation/coregraphics/cgwindowlistoption/optiononscreenonly)
209- [Apple: ignoring mouse events](https://developer.apple.com/documentation/appkit/nswindow/ignoresmouseevents)
210- [Apple: non-activating panels](https://developer.apple.com/documentation/appkit/nswindow/stylemask-swift.struct/nonactivatingpanel)
211
212These APIs support the proposed approach; the first two implementation stages must establish the combined interaction behaviour on the target system.
213
214
215## Optional player-control increment — 6 November 2026
216
217Implemented explicit local keyboard control through a separate key-capable HUD, keeping the world renderer and drag panel non-activating. Arrows/WASD walk, steer, grab/climb sides, and climb/descend the shared rope; Space jumps or releases a rope; Down+Space drops through a platform; G fires a supported grapple. Holding no directional key pauses climbing/payout while keeping physical swing motion. Esc, loss of focus and lifecycle interruptions clear input and stop capture. Keyboard movement matches doubled walking cadence and uses fixed-step gravity for jumps.
218
219E targets a visible hand crosshair. Accessibility access gates an AXPress attempt with a single native-click fallback for custom controls. The app requests access only from the explicit click/permission command. It does not monitor global keys. Core/native input checks and live keyboard checks pass; granted-permission external clicks are still an interactive acceptance check. Text entry, right-clicks, double-clicks and explorer-driven dragging remain later work.
220
221
222## Idle exploration and manual interaction follow-up — 6 November 2026
223
224The user-facing idle setting now controls wandering/mission selection without suspending gravity, recovery, pointer attention or dragging. It persists and is respected after manual control. The hiking menu is organized into idle exploration, Take/Release Control, Actions, Settings and Controls & Tips, with developer options confined to Debug builds. Control–Option–Space is registered as a system hotkey without a global keyboard monitor.
225
226Holding G aims a visible rim marker; release fires from standing, in flight or from another rope. Refiring now keeps the old supported line until the new hook latches, then transfers with preserved momentum. Left/right pumps/brakes the rope tangent. E preserves the manual session and attached line across AXPress or fallback click; the key window is restored after the action and held movement is reconciled. Native/custom disposable controls were exercised on the floor and while hanging. Cross-app physical shortcut use remains an explicit manual check because targeted computer-use key injection did not traverse the OS hotkey path.
227
228
229## Welcome and unobstructed manual control — 6 November 2026
230
231Replaced the long alert with a reusable welcome guide: the actual animated explorer, idle-exploration setting, concise key rows, click-access status/action, and Take Control/Let’s Go buttons. It appears on first launch, records dismissal, and is reopenable through Controls & Tips. The layout can scroll on smaller displays while keeping footer actions accessible. Manual control uses an invisible keyboard target, with no controls window. Holding G routes arrows to the aim marker; releasing fires and restores movement/swing controls. Mouse movement does not aim the hook.
232
233
234## Optional running and faster work — 6 November 2026
235
236Implemented Shift-running with a separate, gait-matched run and airborne stride phase, plus Shift for faster wall climbing, rope climbing and abseiling. Persistent Settings options Run When Exploring and Faster Rope Work make the respective speeds optional defaults. The first enables running on longer automatic walking legs; explicit Walk actions retain walking. Rope work speeds the motor/pull clock without changing gravity or pendulum timing. Settings do not enable idle exploration by themselves. The welcome guide documents Shift.
237
238
239## Internal window terrain and tracking — 6 November 2026
240
241Implemented optional ScreenCaptureKit window analysis with explicit Screen Recording opt-in, local RGB boundary/line detection, a public terrain-guide toggle in both build configurations, and a bounded background capture pipeline. Feature IDs include their host window and survive scrolling through appearance matching and image registration. Window-relative geometry and feature-relative attachments combine window motion with content motion. Short bounded prediction bridges captured frames; stale, obscured or invalid holds trigger recovery.
242
243Standing ledges participate in swept landing, walking, route planning and sock missions. Horizontal cracks use a planted-hand traverse; vertical boundaries/cracks use braced climbing with downward elbows and contacts within rig reach. The graph joins nearby intersecting holds. Manual Up transfers from the shared rope to a nearby hold with a short reach/blend; slow autonomous rope work can transfer too. Manual input, interaction clicks and grappling remain available after transfer. Down from horizontal support steps off or releases into parachute recovery, with a latch preventing repeated drops while the key is held; ropes and vertical routes keep downward climbing.
244
245Validation includes synthetic classification/scrolling/occlusion/physics tests, real captured moving test-window content, native menu and limb-reach checks, and a disposable scroll-wheel fixture. The first implementation analyses one prioritized window, not every desktop window, and uses conservative straight-line terrain. Tracking across discontinuous reflow is intentionally rejected rather than guessing a new attachment.
246
247
248## Toolbar crouching — 6 November 2026
249
250Added hold-C crouching, a 160 ms planted-foot transition, a lower hand/click marker, and half-speed crouched walking with matched gait timing. E keeps both manual control and the held crouch. Physical held-key reconciliation after a desktop click includes C; focus/shortcut/stop cleanup releases it. Down retains its ledge-drop role. Crouch is grounded and does not replace jump or rope poses. The shared Crouching clip is available in the animation playground and the welcome guide documents the key.
251
252
253## Swift AI connection — 6 November 2026
254
255Established Foundation Models custom providers, native image/tool sessions, ChatGPT browser sign-in and app-owned Keychain credentials. The initial transport test has been replaced by real physical computer actions below. The app uses one explorer throughout.
256
257## Task UI first version — 6 November 2026
258
259Moved provider selection, ChatGPT sign-in, secure API-key entry, model loading and offline presets into AI Connection settings. Return in manual control now opens a single-line input bubble beside the explorer, clamped to the usable display and following his position. Escape restores manual control; typing pauses idle wandering without suspending gravity. Submitting starts AI mode and streams response text into a non-activating side journal with physical movement progress, Stop, New Task and Hide. Menu commands expose the prompt and restore the journal. Taking manual control or dragging the explorer cancels AI work and invalidates late tool callbacks. This increment preserves the illustrated survey scope; broader computer tasks remain next.
260
261
262## Real computer tools and screen-rim traversal — 6 November 2026
263
264Replaced the illustrated flag survey and forced survey tool with active-app observation and physical computer actions: hover, click/double-click, scrolling, dragging and onscreen-keyboard key presses. An input lease serializes actions, target IDs are refreshed through observation, and arrival/focus/geometry are rechecked before a press. Optional active-window image sharing is separate from local terrain capture and defaults off. The native model adapter supports image tool results and a bounded multi-action loop. The app is now explicitly single-explorer; recruitment and survey jobs are removed.
265
266Added a display-rim fallback to the shared grapple/rope model for global controls. The explorer can plant a top-edge grip, traverse with hanging contacts, then lower onto a line from that grip into an open menu. Actual window roofs are preferred where suitable. Rendering sits above the Dock and above popup menus during AI operation. Full-screen AI tasks remain visible. Regression scenarios cover corner/menu targets, traversing the rim, connected menu descent, and crossing real window roofs to interior controls. Real TextEdit/onscreen-keyboard acceptance is tracked in the validation log.
267
268AI travel now walks along ground/supports before an ascent, coils a grounded line so crouching works, and preserves full-display movement bounds when the Dock changes the visible frame. A pending grapple has a separate visual line while the old rope continues simulating; the load transfers only at latch, and an invalid replacement anchor leaves the old line intact.
269
270
271## Single explorer, readable journal and verified key presses — 6 November 2026
272
273Removed the companion renderer, recruitment tool and role/job scheduling entirely. The journal presents a written sequence of requests, actions and model replies; tool arguments, results and setup metadata are expandable details. Session history survives new tasks and can be exported. Streaming updates preserve earlier entries. Restored the original crouch pose and added Option as a lower-pointer modifier. Native keyboard presses now hold briefly, compare the destination’s value and retry only a confirmed missed character, never text changed by a user or autocorrection.
274
275
276## Ask shortcut and menu organisation — 6 November 2026
277
278Added a registered Control–Option–Return system shortcut for Ask Explorer, independent of the Control–Option–Space manual-control shortcut. Both handlers filter their own Carbon event IDs, handle key release and suppress repeat presses. Reopening an existing prompt preserves its draft and return-to-control behaviour. The main menu groups task/journal actions and manual/idle modes; movement preferences are under Settings, while terrain guides, activity tests and the Debug animation playground are under Developer Tools.
279
280
281## Patterned sock discoveries and Jerry — 6 November 2026
282
283The banana gag has been removed. SockMission now discovers the same patterned sock it spots, rotating stripes, spots, argyle and zigzags between completed expeditions. Both sleeves share the jacket palette. The shared AI system prompt names the explorer Jerry and separates conversational replies from computer tasks; live identity acceptance returned “My name is Jerry.”
284
285
286## Product interface and release preparation — 6 November 2026
287
288Implemented the compact Meet Jerry welcome, unified Settings sections, concise menu, contextual Stop Task, opt-in developer controls, per-connection AI setup/model loading, scoped disconnect, request-preserving setup recovery, permission status and distinct local/AI data-use copy. Login launch is available through SMAppService and reports approval/errors.
289
290Remaining publication gates:
291
292- [x] Jerry app icon, native macOS sizes and bundle integration.
293- [ ] Final release/version metadata.
294- [ ] Developer ID signing, hardened-runtime/entitlement review, notarisation and a distributable installer/archive.
295- [ ] Review the supported ChatGPT authentication/distribution arrangement before advertising plan sign-in publicly.
296- [ ] Verify minimum OS support, with AI availability clearly gated, plus Intel/Apple silicon distribution targets.
297- [ ] Fresh-install onboarding; permission denial/revocation and return from System Settings; cancelled/expired/revoked sign-in; unavailable models and network failure.
298- [ ] Signed-app login launch, credential isolation on disconnect, shortcut conflicts, small displays, dark mode, VoiceOver and keyboard-only navigation.
299- [ ] Public privacy/support documentation and an update strategy.
300
301These are release gates; the current package remains an unsigned local prototype.
302
303
304## Notebook interface refinement — 6 November 2026
305
306Unified welcome/Settings with the journal’s field-notebook materials and typography. Added padded sidebar navigation and a single shared header. Grounded the welcome illustration on a floor edge with the shadow clipped behind it. Shortened Settings copy, consolidated account controls and fixed card text wrapping. Every keyboard control remains visible in compact groups; none is behind a disclosure. Live layout review and 103 native/agent checks pass.