Repository navigation
Answer a paired Mac's Bot's plans, folder requests and routine ideas here - #909
sambitcreate wants to merge 11 commits into
Conversation
…here The desktop now asks the host for bot:cards, bot:access-requests and bot:plans, each in a call of its own, and answers those cards through the host's routes, as phones do. A message sent to a remote Bot shows at once. A Mac paired before Bots could be shared is told to pair again. On the host, one Bot the Remote contract can't carry is left out of the list instead of failing it for every device. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6REg8PpdXdPfTkkCKZJ
…gain The session read dropped accessRequest and plan, so a reload (after an error, a resync or an expired plan) lost the card until the next stream snapshot. A card this Mac can't read is left for the host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6REg8PpdXdPfTkkCKZJ
There was a problem hiding this comment.
Important
The paired-desktop routine suggestion flow can falsely confirm that decline feedback was saved.
Reviewed changes Reviewed the full paired-Mac Bot card, response, optimistic-send, host-list resilience, and re-pairing implementation.
- Capability negotiation and peer writes — Paired desktops independently request the three existing card capabilities and route typed plan, access, and routine responses through the host contract.
- Remote Bot presentation — Session mapping and the remote chat now render plans, access requests, memory updates, routine proposals, and immediate send echoes using the local Bot surfaces.
- Host and sidebar resilience — Invalid Bot summaries are omitted individually, while old pairings without Bot grants receive an explicit re-pair explanation.
- Documentation and coverage — Remote access and Bot guides were updated, with focused behavioral coverage across negotiation, mapping, card actions, sends, and list behavior.
@v0 or keep the SHA fresh with Dependabot | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using GPT Sol | 𝕏
…hread-awyxuf-pr3 # Conflicts: # .memory/bot-chat-activity.md # docs/aiden-on-the-go-remote-access.md # renderer/main/remote-bot-chat-view.test.tsx
…n't record a reason Revision 27's routine-proposal route takes only the decision, so the remote Bot chat hides the card's "Why not?" after Not now instead of showing "Noted, thanks." for a reason that was never sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018VA6REg8PpdXdPfTkkCKZJ
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the session-compatibility and routine-decline fixes, plus the updated stacked-base integration, since the prior Pullfrog review.
- Preserved remote cards — Kept validated plan and access-request fields through plain session reads and stream snapshots while continuing to discard individually unreadable cards.
- Removed false decline confirmation — Disabled the unsupported Why not? flow for paired-Mac routine suggestions while preserving Not now and its settled receipt.
- Extended behavioral coverage and docs — Added focused tests for both fixes and documented the paired-Mac decline behavior.
- Merged the updated stacked base — Incorporated the host-clock unread-marker changes without regressing this PR’s remote Bot flows.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the first-reply unread-state fix and the updated stacked-base integration since the prior Pullfrog review.
- Preserved first-reply visibility — Persisted a zero host baseline when listed Bots have no replies yet, so their first later reply becomes unread even after reload.
- Kept incomplete feeds neutral — Left the baseline unset for an empty Bot list so a feed that has not arrived cannot incorrectly establish read state.
- Scoped sentinel validation — Accepted zero only for host baselines while continuing to reject it for per-Bot seen timestamps.
- Updated coverage and documentation — Added focused persistence and first-reply tests and clarified the desktop unread-baseline contract.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏
|
The "Desktop tests (renderer-other)" failure on 8504cc6 is in the CLI package step. One test failed: Generated by Claude Code |
|
The "iOS build and simulator tests (Xcode 27, non-blocking)" failure on 8504cc6 isn't from this PR. Compared with its base (#907), it changes nothing under Generated by Claude Code |
…' into claude/project-thread-awyxuf-pr3 # Conflicts: # .memory/bot-chat-activity.md
…t, log a Bot left out for its stored fields, and keep a re-read plan card's revision
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the Bot-list error-classification fix, stable remote-plan revisions, and updated stacked-base integration since the prior Pullfrog review.
- Preserved client Bot rows — Moved transient summary reads outside the per-Bot projection catch so an operational failure rejects the list, while deterministic contract-invalid stored fields omit and log only that Bot.
- Stabilized re-read plan cards — Derived remote plan revisions from the bounded card-visible plan fields so unchanged reloads and reconnects retain card state while material plan changes replace it.
- Extended diagnostics and coverage — Wired fixed Bot-omission diagnostics for desktop and CLI hosts, documented the retention distinction, and added focused behavioral tests for transient failures, safe logging, and plan revision stability.
- Merged the updated stacked base — Incorporated the latest host-feed signal-cache work without regressing this PR’s paired-Mac Bot flows.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏
…hread-awyxuf-pr3 # Conflicts: # .memory/bot-chat-activity.md
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Reviewed the latest stacked-base integration since the prior Pullfrog review.
- Preserved first-reply unread state — Carried revision 66’s
summarizedmarker intoRemoteBotChoice, allowing a newly listed Bot with no replies to establish the zero baseline that makes its first later reply unread. - Verified the integrated behavior — Confirmed the marker reaches
markRemoteBotHostListedand ran the focused remote-seen and Bot-sidebar suites, which pass 40/40 tests.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏
…hread-awyxuf-pr3 # Conflicts: # .memory/bot-chat-activity.md

Requested by sbt · project thread
Stacked on #907, which is stacked on #895. Merge those first; GitHub then retargets this PR.
Problem
In a Bot chat opened from another Mac:
Change
PR 3 of the fix plan. Desktop only, no protocol revision. It uses opt-ins phones already hold.
peer-host-registry.tsasks forbot:cards,bot:access-requestsandbot:plans. Each goes in a call of its own and only when the host lists it inserverCapabilities, so a host that refuses one keeps the rest. An older host keeps sending the notice line.botRespondPlan,botAnswerAccessRequestandbotRespondRoutineProposalmap to the existing/plans/{planId}/respond,/access-requests/{waitId}/answerand/routine-proposals/{proposalId}/respondroutes. Request bodies go through the protocol's own parsers, and receipts are checked against the contract.remote-bot-session.ts):snapshot.planandsnapshot.accessRequest. Plan items get ids from their position, and each plan frame gets a newrevision.memory_updateandroutine_proposalentries become this Mac's own transcript rows.RemoteBotChatView:bot-chat-pane.tsx), along with "Getting ready". It leaves when the host's entry arrives, or when the send fails, and the draft stays.bot:readshows "To use 's Bots here, pair this Mac with it again." under its name. Search hides it.AidenRemoteBotService.list()leaves out a Bot whose summary fails the contract instead of failing the list.docs/aiden-on-the-go-remote-access.md,docs/aiden-remote-api-v1.md(capability rows, paired-desktop negotiation),docs/bot-access-requests.md,docs/bot-rules.md,.memory/bot-chat-activity.md.Not in this PR:
approval:cards,bot:allowed(Always) and the revision-61 Bot UX opt-ins.Screenshots
A Studio Bot that wants a folder, has a plan pending and suggested a routine, opened on this Mac.
Scope
A feature plus one host bug fix (PR 3 of the plan).
Verification
npm run type-check: clean. eslint on the touched files: clean.test:remote-chat(250),test:peer-hosts(185),test:bots,test:sidebar(260): all pass.aiden-remote-bots.test.ts: 21 pass.RemoteBotChatViewanswers an access card, then the plan, by their own ids. Stop plan then sendsstop, and the composer waits for the plan.AI disclosure
Written with Claude Code.
Checklist
Generated by Claude Code