explore: should edits to existing change artifacts go through update-change?

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

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

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

評価

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

調査の方向性

Start by reading the explore and update-change skill definitions and the existing-change handling added in #1503; the issue does not name their file paths. Compare how each handles edits, confirmations, and implemented changes, then decide whether explore should invoke or point to update-change when available. Done means the intended behavior is clarified and reflected in explore, with coverage for the chosen behavior.

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

説明

When a change already exists, explore can edit its artifacts once the user confirms. It never mentions openspec-update-change (/opsx:update), though. Is that intended?

What explore seems to do (1.14.1)

  • It reads the change's existing artifacts and offers to capture decisions in them. For example, a design decision goes in design.md and a scope change goes in proposal.md.
  • It gives no steps for making the edit itself. Its only write steps are for creating a new change, which were added in #1503.

What update-change covers that explore doesn't

  • It checks an edit against the change's other artifacts, in either direction.
  • It edits only existing output files, never a glob output path.
  • It confirms each artifact separately.
  • It points to apply when the change is already implemented.

Both skills are in the core profile, so a default install has both.

Question: is it intended that explore edits existing artifacts on its own? If not, could explore run update-change when it's installed, or at least point the user to it, once the user is ready to write? #1503 kept explore's handling of existing changes unchanged, so this may have been left open on purpose.

Related: #2058

主要言語
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 を短くまとめたダイジェスト。