Skip to content

fix(subagents): show required completion delivery failures - #198807

Merged
steipete merged 3 commits into
mainfrom
steipete/perf-micro-resumed-requester-store-retired-drops-completion-20260919
Nov 14, 2026
Merged

steipete merged 3 commits into
mainfrom
steipete/perf-micro-resumed-requester-store-retired-drops-completion-20260919

Conversation

@steipete

@steipete steipete commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Required child completions can end as a silent intentional_non_delivery when their completion custody retires, leaving the requester unaware that delegated work failed.

User Impact

A permanently undeliverable parent completion records a visible failure notice in the original requester conversation, with guidance to inspect saved child work and retry. Delivery state records a permanent failure. Deleted or reset requester sessions are never recreated or redirected to receive the notice.

Why This Change Was Made

The delivery owner reports failures for both direct suspension and requester-batch settlement. The transcript notice targets the recorded session ID and lifecycle revision without starting an agent turn or reusing retired execution authority. Batches share one failure identity. Direct store retirement carries the existing requester cohort through the mutation, including retained batches lacking a requester run ID or stored member list. Expiry alone remains silent while requester settlement can still succeed; final failure records the notice for successful or failed child executions. Failed child executions can also reach permanent delivery suspension instead of being excluded by the successful-result guard.

The sweeper's existing unreachable-descendant error remains possible after retirement; this change makes that outcome visible rather than replaying the old task. No config, schema, cache, or UI import changes. Production growth is 98 lines: one shared failure-report path for two mutation entry points, using the existing transcript report and lifecycle identity owners. Tests grow by 212 lines.

Evidence

  • Native SQLite worker regression: both direct and batch paths fail on base 07e049f8d440 because the requester transcript is empty; both pass with the fix.
  • Focused owner, expiry-receipt and mailbox suites: 38 passed. Final owner replay after the TypeScript-compatible grouping loop: 21 passed.
  • New review regressions fail before the repair: premature expiry notice; rejected failed-child expiry settlement; four notices on committed batch replay; two notices during direct legacy-cohort retirement. The repaired paths pass, including requester-session/lifecycle replacement negative controls.
  • Stored-row compatibility: native worker reads and settles rows with both requester run ID and stored batch members absent, then the test reads the requester transcript and reloads the persisted delivery disposition. No data-model migration or new field is introduced.
  • pnpm check:changed completed; all selected checks passed except the unrelated MEMBER_ROLE_PRESETS production unused-export failure. It reproduces on exact main parent 07e049f8d440; the export was introduced by 4fc7acf90a73 (feat(openclaw-id): member roles come from gateway.roles.definitions #197739). This is a main regression, not a passing check or a suppression. Final targeted lint, formatting and core typechecking cover the subsequent cohort repair.
  • Real Gateway Goal delegation/revocation E2E fails on exact main parent 07e049f8d440 because the required notice is absent (7 history entries instead of 8), and passes with exactly one recorded host failure notice, unchanged prior message content, no revoked tool effects or final reply, and no revoked requester publications. The earlier exact-head CI failure was this affected consumer expecting no new history row; its expectation is repaired, not waived as inherited.
  • Final isolated Codex autoreview: scoped-clean with no actionable P0–P2 findings, including the final grouping loop. The subsequent Gateway consumer-only delta also has a clean isolated Codex review.
  • Accepted limit: the existing latest-report deduplication contract is retained across unrelated interleaved failure episodes. Such an interleaving can repeat a visible notice; this patch does not add a general transcript outbox or cross-episode deduplication mechanism. Same-cohort receipt replay is covered.
  • Earlier real Gateway restart probes on the unchanged base passed for both dashboard and hidden subagent children, including held and retained completions. They did not reproduce the historical retirement transition; this PR does not claim that transition is fixed or that an earlier access failure caused it.

@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling size: M labels Nov 14, 2026
@steipete
steipete marked this pull request as ready for review November 14, 2026 10:16
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T11:09:14.340165Z 5f97f14 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cef1a23bd2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Please review final head cef1a23bd22dfaa29db9381b783a3c50536c5393, especially required failure visibility, original requester identity isolation, and one notice per yielded cohort. Local native persistence regressions pass, and isolated Codex autoreview is scoped-clean.

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR records a visible notice when required private subagent completion delivery permanently fails.

Example: A private child finishes, but its completion delivery to requester session failed-delivery-requester is permanently retired.

  • Before: Delivery can end silently as intentional_non_delivery.
  • After: Delivery records permanent_failure and the original conversation receives guidance to inspect saved child work and retry.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The focused implementation and repaired regressions are sound on inspection, but the required real-behavior evidence remains test-only.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A requester can receive no visible outcome when required delegated-work completion permanently fails.
Reason: The maintainer-authored direction restores a visible failure outcome without replaying retired work or changing successful silence.

Merge readiness

✅ Ready for maintainer review

Keep open: this is a useful maintainer-authored repair, the prior findings are addressed, and no new blocking code defect was identified.

Priority: P2
Reviewed head: 5f97f14826a325262030f34a72210405b0e74027

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Provide a redacted capture through a shipped Gateway showing a permanently failed private completion produces the notice in the original requester conversation without another agent turn.
Agent review details

How this fits together

The subagent completion owner settles delivery through the SQLite worker and records failure notices through the existing session transcript owner.

flowchart TD
  A[Child execution ends] --> B[Completion delivery owner]
  B --> C[SQLite settlement]
  C --> D[Permanent delivery failure]
  D --> E[Session transcript owner]
  E --> F[Original requester conversation]
Loading

Technical review

Best possible solution:

Use the existing completion and transcript owners to report permanent failures while preserving quiet successful processing and original requester identity.

Do we have a high-confidence way to reproduce the issue?

Current-main source permits silent store-retirement settlement, and the author reports matching red/green native SQLite regressions; this read-only review ran no target code.

Is this the best way to solve the issue?

The patch is a focused repair using existing owners, with shared cohort identity and no replacement queue, schema, or configuration option.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 09d322ab2048.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Source +98, Tests +212, Docs +3. Total +313 across 7 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 107 9 +98
Tests 2 218 6 +212
Docs 1 5 2 +3
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 330 17 +313

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Production versus test LOC Production +107/-9; tests +218/-6 Growth adds one reused failure-report path, cohort identity propagation, and distinct persistence, expiry, replacement, replay, and Goal-consumer coverage.

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: Permanent private completion failures can silently strand delegated work, with limited scope and retained child results.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-11-14T10:28:41.313Z sha cef1a23 :: blocked before merge. :: [P2] Defer expiry notices until requester settlement finally fails | [P2] Preserve the legacy cohort identity during direct retirement
  • reviewed 2026-11-14T10:57:58.864Z sha b771d13 :: needs changes before merge. :: [P2] Update the revoked-Goal consumer for the intended host notice

Reviewed November 14, 2026, 6:16 AM ET / 11:16 UTC (Revision 3).

@steipete

Copy link
Copy Markdown
Contributor Author

Addressed all three numbered items from the latest review on final head b771d13b693c9182e3d256100bed344b1c41fd9a:

  1. Expiry notices: expiry suspension does not report failure at admission.store.ts:497. Only the final undelivered batch outcome reports it at line 635. The kernel also permits failed-child expiry settlement. The premature-notice and failed-child-settlement cases were red before repair; expiry followed by success now has zero failure notices, and expiry followed by failure has one.

  2. Direct legacy cohort identity: lifecycle-cleanup.ts:160 groups the already selected retirement entries using the existing requester scope and passes that cohort to the delivery owner before wake state clears. admission.store.ts:73 uses the same shared failure identity for both direct retirement and final batches. Native regressions produced two notices for direct legacy retirement and four for committed normal-batch replay before repair; both now produce exactly one.

  3. Stored-data compatibility: there is no schema, version, configuration, or stored-row shape change. The fixture at line 133 removes both requesterRunId and batchRunIds, persists those legacy-shaped rows in native SQLite, and exercises both batch settlement and the actual suspendReplacedStoreNotifications entry point. It then reads the original requester's persisted transcript and reloads delivery state. Replacement-session and replacement-lifecycle controls remain silent. These cases pass without a migration.

Validation: 38 focused completion/expiry/mailbox tests passed; the final owner suite replay passed 21 tests. Final core typecheck, targeted lint and formatting passed. Final isolated Codex autoreview is scoped-clean. pnpm check:changed has only the documented unrelated MEMBER_ROLE_PRESETS unused-export failure, reproduced on exact main parent and introduced by #197739.

The unchanged sweeper characterization is retained because the requested investigation explicitly asks whether that exact diagnostic remains possible with a current requester row. It is identified as predicate proof, not a regression fixed by this PR. Earlier real Gateway restart probes passed unchanged main and did not recreate the historical lost-cohort transition; no claim of that missing reproduction is made. The visibility regression uses the actual delivery owner, native worker, persisted requester transcript, and replacement identity boundary.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 14, 2026
@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Nov 14, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Addressing the latest review's remaining item on final head 5f97f14826a325262030f34a72210405b0e74027:

  1. Revoked Goal consumer: lines 431–445 require exactly one additional, displayed run-failed-before-reply notice containing the child-delivery failure text. Prior durable message content must remain unchanged. The following assertions still prohibit revoked tool effects, final replies, requester publications, and extra model/child calls. The original assertion failed locally with the same extra notice as CI; the updated real Gateway test passes. Targeted lint and isolated Codex review of this consumer delta are clean. This is a repaired PR-caused expectation, not an inherited-failure waiver.

All three items from the previous review remain addressed by the unchanged production fix and native persistence regressions described in the earlier numbered response. Fresh exact-head CI is running at https://github.com/openclaw/openclaw/actions/runs/43588400098.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 14, 2026
@steipete
steipete merged commit fa40e29 into main Nov 14, 2026
160 of 162 checks passed
@steipete
steipete deleted the steipete/perf-micro-resumed-requester-store-retired-drops-completion-20260919 branch November 14, 2026 11:23
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
…198807)

* fix(subagents): show required completion delivery failures

* fix(subagents): preserve failure notice settlement boundaries

* test(gateway): expect required completion failure notice
obviyus added a commit that referenced this pull request Nov 17, 2026
…es, steer races and expiry (#200649)

## What Problem This Solves

A finished subagent's result could be lost even though the child did its work. Three paths dropped it on current `main`:

- **Access-policy outage:** a temporary "Gateway access policy is unavailable; retry the operation." during requester settlement was recorded as a permanent delivery failure. The parent never received the result, even after the policy recovered.
- **Steer race:** when a busy parent accepted the child's result by steering, and the delivery owner changed afterward, the run was recorded as intentional non-delivery. The parent had the result, but the record said it didn't. The run could later "expire" and send a misleading failure.
- **Expiry:** a suspended required completion was discarded after seven days with no notice in the requester conversation. Only an operator log line recorded it.

On one Gateway, the access-policy class alone accounted for 25 failed child results in a week.

## User Impact

A temporary access-policy outage now only delays a child's result; it is delivered after the policy returns. A result steered into a busy parent is recorded as delivered. A required result that finally expires records the existing visible failure notice ("The child result couldn't be delivered to this conversation…") instead of disappearing silently.

## Why This Change Was Made

Each fix is at the existing owner:

- **Settle wake:** a policy-unavailable error now joins the existing "no delivery was admitted, retry" class, alongside database-busy and overloaded errors, instead of the permanent-failure path.
- **Direct delivery:** an accepted, committed steer returns `delivered` before the delivery-owner check. Only an unconfirmed commit still depends on its owner.
- **Seven-day discard:** this path now calls the same failure-notice writer that other permanent failures already use (#198807).

Explicit stop, cancellation, requester deletion and real revocation are unchanged.

## Evidence

- **Regressions** drive the real lifecycle, announce, completion and SQLite owners: `subagent-result-owed.{policy-outage,expiry-discard}.test.ts`, plus the updated `steering $outcome after $change` direct-delivery contract (accepted-steer rows fail on base). Each fails on the base commit and passes with the fix:
  - policy outage: recorded `failed` before, owed and then delivered after;
  - steer race: receipt not delivered before, `{delivered: true, path: "steered"}` after;
  - expiry: no notice before, exactly one visible notice after.
- **Existing suites:** announce, settle, lifecycle, completion authority, store-replaced, steer-restart and yielded-run settlement all pass, 500+ tests. The `steering $outcome after $change` contract was updated: an accepted steer is now delivered after an owner change, and indeterminate steers keep the old outcome.
- **End to end (source tier, `ocx src`):** an isolated Gateway with a stub model. A busy parent received its finished child's result through a steer into the same run, and `subagent_runs` recorded `delivered/delivered`.
- **Not in this PR:** splitting settle batches that mix operator invocations (a separate fix with its own proof), and the session-store-switch suspension policy (#152828, unchanged).

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
…es, steer races and expiry (openclaw#200649)

## What Problem This Solves

A finished subagent's result could be lost even though the child did its work. Three paths dropped it on current `main`:

- **Access-policy outage:** a temporary "Gateway access policy is unavailable; retry the operation." during requester settlement was recorded as a permanent delivery failure. The parent never received the result, even after the policy recovered.
- **Steer race:** when a busy parent accepted the child's result by steering, and the delivery owner changed afterward, the run was recorded as intentional non-delivery. The parent had the result, but the record said it didn't. The run could later "expire" and send a misleading failure.
- **Expiry:** a suspended required completion was discarded after seven days with no notice in the requester conversation. Only an operator log line recorded it.

On one Gateway, the access-policy class alone accounted for 25 failed child results in a week.

## User Impact

A temporary access-policy outage now only delays a child's result; it is delivered after the policy returns. A result steered into a busy parent is recorded as delivered. A required result that finally expires records the existing visible failure notice ("The child result couldn't be delivered to this conversation…") instead of disappearing silently.

## Why This Change Was Made

Each fix is at the existing owner:

- **Settle wake:** a policy-unavailable error now joins the existing "no delivery was admitted, retry" class, alongside database-busy and overloaded errors, instead of the permanent-failure path.
- **Direct delivery:** an accepted, committed steer returns `delivered` before the delivery-owner check. Only an unconfirmed commit still depends on its owner.
- **Seven-day discard:** this path now calls the same failure-notice writer that other permanent failures already use (openclaw#198807).

Explicit stop, cancellation, requester deletion and real revocation are unchanged.

## Evidence

- **Regressions** drive the real lifecycle, announce, completion and SQLite owners: `subagent-result-owed.{policy-outage,expiry-discard}.test.ts`, plus the updated `steering $outcome after $change` direct-delivery contract (accepted-steer rows fail on base). Each fails on the base commit and passes with the fix:
  - policy outage: recorded `failed` before, owed and then delivered after;
  - steer race: receipt not delivered before, `{delivered: true, path: "steered"}` after;
  - expiry: no notice before, exactly one visible notice after.
- **Existing suites:** announce, settle, lifecycle, completion authority, store-replaced, steer-restart and yielded-run settlement all pass, 500+ tests. The `steering $outcome after $change` contract was updated: an accepted steer is now delivered after an owner change, and indeterminate steers keep the old outcome.
- **End to end (source tier, `ocx src`):** an isolated Gateway with a stub model. A busy parent received its finished child's result through a steer into the same run, and `subagent_runs` recorded `delivered/delivered`.
- **Not in this PR:** splitting settle batches that mix operator invocations (a separate fix with its own proof), and the session-store-switch suspension policy (openclaw#152828, unchanged).

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…es, steer races and expiry (#200649)

## What Problem This Solves

A finished subagent's result could be lost even though the child did its work. Three paths dropped it on current `main`:

- **Access-policy outage:** a temporary "Gateway access policy is unavailable; retry the operation." during requester settlement was recorded as a permanent delivery failure. The parent never received the result, even after the policy recovered.
- **Steer race:** when a busy parent accepted the child's result by steering, and the delivery owner changed afterward, the run was recorded as intentional non-delivery. The parent had the result, but the record said it didn't. The run could later "expire" and send a misleading failure.
- **Expiry:** a suspended required completion was discarded after seven days with no notice in the requester conversation. Only an operator log line recorded it.

On one Gateway, the access-policy class alone accounted for 25 failed child results in a week.

## User Impact

A temporary access-policy outage now only delays a child's result; it is delivered after the policy returns. A result steered into a busy parent is recorded as delivered. A required result that finally expires records the existing visible failure notice ("The child result couldn't be delivered to this conversation…") instead of disappearing silently.

## Why This Change Was Made

Each fix is at the existing owner:

- **Settle wake:** a policy-unavailable error now joins the existing "no delivery was admitted, retry" class, alongside database-busy and overloaded errors, instead of the permanent-failure path.
- **Direct delivery:** an accepted, committed steer returns `delivered` before the delivery-owner check. Only an unconfirmed commit still depends on its owner.
- **Seven-day discard:** this path now calls the same failure-notice writer that other permanent failures already use (#198807).

Explicit stop, cancellation, requester deletion and real revocation are unchanged.

## Evidence

- **Regressions** drive the real lifecycle, announce, completion and SQLite owners: `subagent-result-owed.{policy-outage,expiry-discard}.test.ts`, plus the updated `steering $outcome after $change` direct-delivery contract (accepted-steer rows fail on base). Each fails on the base commit and passes with the fix:
  - policy outage: recorded `failed` before, owed and then delivered after;
  - steer race: receipt not delivered before, `{delivered: true, path: "steered"}` after;
  - expiry: no notice before, exactly one visible notice after.
- **Existing suites:** announce, settle, lifecycle, completion authority, store-replaced, steer-restart and yielded-run settlement all pass, 500+ tests. The `steering $outcome after $change` contract was updated: an accepted steer is now delivered after an owner change, and indeterminate steers keep the old outcome.
- **End to end (source tier, `ocx src`):** an isolated Gateway with a stub model. A busy parent received its finished child's result through a steer into the same run, and `subagent_runs` recorded `delivered/delivered`.
- **Not in this PR:** splitting settle batches that mix operator invocations (a separate fix with its own proof), and the session-store-switch suspension policy (#152828, unchanged).

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 3b61a7c)

Companion audit: #200581 included; existing authority outage classifier and completion failure owner are present.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit eadbf05817ce8aa5dc0c0e8daf8594486dc7e581)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant