Proposal instructions: procedural full-catalog sweep needed for Capabilities section (soft "research existing specs" misses cross-capability contract overlap)

Aperta
#2,292 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
markdown
Ambito
documentation

Direzione di ricerca

The change belongs in the proposal instruction template that tells the LLM to research existing specs before writing the Capabilities section; find that template in the repository and read how the Capabilities step is worded. Compare it with the sweep procedure proposed in the issue, which is to list all capabilities under openspec/specs/ and record a per-capability affected or not-affected verdict. Done means the template contains a procedural sweep step that the issue's wording would satisfy, with no maintainer decision yet on the exact wording.

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

Descrizione

Summary

The proposal instruction template tells the LLM to "Research existing specs before filling this in" when writing the Capabilities section, but this is a soft directive with no procedural criterion. In practice this leads to missed Modified Capabilities when the affected contract surface spans more than one capability.

Real-world case

While migrating a production homepage spec, a change modified copy literals frozen inside official-homepage/spec.md. The same family of literals was also frozen inside a second capability (e2e-testing/spec.md — its "E2E scenario coverage checklist" requirement enumerates literal values as assertions).

  • The proposal listed only official-homepage under Modified Capabilities, because the author-LLM anchored on the obvious capability and never enumerated the full catalog.
  • Neither the DESIGN nor PLAN audit caught it — both were bounded by the frozen evidence boundary, which inherited the incomplete sweep.
  • It surfaced only in an open-ended blind-discovery audit (which happened to sweep the whole openspec/specs/ catalog), forcing a mid-flight scope expansion: a second delta, a re-run of two readiness gates.

Root cause: "research existing specs" gives no mechanical action an auditor can verify. The completeness of the sweep is unfalsifiable until something breaks.

Suggested change

Make the sweep procedural in the proposal instruction template, e.g.:

Before writing the Capabilities section, enumerate all existing capabilities (ls openspec/specs/) and check each one for semantic association with this change: shared contract roots, overlapping enforced literals/wording, downstream verification or test specifications derived from the same requirements. Record the sweep scope and per-capability verdict (affected / not affected + one-line reason) in the proposal.

This converts an unverifiable soft directive into a mechanical, auditable step — a reviewer (or a review agent) can check the sweep table against the catalog and catch omissions at proposal time instead of at blind discovery time.

Environment

  • OpenSpec CLI (spec-driven schema, repo-local planning home)
  • Observed with Claude Code as the executing agent
Lingua principale
TypeScript
Stelle
76k
Fork
5.2k
Merge medio
1g 5h
PR unite (30g)
58

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 Fission-AI/OpenSpec

Tutte le issue di Fission-AI/OpenSpec

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.