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

Abierto
#19,264 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python, shell

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Shell
Estrellas
22
Forks
2
Merge medio
2 h
PR fusionados (30 d)
960

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de melodic-software/claude-code-plugins

Todos los issues de melodic-software/claude-code-plugins

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.