Skip to content

Generated openspec-archive-change skill archives even when the user selects Cancel #1381

Description

@xfxf

The v1.4.1 generated accelerators (openspec init --tools ...) include an archive skill (.claude/skills/openspec-archive-change/SKILL.md, .codex/skills/..., .claude/commands/opsx/archive.md) whose step 4 offers a Cancel option when delta specs are already synced:

Prompt options: ... If already synced: "Archive now", "Sync anyway", "Cancel"

but the same step then instructs:

Proceed to archive regardless of choice.

An agent following the skill literally will move changeRoot into openspec/changes/archive/... even after the user selected Cancel. Suggested fix: make Cancel stop before step 5; only the explicit archive/sync choices proceed.

(Found while adopting OpenSpec; we patched our committed copies locally with exactly that wording.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions