Skip to content

feat(mobile): request Agent health checks with durable retries - #2154

Merged
DoodleBears merged 57 commits into
mainfrom
codex/2153-agent-health-check
Oct 18, 2026
Merged

DoodleBears merged 57 commits into
mainfrom
codex/2153-agent-health-check

Conversation

@DoodleBears

@DoodleBears DoodleBears commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Issue #2153 · stacked on #2152 · TOB #23

Why the change

Let a cloud channel member request an explicitly allowed Agent health check from the phone and safely retry an unconfirmed request after restart.

Special things to note

  • Merge risk: two-way code rollback, medium blast radius for cloud work requests and secure retry state; review actual user/target binding, persist-before-send and reply validation. Removing retry state does not cancel accepted cloud work.
  • 629 mobile tests pass (8 skipped), typecheck/style/source-policy/release-ledger checks pass. First broad run hit sandbox loopback EPERM; rerun with local test networking passed. Native Batch18 passed member request/result, explicit local denial, process replay, six size/theme cases, cold restart/refresh and logout isolation; runtime CI39088289282 passed. Draft remains unmerged; Android/physical/Human QA unverified.
  • JS-only, SDK58 binary remains compatible. UAT only; no Prod/merge. DSH forwarding, two Hosts, WebSocket and Human QA remain separate gates.

Change outline

Channel Agents → Request health check (member or owner)
  → secure pending target + five-minute deadline + stable operation
  → public TOB request route → readable result in channel
Restart / lost response → retry identical request, no deadline extension
Sign out / remove retry → local record cleared, no remote cancellation claim

Agent-side local policy and durable execution/result ledger live in TOB #23. A cloud membership alone cannot run work. Runtime8586130e5; evidence-format-only81b98eafc, installed native494a20f1e; service23db30d UAT/schema5/4/4. Evidence, recordings and first failures.

Before: channel Agent credentials/replies only. After: ordinary member request, independently executed result, and local-policy denial.

Before: channel Agent management

After: member can request health check

Same channel completed result

Maximum text request remains reachable

Restart retains local-policy denial

Own session signed out

Agent claim: #2153

Issue: #2101

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2101
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2120
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Preserve cloud and model settings translations.
Issue: #2120
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2120
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2120
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Refs #2120

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Refs #2120

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Refs #2120

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Refs #2120

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2130

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2130

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2130

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2130

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2130

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2137

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2137

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2145
Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
…tations

# Conflicts:
#	apps/mobile/src/ui/strings.ts
Issue: #2148

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2148

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2148

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2148

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2148

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Issue: #2148

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Refs #2148

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
Refs #2151

Agent-Task: codex/local/01a148ae-ec7f-74b2-8157-961411ce54c9
@coderabbitai

coderabbitai Bot commented Oct 18, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@DoodleBears
DoodleBears changed the base branch from codex/2151-channel-agents to main October 18, 2026 05:09
@DoodleBears
DoodleBears merged commit 7c4d00e into main Oct 18, 2026
10 checks passed
@DoodleBears
DoodleBears deleted the codex/2153-agent-health-check branch October 28, 2026 04:25
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