mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
537e6078b7
* fix(cline): use workflows instead of rules for slash commands - Update ClineSlashCommandConfigurator to use .clinerules/workflows/ paths - Update tests to expect correct workflow file locations - Update README.md to reflect workflows instead of rules - Fixes Cline integration to match Cline's architecture per their blog post * Adds spec for fix-cline-workflows-implementation --------- Co-authored-by: didier <didier.boff@axess.fr> Co-authored-by: Tabish Bidiwale <30385142+TabishB@users.noreply.github.com>
14 lines
1003 B
Markdown
14 lines
1003 B
Markdown
## Why
|
|
The Cline implementation was architecturally incorrect. According to Cline's official documentation, Cline uses workflows for on-demand automation and rules for behavioral guidelines. The OpenSpec slash commands are procedural workflows (scaffold → implement → archive), not behavioral rules, so they should be placed in `.clinerules/workflows/` instead of `.clinerules/`.
|
|
|
|
## What Changes
|
|
- Update ClineSlashCommandConfigurator to use `.clinerules/workflows/` paths instead of `.clinerules/` paths
|
|
- Update all tests to expect the correct workflow file locations
|
|
- Update README.md documentation to reflect workflows instead of rules
|
|
- **BREAKING**: Existing Cline users will need to re-run `openspec init` to get the corrected workflow files
|
|
|
|
## Impact
|
|
- Affected specs: cli-init (corrected Cline workflow paths)
|
|
- Affected code: `src/core/configurators/slash/cline.ts`, test files, README.md
|
|
- Modified files: `.clinerules/workflows/openspec-*.md` (moved from `.clinerules/openspec-*.md`)
|