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

Đang mở
#2,057 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
76k
Fork
5.2k
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
58

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Fission-AI/OpenSpec

Tất cả issue của Fission-AI/OpenSpec

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.