Skip to content

fix(sessions): let a fallback run after the turn was dispatched without a projection - #206969

Merged
obviyus merged 4 commits into
mainfrom
core/prompt-projection-fallback
Nov 27, 2026
Merged

obviyus merged 4 commits into
mainfrom
core/prompt-projection-fallback

Conversation

@obviyus

@obviyus obviyus commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

On a production deployment, one user turn failed with "All models failed": two fallback models refused it with Model prompt projection must be captured before provider dispatch.

The turn was a forwarded inter-session message (sessions_send). The primary model ran on the embedded runner, sent the turn unchanged without a model prompt projection (by design for unchanged inter-session text), and then hit a rate limit. The fallback models ran on the Codex harness. Its capture step only checks whether a projection already exists, so it tried to freeze one after the turn had already reached a provider. The transcript recorder correctly refused the write and threw, so every Codex fallback failed and the user got no answer.

Fix

The transcript recorder owns the "capture before dispatch" rule. A turn that was already sent without a projection is now treated as frozen at its transcript text: a later candidate's capture or prepare makes no write and returns the message unchanged. A dispatch that races a capture write still throws, as before. The embedded runner, which threw when capture returned no projection, now keeps the transcript text for that turn.

Production code: +7 / −4.

User impact

A fallback candidate no longer fails a turn that an earlier candidate already sent without a projection, on any harness (Gateway and openclaw agent). The stored turn keeps the text the first provider received.

Evidence

  • New test extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts ("runs after an earlier candidate dispatched the turn without a projection"). It fails on main with the production error and passes with this change.
  • New test src/agents/embedded-agent-runner/run/attempt-prompt-submit.projections.test.ts ("sends the transcript text when an earlier candidate dispatched without a projection"): a harness that sends without capturing, then an embedded fallback with hook context. It fails on main (the fallback never reaches the provider) and passes with this change.
  • Updated recorder contract test src/sessions/user-turn-transcript.test.ts: a sent turn is still never given a projection; capture now resolves without one instead of throwing.
  • Projection suites on both routes pass: attempt-prompt-submit.projections.test.ts and attempt-prompt-context.test.ts (embedded), and run-attempt.prompt-projection.test.ts (Codex).

Not covered

On such a fallback, Codex still sends its own hook-wrapped prompt for that attempt; the stored canonical text stays the transcript text. This matches how Codex treated every turn before projections existed.

…ut a projection

- A turn already sent to a provider without a model prompt projection is frozen as its
  transcript text; a later fallback candidate's capture no longer writes or throws.
- Covers an inter-session turn whose embedded primary failed and whose Codex fallback
  refused with "Model prompt projection must be captured before provider dispatch".
@clawsweeper

clawsweeper Bot commented Nov 27, 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.

@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. impact:other This issue has meaningful maintainer-visible impact outside the owned taxonomy. labels Nov 27, 2026
…ws an unprojected dispatch

- A harness that marks the turn sent without capturing, then an embedded fallback with hook
  context, failed with the post-dispatch capture error; skip projecting instead of throwing.
@openclaw-barnacle openclaw-barnacle Bot added the agents Agent runtime and tooling label Nov 27, 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. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. 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 27, 2026
@clawsweeper

clawsweeper Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

Allows fallback attempts to continue when an earlier candidate dispatched the user turn without capturing a model prompt projection.

Example: An embedded candidate sends a forwarded sessions_send turn, hits a rate limit, and falls back to Codex.

  • Before: Codex capture throws “Model prompt projection must be captured before provider dispatch,” preventing an answer.
  • After: Capture returns the unchanged transcript message and the fallback can dispatch.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The implementation is focused and has no definite source finding, but required behavior proof is mock-only and failed current-head checks remain unattributed.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A configured backup model can refuse a forwarded turn before dispatch, leaving the user without an answer after the primary fails.
Reason: The report identifies a concrete reliability failure, the shared owner contains the responsible guard, and the collaborator-authored PR establishes direction for this narrow repair.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it addresses a current fallback failure with a small recorder-owned fix, and source review found no definite introduced bug.

Reviewed head: 7d64666a406d212f26f1223543b2e8f13b6b1ffe

Before merge

None.

Findings

None.

Agent review details

How this fits together

The transcript recorder preserves admitted user text and optional model-facing projections; embedded and Codex attempts consume that state before sending provider requests.

flowchart TD
  A[Admitted user turn] --> B[Transcript recorder]
  B --> C[Embedded candidate]
  C --> D[Provider failure]
  D --> E[Fallback candidate]
  E --> B
  B --> F[Unchanged transcript and provider dispatch]
Loading

Technical review

Best possible solution:

Keep the recorder-owned no-write outcome and the embedded consumer adjustment as the focused fallback repair.

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

Current-main source establishes the failure when an unprojected recorder is marked dispatched and a fallback captures; the author reports matching production failure and red-before/green-after tests, which this read-only review did not execute.

Is this the best way to solve the issue?

The change fixes the shared recorder contract without adding another owner, preserves existing frozen projections, and updates the embedded consumer for the newly valid no-projection result.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Capture-before-dispatch recorder behavior changes intended behavior with a stated reason (6461c18: Preserve the first model-facing user text across later requests while retaining the original visible transcript.)
  • Prepared projection and actor-carrier integration keeps the original intent (22d075f: Fuse projection capture with the existing actor append and avoid a separate rewrite transaction; this PR retains that owner and adds an explicit no-write result for already dispatched unprojected turns.)
  • Codex reuse of an earlier fallback projection keeps the original intent (57bc0a2: Allow Codex backup candidates to reuse an embedded candidate's frozen projection; this PR leaves that existing-projection path intact.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 22d075f adds src/sessions/user-turn-transcript-updates.ts:64 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 22d075f531ff; files: src/sessions/user-turn-transcript-updates.ts)
  • Dallin Romney: Raw commit 497e367 adds extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts:67 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 497e367087af; files: extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts)
  • stealthybear: Raw commit 57bc0a2 adds extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts:110 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 57bc0a234687; files: extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts)
  • Ayaan Zaidi: Raw commit 20964c9 adds src/agents/embedded-agent-runner/run/attempt-llm-boundary.ts:511 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 20964c92c3ef; files: src/agents/embedded-agent-runner/run/attempt-llm-boundary.ts)

PR surface

Source +6, Tests +83. Total +89 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 10 4 +6
Tests 3 86 3 +83
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 96 7 +89

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:

  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

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

  • Establish a passing current-head CI verdict after diagnosing the two failed checks.

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 27, 2026, 5:04 PM ET / 22:04 UTC.

@obviyus
obviyus merged commit d22090c into main Nov 27, 2026
120 checks passed
@obviyus
obviyus deleted the core/prompt-projection-fallback branch November 27, 2026 22:33
obviyus added a commit that referenced this pull request Nov 28, 2026
… who builds the prompt (#207022)

## Problem

#206969 stopped a fallback model from failing a turn that an earlier model had already sent without a frozen model prompt (a "projection"). It did that by tolerating the missing projection for every harness. That tolerance also hid real gaps in the embedded runner, which is supposed to freeze every turn before sending it:

- An inter-session message (`sessions_send`) whose text was unchanged was sent without a projection. This is the case that failed a production turn.
- A turn that compaction removed from the request (a keyless turn) was sent without a projection.

## Fix

- Harnesses declare who builds the prompt with a new optional field, `promptProjection: "captures" | "external"`. The default is `"external"`, so undeclared third-party harnesses behave as before.
  - The built-in embedded harness declares `"captures"`. Codex declares `"external"`, because its app-server builds its own turn input.
  - The harness lifecycle records the declaration for one attempt only. The first send locks it in, and an attempt that never sent clears it.
- After a `"captures"` send, a late capture is an error again. The #206969 tolerance now applies only to `"external"` sends.
- The embedded runner makes that true. Unchanged inter-session text is now frozen too. Before the first send of an attempt, a turn that the prompt transform could not project is frozen as its own transcript text, so no fallback ever re-captures it.
- The new field is documented in `docs/plugins/sdk-agent-harness/core-ownership.md`.

## User impact

None visible on the normal path. A turn the embedded runner sends now always carries the text the provider received, so a later fallback on any harness replays the same bytes. Third-party harnesses that do not declare the field keep the current behavior.

## Evidence

- Red on main, green here:
  - The compacted keyless turn is frozen before dispatch, and the retained turn keeps no projection.
  - Inter-session turns are stored with their sent envelope (plain, forwarded and hook bodies).
- A built-in (`"captures"`) send without a projection makes a later capture throw; an undeclared harness keeps the tolerance.
- An attempt that never sent cannot apply its `"captures"` declaration to a later send outside the lifecycle.
- Projection and fallback suites on both routes pass: embedded submit, context and boundary, the recorder, the harness lifecycle, and the Codex app-server prompt projection.

Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 28, 2026
…ut a projection (#206969)

On a production deployment, one user turn failed with "All models failed": two fallback models refused it with `Model prompt projection must be captured before provider dispatch`.

The turn was a forwarded inter-session message (`sessions_send`). The primary model ran on the embedded runner, sent the turn unchanged without a model prompt projection (by design for unchanged inter-session text), and then hit a rate limit. The fallback models ran on the Codex harness. Its capture step only checks whether a projection already exists, so it tried to freeze one after the turn had already reached a provider. The transcript recorder correctly refused the write and threw, so every Codex fallback failed and the user got no answer.

The transcript recorder owns the "capture before dispatch" rule. A turn that was already sent without a projection is now treated as frozen at its transcript text: a later candidate's capture or prepare makes no write and returns the message unchanged. A dispatch that races a capture write still throws, as before. The embedded runner, which threw when capture returned no projection, now keeps the transcript text for that turn.

Production code: +7 / −4.

A fallback candidate no longer fails a turn that an earlier candidate already sent without a projection, on any harness (Gateway and `openclaw agent`). The stored turn keeps the text the first provider received.

- New test `extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts` ("runs after an earlier candidate dispatched the turn without a projection"). It fails on main with the production error and passes with this change.
- New test `src/agents/embedded-agent-runner/run/attempt-prompt-submit.projections.test.ts` ("sends the transcript text when an earlier candidate dispatched without a projection"): a harness that sends without capturing, then an embedded fallback with hook context. It fails on main (the fallback never reaches the provider) and passes with this change.
- Updated recorder contract test `src/sessions/user-turn-transcript.test.ts`: a sent turn is still never given a projection; capture now resolves without one instead of throwing.
- Projection suites on both routes pass: `attempt-prompt-submit.projections.test.ts` and `attempt-prompt-context.test.ts` (embedded), and `run-attempt.prompt-projection.test.ts` (Codex).

On such a fallback, Codex still sends its own hook-wrapped prompt for that attempt; the stored canonical text stays the transcript text. This matches how Codex treated every turn before projections existed.

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

Backport adaptation: Use the release Codex started-thread fixture rather than importing the adjacent main-only Codex test helper and existing-projection test. Codex ingress checked at d32063f96c app-server-protocol/src/protocol/v2/turn.rs:181 and app-server/src/request_processors/turn_processor.rs:575.

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 28, 2026
… who builds the prompt (#207022)

## Problem

#206969 stopped a fallback model from failing a turn that an earlier model had already sent without a frozen model prompt (a "projection"). It did that by tolerating the missing projection for every harness. That tolerance also hid real gaps in the embedded runner, which is supposed to freeze every turn before sending it:

- An inter-session message (`sessions_send`) whose text was unchanged was sent without a projection. This is the case that failed a production turn.
- A turn that compaction removed from the request (a keyless turn) was sent without a projection.

## Fix

- Harnesses declare who builds the prompt with a new optional field, `promptProjection: "captures" | "external"`. The default is `"external"`, so undeclared third-party harnesses behave as before.
  - The built-in embedded harness declares `"captures"`. Codex declares `"external"`, because its app-server builds its own turn input.
  - The harness lifecycle records the declaration for one attempt only. The first send locks it in, and an attempt that never sent clears it.
- After a `"captures"` send, a late capture is an error again. The #206969 tolerance now applies only to `"external"` sends.
- The embedded runner makes that true. Unchanged inter-session text is now frozen too. Before the first send of an attempt, a turn that the prompt transform could not project is frozen as its own transcript text, so no fallback ever re-captures it.
- The new field is documented in `docs/plugins/sdk-agent-harness/core-ownership.md`.

## User impact

None visible on the normal path. A turn the embedded runner sends now always carries the text the provider received, so a later fallback on any harness replays the same bytes. Third-party harnesses that do not declare the field keep the current behavior.

## Evidence

- Red on main, green here:
  - The compacted keyless turn is frozen before dispatch, and the retained turn keeps no projection.
  - Inter-session turns are stored with their sent envelope (plain, forwarded and hook bodies).
- A built-in (`"captures"`) send without a projection makes a later capture throw; an undeclared harness keeps the tolerance.
- An attempt that never sent cannot apply its `"captures"` declaration to a later send outside the lifecycle.
- Projection and fallback suites on both routes pass: embedded submit, context and boundary, the recorder, the harness lifecycle, and the Codex app-server prompt projection.

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

Backport adaptation: Applies cleanly after the batch fallback-projection fix; retain the source harness declaration and transcript freeze unchanged.

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 28, 2026
…ut a projection (#206969)

## Problem

On a production deployment, one user turn failed with "All models failed": two fallback models refused it with `Model prompt projection must be captured before provider dispatch`.

The turn was a forwarded inter-session message (`sessions_send`). The primary model ran on the embedded runner, sent the turn unchanged without a model prompt projection (by design for unchanged inter-session text), and then hit a rate limit. The fallback models ran on the Codex harness. Its capture step only checks whether a projection already exists, so it tried to freeze one after the turn had already reached a provider. The transcript recorder correctly refused the write and threw, so every Codex fallback failed and the user got no answer.

## Fix

The transcript recorder owns the "capture before dispatch" rule. A turn that was already sent without a projection is now treated as frozen at its transcript text: a later candidate's capture or prepare makes no write and returns the message unchanged. A dispatch that races a capture write still throws, as before. The embedded runner, which threw when capture returned no projection, now keeps the transcript text for that turn.

Production code: +7 / −4.

## User impact

A fallback candidate no longer fails a turn that an earlier candidate already sent without a projection, on any harness (Gateway and `openclaw agent`). The stored turn keeps the text the first provider received.

## Evidence

- New test `extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts` ("runs after an earlier candidate dispatched the turn without a projection"). It fails on main with the production error and passes with this change.
- New test `src/agents/embedded-agent-runner/run/attempt-prompt-submit.projections.test.ts` ("sends the transcript text when an earlier candidate dispatched without a projection"): a harness that sends without capturing, then an embedded fallback with hook context. It fails on main (the fallback never reaches the provider) and passes with this change.
- Updated recorder contract test `src/sessions/user-turn-transcript.test.ts`: a sent turn is still never given a projection; capture now resolves without one instead of throwing.
- Projection suites on both routes pass: `attempt-prompt-submit.projections.test.ts` and `attempt-prompt-context.test.ts` (embedded), and `run-attempt.prompt-projection.test.ts` (Codex).

## Not covered

On such a fallback, Codex still sends its own hook-wrapped prompt for that attempt; the stored canonical text stays the transcript text. This matches how Codex treated every turn before projections existed.

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit d22090c)
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 28, 2026
…ut a projection (openclaw#206969)

## Problem

On a production deployment, one user turn failed with "All models failed": two fallback models refused it with `Model prompt projection must be captured before provider dispatch`.

The turn was a forwarded inter-session message (`sessions_send`). The primary model ran on the embedded runner, sent the turn unchanged without a model prompt projection (by design for unchanged inter-session text), and then hit a rate limit. The fallback models ran on the Codex harness. Its capture step only checks whether a projection already exists, so it tried to freeze one after the turn had already reached a provider. The transcript recorder correctly refused the write and threw, so every Codex fallback failed and the user got no answer.

## Fix

The transcript recorder owns the "capture before dispatch" rule. A turn that was already sent without a projection is now treated as frozen at its transcript text: a later candidate's capture or prepare makes no write and returns the message unchanged. A dispatch that races a capture write still throws, as before. The embedded runner, which threw when capture returned no projection, now keeps the transcript text for that turn.

Production code: +7 / −4.

## User impact

A fallback candidate no longer fails a turn that an earlier candidate already sent without a projection, on any harness (Gateway and `openclaw agent`). The stored turn keeps the text the first provider received.

## Evidence

- New test `extensions/codex/src/app-server/run-attempt.prompt-projection.test.ts` ("runs after an earlier candidate dispatched the turn without a projection"). It fails on main with the production error and passes with this change.
- New test `src/agents/embedded-agent-runner/run/attempt-prompt-submit.projections.test.ts` ("sends the transcript text when an earlier candidate dispatched without a projection"): a harness that sends without capturing, then an embedded fallback with hook context. It fails on main (the fallback never reaches the provider) and passes with this change.
- Updated recorder contract test `src/sessions/user-turn-transcript.test.ts`: a sent turn is still never given a projection; capture now resolves without one instead of throwing.
- Projection suites on both routes pass: `attempt-prompt-submit.projections.test.ts` and `attempt-prompt-context.test.ts` (embedded), and `run-attempt.prompt-projection.test.ts` (Codex).

## Not covered

On such a fallback, Codex still sends its own hook-wrapped prompt for that attempt; the stored canonical text stays the transcript text. This matches how Codex treated every turn before projections existed.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 28, 2026
… who builds the prompt (openclaw#207022)

## Problem

openclaw#206969 stopped a fallback model from failing a turn that an earlier model had already sent without a frozen model prompt (a "projection"). It did that by tolerating the missing projection for every harness. That tolerance also hid real gaps in the embedded runner, which is supposed to freeze every turn before sending it:

- An inter-session message (`sessions_send`) whose text was unchanged was sent without a projection. This is the case that failed a production turn.
- A turn that compaction removed from the request (a keyless turn) was sent without a projection.

## Fix

- Harnesses declare who builds the prompt with a new optional field, `promptProjection: "captures" | "external"`. The default is `"external"`, so undeclared third-party harnesses behave as before.
  - The built-in embedded harness declares `"captures"`. Codex declares `"external"`, because its app-server builds its own turn input.
  - The harness lifecycle records the declaration for one attempt only. The first send locks it in, and an attempt that never sent clears it.
- After a `"captures"` send, a late capture is an error again. The openclaw#206969 tolerance now applies only to `"external"` sends.
- The embedded runner makes that true. Unchanged inter-session text is now frozen too. Before the first send of an attempt, a turn that the prompt transform could not project is frozen as its own transcript text, so no fallback ever re-captures it.
- The new field is documented in `docs/plugins/sdk-agent-harness/core-ownership.md`.

## User impact

None visible on the normal path. A turn the embedded runner sends now always carries the text the provider received, so a later fallback on any harness replays the same bytes. Third-party harnesses that do not declare the field keep the current behavior.

## Evidence

- Red on main, green here:
  - The compacted keyless turn is frozen before dispatch, and the retained turn keeps no projection.
  - Inter-session turns are stored with their sent envelope (plain, forwarded and hook bodies).
- A built-in (`"captures"`) send without a projection makes a later capture throw; an undeclared harness keeps the tolerance.
- An attempt that never sent cannot apply its `"captures"` declaration to a later send outside the lifecycle.
- Projection and fallback suites on both routes pass: embedded submit, context and boundary, the recorder, the harness lifecycle, and the Codex app-server prompt projection.

Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot added a commit that referenced this pull request Nov 28, 2026
…projection

Release adaptation of #206969 (eca1051, cherry-picked from
d22090c) for 2026.11.12. On main the
capture lives inside a per-target loop, so the upstream change uses
`continue`. The v2026.11.11 owner handles a single projection target,
so the clean textual merge produced a `continue` outside any loop and
the module no longer compiled. Skip only the runtime projection
replacement for that target instead, which keeps the transcript text
exactly as the upstream fix intends.

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 30, 2026
* fix: show Claude CLI document uploads only once in chat

* fix: show Claude CLI document uploads only once in chat

OpenClaw-Publication: 4555cb04-bff2-43b3-aff8-ec271d6567b2

* fix: keep Claude document uploads on the message that sent them

* fix: preserve the released message queue result contract

Release adaptation: Use an optional accepted-input observer instead of widening
queueMessage's released Promise<void> contract. Reuse the stable steering and
transcript-rewrite handlers; leave source admission, native image steering,
config, and all SQLite schemas unchanged. The existing history index columns
also carry exact document correlation. Keep the released model-hook test layout.

Companion audit through be407a4: no later #203866 reference. PRs #208535
(Claude compacted fork summaries), #206158 (native subagent status), and
#205663 (image dimensions) are separate. PRs #208252 (Codex source), #207022
(embedded prompt dispatch), #206969 (fallback), #205963 (Copilot question
policy), and 50a7368 (snooze) do not own this path. SHA mentions in
#204700 and #204685 are update/qualification records, not follow-ups.

(cherry picked from commit 269f884)

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

Labels

agents Agent runtime and tooling extensions: codex impact:other This issue has meaningful maintainer-visible impact outside the owned taxonomy. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant