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

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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

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.