Skip to content

fix(compaction): preserve headroom for local chat follow-up turns - #132190

Merged
steipete merged 2 commits into
mainfrom
steipete/ollama-compaction-main-79706c
Aug 29, 2026
Merged

steipete merged 2 commits into
mainfrom
steipete/ollama-compaction-main-79706c

Conversation

@steipete

@steipete steipete commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #131762 — local 32K chat fails its second turn at the compaction safeguard.

Related: #131757 — desktop activation/restart handoff repair, now merged. Builds on merged #132010 — preserve conversation after optional memory-flush exhaustion; that repair is not duplicated here.

Additional instructions

MUST: Keep Allow edits from maintainers enabled for this PR so maintainers can help update the branch when needed.

What Problem This Solves

Fixes an issue where users of a newly configured local 32K model could receive a compaction error instead of the second short chat reply. The real Tauri/Linux reproduction completed its first request, restarted the Gateway and app, then rejected the next request during required maintenance despite an effective 32,768-token model context.

Two connected ownership defects made that path unnecessarily fragile: blocking compaction reused the early-memory-flush margin, and split-prefix summarization did not receive the completion fact already available to preparation and required by the summary safeguard. The rejected live summary itself was not captured, so this does not claim a proven lexical false positive or that every model reproduces the failure.

Why This Change Was Made

Resolve the blocking threshold once from the model window, selected reserve, and applicable server floor; apply the soft margin only to early flushing. For the observed 32,768-token window with 20,000 reserve and 4,000 soft margin, flushing begins at 8,768, while blocking token compaction begins at 12,768. No setting or default value is added or increased.

The existing preparation-owned split-turn completion fact now reaches both initial and corrective summary generation, retention, and final audit. It is bound to the actual user-bearing split, not a different older ask when a custom/bash boundary has no user. The retained terminal suffix is not copied, quality checks remain enforced, and repeated invalid summaries still cancel before history replacement.

The real storage-boundary tests also exposed formerly shared temporary SQLite locators. Those fixtures and their direct/native siblings now allocate canonical owned roots and close database handles before cleanup. This repairs the test producer rather than mocking away real target resolution or modifying an unowned database.

User Impact

A successful early memory flush no longer forces otherwise premature blocking compaction; normal chat can continue in the intended headroom interval. Legitimate compaction has the completion evidence it needs without resurrecting an already completed request. Fresh/stale usage accounting, the larger persisted-versus-transcript projection, once-per-cycle flushing, byte-pressure guards, required-compaction failures, manual/overflow paths, authorization, cancellation, and native-runtime ownership remain intact.

This composes with the already-merged exhaustion-continuity repair: optional maintenance exhaustion does not reset conversation history. The coordinator still performs required compaction before admitting the user turn and surfaces required-compaction failure normally. No SQLite schema/store, persistent-state semantics, protocol version, dependency, new public configuration/environment option, inference timeout, or context-window increase is introduced.

Evidence

Final refreshed-head checkpoint

Published head: 459ea0cdf397b1b4f228cb1ee5cd75e58d5744b5. The mechanical rebase e6fbc922540c00fd9b3288243a1985ec3a19d780 onto main ea1a547437ce3fc76802345bf4213c143fb77dab has the same stable patch ID as the original main integration. The final commit adds only the custom-plan test cases below; all three production owners still match the original live-tested candidate.

The previous hosted run failed only because the merged UI-pages/E2E typecheck shard exceeded its unchanged 720-root cap. The exact-coverage split landed independently in #132193 — share fs-safe native assets across package graphs, so this refresh includes that fix rather than duplicating it or weakening the cap. Final-head hosted CI completed successfully, including the required openclaw/ci-gate. Fresh live rollup verification found no failed or pending checks. Native artifact validation, mandatory hosted preparation, and the pinned squash merge completed successfully. Landed as 85cefd02525a; native merge receipt. The linked issue is closed. No release was published.

The refreshed integration passed 926 unique tests across 19 files. Its first run hit the unchanged agent-command import hook's 180-second timeout under heavy host contention: 349 tests in earlier shards and 29 controls passed, while 24 cases were skipped by that failed hook. After the static gate completed, the failed shard and remaining suites passed 577 tests with the existing one-worker setting and unchanged timeout, mocks, and assertions. The 29 controls are not double-counted. The full changed gate passed on the refreshed implementation, including all Knip scans, the corrected graph-coverage guard, all 15 core-test type graphs, lint, formatting, and storage/cycle guards.

ClawSweeper's reviewed-head feedback has no correctness/security finding and asks for positive non-default flush-plan coverage. The existing table now also selects an external memory provider with reserve 12,000 and soft margin 2,000: flush at 18,768, required compaction at 20,768. Against the exact pre-fix production owners, the two interval cases failed for an unwanted compaction call and the two boundary controls passed. Repaired production was restored byte-for-byte; the full 98-test maintenance suite, matching type graph, canonical lint, formatting, and a fresh isolated P0 review then passed. This adds four unique cases, bringing final covered scope to 930 unique tests, not a sum of repeated runs.

OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs src/agents/agent-command.embedded-maintenance.test.ts src/agents/run-session-target.test.ts src/agents/embedded-agent-runner/compact.hooks.test.ts src/agents/embedded-agent-runner/compact.abort-signal.test.ts src/agents/embedded-agent-runner/compact.native-cli.test.ts src/agents/agent-hooks/compaction-safeguard.test.ts src/agents/sessions/agent-session-loop-correctness.test.ts extensions/memory-core/src/flush-plan.test.ts extensions/ollama/src/stream-runtime.test.ts --reporter=dot
OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs src/auto-reply/reply/agent-runner-memory.test.ts --reporter=dot
node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.messaging.json --incremental
node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json src/auto-reply/reply/agent-runner-memory.test.ts

The custom-plan change deliberately restores the existing field contract: softThresholdTokens says to run memory flush within that many tokens of the compaction threshold (src/config/types.agent-defaults.ts:441); it is not a second subtraction from required compaction. No migration is needed: no schema, stored metadata, vector/embedding record, or retained-field change occurs. The review's docs:list failure was confined to its read-only Corepack environment; local docs discovery and MDX checks were completed. Its remaining exact-head/rank-up confirmation will be recorded before native merge.

Real native Linux behavior

The original failure and candidate proof use an actual Debian ARM64 Docker desktop with systemd, Tauri/WebKitGTK, and Ollama 0.33.1—not a mocked browser or provider. The original reviewed candidate is d5be515ec32, preserved on its source branch. This main integration has byte-identical production owners; its docs/test conflict resolutions preserve newer main's request-ceiling, configured-agent identity, and plugin-metadata changes.

The candidate completed default-main first chat, Gateway/app restart, second and third replies, manual /compact, and post-compaction recall. Observed early flush projection was 11,061 ≥ 8,768; subsequent preflight was 11,037 < 12,768. The smaller 7,159 housekeeping prompt did not replace the larger normal-chat accounting. Manual compaction succeeded on its first attempt in 12,470 ms, leaving two messages / approximately 288 tokens; the subsequent reply recalled both arithmetic answers.

Before After restart
Second request fails at required compaction Second short request succeeds after restart

Recall after successful manual compaction

Inspected accelerated replay (12×):

desktop-onboarding-ollama-restart-video-12x.mp4

All published captures were inspected and contain synthetic QA conversation, not credentials or operator data. No live state was edited to manufacture the outcome, and no context, timeout, quality-guard, or retry policy was weakened.

Regression-first and integrated proof

Before production edits, these regressions failed for the intended reasons; both pass after repair:

node scripts/run-vitest.mjs src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts -t 'default 32K early-flush interval' --reporter=dot
node scripts/run-vitest.mjs src/agents/agent-hooks/compaction-safeguard.test.ts -t 'retries a split-turn summary that revives a completed request' --reporter=dot

The first observed an unwanted compactor call after successful early flushing; the second prepared a real split with its terminal response retained outside the prefix and observed missing completion evidence in the initial summarizer call. Both initial/corrective requests are now covered, alongside valid correction versus repeated-invalid-summary cancellation.

Integrated head 917738e14367cdca40ac51d1c1277349d2c94ceb on main 6e6a0e59fde0034a2705eca34cbd1b7c6ca0ff3a: 924 unique tests, 19 files, 10 shards passed, including the merged continuity coordinator's real-SQLite exhaustion/no-reset test. The original eight-file execution order separately passed 687 tests. These are complementary proofs: the existing exhaustion case is byte-forced at low token pressure, while the 32K interval regression uses successful flushing; no single combined token-interval-exhaustion test is claimed.

node scripts/run-vitest.mjs src/auto-reply/reply/agent-runner-memory.test.ts src/agents/agent-hooks/compaction-safeguard.test.ts src/auto-reply/reply/followup-turn-admission.test.ts src/agents/agent-command.embedded-maintenance.test.ts src/agents/embedded-agent-runner/compact.hooks.test.ts packages/agent-core/src/harness/compaction/compaction.test.ts extensions/memory-core/src/flush-plan.test.ts extensions/ollama/src/stream-runtime.test.ts src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts src/auto-reply/reply/memory-flush.test.ts src/auto-reply/reply/reply-state.test.ts src/auto-reply/reply/agent-runner-memory.preflight-stale-tokens.test.ts src/agents/sessions/agent-session-loop-correctness.test.ts src/agents/embedded-agent-runner/compact.abort-signal.test.ts src/agents/embedded-agent-runner/compact.native-cli.test.ts src/agents/run-session-target.test.ts src/config/sessions/session-sqlite-target.ownership.test.ts test/helpers/temp-dir.test.ts src/auto-reply/reply/agent-runner-direct-runtime-config.test.ts --reporter=dot

Full explicit changed-file gate passed with the exact integrity-pinned pnpm 11.22.0, including production/full-tree/script Knip scans, core and all 14 core-test type graphs, type-aware lint, formatting, schema/storage guards, and import-cycle checks:

node scripts/check-changed.mjs --base 6e6a0e59fde0034a2705eca34cbd1b7c6ca0ff3a -- docs/providers/ollama.md docs/reference/session-management-compaction.md src/agents/agent-hooks/compaction-safeguard.test.ts src/agents/agent-hooks/compaction-safeguard.ts src/agents/embedded-agent-runner/compact.abort-signal.test.ts src/agents/embedded-agent-runner/compact.hooks.harness.ts src/agents/embedded-agent-runner/compact.hooks.test.ts src/agents/embedded-agent-runner/compact.native-cli.test.ts src/auto-reply/reply/agent-runner-memory.test.ts src/auto-reply/reply/agent-runner-memory.ts src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts src/auto-reply/reply/memory-flush.ts src/auto-reply/reply/reply-state.test.ts

Both changed docs passed MDX validation. A fresh isolated Codex autoreview of the integrated staged patch returned no P0 findings; that is not represented as an all-severity review. The initial gate correctly failed because its pinned package-manager executable was missing; the exact pinned manager was restored in a private Corepack cache, without dependency reconciliation or node_modules edits, before the complete successful rerun.

Ownership, dependencies, and size

The shared maintenance caller neighborhood includes ordinary replies, queued follow-ups, and direct commands. Coverage preserves CLI/heartbeat/native skips, Codex's host byte fuse without host token ownership, server floors, small/no-plan budgets, stale projections, cancellation, durable ownership, and terminal failures. Real session coverage verifies cancellation before compaction append/history replacement.

Directly inspected the pinned Codex source at 90854393966: context_window.rs, turn.rs, and thread_processor.rs. Native pressure/compaction remains Codex-owned; OpenClaw's flush margin is not part of that compact request.

Ollama v0.33.1 source applies request options after model options. OpenClaw's existing native precedence is explicit params.num_ctx, then effective contextTokens, otherwise Ollama chooses. The live runner actually used 32,768, despite its Modelfile's 16,384. The corrected Ollama docs and compaction reference reflect those contracts; provider transport itself is unchanged.

Production +35/−45 (net −10); tests/support +613/−255 (net +358); docs +24/−10 (net +14), 13 files. The bounded completion instruction adds at most 146 UTF-16 units; removing duplicate threshold policy and hard-path soft-margin plumbing more than offsets it. No new production test seam, generation path, compatibility reader, or fallback is added.

Provenance: early-margin reuse originated in #49479 — stale-usage preflight compaction, authored by @jared596 and merged by @jalehman on March 25, 2026. #85160 — surface native compaction failures, authored/merged by @joshavant on May 22, removed the stale-only gate and made required failures consequential for fresh usage. #130072 — model-aware maintenance budgets, authored/merged by @steipete on August 26, correctly capped reserve policy and carried the reuse forward; it did not introduce it. This is source-history attribution, not proof that a specific predecessor produced the uncaptured live summary.

Explicit limits

The live proof belongs to preserved candidate d5be515ec32; the integrated main patch is verified by production-byte equivalence, conflict inspection, and the expanded tests/gates, not mislabeled as a second live deployment. Restart was in the original reproduction, not proven necessary. The separate fresh no-restart child-session pair was interrupted and is not counted; the completed default-main run includes a third turn without another restart. Small CPU-only models can still be slow or generate invalid summaries; real safeguard failures remain visible. No fresh subscription OAuth enrollment or operator Gateway/state mutation was performed.

@clawsweeper

clawsweeper Bot commented Aug 28, 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: L maintainer Maintainer-authored PR labels Aug 28, 2026
@steipete
steipete marked this pull request as ready for review August 28, 2026 23:09
@steipete

steipete commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Merged on main: 85cefd02525a, from reviewed head 459ea0cdf397. The branch now includes the main-owned typecheck-shard repair and the requested custom memory-plan boundary coverage. Exact-head CI completed successfully, including the required gate. Fresh live verification found no failed or pending checks. scripts/pr review-validate-artifacts 132190 and OPENCLAW_TESTBOX=1 scripts/pr prepare-run 132190 both completed successfully at that same head; the prepared and remote head match. The pinned native squash merge completed successfully, with its confirmed merge receipt. The linked issue is closed; no release was published.

The earlier failed boundary job reported 724 roots against the 720 cap. The same exact-coverage pages/E2E split landed independently in #132193 — share fs-safe native assets across package graphs, so this PR no longer waits on the browser-panel repair. The rebase onto ea1a547437ce3fc76802345bf4213c143fb77dab preserved the complete stable patch ID; the final extra commit is test-only. All three production owners still match the original live-proven candidate.

The refreshed integration has 930 unique covered tests across 19 files: 926 after the main refresh, then four custom-plan cases with the full 98-test maintenance suite rerun. The initial refreshed attempt hit the unchanged 180-second agent-command import hook under heavy contention; its 24 cases did not run. After the static gate settled, the failed shard and remaining suites passed 577 tests serially with unchanged timeout, mocks, and assertions. Repeated controls are not double-counted. The full changed gate—including Knip, the corrected graph guard, all 15 test type graphs, lint, format, and storage/cycle guards—passed, followed by the final test-only change's matching typecheck/lint/format and a clean isolated P0 review.

Rank-up addressed: the existing matrix now selects a non-default external memory plan with reserve 12,000 and margin 2,000 in a 32,768-token context. Early flush starts at 18,768; required compaction starts at 20,768. Against the exact old production owners, interval cases at 18,768 and 20,767 failed for unwanted compaction while the two boundary controls passed. The repaired files were restored byte-for-byte, and all 98 maintenance tests then passed. This is owner-boundary test proof, not a claimed additional native custom-plan run.

ClawSweeper's latest review, published at 01:49 UTC on August 29, covers this exact final head, recognizes the custom-plan boundary coverage, and found no correctness/security defect or further rank-up work. The scheduling correction follows the existing softThresholdTokens contract: it is early-flush distance from the compaction threshold, not another deduction from that threshold. No schema, embedding metadata, retained field, or migration changes. The reviewer's read-only Corepack/docs-discovery limitation is not a local proof gap; docs discovery and MDX checks were completed. Final production delta is −10; tests/support +613/−255; docs +24/−10.

The PR body retains the inspected real Tauri/Ollama before/after recording, restart/second/third-turn, manual-compaction and recall proof, exact source identities, commands, and explicit limits. Native review artifacts and hosted preparation passed using the trusted main wrapper after its version guard correctly refused an outdated copy. No gate is bypassed, and no release is claimed.

@clawsweeper

clawsweeper Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 9:49 PM ET / August 29, 2026, 01:49 UTC.

ClawSweeper review

What this changes

This PR separates early memory-flush scheduling from required compaction, passes split-turn completion state to safeguard summaries, and isolates related SQLite-backed test fixtures.

Regression provenance

Possible regression — probable (reproduction; reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open for human maintainer merge review. The fetched current main still uses the coupled soft-margin threshold, while this branch separates optional flushing from required compaction and carries the preparation-owned completion fact into split-prefix generation; no blocking correctness or security defect was found.

Priority: P1
Reviewed head: 459ea0cdf397b1b4f228cb1ee5cd75e58d5744b5
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, net-negative production repair with source-backed boundary coverage and no blocking finding; protected maintainer review remains the routing gate.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This maintainer-associated PR is exempt from the external-contributor proof gate. The supplied record describes a real Tauri/Linux/Ollama follow-up flow, while the final commit adds boundary tests and leaves the three production owners unchanged from the preceding candidate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-associated PR is exempt from the external-contributor proof gate. The supplied record describes a real Tauri/Linux/Ollama follow-up flow, while the final commit adds boundary tests and leaves the three production owners unchanged from the preceding candidate.
Evidence reviewed 9 items Current main still has the reported threshold coupling: Fetched main computes one maintenance threshold by subtracting both the reserve and soft threshold, so the central behavior is not already implemented there.
Required-compaction owner is repaired on the branch: The branch resolves the blocking threshold from context window, selected reserve, and server floor, then passes that resolved threshold to the preflight gate.
Optional flushing keeps its own soft margin: The flush path derives its threshold from the canonical compaction threshold and subtracts the soft margin only there, preserving the documented early-flush interval without lowering the blocking threshold.
Findings None None.
Security None None.

How this fits together

Reply maintenance estimates session pressure before admitting a follow-up turn. It can flush durable memory early, then independently require transcript compaction only at the model’s reserve threshold.

flowchart LR
  A[Session usage and prompt estimate] --> B[Memory flush plan]
  B --> C[Early flush threshold]
  A --> D[Required compaction threshold]
  C --> E[Optional memory flush]
  D --> F[Pre-turn compaction decision]
  F --> G[Reply admission]
  H[Split transcript turn] --> I[Safeguard summary]
  I --> F
Loading

Decision needed

Question Recommendation
Should this protected maintainer-owned repair proceed through normal merge review on its exact head? Proceed with normal merge review: Review and land the exact head through the ordinary maintainer process, since the introduced code preserves the documented threshold invariant and has focused boundary coverage.

Why: Repository policy excludes maintainer-labeled or maintainer-authored work from automatic cleanup, even when the source review finds no blocker.

Before merge

  • Complete next step (P2) - This protected maintainer-owned PR has no discrete automation repair to route; its merge disposition requires normal human review.
Agent review details

Security

None.

PR surface

Source -6, Tests +354, Docs +14. Total +362 across 13 files.

View PR surface stats
Area Files Added Removed Net
Source 4 45 51 -6
Tests 7 603 249 +354
Docs 2 24 10 +14
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 13 672 310 +362

Review metrics

Metric Value Why it matters
Production versus test delta production +35/-45 (net -10); tests/support +613/-255; docs +24/-10 The bug fix reduces production code while adding owner-boundary and fixture-isolation coverage.

Stored data model

Persistent data-model change detected: unknown-data-model-change: src/auto-reply/reply/memory-flush.ts, vector/embedding metadata: src/auto-reply/reply/memory-flush.ts. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Land the canonical threshold split and completion-fact handoff after the required human review of this exact maintainer-owned head; no new setting, migration, or fallback is needed.

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

Yes, from source: the old main threshold is 32,768 minus reserve minus soft margin, while the focused boundary tests exercise the interval where a flush should occur without blocking compaction. This read-only review did not execute the scenario.

Is this the best way to solve the issue?

Yes. The branch repairs the two producing owners directly: one canonical required-compaction threshold and the preparation fact delivered to the prefix summarizer, rather than weakening safeguards or adding configuration.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P1: The repair targets a local follow-up chat path that can reject a valid second turn during required maintenance.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-associated PR is exempt from the external-contributor proof gate. The supplied record describes a real Tauri/Linux/Ollama follow-up flow, while the final commit adds boundary tests and leaves the three production owners unchanged from the preceding candidate.

Label justifications:

  • P1: The repair targets a local follow-up chat path that can reject a valid second turn during required maintenance.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-associated PR is exempt from the external-contributor proof gate. The supplied record describes a real Tauri/Linux/Ollama follow-up flow, while the final commit adds boundary tests and leaves the three production owners unchanged from the preceding candidate.

Evidence

What I checked:

Likely related people:

  • P5ina: Blame attributes the existing maintenance-threshold helper lineage to this contributor. (role: current threshold-surface author; confidence: high; commits: 22d4279245a2; files: src/auto-reply/reply/memory-flush.ts)
  • jared596: The merged preflight-compaction work is the relevant historical owner of the reply-maintenance admission path. (role: preflight compaction contributor; confidence: medium; commits: c6d8318d07f5; files: src/auto-reply/reply/agent-runner-memory.ts)
  • steipete: Recent merged compaction-budget work and this branch both cover the same maintenance ownership boundary. (role: recent compaction contributor; confidence: high; commits: 6b6f1969c11d, e6fbc922540c; files: src/auto-reply/reply/memory-flush.ts, src/auto-reply/reply/agent-runner-memory.ts, src/agents/agent-hooks/compaction-safeguard.ts)

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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-28T23:18:24.400Z sha 917738e :: needs maintainer review before merge. :: none

@steipete
steipete force-pushed the steipete/ollama-compaction-main-79706c branch from 917738e to 459ea0c Compare August 29, 2026 01:35
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 29, 2026
@steipete
steipete merged commit 85cefd0 into main Aug 29, 2026
251 of 252 checks passed
@steipete
steipete deleted the steipete/ollama-compaction-main-79706c branch August 29, 2026 02:00
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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 maintainer Maintainer-authored PR P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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.

[Bug]: Local 32K chat fails its second turn at the compaction safeguard

1 participant