Skip to content

fix: continue active goals after the model ends a turn - #167897

Merged
roboclaw-bot merged 9 commits into
mainfrom
openclaw/goal-continuation-root-cause
Oct 14, 2026
Merged

roboclaw-bot merged 9 commits into
mainfrom
openclaw/goal-continuation-root-cause

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes unfinished active goals stopping when the model ends a normal turn.

User Impact

Built-in goals continue through separate hidden nudges until complete, blocked, paused, limited or stopped. User input and existing tool/child continuations take priority. The accepted default includes existing unbudgeted active goals after an admitted turn; saved state alone does not start work at boot. No new scheduler, configuration option or storage schema.

Why This Change Was Made

Reuse the existing follow-up queue and its admission, original-authority, delivery and cancellation owners. The October 14 rebase preserves the authored resolution merge and cleanup regressions while integrating current completion-actor accounting, retained reply-operation lifetime and admitted model-selection facts. Both admission regression groups remain. Earlier CI fixture repairs are already present on current main; their replay is retained as an empty provenance commit.

Evidence

  • Rebased onto c7dd7b9; published head c31c8a9, tree d2243dba993fc4d58069bc32fa24d56468aefab3. A later read-only composition with main a0436bf was conflict-free. Existing branch updated using its exact old-head lease.
  • Frozen dependencies installed in a separate task-owned validation checkout; shared installs unchanged. 125 focused tests across seven files passed (197.12s), including consecutive Gateway pursuit, Stop, terminal goals, source cleanup and the two prior CI fixtures. After mechanical lint/helper cleanup, affected runner/Gateway tests passed again; the final Gateway suite passed 26 tests in 101.04s command wall.
  • Core production, messaging-test and Gateway-test typechecks pass. Targeted lint, formatting, whitespace, conflict-marker, line-cap and mock-factory guards pass. The combined max-lines/environment check encounters 455 environment names vs budget 454; the same unchanged guard reproduces this on the exact pinned main index. No environment name is added by this PR and the baseline was not relaxed.
  • Fresh independent P0–P2 AutoReview completed against the final candidate: no actionable findings. ClawSweeper revision 11 completed on this exact head, reports no findings / no before-merge items, and marks it Ready for maintainer review (patch quality platinum hermit, 4/6). No deployment.
  • Exact-head CI completed successfully on c31c8a9; required openclaw/ci-gate checks passed.
  • Native guarded squash landing completed October 14, 13:54:57 UTC as c845d6d. Independently verified main containment, both required human co-author trailers, and full result-tree equality with the approved source composed onto the actual landing parent. No deployment.
  • Historical runtime evidence and limits: real Telegram/model pursuit and Stop plus six accepted bounded authority cases on the earlier head. These are not relabeled as current-head live runs. The later-broader-input case remains inconclusive. Historical v2026.9.9 upgrade was not run after its package-age exception was declined; that lane remains closed.

Worked on by

Work sessions


View the OpenClaw team session

roboclaw-bot and others added 2 commits October 9, 2026 17:58
Queue repeated internal goal nudges through the existing reply owner, retaining cancellation, source delivery, budgets, and fresh goal/session admission. Give queued user input precedence over automatic goal work.

Co-authored-by: jacobtomlinson <[email protected]>
Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: c3193443-1ded-43f9-ad61-e7f6ed7744af
@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: L labels Oct 9, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 9, 2026 18:00
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 9, 2026
@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR queues hidden follow-up turns while a built-in session Goal remains active.

Example: A Telegram user starts an unbudgeted goal to list primes across separate turns.

  • Before: After replying with 2, the model can finish its turn and leave the unfinished goal idle.
  • After: Automatic follow-up turns produce 3, 5 and 7 without another user message; Stop cancels further pursuit.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is coherent and has substantial historical runtime evidence plus focused integration coverage; the saved-goal default still needs upgrade validation, although no persisted schema or serialized format changes.
Proof confidence 🦐 gold shrimp (3/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: Feature · Worth it: Yes · Fix scope: Complete
User problem: An unfinished active Goal can stop progressing when the model ends a normal turn, requiring the user to prompt it again.
Reason: The collaborator-authored PR supplies owner direction for automatic pursuit, including existing unbudgeted goals, and implements it through established owners.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it adds useful, maintainer-directed Goal continuation that current main lacks, and the reviewed integration has no actionable code findings.

Priority: P2
Reviewed head: c31c8a972205939e75e059fbe82442685848b779

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Missing a supported stable-release upgrade scenario preserving existing settings and Goal state while demonstrating the new default; the declined historical package-age exception must remain closed.
Agent review details

How this fits together

Built-in reply finalization feeds eligible active goals into the existing follow-up queue, whose admission, execution and delivery owners produce subsequent assistant turns.

flowchart TD
  A[Normal turn finishes] --> B[Completion accounting]
  B --> C[Goal eligibility]
  C --> D[Existing follow-up queue]
  D --> E[Session and authority admission]
  E --> F[Agent execution and delivery]
  F --> B
Loading

Technical review

Best possible solution:

Retain the existing queue-based implementation and demonstrate the accepted continuation default with preserved settings and goals across a supported stable-release upgrade.

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

Current main completes ordinary replies without scheduling another active-Goal turn; source inspection establishes the missing driver, and no target code was executed during this review.

Is this the best way to solve the issue?

Reusing the canonical follow-up queue is a coherent solution: user input wins, Goal identity is rechecked at admission, and existing completion, authority and cancellation owners remain authoritative.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Goal behavior and documentation changes intended behavior with a stated reason (a509c48: Core Goals provided durable session objectives and lifecycle controls; bf04d04 later made active objectives visible on subsequent turns.)
  • Queued admission, execution and cleanup keeps the original intent (f8cc39c: Converge queued execution on canonical agent-runner behavior while preserving unconditional presentation cleanup and session-generation fencing.)
  • Turn completion accounting keeps the original intent (38ced6e: Fold terminal bookkeeping into the retained physical session completion owner without duplicating assistant messages or delivery custody.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit a509c48 adds docs/tools/goal.md:14 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a509c48f0ea2; files: docs/tools/goal.md)
  • Vincent Koc: Raw commit 06a99e6 adds docs/tools/goal.md:103 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 06a99e63c3f9; files: docs/tools/goal.md)

PR surface

Source +290, Tests +578, Docs +30. Total +898 across 13 files. Added test files: 3.

View PR surface stats
Area Files Added Removed Net
Source 6 303 13 +290
Tests 6 599 21 +578
Docs 1 34 4 +30
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 13 936 38 +898

Review metrics

Metric Value Why it matters
Production versus test changes Production +303/-13 lines; tests and test support +599/-21 lines. Production growth adds continuation orchestration while reusing execution ownership; test growth covers eligibility, input priority, cleanup and consecutive Gateway turns.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Automatic pursuit addresses unfinished Goals requiring repeated user nudges, with limited scope to built-in Goal sessions.
  • merge-risk: 🚨 compatibility: Existing active unbudgeted goals intentionally gain automatic continuation after an admitted turn; the direction is accepted, while released-version upgrade evidence remains incomplete.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. Automatic Goal pursuit changes the sequence of visible Telegram replies and Stop behavior; historical Test Server evidence exercises both.

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 (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-09T19:04:53.922Z sha 613f110 :: blocked before merge. :: none
  • reviewed 2026-10-09T22:32:40.763Z sha b7e865265d98b279d7bb7f00cfd8a8b882e14d88 :: blocked before merge. :: none
  • reviewed 2026-10-09T22:56:03.028Z sha b7e865265d98b279d7bb7f00cfd8a8b882e14d88 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T00:41:24.057Z sha bb7f7ec :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T01:25:19.182Z sha 26c4a63 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-10T01:48:03.251Z sha 26c4a63 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-10T07:24:00.912Z sha 26c4a63 :: blocked before merge. :: none
  • reviewed 2026-10-10T07:35:02.365Z sha 26c4a63 :: needs maintainer review before merge. :: none

Reviewed October 14, 2026, 8:52 AM ET / 12:52 UTC (Revision 11).

@roboclaw-bot

roboclaw-bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

Runtime authority proof — exact head 26c4a63

Generated and publicly posted real execution evidence: inspected report · artifact manifest. Signed artifact links expire October 17; this durable summary remains in the comment. Readback verified HTTP 200 and matching SHA-256 for the report and principal ledgers.

This is real TLS/WS authentication, host-issued authority, automatic goal admission/queue, tool dispatch and SQLite state, using deterministic synthetic HTTP inference, not live-model inference. All identities and resources were disposable.

Case Observed final effect Result
Allowed writer successor Real sessions patch persisted its unique label. Pass
Allowed admin successor, same privileged action Real sessions group_set succeeded; durable catalog changed from empty to EFFECT_admin. Pass
Forbidden writer successor Same group_set request rejected by source-narrowed production tool schema; catalog unchanged. Pass at tool exposure/dispatch boundary, not a final-RPC missingScope claim
Original operator revoked after queue capture Real change to predeclared no-scopes/no-agents role; no successor inference or effect. Pass
Ownership reassigned to admin Real assignment/readback; original writer still could not edit the group catalog. Pass for no borrowed authority, not creator-access revocation
Original permission reduced Real change to read-only role before dispatch; no successor inference or effect. Pass
Later broader operator input in same session Admin input accepted and committed; original successor emitted the protected call but failed before tool settlement. Catalog unchanged. Inconclusive for authority enforcement

The last row is not disguised as green. The candidate refused an assistant append before tool execution. Observation-only diagnostics located the throw at session-manager-metadata.worker.ts:334 after validatePreparedAssistantAppendSync returned undefined. The generic error says “preparing rewrite,” but this run did not establish a rewrite defect or an authority-scope denial. Waiting for the later committed user row did not remove the conflict. A harness exit-0 replay was rejected on inspection because it lacked a correlated tool result; the reviewed ledger records that limit. No guard was weakened and no product fix is claimed.

Original five completed cases: 69.68s within an overall exit-1 six-case run. Separate same-action administrative control: 123.39s, exit 0, correlated successful tool result and durable effect, no lifecycle errors. Later-input replay: 77.38s, exit 0 but not an authorization pass; stricter diagnostic: 69.90s, exit 1. Source/archive/overlay hashes, exact launchers, event ledgers and final-effect readers are linked. Core and workers ran from the pinned candidate source archive; no old dist was mounted.

Cleanup: all named task containers/private networks, Gateway/provider processes, profile state and credential scratch removed. Tracked worktree clean; candidate/source and sanitized evidence retained.

Historical upgrade: all thirteen planned v2026.9.9-to-candidate cases are NOT RUN. The seven-day npm release-age quarantine refused the exact baseline, and the exception was declined. No bypass, alternate acquisition or upgrade followed. That lane is closed, not waiting for another approval. A successful candidate build is not upgrade proof.

Product default: accepted in ClawSweeper revision 8; no second goal-area approval is pending. Existing active unbudgeted built-in goals become eligible after an admitted normal turn; saved state alone does not start work at boot. Acceptance does not turn the unrun upgrade or inconclusive row into passing proof.

ClawSweeper revision 9 completed on this exact head: it accepts the newly posted bounded authority proof, reports no actionable code findings, rates patch quality platinum hermit (4/6), and removes the security-boundary/needs-proof asks. Its only remaining pre-merge checklist item is historical data-model upgrade proof. That lane remains unrun under the explicitly declined quarantine exception; this is not renewed approval solicitation. The later-broader-input row remains accurately inconclusive. Canonical review.

Current CI: run 38012729411 passed on this exact head, including openclaw/ci-gate. No tracked source changes or arbitrary CI reruns were needed for this proof. No merge, auto-merge or deployment is authorized or attempted.

Retained cleanup, real Telegram/model, and CI repair evidence

Addressing the review in the existing branch. The skipped-admission cleanup defect is reproduced by nine failing assertions and repaired in 033ebab0c66328d78d99b4eaa3318c4f95805909 (published at 613f1103b00646465b292ed1a068a7b84f82c5d9): admission now settles acquired presentation in finally unless a returned turn transfers that responsibility to the runner. Both skipped paths settle once; thrown setup failures still settle before releasing the operation. The session-ID/lifecycle-revision fences remain unchanged. This restores #114599’s intended unconditional presentation cleanup without adding another execution owner. The duplicate five-independent-fixtures test has been removed; the consecutive-turn Gateway test remains. All 93 focused admission/runner/goal tests pass, as do core/messaging typechecks and targeted lint/formatting. Fresh independent AutoReview found the old INDEX-only defect and explicitly confirmed the working-tree repair; the commit contains that repaired tree.

Live proof passed on the published head and tree b2ed99ce0608759f9e4aa80279a6f50b12025713. The unchanged repository Telegram E2E runner used a Convex-leased Test Server bot/user and source Gateway, with an explicit private configuration routing generation to real OpenAI Responses. Its otherwise-unused mock fixture received zero requests.

Relative time Native Test Server observation
0.159s User starts a synthetic one-prime-per-turn goal, with no token budget.
22.710–32.030s Four separate replies: 2, 3, 5, 7; no intervening user nudge.
32.073–97.693s Isolated Gateway process replaced; read-only checkpoints show the same active session and unbudgeted goal persisted.
97.965s Fresh user turn continues that saved goal.
116.504–125.304s Four separate replies: 11, 13, 17, 19; no intervening user nudge.
125.462s / 127.291s User sends /stop; native acknowledgment: “Agent was aborted.”
Through 360.000s No further generation requests or prime replies: 234.538 seconds after Stop.

There were 18 real Responses POSTs with HTTP-200 headers and 8 successfully persisted assistant completions, also observed as eight distinct TDLib messages. These are not 18 completed assistant turns. The transport recorder retained code-20 cancellation callbacks after response headers; native completions and delivered TDLib messages are the successful-result oracles. Runner exit was 0 and every scenario control completed. Source/runner/provider hashes were unchanged; both Gateway starts loaded the repaired admission source. Existing credentials were used privately; all leases were released, services/listeners joined, and credential/runtime scratch removed.

Reproduction entrypoint: node .openclaw/tmp/goal-live-proof/launch.mjs live-5, invoking the canonical run-mock-sut-user-e2e.mjs --source-gateway --dm --scenario <scenario> --timeout-ms 360000 with a private real-provider override. Earlier attempts failed during fixture configuration/readiness (streaming schema, loopback proxy routing, explicit provider authentication); those outcomes were retained and their fixture causes corrected before this successful run. No production user goal or Gateway was touched.

Limits: this proves persistence across a same-candidate isolated restart and continuation after a fresh admitted turn—not idle boot auto-resumption, a historical-version upgrade, completion of the entire synthetic objective, or separately fault-injected Telegram skipped-admission cleanup. Stop retains the saved goal as active and sets abortedLastRun=true; it does not pause the goal. The skipped-admission cleanup invariant is covered by the red/green owner regressions above.

CI repairs on 26c4a6313d0f

The two actual root failures in run 38009546222 are repaired in f5398146821c37bcb4d0866519f11208d6ece0c8 (published head 26c4a6313d0f2d30b35a86110aedba6698cca4c5, tree 992e9cf9f500a24af56b7811c1035e9bfe98d821). The repair changes only the two fixtures, not runtime safety logic.

  1. Required maintenance fixture crossed the wrong budget boundary. Its 32K model, large approved input, default retention, and broad coding tool inventory made foreground overflow/extra compaction compete with the required-preflight scenario. A Node 24.19 diagnostic captured the retention-only preflight no-op followed by foreground overflow and the extra compaction count; the earlier hard-overflow reproduction and CI count discrepancy were therefore not treated as equivalent merely because both failed. The fixture now pins a 64K window, matching 45K source/provider usage, a 32K retained-history setting, and its relevant read/write tool candidates. Required preflight remains triggered, but unrelated prompt/tool growth no longer selects foreground overflow. The exact 0/1 compaction counts, two checkpoint requests, read denial, pending-user bytes, and single foreground request assertions are unchanged.
  2. Private memory fixture expected behavior that was intentionally removed. Commit f17cc3ef72fa8e57918a39092fce0f7473781376 made trigger: memory exclude auxiliary MCP/LSP tools. The fixture incorrectly expected automatic MCP acquisition. It now asserts no such acquisition, then explicitly seeds a real fixture-owned MCP runtime under the observed private run identity, reads its catalog, and releases its lease before completion/cancellation. The existing retirement assertions run against a demonstrably registered resource before fixture teardown, so cleanup proof is not vacuous. Transcript isolation, interruption, and owner-budget assertions remain intact.

Proof: all four repaired cases pass on CI’s Node 24.19.0 (73.77s command wall including cold worker compilation; 33.55s Vitest phase). On Node 26.8.2, the two fixtures plus memory-session, bundle-tool isolation, settlement, and small-context compaction siblings pass: 80 tests across six files, 145.29s wall. Affected test typechecks, targeted lint, formatting, and whitespace checks pass. Fresh independent P0–P2 AutoReview completed with no actionable findings. No timeouts were increased, tests skipped, or behavioral assertions relaxed.

Current-head CI completed successfully on 26c4a6313d0f2d30b35a86110aedba6698cca4c5, including openclaw/ci-gate. All selected root jobs passed or were intentionally skipped; the two repaired failure paths are no longer red. The previous failed attempts remain preserved as diagnostic evidence, not relabeled as passing or retried unchanged.

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: e415b68b-c4b6-4324-b052-e4d31acdb364
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review — repaired skipped-admission presentation ownership in 613f110. Both paths now settle once; generation fencing is unchanged. Removed the duplicate mocked recurrence test. See the author response for regression, provenance, product-decision, and live-proof dispositions.

@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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. labels Oct 9, 2026
@roboclaw-bot
roboclaw-bot force-pushed the openclaw/goal-continuation-root-cause branch from b7e8652 to bb7f7ec Compare October 10, 2026 00:33
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review — two CI fixture repairs on 26c4a63, with unchanged runtime safety logic and preserved behavioral assertions. The existing author response now records both root causes, CI-runtime red/green proof, and completed independent review.

@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 10, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

Real, source-bound automatic-successor effect evidence is now posted in the canonical disposition, with inspected artifacts and same-action administrative positive control. Head remains 26c4a63; no code changed. Six scoped cases pass; the later-broader-input case is explicitly inconclusive because the stale-assistant append fence prevents tool settlement. Historical v2026.9.9 upgrade remains unrun after the npm quarantine exception was declined. Please assess the actual evidence and remaining limits; no merge/automerge requested.

@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 10, 2026
roboclaw-bot and others added 5 commits October 14, 2026 12:30
Preserve both goal-admission cleanup and upstream transcript-target regressions. Share the duplicate goal fixture to keep the combined suite within its line budget.

Co-authored-by: jacobtomlinson <[email protected]>
Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 132abb4f-cd7f-4a43-9f5d-fe0a3f93720e
Keep required-preflight coverage separate from foreground overflow pressure, and seed MCP resources explicitly now that memory inference excludes auxiliary tools. Preserve compaction, transcript, permission, cancellation, and retirement assertions.

Co-authored-by: jacobtomlinson <[email protected]>
Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 1308215a-90f8-468f-95eb-1e1362c89282
Keep the Gateway goal fixture under its existing line cap by sharing its unchanged reply-dispatch hook. Avoid accounting-name shadowing in the rebased completion integration.

Co-authored-by: jacobtomlinson <[email protected]>

Co-authored-by: RomneyDa <[email protected]>
@roboclaw-bot
roboclaw-bot force-pushed the openclaw/goal-continuation-root-cause branch from 26c4a63 to c31c8a9 Compare October 14, 2026 12:45
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

Requested rebase/conflict resolution is published at c31c8a9 on pinned main c7dd7b9. Please review the current completion-actor/retained-operation and goal-admission integration. Authored merge topology, both admission regression groups and prior cleanup are preserved; current main already contains the two CI fixture fixes. The updated body records focused tests, final independent P0–P2 review (no findings), and an exact-baseline environment-count guard failure. Prior live proof remains historical; do not reopen the explicitly declined package-age exception. Review only—no merge or auto-merge.

@clawsweeper

clawsweeper Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@roboclaw-bot
roboclaw-bot merged commit c845d6d into main Oct 14, 2026
142 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/goal-continuation-root-cause branch October 14, 2026 13:54
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 15, 2026
* fix: keep active goals moving after normal replies

Queue repeated internal goal nudges through the existing reply owner, retaining cancellation, source delivery, budgets, and fresh goal/session admission. Give queued user input precedence over automatic goal work.

Co-authored-by: jacobtomlinson <[email protected]>

* fix: continue active goals after the model ends a turn

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: c3193443-1ded-43f9-ad61-e7f6ed7744af

* fix: clean up skipped goal continuation presentation

Co-authored-by: jacobtomlinson <[email protected]>

* fix: continue active goals after the model ends a turn

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: e415b68b-c4b6-4324-b052-e4d31acdb364

* Publish openclaw/goal-continuation-root-cause

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 132abb4f-cd7f-4a43-9f5d-fe0a3f93720e

* test: isolate memory maintenance CI fixture contracts

Keep required-preflight coverage separate from foreground overflow pressure, and seed MCP resources explicitly now that memory inference excludes auxiliary tools. Preserve compaction, transcript, permission, cancellation, and retirement assertions.

Co-authored-by: jacobtomlinson <[email protected]>

* Publish openclaw/goal-continuation-root-cause

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 1308215a-90f8-468f-95eb-1e1362c89282

* test: preserve goal coverage within current check contracts

Keep the Gateway goal fixture under its existing line cap by sharing its unchanged reply-dispatch hook. Avoid accounting-name shadowing in the rebased completion integration.

Co-authored-by: jacobtomlinson <[email protected]>

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: jacobtomlinson <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: L 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