spec template: list each caller of a changed public item, and read a file before a spec states its contents

Abierto Apto para principiantes
#79 0 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
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
markdown, python

Línea de trabajo

Lee shared/dev-team/skills/orchestrate/references/spec-template.md y la regla del implementador en shared/dev-team/roles/implementer.md, sección 3, paso 7, para evitar duplicar sus indicaciones sobre lagunas y conflictos. Actualiza la plantilla para que cada regla se indique una sola vez: identifica a los consumidores del workspace de los elementos públicos modificados y basa las afirmaciones sobre el contenido de los archivos en haberlos leído durante la sesión. Comprueba el resultado con python3 scripts/build.py --check y los comandos de prueba indicados en AGENTS.md; el issue dice que se requiere una revisión independiente.

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

Descripción

next

Problem

Two implementer dispatches in one session (2026-12-01) stopped as blocked. Each block came from an error in the orchestrator's spec, not in the work. Each one cost a full relaunch.

  1. A changed public item had callers outside "In scope". The spec changed a library trait method from synchronous to async (fn event(&mut self, …) -> impl Future<Output = Result<(), Self::Error>> + Send). "In scope" named the library, its tests and the one app's source file that implements the trait. It did not name that app's two integration-test files, which call the method directly. The implementer could not make the workspace compile inside the scope. It stopped correctly and reported the block. The orchestrator then added a "Round 2" section that put the two test files in scope for a mechanical change only.
  2. The spec stated what a file contained, without reading the file. A config spec said that an example config file had its live-trading tables active. In that file they were commented out. The spec's acceptance checks depended on this statement, so the implementer could not meet them as written. It stopped and reported the conflict. The orchestrator corrected the "Tests" section and launched again.

The spec template already has a rule for a statement about behavior: "write a statement about the behavior of a source, a library or an API only if you ran it" (references/spec-template.md, the paragraph before the template). It does not cover file contents or the callers of a changed item.

Proposed change

In shared/dev-team/skills/orchestrate/references/spec-template.md:

  • "In scope": when the change alters the signature or behavior of a public item (a function, trait, type or command-line interface), list each caller in the workspace, tests included. Give the command that found them, for example grep -rn '<name>' --include=*.rs, or a compile of all targets after a stub change (cargo check --workspace --all-targets for Rust). If a caller is out of scope on purpose, say so under "Out of scope".
  • Extend the existing rule about statements: a statement about the contents of a file, such as a config, a fixture or a generated file, comes from reading that file in this session. Otherwise, put the file under "Read" and let the implementer find the contents.

Make sure that the new text does not duplicate the implementer's rule for a gap or a conflict (shared/dev-team/roles/implementer.md, section 3, step 7). The implementer behaved correctly in both cases. The change is to the orchestrator's spec.

Acceptance

  • The template states both rules once.
  • Run python3 scripts/build.py --check and the test commands of AGENTS.md. This change needs an independent review (AGENTS.md).
Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
29 min
PR fusionados (30 d)
57

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 j3ko/agent-plugins

Todos los issues de j3ko/agent-plugins

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.