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

Aperta Adatta ai principianti
#79 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
markdown, python

Direzione di ricerca

Leggi shared/dev-team/skills/orchestrate/references/spec-template.md e la regola per l’implementatore in shared/dev-team/roles/implementer.md, sezione 3, passaggio 7, per evitare di duplicare le indicazioni su lacune e conflitti. Aggiorna il modello in modo che ogni regola sia enunciata una sola volta: individua i chiamanti nel workspace degli elementi pubblici modificati e basa le affermazioni sul contenuto dei file sulla lettura di quei file durante la sessione. Verifica il risultato con python3 scripts/build.py --check e i comandi di test elencati in AGENTS.md; l’issue dice che è richiesta una revisione indipendente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
29m
PR unite (30g)
57

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di j3ko/agent-plugins

Tutte le issue di j3ko/agent-plugins

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.