Trace: capture Pi subagent evidence from a pinned result format

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

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

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

  • #3760 @waveywaves による — マージされずにクローズ

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

Start by reading the Pi support shipped in #3704 and the accounting contract in #3706; the issue does not name specific files or tests. Then inspect the pinned official Pi subagent extension format and trace how provider, parser, and action regressions cover single, parallel, chained, failed, and abandoned results. Done means the stated acceptance criteria pass, a live Pi E2E scenario is added, and the compatibility cell reflects measured support.

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

説明

trace-provider

Problem

Pi support records only the selected root session. The compatibility matrix marks Pi subagents as No, so child conversations, tool activity, and usage are absent from CHAINLOOP_AI_CODING_SESSION evidence.

Scope

Support the commit-pinned result format of Pi's official subagent example extension. Map identifiable child messages and usage into deterministic subagent evidence and raw-session streams.

Acceptance criteria

  • Pin the supported official Pi subagent extension commit and supporting files.
  • Parse single, parallel, and chained child results with deterministic child IDs and raw streams.
  • Preserve child conversation content and tool results, not only aggregate token counts.
  • Count child input, output, cache, and cost exactly once under the normalized accounting contract from #3706.
  • Handle failed children and malformed optional result details without blocking push.
  • Exclude abandoned root branches and unrelated extension records.
  • Add provider/parser/action regressions and a live Pi E2E scenario.
  • Update the Pi compatibility cell from measured results, using Partial if only the pinned official format is supported.

Non-goals

  • Inferring subagents from parentSession alone.
  • Supporting arbitrary third-party Pi extensions.
  • Changing Pi's root session-tree selection contract.

Dependencies

  • #3706 must define Pi cache and total-token semantics before child usage is aggregated.
  • Baseline Pi support shipped in #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 を短くまとめたダイジェスト。