Trace: extract and replace pasted images in Pi transcripts

オープン
#3,716 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
backend, data

調査の方向性

Start by reading the Pi spec-source pointer tracker dependency (#3704) and the design reference (#3569), then locate trace.PastedImageFinder and the spec-copy replacement path. Add regressions for finder, replacer, action, and malformed input, and run the repeated-image live scenario. Done means the measured scenario stores one material, removes supported inline duplicates only after storage succeeds, and the compatibility matrix reflects the result.

索引モデルが issue の本文から書いたものです。

説明

component/CLI trace-provider

Problem

The compatibility matrix marks Pi pasted-image pointers as No. User-pasted image data remains inline in the Pi transcript instead of being stored once as a spec material and replaced with a pointer.

Scope

Implement Pi's trace.PastedImageFinder and extend its spec-copy replacement path for the native image block shapes that Pi persists.

Acceptance criteria

  • Extract valid user-pasted image data from supported Pi message blocks.
  • Deduplicate decoded bytes and assign deterministic Pasted image N ordering.
  • Exclude tool-result images and non-paste image records.
  • Replace inline copies only after the material is stored successfully.
  • Keep invalid data, remote URLs, path-only records, and storage failures inline without blocking push.
  • Reuse an already captured identical image instead of creating a duplicate material.
  • Add finder, replacer, action, and malformed-input regressions.
  • Run the repeated-image live scenario and verify one stored material and no supported inline duplicate.
  • Update the compatibility matrix from measured results.

Non-goals

  • Treating tool-result images as user pastes.
  • Fetching remote image URLs.

Dependencies

  • Pi spec-source pointer tracker, because this extends the same provider replacement path.
  • Design reference: #3569.
  • Baseline Pi support: #3704.
主要言語
Go
スター
582
フォーク
61
平均マージ
12時間 47分
マージ済み PR(30日)
137

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

chainloop-dev/chainloop のほかの issue

chainloop-dev/chainloop の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。