Skip to content

fix(webchat): CLI skill and harness-injected turns render as operator-sent messages - #130427

Merged
jalehman merged 5 commits into
mainfrom
openclaw/fix-cli-injected-turns-rendering-as-operator-messages
Aug 26, 2026
Merged

jalehman merged 5 commits into
mainfrom
openclaw/fix-cli-injected-turns-rendering-as-operator-messages

Conversation

@jalehman

@jalehman jalehman commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where webchat users of CLI-backed sessions (e.g. claude-cli) would see harness-injected turns — Claude Code Skill instruction bodies ("Base directory for this skill: … # Auto Review …") and compaction continuation summaries — rendered as right-aligned operator bubbles, as if the operator had typed them. Reproduced on a real claude-cli session: every Skill invocation made the full skill body appear in the transcript as an operator-authored message.

Why This Change Was Made

Claude Code already records which user-role rows in its native transcript are harness-written (isMeta for skill injections, isCompactSummary for continuation summaries), but the claude-cli history importer discarded those flags, so downstream rendering had no way to distinguish them from real operator messages. This change records that provenance at the import boundary as the existing structured InputProvenance contract (internal_system / cli_harness_context) — the same mechanism the embedded runner uses to keep internal system prompts out of operator bubbles — and teaches the webchat system-notice path to render such turns as a collapsed "System · injected context" notice that does not start a new operator turn. No render-time text matching; classification comes only from the provenance the CLI recorded. Other surfaces (e.g. TUI) now receive the recorded provenance in chat.history payloads and can adopt the same treatment as a follow-up.

User Impact

Operators watching a CLI-backed session in webchat now see only their own messages as operator bubbles. Skill instruction bodies and continuation summaries appear as compact, collapsed "Injected context" system notices with a "Show content" disclosure, so the transcript reflects who actually authored each turn.

Evidence

Before (skill body rendered as an operator bubble) / after (collapsed system notice, operator bubble intact):

before
after

Captures come from a real browser (Playwright Chromium) against the served Control UI with the repo's mock-gateway harness, via the committed scripts/capture-injected-turn-notice-proof.mts; --mode before replays the pre-fix chat.history payload (no provenance), --mode after the fixed payload. Both captures were visually inspected.

Regression coverage (each new test verified to fail on pre-fix code):

  • src/gateway/cli-session-history.test.ts — importer records internal_system/cli_harness_context provenance only for isMeta/isCompactSummary rows; the operator-authored row stays clean.
  • src/gateway/server.chat.gateway-server-chat-b.test.ts — live gateway chat.history RPC proves the provenance survives import, merge with local history, and display projection.
  • ui/src/pages/chat/chat-thread.test.ts — an injected turn becomes a collapsed notice without an operator-turn boundary while a real operator message still renders as a user group.

Upstream transcript-contract evidence (Claude Code v2.1.246, the pinned build the repro transcripts came from; embedded bundle inspected directly): isMeta: !0 is written exactly at harness-injection sites — skill-content injection, preloaded-skill notices, skill re-invocation reminders, attachment/truncation notices, queued poll events — while the plain operator-prompt path builds the user message without it. isCompactSummary: !0 is written only by the compaction-summary builder. Claude Code's own turn logic groups isMeta || isVisibleInTranscriptOnly || isCompactSummary as one "not a real operator turn" predicate and excludes those rows from its real-user-turn checks, so this PR consumes the flags with the same semantics upstream itself relies on; the importer now covers all three via one canonical predicate. Misclassification is fail-safe in both directions: a false positive renders collapsed-but-visible, a false negative reverts to the pre-fix operator bubble, and operator turns sent through OpenClaw are displayed from OpenClaw's own persisted row with the imported duplicate deduped.

Validation run locally at this head: pnpm test src/gateway/cli-session-history.test.ts src/gateway/server.chat.gateway-server-chat-b.test.ts ui/src/pages/chat/chat-thread.test.ts ui/src/e2e/chat-agent-run-transcript.e2e.test.ts (all green: 169 + 183 + 4 tests), pnpm check:changed (format/typecheck/lint/i18n lanes clean), pnpm ui:i18n:baseline, and Codex autoreview (gpt-5.5) exited clean with no actionable findings.

Release-note context: user-facing fix for webchat transcript rendering of CLI-backed sessions; reported by @jalehman.

jalehman and others added 2 commits August 26, 2026 14:20
… not operator bubbles

Claude Code writes harness-generated user-role turns (Skill instruction
bodies, continuation summaries) into its native transcript with
isMeta/isCompactSummary flags. The claude-cli history importer dropped
that provenance, so webchat rendered those turns as right-aligned
operator bubbles the operator never sent.

Record the provenance at the import boundary as structured
InputProvenance (internal_system / cli_harness_context) — the same
contract the embedded runner uses to keep internal system prompts out of
operator bubbles — and teach the system-notice path to render such turns
as a collapsed "Injected context" notice that does not start an operator
turn.

Regression coverage: importer unit test (provenance recorded only for
flagged rows), live chat.history gateway RPC test (provenance survives
merge + display projection), and a chat-thread UI test (injected turn
becomes a collapsed notice while a real operator message keeps its
bubble). Before/after webchat captures via
scripts/capture-injected-turn-notice-proof.mts.

Co-Authored-By: Claude Fable 5 <[email protected]>
OpenClaw-Publication: 62f03fec-179b-4c5e-9423-4df80809de41
@clawsweeper

clawsweeper Bot commented Aug 26, 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 app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts size: M maintainer Maintainer-authored PR labels Aug 26, 2026
Release-note context lives in the PR body per repo policy.

Co-Authored-By: Claude Fable 5 <[email protected]>
@jalehman jalehman changed the title Publish openclaw/fix-cli-injected-turns-rendering-as-operator-messages fix(webchat): CLI skill and harness-injected turns render as operator-sent messages Aug 26, 2026
@jalehman
jalehman marked this pull request as ready for review August 26, 2026 21:31
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 7:21 PM ET / 23:21 UTC.

ClawSweeper review

What this changes

The PR retains Claude CLI harness-row provenance during history import and displays those rows in webchat as collapsed injected-context notices instead of operator-authored messages.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open: the reviewed head is a coherent, source-bound fix, and the protected maintainer label requires explicit maintainer handling. A full current-main comparison was blocked because required partial-clone objects could not be fetched after GitHub DNS resolution failed.

Priority: P2
Reviewed head: 0add9ffae980617a5aa414d5ce016a3a4c6cc167
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has strong boundary coverage and concrete browser proof, with one maintainer-visible dependency-contract judgment remaining.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): The PR body supplies before/after real-browser captures from the committed served-Control-UI mock-gateway script; attachment retrieval failed only because this reviewer environment could not resolve GitHub DNS.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The PR body supplies before/after real-browser captures from the committed served-Control-UI mock-gateway script; attachment retrieval failed only because this reviewer environment could not resolve GitHub DNS.
Evidence reviewed 6 items Importer records the fact at its owner boundary: The CLI importer classifies only the three native harness flags and attaches existing structured internal-system provenance to user rows before downstream consumers can infer authorship from text.
Async import and Gateway projection preserve the metadata: The oversized snapshot decoder retains all three flags, and chat-history merges the prepared imported snapshot before display projection; the gateway RPC regression test asserts an unflagged operator row and a flagged imported row separately.
UI classification is narrowly scoped: Only user rows carrying internal-system provenance use the system-notice path; the new source kind marks the body collapsed and intentionally omits a turn boundary, while existing notice rendering still sanitizes Markdown.
Findings None None.
Security None None.

How this fits together

Gateway imports a bound CLI session transcript, merges it into chat history, and sends the result to Control UI. Control UI groups the history into transcript turns and renders provenance-marked internal rows as system notices.

flowchart LR
  A[Claude CLI transcript] --> B[Gateway history importer]
  B --> C[Internal-context provenance]
  C --> D[Chat history response]
  D --> E[Control UI turn builder]
  E --> F[Collapsed injected-context notice]
  E --> G[Operator message group]
Loading

Decision needed

Question Recommendation
Does the documented Claude Code v2.1.246 bundle inspection provide sufficient contract evidence to classify isMeta, isCompactSummary, and isVisibleInTranscriptOnly as non-operator transcript rows? Accept the documented contract evidence: Land the bounded, fail-visible classification based on the PR's direct v2.1.246 inspection and its importer-to-UI coverage.

Why: The patch directly relies on an external native-transcript contract; the contributor documented direct inspection, but this read-only environment had neither the bundle nor working network to independently repeat it.

Before merge

  • Resolve merge risk (P1) - The classification depends on undocumented Claude Code native flags; if their meaning broadens, a genuine operator row would remain visible but be presented as injected context.
  • Resolve merge risk (P1) - This bug fix adds an estimated production net +88 lines; the added importer fact, existing-notice extension, and disclosure styling are purposeful, but the growth should remain confined to this provenance/display boundary.
Agent review details

Security

None.

PR surface

Source +88, Tests +139, Config +1, Other +125. Total +353 across 13 files.

View PR surface stats
Area Files Added Removed Net
Source 8 95 7 +88
Tests 3 143 4 +139
Docs 0 0 0 0
Config 1 1 0 +1
Generated 0 0 0 0
Other 1 125 0 +125
Total 13 364 11 +353

Review metrics

Metric Value Why it matters
Production versus test LOC production +88; tests +139; proof/test support +126 The production growth extends an existing provenance and system-notice path; the substantial test/support portion covers importer, Gateway, UI, and visual proof boundaries.

Stored data model

Persistent data-model change detected: serialized state: src/gateway/cli-session-history.test.ts, serialized state: src/gateway/server.chat.gateway-server-chat-b.test.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Accept the bounded transcript-contract risk (recommended)
    Accept the v2.1.246 evidence because a false positive remains visible as a disclosure and the importer, RPC, and UI paths are covered.
  2. Pause for direct contract verification
    Keep the PR open until a maintainer independently verifies the native flag grouping before adopting it as an attribution signal.

Technical review

Best possible solution:

Keep the producer-side provenance classification and the existing system-notice rendering path, with maintainer acceptance of the documented Claude Code v2.1.246 flag contract.

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

No independent reproduction was run in this read-only review; the PR supplies a concrete real-browser before/after capture claim plus importer, Gateway RPC, and UI regression coverage.

Is this the best way to solve the issue?

Yes, conditionally: recording provenance at the importer avoids brittle render-time text matching and reuses the existing system-notice path, subject to maintainer acceptance of the native flag contract.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies before/after real-browser captures from the committed served-Control-UI mock-gateway script; attachment retrieval failed only because this reviewer environment could not resolve GitHub DNS.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body supplies before/after real-browser captures from the committed served-Control-UI mock-gateway script; attachment retrieval failed only because this reviewer environment could not resolve GitHub DNS.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: The PR repairs visible attribution in CLI-backed webchat transcripts with a limited user-facing blast radius.
  • merge-risk: 🚨 other: The merge changes authorship presentation based on an external native transcript-flag contract that could drift.
  • 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. Sufficient (screenshot): The PR body supplies before/after real-browser captures from the committed served-Control-UI mock-gateway script; attachment retrieval failed only because this reviewer environment could not resolve GitHub DNS.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies before/after real-browser captures from the committed served-Control-UI mock-gateway script; attachment retrieval failed only because this reviewer environment could not resolve GitHub DNS.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body supplies before/after real-browser captures from the committed served-Control-UI mock-gateway script; attachment retrieval failed only because this reviewer environment could not resolve GitHub DNS.

Evidence

What I checked:

  • Importer records the fact at its owner boundary: The CLI importer classifies only the three native harness flags and attaches existing structured internal-system provenance to user rows before downstream consumers can infer authorship from text. (src/gateway/cli-session-history.claude.ts:415, 0add9ffae980)
  • Async import and Gateway projection preserve the metadata: The oversized snapshot decoder retains all three flags, and chat-history merges the prepared imported snapshot before display projection; the gateway RPC regression test asserts an unflagged operator row and a flagged imported row separately. (src/gateway/server-methods/chat-history-pages.ts:363, 0add9ffae980)
  • UI classification is narrowly scoped: Only user rows carrying internal-system provenance use the system-notice path; the new source kind marks the body collapsed and intentionally omits a turn boundary, while existing notice rendering still sanitizes Markdown. (ui/src/pages/chat/chat-thread-build.ts:185, 0add9ffae980)
  • Focused boundary coverage: Importer coverage covers all three native flags, the gateway test covers the async chat.history path, and UI coverage verifies user group → collapsed notice without startsTurn → assistant group. (src/gateway/cli-session-history.test.ts:418, 0add9ffae980)
  • Relevant history owner: The snapshot/import safety pipeline appears to date to this merged history commit by Peter Steinberger; the current head adds the new classification on top of that path. (src/gateway/cli-session-history.claude-snapshot.ts:40, 59c661bf66ac)
  • Current-main inspection limitation: The base/current-main source blobs were unavailable in this partial checkout: a read-only diff requested promisor objects, but GitHub DNS resolution failed. The PR is therefore not being treated as redundant or main-implemented.

Likely related people:

  • steipete: Introduced the large-history snapshot/import safety path that this PR extends. (role: snapshot/import pipeline introducer; confidence: medium; commits: 59c661bf66ac; files: src/gateway/cli-session-history.claude-snapshot.ts, src/gateway/server-methods/chat-history-pages.ts)
  • jalehman: Introduced the reviewed native-flag classification and UI notice integration at the current head. (role: recent area contributor; confidence: medium; commits: 0add9ffae980; files: src/gateway/cli-session-history.claude.ts, ui/src/pages/chat/system-notice-kinds.ts, ui/src/pages/chat/chat-thread-build.ts)

Rank-up moves

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

  • Have the import-pipeline owner accept the documented Claude Code v2.1.246 flag contract before merge.

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 (2 earlier review cycles)
  • reviewed 2026-08-26T21:38:33.411Z sha 5534997 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-26T22:04:11.993Z sha 63b6739 :: needs maintainer review before merge. :: none

Knip's full-tree unused-file scan requires capture scripts to be
package.json entry points, matching the sibling ui:proof:* captures.

Co-Authored-By: Claude Fable 5 <[email protected]>
@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 26, 2026
…ovenance helper

Claude Code groups isMeta, isCompactSummary, and isVisibleInTranscriptOnly
as its own "not a real operator turn" predicate (verified in the v2.1.246
bundle); import all three through one canonical predicate. Inline the
one-use provenance literal at the importer, returning input-provenance.ts
to its main state.

Co-Authored-By: Claude Fable 5 <[email protected]>
@jalehman

Copy link
Copy Markdown
Contributor Author

Addressing the review's before-merge items:

1. Transcript-contract proof for isMeta / isCompactSummary (P1 + P2). Inspected the upstream contract directly in the pinned Claude Code build that produced the repro transcripts (claude v2.1.246; Bun-compiled binary, embedded bundle extracted with binary-safe search):

  • isMeta: !0 is set exactly at harness-injection write sites: skill-content injection (dt({content: skillContent, isMeta:!0}) where skillContent feeds promptMessages), preloaded-skill notices, skill re-invocation reminders ("(Re-invocation of /${n} — the skill instructions were previously loaded…)"), oversized-attachment truncation notices, and queued poll events. The plain operator-prompt path constructs the user message without isMeta.
  • isCompactSummary: !0 is written only by the compaction-summary builder (paired with isVisibleInTranscriptOnly: !0).
  • Upstream consumes the flags with the same meaning this PR does: a helper returns e.isMeta || e.isVisibleInTranscriptOnly || e.isCompactSummary, and its real-user-turn check returns false for rows with toolUseResult !== undefined || isCompactSummary === true || isMeta === true. So the reclassification boundary matches Claude Code's own "not a real operator turn" semantics, not an inferred one.
  • Cross-checked against real v2.1.246 transcripts: operator prompts carry neither flag; skill bodies carry isMeta: true plus sourceToolUseID.
  • Drift risk is bounded fail-safe in both directions: a false positive renders the row as a collapsed, expandable notice (visible, never dropped); a false negative reverts to the pre-fix operator-bubble behavior. Operator turns sent through OpenClaw are additionally immune: display comes from OpenClaw's locally persisted row and the imported native duplicate is deduped.

The inspection also surfaced the third member of upstream's grouping, isVisibleInTranscriptOnly. Commit 0add9ff folds all three flags into one canonical importer predicate (with a regression row) so the import contract mirrors upstream's grouping exactly. This evidence is also summarized in the PR body.

2. Production LOC / one-use helper (P1). Applied. The one-use buildCliHarnessContextInputProvenance helper is absorbed into the importer as an inline provenance literal; src/sessions/input-provenance.ts is now byte-identical to main.

3. Stored data model note. No persisted-store or schema change: the flagged "serialized state" in the two test files is fixture JSONL serializing external Claude Code transcripts (the import source), not OpenClaw-owned storage.

4. Live-verification FAIL in the review harness. That step hit the harness's 30s command timeout — pnpm ui:proof:injected-turn-notice builds and serves the Control UI before capturing, which takes ~1–2 min. The before/after captures in the PR body were produced by that same script and visually inspected.

@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 26, 2026
@jalehman
jalehman merged commit 88aff1f into main Aug 26, 2026
366 of 369 checks passed
@jalehman
jalehman deleted the openclaw/fix-cli-injected-turns-rendering-as-operator-messages branch August 26, 2026 23:46
vincentkoc added a commit that referenced this pull request Aug 26, 2026
* origin/main: (26 commits)
  fix(plugins): preserve registry epoch on activation rollback (#129232)
  refactor(plugins): make discovery invocation-owned (#130486)
  feat(ui): save appearance preferences per user profile (#130340)
  fix: Buzz bots recover relay stalls and reject revoked senders (#130467)
  fix(code-mode): serialize catalog handles nested in final values (#130276)
  fix(webchat): CLI skill and harness-injected turns render as operator-sent messages (#130427)
  fix(agents): read the published model catalog owner from session_status (#130277)
  fix(channels): preserve long presentation text (#130368)
  fix(agents): route CLI bootstrap truncation notice into the system prompt (#130325)
  refactor(plugins): unify setup registration and artifact selection (#130474)
  fix(memory): prevent forgotten session content from returning (#130451)
  refactor(outbound): consolidate transport completion (#130460)
  fix(workers): protect in-flight workspace manifests from concurrent retention (#130449)
  fix(portals): keep worker previews reachable and owned by the active environment (#130434)
  fix(config): keep core channels keys in the generated config schema (#120736)
  chore(deps): refresh dependencies after seven-day cooldown (#130296)
  fix(agents): remind exec models to quote shell metacharacters (#125485)
  fix(auth): honor shared-store ownership in temp-state exec and agent deletion (#130437)
  fix(openshell): preserve file writes during concurrent mirror commands (#130447)
  fix(workers): report full nodes as at capacity, not offline (#130445)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
…-sent messages (openclaw#130427)

* fix(webchat): render CLI harness-injected turns as collapsed context, not operator bubbles

Claude Code writes harness-generated user-role turns (Skill instruction
bodies, continuation summaries) into its native transcript with
isMeta/isCompactSummary flags. The claude-cli history importer dropped
that provenance, so webchat rendered those turns as right-aligned
operator bubbles the operator never sent.

Record the provenance at the import boundary as structured
InputProvenance (internal_system / cli_harness_context) — the same
contract the embedded runner uses to keep internal system prompts out of
operator bubbles — and teach the system-notice path to render such turns
as a collapsed "Injected context" notice that does not start an operator
turn.

Regression coverage: importer unit test (provenance recorded only for
flagged rows), live chat.history gateway RPC test (provenance survives
merge + display projection), and a chat-thread UI test (injected turn
becomes a collapsed notice while a real operator message keeps its
bubble). Before/after webchat captures via
scripts/capture-injected-turn-notice-proof.mts.

Co-Authored-By: Claude Fable 5 <[email protected]>

* Publish openclaw/fix-cli-injected-turns-rendering-as-operator-messages

OpenClaw-Publication: 62f03fec-179b-4c5e-9423-4df80809de41

* chore: drop changelog entry; CHANGELOG.md is release-generated

Release-note context lives in the PR body per repo policy.

Co-Authored-By: Claude Fable 5 <[email protected]>

* chore: register injected-turn proof capture as ui:proof script

Knip's full-tree unused-file scan requires capture scripts to be
package.json entry points, matching the sibling ui:proof:* captures.

Co-Authored-By: Claude Fable 5 <[email protected]>

* fix(gateway): cover isVisibleInTranscriptOnly harness rows; absorb provenance helper

Claude Code groups isMeta, isCompactSummary, and isVisibleInTranscriptOnly
as its own "not a real operator turn" predicate (verified in the v2.1.246
bundle); import all three through one canonical predicate. Inline the
one-use provenance literal at the importer, returning input-provenance.ts
to its main state.

Co-Authored-By: Claude Fable 5 <[email protected]>

---------

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

Labels

app: web-ui App: web-ui gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M 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