Skip to content

fix: keep inbound metadata in runtime context - #89428

Closed
SweetSophia wants to merge 1 commit into
openclaw:mainfrom
SweetSophia:fix/runtime-only-inbound-context
Closed

SweetSophia wants to merge 1 commit into
openclaw:mainfrom
SweetSophia:fix/runtime-only-inbound-context

Conversation

@SweetSophia

@SweetSophia SweetSophia commented Jun 2, 2026 •

Copy link
Copy Markdown

Summary

Fixes the remaining #72704-shaped path where current-turn inbound channel metadata was still prepended into the user prompt text.

Current main already builds ordinary inbound metadata as currentInboundContext, but run/attempt.ts immediately merged that context back into both promptForSession and promptForModel via buildCurrentInboundPrompt(...). That kept Telegram Conversation info / Sender blocks on the model-visible user prompt path and could still persist the metadata-heavy prompt shape into active session state.

This PR moves currentInboundContext into the existing runtime-context channel instead:

  • user prompt text stays user-authored (promptForSession / promptForModel are no longer prefixed with current inbound metadata)
  • current-turn metadata is still available to the model as hidden prompt-local runtime context before the active user turn
  • extracted hidden runtime context and current inbound context are combined in one runtime-context payload
  • transcript/user prompt text remains clean

Linked Issue

Closes #72704

Real behavior proof (required for external PRs)

  • Behavior or issue addressed: Telegram/channel current-turn metadata (Conversation info / Sender) was still being prepended into the user prompt path after it had been assembled as currentInboundContext.
  • Real environment tested: Local OpenClaw checkout from this PR branch on Linux, running the real TypeScript runtime module through node --import tsx (no mocks, no test runner).
  • Exact steps or command run after this patch:
node --import tsx -e 'const { resolveRuntimeContextPromptParts, buildRuntimeContextCustomMessage } = await import("./src/agents/embedded-agent-runner/run/runtime-context-prompt.ts"); const parts = resolveRuntimeContextPromptParts({ effectivePrompt: "Please execute your workflow", transcriptPrompt: "Please execute your workflow", currentInboundContext: { text: ["Conversation info (untrusted metadata):", "```json", JSON.stringify({ channel: "telegram", message_id: "14636" }), "```", "", "Sender (untrusted metadata):", "```json", JSON.stringify({ id: "redacted", name: "Sherina" }), "```"].join("\n") } }); const runtimeMessage = buildRuntimeContextCustomMessage(parts.runtimeContext); console.log(JSON.stringify({ prompt: parts.prompt, modelPrompt: parts.modelPrompt ?? null, promptContainsMetadata: parts.prompt.includes("Conversation info") || parts.prompt.includes("Sender (untrusted metadata)"), runtimeContextContainsMetadata: Boolean(parts.runtimeContext?.includes("Conversation info (untrusted metadata):") && parts.runtimeContext?.includes("Sender (untrusted metadata):")), runtimeMessageCustomType: runtimeMessage?.customType, runtimeMessageDisplay: runtimeMessage?.display }, null, 2));'
  • Evidence after fix (screenshot, recording, terminal capture, console output, redacted runtime log, linked artifact, or copied live output):
{
  "prompt": "Please execute your workflow",
  "modelPrompt": null,
  "promptContainsMetadata": false,
  "runtimeContextContainsMetadata": true,
  "runtimeMessageCustomType": "openclaw.runtime-context",
  "runtimeMessageDisplay": false
}
  • Observed result after fix: the active user prompt remains exactly the user-authored text, metadata is not present in prompt/modelPrompt, and the same metadata is preserved in a non-displayed openclaw.runtime-context custom message.
  • What was not tested: a full live Telegram delivery round-trip with an actual bot account and model call.
  • Proof limitations or environment constraints: this is a local runtime-boundary proof rather than a provider-level screenshot; it exercises the real OpenClaw prompt/runtime-context code path without mocks.
  • Before evidence (optional but encouraged): on current main, run/attempt.ts called buildCurrentInboundPrompt({ context: params.currentInboundContext, ... }) for both promptForSession and promptForModel, which prepended the metadata context into the prompt text.

Tests and validation

  • node scripts/run-vitest.mjs run --config test/vitest/vitest.agents-embedded-agent.config.ts - 78 files / 1299 tests passed
  • node scripts/run-vitest.mjs run src/agents/embedded-agent-runner/run/runtime-context-prompt.test.ts src/agents/embedded-agent-runner/run/attempt.llm-boundary.test.ts - 35 tests passed across 2 shards
  • pnpm tsgo:core:test - passed
  • pnpm exec oxfmt --check src/agents/embedded-agent-runner/run/attempt.ts src/agents/embedded-agent-runner/run/runtime-context-prompt.ts src/agents/embedded-agent-runner/run/runtime-context-prompt.test.ts src/agents/embedded-agent-runner/run/attempt.spawn-workspace.context-engine.test.ts - passed

Regression coverage added:

  • Telegram-style Conversation info / Sender metadata remains out of parts.prompt
  • that metadata remains available in parts.runtimeContext
  • current inbound metadata combines with extracted hidden runtime context instead of replacing it
  • embedded-agent context-engine turns preserve reply/event context through openclaw.runtime-context without prepending it to the active prompt

Copilot AI review requested due to automatic review settings June 2, 2026 11:50
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S labels Jun 2, 2026
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. label Jun 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR moves current-turn inbound metadata (e.g., Telegram/channel info) out of the visible user prompt text and into the hidden runtime context.

Changes:

  • Adds currentInboundContext to resolveRuntimeContextPromptParts() and prefixes it into runtimeContext.
  • Updates the embedded attempt flow to stop prepending inbound metadata to the prompt text for session/model prompts.
  • Adds tests covering prompt text cleanliness and runtime context composition with inbound metadata.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/agents/embedded-agent-runner/run/runtime-context-prompt.ts Accepts currentInboundContext and merges it into the constructed hidden runtimeContext.
src/agents/embedded-agent-runner/run/runtime-context-prompt.test.ts Adds assertions that inbound metadata is excluded from prompt and included in runtimeContext.
src/agents/embedded-agent-runner/run/attempt.ts Removes buildCurrentInboundPrompt(...) usage so inbound metadata is not prepended to user/model prompt text.
CHANGELOG.md Documents the behavioral change for inbound Telegram/channel metadata handling.

@@ -74,6 +74,7 @@ export function resolveRuntimeContextPromptParts(params: {
effectivePrompt: string;
transcriptPrompt?: string;
modelPrompt?: string;
currentInboundContext?: CurrentInboundPromptContext;
Comment on lines +111 to +115
[
buildCurrentInboundPromptContextPrefix(params.currentInboundContext),
hiddenRuntimeContext,
extracted.runtimeContext,
]
@@ -107,7 +108,11 @@ export function resolveRuntimeContextPromptParts(params: {
? removeLastPromptOccurrence(extracted.text, transcriptPrompt)?.trim()
: undefined;
const runtimeContext =
[hiddenRuntimeContext, extracted.runtimeContext]
[
buildCurrentInboundPromptContextPrefix(params.currentInboundContext),
@clawsweeper

clawsweeper Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed June 21, 2026, 8:17 AM ET / 12:17 UTC.

Summary
The PR routes currentInboundContext through hidden embedded-agent runtime context instead of prepending it to session/model prompt text, with focused helper and runner regression tests.

PR surface: Source +9, Tests +88. Total +97 across 4 files.

Reproducibility: yes. Source inspection on current main shows currentInboundContext is still prepended into both session and model prompt strings after prompt splitting, which reproduces the reported inline metadata path without needing a live Telegram turn.

Review metrics: none identified.

Stored data model
Persistent data-model change detected: vector/embedding metadata: src/agents/embedded-agent-runner/run/runtime-context-prompt.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #72704
Summary: This PR is a focused candidate fix for the canonical excessive inline inbound metadata issue; related PRs attempt broader or alternative fixes for the same prompt/context problem.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🦞 diamond lobster
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

Risk before merge

  • [P1] GitHub currently reports the head as conflicting/dirty, so maintainers cannot land it without a branch refresh.
  • [P1] The PR changes where current-turn channel metadata lives during an active agent turn; a missed path could lose or mis-associate reply/session context.
  • [P1] fix: carry reply metadata into runtime context #90745 includes the same hidden-runtime-context routing plus broader reply metadata, so maintainers need one canonical landing order.

Maintainer options:

  1. Refresh The Focused Branch (recommended)
    Resolve the current conflict against main, preserve the clean-prompt runtime-context routing, and rerun the focused embedded-runner checks before merge.
  2. Fold Into The Broader Reply Branch
    If maintainers choose fix: carry reply metadata into runtime context #90745 as canonical, port this PR's clean-prompt coverage there before closing this branch.
  3. Pause Until The Contract Is Chosen
    Keep this PR open but unmerged while maintainers decide whether generic inbound metadata routing or the broader reply-context contract should land first.

Next step before merge

  • [P2] The remaining action is maintainer coordination and branch refresh against overlapping work, not a narrow automated repair defect in this head.

Security
Cleared: The diff changes agent prompt assembly and tests only; it does not touch dependencies, workflows, package resolution, secrets, permissions, or supply-chain surfaces.

Review details

Best possible solution:

Land one canonical hidden-runtime-context routing path that keeps inbound metadata available to the model without storing it as user-authored prompt/session text, either by refreshing this focused PR or folding its coverage into the broader reply-metadata PR.

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

Yes. Source inspection on current main shows currentInboundContext is still prepended into both session and model prompt strings after prompt splitting, which reproduces the reported inline metadata path without needing a live Telegram turn.

Is this the best way to solve the issue?

Yes, with maintainer coordination. The hidden openclaw.runtime-context boundary is the narrowest maintainable fix for the generic inbound metadata path, but this branch must be refreshed and coordinated with the broader reply-metadata PR before merge.

AGENTS.md: found and applied where relevant.

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

Label changes

Label justifications:

  • P2: This is a bounded agent/channel prompt bugfix with meaningful model-comprehension and runtime-context impact but limited blast radius.
  • merge-risk: 🚨 session-state: The PR changes whether current-turn metadata is persisted as active user prompt text or carried as hidden runtime context for the session turn.
  • merge-risk: 🚨 message-delivery: The PR changes how current inbound channel metadata reaches the model, and losing or misplacing that context can affect reply behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body includes copied after-fix live output from real TypeScript runtime helpers showing metadata removed from prompt/modelPrompt and preserved in a hidden openclaw.runtime-context message.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes copied after-fix live output from real TypeScript runtime helpers showing metadata removed from prompt/modelPrompt and preserved in a hidden openclaw.runtime-context message.
Evidence reviewed

PR surface:

Source +9, Tests +88. Total +97 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 2 22 13 +9
Tests 2 107 19 +88
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 129 32 +97

What I checked:

Likely related people:

  • Vincent Koc: Current-main blame on the central embedded attempt and runtime-context helper lines points to recent commits by Vincent Koc. (role: recent area contributor; confidence: high; commits: 7dd01d15c56d, c645ec4555c0; files: src/agents/embedded-agent-runner/run/attempt.ts, src/agents/embedded-agent-runner/run/runtime-context-prompt.ts)
  • Peter Steinberger: History for inbound metadata construction includes prior prompt-context and sender-spoofing fixes that shaped the current metadata boundary. (role: adjacent inbound-context contributor; confidence: medium; commits: 31e4c21b6776, 53273b490b3a; files: src/auto-reply/reply/inbound-meta.ts, src/auto-reply/reply/prompt-prelude.ts)
  • zhangqueping: Merged runtime-context delimiter work in the same helper and tests through #92589: fix(internal-runtime-context): wrap prompt-preface runtime context body in delimiters #92593. (role: adjacent runtime-context contributor; confidence: medium; commits: 21aa8faf8a87; files: src/agents/embedded-agent-runner/run/runtime-context-prompt.ts, src/agents/embedded-agent-runner/run/runtime-context-prompt.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.

@openclaw-barnacle openclaw-barnacle Bot added proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels Jun 2, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels Jun 2, 2026
@SweetSophia
SweetSophia force-pushed the fix/runtime-only-inbound-context branch from 6d7ee01 to d981d3d Compare June 2, 2026 12:08
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 2, 2026
@SweetSophia
SweetSophia force-pushed the fix/runtime-only-inbound-context branch from d981d3d to e059a15 Compare June 2, 2026 12:15
@SweetSophia

Copy link
Copy Markdown
Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jun 2, 2026
@SweetSophia
SweetSophia force-pushed the fix/runtime-only-inbound-context branch from e059a15 to 6f5b640 Compare June 4, 2026 13:57
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 4, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 4, 2026
@Marvinthebored

Copy link
Copy Markdown
Contributor

@SweetSophia — this stacks directly on your #89428. That PR's core idea (route
current-turn currentInboundContext out of the user prompt and into the hidden
runtime-context custom message, keeping the transcript/user text clean) is what
this PR builds on, and the credit is yours.

The one delta is placement. A runtime-context carrier that is stripped on
replay necessarily vanishes at its slot on the next turn, so where the slot sits
decides the prefix-cache cost:

  • fix: keep inbound metadata in runtime context #89428 as-is places the carrier immediately before the active user turn.
    Next turn that slot is gone, so request N+1's first differing byte lands
    before userN — the whole tail (userN + any tool loop) re-bills every turn,
    the same magnitude as the original bug. Great for keeping context, but it
    recovers almost none of the cache cost on prefix caches (and only breakpoint
    scraps on Anthropic).
  • This PR relocates the carrier to the absolute tail (after the active user
    turn and any tool scaffolding). Now the vanishing slot is where the next turn's
    new bytes (the assistant reply) begin anyway, so the request is an append-only
    prefix-extension through userN — only the trailing carrier is ever re-billed.
    It also adds a durable marker so the Anthropic (SDK + managed) and
    OpenAI-completions transports skip the volatile carrier when choosing the
    deepest cache_control breakpoint, keeping the anchor on the stable user turn.

Would love your review — this is meant to complete your approach, not compete
with it. If you'd prefer to fold the tail placement + breakpoint anchor into
#89428 and land it there, I'm happy to close this in favor of that; whichever
path lands the context-preserving fix soonest.

obviyus pushed a commit that referenced this pull request Jul 7, 2026
…ntext message for byte-stable prompt caching

The active user turn was decorated at request-build time with an inbound
metadata block (Conversation info / reply-target / sender / forwarded /
chat-history), but the session store persists the bare text and the LLM boundary
strips that block from historical replay. So a user message's serialized bytes
changed retroactively — decorated as the active turn, bare as history — on every
turn, invalidating any prefix/exact-match provider prompt cache from that point
onward, every turn. (#90811 fixed the timestamp half of this same asymmetry.)

Rework of the earlier "strip the active turn" approach (which lost model-visible
context — ClawSweeper's P1) into one that keeps the context AND recovers the
cache cost:

- Route current-turn inbound metadata out of the user prompt and into the hidden
  runtime-context custom message (the mechanism from #89428), and
  relocate that carrier to the ABSOLUTE TAIL of the wire request (after the
  active user turn and any tool-call scaffolding). The user turn stays bare and
  byte-identical in both the active and historical positions; the volatile
  carrier vanishes next turn exactly where the assistant reply begins anyway, so
  the request is an append-only prefix-extension through the active user turn.
- A durable marker (UserMessage.runtimeContextCarrier, set by convertToLlm from
  the carrier's details) lets the Anthropic SDK transport, the managed Anthropic
  transport (anthropic-transport-stream / anthropic-payload-policy), and
  OpenAI-completions skip the carrier when selecting the deepest cache_control
  breakpoint, keeping the anchor on the last stable user turn.

Storage stays BARE (invariant preserved); runtime-only turns (room events) keep
their existing inline behavior, which is byte-stable because room-event/system
context is not strip-eligible; legacy bare-stored sessions are unchanged.

Reviewed with adversarial gpt-5.5/codex sweeps (correctness, byte-identity,
compatibility, test adequacy): found + fixed the managed Anthropic transport
cache-anchor path and added the missing OpenAI-completions/managed-transport
breakpoint tests; a theoretical runtime-only mutation was verified unreachable
and pinned with a test. Final sweep clean.

Co-authored-by: #89428 (runtime-context handoff approach)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 7, 2026
…ntext message for byte-stable prompt caching

The active user turn was decorated at request-build time with an inbound
metadata block (Conversation info / reply-target / sender / forwarded /
chat-history), but the session store persists the bare text and the LLM boundary
strips that block from historical replay. So a user message's serialized bytes
changed retroactively — decorated as the active turn, bare as history — on every
turn, invalidating any prefix/exact-match provider prompt cache from that point
onward, every turn. (openclaw#90811 fixed the timestamp half of this same asymmetry.)

Rework of the earlier "strip the active turn" approach (which lost model-visible
context — ClawSweeper's P1) into one that keeps the context AND recovers the
cache cost:

- Route current-turn inbound metadata out of the user prompt and into the hidden
  runtime-context custom message (the mechanism from openclaw#89428), and
  relocate that carrier to the ABSOLUTE TAIL of the wire request (after the
  active user turn and any tool-call scaffolding). The user turn stays bare and
  byte-identical in both the active and historical positions; the volatile
  carrier vanishes next turn exactly where the assistant reply begins anyway, so
  the request is an append-only prefix-extension through the active user turn.
- A durable marker (UserMessage.runtimeContextCarrier, set by convertToLlm from
  the carrier's details) lets the Anthropic SDK transport, the managed Anthropic
  transport (anthropic-transport-stream / anthropic-payload-policy), and
  OpenAI-completions skip the carrier when selecting the deepest cache_control
  breakpoint, keeping the anchor on the last stable user turn.

Storage stays BARE (invariant preserved); runtime-only turns (room events) keep
their existing inline behavior, which is byte-stable because room-event/system
context is not strip-eligible; legacy bare-stored sessions are unchanged.

Reviewed with adversarial gpt-5.5/codex sweeps (correctness, byte-identity,
compatibility, test adequacy): found + fixed the managed Anthropic transport
cache-anchor path and added the missing OpenAI-completions/managed-transport
breakpoint tests; a theoretical runtime-only mutation was verified unreachable
and pinned with a test. Final sweep clean.

Co-authored-by: openclaw#89428 (runtime-context handoff approach)
@SweetSophia

Copy link
Copy Markdown
Author

This PR is now superseded by #100272. Marvin implemented a good version of the same core idea there: current-turn inbound metadata is carried through runtime context instead of being prepended to the user prompt, with the carrier moved to the tail so prompt caching stays byte-stable.

So this branch should not be merged as-is anymore, but it was the right foundation for the landed fix. Thank you, Marvin.

@SweetSophia

Copy link
Copy Markdown
Author

Closing as superseded by #100272, which landed the same runtime-context direction with Marvin's tail-carrier/cache-stability refinements.

@SweetSophia SweetSophia closed this Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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.

[UX] Excessive inline JSON metadata in Telegram user messages degrades model comprehension

3 participants