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

Offen
#19,264 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python, shell

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Shell
Sterne
22
Forks
2
Ø Merge
2 Std.
Gemergte PRs (30 T.)
960

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus melodic-software/claude-code-plugins

Alle Issues in melodic-software/claude-code-plugins

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.