Skip to content

Add fixed Agent health checks with durable result retries - #23

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

DoodleBears merged 2 commits into
mainfrom
codex/4-agent-health-check

Conversation

@DoodleBears

@DoodleBears DoodleBears commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

T3 · stacked on #22

Why the change

Let a channel member request one explicitly allowed local health check and receive a durable result without retries rerunning completed work.

Special things to note

  • Merge risk: two-way code rollback with retained additive data, medium blast radius for channel messages/Agent work; review current requester membership, credential revocation, local allow-list and interruption recovery. Channel schema4; D1/Org5/4.
  • Fixed process diagnostics only, no shell or model execution. Agent results are authenticated reports, not hardware attestation. HTTP polling only; DSH forwarding/two Hosts remain outstanding. Draft, UAT only, no merge.
  • Source: 49 workerd +37 Node +2 wizard checks, typecheck and build passed. UAT CLI and mobile Batch18 passed request/result, explicit local policy denial/grant, fresh-process replay and logout isolation; failure-injection SQLite errors are expected test output.

Change outline

Human phone / CLI
  → stable request + actual requester/member identity → Channel DO message + request
Reference Agent private policy + durable SQLite ledger
  → current cloud authorization → persist started → fixed process check
  → durable result outbox → same Channel DO result → phone / CLI
No authorization / expired → rejected, zero execution
Interrupted started       → needs-review, no automatic re-execution
Lost result acknowledgement → resend identical result
Finished request replay   → skip execution

The phone keeps target/deadline/operation before sending; removing local retry state cannot cancel accepted cloud work. Protocol and runnable CLI. Native evidence.

Agent claim: #4 (comment)

@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.

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