Skip to content

fix: add Trae command adapter for slash commands support - #1193

Closed
studyzy wants to merge 596 commits into
Fission-AI:mainfrom
studyzy:fix/trae_commands
Closed

studyzy wants to merge 596 commits into
Fission-AI:mainfrom
studyzy:fix/trae_commands

Conversation

@studyzy

@studyzy studyzy commented Jun 10, 2026 •

Copy link
Copy Markdown

Summary

Fixes a bug where openspec init --tools trae did not generate any commands because the Trae adapter was never registered in CommandAdapterRegistry.init().

Changes

  • src/core/command-generation/adapters/trae.ts (new): Trae command adapter. Writes to .trae/commands/opsx/<id>.md with bare command ID as the name field (per Trae convention).
  • src/core/command-generation/adapters/index.ts: Export traeAdapter.
  • src/core/command-generation/registry.ts: Register traeAdapter in CommandAdapterRegistry.init().

Root Cause

The adapter file and export were missing entirely — CommandAdapterRegistry.init() had no entry for Trae, so the tool was silently skipped during init.

Testing

All existing tests pass (npm test). The test/core/command-generation/adapters.test.ts suite (92 tests) covers adapter formatting and confirms the fix works correctly.

Summary by CodeRabbit

  • New Features

    • Added Trae command generation: commands are now output in .trae/commands/opsx/.md using Trae-style YAML frontmatter (name, description) plus command body; YAML values are safely escaped.
  • Documentation

    • Updated supported tools list to include the Trae adapter and its command path.
  • Tests

    • Added tests covering Trae formatting, paths, registry presence, and YAML escaping.

TabishB and others added 30 commits October 25, 2025 23:55
…-AI#238)

* fix: recreate missing openspec template files in extend mode

The init command now checks for and recreates missing template files
(like openspec/AGENTS.md and openspec/project.md) when running in
extend mode, instead of skipping file generation entirely.

Previously, if a user deleted openspec/AGENTS.md and ran init again,
the file would not be recreated because the openspec/ directory
existed, triggering extend mode which skipped all file generation.

Changes:
- Added ensureTemplateFiles() method to check and recreate missing files
- Modified extend mode to call ensureTemplateFiles() instead of skipping
- Updated message to "Checking for missing files..." for clarity
- Added tests for recreating deleted openspec/AGENTS.md and project.md

* refactor: consolidate duplicate logic in template file generation

Extracted shared logic from generateFiles() and ensureTemplateFiles()
into a new writeTemplateFiles() method with a skipExisting parameter.
This eliminates code duplication while maintaining the same behavior.

* test: improve extend mode test coverage and reduce duplication

- Extracted testFileRecreationInExtendMode helper to reduce code duplication
- Added test to verify existing files are preserved in extend mode
- Ensures skipExisting behavior is properly tested
* docs: add optional project context setup instructions

Add documentation for the optional step of populating project.md with
project details, tech stack, and conventions after running openspec init.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: improve project context section formatting and clarity

- Change heading to "Optional: Populate Project Context" for consistency
- Fix double space typo in "After  openspec init"
- Explicitly reference openspec/project.md file
- Enhance explanation of project.md purpose

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
* feat(ai-tools): add Costrict integration support

Add support for Costrict AI tool with slash commands and configuration template. Includes configurator, registry entries, templates, and comprehensive test coverage.

* feat(config): update branding from 'Costrict' to 'CoStrict'
…on-AI#261)

Co-authored-by: pengjiahan.pjh <pengjiahan.pjh@antgroup.com>
This change adds the $ARGUMENTS property to the OpenCode apply slash command template, allowing users to pass arguments when invoking the apply command. The template now includes instructions for the agent to find and implement the change proposal, with guidance to ask for clarification when ambiguous.
…I#250)

* feat: add Qwen Code support with slash command integration

- Add QwenSlashCommandConfigurator for .qwen/commands/ structure
- Add QwenConfigurator to main registry
- Update README.md to include Qwen Code in supported tools list
- Register Qwen in both slash command and main tool registries
- Implement proper YAML frontmatter for Qwen command files
- Follow OpenSpec's established patterns for AI tool integration

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* docs: add docstrings and fix review comments for Qwen Code support

- Add comprehensive JSDoc comments to Qwen configurator files
- Add Qwen Code entry to README_CN.md support table
- Fix file ending newline in src/core/configurators/qwen.ts
- Address CodeRabbit review suggestions for improved documentation coverage

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix: add language identifier to markdown code block in supportQwen.md

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix: address CodeRabbit review comments - parameter naming fix

- Fix unused parameter naming convention (_openspecDir)
- Keep only necessary changes for Qwen Code support

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* chore: add personal notes files to .gitignore

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* chore: remove personal notes files from git tracking

- Remove README_CN.md and supportQwen.md from git tracking
- These files are now ignored via .gitignore
- Keep only necessary files for the OpenSpec project

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix: remove duplicate JSDoc comment in QwenConfigurator

- Remove duplicate documentation comment for configure method
- Keep only the updated comment that correctly documents the unused parameter

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* test: cover qwen configurators

* chore: revert gitignore changes

* test: extend qwen init coverage

---------

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Tabish Bidiwale <tabishbidiwale@gmail.com>
* Version Packages

* chore: trigger CI

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tabish Bidiwale <tabishbidiwale@gmail.com>
…AI#256)

* feat: add Gemini CLI support with TOML-based slash commands

- Add GeminiSlashCommandConfigurator for .gemini/commands/openspec/
- Register Gemini CLI in AI_TOOLS config and slash command registry
- Generate TOML files with description and prompt fields
- Add comprehensive test coverage for Gemini CLI integration
- Update README to list Gemini CLI under Native Slash Commands
- Remove Gemini CLI from AGENTS.md compatible list (now native)

Implements GitHub issue Fission-AI#248

* [add]

* feat: address PR feedback - remove changeset and add update test

- Remove .changeset/add-gemini-cli-support.md as requested by maintainer
- Add test for Gemini CLI TOML update/refresh path
- Test verifies that existing TOML files are properly updated when running init again

Addresses feedback from TabishB in PR Fission-AI#256

---------

Co-authored-by: Tabish Bidiwale <30385142+TabishB@users.noreply.github.com>
…-AI#283)

* 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>
… templates) (Fission-AI#288)

* feat(roocode): Added RooCode tool support and related configurations

Added RooCode tool integration, including:

- Added RooCode configurator class
- Registered RooCode to the tool registry
- Implemented RooCode template files
- Added RooCode slash command support
- Updated README documentation
- Added related test cases

* Removed RooCode related configurations from the project. This includes deleting the RooCode configurator, its template, and associated tests.
* Version Packages

* chore: trigger CI

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tabish Bidiwale <tabishbidiwale@gmail.com>
…#306)

* Enhance proposal guidelines in slash-command-templates.ts

- Added instructions to avoid writing code during the proposal stage and focus on creating design documents.
- Emphasized the design phase by including a reminder not to implement code until the apply stage.
- Updated validation steps to clarify the importance of confirming project conventions before proceeding with tasks.

* Update proposal guidelines in slash-command-templates.ts to clarify that no implementation code should be written during the design phase.

* Refine proposal and apply steps in slash-command-templates.ts

- Removed redundant instruction in proposal steps to streamline the process.
- Clarified the initial reading order for apply steps by omitting the project conventions document, focusing on the proposal and design documents instead.
* clarify scaffold proposal

* Update scaffold command proposal to support idempotent execution
* support iflow-cli

* docs: add iFlow to supported AI tools in README ([Fission-AI#268](Fission-AI#268))

Add iFlow to the Native Slash Commands table in the README. iFlow support was implemented but was missing from the documentation.

* add UTs for iflow-cli
Add prominent restart instruction in success message to inform users
they need to restart their IDE/coding tool for slash commands to appear.
Applies to all tools when slash commands are created or refreshed.

Also updates cli-init spec to document the restart instruction requirement.
* Add changeset for new features and improvements

* Update .changeset/new-features-and-improvements.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Version Packages

* chore: trigger CI

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tabish Bidiwale <tabishbidiwale@gmail.com>
…ion-AI#335)

Remove the `agent: build` field from OpenCode slash command templates
to allow OpenCode to use the current/custom agent instead of requiring
the build agent to be available.

Fixes Fission-AI#334
…-AI#343)

- Sort supported AI tools alphabetically (A-Z)
- Wrap both "Native Slash Commands" and "AGENTS.md Compatible" sections
  in collapsible <details> tags to reduce visual clutter
* shell completions for zsh

* after code review changes

* expose only postinstall.js script

* Replace _openspec "$@" with compdef in zsh-generator.ts to prevent execution during load

* Update test/commands/completion.test.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* - Fix dispatcher to use $words instead of $line for subcommand routing
  - Add __complete endpoint with tab-separated output for safe parsing
  - Replace brittle awk parsing with __complete in completion helpers
  - Add uninstall confirmation prompt with --yes flag to skip
  - Prefer $ZSH env var for Oh My Zsh detection before dir check
  - Add fpath verification guidance for OMZ installations
  - Update cli-completion spec to document generate subcommand

* improve shell detection and installation handling

  - Return structured result from detectShell() with shell and detected name
  - Detect already-installed completions and skip reinstall
  - Add update detection with automatic backup of previous version
  - Add debug logging to silent catch blocks for diagnostics
  - Quote fpath directories to handle paths with spaces
  - Verify Oh My Zsh fpath configuration and add to .zshrc if needed
  - Show helpful error for detected but unsupported shells
  - Update all tests for new detection API

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Tabish Bidiwale <30385142+TabishB@users.noreply.github.com>
)

Update the cli-completion spec to match the actual implementation:

- Change `completion zsh` to `completion generate [shell]` command structure
- Update uninstall behavior to reflect confirmation prompt cancels entire operation
- Change "not installed" uninstall exit code from 0 to 1
- Update shell detection error message to match implementation
- Replace Purpose placeholder with actual description
…er tests (Fission-AI#373)

- Fix canWriteFile to use fs.access with W_OK flag instead of Unix-style
  permission bits (stats.mode & 0o222) which don't work on Windows
- Update test paths to use platform-specific invalid paths that fail on
  both Unix and Windows
- Use regex for path separator matching in test assertions
…als (Fission-AI#376)

Create two OpenSpec change proposals:
1. add-global-config-dir: Foundation for user-level configuration following XDG Base Directory Specification with cross-platform support
2. add-config-command: User-facing CLI command for viewing and managing global settings

Both proposals are minimal and focused on providing a clean, extensible base for OpenSpec settings and future feature flags.
…on-AI#377)

* feat(core): implement global config directory with XDG support

Add new global-config module following XDG Base Directory Specification with platform-specific fallbacks (Unix: ~/.config/openspec, Windows: %APPDATA%/openspec). Includes config loading with defaults, config saving with directory creation, and full test coverage. Archive add-global-config-dir change.

* docs(spec): add Purpose section to global-config spec

Replace placeholder text with a concise description of what the spec governs, its scope, and high-level objectives.
…-AI#378)

Prioritize XDG_CONFIG_HOME on Windows to fix test environment overrides.
Previously, Windows would always use APPDATA regardless of XDG_CONFIG_HOME,
causing tests to fail. Now XDG_CONFIG_HOME is checked first on all platforms
before falling back to platform-specific defaults.

Also update the Windows APPDATA test to explicitly clear XDG_CONFIG_HOME
when testing the fallback behavior.
TabishB and others added 20 commits May 6, 2026 04:15
…on-AI#1059)

Changed description from 'Preview/spec-merge without archiving' to 'Merge delta specs into main specs' to match commands.md and workflows.md
* Propose workspace change planning

* Implement workspace setup skills phase

* Implement workspace skill updates

* Handle config profile workspace apply

* Implement workspace change creation phase

* Enrich planning context for workspace changes

* Update workflow skills for planning context

* Add workspace planning verification coverage

* Fix workspace update review issues

* Fix workspace skill drift comparison

* Clean up workspace change planning artifacts

* Archive workspace change planning

* Fix archived workspace planning spec purpose

* Address workspace planning review comments
* fix: handle canonical workspace paths

* docs: document path canonicalization pitfalls

* docs: scope canonicalization notes to tests

* docs: improve test agent guidance

* docs: shorten test agent guidance
* Document initiative-led workspace direction

* Add context stores and initiative change links

* Let workspaces open initiative views

* Add workspace root bundle artifacts

* Support legacy workspace roots in planning resolution

* Remove accidental workspace root bundle artifacts

* Bundle workspace reimplementation docs into roadmap

* Preserve workspace context store bindings

* Address review feedback for context store initiatives

* test: canonicalize context store path assertions

* Refine context store and workspace core boundaries

* Avoid initiative diagnostic regex backtracking
* Polish beta context workspace flow

* Allow context-only initiative workspace open

* Add workspace beta compatibility review item
* Improve context-store setup and cleanup UX

* Address CodeRabbit context-store feedback

* Canonicalize cleanup registry test assertion
…er (Fission-AI#1135)

When a change delta has a requirement whose body is missing SHALL/MUST but
whose header (the text after `### Requirement:`) already contains the
keyword, the validator emitted the generic error "must contain SHALL or
MUST". Authors then re-read the spec, see SHALL right there in the header,
and have no idea what the validator wants.

Per the OpenSpec conventions the keyword has to live on the requirement
body line (the line immediately after the header). When the keyword is
present in the header only, append guidance explaining exactly where to
move it. The fix is scoped to the two `validateChangeDeltaSpecs` call
sites (ADDED + MODIFIED) so behaviour for requirements that lack the
keyword everywhere stays unchanged.

Adds three vitest cases under `test/core/validation.test.ts`:
- ADDED block with header-only SHALL → enriched hint
- MODIFIED block with header-only MUST → enriched hint
- Neither header nor body contain SHALL/MUST → generic message preserved

Verified by reproducing the spec from Fission-AI#356, running
`openspec validate <change>` against the rebuilt CLI, and confirming the
new diagnostic guides the author to the fix. Reverting `validator.ts`
makes the two enriched-hint cases fail, so the tests guard the
regression.

Fixes Fission-AI#356

Co-authored-by: Pluviobyte <Pluviobyte@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Tabish Bidiwale <30385142+TabishB@users.noreply.github.com>
* feat: add mistral vibe support

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* feat: add mistral vibe support

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* chore: archive add-mistral-vibe-support change

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* chore: sync delta specs from add-mistral-vibe-support change

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* chore: fix archive directory date to match metadata

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* fix: correct vibe detection paths and alphabetical ordering

- Remove detectionPaths from Mistral Vibe to prevent double-nested skills dir
- Fix lingma alphabetical position in tool IDs list

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* chore: remove archived mistral vibe change files

Remove archive directory per PR review feedback to keep PR minimal

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* chore: remove mistral vibe spec files per PR feedback

Remove new spec corpus (vibe-tool-config + Mistral Vibe scenario in ai-tool-paths)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* test: add Mistral Vibe detection regression test

Add focused regression test that proves Vibe initializes and detects
skills under .vibe/skills so the path semantics do not drift.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

* test: tolerate workspace update help wrapping

---------

Co-authored-by: Thomas Betous <4435536+tbetous@users.noreply.github.com>
Co-authored-by: Mistral Vibe <vibe@mistral.ai>
Co-authored-by: tbetous <thomas.betous@doctolib.com>
* docs: document cross-platform path assertions

* docs: mention toPosixPath in path assertion guidance

* chore: remove changeset

---------

Co-authored-by: Alfred <alfred@Alfreds-Mac-mini.local>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Fix workspace.yaml collision detection

* Store workspace view state under metadata

* Keep top-level update out of workspace updates

* Remove unused workspace root selector

* Allow repo updates below workspace roots

* Propagate repo state probe errors

* Generalize workspace yaml collision coverage
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Adds a command adapter for Trae so that 'openspec init --tools trae'
generates commands in .trae/commands/opsx/ directory.

Per Trae's convention, the command name uses the bare ID (e.g., 'apply')
instead of the prefixed format used by Claude (e.g., 'OPSX: Apply').

Fixes missing Trae adapter registration in CommandAdapterRegistry.init().
@studyzy
studyzy requested a review from TabishB as a code owner June 10, 2026 02:19
@coderabbitai

coderabbitai Bot commented Jun 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Too many files!

This PR contains 833 files, which is 683 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0c700847-721b-4980-bfd7-d767fc3e8545

📥 Commits

Reviewing files that changed from the base of the PR and between 7b5b114 and 837e600.

⛔ Files ignored due to path filters (7)
  • assets/openspec_bg.png is excluded by !**/*.png
  • assets/openspec_dashboard.png is excluded by !**/*.png
  • assets/openspec_pixel_dark.svg is excluded by !**/*.svg
  • assets/openspec_pixel_light.svg is excluded by !**/*.svg
  • flake.lock is excluded by !**/*.lock
  • package-lock.json is excluded by !**/package-lock.json
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (833)
  • .actrc
  • .changeset/README.md
  • .changeset/config.json
  • .coderabbit.yaml
  • .devcontainer/README.md
  • .devcontainer/devcontainer.json
  • .github/CODEOWNERS
  • .github/workflows/README.md
  • .github/workflows/ci.yml
  • .github/workflows/release-prepare.yml
  • .gitignore
  • AGENTS.md
  • CHANGELOG.md
  • LICENSE
  • MAINTAINERS.md
  • README.md
  • README_OLD.md
  • bin/openspec.js
  • build.js
  • docs/cli.md
  • docs/commands.md
  • docs/concepts.md
  • docs/customization.md
  • docs/getting-started.md
  • docs/installation.md
  • docs/migration-guide.md
  • docs/multi-language.md
  • docs/opsx.md
  • docs/supported-tools.md
  • docs/workflows.md
  • docs/workspaces-beta/agent-cli-playbook.md
  • docs/workspaces-beta/user-guide.md
  • eslint.config.js
  • flake.nix
  • openspec-parallel-merge-plan.md
  • openspec/changes/IMPLEMENTATION_ORDER.md
  • openspec/changes/add-artifact-regeneration-support/proposal.md
  • openspec/changes/add-change-stacking-awareness/.openspec.yaml
  • openspec/changes/add-change-stacking-awareness/proposal.md
  • openspec/changes/add-change-stacking-awareness/specs/change-creation/spec.md
  • openspec/changes/add-change-stacking-awareness/specs/change-stacking-workflow/spec.md
  • openspec/changes/add-change-stacking-awareness/specs/cli-change/spec.md
  • openspec/changes/add-change-stacking-awareness/specs/openspec-conventions/spec.md
  • openspec/changes/add-change-stacking-awareness/tasks.md
  • openspec/changes/add-global-install-scope/.openspec.yaml
  • openspec/changes/add-global-install-scope/design.md
  • openspec/changes/add-global-install-scope/proposal.md
  • openspec/changes/add-global-install-scope/specs/ai-tool-paths/spec.md
  • openspec/changes/add-global-install-scope/specs/cli-config/spec.md
  • openspec/changes/add-global-install-scope/specs/cli-init/spec.md
  • openspec/changes/add-global-install-scope/specs/cli-update/spec.md
  • openspec/changes/add-global-install-scope/specs/command-generation/spec.md
  • openspec/changes/add-global-install-scope/specs/global-config/spec.md
  • openspec/changes/add-global-install-scope/specs/installation-scope/spec.md
  • openspec/changes/add-global-install-scope/tasks.md
  • openspec/changes/add-qa-smoke-harness/.openspec.yaml
  • openspec/changes/add-qa-smoke-harness/proposal.md
  • openspec/changes/add-qa-smoke-harness/specs/developer-qa-workflow/spec.md
  • openspec/changes/add-tool-command-surface-capabilities/.openspec.yaml
  • openspec/changes/add-tool-command-surface-capabilities/proposal.md
  • openspec/changes/add-tool-command-surface-capabilities/specs/cli-init/spec.md
  • openspec/changes/add-tool-command-surface-capabilities/specs/cli-update/spec.md
  • openspec/changes/add-tool-command-surface-capabilities/tasks.md
  • openspec/changes/archive/2025-01-11-add-update-command/design.md
  • openspec/changes/archive/2025-01-11-add-update-command/proposal.md
  • openspec/changes/archive/2025-01-11-add-update-command/specs/cli-update/spec.md
  • openspec/changes/archive/2025-01-11-add-update-command/tasks.md
  • openspec/changes/archive/2025-01-13-add-list-command/proposal.md
  • openspec/changes/archive/2025-01-13-add-list-command/specs/cli-list/spec.md
  • openspec/changes/archive/2025-01-13-add-list-command/tasks.md
  • openspec/changes/archive/2025-08-06-add-init-command/design.md
  • openspec/changes/archive/2025-08-06-add-init-command/proposal.md
  • openspec/changes/archive/2025-08-06-add-init-command/specs/cli-init/spec.md
  • openspec/changes/archive/2025-08-06-add-init-command/tasks.md
  • openspec/changes/archive/2025-08-06-adopt-future-state-storage/proposal.md
  • openspec/changes/archive/2025-08-06-adopt-future-state-storage/specs/openspec-conventions/spec.md
  • openspec/changes/archive/2025-08-06-adopt-future-state-storage/tasks.md
  • openspec/changes/archive/2025-08-11-add-complexity-guidelines/proposal.md
  • openspec/changes/archive/2025-08-11-add-complexity-guidelines/specs/openspec-docs/README.md
  • openspec/changes/archive/2025-08-11-add-complexity-guidelines/tasks.md
  • openspec/changes/archive/2025-08-13-add-archive-command/proposal.md
  • openspec/changes/archive/2025-08-13-add-archive-command/specs/cli-archive/spec.md
  • openspec/changes/archive/2025-08-13-add-archive-command/tasks.md
  • openspec/changes/archive/2025-08-13-add-diff-command/proposal.md
  • openspec/changes/archive/2025-08-13-add-diff-command/specs/cli-diff/spec.md
  • openspec/changes/archive/2025-08-13-add-diff-command/tasks.md
  • openspec/changes/archive/2025-08-19-add-change-commands/design.md
  • openspec/changes/archive/2025-08-19-add-change-commands/proposal.md
  • openspec/changes/archive/2025-08-19-add-change-commands/specs/cli-change/spec.md
  • openspec/changes/archive/2025-08-19-add-change-commands/specs/cli-list/spec.md
  • openspec/changes/archive/2025-08-19-add-change-commands/tasks.md
  • openspec/changes/archive/2025-08-19-add-interactive-show-command/proposal.md
  • openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-change/spec.md
  • openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-show/spec.md
  • openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-spec/spec.md
  • openspec/changes/archive/2025-08-19-add-interactive-show-command/tasks.md
  • openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/proposal.md
  • openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/specs/cli-archive/spec.md
  • openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/tasks.md
  • openspec/changes/archive/2025-08-19-add-spec-commands/design.md
  • openspec/changes/archive/2025-08-19-add-spec-commands/proposal.md
  • openspec/changes/archive/2025-08-19-add-spec-commands/specs/cli-spec/spec.md
  • openspec/changes/archive/2025-08-19-add-spec-commands/tasks.md
  • openspec/changes/archive/2025-08-19-add-zod-validation/design.md
  • openspec/changes/archive/2025-08-19-add-zod-validation/proposal.md
  • openspec/changes/archive/2025-08-19-add-zod-validation/specs/cli-archive/spec.md
  • openspec/changes/archive/2025-08-19-add-zod-validation/specs/cli-diff/spec.md
  • openspec/changes/archive/2025-08-19-add-zod-validation/tasks.md
  • openspec/changes/archive/2025-08-19-adopt-delta-based-changes/proposal.md
  • openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/cli-archive/spec.md
  • openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/cli-diff/spec.md
  • openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/openspec-conventions/spec.md
  • openspec/changes/archive/2025-08-19-adopt-delta-based-changes/tasks.md
  • openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/design.md
  • openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/proposal.md
  • openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/specs/cli-list/spec.md
  • openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/specs/openspec-conventions/spec.md
  • openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/tasks.md
  • openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/proposal.md
  • openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-change/spec.md
  • openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-spec/spec.md
  • openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-validate/spec.md
  • openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/tasks.md
  • openspec/changes/archive/2025-08-19-fix-update-tool-selection/proposal.md
  • openspec/changes/archive/2025-08-19-fix-update-tool-selection/specs/cli-update/spec.md
  • openspec/changes/archive/2025-08-19-fix-update-tool-selection/tasks.md
  • openspec/changes/archive/2025-08-19-improve-validate-error-messages/proposal.md
  • openspec/changes/archive/2025-08-19-improve-validate-error-messages/specs/cli-validate/spec.md
  • openspec/changes/archive/2025-08-19-improve-validate-error-messages/tasks.md
  • openspec/changes/archive/2025-08-19-structured-spec-format/proposal.md
  • openspec/changes/archive/2025-08-19-structured-spec-format/specs/openspec-conventions/spec.md
  • openspec/changes/archive/2025-08-19-structured-spec-format/tasks.md
  • openspec/changes/archive/2025-09-12-add-view-dashboard-command/proposal.md
  • openspec/changes/archive/2025-09-12-add-view-dashboard-command/specs/cli-view/spec.md
  • openspec/changes/archive/2025-09-12-add-view-dashboard-command/tasks.md
  • openspec/changes/archive/2025-09-29-add-agents-md-config/proposal.md
  • openspec/changes/archive/2025-09-29-add-agents-md-config/specs/cli-init/spec.md
  • openspec/changes/archive/2025-09-29-add-agents-md-config/specs/cli-update/spec.md
  • openspec/changes/archive/2025-09-29-add-agents-md-config/tasks.md
  • openspec/changes/archive/2025-09-29-add-multi-agent-init/proposal.md
  • openspec/changes/archive/2025-09-29-add-multi-agent-init/specs/cli-init/spec.md
  • openspec/changes/archive/2025-09-29-add-multi-agent-init/tasks.md
  • openspec/changes/archive/2025-09-29-add-slash-command-support/proposal.md
  • openspec/changes/archive/2025-09-29-add-slash-command-support/specs/cli-init/spec.md
  • openspec/changes/archive/2025-09-29-add-slash-command-support/specs/cli-update/spec.md
  • openspec/changes/archive/2025-09-29-add-slash-command-support/tasks.md
  • openspec/changes/archive/2025-09-29-improve-cli-e2e-plan/proposal.md
  • openspec/changes/archive/2025-09-29-improve-cli-e2e-plan/tasks.md
  • openspec/changes/archive/2025-09-29-improve-deterministic-tests/proposal.md
  • openspec/changes/archive/2025-09-29-improve-deterministic-tests/tasks.md
  • openspec/changes/archive/2025-09-29-improve-init-onboarding/proposal.md
  • openspec/changes/archive/2025-09-29-improve-init-onboarding/specs/cli-init/spec.md
  • openspec/changes/archive/2025-09-29-improve-init-onboarding/tasks.md
  • openspec/changes/archive/2025-09-29-remove-diff-command/proposal.md
  • openspec/changes/archive/2025-09-29-remove-diff-command/tasks.md
  • openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/proposal.md
  • openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/specs/cli-view/spec.md
  • openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/tasks.md
  • openspec/changes/archive/2025-09-29-update-agent-file-name/proposal.md
  • openspec/changes/archive/2025-09-29-update-agent-file-name/specs/cli-init/spec.md
  • openspec/changes/archive/2025-09-29-update-agent-file-name/specs/cli-update/spec.md
  • openspec/changes/archive/2025-09-29-update-agent-file-name/specs/openspec-conventions/spec.md
  • openspec/changes/archive/2025-09-29-update-agent-file-name/tasks.md
  • openspec/changes/archive/2025-09-29-update-agent-instructions/design.md
  • openspec/changes/archive/2025-09-29-update-agent-instructions/proposal.md
  • openspec/changes/archive/2025-09-29-update-agent-instructions/tasks.md
  • openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/proposal.md
  • openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/specs/cli-validate/spec.md
  • openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/tasks.md
  • openspec/changes/archive/2025-10-14-add-codex-slash-command-support/proposal.md
  • openspec/changes/archive/2025-10-14-add-codex-slash-command-support/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-14-add-codex-slash-command-support/specs/cli-update/spec.md
  • openspec/changes/archive/2025-10-14-add-codex-slash-command-support/tasks.md
  • openspec/changes/archive/2025-10-14-add-github-copilot-prompts/proposal.md
  • openspec/changes/archive/2025-10-14-add-github-copilot-prompts/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-14-add-github-copilot-prompts/specs/cli-update/spec.md
  • openspec/changes/archive/2025-10-14-add-github-copilot-prompts/tasks.md
  • openspec/changes/archive/2025-10-14-add-kilocode-workflows/proposal.md
  • openspec/changes/archive/2025-10-14-add-kilocode-workflows/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-14-add-kilocode-workflows/specs/cli-update/spec.md
  • openspec/changes/archive/2025-10-14-add-kilocode-workflows/tasks.md
  • openspec/changes/archive/2025-10-14-add-non-interactive-init-options/proposal.md
  • openspec/changes/archive/2025-10-14-add-non-interactive-init-options/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-14-add-non-interactive-init-options/tasks.md
  • openspec/changes/archive/2025-10-14-add-windsurf-workflows/proposal.md
  • openspec/changes/archive/2025-10-14-add-windsurf-workflows/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-14-add-windsurf-workflows/specs/cli-update/spec.md
  • openspec/changes/archive/2025-10-14-add-windsurf-workflows/tasks.md
  • openspec/changes/archive/2025-10-14-enhance-validation-error-messages/proposal.md
  • openspec/changes/archive/2025-10-14-enhance-validation-error-messages/specs/cli-validate/spec.md
  • openspec/changes/archive/2025-10-14-enhance-validation-error-messages/tasks.md
  • openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/proposal.md
  • openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/specs/docs-agent-instructions/spec.md
  • openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/tasks.md
  • openspec/changes/archive/2025-10-14-slim-root-agents-file/proposal.md
  • openspec/changes/archive/2025-10-14-slim-root-agents-file/tasks.md
  • openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/proposal.md
  • openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/tasks.md
  • openspec/changes/archive/2025-10-14-update-cli-init-root-agents/proposal.md
  • openspec/changes/archive/2025-10-14-update-cli-init-root-agents/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-14-update-cli-init-root-agents/specs/cli-update/spec.md
  • openspec/changes/archive/2025-10-14-update-cli-init-root-agents/tasks.md
  • openspec/changes/archive/2025-10-14-update-release-automation/proposal.md
  • openspec/changes/archive/2025-10-14-update-release-automation/tasks.md
  • openspec/changes/archive/2025-10-22-add-archive-command-arguments/proposal.md
  • openspec/changes/archive/2025-10-22-add-archive-command-arguments/specs/cli-update/spec.md
  • openspec/changes/archive/2025-10-22-add-archive-command-arguments/tasks.md
  • openspec/changes/archive/2025-10-22-add-cline-support/proposal.md
  • openspec/changes/archive/2025-10-22-add-cline-support/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-22-add-cline-support/tasks.md
  • openspec/changes/archive/2025-10-22-add-crush-support/proposal.md
  • openspec/changes/archive/2025-10-22-add-crush-support/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-22-add-crush-support/tasks.md
  • openspec/changes/archive/2025-10-22-add-factory-slash-commands/proposal.md
  • openspec/changes/archive/2025-10-22-add-factory-slash-commands/specs/cli-init/spec.md
  • openspec/changes/archive/2025-10-22-add-factory-slash-commands/specs/cli-update/spec.md
  • openspec/changes/archive/2025-10-22-add-factory-slash-commands/tasks.md
  • openspec/changes/archive/2025-11-06-add-shell-completions/design.md
  • openspec/changes/archive/2025-11-06-add-shell-completions/proposal.md
  • openspec/changes/archive/2025-11-06-add-shell-completions/specs/cli-completion/spec.md
  • openspec/changes/archive/2025-11-06-add-shell-completions/tasks.md
  • openspec/changes/archive/2025-12-20-add-global-config-dir/design.md
  • openspec/changes/archive/2025-12-20-add-global-config-dir/proposal.md
  • openspec/changes/archive/2025-12-20-add-global-config-dir/specs/global-config/spec.md
  • openspec/changes/archive/2025-12-20-add-global-config-dir/tasks.md
  • openspec/changes/archive/2025-12-21-add-config-command/design.md
  • openspec/changes/archive/2025-12-21-add-config-command/proposal.md
  • openspec/changes/archive/2025-12-21-add-config-command/specs/cli-config/spec.md
  • openspec/changes/archive/2025-12-21-add-config-command/tasks.md
  • openspec/changes/archive/2025-12-23-extend-shell-completions/proposal.md
  • openspec/changes/archive/2025-12-23-extend-shell-completions/specs/cli-completion/spec.md
  • openspec/changes/archive/2025-12-23-extend-shell-completions/tasks.md
  • openspec/changes/archive/2025-12-24-add-artifact-graph-core/design.md
  • openspec/changes/archive/2025-12-24-add-artifact-graph-core/proposal.md
  • openspec/changes/archive/2025-12-24-add-artifact-graph-core/specs/artifact-graph/spec.md
  • openspec/changes/archive/2025-12-24-add-artifact-graph-core/tasks.md
  • openspec/changes/archive/2025-12-25-add-change-manager/design.md
  • openspec/changes/archive/2025-12-25-add-change-manager/proposal.md
  • openspec/changes/archive/2025-12-25-add-change-manager/specs/change-creation/spec.md
  • openspec/changes/archive/2025-12-25-add-change-manager/tasks.md
  • openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/design.md
  • openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/proposal.md
  • openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/specs/cli-artifact-workflow/spec.md
  • openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/tasks.md
  • openspec/changes/archive/2025-12-28-add-instruction-loader/design.md
  • openspec/changes/archive/2025-12-28-add-instruction-loader/proposal.md
  • openspec/changes/archive/2025-12-28-add-instruction-loader/specs/instruction-loader/spec.md
  • openspec/changes/archive/2025-12-28-add-instruction-loader/tasks.md
  • openspec/changes/archive/2025-12-28-restructure-schema-directories/design.md
  • openspec/changes/archive/2025-12-28-restructure-schema-directories/proposal.md
  • openspec/changes/archive/2025-12-28-restructure-schema-directories/specs/artifact-graph/spec.md
  • openspec/changes/archive/2025-12-28-restructure-schema-directories/tasks.md
  • openspec/changes/archive/2025-12-29-unify-change-state-model/design.md
  • openspec/changes/archive/2025-12-29-unify-change-state-model/proposal.md
  • openspec/changes/archive/2025-12-29-unify-change-state-model/specs/cli-artifact-workflow/spec.md
  • openspec/changes/archive/2025-12-29-unify-change-state-model/specs/cli-view/spec.md
  • openspec/changes/archive/2025-12-29-unify-change-state-model/tasks.md
  • openspec/changes/archive/2025-12-30-add-antigravity-support/proposal.md
  • openspec/changes/archive/2025-12-30-add-antigravity-support/specs/cli-init/spec.md
  • openspec/changes/archive/2025-12-30-add-antigravity-support/specs/cli-update/spec.md
  • openspec/changes/archive/2025-12-30-add-antigravity-support/tasks.md
  • openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/proposal.md
  • openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/specs/cli-init/spec.md
  • openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/specs/cli-update/spec.md
  • openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/tasks.md
  • openspec/changes/archive/2026-01-06-add-agent-schema-selection/proposal.md
  • openspec/changes/archive/2026-01-06-add-agent-schema-selection/tasks.md
  • openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/design.md
  • openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/proposal.md
  • openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/specs/cli-artifact-workflow/spec.md
  • openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/tasks.md
  • openspec/changes/archive/2026-01-06-add-specs-apply-command/.openspec.yaml
  • openspec/changes/archive/2026-01-06-add-specs-apply-command/design.md
  • openspec/changes/archive/2026-01-06-add-specs-apply-command/proposal.md
  • openspec/changes/archive/2026-01-06-add-specs-apply-command/specs/specs-sync-skill/spec.md
  • openspec/changes/archive/2026-01-06-add-specs-apply-command/tasks.md
  • openspec/changes/archive/2026-01-06-make-apply-instructions-schema-aware/proposal.md
  • openspec/changes/archive/2026-01-06-make-apply-instructions-schema-aware/specs/cli-artifact-workflow/spec.md
  • openspec/changes/archive/2026-01-06-make-apply-instructions-schema-aware/tasks.md
  • openspec/changes/archive/2026-01-06-opsx-archive-command/.openspec.yaml
  • openspec/changes/archive/2026-01-06-opsx-archive-command/design.md
  • openspec/changes/archive/2026-01-06-opsx-archive-command/proposal.md
  • openspec/changes/archive/2026-01-06-opsx-archive-command/specs/opsx-archive-skill/spec.md
  • openspec/changes/archive/2026-01-06-opsx-archive-command/tasks.md
  • openspec/changes/archive/2026-01-07-add-nix-flake-support/.openspec.yaml
  • openspec/changes/archive/2026-01-07-add-nix-flake-support/design.md
  • openspec/changes/archive/2026-01-07-add-nix-flake-support/proposal.md
  • openspec/changes/archive/2026-01-07-add-nix-flake-support/specs/nix-flake-support/spec.md
  • openspec/changes/archive/2026-01-07-add-nix-flake-support/tasks.md
  • openspec/changes/archive/2026-01-09-add-flake-update-script/.openspec.yaml
  • openspec/changes/archive/2026-01-09-add-flake-update-script/design.md
  • openspec/changes/archive/2026-01-09-add-flake-update-script/proposal.md
  • openspec/changes/archive/2026-01-09-add-flake-update-script/specs/flake-update-script/spec.md
  • openspec/changes/archive/2026-01-09-add-flake-update-script/tasks.md
  • openspec/changes/archive/2026-01-09-add-posthog-analytics/.openspec.yaml
  • openspec/changes/archive/2026-01-09-add-posthog-analytics/design.md
  • openspec/changes/archive/2026-01-09-add-posthog-analytics/proposal.md
  • openspec/changes/archive/2026-01-09-add-posthog-analytics/specs/global-config/spec.md
  • openspec/changes/archive/2026-01-09-add-posthog-analytics/specs/telemetry/spec.md
  • openspec/changes/archive/2026-01-09-add-posthog-analytics/tasks.md
  • openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/proposal.md
  • openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/specs/cli-init/spec.md
  • openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/specs/cli-update/spec.md
  • openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/tasks.md
  • openspec/changes/archive/2026-01-15-add-nix-ci-validation/design.md
  • openspec/changes/archive/2026-01-15-add-nix-ci-validation/proposal.md
  • openspec/changes/archive/2026-01-15-add-nix-ci-validation/specs/ci-nix-validation/spec.md
  • openspec/changes/archive/2026-01-15-add-nix-ci-validation/tasks.md
  • openspec/changes/archive/2026-01-30-opencode-command-references/.openspec.yaml
  • openspec/changes/archive/2026-01-30-opencode-command-references/README.md
  • openspec/changes/archive/2026-01-30-opencode-command-references/design.md
  • openspec/changes/archive/2026-01-30-opencode-command-references/proposal.md
  • openspec/changes/archive/2026-01-30-opencode-command-references/specs/no-changes.md
  • openspec/changes/archive/2026-01-30-opencode-command-references/tasks.md
  • openspec/changes/archive/2026-02-17-add-feedback-command/proposal.md
  • openspec/changes/archive/2026-02-17-add-feedback-command/specs/cli-feedback/spec.md
  • openspec/changes/archive/2026-02-17-add-feedback-command/tasks.md
  • openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/.openspec.yaml
  • openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/design.md
  • openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/proposal.md
  • openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/specs/opsx-onboard-skill/spec.md
  • openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/tasks.md
  • openspec/changes/archive/2026-02-17-add-verify-skill/design.md
  • openspec/changes/archive/2026-02-17-add-verify-skill/proposal.md
  • openspec/changes/archive/2026-02-17-add-verify-skill/specs/opsx-verify-skill/spec.md
  • openspec/changes/archive/2026-02-17-add-verify-skill/tasks.md
  • openspec/changes/archive/2026-02-17-merge-init-experimental/.openspec.yaml
  • openspec/changes/archive/2026-02-17-merge-init-experimental/design.md
  • openspec/changes/archive/2026-02-17-merge-init-experimental/proposal.md
  • openspec/changes/archive/2026-02-17-merge-init-experimental/specs/cli-init/spec.md
  • openspec/changes/archive/2026-02-17-merge-init-experimental/specs/legacy-cleanup/spec.md
  • openspec/changes/archive/2026-02-17-merge-init-experimental/tasks.md
  • openspec/changes/archive/2026-02-17-multi-provider-skill-generation/.openspec.yaml
  • openspec/changes/archive/2026-02-17-multi-provider-skill-generation/design.md
  • openspec/changes/archive/2026-02-17-multi-provider-skill-generation/proposal.md
  • openspec/changes/archive/2026-02-17-multi-provider-skill-generation/specs/ai-tool-paths/spec.md
  • openspec/changes/archive/2026-02-17-multi-provider-skill-generation/specs/cli-artifact-workflow/spec.md
  • openspec/changes/archive/2026-02-17-multi-provider-skill-generation/specs/command-generation/spec.md
  • openspec/changes/archive/2026-02-17-multi-provider-skill-generation/tasks.md
  • openspec/changes/archive/2026-02-17-project-config/.openspec.yaml
  • openspec/changes/archive/2026-02-17-project-config/design.md
  • openspec/changes/archive/2026-02-17-project-config/proposal.md
  • openspec/changes/archive/2026-02-17-project-config/specs/config-loading/spec.md
  • openspec/changes/archive/2026-02-17-project-config/specs/context-injection/spec.md
  • openspec/changes/archive/2026-02-17-project-config/specs/rules-injection/spec.md
  • openspec/changes/archive/2026-02-17-project-config/specs/schema-resolution/spec.md
  • openspec/changes/archive/2026-02-17-project-config/tasks.md
  • openspec/changes/archive/2026-02-17-project-local-schemas/.openspec.yaml
  • openspec/changes/archive/2026-02-17-project-local-schemas/design.md
  • openspec/changes/archive/2026-02-17-project-local-schemas/proposal.md
  • openspec/changes/archive/2026-02-17-project-local-schemas/specs/schema-resolution/spec.md
  • openspec/changes/archive/2026-02-17-project-local-schemas/tasks.md
  • openspec/changes/archive/2026-02-17-schema-management-cli/.openspec.yaml
  • openspec/changes/archive/2026-02-17-schema-management-cli/design.md
  • openspec/changes/archive/2026-02-17-schema-management-cli/proposal.md
  • openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-fork-command/spec.md
  • openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-init-command/spec.md
  • openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-validate-command/spec.md
  • openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-which-command/spec.md
  • openspec/changes/archive/2026-02-17-schema-management-cli/tasks.md
  • openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/.openspec.yaml
  • openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/README.md
  • openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/design.md
  • openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/proposal.md
  • openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/specs/ai-tool-paths/spec.md
  • openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/specs/cli-init/spec.md
  • openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/tasks.md
  • openspec/changes/archive/2026-05-04-workspace-foundation/design.md
  • openspec/changes/archive/2026-05-04-workspace-foundation/proposal.md
  • openspec/changes/archive/2026-05-04-workspace-foundation/specs/openspec-conventions/spec.md
  • openspec/changes/archive/2026-05-04-workspace-foundation/specs/workspace-foundation/spec.md
  • openspec/changes/archive/2026-05-04-workspace-foundation/tasks.md
  • openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/design.md
  • openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/proposal.md
  • openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/specs/cli-artifact-workflow/spec.md
  • openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/specs/workspace-foundation/spec.md
  • openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/specs/workspace-links/spec.md
  • openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/tasks.md
  • openspec/changes/archive/2026-05-06-workspace-open-agent-context/design.md
  • openspec/changes/archive/2026-05-06-workspace-open-agent-context/proposal.md
  • openspec/changes/archive/2026-05-06-workspace-open-agent-context/specs/workspace-foundation/spec.md
  • openspec/changes/archive/2026-05-06-workspace-open-agent-context/specs/workspace-open/spec.md
  • openspec/changes/archive/2026-05-06-workspace-open-agent-context/tasks.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/design.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/proposal.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/artifact-graph/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/change-creation/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/cli-artifact-workflow/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/cli-config/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/cli-update/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/openspec-conventions/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/schema-resolution/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/workspace-change-planning/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/specs/workspace-links/spec.md
  • openspec/changes/archive/2026-05-14-workspace-change-planning/tasks.md
  • openspec/changes/fix-opencode-commands-directory/.openspec.yaml
  • openspec/changes/fix-opencode-commands-directory/design.md
  • openspec/changes/fix-opencode-commands-directory/proposal.md
  • openspec/changes/fix-opencode-commands-directory/specs/command-generation/spec.md
  • openspec/changes/fix-opencode-commands-directory/tasks.md
  • openspec/changes/graceful-status-no-changes/.openspec.yaml
  • openspec/changes/graceful-status-no-changes/design.md
  • openspec/changes/graceful-status-no-changes/proposal.md
  • openspec/changes/graceful-status-no-changes/specs/graceful-status-empty/spec.md
  • openspec/changes/graceful-status-no-changes/tasks.md
  • openspec/changes/schema-alias-support/.openspec.yaml
  • openspec/changes/schema-alias-support/proposal.md
  • openspec/changes/simplify-skill-installation/.openspec.yaml
  • openspec/changes/simplify-skill-installation/design.md
  • openspec/changes/simplify-skill-installation/proposal.md
  • openspec/changes/simplify-skill-installation/specs/cli-init/spec.md
  • openspec/changes/simplify-skill-installation/specs/cli-update/spec.md
  • openspec/changes/simplify-skill-installation/specs/profiles/spec.md
  • openspec/changes/simplify-skill-installation/specs/propose-workflow/spec.md
  • openspec/changes/simplify-skill-installation/tasks.md
  • openspec/changes/unify-template-generation-pipeline/.openspec.yaml
  • openspec/changes/unify-template-generation-pipeline/design.md
  • openspec/changes/unify-template-generation-pipeline/proposal.md
  • openspec/changes/unify-template-generation-pipeline/specs/template-artifact-pipeline/spec.md
  • openspec/changes/unify-template-generation-pipeline/tasks.md
  • openspec/changes/workspace-agent-guidance/.openspec.yaml
  • openspec/changes/workspace-agent-guidance/proposal.md
  • openspec/changes/workspace-apply-repo-slice/proposal.md
  • openspec/changes/workspace-reimplementation-roadmap/HISTORICAL_DIRECTION.md
  • openspec/changes/workspace-reimplementation-roadmap/POC_REFERENCE_GUIDE.md
  • openspec/changes/workspace-reimplementation-roadmap/README.md
  • openspec/changes/workspace-reimplementation-roadmap/START_HERE.md
  • openspec/changes/workspace-reimplementation-roadmap/proposal.md
  • openspec/changes/workspace-verify-and-archive/proposal.md
  • openspec/config.yaml
  • openspec/explorations/explore-workflow-ux.md
  • openspec/explorations/workspace-architecture.md
  • openspec/explorations/workspace-roadmap.md
  • openspec/explorations/workspace-user-journeys.md
  • openspec/explorations/workspace-ux-simplification.md
  • openspec/initiatives/context-store-and-initiatives/.initiative.yaml
  • openspec/initiatives/context-store-and-initiatives/README.md
  • openspec/initiatives/context-store-and-initiatives/decisions.md
  • openspec/initiatives/context-store-and-initiatives/direction.md
  • openspec/initiatives/context-store-and-initiatives/questions.md
  • openspec/initiatives/context-store-and-initiatives/roadmap.md
  • openspec/initiatives/context-store-and-initiatives/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/01-lock-the-direction/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/01-lock-the-direction/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/01-lock-the-direction/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/02-stabilize-workspace-as-local-view/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/02-stabilize-workspace-as-local-view/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/02-stabilize-workspace-as-local-view/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/03-add-context-store-foundation/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/03-add-context-store-foundation/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/03-add-context-store-foundation/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/04-add-collection-foundation/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/04-add-collection-foundation/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/04-add-collection-foundation/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/05-ship-initiative-mvp/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/05-ship-initiative-mvp/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/05-ship-initiative-mvp/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/06-add-minimal-context-store-ux/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/06-add-minimal-context-store-ux/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/06-add-minimal-context-store-ux/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/07-add-agent-first-initiative-discovery/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/07-add-agent-first-initiative-discovery/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/07-add-agent-first-initiative-discovery/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/08-connect-repo-local-changes-to-initiatives/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/08-connect-repo-local-changes-to-initiatives/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/08-connect-repo-local-changes-to-initiatives/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/decision-review.md
  • openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/10-let-workspaces-open-initiatives/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/10-let-workspaces-open-initiatives/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/11-manual-beta-reality-pass/notes.md
  • openspec/initiatives/context-store-and-initiatives/work-items/11-manual-beta-reality-pass/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/11-manual-beta-reality-pass/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/12-context-store-first-run-and-cleanup-ux/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/12-context-store-first-run-and-cleanup-ux/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/12-context-store-first-run-and-cleanup-ux/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/13-agent-handoff-output-and-delivery-polish/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/13-agent-handoff-output-and-delivery-polish/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/13-agent-handoff-output-and-delivery-polish/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/14-workspaces-beta-guide-split/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/14-workspaces-beta-guide-split/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/15-context-store-project-roots-and-schema-led-initiatives/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/15-context-store-project-roots-and-schema-led-initiatives/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/15-context-store-project-roots-and-schema-led-initiatives/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/16-add-escalation-ux/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/16-add-escalation-ux/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/17-harden-team-shared-coordination/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/17-harden-team-shared-coordination/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/18-explore-initiative-hosted-target-bound-change-artifacts/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/18-explore-initiative-hosted-target-bound-change-artifacts/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/18-explore-initiative-hosted-target-bound-change-artifacts/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/19-review-workspace-beta-compatibility-before-public-release/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/19-review-workspace-beta-compatibility-before-public-release/tasks.md
  • openspec/initiatives/context-store-and-initiatives/work-items/proposed-initiative-next-agent-handoff-ux/evidence.md
  • openspec/initiatives/context-store-and-initiatives/work-items/proposed-initiative-next-agent-handoff-ux/plan.md
  • openspec/initiatives/context-store-and-initiatives/work-items/proposed-initiative-next-agent-handoff-ux/tasks.md
  • openspec/project.md
  • openspec/specs/ai-tool-paths/spec.md
  • openspec/specs/artifact-graph/spec.md
  • openspec/specs/change-creation/spec.md
  • openspec/specs/ci-nix-validation/spec.md
  • openspec/specs/cli-archive/spec.md
  • openspec/specs/cli-artifact-workflow/spec.md
  • openspec/specs/cli-change/spec.md
  • openspec/specs/cli-completion/spec.md
  • openspec/specs/cli-config/spec.md
  • openspec/specs/cli-feedback/spec.md
  • openspec/specs/cli-init/spec.md
  • openspec/specs/cli-list/spec.md
  • openspec/specs/cli-show/spec.md
  • openspec/specs/cli-spec/spec.md
  • openspec/specs/cli-update/spec.md
  • openspec/specs/cli-validate/spec.md
  • openspec/specs/cli-view/spec.md
  • openspec/specs/command-generation/spec.md
  • openspec/specs/config-loading/spec.md
  • openspec/specs/context-injection/spec.md
  • openspec/specs/docs-agent-instructions/spec.md
  • openspec/specs/global-config/spec.md
  • openspec/specs/instruction-loader/spec.md
  • openspec/specs/legacy-cleanup/spec.md
  • openspec/specs/openspec-conventions/spec.md
  • openspec/specs/opsx-archive-skill/spec.md
  • openspec/specs/opsx-onboard-skill/spec.md
  • openspec/specs/opsx-verify-skill/spec.md
  • openspec/specs/rules-injection/spec.md
  • openspec/specs/schema-fork-command/spec.md
  • openspec/specs/schema-init-command/spec.md
  • openspec/specs/schema-resolution/spec.md
  • openspec/specs/schema-validate-command/spec.md
  • openspec/specs/schema-which-command/spec.md
  • openspec/specs/specs-sync-skill/spec.md
  • openspec/specs/telemetry/spec.md
  • openspec/specs/workspace-change-planning/spec.md
  • openspec/specs/workspace-foundation/spec.md
  • openspec/specs/workspace-links/spec.md
  • openspec/specs/workspace-open/spec.md
  • package.json
  • schemas/spec-driven/schema.yaml
  • schemas/spec-driven/templates/design.md
  • schemas/spec-driven/templates/proposal.md
  • schemas/spec-driven/templates/spec.md
  • schemas/spec-driven/templates/tasks.md
  • schemas/workspace-planning/schema.yaml
  • schemas/workspace-planning/templates/design.md
  • schemas/workspace-planning/templates/proposal.md
  • schemas/workspace-planning/templates/spec.md
  • schemas/workspace-planning/templates/tasks.md
  • scripts/README.md
  • scripts/pack-version-check.mjs
  • scripts/postinstall.js
  • scripts/test-postinstall.sh
  • scripts/update-flake.sh
  • src/cli/index.ts
  • src/commands/change.ts
  • src/commands/completion.ts
  • src/commands/config.ts
  • src/commands/context-store.ts
  • src/commands/feedback.ts
  • src/commands/initiative.ts
  • src/commands/schema.ts
  • src/commands/show.ts
  • src/commands/spec.ts
  • src/commands/validate.ts
  • src/commands/workflow/index.ts
  • src/commands/workflow/initiative-link.ts
  • src/commands/workflow/instructions.ts
  • src/commands/workflow/new-change.ts
  • src/commands/workflow/schemas.ts
  • src/commands/workflow/set-change.ts
  • src/commands/workflow/shared.ts
  • src/commands/workflow/status.ts
  • src/commands/workflow/templates.ts
  • src/commands/workspace.ts
  • src/commands/workspace/context-status.ts
  • src/commands/workspace/open-target-selection.ts
  • src/commands/workspace/open-view.ts
  • src/commands/workspace/open.ts
  • src/commands/workspace/opener-selection.ts
  • src/commands/workspace/operations.ts
  • src/commands/workspace/prompt-theme.ts
  • src/commands/workspace/registration.ts
  • src/commands/workspace/selection.ts
  • src/commands/workspace/setup-prompts.ts
  • src/commands/workspace/types.ts
  • src/core/archive.ts
  • src/core/artifact-graph/graph.ts
  • src/core/artifact-graph/index.ts
  • src/core/artifact-graph/instruction-loader.ts
  • src/core/artifact-graph/outputs.ts
  • src/core/artifact-graph/resolver.ts
  • src/core/artifact-graph/schema.ts
  • src/core/artifact-graph/state.ts
  • src/core/artifact-graph/types.ts
  • src/core/available-tools.ts
  • src/core/change-metadata/index.ts
  • src/core/change-metadata/schema.ts
  • src/core/change-status-policy.ts
  • src/core/collections/index.ts
  • src/core/collections/initiatives/collection.ts
  • src/core/collections/initiatives/index.ts
  • src/core/collections/initiatives/operations.ts
  • src/core/collections/initiatives/resolution.ts
  • src/core/collections/initiatives/schema.ts
  • src/core/collections/initiatives/templates.ts
  • src/core/collections/runtime.ts
  • src/core/command-generation/adapters/amazon-q.ts
  • src/core/command-generation/adapters/antigravity.ts
  • src/core/command-generation/adapters/auggie.ts
  • src/core/command-generation/adapters/bob.ts
  • src/core/command-generation/adapters/claude.ts
  • src/core/command-generation/adapters/cline.ts
  • src/core/command-generation/adapters/codebuddy.ts
  • src/core/command-generation/adapters/codex.ts
  • src/core/command-generation/adapters/continue.ts
  • src/core/command-generation/adapters/costrict.ts
  • src/core/command-generation/adapters/crush.ts
  • src/core/command-generation/adapters/cursor.ts
  • src/core/command-generation/adapters/factory.ts
  • src/core/command-generation/adapters/gemini.ts
  • src/core/command-generation/adapters/github-copilot.ts
  • src/core/command-generation/adapters/iflow.ts
  • src/core/command-generation/adapters/index.ts
  • src/core/command-generation/adapters/junie.ts
  • src/core/command-generation/adapters/kilocode.ts
  • src/core/command-generation/adapters/kiro.ts
  • src/core/command-generation/adapters/lingma.ts
  • src/core/command-generation/adapters/opencode.ts
  • src/core/command-generation/adapters/pi.ts
  • src/core/command-generation/adapters/qoder.ts
  • src/core/command-generation/adapters/qwen.ts
  • src/core/command-generation/adapters/roocode.ts
  • src/core/command-generation/adapters/trae.ts
  • src/core/command-generation/adapters/windsurf.ts
  • src/core/command-generation/generator.ts
  • src/core/command-generation/index.ts
  • src/core/command-generation/registry.ts
  • src/core/command-generation/types.ts
  • src/core/completions/command-registry.ts
  • src/core/completions/completion-provider.ts
  • src/core/completions/factory.ts
  • src/core/completions/generators/bash-generator.ts
  • src/core/completions/generators/fish-generator.ts
  • src/core/completions/generators/powershell-generator.ts
  • src/core/completions/generators/zsh-generator.ts
  • src/core/completions/installers/bash-installer.ts
  • src/core/completions/installers/fish-installer.ts
  • src/core/completions/installers/powershell-installer.ts
  • src/core/completions/installers/zsh-installer.ts
  • src/core/completions/shared-flags.ts
  • src/core/completions/templates/bash-templates.ts
  • src/core/completions/templates/fish-templates.ts
  • src/core/completions/templates/powershell-templates.ts
  • src/core/completions/templates/zsh-templates.ts
  • src/core/completions/types.ts
  • src/core/config-prompts.ts
  • src/core/config-schema.ts
  • src/core/config.ts
  • src/core/context-store/binding.ts
  • src/core/context-store/errors.ts
  • src/core/context-store/foundation.ts
  • src/core/context-store/index.ts
  • src/core/context-store/operations.ts
  • src/core/context-store/registry.ts
  • src/core/converters/json-converter.ts
  • src/core/global-config.ts
  • src/core/index.ts
  • src/core/init.ts
  • src/core/legacy-cleanup.ts
  • src/core/list.ts
  • src/core/migration.ts
  • src/core/parsers/change-parser.ts
  • src/core/parsers/markdown-parser.ts
  • src/core/parsers/requirement-blocks.ts
  • src/core/parsers/spec-structure.ts
  • src/core/planning-home.ts
  • src/core/profile-sync-drift.ts
  • src/core/profiles.ts
  • src/core/project-config.ts
  • src/core/schemas/base.schema.ts
  • src/core/schemas/change.schema.ts
  • src/core/schemas/index.ts
  • src/core/schemas/spec.schema.ts
  • src/core/shared/index.ts
  • src/core/shared/skill-generation.ts
  • src/core/shared/tool-detection.ts
  • src/core/specs-apply.ts
  • src/core/styles/palette.ts
  • src/core/templates/index.ts
  • src/core/templates/skill-templates.ts
  • src/core/templates/types.ts
  • src/core/templates/workflows/apply-change.ts
  • src/core/templates/workflows/archive-change.ts
  • src/core/templates/workflows/bulk-archive-change.ts
  • src/core/templates/workflows/continue-change.ts
  • src/core/templates/workflows/explore.ts
  • src/core/templates/workflows/feedback.ts
  • src/core/templates/workflows/ff-change.ts
  • src/core/templates/workflows/new-change.ts
  • src/core/templates/workflows/onboard.ts
  • src/core/templates/workflows/propose.ts
  • src/core/templates/workflows/sync-specs.ts
  • src/core/templates/workflows/verify-change.ts
  • src/core/update.ts
  • src/core/validation/constants.ts
  • src/core/validation/types.ts
  • src/core/validation/validator.ts
  • src/core/view.ts
  • src/core/workspace/foundation.ts
  • src/core/workspace/index.ts
  • src/core/workspace/legacy-state.ts
  • src/core/workspace/link-input.ts
  • src/core/workspace/open-surface.ts
  • src/core/workspace/openers.ts
  • src/core/workspace/registry.ts
  • src/core/workspace/skills.ts
  • src/core/workspace/state-io.ts
  • src/prompts/searchable-multi-select.ts
  • src/telemetry/config.ts
  • src/telemetry/index.ts
  • src/ui/ascii-patterns.ts
  • src/ui/welcome-screen.ts
  • src/utils/change-metadata.ts
  • src/utils/change-utils.ts
  • src/utils/command-references.ts
  • src/utils/file-system.ts
  • src/utils/index.ts
  • src/utils/interactive.ts
  • src/utils/item-discovery.ts
  • src/utils/match.ts
  • src/utils/shell-detection.ts
  • src/utils/task-progress.ts
  • test/AGENTS.md
  • test/cli-e2e/basic.test.ts
  • test/commands/artifact-workflow.test.ts
  • test/commands/change-initiative-link.test.ts
  • test/commands/change.interactive-show.test.ts
  • test/commands/change.interactive-validate.test.ts
  • test/commands/completion.test.ts
  • test/commands/config-profile.test.ts
  • test/commands/config.test.ts
  • test/commands/context-store.test.ts
  • test/commands/feedback.test.ts
  • test/commands/initiative.test.ts
  • test/commands/schema.test.ts
  • test/commands/show.test.ts
  • test/commands/spec.interactive-show.test.ts
  • test/commands/spec.interactive-validate.test.ts
  • test/commands/spec.test.ts
  • test/commands/validate.enriched-output.test.ts
  • test/commands/validate.test.ts
  • test/commands/workspace-initiative-open.test.ts
  • test/commands/workspace-open.test.ts
  • test/commands/workspace.interactive.test.ts
  • test/commands/workspace.test.ts
  • test/core/archive.test.ts
  • test/core/artifact-graph/graph.test.ts
  • test/core/artifact-graph/instruction-loader.test.ts
  • test/core/artifact-graph/outputs.test.ts
  • test/core/artifact-graph/resolver.test.ts
  • test/core/artifact-graph/schema.test.ts
  • test/core/artifact-graph/state.test.ts
  • test/core/artifact-graph/workflow.integration.test.ts
  • test/core/available-tools.test.ts
  • test/core/collections/initiatives/operations.test.ts
  • test/core/collections/initiatives/resolution.test.ts
  • test/core/collections/initiatives/schema.test.ts
  • test/core/collections/initiatives/templates.test.ts
  • test/core/collections/runtime.test.ts
  • test/core/command-generation/adapters.test.ts
  • test/core/command-generation/generator.test.ts
  • test/core/command-generation/registry.test.ts
  • test/core/command-generation/types.test.ts
  • test/core/commands/change-command.list.test.ts
  • test/core/commands/change-command.show-validate.test.ts
  • test/core/completions/command-registry.test.ts
  • test/core/completions/completion-provider.test.ts
  • test/core/completions/generators/bash-generator.test.ts
  • test/core/completions/generators/fish-generator.test.ts
  • test/core/completions/generators/powershell-generator.test.ts
  • test/core/completions/generators/zsh-generator.test.ts
  • test/core/completions/installers/bash-installer.test.ts
  • test/core/completions/installers/fish-installer.test.ts
  • test/core/completions/installers/powershell-installer.test.ts
  • test/core/completions/installers/zsh-installer.test.ts
  • test/core/config-schema.test.ts
  • test/core/context-store/foundation.test.ts
  • test/core/context-store/registry.test.ts
  • test/core/converters/json-converter.test.ts
  • test/core/global-config.test.ts
  • test/core/init.test.ts
  • test/core/legacy-cleanup.test.ts
  • test/core/list.test.ts
  • test/core/migration.test.ts
  • test/core/parsers/change-parser.test.ts
  • test/core/parsers/markdown-parser.test.ts
  • test/core/parsers/requirement-blocks.test.ts
  • test/core/planning-home.test.ts
  • test/core/profile-sync-drift.test.ts
  • test/core/profiles.test.ts
  • test/core/project-config.test.ts
  • test/core/shared/skill-generation.test.ts
  • test/core/shared/tool-detection.test.ts
  • test/core/templates/skill-templates-parity.test.ts
  • test/core/update.test.ts
  • test/core/validation.enriched-messages.test.ts
  • test/core/validation.test.ts
  • test/core/view.test.ts
  • test/core/workspace/foundation.test.ts
  • test/core/workspace/legacy-state.test.ts
  • test/core/workspace/skills.test.ts
  • test/fixtures/tmp-init/openspec/changes/c1/proposal.md
  • test/fixtures/tmp-init/openspec/changes/c1/specs/alpha/spec.md
  • test/fixtures/tmp-init/openspec/specs/alpha/spec.md
  • test/helpers/path-env.ts
  • test/helpers/run-cli.ts
  • test/prompts/searchable-multi-select.test.ts
  • test/specs/source-specs-normalization.test.ts
  • test/telemetry/config.test.ts
  • test/telemetry/index.test.ts
  • test/utils/change-metadata.test.ts
  • test/utils/change-utils.test.ts
  • test/utils/command-references.test.ts
  • test/utils/file-system.test.ts
  • test/utils/interactive.test.ts
  • test/utils/marker-updates.test.ts
  • test/utils/shell-detection.test.ts
  • tsconfig.json
  • vitest.config.ts
  • vitest.setup.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds a Trae tool command adapter that emits markdown files at .trae/commands/opsx/<id>.md with YAML frontmatter (name, description) and body content, exports it from the adapters index, registers it in the CommandAdapterRegistry, updates docs, and adds tests validating paths and YAML escaping.

Changes

Trae Adapter Integration

Layer / File(s) Summary
Trae adapter core and YAML escaping
src/core/command-generation/adapters/trae.ts
Adds escapeYamlValue() and traeAdapter implementing ToolCommandAdapter: formats YAML frontmatter (name from content.id, description from content.description) and emits markdown at .trae/commands/opsx/<commandId>.md followed by content.body.
Export from adapters index and registry registration
src/core/command-generation/adapters/index.ts, src/core/command-generation/registry.ts
Re-exports traeAdapter from the adapters barrel and imports+registers it in CommandAdapterRegistry static initializer so trae is discoverable via get, getAll, and has.
Docs and tests updates
docs/supported-tools.md, test/core/command-generation/adapters.test.ts, test/core/command-generation/registry.test.ts
Docs list Trae’s generated command path pattern. Tests add traeAdapter import and describe('traeAdapter') assertions for toolId, file paths, YAML frontmatter content/escaping, omission of category/tags, and registry presence; registry tests updated to include trae.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Fission-AI/OpenSpec#556: Adds the adapter/registry framework that this PR extends by registering traeAdapter.
  • Fission-AI/OpenSpec#886: Adds another ToolCommandAdapter and wires it through the same adapters index and registry patterns.

Suggested reviewers

  • TabishB
  • alfred-openspec

Poem

I’m a rabbit with a YAML hat,
Hopping .trae/commands/opsx just like that,
Names and descriptions snug and quoted,
Tests say paths are neatly noted,
Registry greets the adapter — tip my whiskers! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a Trae command adapter to enable slash command support, which directly addresses the bug fix outlined in the PR objectives.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/core/command-generation/adapters/trae.ts`:
- Around line 23-31: formatFile in adapters/trae.ts injects content.id and
content.description directly into YAML frontmatter causing invalid YAML when
values contain special characters; update formatFile to use the same
escapeYamlValue utility used by sibling adapters (e.g., claude.ts, cursor.ts) to
sanitize both the name and description before interpolation. Locate the
formatFile method and replace direct interpolation of content.id and
content.description with escaped values (call escapeYamlValue(content.id) and
escapeYamlValue(content.description)), ensuring description remains quoted in
the frontmatter as in other adapters.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 994aa242-f91e-4b26-80ad-06f65cd96244

📥 Commits

Reviewing files that changed from the base of the PR and between 1b06fdd and 8453821.

📒 Files selected for processing (3)
  • src/core/command-generation/adapters/index.ts
  • src/core/command-generation/adapters/trae.ts
  • src/core/command-generation/registry.ts

Comment thread src/core/command-generation/adapters/trae.ts

@alfred-openspec alfred-openspec left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for jumping on Trae support. I think this needs one more pass before merge: add focused adapter/registry/update tests, escape the YAML frontmatter values, and update the supported-tools docs or cite the verified Trae command contract, since trunk currently documents Trae as skills-only.

- Add escapeYamlValue to trae adapter for safe YAML frontmatter output
- Add traeAdapter unit tests covering toolId, getFilePath, formatFile, and YAML escaping
- Add trae registry tests for get/has/getAll
- Update supported-tools.md: Trae command path from 'Not generated' to '.trae/commands/opsx/<id>.md'
@studyzy

studyzy commented Jun 12, 2026

Copy link
Copy Markdown
Author

Thanks for the review. All requested changes have been addressed and verified locally:

  1. YAML escaping: Added escapeYamlValue utility to the Trae adapter (consistent with claude.ts, cursor.ts, etc.) — both name and description fields are now properly escaped.

  2. Tests: Added focused adapter and registry tests covering toolId, getFilePath, formatFile, YAML special character escaping, newline escaping, and simple value pass-through.

  3. Supported-tools docs: Updated docs/supported-tools.md — Trae command path pattern changed from "Not generated" to .trae/commands/opsx/<id>.md.

Lint, build, and all command-generation tests pass.

@alfred-openspec alfred-openspec left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approved latest head 7b5b114. The requested Trae follow-ups are in: YAML escaping for name/description, focused adapter and registry tests, and supported-tools docs. I reran the focused command-generation tests and typecheck in a temp worktree, and they passed. The Trae + weak-model explore-mode behavior in #1203 is a separate prompt/model compliance issue, not a blocker for this adapter.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.