Skip to content

refactor(agents): unify context limits and compaction recovery - #117149

Merged
steipete merged 1 commit into
mainfrom
codex/100k-context-compaction-2d45
Aug 1, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/100k-context-compaction-2d45

Conversation

@steipete

@steipete steipete commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Long-running agent sessions currently maintain overlapping context-budget, tool-result truncation, worker planning, context-engine lifecycle, and overflow/timeout recovery policies. This duplication makes context-limit repairs harder to reason about and increases the risk that otherwise equivalent recovery paths preserve different session, cancellation, or token-budget facts.

Why This Change Was Made

Consolidate the existing context and compaction owner boundaries without changing public configuration or third-party context-engine contracts. Expensive planning remains isolated on real worker threads; retired worker messages are rejected; provider fallback, quarantine, background maintenance, Unicode/CJK-safe hard limits, append-only transcript recovery, and compaction summaries retain their established behavior.

This maintainer-requested, AI-assisted cleanup removes 1,046 net handwritten production lines (1,021 additions and 2,067 deletions), while adding direct regression coverage for every live worker request and the retired pruning request.

User Impact

Agent conversations continue to recover from long-context overflow, timeout pressure, oversized tool output, provider failures, and compaction retries with the same visible outcomes and transcript protections. No public configuration, plugin API, storage schema, or provider protocol changes are introduced.

Evidence

  • Remote Blacksmith Testbox: tbx_01kyxdf9veseyqgwkxbhkcaev6 (amber-barnacle-d7d5), workflow https://github.com/openclaw/openclaw/actions/runs/30676985086.
  • Remote focused integration: 19 files, 634 tests, eight Vitest shards passed. Coverage includes worker payload bounds and original message identity; plugin quarantine, host projection, aborts, and background maintenance; summary quality, identifiers, provider failures, and compaction circuits; CJK/UTF-16 token limits; persisted and ephemeral tool results; embedded overflow retries, append-only transcript recovery, and timeout compaction.
  • Post-cleanup regression reruns: 280, 148, and finally 203 tests passed across the five tool-result and transcript-persistence suites after the final mechanical style cleanup.
  • Independent fresh autoreview: autoreview --mode uncommitted --stream-engine-output; clean, zero actionable findings (confidence 0.95).
  • Remote pnpm check:changed: passed in 3m28s; zero unused exports, both production/test type-checks and both 245-rule lint shards passed, alongside formatting, plugin/API boundaries, schema/storage, cycle, and security invariant guards.
  • git diff --check: passed.
  • Remote packaged worker pnpm build: passed in 2m55s; all nine unified bundle invocations, packaged worker/runtime, public plugin SDK declarations, CLI-bootstrap guard, and production Control UI build passed.
  • Packaged CLI smoke: pnpm openclaw --version returned OpenClaw 2026.7.2 (a1b41d5).
  • Exact-head required CI: completed successfully for 53f771c64651aa7b89cdb1dde38b6297d492a345: https://github.com/openclaw/openclaw/actions/runs/30678270158.

After-fix runtime recovery proof

Ran the real runEmbeddedAgent integration harness against exact PR head 53f771c64651aa7b89cdb1dde38b6297d492a345 on isolated Blacksmith Testbox tbx_01kyxganx5a1j0qadptmfqnrkz (https://github.com/openclaw/openclaw/actions/runs/30678827882). This exercises the production embedded run loop and real session/transcript owner boundaries with controlled provider/compaction responses; it is not a unit call into the extracted helper.

pnpm test \
  src/agents/embedded-agent-runner/run.overflow-compaction.loop.test.ts \
  src/agents/embedded-agent-runner/run.overflow-compaction.test.ts \
  src/agents/embedded-agent-runner/run.timeout-triggered-compaction.test.ts \
  -- --reporter=verbose \
  --testNamePattern='retries after successful compaction on context overflow promptError|preserves a caller-owned session manager across retry attempts|continues from transcript after compaction when the current inbound message was persisted|runs maintenance after successful overflow-recovery compaction|retries overflow recovery against the rotated compacted transcript|uses the top-level successor id when resolving a partial compaction session target|attempts compaction when LLM times out with high prompt token usage|retries the prompt after successful timeout compaction|passes channel, thread, message, and sender context into timeout compaction|fires compaction hooks during timeout recovery for ownsCompaction engines'

Actual redacted terminal output, retaining every executed scenario and omitting unrelated pattern-skipped cases:

✓ run.overflow-compaction.loop.test.ts > retries after successful compaction on context overflow promptError 359ms
✓ run.overflow-compaction.loop.test.ts > preserves a caller-owned session manager across retry attempts 392ms
✓ run.overflow-compaction.loop.test.ts > continues from transcript after compaction when the current inbound message was persisted 379ms
✓ run.timeout-triggered-compaction.test.ts > attempts compaction when LLM times out with high prompt token usage (>65%) 310ms
✓ run.timeout-triggered-compaction.test.ts > retries the prompt after successful timeout compaction 374ms
✓ run.timeout-triggered-compaction.test.ts > passes channel, thread, message, and sender context into timeout compaction 2734ms
✓ run.timeout-triggered-compaction.test.ts > fires compaction hooks during timeout recovery for ownsCompaction engines 361ms
Test Files  2 passed (2)
Tests       7 passed | 50 skipped (57)

✓ run.overflow-compaction.test.ts > runs maintenance after successful overflow-recovery compaction 392ms
✓ run.overflow-compaction.test.ts > retries overflow recovery against the rotated compacted transcript 381ms
✓ run.overflow-compaction.test.ts > uses the top-level successor id when resolving a partial compaction session target 384ms
Test Files  1 passed (1)
Tests       3 passed | 64 skipped (67)

[test] passed 2 Vitest shards in 276.64s
blacksmith run summary sync=delegated command=6m11.633s total=6m13.425s exit=0
{"provider":"blacksmith-testbox","leaseId":"tbx_01kyxganx5a1j0qadptmfqnrkz","exitCode":0,"runStatus":"succeeded"}

Observable invariants asserted inside those full-run scenarios:

  • Overflow recovery actually retries: exactly one compaction, exactly two embedded run attempts, context overflow detected (attempt 1/3); attempting auto-compaction, auto-compaction succeeded, and no returned error. The same caller-owned session manager survives both attempts; an already-persisted inbound user turn continues from its transcript without duplicating persistence.
  • Overflow successor transcript and maintenance stay coupled: the successful compaction rotates test-session to rotated-session; the retry and post-compaction maintenance both use rotated-session and /tmp/rotated-session.json; runtime settings stay mode=degraded with degradedReason=context_overflow; the session-change callback receives rotated-session, and the after-compaction hook receives previousSessionId=test-session plus the successor session. A separate scenario proves a partial SQLite session target still resolves its top-level successor id.
  • Timeout recovery actually compacts and retries: a 150,000-token timed-out prompt triggers timeout_recovery, forces the 200,000-token budget compaction, reports 80,000 tokens afterward, performs exactly two embedded attempts, preserves prompt-cache facts, and returns without error. Channel, thread, message, sender, provider, model, and account context are retained.
  • Timeout successor/session continuity: an engine-owned timeout compaction rotates test-session to rotated-timeout-session; its after-compaction hook observes /tmp/rotated-timeout-session.json, tokenCount=70, previousSessionId=test-session, and sessionId=rotated-timeout-session; post-compaction side effects run exactly once.
  • All required CI is complete and green: https://github.com/openclaw/openclaw/actions/runs/30678270158. The dedicated one-shot proof Testbox was stopped after its successful exitCode: 0; its backing lease workflow can display cancellation during normal Blacksmith session cleanup.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XL maintainer Maintainer-authored PR labels Aug 1, 2026
@steipete
steipete marked this pull request as ready for review August 1, 2026 01:36
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 31, 2026, 9:41 PM ET / August 1, 2026, 01:41 UTC.

ClawSweeper review

What this changes

The branch consolidates context-budget planning, tool-result truncation, and timeout/overflow compaction recovery into shared agent-runtime helpers while removing redundant worker and maintenance code.

Merge readiness

⛔ Blocked until real behavior proof from a real setup is added - 5 items remain

Keep this PR open for maintainer review. The consolidation is directionally sound and no concrete patch defect emerged from the inspected recovery, worker, and transcript-maintenance paths, but this maintainer-labeled refactor changes session recovery and availability-critical behavior without independently inspectable after-fix runtime proof. Likely related people: Peter Steinberger (steipete) is the strongest routing candidate from the branch and recent history, with medium confidence.

Priority: P2
Reviewed head: 53f771c64651aa7b89cdb1dde38b6297d492a345
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The patch has a coherent consolidation shape and no confirmed correctness finding, but proof is limited to reported automated validation for a session-sensitive runtime refactor.
Proof confidence 🦪 silver shellfish (2/6) Needs real behavior proof before merge: The PR body reports remote focused tests, checks, build, and a CLI version smoke, but no inspectable after-fix runtime artifact directly demonstrates the changed overflow and timeout recovery behavior. Add redacted terminal/live output or logs for both paths; redact private endpoints, IPs, tokens, and session data. Updating the PR body should refresh review automatically, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR body reports remote focused tests, checks, build, and a CLI version smoke, but no inspectable after-fix runtime artifact directly demonstrates the changed overflow and timeout recovery behavior. Add redacted terminal/live output or logs for both paths; redact private endpoints, IPs, tokens, and session data. Updating the PR body should refresh review automatically, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 7 items Shared recovery owner: The branch creates one helper that builds the context-engine runtime context, session target, timeout wrapper, and token budget for both overflow and timeout recovery.
Transcript successor handling: The shared runtime adopts a context-engine successor target and updates the active session identity before recovery hooks use the post-compaction state.
Overflow path uses shared recovery: The overflow path calls the shared helper, adopts a compacted transcript, then invokes maintenance against the new active session.
Findings None None.
Security None None.

How this fits together

Embedded agent runs accumulate transcript and tool-result state, then compact or trim that state when prompt limits or timeouts occur. The changed code prepares shared compaction inputs for context engines, adopts the resulting transcript, and retries the agent run or surfaces a recovery outcome.

flowchart LR
  A[Agent conversation] --> B[Transcript and tool results]
  B --> C[Prompt limit or timeout]
  C --> D[Shared compaction recovery]
  D --> E[Context engine]
  E --> F[Transcript adoption and maintenance]
  F --> G[Retry or visible recovery outcome]
Loading

Decision needed

Question Recommendation
Should this maintainer-requested agent-runtime refactor merge on its existing remote validation, or should it first include redacted runtime evidence for both overflow and timeout compaction recovery on the final head? Require runtime recovery proof: Add redacted terminal or runtime logs showing a real overflow recovery and a timeout-triggered compaction retry, including the resulting session/transcript continuity, then refresh review.

Why: The remaining gate is acceptance of behavioral-equivalence proof for session and availability-sensitive recovery paths, rather than a mechanical code repair that automation can safely choose.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR body reports remote focused tests, checks, build, and a CLI version smoke, but no inspectable after-fix runtime artifact directly demonstrates the changed overflow and timeout recovery behavior. Add redacted terminal/live output or logs for both paths; redact private endpoints, IPs, tokens, and session data. Updating the PR body should refresh review automatically, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P2) - Merging a broad refactor of overflow, timeout, transcript-adoption, and deferred-maintenance paths could leave a long-running session unable to retry or associate follow-up maintenance with the correct transcript if an untested ordering invariant changed.
  • Resolve merge risk (P2) - The supplied evidence is extensive test/build reporting but does not provide independently inspectable after-fix runtime output demonstrating both an overflow recovery and a timeout-compaction retry; several full CI lanes were still in progress.
  • Complete next step (P2) - The protected maintainer label and proof-sufficiency choice require maintainer handling; no narrow mechanical repair is established.
Agent review details

Security

None.

PR surface

Source -1046, Tests +23. Total -1023 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 14 1021 2067 -1046
Tests 1 28 5 +23
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 15 1049 2072 -1023

Review metrics

None.

Stored data model

Persistent data-model change detected: persistent cache schema: src/agents/embedded-agent-runner/tool-result-char-estimator.ts, serialized state: src/agents/session-tool-result-guard.ts, unknown-data-model-change: src/agents/session-tool-result-guard.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Prove both recovery modes before merge (recommended)
    Capture redacted post-change runtime evidence for overflow and timeout recovery on the final head, including transcript/session continuity and the retry outcome.
  2. Accept the test-only risk
    Maintainers may accept the claimed focused testbox coverage as the merge proof, recognizing that it does not visibly demonstrate both real recovery outcomes.

Technical review

Best possible solution:

Retain the single shared recovery owner, but merge only after maintainers have terminal evidence that overflow and timeout recoveries preserve successor-session identity, transcript maintenance, and retry behavior on the exact head.

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

Not applicable: this is a behavioral-equivalence refactor rather than a report of a new discrete defect. The relevant proof is exercising the existing overflow and timeout recovery paths on the PR head.

Is this the best way to solve the issue?

Yes, conditionally: sharing the construction of compaction runtime context and successor-transcript adoption is a cleaner owner boundary than keeping parallel timeout and overflow copies. The remaining concern is proof that the unified path preserves both existing recovery contracts.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against a0c98de0af86.

Labels

Label changes:

  • add P2: This is a large internal refactor of established agent recovery behavior with meaningful but non-emergency potential impact.
  • add merge-risk: 🚨 session-state: The branch changes compaction successor adoption, transcript rewriting, and deferred maintenance keyed to active sessions.
  • add merge-risk: 🚨 availability: The branch changes the timeout and context-overflow recovery paths that determine whether an agent run can retry instead of failing.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports remote focused tests, checks, build, and a CLI version smoke, but no inspectable after-fix runtime artifact directly demonstrates the changed overflow and timeout recovery behavior. Add redacted terminal/live output or logs for both paths; redact private endpoints, IPs, tokens, and session data. Updating the PR body should refresh review automatically, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Label justifications:

  • P2: This is a large internal refactor of established agent recovery behavior with meaningful but non-emergency potential impact.
  • merge-risk: 🚨 session-state: The branch changes compaction successor adoption, transcript rewriting, and deferred maintenance keyed to active sessions.
  • merge-risk: 🚨 availability: The branch changes the timeout and context-overflow recovery paths that determine whether an agent run can retry instead of failing.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports remote focused tests, checks, build, and a CLI version smoke, but no inspectable after-fix runtime artifact directly demonstrates the changed overflow and timeout recovery behavior. Add redacted terminal/live output or logs for both paths; redact private endpoints, IPs, tokens, and session data. Updating the PR body should refresh review automatically, or a maintainer can comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

Likely related people:

  • steipete: Peter Steinberger authored the consolidation commit and is the identifiable recent contributor in history for the affected embedded recovery surface. (role: recent area contributor; confidence: medium; commits: 53f771c64651, ea1d6cc35e9e; files: src/agents/embedded-agent-runner/run/overflow-context-recovery.ts, src/agents/embedded-agent-runner/run/timeout-context-recovery.ts, src/agents/embedded-agent-runner/context-engine-maintenance.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add redacted after-fix terminal or runtime evidence for an overflow recovery that retries successfully.
  • Add equivalent evidence for timeout-triggered compaction, including successor transcript/session continuity.
  • Wait for the in-progress required CI and QA lanes to complete on the reviewed head.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 475ea69 into main Aug 1, 2026
194 of 208 checks passed
@steipete
steipete deleted the codex/100k-context-compaction-2d45 branch August 1, 2026 02:05
@steipete

steipete commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit to yetval/openclaw that referenced this pull request Aug 1, 2026
* commit '475ea69f2c356104f4b601f4976788081e79b8b4':
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
vincentkoc added a commit to chenyangjun-xy/openclaw that referenced this pull request Aug 1, 2026
* origin/main: (3706 commits)
  refactor(ui): unify filtered session list ownership (openclaw#117158)
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
  refactor(plugins): consolidate descriptor and startup ownership (openclaw#117146)
  fix(messages): reply actions leak citation markers and reply/poll answers draw the no-reply fallback (openclaw#116909)
  fix(slack): let durable ingress retry transient thread lookups (openclaw#117135)
  refactor(doctor): consolidate shipped state migration ownership (openclaw#117142)
  fix(ai): Codex stream shows internal parser text on a malformed frame (openclaw#116966)
  fix: guard every migrated session accessor path (openclaw#117140)
  fix(terminal): measure unicode display width consistently (openclaw#117062)
  fix(openai): clear ChatGPT SSE fallback per session (openclaw#117123)
  fix(mistral): reject incomplete streamed tool terminals (openclaw#117137)
  fix(ai): preserve structured chat content and refusals (openclaw#117136)
  fix(doctor): persist normalized agent roster (openclaw#117115)
  fix(signal): avoid replay after ambiguous quote delivery errors (openclaw#117134)
  fix(cron): reject disabled delivery accounts when scheduling (openclaw#116899)
  ...
pull Bot pushed a commit to liudf0716/openclaw that referenced this pull request Aug 1, 2026
* commit '7e78de747b8a64d52f30aee948b697bf4c528691': (359 commits)
  refactor(ui): replace duplicated locale bundles with canonical translation memory (openclaw#117157)
  fix(ui): retire stale Gateway event-log observers (openclaw#117169)
  fix(agents): keep subagent status consistent after restart and large fan-outs (openclaw#117141)
  refactor(ui): unify filtered session list ownership (openclaw#117158)
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
  refactor(plugins): consolidate descriptor and startup ownership (openclaw#117146)
  fix(messages): reply actions leak citation markers and reply/poll answers draw the no-reply fallback (openclaw#116909)
  fix(slack): let durable ingress retry transient thread lookups (openclaw#117135)
  refactor(doctor): consolidate shipped state migration ownership (openclaw#117142)
  fix(ai): Codex stream shows internal parser text on a malformed frame (openclaw#116966)
  fix: guard every migrated session accessor path (openclaw#117140)
  fix(terminal): measure unicode display width consistently (openclaw#117062)
  fix(openai): clear ChatGPT SSE fallback per session (openclaw#117123)
  fix(mistral): reject incomplete streamed tool terminals (openclaw#117137)
  fix(ai): preserve structured chat content and refusals (openclaw#117136)
  ...
wingwkyuen pushed a commit to tcgoidc/openclaw that referenced this pull request Aug 1, 2026
* commit '6938f7dddb63bad59862c014c427d63f0a41a6f4': (368 commits)
  fix: allow gateway service commands for named profiles (openclaw#116314)
  fix(plugins): invalidate bundled artifact locations after metadata refresh (openclaw#117041)
  fix(ollama): honor model requests and pull completion contracts (openclaw#117171)
  fix(agents): prevent fallback after stale lifecycle abort (openclaw#117168)
  fix(telegram): confirm polling before long poll (openclaw#116970)
  fix(tlon): wire autoDiscoverChannels through the settings-store round-trip (openclaw#114949)
  fix(gateway): yield before post-ready background work (openclaw#117083)
  fix(ui): keep canvas lease renewals lifecycle-owned and timer-safe (openclaw#117173)
  fix(teams): restore the official square product icon (openclaw#117170)
  refactor(ui): replace duplicated locale bundles with canonical translation memory (openclaw#117157)
  fix(ui): retire stale Gateway event-log observers (openclaw#117169)
  fix(agents): keep subagent status consistent after restart and large fan-outs (openclaw#117141)
  refactor(ui): unify filtered session list ownership (openclaw#117158)
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
  refactor(plugins): consolidate descriptor and startup ownership (openclaw#117146)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* commit 'fb6c4cf5b748d913839d0fe23dbcbbf89804b882':
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* commit '5148236bbe050f6c05ee59190986a7215b41ce1c': (359 commits)
  refactor(ui): replace duplicated locale bundles with canonical translation memory (openclaw#117157)
  fix(ui): retire stale Gateway event-log observers (openclaw#117169)
  fix(agents): keep subagent status consistent after restart and large fan-outs (openclaw#117141)
  refactor(ui): unify filtered session list ownership (openclaw#117158)
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
  refactor(plugins): consolidate descriptor and startup ownership (openclaw#117146)
  fix(messages): reply actions leak citation markers and reply/poll answers draw the no-reply fallback (openclaw#116909)
  fix(slack): let durable ingress retry transient thread lookups (openclaw#117135)
  refactor(doctor): consolidate shipped state migration ownership (openclaw#117142)
  fix(ai): Codex stream shows internal parser text on a malformed frame (openclaw#116966)
  fix: guard every migrated session accessor path (openclaw#117140)
  fix(terminal): measure unicode display width consistently (openclaw#117062)
  fix(openai): clear ChatGPT SSE fallback per session (openclaw#117123)
  fix(mistral): reject incomplete streamed tool terminals (openclaw#117137)
  fix(ai): preserve structured chat content and refusals (openclaw#117136)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* commit '55215cd9edd2b585cbaee5481d5352aabf7e4399': (368 commits)
  fix: allow gateway service commands for named profiles (openclaw#116314)
  fix(plugins): invalidate bundled artifact locations after metadata refresh (openclaw#117041)
  fix(ollama): honor model requests and pull completion contracts (openclaw#117171)
  fix(agents): prevent fallback after stale lifecycle abort (openclaw#117168)
  fix(telegram): confirm polling before long poll (openclaw#116970)
  fix(tlon): wire autoDiscoverChannels through the settings-store round-trip (openclaw#114949)
  fix(gateway): yield before post-ready background work (openclaw#117083)
  fix(ui): keep canvas lease renewals lifecycle-owned and timer-safe (openclaw#117173)
  fix(teams): restore the official square product icon (openclaw#117170)
  refactor(ui): replace duplicated locale bundles with canonical translation memory (openclaw#117157)
  fix(ui): retire stale Gateway event-log observers (openclaw#117169)
  fix(agents): keep subagent status consistent after restart and large fan-outs (openclaw#117141)
  refactor(ui): unify filtered session list ownership (openclaw#117158)
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
  refactor(plugins): consolidate descriptor and startup ownership (openclaw#117146)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* origin/main: (3706 commits)
  refactor(ui): unify filtered session list ownership (openclaw#117158)
  refactor(agents): consolidate context budgets and compaction recovery (openclaw#117149)
  fix(net-policy): redact sig and x-* auth params in URLs and bodies (openclaw#116957)
  refactor(agents): remove duplicate generated-media delivery fallbacks (openclaw#117150)
  refactor(reply): unify turn lifecycle state ownership (openclaw#117145)
  fix(ui): preserve emoji agent avatar initials (openclaw#104912)
  refactor(auto-reply): unify command and directive ownership (openclaw#117143)
  refactor(plugins): consolidate descriptor and startup ownership (openclaw#117146)
  fix(messages): reply actions leak citation markers and reply/poll answers draw the no-reply fallback (openclaw#116909)
  fix(slack): let durable ingress retry transient thread lookups (openclaw#117135)
  refactor(doctor): consolidate shipped state migration ownership (openclaw#117142)
  fix(ai): Codex stream shows internal parser text on a malformed frame (openclaw#116966)
  fix: guard every migrated session accessor path (openclaw#117140)
  fix(terminal): measure unicode display width consistently (openclaw#117062)
  fix(openai): clear ChatGPT SSE fallback per session (openclaw#117123)
  fix(mistral): reject incomplete streamed tool terminals (openclaw#117137)
  fix(ai): preserve structured chat content and refusals (openclaw#117136)
  fix(doctor): persist normalized agent roster (openclaw#117115)
  fix(signal): avoid replay after ambiguous quote delivery errors (openclaw#117134)
  fix(cron): reject disabled delivery accounts when scheduling (openclaw#116899)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant