discovery: turns-to-complete reads the fleet store instead of local sources only

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

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

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

評価

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

調査の方向性

Start with plugins/discovery/scripts/turns-to-complete.py, lib/session_record.py, and plugins/session-flow/scripts/collect.py, then read ADR 0135 for the existing transcript source flow. Trace how session records are written and how the skill reads sources. Done means the versioned record stores per-dispatch data, existing records remain readable, and the skill reports store-backed sources when available and local sources otherwise.

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

説明

needs-triage
Context

The fleet transcript ingest (ADR 0135, branch feat/fleet-transcript-sources) lets mining skills read every transcript source in a person's sources file through session-flow's store. turns-to-complete (discovery) ships in that change reading only the local sources, through the resolver, and its report header names every source it did not read. The store cannot feed it yet: the skill counts turns per subagent dispatch (distinct assistant message ids, stop reason, ceiling, resume), and session-record/v2 holds per-session totals with no per-dispatch rows.

Owner decision, 2026-11-26: local-only in that change, store-backed reach as this follow-up.

Proposed work
  • Add per-dispatch rows to the session record (agent type, turns, finished or ceiling, resumed) and have collect.py write them.
  • Have turns-to-complete read session-flow's store through a session-flow script (the way corrections' codify preferences reads /session-flow:audit-sessions excerpts), falling back to local sources when session-flow is absent, with the header saying which it read.
Acceptance criteria
  • With a sources file listing several hosts, one run of turns-to-complete reports dispatches from every source collected into the store, and its header names no unread source.
  • Without session-flow installed, it reads local sources and the header says so.
  • The record change is versioned and the store migration keeps existing records readable.
References
  • plugins/discovery/scripts/turns-to-complete.py
  • docs/adr/0135-mine-every-fleet-transcript-source-through-one-shared-ingest.md
  • lib/session_record.py, plugins/session-flow/scripts/collect.py
主要言語
Shell
スター
22
フォーク
2
平均マージ
2時間
マージ済み PR(30日)
960

環境構築

はじめの一歩

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

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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