Skip to content

feat(tui): inline image rendering via pi-tui Image component - #49022

Closed
ademczuk wants to merge 5 commits into
openclaw:mainfrom
ademczuk:feat/tui-inline-image-rendering-v3
Closed

ademczuk wants to merge 5 commits into
openclaw:mainfrom
ademczuk:feat/tui-inline-image-rendering-v3

Conversation

@ademczuk

@ademczuk ademczuk commented Mar 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Problem: When tools generate images (charts, diagrams, AI art via image_generate), the TUI shows [image/png 800kb] text placeholders. Users can't see images without switching to another app.
  • Why it matters: Breaks the flow during iterative visual work. The image_generate tool landed recently (3a456678ee, 21c2ba480a) but there's no rendering surface for it in the TUI.
  • What changed: TUI tool result boxes now render images inline on terminals that support Kitty or iTerm2 graphics protocols, using pi-tui's built-in Image component. All file I/O happens once in setResult() and is cached - refresh() does zero I/O.
  • What did NOT change (scope boundary): Gateway, WebUI, verbose filter, image tools, parse.ts, media store. Only TUI rendering is touched. Non-image-capable terminals keep the existing text fallback with zero behavior change.

Change Type (select all)

  • Bug fix
  • Feature
  • Refactor
  • Docs
  • Security hardening
  • Chore/infra

Scope (select all touched areas)

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

User-visible / Behavior Changes

On terminals with Kitty or iTerm2 graphics support (Kitty, WezTerm, iTerm2): tool results containing MEDIA: image paths now render the image inline inside the tool result box. MEDIA: path text is stripped when the image renders visually.

On all other terminals (VS Code, Windows Terminal, Apple Terminal): no change. Existing [image/png 800kb] text placeholders are preserved.

Security Impact (required)

  • New permissions/capabilities? No
  • Secrets/tokens handling changed? No
  • New/changed network calls? No
  • Command/tool execution surface changed? No
  • Data access scope changed? No - reads local files that tools already wrote to disk. Validated with: absolute path check, lstatSync symlink rejection, image extension whitelist, 6MB size bound with TOCTOU guard, path.normalize before all checks.

Repro + Verification

Environment

  • OS: Windows 11 / macOS / Linux
  • Runtime/container: Node 22+
  • Model/provider: Any provider with image_generate configured (Google, OpenAI, fal, xAI)
  • Integration/channel (if any): TUI only
  • Relevant config (redacted): agents.defaults.imageGenerationModel set (or auto-inferred since 0aff1c7630)

Steps

  1. Open the TUI in a Kitty/WezTerm/iTerm2 terminal
  2. Ask the agent to generate an image: "Generate an image of a sunset over mountains"
  3. Wait for the image_generate tool to complete

Expected

  • Image renders inline inside the tool result box
  • MEDIA: path text is not visible (replaced by the visual image)
  • Expanding/collapsing the tool result attaches/detaches the image without delay

Actual

  • Before this PR: [image/png] text placeholder shown, no visual rendering

Evidence

  • Failing test/log before + passing after
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

63 tests pass across 5 test files (24 inline-image security/capability tests + 14 tool-execution lifecycle tests + 25 existing TUI component tests). pnpm check passes all 15 linters.

Human Verification (required)

  • Verified scenarios: Built worktree with image_generate on upstream/main, ran pnpm check (all pass), ran vitest run src/tui/components/ (63/63 pass), verified canRenderInlineImages() detects WezTerm Kitty protocol support.
  • Edge cases checked: symlink rejection, oversized files (>6MB), non-image extensions, null bytes in paths, relative paths, empty files, .. traversal normalization, setPartialResult after setResult (stale cache clearing), double setResult (replacement).
  • What you did not verify: Live end-to-end TUI rendering with actual image generation (waiting for stable main CI to do a full manual test).

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only the conversations that still need reviewer or maintainer judgment.

No bot comments received yet (draft PR).

Compatibility / Migration

  • Backward compatible? Yes
  • Config/env changes? No
  • Migration needed? No

Failure Recovery (if this breaks)

  • How to disable/revert this change quickly: Revert the single commit touching src/tui/components/tool-execution.ts. The canRenderInlineImages() gate means non-image terminals are never affected.
  • Files/config to restore: src/tui/components/tool-execution.ts (restore to upstream version). Delete src/tui/components/inline-image.ts and test files.
  • Known bad symptoms reviewers should watch for: Garbled escape sequences in tool output on terminals that falsely report Kitty/iTerm2 support. TUI freezing after tool result (would indicate sync I/O leaked into render path - but this is architecturally prevented by the setResult/refresh split).

Risks and Mitigations

  • Risk: pi-tui getCapabilities() falsely detects image support on a terminal that doesn't actually render Kitty/iTerm2 protocol, producing garbled escape sequences.
    • Mitigation: This is a pi-tui detection issue, not specific to this PR. The Image component already has a text fallback path. Any detection bug would affect all pi-tui image users, not just this feature.
  • Risk: Large images (up to 6MB base64 = ~8MB string) cached per tool result. With many image-producing tool results visible, memory usage grows.
    • Mitigation: ChatLog prunes oldest components at 180 entries. Cached images are GC'd when their ToolExecutionComponent is removed. In practice, most sessions have fewer than 5 image-producing tool results visible at once.

@openclaw-barnacle openclaw-barnacle Bot added size: L maintainer Maintainer-authored PR labels Mar 17, 2026
@ademczuk
ademczuk force-pushed the feat/tui-inline-image-rendering-v3 branch from 39e9512 to a7b40f5 Compare March 17, 2026 14:11
When tools emit MEDIA: paths (e.g. image_generate), render images
inline on terminals that support Kitty or iTerm2 graphics protocols.
Falls back to existing [image/png] text placeholders on other terminals.

Architecture: all file I/O happens in setResult() (data layer), cached
once, and reused across refreshes. refresh() is a pure function of
cached state with zero I/O. Image components are stable instances that
attach/detach without recreation.
@ademczuk
ademczuk force-pushed the feat/tui-inline-image-rendering-v3 branch from a7b40f5 to 4e42316 Compare March 18, 2026 12:18
Tools emit images as [TEXT with MEDIA:path, IMAGE with base64] pairs.
When a MEDIA text block is rendered from file, the immediately following
image block (base64 duplicate) is now skipped via lastMediaRenderedFromFile
flag. Orphan image blocks without a preceding MEDIA path still render
from base64. This dedup logic is from the original PR openclaw#36740.

Also restores data field on ToolResultContent type so image content
blocks with inline base64 can be rendered as a fallback when no
preceding MEDIA path exists.
Skills (e.g. grok-imagine) emit a tool call for exec + a follow-up
media delivery event for the same image file. Both produce separate
ToolExecutionComponent instances that render the same path.

Fix: ChatLog passes a shared renderedImagePaths Set to all tool
components. When processResult loads a MEDIA: path, it checks and
adds to the global set. Second tool call for the same path skips
rendering, preventing duplicate images in the TUI.
The TUI client runs on the host but connects to a Docker gateway.
MEDIA: paths like /home/node/.openclaw/... don't exist on the host,
so readMediaImageAsBase64 fails silently and images render from base64
content blocks instead. The file-path-based globalSeenPaths dedup
never fired because no path succeeded.

Fix: track a 128-char base64 fingerprint (covers image header + enough
pixel data to distinguish different images) in the shared globalRendered
set. Both file-loaded and base64-loaded images register their fingerprint.
Second tool call with identical image data gets skipped regardless of
whether it came via MEDIA: path or orphan image block.

@TurboTheTurtle TurboTheTurtle 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.

I found one issue in the inline image state handling.

if (seenPaths.has(mediaPath) || globalRendered?.has(mediaPath)) {
continue;
}
seenPaths.add(mediaPath);

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.

[P2] Keep image dedupe scoped to live cached images

The shared globalRendered set is append-only for the lifetime of the ChatLog, but setPartialResult()/setResult() can detach and clear this component's cached images, and old tool components can be pruned. After a path or fingerprint is added here, a retry or updated final result for the same tool/path skips loading it, so supported terminals can fall back to showing the MEDIA: line or no image even though the current result should render it. Please make the dedupe ownership reversible when cached images are detached/pruned, or scope it to a single processed result instead of the whole chat log.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You're right, thanks for the careful read. globalRendered is append-only for the ChatLog's lifetime, so once a path or fingerprint is recorded, a later detach or prune of that component's cached images leaves the dedupe entry stale; a retry or updated final result for the same tool/path then skips re-loading and supported terminals fall back to the MEDIA: line. I'll scope the dedupe to a single processed result (or make the entry reversible when its cached image is detached/pruned) instead of keying off the whole chat log. This PR is a stale draft that needs a rebase onto current main first, so I'll fold the fix into that pass.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels May 20, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 5, 2026, 1:32 PM ET / 17:32 UTC.

Summary
The PR adds TUI inline image rendering utilities/tests and wires ChatLog/ToolExecutionComponent to render MEDIA or image content through pi-tui, plus a changelog entry.

PR surface: Source +260, Tests +354, Docs +1. Total +615 across 6 files.

Reproducibility: yes. source-level: current main renders image tool result content as text placeholders in the TUI, and the PR-head blockers are directly visible in the changed source. I did not run a live Kitty or iTerm2 terminal session in this read-only review.

Review metrics: 2 noteworthy metrics.

  • Stale TUI package imports: 2 PR-head imports use @mariozechner/pi-tui; current main has 0 package or lockfile refs. This is a current-main compatibility blocker before reviewers can trust any runtime behavior.
  • Host file-read paths: 1 added. A new local read path from tool output is a security-boundary decision, not only a rendering detail.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #57592
Summary: This PR is the active draft implementation candidate for the canonical TUI inline-image feature request; earlier attempts are closed unmerged, and the native image-generation migration is adjacent prerequisite work.

Members:

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

Merge readiness
Overall: 🧂 unranked krab
Proof: 🧂 unranked krab
Patch quality: 🧂 unranked krab
Result: blocked until real behavior proof from a real setup is added.

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

Rank-up moves:

  • Rebase onto current main and switch all pi-tui imports to @earendil-works/pi-tui.
  • [P1] Render current structured generated-attachment or image-block output without arbitrary host absolute MEDIA reads.
  • [P2] Add redacted live terminal proof from Kitty/iTerm2 or WezTerm plus unsupported-terminal fallback proof.

Proof guidance:

  • [P1] Needs real behavior proof before merge: The PR body reports tests and checks but explicitly says live end-to-end TUI rendering with actual image generation was not verified. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Proof path suggestion
A short real terminal recording would materially prove whether inline image rendering and fallback behavior work in the intended TUI environment. Mantis is currently scoped to Telegram, Discord, and web UI chat proof, so it is not the right proof path for this surface.
Use maintainer screenshot/manual proof, browser or Playwright proof, Crabbox where appropriate, or normal local artifact proof instead.

Risk before merge

  • [P1] The PR head imports a package name that current main no longer installs, and GitHub reports the branch as conflicting.
  • [P1] The claimed image_generate path does not match current main, which returns text Attachment lines and structured details rather than MEDIA text or image content blocks.
  • [P1] The shared renderedImages set can suppress legitimate retry, refreshed, or pruned image output after the original component detaches.
  • [P1] Reading arbitrary absolute MEDIA paths in the host TUI process needs a maintainer-approved trusted-media boundary before merge.

Maintainer options:

  1. Rebase and narrow the rendering contract (recommended)
    Update the branch to current main, current pi-tui package imports, current image_generate attachment shape, reversible dedupe, and a trusted media boundary before merge.
  2. Accept host MEDIA path reads explicitly
    Maintainers may choose to allow absolute host file reads, but that should be documented, tested, and treated as an intentional security boundary.
  3. Pause or close in favor of the tracker
    If the boundary is not ready, keep TUI: Support inline image display in iTerm2 / Kitty / Sixel terminals #57592 as the canonical feature tracker and close or park this stale draft.

Next step before merge

  • [P1] Manual review is needed because this protected draft requires maintainer decisions on the local media-read boundary and product shape before an automated repair would be safe.

Maintainer decision needed

  • Question: Should TUI inline rendering ever read absolute MEDIA paths from the host process, or should it only render trusted structured image blocks and media-store references?
  • Rationale: The feature is useful, but the PR crosses from model/tool text into local host file reads and terminal graphics output, which is a product and security boundary choice rather than a purely mechanical repair.
  • Likely owner: steipete — He is the best available routing candidate from the TUI component history and adjacent image_generate work.
  • Options:
    • Render trusted structured media only (recommended): Require the implementation to use current image blocks or structured generated-attachment/media-store references and avoid arbitrary absolute host path reads.
    • Allow constrained absolute MEDIA reads: Maintain the PR’s path-read shape only with an explicit trusted-root policy, tests, and live proof across local and Docker gateway setups.
    • Pause the draft under the canonical issue: Keep the feature tracked in the canonical issue while closing or parking this stale branch until a maintainer sponsors the security boundary.

Security
Needs attention: Security review needs attention because the diff adds a host-local file-read path driven by tool-result MEDIA text.

Review findings

  • [P1] Use the current pi-tui package import — src/tui/components/tool-execution.ts:1-2
  • [P1] Render current generated attachments — src/tui/components/tool-execution.ts:86-90
  • [P2] Make image dedupe ownership reversible — src/tui/components/tool-execution.ts:96-103
Review details

Best possible solution:

Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review.

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

Yes, source-level: current main renders image tool result content as text placeholders in the TUI, and the PR-head blockers are directly visible in the changed source. I did not run a live Kitty or iTerm2 terminal session in this read-only review.

Is this the best way to solve the issue?

No, not as currently submitted. TUI rendering is the right surface, but this branch must be rebased to current main, target current structured media output, repair dedupe ownership, and resolve the local file-read boundary before it is the best maintainable fix.

Full review comments:

  • [P1] Use the current pi-tui package import — src/tui/components/tool-execution.ts:1-2
    This head imports @mariozechner/pi-tui, but current main only depends on @earendil-works/pi-tui in package.json and the lockfile. As written, a rebase/merge onto current main cannot typecheck without either changing these imports to the current package or adding an obsolete second pi-tui package.
    Confidence: 0.97
  • [P1] Render current generated attachments — src/tui/components/tool-execution.ts:86-90
    The new renderer only looks for MEDIA: lines via splitMediaFromOutput or explicit type: "image" blocks, but current image_generate returns a text block with Attachments: lines plus structured details.media.attachments. That means the PR's main promised flow still renders as text on current main unless this code consumes the current attachment/media details shape.
    Confidence: 0.9
  • [P2] Make image dedupe ownership reversible — src/tui/components/tool-execution.ts:96-103
    globalRendered is append-only for the ChatLog lifetime, while setPartialResult, a retry, or scrollback pruning can detach the component that owned the image. A later result with the same path or fingerprint will then skip rendering and may show no image, which matches the unresolved review thread on this PR.
    Confidence: 0.91
  • [P1] Constrain MEDIA reads to trusted media references — src/tui/components/inline-image.ts:44-69
    readMediaImageAsBase64 accepts any absolute image path from tool-result text and reads it in the host TUI process. The extension, size, and symlink checks help, but they do not define why model/tool output is allowed to cause host-local file reads; this should be limited to trusted media-store or structured image references unless maintainers explicitly choose that boundary.
    Confidence: 0.82

Overall correctness: patch is incorrect
Overall confidence: 0.92

AGENTS.md: found and applied where relevant.

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

Label changes

Label justifications:

  • P2: This is a normal-priority TUI feature and review cleanup item with limited blast radius, not an urgent regression or outage.
  • merge-risk: 🚨 compatibility: Merging the stale head without repair would conflict with current main’s pi-tui package name and current image-generation result shape.
  • merge-risk: 🚨 message-delivery: The PR can suppress visible image output after retry/prune because cross-tool dedupe entries are not removed when rendered components detach.
  • merge-risk: 🚨 security-boundary: The PR lets tool-result text cause host-local image file reads in the TUI process, which needs an explicit trusted-media boundary.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🧂 unranked krab.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports tests and checks but explicitly says live end-to-end TUI rendering with actual image generation was not verified. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +260, Tests +354, Docs +1. Total +615 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 3 272 12 +260
Tests 2 354 0 +354
Docs 1 1 0 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 627 12 +615

Security concerns:

  • [medium] Tool output can trigger host-local image reads — src/tui/components/inline-image.ts:44
    readMediaImageAsBase64 accepts absolute paths from rendered tool text and reads them in the TUI process. Before merge, the implementation needs a trusted-media boundary or an explicit maintainer decision to allow this behavior.
    Confidence: 0.82

What I checked:

  • stale F-rated PR: PR was opened 2026-03-17T13:15:54Z, is older than 60 days, and the latest review rated it F.
  • proof blocker: real behavior proof is mock_only and proof tier is F, so this branch is not merge-ready without contributor follow-up.
  • no human follow-up: live comments and timeline hydrated by apply contain no non-automation activity after the ClawSweeper review.

Likely related people:

  • steipete: Peter Steinberger introduced the TUI UI kit files and added the image_generate tool that exposes this display gap. (role: introduced behavior and adjacent feature owner candidate; confidence: medium; commits: 32c91bbb2509, 3a456678ee35; files: src/tui/components/tool-execution.ts, src/tui/components/chat-log.ts, src/agents/tools/image-generate-tool.ts)
  • vincentkoc: Vincent Koc carried the native image-generation provider migration that is adjacent to the generated-image workflow this TUI surface would render. (role: recent adjacent image-generation contributor; confidence: medium; commits: 21c2ba480a80; files: src/agents/tools/image-generate-tool.ts, src/image-generation/runtime.ts, src/image-generation/types.ts)
  • Dallin Romney: Dallin Romney has recent current-main work in the broader shared runtime/TUI-adjacent refactor history, so he may have useful context on the stale branch conflicts. (role: recent area contributor; confidence: low; commits: 792060bb6369; files: src/tui/components/tool-execution.ts, src/tui/components/chat-log.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.

@clawsweeper

clawsweeper Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat.

Where did the egg go?
  • The egg game starts only after the PR passes the real-behavior proof check.
  • Before that, no creature or rarity is rolled. The treat waits for real proof.
  • This is still just collectible flavor: proof affects review readiness, not creature quality.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels May 22, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jun 16, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 2, 2026
@clawsweeper clawsweeper Bot added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 2, 2026
@vincentkoc vincentkoc self-assigned this Aug 12, 2026
@vincentkoc

Copy link
Copy Markdown
Member

thanks @ademczuk for the substantial exploration and follow-up here.

i’m closing this draft unmerged and keeping #57592 as the canonical tracker. current main has moved past the contracts this branch targets: the TUI uses @earendil-works/pi-tui, image_generate returns structured attachment/media details rather than the assumed MEDIA: plus inline-base64 pair, and the tool row now has newer sanitization, truncation, and lifecycle behavior.

this also needs a fresh security and ownership design rather than a rebase. tool-result text can currently select an arbitrary absolute image-extension path visible to the host TUI process, and the chat-lifetime fingerprint set can suppress legitimate retries or rerenders after a component detaches.

the useful direction remains capability-gated pi-tui image rendering with a text fallback. a future implementation should consume a trusted structured media reference, keep dedupe ownership reversible, and include real capable-terminal plus unsupported-terminal proof. any future implementation that reuses code or nontrivial design from this PR should credit @ademczuk and link this PR.

@vincentkoc vincentkoc closed this Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: L status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants