Skip to content

fix(ai): keep provider checkpoints across credential sources - #200063

Merged
obviyus merged 3 commits into
mainfrom
openclaw/wild-crayfish
Nov 16, 2026
Merged

obviyus merged 3 commits into
mainfrom
openclaw/wild-crayfish

Conversation

@obviyus

@obviyus obviyus commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Problem

Long OpenAI Responses sessions lost their server compaction checkpoint and fell back to client summarization, even though the provider had compacted the session.

The replay identity fence for compaction and encrypted reasoning items included the auth profile hash. One OpenAI key can reach a session two ways: through an auth profile (openai:*) or through models.providers.openai.apiKey. When runs alternate between those two sources, the fence rejects the session's own checkpoints. The next request then resends the full raw history (about 1M tokens on the affected host) and client summarization runs. In the reported incident, that summarization was refused, which left the session with no summary.

This was observed in production on one host where both sources hold the same key; four sessions were affected. The fence was added in #120457 and moved in #135727.

Fix

  • The replay identity is now session plus model route only. authProfileHash and authProfileId are removed from the replay context, the compaction and reasoning replay builders, the context-usage meter, and every provider, transport and agent call site.
  • A checkpoint from a different org is still rejected by the server (invalid_encrypted_content / item_conflict). The existing recovery in openai-responses-replay-internal.ts already handles that.
  • Checkpoints saved with a legacy authProfileHash still replay. No migration is needed.

Net change: 25 files, +28 −59.

Evidence

Regression test: provider-compaction-replay.test.ts › "counts the returned prefix once after restart, including checkpoints with a legacy auth hash". It fails on base and passes with the fix.

Real-model E2E (isolated state, openai/gpt-5.4-mini, server compaction threshold 12k):

  • Setup: three seed turns run through an auth profile only. The final turn runs with the config apiKey present, which takes precedence. It is the same key, so only the credential source changes.
  • Request shapes come from OPENCLAW_DEBUG_MODEL_PAYLOAD=summary.
arm final-turn request items text chars answer
base 7f234bd message×N, reasoning…; compactionItems=0 12 113,498 correct
fix compaction, message:user, message:developer; compactionItems=1 3 758 correct

Base drops the checkpoint and the encrypted reasoning items and resends the full transcript. With the fix, the same checkpoint replays across the credential switch. At production scale, the same flip on a copy of a real session measured 331k tokens with a matching identity versus 900k with only the auth profile changed.

Checks:

  • pnpm check:changed is green.
  • The touched replay suites pass (51 tests).
  • The full packages/ai/src/transports run shows 7 failures. The same 7 fail on base under the same invocation. They are the GC retention fixtures that need --expose-gc, plus two order-dependent tests that pass when run alone.

Follow-up

The meter still estimates from the full transcript when a checkpoint is present. That fix is a separate PR.

obviyus and others added 2 commits November 16, 2026 15:35
The compaction and reasoning replay fence included the auth profile hash.
The same OpenAI key can reach a session through an auth profile or
through models.providers.<id>.apiKey; runs that alternate between the two
rejected the session's own server checkpoints, resent the full history
and fell back to client summarization.

Identity is now session plus model route. A checkpoint from a different
org is still rejected by the server (invalid_encrypted_content /
item_conflict) and handled by the existing recovery path. Checkpoints
stored with a legacy authProfileHash keep replaying.

Co-authored-by: obviyus <[email protected]>
OpenClaw-Publication: 4ab5fa4d-c2cc-4079-99d9-55f7c6a888a9
@clawsweeper

clawsweeper Bot commented Nov 16, 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 agents Agent runtime and tooling size: S labels Nov 16, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR preserves provider compaction and encrypted reasoning checkpoints when a session changes credential sources.

Example: An openai/gpt-5.4-mini session switches from an auth profile to the same API key in provider config.

  • Before: The recorded final request drops compaction and sends 12 items containing 113,498 text characters.
  • After: The recorded final request retains compaction and sends 3 items containing 758 text characters.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The focused production repair has meaningful real-model proof, but the unchanged consumer assertions leave a confirmed diff-caused CI failure.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The PR supplies isolated real-model output for the changed Responses replay path: three seed turns use an auth profile, then a final turn uses the same key from provider config; the fixed request retains one compaction item and returns the correct answer.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Long sessions lose usable provider checkpoints when the same credential is selected through a different configuration source.
Reason: The reported production incident and real-model comparison establish concrete value, and the maintainer-authored PR records the intended replay-boundary tradeoff.

Merge readiness

⛔ Needs changes before merge - 1 item remains

This PR addresses a demonstrated checkpoint-continuity bug, but two existing conversion tests still enforce the removed auth-profile fence and fail in CI.

Priority: P1
Reviewed head: 728009998a684858d975a61d676d03ef197b4254

Before merge

  • Update both conversion variants to the new replay identity contract (P2) - The existing table in openai-responses-shared.test.ts:324-330 still passes authProfileId: "other" and expects encrypted reasoning to disappear. Removing auth-profile matching makes that expectation false for both provider and transport conversion, and the reviewed-head CI annotations confirm both failures. Update that case to verify preserved ciphertext across the credential-source change, while keeping the session, model, and endpoint mismatch assertions.

Findings

  • [P2] Update both conversion variants to the new replay identity contract — packages/ai/src/transports/provider-replay-context.ts:53-57
Agent review details

How this fits together

The shared AI replay owner matches persisted provider checkpoints against the current session and model route, then prepares the checkpoint and remaining history for provider requests and context accounting.

flowchart LR
  A[Session transcript] --> B[Shared replay identity]
  C[Selected model route] --> B
  B --> D[Checkpoint and suffix]
  D --> E[Provider transport]
  F[Selected credential] --> E
  E --> G[Provider response]
  G --> A
Loading

Technical review

Best possible solution:

Keep the shared replay-owner fix and update the remaining conversion tests to preserve ciphertext across credential-source changes while retaining session, model, and endpoint mismatch coverage.

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

Current main compares auth-profile hashes despite an unchanged session and model route, and the supplied base-versus-fix real-model trace demonstrates checkpoint loss across the same-key source switch; no target code was executed during this review.

Is this the best way to solve the issue?

The production diff is a focused repair in the existing shared owner, with consistent caller updates and no added machinery; the remaining defect is incomplete migration of the existing conversion tests.

Full review comments:

  • [P2] Update both conversion variants to the new replay identity contract — packages/ai/src/transports/provider-replay-context.ts:53-57
    The existing table in openai-responses-shared.test.ts:324-330 still passes authProfileId: "other" and expects encrypted reasoning to disappear. Removing auth-profile matching makes that expectation false for both provider and transport conversion, and the reviewed-head CI annotations confirm both failures. Update that case to verify preserved ciphertext across the credential-source change, while keeping the session, model, and endpoint mismatch assertions.
    Confidence: 1

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Shared replay identity matching and hashing changes intended behavior with a stated reason (47f78a3: Fence provider-owned encrypted replay to compatible request identities; later shared-owner refactors preserved the auth-profile comparison.)
  • Provider conversion, capture, and recovery callers keeps the original intent (17eb646: Consolidate provider and transport replay conversion while preserving their delivery differences; this PR keeps that ownership and removes the obsolete identity input.)
  • Runner checkpoint continuity and pressure accounting keeps the original intent (3b3372b: Preserve provider checkpoints through history limiting and account for their canonical replay window; caller updates keep accounting aligned with the changed selector.)
  • ChatGPT V2 compaction callers keeps the original intent (52200cf: Carry server-side compaction through the normal ChatGPT request pipeline and retain its checkpoint for subsequent requests.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test packages/ai/src/providers/openai-responses-shared.test.ts --maxWorkers=1
  • pnpm test packages/ai/src/transports/openai-responses-reasoning-replay.test.ts packages/ai/src/transports/openai-responses-compaction-replay.test.ts --maxWorkers=1
  • pnpm check:changed
  • git diff --check

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 47f78a3 adds packages/ai/src/transports/openai-responses-compaction-replay.ts:130 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 47f78a32eb9e; files: packages/ai/src/transports/openai-responses-compaction-replay.ts)
  • Vincent Koc: Raw commit ef68101 adds packages/ai/src/transports/provider-replay-context.ts:16 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ef681015e567; files: packages/ai/src/transports/provider-replay-context.ts)
  • Ayaan Zaidi: Raw commit 52200cf adds src/agents/embedded-agent-runner/run/chatgpt-v2-compaction.ts:99 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 52200cffda28; files: src/agents/embedded-agent-runner/run/chatgpt-v2-compaction.ts)

PR surface

Source -22, Tests -9. Total -31 across 25 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 20 15 37 -22
Tests 5 13 22 -9
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 25 28 59 -31

Preflight source

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

Labels

Label changes:

No label changes.

Label justifications:

  • P1: The recorded production failure affects long-running agent sessions: credential-source changes discard valid compaction, resend very large histories, and can leave summarization unsuccessful.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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.

Reviewed November 16, 2026, 5:23 AM ET / 10:23 UTC.

@obviyus

obviyus commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

Maintainer override: the red jobs on head 1815abb are not caused by this change.

  • checks-node-changed-compact-small-1-2 (run 43878031190, rerun once): transport-stream-shared.test.ts ("logs failure metadata…") ×2 and openai-responses-item-conflict.integration.test.ts ("does not replay a degenerate aborted function item…"). Neither file nor the code it covers is touched. Both pass locally alone and across the same 68-file unit-support set in four orders. The same tests passed in this shard on the previous head (7280099), whose production source is identical to this head. Only test fixtures changed between the two heads. This is order-dependent leakage in the non-isolated Bun shard.
  • checks-node-changed-extensions-bundle-2: extensions/codex/src/app-server/run-attempt.context-engine.test.ts ("persists the admitted user prompt…"). It fails on both heads, in code this PR does not touch.

Exact head: local review ready (no findings), and real-model E2E before/after is in the PR body.

@obviyus
obviyus merged commit 225d22f into main Nov 16, 2026
191 of 198 checks passed
@obviyus
obviyus deleted the openclaw/wild-crayfish branch November 16, 2026 14:22
@obviyus

obviyus commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

Landed in 225d22f.

  • Bug: the server-compaction and encrypted-reasoning replay check included the auth profile. One OpenAI key that reached a session through both an auth profile and provider config made the session reject its own checkpoints, resend the full history and fall back to client summarization.
  • Fix: the replay identity is session plus model route. A foreign-org checkpoint is still rejected by the server and handled by the existing recovery path.
  • Proof: on a real-model run, base drops the checkpoint after a credential-source switch (12 items, 113k chars). With the fix, the checkpoint replays (3 items, 758 chars), and both answers are correct. The local review was ready on the exact head.
  • Follow-up: the model id is still part of the check. Same-org checkpoints replay across models, so that part is next.

RomneyDa added a commit that referenced this pull request Nov 16, 2026
Backport requested by Dallin for 2026.11.5. Preserve provider, model,
endpoint and session fencing while removing credential lookup-path identity.

Backport of commit 225d22f.
The release lacks the newer prepared-input cache; its single auth-identity
condition deletion is inapplicable, so that module remains unchanged.

Validation: replay boundaries 42/42; touched suites 147/148; prompt-prefix
stability 14/14; formatting and diff checks pass. The sole WebSocket
disconnect assertion fails identically on unchanged base and patched code.
Original canonical real-provider evidence was reviewed, not rerun locally.

Co-authored-by: RomneyDa <[email protected]>
obviyus added a commit that referenced this pull request Nov 16, 2026
## Problem

A session that changes models drops its own server compaction checkpoint, resends the full raw history, and falls back to client summarization. Model changes happen through fallbacks, per-turn overrides and model alternation within one session.

The provider replay check compared the model id. After #200063 removed the credential-path check, the model check was the other common cause. On the host that reported the original incident, model changes accounted for 357 of 800 dropped-checkpoint turns, mostly a session alternating between `gpt-6-astra` and `gpt-6.1-sol`.

## Fix

- The replay check is now provider API, endpoint and session. The model id stays in the stored record but is no longer compared.
- Providers accept their own replay items across models. I checked this with raw API calls before changing anything:
  - **OpenAI compaction items:** `gpt-6-astra` ↔ `gpt-6.1-sol` and `gpt-5.4-mini` → `gpt-5.4` are accepted, and the model recalls a fact that is only in the compacted history.
  - **OpenAI encrypted reasoning:** the same pairs are accepted.
  - **Anthropic compaction blocks:** `claude-sonnet-4-6` → `claude-opus-4-8` is accepted and recalls the compacted fact. These blocks are plaintext summaries.
- An item a provider cannot use is still rejected server-side (`invalid_encrypted_content` / `item_conflict`), and the existing replay recovery handles it.

The production change is one comparison removed. The tests that asserted the model check are replaced with positive cases.

## Evidence

**Regression test:** `openai-responses-compaction-replay.test.ts` › "replays a checkpoint written by another model in the same session". It fails on the old check and passes with the fix.

**Real-model E2E** (isolated state; each arm built from its own source):
- Three seed turns on `openai/gpt-5.4-mini` with server compaction, then a final turn on `openai/gpt-5.4` in the same session with the same key.
- Request shapes come from `OPENCLAW_DEBUG_MODEL_PAYLOAD=summary`.

| arm | final-turn request | items | text chars | answer |
| --- | --- | --- | --- | --- |
| base | messages only; `compactionItems=0` | 11 | 113,090 | correct |
| fix | `compaction, message:user, message:developer`; `compactionItems=1` | 3 | 656 | correct |

**Checks:**
- The touched replay suites pass (100 tests).
- `check:changed` passes except the dead-export scan. That scan reports unused exports in files this PR does not touch, which come from the current `main` tree.

## Scope

Encrypted reasoning from a different model is still dropped on a model switch. The generic cross-model history transforms (`transcript-transform.ts`, `transport-message-transform.ts`) and `dropStaleOpenAIReasoning` strip it before the replay check runs. That costs one turn of reasoning context, not the session's history, so it is left for a separate change.

## Follow-up

The context meter still estimates from the full transcript when a checkpoint is present. That fix is a separate PR.

<!-- openclaw-publication:062db4a7-d3c5-4845-a8d2-101d13f1edce -->

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 16, 2026
Backport canonical 7cb238a for the 2026.11.5 release, as requested by Dallin. Applies without adaptation on top of #200063. Preserve provider API, endpoint, and session boundaries; the provider owns checkpoint compatibility.

Proof: new checkpoint replay regression fails on the original owner; all 102 focused replay tests pass with the patch. Prefix stability 14/14 and formatting/diff checks pass. Live provider proof is retained in the canonical PR, not rerun locally. Full release qualification remains pending.

(cherry picked from commit 7cb238a)
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 16, 2026
Complete the #200063 caller cutover: stop passing the removed authProfileId replay option. The exact-candidate package declaration build exposed TS2353 at this remaining caller; replay params and compaction suites pass 21 tests. The converter no longer consumes this value.

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 16, 2026
Backport #200063, #200208, #200247, #200260 and #190065 to 2026.10.33. Preserve canonical source credit and maintenance-branch contracts.

All selected exact-head checks passed except the inherited Docker plugin API mismatch; aggregate ci-gate reports that same cause. Landing authorized with this attributed pre-existing failure.

Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: miguelbranco80 <[email protected]>
Co-authored-by: Shakker <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…w#200063)

## Problem

Long OpenAI Responses sessions lost their server compaction checkpoint and fell back to client summarization, even though the provider had compacted the session.

The replay identity fence for compaction and encrypted reasoning items included the auth profile hash. One OpenAI key can reach a session two ways: through an auth profile (`openai:*`) or through `models.providers.openai.apiKey`. When runs alternate between those two sources, the fence rejects the session's own checkpoints. The next request then resends the full raw history (about 1M tokens on the affected host) and client summarization runs. In the reported incident, that summarization was refused, which left the session with no summary.

This was observed in production on one host where both sources hold the same key; four sessions were affected. The fence was added in openclaw#120457 and moved in openclaw#135727.

## Fix

- The replay identity is now session plus model route only. `authProfileHash` and `authProfileId` are removed from the replay context, the compaction and reasoning replay builders, the context-usage meter, and every provider, transport and agent call site.
- A checkpoint from a different org is still rejected by the server (`invalid_encrypted_content` / `item_conflict`). The existing recovery in `openai-responses-replay-internal.ts` already handles that.
- Checkpoints saved with a legacy `authProfileHash` still replay. No migration is needed.

Net change: 32 files, +42 −77 (tests that asserted the credential-source fence are removed).

## Evidence

**Regression test:** `provider-compaction-replay.test.ts` › "counts the returned prefix once after restart, including checkpoints with a legacy auth hash". It fails on base and passes with the fix.

**Real-model E2E** (isolated state, `openai/gpt-5.4-mini`, server compaction threshold 12k):
- Setup: three seed turns run through an auth profile only. The final turn runs with the config `apiKey` present, which takes precedence. It is the same key, so only the credential source changes.
- Request shapes come from `OPENCLAW_DEBUG_MODEL_PAYLOAD=summary`.

| arm | final-turn request | items | text chars | answer |
| --- | --- | --- | --- | --- |
| base `e263be2` | `message×N, reasoning…`; `compactionItems=0` | 12 | 113,498 | correct |
| fix | `compaction, message:user, message:developer`; `compactionItems=1` | 3 | 758 | correct |

Base drops the checkpoint and the encrypted reasoning items and resends the full transcript. With the fix, the same checkpoint replays across the credential switch. At production scale, the same flip on a copy of a real session measured 331k tokens with a matching identity versus 900k with only the auth profile changed.

**Checks:**
- `pnpm check:changed` is green.
- Every replay test file that used the credential-source fence is updated. The changed test files pass (153/154; the remaining case needs `--expose-gc`).
- The full `packages/ai/src/transports` run shows 7 failures. The same 7 fail on base under the same invocation. They are the GC retention fixtures that need `--expose-gc`, plus two order-dependent tests that pass when run alone.

## Follow-up

The meter still estimates from the full transcript when a checkpoint is present. That fix is a separate PR.

<!-- openclaw-publication:4ab5fa4d-c2cc-4079-99d9-55f7c6a888a9 -->

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…0208)

## Problem

A session that changes models drops its own server compaction checkpoint, resends the full raw history, and falls back to client summarization. Model changes happen through fallbacks, per-turn overrides and model alternation within one session.

The provider replay check compared the model id. After openclaw#200063 removed the credential-path check, the model check was the other common cause. On the host that reported the original incident, model changes accounted for 357 of 800 dropped-checkpoint turns, mostly a session alternating between `gpt-6-astra` and `gpt-6.1-sol`.

## Fix

- The replay check is now provider API, endpoint and session. The model id stays in the stored record but is no longer compared.
- Providers accept their own replay items across models. I checked this with raw API calls before changing anything:
  - **OpenAI compaction items:** `gpt-6-astra` ↔ `gpt-6.1-sol` and `gpt-5.4-mini` → `gpt-5.4` are accepted, and the model recalls a fact that is only in the compacted history.
  - **OpenAI encrypted reasoning:** the same pairs are accepted.
  - **Anthropic compaction blocks:** `claude-sonnet-4-6` → `claude-opus-4-8` is accepted and recalls the compacted fact. These blocks are plaintext summaries.
- An item a provider cannot use is still rejected server-side (`invalid_encrypted_content` / `item_conflict`), and the existing replay recovery handles it.

The production change is one comparison removed. The tests that asserted the model check are replaced with positive cases.

## Evidence

**Regression test:** `openai-responses-compaction-replay.test.ts` › "replays a checkpoint written by another model in the same session". It fails on the old check and passes with the fix.

**Real-model E2E** (isolated state; each arm built from its own source):
- Three seed turns on `openai/gpt-5.4-mini` with server compaction, then a final turn on `openai/gpt-5.4` in the same session with the same key.
- Request shapes come from `OPENCLAW_DEBUG_MODEL_PAYLOAD=summary`.

| arm | final-turn request | items | text chars | answer |
| --- | --- | --- | --- | --- |
| base | messages only; `compactionItems=0` | 11 | 113,090 | correct |
| fix | `compaction, message:user, message:developer`; `compactionItems=1` | 3 | 656 | correct |

**Checks:**
- The touched replay suites pass (100 tests).
- `check:changed` passes except the dead-export scan. That scan reports unused exports in files this PR does not touch, which come from the current `main` tree.

## Scope

Encrypted reasoning from a different model is still dropped on a model switch. The generic cross-model history transforms (`transcript-transform.ts`, `transport-message-transform.ts`) and `dropStaleOpenAIReasoning` strip it before the replay check runs. That costs one turn of reasoning context, not the session's history, so it is left for a separate change.

## Follow-up

The context meter still estimates from the full transcript when a checkpoint is present. That fix is a separate PR.

<!-- openclaw-publication:062db4a7-d3c5-4845-a8d2-101d13f1edce -->

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

Labels

agents Agent runtime and tooling P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant