docs: align cli-update OpenCode spec with commands/ and opsx-* paths - #1170
Conversation
Update OpenCode cli-update spec to .opencode/commands/opsx-*.md and document legacy path cleanup via init.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR updates the OpenSpec CLI update specification for OpenCode command files, covering managed files under ChangesCLI Update Specification Refinement
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
alfred-openspec
left a comment
There was a problem hiding this comment.
This now matches the OpenCode adapter’s plural commands path, opsx filenames, hyphen references, and the existing legacy-cleanup behavior. Approved with the full CI matrix green.
Summary
cli-updatescenario to use.opencode/commands/andopsx-*.mdfilenames, matching the adapter and OpenCode command directory:command/vscommands/#748 fix..opencode/command/files are cleaned up viaopenspec init/legacy cleanup, not refreshed byopenspec update.Test plan
src/core/command-generation/adapters/opencode.tsand legacy cleanup tests.Made with Cursor
Summary by CodeRabbit
openspec updatecommand specification to clarify how OpenSpec-managed command files are refreshed, how command references are formatted for compatibility, and which frontmatter placeholder must be present for change ID arguments.openspec init/cleanup is required and ensuringopenspec updatedoes not refresh files that remain only in the legacy location.