Repository navigation
Agent status C6: keep waiting prompts visible with host checks - #21059
brennanb2025 wants to merge 7 commits into
Conversation
Review and validation handoff — 2026-09-16Draft / not merge-ready. Published at the user's request before review/QA completion. Published head: What has been doneReview-and-fix reported commits f4cf7e0 and 676f551, with 220 tests across 10 focused files, node/web typechecks and changed-code quality passing. Coverage was bounded to the implemented observation/presentation seams. These are recorded worker/reviewer results from the stated revisions, not a fresh coordinator rerun, CI result, or blanket approval of today's PR head. Recovery/review workers used GPT-5.6 Sol xhigh; provider interruptions prevented some follow-up stages from finishing. What still needs to be doneRemove competing renderer observation cadence and finish direct-SSH/relay/headless publication plus C2/C7 consumer integration. Validate PID/attachment replacement, partial inventories, disconnect and bounded scan/RPC cost. No completed current-head manual Electron QA or real remote soak is available. Local process presence must not imply turn completion or renew Working. Before marking ready: address proven findings, reconcile current main and cross-batch overlap, complete independent review of the final diff, rerun relevant tests/typechecks/quality, and perform fresh manual Electron QA against that exact head. Use background/hidden CDP validation; unavailable auth/platform scenarios remain explicitly unverified. No successful final-head review or QA should be inferred from old report filenames or task completion labels. Related batch PRsC1: #21053 · C10: #21054 · C2: #21056 · C3: #21055 · C4: #21057 · C5: #21058 · C6: #21059 · C7: #21060 The remaining full-batch work stays open; opening this draft does not mark those requirements complete. |
|
Integrated current
GitHub currently reports the draft as mergeable, with checks still unstable/pending. The pre-existing uncommitted lockfile change and private notes remain outside the commit. |
…atus-c6-execution-evidence # Conflicts: # src/main/runtime/rpc/rpc-params-type-parity.ts
|
Closing this draft from the September 14 agent-status plan. That plan was re-examined against current main and replaced. This branch conflicts with main, and its central work duplicated contracts that had already merged (the canonical status store and the child-work contract landed on 15–16 September). The replacement work is being done as smaller root-cause PRs, each planned, challenged and reviewed first. |
When an agent waits a long time for a question or approval, Orca should not make that request disappear just because 30 minutes passed. This draft keeps the last known request visible, marks uncertainty honestly, and asks the machine running the terminal whether the exact attached agent process is still live, cannot be verified, or has exited.
This is a substantial foundation, but it is not merge-ready and does not complete the whole status-recovery project. The final remote-host wiring, mixed-version behavior, and current-head app QA still need work.
Before / after
live,unverifiable, orexited. A live process does not imply that the turn is still working, and an exit does not imply successful completion.The after behavior above is implemented and covered by focused tests. It has not yet been confirmed by current-head Electron or mobile app QA, a real SSH/relay run, or a mixed-version host/client run.
Issue status
No issue is marked closed by this draft.
Partially addressed and still open:
Both Linear records are currently Todo and both GitHub issues are open.
Why this approach
Simply exempting waiting states from the 30-minute rule would preserve real questions, but it would also leave abandoned sessions looking active forever. Checking only whether a terminal or PID exists is also unsafe because the agent may have exited into a shell or the operating system may have reused the PID.
Instead, the execution host owns the check because it can inspect the correct local, WSL, or SSH environment. It matches evidence to the recorded terminal instance, publishes the result through the existing host status service, and lets every screen use the same result. One bounded scheduler groups checks by host, limits concurrency, applies deadlines and retry delays, and discards delayed results after an attachment is replaced. Keeping execution evidence separate from turn completion is deliberate: process state cannot answer whether an agent finished successfully or still owes work.
Reader-specific exceptions were also considered. They would let the sidebar, tab bar, mobile row, and notes menu disagree, so this draft keeps readers focused on presentation rather than making each one decide whether an old process is real.
Scope, dependencies, and overlap
Review and validation status
Draft / not ready for merge. An independent review did not complete because the reviewer provider disconnected. The merge with current
origin/mainalso required a semantic integration change: C6 execution observations now enter the updated read-only legacy-status boundary through its declared write adapter. That change preserves the new main behavior and C6 publication, but it needs fresh independent review.At head
0132b5180fd1d0d309f3fc0aec4ace6fe3d25158, rebased by merge on upstream36cdb34097a7075718abe41c29d559101841166a:Still missing: current-head Electron and mobile app QA, real SSH/relay/headless coverage, mixed-version validation, disconnect/overnight soak, scale measurements, removal of the competing renderer cadence, and a completed independent review of the integrated head.