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

オープン
#2,292 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
markdown
領域
documentation

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
76k
フォーク
5.2k
平均マージ
1日 5時間
マージ済み PR(30日)
58

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Fission-AI/OpenSpec のほかの issue

Fission-AI/OpenSpec の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。