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

Open
#2,292 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
markdown
Domain
documentation

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
TypeScript
Stars
76k
Forks
5.2k
Avg merge
1d 5h
Merged PRs (30d)
58

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Fission-AI/OpenSpec

All issues in Fission-AI/OpenSpec

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.