Skip to content

unattended ops: remote approval escalation via tole serve #200

Closed

Description

@ajianaz

Summary

Approved 0.8.0 Unattended ops phase (owner decision 2026-10-06). When a mission running on a server hits a Write approval, the pending decision becomes a queue entry on the tole serve face; a remote client (CLI or the future uteke-mobile app) lists/approves/denies. The turn parks resumably at the denial/approval — same semantics as an interactive approval (existing pattern).

Why

The convergence feature: missions run on the box, the human manages them from anywhere — including the planned mobile app. No competing harness combines unattended missions with approval-first + durable audit; this is tole's differentiator, and it connects the autonomy and mobile tracks in one primitive.

Design sketch

  • REST: GET /approvals?session= (queue), POST /approvals/{id}/decision (allow/deny, one-shot token), MCP + ACP parity follow-up.
  • Audit unchanged: every decision is a durable session entry; approvals expire (timeout → deny) so missions never hang silently.
  • Security: serve auth already token-based; decision endpoint revalidates per request; rate-limit via existing limiter.

Acceptance

  • Queue + decision endpoints, expiry-to-deny, full audit entries
  • CLI consumer (tole approvals list/allow/deny)
  • Threat-model section: remote approver trust boundary; CHANGELOG same-PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions