Repository navigation
Subagent view: distinguish admission, settled answers, and explicit replies #4268
ckw-123
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What happened
This came from
openai-codex/gpt-6.2-solactually operating Prime Agent during a long Windows benchmark and GitHub review. Reported with the operator’s approval. The model is the workflow operator here, not a prerequisite for this behavior. Private transcript, credentials, paths, and IDs are omitted.In a real audit,
rlm.spawn()admission returned promptly as designed. A subsequent nonblockingrlm.collect(..., timeout_ms=0)described children that were still running withsettled=False; that was not a result. A later pull from three earlier investigation children gave the following redacted snapshots (one row per child):statussettlederrordonedoneThe error child was correctly marked
error; this is not a report that it was marked successful. The example shows that admission, settlement, presence of an answer, and explicit messaging are different facts. It also shows why anerrorwith no detail should still be visibly an error, not an empty answer.rlm.collectin the Python runtime already documents a nonblocking pull and a wait bounded bytimeout_ms. The host result type already hasstatus,settled,answer_text,error, andreplied_since_task. No new orchestration API is needed.Proposal
In the existing agent/parent view, distinguish running, settled with an answer, settled with no answer, and failed/cancelled. Treat explicit reply delivery separately: no pushed reply does not mean no pullable final answer, and a settled error may lack detail. Expose the existing states first rather than guessing why work has not finished.
If the same view shows route diagnostics, distinguish requested
provider/modelfrom the known attempt route. Use “automatic fallback” only when an actual retry event records it; unknown is better than inferring a provider switch. A manual switch during the reviewed workflow contributed to the confusion and was not evidence that Prime silently changed provider. The route display is secondary to making result readiness clear.Acceptance without live inference: feed the view synthetic snapshots for running, settled with answer but no explicit reply, settled without an answer, and error with no detail. Verify they are distinct. A client-side timeout returning a running snapshot is not a reported child failure.
Related but different: #4020 concerns the blocking behavior of collect in a held-prompt case; #3366 concerns an older incorrect success classification. This request does not claim to reproduce either bug.
Follow-up: verify the handoff, not just the presence of text
For evidence-producing tasks, document a small parent-side acceptance check. When assigning work, specify the expected artifact or reply format and the evidence required (e.g. source/revision and inspected range, a test result, or a clear limitation). Then use
rlm.collectand independently check the returned artifact or the decisive source excerpt. An admitted child is not a deliverable; a settled child with text is not automatically an accepted result; an explicit reply is a delivery channel, not proof of correctness.still running/no result before the wait deadline, notchild failed, and do not silently launch a duplicate. If the child settles with an error or no result, report that separately from a missed deadline.unknownwhere the gateway or telemetry cannot establish it. Do not infer fallback from a model string or from a manual switch.A minimal acceptance fixture can use a child that settles with a plausible answer but an absent or incorrect evidence artifact, and a still-running snapshot returned at a wait deadline. Neither should be shown as “verified result”; the second should not be shown as a failure.
Related: #4270 — distinguish loaded data from inspected evidence.
All reactions