sauron-cli 1.1.3 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/rules/memory.md +156 -0
- package/.agents/skills/wiki/SKILL.md +172 -0
- package/.aider.instructions.md +152 -0
- package/.cursor/rules/sauron-memory.mdc +157 -0
- package/.genesis/prompts/prompt-onboarding-inteligente.md +45 -0
- package/.genesis/prompts/prompt-sauron-vs-openspec-arquitetura.md +106 -0
- package/.github/workflows/ci.yml +27 -0
- package/.sauron/.manifest.json +2 -1
- package/.sauron/wiki/history/implementacao-scanner-inteligente.md +29 -0
- package/.sauron/wiki/history/reestruturacao-arquitetural-core.md +29 -0
- package/.sauron/wiki/history/resiliencia-caminho-templates.md +29 -0
- package/.sauron/wiki/standards/typescript.rules.md +21 -0
- package/.sauron/wiki/summary.json +81 -0
- package/.windsurfrules +160 -0
- package/55ea973d-e255-4f08-a313-a5d68243bd2d.png +0 -0
- package/Evolu/303/247/303/243o Arquitetural do Sauron CLI.md" +97 -0
- package/OpenSpec-main/.actrc +1 -0
- package/OpenSpec-main/.changeset/README.md +97 -0
- package/OpenSpec-main/.changeset/config.json +15 -0
- package/OpenSpec-main/.coderabbit.yaml +11 -0
- package/OpenSpec-main/.devcontainer/README.md +92 -0
- package/OpenSpec-main/.devcontainer/devcontainer.json +68 -0
- package/OpenSpec-main/.github/CODEOWNERS +2 -0
- package/OpenSpec-main/.github/workflows/README.md +20 -0
- package/OpenSpec-main/.github/workflows/ci.yml +346 -0
- package/OpenSpec-main/.github/workflows/release-prepare.yml +60 -0
- package/OpenSpec-main/CHANGELOG.md +594 -0
- package/OpenSpec-main/LICENSE +22 -0
- package/OpenSpec-main/MAINTAINERS.md +17 -0
- package/OpenSpec-main/README.md +206 -0
- package/OpenSpec-main/README_OLD.md +475 -0
- package/OpenSpec-main/assets/openspec_bg.png +0 -0
- package/OpenSpec-main/assets/openspec_dashboard.png +0 -0
- package/OpenSpec-main/assets/openspec_pixel_dark.svg +89 -0
- package/OpenSpec-main/assets/openspec_pixel_light.svg +89 -0
- package/OpenSpec-main/bin/openspec.js +5 -0
- package/OpenSpec-main/build.js +31 -0
- package/OpenSpec-main/eslint.config.js +42 -0
- package/OpenSpec-main/flake.lock +27 -0
- package/OpenSpec-main/flake.nix +114 -0
- package/OpenSpec-main/openspec/changes/IMPLEMENTATION_ORDER.md +68 -0
- package/OpenSpec-main/openspec/changes/add-artifact-regeneration-support/proposal.md +136 -0
- package/OpenSpec-main/openspec/changes/add-change-stacking-awareness/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/add-change-stacking-awareness/proposal.md +93 -0
- package/OpenSpec-main/openspec/changes/add-change-stacking-awareness/specs/change-creation/spec.md +15 -0
- package/OpenSpec-main/openspec/changes/add-change-stacking-awareness/specs/change-stacking-workflow/spec.md +65 -0
- package/OpenSpec-main/openspec/changes/add-change-stacking-awareness/specs/cli-change/spec.md +27 -0
- package/OpenSpec-main/openspec/changes/add-change-stacking-awareness/specs/openspec-conventions/spec.md +29 -0
- package/OpenSpec-main/openspec/changes/add-change-stacking-awareness/tasks.md +39 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/design.md +161 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/proposal.md +101 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/specs/ai-tool-paths/spec.md +35 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/specs/cli-config/spec.md +21 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/specs/cli-init/spec.md +28 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/specs/cli-update/spec.md +34 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/specs/command-generation/spec.md +22 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/specs/global-config/spec.md +24 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/specs/installation-scope/spec.md +71 -0
- package/OpenSpec-main/openspec/changes/add-global-install-scope/tasks.md +61 -0
- package/OpenSpec-main/openspec/changes/add-qa-smoke-harness/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/add-qa-smoke-harness/proposal.md +45 -0
- package/OpenSpec-main/openspec/changes/add-qa-smoke-harness/specs/developer-qa-workflow/spec.md +49 -0
- package/OpenSpec-main/openspec/changes/add-tool-command-surface-capabilities/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/add-tool-command-surface-capabilities/proposal.md +111 -0
- package/OpenSpec-main/openspec/changes/add-tool-command-surface-capabilities/specs/cli-init/spec.md +121 -0
- package/OpenSpec-main/openspec/changes/add-tool-command-surface-capabilities/specs/cli-update/spec.md +48 -0
- package/OpenSpec-main/openspec/changes/add-tool-command-surface-capabilities/tasks.md +53 -0
- package/OpenSpec-main/openspec/changes/archive/2025-01-11-add-update-command/design.md +86 -0
- package/OpenSpec-main/openspec/changes/archive/2025-01-11-add-update-command/proposal.md +29 -0
- package/OpenSpec-main/openspec/changes/archive/2025-01-11-add-update-command/specs/cli-update/spec.md +59 -0
- package/OpenSpec-main/openspec/changes/archive/2025-01-11-add-update-command/tasks.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-01-13-add-list-command/proposal.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-01-13-add-list-command/specs/cli-list/spec.md +69 -0
- package/OpenSpec-main/openspec/changes/archive/2025-01-13-add-list-command/tasks.md +26 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-05-initialize-typescript-project/design.md +64 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-05-initialize-typescript-project/proposal.md +18 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-05-initialize-typescript-project/tasks.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-06-add-init-command/design.md +104 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-06-add-init-command/proposal.md +30 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-06-add-init-command/specs/cli-init/spec.md +148 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-06-add-init-command/tasks.md +38 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-06-adopt-future-state-storage/proposal.md +24 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-06-adopt-future-state-storage/specs/openspec-conventions/spec.md +120 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-06-adopt-future-state-storage/tasks.md +38 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-11-add-complexity-guidelines/proposal.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-11-add-complexity-guidelines/specs/openspec-docs/README.md +472 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-11-add-complexity-guidelines/tasks.md +9 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-13-add-archive-command/proposal.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-13-add-archive-command/specs/cli-archive/spec.md +111 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-13-add-archive-command/tasks.md +44 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-13-add-diff-command/proposal.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-13-add-diff-command/specs/cli-diff/spec.md +77 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-13-add-diff-command/tasks.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-change-commands/design.md +56 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-change-commands/proposal.md +17 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-change-commands/specs/cli-change/spec.md +48 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-change-commands/specs/cli-list/spec.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-change-commands/tasks.md +34 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-interactive-show-command/proposal.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-change/spec.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-show/spec.md +83 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-spec/spec.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-interactive-show-command/tasks.md +142 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/proposal.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/specs/cli-archive/spec.md +191 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/tasks.md +57 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-spec-commands/design.md +45 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-spec-commands/proposal.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-spec-commands/specs/cli-spec/spec.md +43 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-spec-commands/tasks.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-zod-validation/design.md +104 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-zod-validation/proposal.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-zod-validation/specs/cli-archive/spec.md +18 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-zod-validation/specs/cli-diff/spec.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-add-zod-validation/tasks.md +59 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/proposal.md +93 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/cli-archive/spec.md +48 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/cli-diff/spec.md +45 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/openspec-conventions/spec.md +101 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/tasks.md +55 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/design.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/proposal.md +67 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/specs/cli-list/spec.md +57 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/specs/openspec-conventions/spec.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/tasks.md +27 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/proposal.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-change/spec.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-spec/spec.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-validate/spec.md +149 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/tasks.md +81 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-fix-update-tool-selection/proposal.md +40 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-fix-update-tool-selection/specs/cli-update/spec.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-fix-update-tool-selection/tasks.md +21 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-improve-validate-error-messages/proposal.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-improve-validate-error-messages/specs/cli-validate/spec.md +55 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-improve-validate-error-messages/tasks.md +21 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-structured-spec-format/proposal.md +36 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-structured-spec-format/specs/openspec-conventions/spec.md +192 -0
- package/OpenSpec-main/openspec/changes/archive/2025-08-19-structured-spec-format/tasks.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-12-add-view-dashboard-command/proposal.md +38 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-12-add-view-dashboard-command/specs/cli-view/spec.md +109 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-12-add-view-dashboard-command/tasks.md +47 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-agents-md-config/proposal.md +28 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-agents-md-config/specs/cli-init/spec.md +71 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-agents-md-config/specs/cli-update/spec.md +41 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-agents-md-config/tasks.md +17 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-multi-agent-init/proposal.md +35 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-multi-agent-init/specs/cli-init/spec.md +45 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-multi-agent-init/tasks.md +16 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-slash-command-support/proposal.md +119 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-slash-command-support/specs/cli-init/spec.md +21 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-slash-command-support/specs/cli-update/spec.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-add-slash-command-support/tasks.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-improve-cli-e2e-plan/proposal.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-improve-cli-e2e-plan/tasks.md +9 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-improve-deterministic-tests/proposal.md +78 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-improve-deterministic-tests/tasks.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-improve-init-onboarding/proposal.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-improve-init-onboarding/specs/cli-init/spec.md +92 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-improve-init-onboarding/tasks.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-remove-diff-command/proposal.md +81 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-remove-diff-command/tasks.md +37 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/proposal.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/specs/cli-view/spec.md +9 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/tasks.md +8 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-file-name/proposal.md +29 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-file-name/specs/cli-init/spec.md +40 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-file-name/specs/cli-update/spec.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-file-name/specs/openspec-conventions/spec.md +27 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-file-name/tasks.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-instructions/design.md +130 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-instructions/proposal.md +117 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-agent-instructions/tasks.md +69 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/proposal.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/specs/cli-validate/spec.md +9 -0
- package/OpenSpec-main/openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/tasks.md +11 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/proposal.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/specs/cli-init/spec.md +56 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/specs/cli-update/spec.md +41 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/tasks.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/proposal.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/specs/cli-init/spec.md +48 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/specs/cli-update/spec.md +48 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/tasks.md +30 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-kilocode-workflows/proposal.md +17 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-kilocode-workflows/specs/cli-init/spec.md +43 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-kilocode-workflows/specs/cli-update/spec.md +27 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-kilocode-workflows/tasks.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-non-interactive-init-options/proposal.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-non-interactive-init-options/specs/cli-init/spec.md +39 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-non-interactive-init-options/tasks.md +17 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-windsurf-workflows/proposal.md +17 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-windsurf-workflows/specs/cli-init/spec.md +42 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-windsurf-workflows/specs/cli-update/spec.md +27 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-add-windsurf-workflows/tasks.md +17 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-enhance-validation-error-messages/proposal.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-enhance-validation-error-messages/specs/cli-validate/spec.md +39 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-enhance-validation-error-messages/tasks.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/proposal.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/specs/docs-agent-instructions/spec.md +33 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/tasks.md +11 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-slim-root-agents-file/proposal.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-slim-root-agents-file/tasks.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/proposal.md +14 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/specs/cli-init/spec.md +10 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/tasks.md +8 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/proposal.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/specs/cli-init/spec.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/specs/cli-update/spec.md +10 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/tasks.md +11 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-release-automation/proposal.md +49 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-14-update-release-automation/tasks.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-archive-command-arguments/proposal.md +17 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-archive-command-arguments/specs/cli-update/spec.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-archive-command-arguments/tasks.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-cline-support/proposal.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-cline-support/specs/cli-init/spec.md +97 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-cline-support/tasks.md +19 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-crush-support/proposal.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-crush-support/specs/cli-init/spec.md +67 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-crush-support/tasks.md +7 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-factory-slash-commands/proposal.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-factory-slash-commands/specs/cli-init/spec.md +54 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-factory-slash-commands/specs/cli-update/spec.md +54 -0
- package/OpenSpec-main/openspec/changes/archive/2025-10-22-add-factory-slash-commands/tasks.md +11 -0
- package/OpenSpec-main/openspec/changes/archive/2025-11-06-add-shell-completions/design.md +525 -0
- package/OpenSpec-main/openspec/changes/archive/2025-11-06-add-shell-completions/proposal.md +29 -0
- package/OpenSpec-main/openspec/changes/archive/2025-11-06-add-shell-completions/specs/cli-completion/spec.md +300 -0
- package/OpenSpec-main/openspec/changes/archive/2025-11-06-add-shell-completions/tasks.md +81 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-20-add-global-config-dir/design.md +105 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-20-add-global-config-dir/proposal.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-20-add-global-config-dir/specs/global-config/spec.md +76 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-20-add-global-config-dir/tasks.md +26 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-21-add-config-command/design.md +89 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-21-add-config-command/proposal.md +60 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-21-add-config-command/specs/cli-config/spec.md +213 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-21-add-config-command/tasks.md +28 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-23-extend-shell-completions/proposal.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-23-extend-shell-completions/specs/cli-completion/spec.md +328 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-23-extend-shell-completions/tasks.md +49 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-24-add-artifact-graph-core/design.md +197 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-24-add-artifact-graph-core/proposal.md +18 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-24-add-artifact-graph-core/specs/artifact-graph/spec.md +103 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-24-add-artifact-graph-core/tasks.md +61 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-25-add-change-manager/design.md +74 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-25-add-change-manager/proposal.md +45 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-25-add-change-manager/specs/change-creation/spec.md +63 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-25-add-change-manager/tasks.md +30 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/design.md +112 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/proposal.md +33 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/specs/cli-artifact-workflow/spec.md +153 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-artifact-workflow-cli/tasks.md +48 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-instruction-loader/design.md +149 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-instruction-loader/proposal.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-instruction-loader/specs/instruction-loader/spec.md +70 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-add-instruction-loader/tasks.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-restructure-schema-directories/design.md +129 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-restructure-schema-directories/proposal.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-restructure-schema-directories/specs/artifact-graph/spec.md +49 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-28-restructure-schema-directories/tasks.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-29-unify-change-state-model/design.md +151 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-29-unify-change-state-model/proposal.md +101 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-29-unify-change-state-model/specs/cli-artifact-workflow/spec.md +109 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-29-unify-change-state-model/specs/cli-view/spec.md +60 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-29-unify-change-state-model/tasks.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-add-antigravity-support/proposal.md +11 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-add-antigravity-support/specs/cli-init/spec.md +105 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-add-antigravity-support/specs/cli-update/spec.md +92 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-add-antigravity-support/tasks.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/proposal.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/specs/cli-init/spec.md +105 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/specs/cli-update/spec.md +92 -0
- package/OpenSpec-main/openspec/changes/archive/2025-12-30-fix-cline-workflows-implementation/tasks.md +13 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-agent-schema-selection/proposal.md +26 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-agent-schema-selection/tasks.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/design.md +147 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/proposal.md +29 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/specs/cli-artifact-workflow/spec.md +98 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-per-change-schema-metadata/tasks.md +29 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-specs-apply-command/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-specs-apply-command/design.md +77 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-specs-apply-command/proposal.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-specs-apply-command/specs/specs-sync-skill/spec.md +67 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-add-specs-apply-command/tasks.md +40 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-make-apply-instructions-schema-aware/proposal.md +138 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-make-apply-instructions-schema-aware/specs/cli-artifact-workflow/spec.md +60 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-make-apply-instructions-schema-aware/tasks.md +35 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-opsx-archive-command/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-opsx-archive-command/design.md +84 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-opsx-archive-command/proposal.md +28 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-opsx-archive-command/specs/opsx-archive-skill/spec.md +122 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-06-opsx-archive-command/tasks.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-07-add-nix-flake-support/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-07-add-nix-flake-support/design.md +94 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-07-add-nix-flake-support/proposal.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-07-add-nix-flake-support/specs/nix-flake-support/spec.md +79 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-07-add-nix-flake-support/tasks.md +65 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-flake-update-script/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-flake-update-script/design.md +117 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-flake-update-script/proposal.md +23 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-flake-update-script/specs/flake-update-script/spec.md +93 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-flake-update-script/tasks.md +55 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-posthog-analytics/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-posthog-analytics/design.md +175 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-posthog-analytics/proposal.md +37 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-posthog-analytics/specs/global-config/spec.md +21 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-posthog-analytics/specs/telemetry/spec.md +116 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-add-posthog-analytics/tasks.md +47 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/proposal.md +16 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/specs/cli-init/spec.md +75 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/specs/cli-update/spec.md +56 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-09-fix-codebuddy-frontmatter-fields/tasks.md +6 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-15-add-nix-ci-validation/design.md +206 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-15-add-nix-ci-validation/proposal.md +21 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-15-add-nix-ci-validation/specs/ci-nix-validation/spec.md +104 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-15-add-nix-ci-validation/tasks.md +49 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-30-opencode-command-references/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-30-opencode-command-references/README.md +3 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-30-opencode-command-references/design.md +70 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-30-opencode-command-references/proposal.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-30-opencode-command-references/specs/no-changes.md +9 -0
- package/OpenSpec-main/openspec/changes/archive/2026-01-30-opencode-command-references/tasks.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-feedback-command/proposal.md +20 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-feedback-command/specs/cli-feedback/spec.md +188 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-feedback-command/tasks.md +30 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/design.md +115 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/proposal.md +27 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/specs/opsx-onboard-skill/spec.md +162 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-opsx-onboard-skill/tasks.md +21 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-verify-skill/design.md +96 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-verify-skill/proposal.md +48 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-verify-skill/specs/opsx-verify-skill/spec.md +190 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-add-verify-skill/tasks.md +15 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-merge-init-experimental/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-merge-init-experimental/design.md +193 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-merge-init-experimental/proposal.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-merge-init-experimental/specs/cli-init/spec.md +176 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-merge-init-experimental/specs/legacy-cleanup/spec.md +158 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-merge-init-experimental/tasks.md +67 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-multi-provider-skill-generation/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-multi-provider-skill-generation/design.md +144 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-multi-provider-skill-generation/proposal.md +36 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-multi-provider-skill-generation/specs/ai-tool-paths/spec.md +63 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-multi-provider-skill-generation/specs/cli-artifact-workflow/spec.md +60 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-multi-provider-skill-generation/specs/command-generation/spec.md +98 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-multi-provider-skill-generation/tasks.md +55 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/design.md +665 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/proposal.md +774 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/specs/config-loading/spec.md +119 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/specs/context-injection/spec.md +51 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/specs/rules-injection/spec.md +99 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/specs/schema-resolution/spec.md +83 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-config/tasks.md +72 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-local-schemas/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-local-schemas/design.md +117 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-local-schemas/proposal.md +167 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-local-schemas/specs/schema-resolution/spec.md +88 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-project-local-schemas/tasks.md +28 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/design.md +113 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/proposal.md +55 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-fork-command/spec.md +66 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-init-command/spec.md +71 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-validate-command/spec.md +86 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/specs/schema-which-command/spec.md +65 -0
- package/OpenSpec-main/openspec/changes/archive/2026-02-17-schema-management-cli/tasks.md +67 -0
- package/OpenSpec-main/openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/README.md +3 -0
- package/OpenSpec-main/openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/design.md +85 -0
- package/OpenSpec-main/openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/proposal.md +38 -0
- package/OpenSpec-main/openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/specs/ai-tool-paths/spec.md +12 -0
- package/OpenSpec-main/openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/specs/cli-init/spec.md +37 -0
- package/OpenSpec-main/openspec/changes/archive/2026-04-23-add-kimi-cli-skills-only-support/tasks.md +22 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-04-workspace-foundation/design.md +208 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-04-workspace-foundation/proposal.md +142 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-04-workspace-foundation/specs/openspec-conventions/spec.md +29 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-04-workspace-foundation/specs/workspace-foundation/spec.md +199 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-04-workspace-foundation/tasks.md +56 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/design.md +356 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/proposal.md +128 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/specs/cli-artifact-workflow/spec.md +24 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/specs/workspace-foundation/spec.md +35 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/specs/workspace-links/spec.md +356 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-create-and-register-repos/tasks.md +121 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-open-agent-context/design.md +266 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-open-agent-context/proposal.md +65 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-open-agent-context/specs/workspace-foundation/spec.md +76 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-open-agent-context/specs/workspace-open/spec.md +199 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-06-workspace-open-agent-context/tasks.md +89 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/design.md +242 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/proposal.md +78 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/artifact-graph/spec.md +36 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/change-creation/spec.md +42 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/cli-artifact-workflow/spec.md +100 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/cli-config/spec.md +55 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/cli-update/spec.md +21 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/openspec-conventions/spec.md +32 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/schema-resolution/spec.md +25 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/workspace-change-planning/spec.md +67 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/specs/workspace-links/spec.md +163 -0
- package/OpenSpec-main/openspec/changes/archive/2026-05-14-workspace-change-planning/tasks.md +133 -0
- package/OpenSpec-main/openspec/changes/fix-opencode-commands-directory/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/fix-opencode-commands-directory/design.md +48 -0
- package/OpenSpec-main/openspec/changes/fix-opencode-commands-directory/proposal.md +26 -0
- package/OpenSpec-main/openspec/changes/fix-opencode-commands-directory/specs/command-generation/spec.md +63 -0
- package/OpenSpec-main/openspec/changes/fix-opencode-commands-directory/tasks.md +19 -0
- package/OpenSpec-main/openspec/changes/graceful-status-no-changes/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/graceful-status-no-changes/design.md +38 -0
- package/OpenSpec-main/openspec/changes/graceful-status-no-changes/proposal.md +25 -0
- package/OpenSpec-main/openspec/changes/graceful-status-no-changes/specs/graceful-status-empty/spec.md +27 -0
- package/OpenSpec-main/openspec/changes/graceful-status-no-changes/tasks.md +16 -0
- package/OpenSpec-main/openspec/changes/schema-alias-support/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/schema-alias-support/proposal.md +28 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/design.md +288 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/proposal.md +202 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/specs/cli-init/spec.md +199 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/specs/cli-update/spec.md +177 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/specs/profiles/spec.md +142 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/specs/propose-workflow/spec.md +42 -0
- package/OpenSpec-main/openspec/changes/simplify-skill-installation/tasks.md +132 -0
- package/OpenSpec-main/openspec/changes/unify-template-generation-pipeline/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/unify-template-generation-pipeline/design.md +149 -0
- package/OpenSpec-main/openspec/changes/unify-template-generation-pipeline/proposal.md +47 -0
- package/OpenSpec-main/openspec/changes/unify-template-generation-pipeline/specs/template-artifact-pipeline/spec.md +89 -0
- package/OpenSpec-main/openspec/changes/unify-template-generation-pipeline/tasks.md +41 -0
- package/OpenSpec-main/openspec/changes/workspace-agent-guidance/.openspec.yaml +2 -0
- package/OpenSpec-main/openspec/changes/workspace-agent-guidance/proposal.md +100 -0
- package/OpenSpec-main/openspec/changes/workspace-apply-repo-slice/proposal.md +58 -0
- package/OpenSpec-main/openspec/changes/workspace-reimplementation-roadmap/HISTORICAL_DIRECTION.md +511 -0
- package/OpenSpec-main/openspec/changes/workspace-reimplementation-roadmap/POC_REFERENCE_GUIDE.md +266 -0
- package/OpenSpec-main/openspec/changes/workspace-reimplementation-roadmap/README.md +107 -0
- package/OpenSpec-main/openspec/changes/workspace-reimplementation-roadmap/START_HERE.md +105 -0
- package/OpenSpec-main/openspec/changes/workspace-reimplementation-roadmap/proposal.md +62 -0
- package/OpenSpec-main/openspec/changes/workspace-verify-and-archive/proposal.md +57 -0
- package/OpenSpec-main/openspec/config.yaml +36 -0
- package/OpenSpec-main/openspec/explorations/explore-workflow-ux.md +116 -0
- package/OpenSpec-main/openspec/explorations/workspace-architecture.md +857 -0
- package/OpenSpec-main/openspec/explorations/workspace-roadmap.md +367 -0
- package/OpenSpec-main/openspec/explorations/workspace-user-journeys.md +2259 -0
- package/OpenSpec-main/openspec/explorations/workspace-ux-simplification.md +491 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/.initiative.yaml +27 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/README.md +33 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/decisions.md +204 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/direction.md +447 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/questions.md +23 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/roadmap.md +759 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/tasks.md +308 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/01-lock-the-direction/evidence.md +154 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/01-lock-the-direction/plan.md +90 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/01-lock-the-direction/tasks.md +44 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/02-stabilize-workspace-as-local-view/evidence.md +68 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/02-stabilize-workspace-as-local-view/plan.md +80 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/02-stabilize-workspace-as-local-view/tasks.md +23 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/03-add-context-store-foundation/evidence.md +43 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/03-add-context-store-foundation/plan.md +85 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/03-add-context-store-foundation/tasks.md +17 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/04-add-collection-foundation/evidence.md +77 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/04-add-collection-foundation/plan.md +198 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/04-add-collection-foundation/tasks.md +14 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/05-ship-initiative-mvp/evidence.md +99 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/05-ship-initiative-mvp/plan.md +236 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/05-ship-initiative-mvp/tasks.md +21 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/06-add-minimal-context-store-ux/evidence.md +97 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/06-add-minimal-context-store-ux/plan.md +333 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/06-add-minimal-context-store-ux/tasks.md +29 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/07-add-agent-first-initiative-discovery/evidence.md +97 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/07-add-agent-first-initiative-discovery/plan.md +184 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/07-add-agent-first-initiative-discovery/tasks.md +27 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/08-connect-repo-local-changes-to-initiatives/evidence.md +239 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/08-connect-repo-local-changes-to-initiatives/plan.md +279 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/08-connect-repo-local-changes-to-initiatives/tasks.md +22 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/decision-review.md +64 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/evidence.md +106 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/plan.md +141 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/09-add-initiative-resolve/tasks.md +22 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/10-let-workspaces-open-initiatives/plan.md +430 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/10-let-workspaces-open-initiatives/tasks.md +43 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/11-manual-beta-reality-pass/notes.md +289 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/11-manual-beta-reality-pass/plan.md +39 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/11-manual-beta-reality-pass/tasks.md +8 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/12-context-store-first-run-and-cleanup-ux/evidence.md +45 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/12-context-store-first-run-and-cleanup-ux/plan.md +150 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/12-context-store-first-run-and-cleanup-ux/tasks.md +23 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/13-agent-handoff-output-and-delivery-polish/evidence.md +25 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/13-agent-handoff-output-and-delivery-polish/plan.md +98 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/13-agent-handoff-output-and-delivery-polish/tasks.md +25 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/14-workspaces-beta-guide-split/plan.md +37 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/14-workspaces-beta-guide-split/tasks.md +9 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/15-context-store-project-roots-and-schema-led-initiatives/evidence.md +140 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/15-context-store-project-roots-and-schema-led-initiatives/plan.md +344 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/15-context-store-project-roots-and-schema-led-initiatives/tasks.md +39 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/16-add-escalation-ux/plan.md +26 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/16-add-escalation-ux/tasks.md +7 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/17-harden-team-shared-coordination/plan.md +25 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/17-harden-team-shared-coordination/tasks.md +7 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/18-explore-initiative-hosted-target-bound-change-artifacts/evidence.md +397 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/18-explore-initiative-hosted-target-bound-change-artifacts/plan.md +180 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/18-explore-initiative-hosted-target-bound-change-artifacts/tasks.md +28 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/19-review-workspace-beta-compatibility-before-public-release/plan.md +62 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/19-review-workspace-beta-compatibility-before-public-release/tasks.md +16 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/proposed-initiative-next-agent-handoff-ux/evidence.md +47 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/proposed-initiative-next-agent-handoff-ux/plan.md +90 -0
- package/OpenSpec-main/openspec/initiatives/context-store-and-initiatives/work-items/proposed-initiative-next-agent-handoff-ux/tasks.md +18 -0
- package/OpenSpec-main/openspec/specs/ai-tool-paths/spec.md +63 -0
- package/OpenSpec-main/openspec/specs/artifact-graph/spec.md +165 -0
- package/OpenSpec-main/openspec/specs/change-creation/spec.md +108 -0
- package/OpenSpec-main/openspec/specs/ci-nix-validation/spec.md +107 -0
- package/OpenSpec-main/openspec/specs/cli-archive/spec.md +210 -0
- package/OpenSpec-main/openspec/specs/cli-artifact-workflow/spec.md +398 -0
- package/OpenSpec-main/openspec/specs/cli-change/spec.md +92 -0
- package/OpenSpec-main/openspec/specs/cli-completion/spec.md +432 -0
- package/OpenSpec-main/openspec/specs/cli-config/spec.md +318 -0
- package/OpenSpec-main/openspec/specs/cli-feedback/spec.md +193 -0
- package/OpenSpec-main/openspec/specs/cli-init/spec.md +269 -0
- package/OpenSpec-main/openspec/specs/cli-list/spec.md +103 -0
- package/OpenSpec-main/openspec/specs/cli-show/spec.md +86 -0
- package/OpenSpec-main/openspec/specs/cli-spec/spec.md +88 -0
- package/OpenSpec-main/openspec/specs/cli-update/spec.md +229 -0
- package/OpenSpec-main/openspec/specs/cli-validate/spec.md +219 -0
- package/OpenSpec-main/openspec/specs/cli-view/spec.md +129 -0
- package/OpenSpec-main/openspec/specs/command-generation/spec.md +97 -0
- package/OpenSpec-main/openspec/specs/config-loading/spec.md +122 -0
- package/OpenSpec-main/openspec/specs/context-injection/spec.md +53 -0
- package/OpenSpec-main/openspec/specs/docs-agent-instructions/spec.md +62 -0
- package/OpenSpec-main/openspec/specs/global-config/spec.md +101 -0
- package/OpenSpec-main/openspec/specs/instruction-loader/spec.md +70 -0
- package/OpenSpec-main/openspec/specs/legacy-cleanup/spec.md +163 -0
- package/OpenSpec-main/openspec/specs/openspec-conventions/spec.md +556 -0
- package/OpenSpec-main/openspec/specs/opsx-archive-skill/spec.md +128 -0
- package/OpenSpec-main/openspec/specs/opsx-onboard-skill/spec.md +167 -0
- package/OpenSpec-main/openspec/specs/opsx-verify-skill/spec.md +189 -0
- package/OpenSpec-main/openspec/specs/rules-injection/spec.md +102 -0
- package/OpenSpec-main/openspec/specs/schema-fork-command/spec.md +71 -0
- package/OpenSpec-main/openspec/specs/schema-init-command/spec.md +76 -0
- package/OpenSpec-main/openspec/specs/schema-resolution/spec.md +201 -0
- package/OpenSpec-main/openspec/specs/schema-validate-command/spec.md +91 -0
- package/OpenSpec-main/openspec/specs/schema-which-command/spec.md +70 -0
- package/OpenSpec-main/openspec/specs/specs-sync-skill/spec.md +72 -0
- package/OpenSpec-main/openspec/specs/telemetry/spec.md +122 -0
- package/OpenSpec-main/openspec/specs/workspace-change-planning/spec.md +71 -0
- package/OpenSpec-main/openspec/specs/workspace-foundation/spec.md +279 -0
- package/OpenSpec-main/openspec/specs/workspace-links/spec.md +529 -0
- package/OpenSpec-main/openspec/specs/workspace-open/spec.md +205 -0
- package/OpenSpec-main/openspec-parallel-merge-plan.md +98 -0
- package/OpenSpec-main/package-lock.json +4978 -0
- package/OpenSpec-main/package.json +84 -0
- package/OpenSpec-main/pnpm-lock.yaml +3187 -0
- package/OpenSpec-main/schemas/spec-driven/schema.yaml +153 -0
- package/OpenSpec-main/schemas/spec-driven/templates/design.md +19 -0
- package/OpenSpec-main/schemas/spec-driven/templates/proposal.md +23 -0
- package/OpenSpec-main/schemas/spec-driven/templates/spec.md +8 -0
- package/OpenSpec-main/schemas/spec-driven/templates/tasks.md +9 -0
- package/OpenSpec-main/schemas/workspace-planning/schema.yaml +72 -0
- package/OpenSpec-main/schemas/workspace-planning/templates/design.md +33 -0
- package/OpenSpec-main/schemas/workspace-planning/templates/proposal.md +28 -0
- package/OpenSpec-main/schemas/workspace-planning/templates/spec.md +9 -0
- package/OpenSpec-main/schemas/workspace-planning/templates/tasks.md +15 -0
- package/OpenSpec-main/scripts/README.md +37 -0
- package/OpenSpec-main/scripts/pack-version-check.mjs +111 -0
- package/OpenSpec-main/scripts/postinstall.js +83 -0
- package/OpenSpec-main/scripts/test-postinstall.sh +57 -0
- package/OpenSpec-main/scripts/update-flake.sh +128 -0
- package/OpenSpec-main/test/cli-e2e/basic.test.ts +205 -0
- package/OpenSpec-main/test/commands/artifact-workflow.test.ts +1063 -0
- package/OpenSpec-main/test/commands/change-initiative-link.test.ts +532 -0
- package/OpenSpec-main/test/commands/change.interactive-show.test.ts +45 -0
- package/OpenSpec-main/test/commands/change.interactive-validate.test.ts +48 -0
- package/OpenSpec-main/test/commands/completion.test.ts +278 -0
- package/OpenSpec-main/test/commands/config-profile.test.ts +532 -0
- package/OpenSpec-main/test/commands/config.test.ts +285 -0
- package/OpenSpec-main/test/commands/context-store.test.ts +692 -0
- package/OpenSpec-main/test/commands/feedback.test.ts +429 -0
- package/OpenSpec-main/test/commands/initiative.test.ts +907 -0
- package/OpenSpec-main/test/commands/schema.test.ts +467 -0
- package/OpenSpec-main/test/commands/show.test.ts +123 -0
- package/OpenSpec-main/test/commands/spec.interactive-show.test.ts +44 -0
- package/OpenSpec-main/test/commands/spec.interactive-validate.test.ts +44 -0
- package/OpenSpec-main/test/commands/spec.test.ts +324 -0
- package/OpenSpec-main/test/commands/validate.enriched-output.test.ts +49 -0
- package/OpenSpec-main/test/commands/validate.test.ts +147 -0
- package/OpenSpec-main/test/commands/workspace-initiative-open.test.ts +638 -0
- package/OpenSpec-main/test/commands/workspace-open.test.ts +123 -0
- package/OpenSpec-main/test/commands/workspace.interactive.test.ts +696 -0
- package/OpenSpec-main/test/commands/workspace.test.ts +1812 -0
- package/OpenSpec-main/test/core/archive.test.ts +869 -0
- package/OpenSpec-main/test/core/artifact-graph/graph.test.ts +268 -0
- package/OpenSpec-main/test/core/artifact-graph/instruction-loader.test.ts +609 -0
- package/OpenSpec-main/test/core/artifact-graph/outputs.test.ts +175 -0
- package/OpenSpec-main/test/core/artifact-graph/resolver.test.ts +651 -0
- package/OpenSpec-main/test/core/artifact-graph/schema.test.ts +207 -0
- package/OpenSpec-main/test/core/artifact-graph/state.test.ts +174 -0
- package/OpenSpec-main/test/core/artifact-graph/workflow.integration.test.ts +182 -0
- package/OpenSpec-main/test/core/available-tools.test.ts +167 -0
- package/OpenSpec-main/test/core/collections/initiatives/operations.test.ts +342 -0
- package/OpenSpec-main/test/core/collections/initiatives/resolution.test.ts +21 -0
- package/OpenSpec-main/test/core/collections/initiatives/schema.test.ts +201 -0
- package/OpenSpec-main/test/core/collections/initiatives/templates.test.ts +74 -0
- package/OpenSpec-main/test/core/collections/runtime.test.ts +214 -0
- package/OpenSpec-main/test/core/command-generation/adapters.test.ts +710 -0
- package/OpenSpec-main/test/core/command-generation/generator.test.ts +110 -0
- package/OpenSpec-main/test/core/command-generation/registry.test.ts +108 -0
- package/OpenSpec-main/test/core/command-generation/types.test.ts +79 -0
- package/OpenSpec-main/test/core/commands/change-command.list.test.ts +76 -0
- package/OpenSpec-main/test/core/commands/change-command.show-validate.test.ts +111 -0
- package/OpenSpec-main/test/core/completions/command-registry.test.ts +201 -0
- package/OpenSpec-main/test/core/completions/completion-provider.test.ts +288 -0
- package/OpenSpec-main/test/core/completions/generators/bash-generator.test.ts +586 -0
- package/OpenSpec-main/test/core/completions/generators/fish-generator.test.ts +549 -0
- package/OpenSpec-main/test/core/completions/generators/powershell-generator.test.ts +621 -0
- package/OpenSpec-main/test/core/completions/generators/zsh-generator.test.ts +425 -0
- package/OpenSpec-main/test/core/completions/installers/bash-installer.test.ts +484 -0
- package/OpenSpec-main/test/core/completions/installers/fish-installer.test.ts +321 -0
- package/OpenSpec-main/test/core/completions/installers/powershell-installer.test.ts +824 -0
- package/OpenSpec-main/test/core/completions/installers/zsh-installer.test.ts +750 -0
- package/OpenSpec-main/test/core/config-schema.test.ts +340 -0
- package/OpenSpec-main/test/core/context-store/foundation.test.ts +364 -0
- package/OpenSpec-main/test/core/context-store/registry.test.ts +599 -0
- package/OpenSpec-main/test/core/converters/json-converter.test.ts +184 -0
- package/OpenSpec-main/test/core/global-config.test.ts +371 -0
- package/OpenSpec-main/test/core/init.test.ts +786 -0
- package/OpenSpec-main/test/core/legacy-cleanup.test.ts +1162 -0
- package/OpenSpec-main/test/core/list.test.ts +165 -0
- package/OpenSpec-main/test/core/migration.test.ts +150 -0
- package/OpenSpec-main/test/core/parsers/change-parser.test.ts +52 -0
- package/OpenSpec-main/test/core/parsers/markdown-parser.test.ts +355 -0
- package/OpenSpec-main/test/core/parsers/requirement-blocks.test.ts +46 -0
- package/OpenSpec-main/test/core/planning-home.test.ts +120 -0
- package/OpenSpec-main/test/core/profile-sync-drift.test.ts +92 -0
- package/OpenSpec-main/test/core/profiles.test.ts +63 -0
- package/OpenSpec-main/test/core/project-config.test.ts +610 -0
- package/OpenSpec-main/test/core/shared/skill-generation.test.ts +301 -0
- package/OpenSpec-main/test/core/shared/tool-detection.test.ts +333 -0
- package/OpenSpec-main/test/core/templates/skill-templates-parity.test.ts +172 -0
- package/OpenSpec-main/test/core/update.test.ts +1810 -0
- package/OpenSpec-main/test/core/validation.enriched-messages.test.ts +74 -0
- package/OpenSpec-main/test/core/validation.test.ts +680 -0
- package/OpenSpec-main/test/core/view.test.ts +129 -0
- package/OpenSpec-main/test/core/workspace/foundation.test.ts +694 -0
- package/OpenSpec-main/test/core/workspace/legacy-state.test.ts +221 -0
- package/OpenSpec-main/test/core/workspace/skills.test.ts +69 -0
- package/OpenSpec-main/test/fixtures/tmp-init/openspec/changes/c1/proposal.md +7 -0
- package/OpenSpec-main/test/fixtures/tmp-init/openspec/changes/c1/specs/alpha/spec.md +8 -0
- package/OpenSpec-main/test/fixtures/tmp-init/openspec/specs/alpha/spec.md +12 -0
- package/OpenSpec-main/test/helpers/path-env.ts +26 -0
- package/OpenSpec-main/test/helpers/run-cli.ts +150 -0
- package/OpenSpec-main/test/prompts/searchable-multi-select.test.ts +220 -0
- package/OpenSpec-main/test/specs/source-specs-normalization.test.ts +63 -0
- package/OpenSpec-main/test/telemetry/config.test.ts +298 -0
- package/OpenSpec-main/test/telemetry/index.test.ts +219 -0
- package/OpenSpec-main/test/utils/change-metadata.test.ts +368 -0
- package/OpenSpec-main/test/utils/change-utils.test.ts +201 -0
- package/OpenSpec-main/test/utils/command-references.test.ts +83 -0
- package/OpenSpec-main/test/utils/file-system.test.ts +322 -0
- package/OpenSpec-main/test/utils/interactive.test.ts +125 -0
- package/OpenSpec-main/test/utils/marker-updates.test.ts +448 -0
- package/OpenSpec-main/test/utils/shell-detection.test.ts +185 -0
- package/OpenSpec-main/vitest.config.ts +47 -0
- package/OpenSpec-main/vitest.setup.ts +15 -0
- package/README.md +37 -4
- package/Scanner CLI Inteligente para Projetos.md +433 -0
- package/dist/index.js +1248 -161
- package/package.json +1 -1
- package/templates/wiki-recipes/nextjs.rules.md +21 -0
- package/templates/wiki-recipes/postgresql.rules.md +20 -0
- package/templates/wiki-recipes/react.rules.md +18 -0
- package/templates/wiki-recipes/tailwindcss.rules.md +18 -0
- package/templates/wiki-recipes/typescript.rules.md +21 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# Context Store And Initiatives Decisions
|
|
2
|
+
|
|
3
|
+
## 2026-05-20: Track Roadmap Execution Inside The Initiative
|
|
4
|
+
|
|
5
|
+
Decision: Track initiative roadmap implementation inside
|
|
6
|
+
`openspec/initiatives/context-store-and-initiatives/` rather than creating an
|
|
7
|
+
OpenSpec change for each roadmap item.
|
|
8
|
+
|
|
9
|
+
Why: The initiative is the durable coordination object for this work. Repo-local
|
|
10
|
+
OpenSpec changes should be reserved for implementation slices owned by a repo or
|
|
11
|
+
team. Roadmap-item tracking belongs with the initiative until a task needs a
|
|
12
|
+
repo-owned implementation plan.
|
|
13
|
+
|
|
14
|
+
Implications:
|
|
15
|
+
|
|
16
|
+
- Use `tasks.md` as the initiative-wide progress dashboard.
|
|
17
|
+
- Use `work-items/<nn-slug>/` for detailed execution notes on one roadmap item.
|
|
18
|
+
- Link repo-local OpenSpec changes back to the initiative later when
|
|
19
|
+
implementation moves into a repo-owned slice.
|
|
20
|
+
|
|
21
|
+
## 2026-05-20: Lock Workspace-To-Initiative Product Boundary
|
|
22
|
+
|
|
23
|
+
Decision: Workspaces are local working views, not durable shared planning
|
|
24
|
+
objects. Durable coordination belongs to context stores and initiatives. Repo
|
|
25
|
+
local changes own implementation.
|
|
26
|
+
|
|
27
|
+
Implications:
|
|
28
|
+
|
|
29
|
+
- Preserve workspace setup, link, relink, list, open, update, and doctor as
|
|
30
|
+
beta local-view infrastructure.
|
|
31
|
+
- Treat workspace-planning behavior as beta or transitional compatibility.
|
|
32
|
+
- Defer workspace apply, verify, and archive until initiative-linked repo-local
|
|
33
|
+
changes exist.
|
|
34
|
+
|
|
35
|
+
## 2026-05-21: Leave Specs Alone Until Behavior Changes
|
|
36
|
+
|
|
37
|
+
Decision: Do not use the initial direction lock to rewrite OpenSpec specs.
|
|
38
|
+
Specs should describe the current behavioral contract behind the code. The
|
|
39
|
+
initiative artifacts should carry product intent, roadmap decisions, and future
|
|
40
|
+
direction until a later implementation change deliberately updates behavior and
|
|
41
|
+
its specs together.
|
|
42
|
+
|
|
43
|
+
Implications:
|
|
44
|
+
|
|
45
|
+
- Initial Item 1 cleanup should focus on initiative docs, historical roadmap
|
|
46
|
+
artifacts, active proposal disposition, and user-facing docs.
|
|
47
|
+
- Existing workspace-planning specs and schemas may continue to describe current
|
|
48
|
+
implemented behavior.
|
|
49
|
+
- Future changes to specs should happen with the behavior they govern.
|
|
50
|
+
|
|
51
|
+
## 2026-05-21: Keep Deferred Workspace Changes As Reference Placeholders
|
|
52
|
+
|
|
53
|
+
Decision: Keep the active workspace changes for agent guidance, repo-slice
|
|
54
|
+
apply, verify/archive, and the reimplementation roadmap as deferred reference
|
|
55
|
+
placeholders.
|
|
56
|
+
|
|
57
|
+
Why: These areas are still expected to matter after context stores, initiatives,
|
|
58
|
+
and initiative-linked repo-local changes exist. Archiving or deleting them now
|
|
59
|
+
would lose useful research and continuity.
|
|
60
|
+
|
|
61
|
+
Implications:
|
|
62
|
+
|
|
63
|
+
- Do not pick them up as the immediate next implementation focus.
|
|
64
|
+
- Treat their current proposals as historical/deferred direction.
|
|
65
|
+
- Revisit and reframe them after initiative-linked repo-local changes define the
|
|
66
|
+
durable handoff model.
|
|
67
|
+
|
|
68
|
+
## 2026-05-21: Generated Workspace Guidance Routes Work By Ownership
|
|
69
|
+
|
|
70
|
+
Decision: Generated workspace guidance should describe workspaces as local
|
|
71
|
+
working views and route durable work to the owning artifact: initiatives own
|
|
72
|
+
cross-team or cross-repo intent, repo-local OpenSpec changes own implementation
|
|
73
|
+
plans, and linked repos or folders own their implementation.
|
|
74
|
+
|
|
75
|
+
Why: The initiative direction supersedes the older model where a workspace-level
|
|
76
|
+
`changes/` tree owned the canonical shared cross-repo plan. New agent guidance
|
|
77
|
+
should not reinforce that old model.
|
|
78
|
+
|
|
79
|
+
Implications:
|
|
80
|
+
|
|
81
|
+
- Remove guidance that tells agents to use workspace-level `changes/` as the
|
|
82
|
+
planning home for coordinated work.
|
|
83
|
+
- Keep legacy or beta workspace-planning files readable as compatibility
|
|
84
|
+
context when present.
|
|
85
|
+
- Update generated workspace guidance before broad user-facing docs or specs.
|
|
86
|
+
- Leave specs untouched until the corresponding behavior intentionally changes.
|
|
87
|
+
|
|
88
|
+
## 2026-05-21: Workspace Action Context Is Local Compatibility Context
|
|
89
|
+
|
|
90
|
+
Decision: Workspace-planning action context should no longer describe
|
|
91
|
+
workspace-level artifacts as the source of truth. It should report
|
|
92
|
+
`sourceOfTruth: "workspace-local"` and describe workspace-local planning
|
|
93
|
+
artifacts as compatibility context for the current local view.
|
|
94
|
+
|
|
95
|
+
Why: Workspace-planning artifacts can still exist in the beta workflow, but the
|
|
96
|
+
initiative direction assigns durable coordination to initiatives and
|
|
97
|
+
implementation planning to repo-local changes.
|
|
98
|
+
|
|
99
|
+
Implications:
|
|
100
|
+
|
|
101
|
+
- Keep `actionContext.mode: "workspace-planning"` for compatibility.
|
|
102
|
+
- Keep `allowedEditRoots: []` until an explicit edit root is selected.
|
|
103
|
+
- Keep linked repos and folders as context, not implicit edit roots.
|
|
104
|
+
- Route durable coordination to initiatives when initiative context exists.
|
|
105
|
+
|
|
106
|
+
## 2026-05-21: Reorder Roadmap Around Agent-First Initiative Handoff
|
|
107
|
+
|
|
108
|
+
Decision: Treat initiatives as an agent-first workflow. Users should be able to
|
|
109
|
+
prompt an agent with intent like "using initiative X, explore Y and create a
|
|
110
|
+
proposal"; OpenSpec should provide small CLI primitives the agent can compose.
|
|
111
|
+
|
|
112
|
+
Why: The practical UX is not a human manually typing every coordination command.
|
|
113
|
+
Agents need reliable structured answers about where canonical initiative context
|
|
114
|
+
lives and how repo-local changes reference it. Local paths come from workspace
|
|
115
|
+
state, not from an initiative command.
|
|
116
|
+
|
|
117
|
+
Implications:
|
|
118
|
+
|
|
119
|
+
- Promote minimal context-store setup, registration, listing, and doctoring
|
|
120
|
+
before workspace initiative opening.
|
|
121
|
+
- Add `initiative show --json` before broader progress/status concepts.
|
|
122
|
+
- Connect repo-local changes with checked-in initiative metadata, not checked-in
|
|
123
|
+
snapshots of initiative prose.
|
|
124
|
+
- Do not add `initiative resolve`; workspace local-view state owns local path
|
|
125
|
+
mapping.
|
|
126
|
+
- Teach workspace opening about initiatives after show and repo-change linkage
|
|
127
|
+
semantics exist.
|
|
128
|
+
|
|
129
|
+
## 2026-05-26: Workspace Initiative Opening Uses Generated Runtime Files
|
|
130
|
+
|
|
131
|
+
Decision: Treat workspace initiative opening as a private local view record plus
|
|
132
|
+
generated runtime files. The workspace does not contain the work. It remembers
|
|
133
|
+
how this runtime opens the work.
|
|
134
|
+
|
|
135
|
+
Why: Initiative context is shared truth in the context store, repo-local changes
|
|
136
|
+
own implementation, and agent/editor affordances need to exist in the runtime
|
|
137
|
+
where the agent actually runs. Persisting generated files as workspace truth
|
|
138
|
+
would blur local view state with shared coordination and create stale or
|
|
139
|
+
privacy-sensitive artifacts.
|
|
140
|
+
|
|
141
|
+
Implications:
|
|
142
|
+
|
|
143
|
+
- Persist only tiny private local view choices: selected store, selected
|
|
144
|
+
initiative, selected local links, opener, and selected tools.
|
|
145
|
+
- Preserve the selected context-store selector inside the private workspace
|
|
146
|
+
record, so a runtime-local `--store-path` open can be reopened without writing
|
|
147
|
+
machine-local paths into checked-in repo metadata.
|
|
148
|
+
- Generate agent guidance, skills, launch prompts, and editor workspace files as
|
|
149
|
+
runtime support when opening or preparing a view.
|
|
150
|
+
- Open existing local paths only; do not clone, branch, create worktrees, use
|
|
151
|
+
submodules, or infer local repos in Item 10.
|
|
152
|
+
- Treat generated runtime files as disposable and regenerable.
|
|
153
|
+
- Allow context-only initiative open; linked repos are optional local view
|
|
154
|
+
choices.
|
|
155
|
+
- Keep edit boundaries advisory in Item 10 until enforcement is designed.
|
|
156
|
+
|
|
157
|
+
## 2026-05-26: Workspace Storage Is Keyed By Workspace Name
|
|
158
|
+
|
|
159
|
+
Decision: Store private workspace views under
|
|
160
|
+
`getGlobalDataDir()/workspaces/<workspace-name>/`. The workspace name is the
|
|
161
|
+
local identity. The selected context store and initiative, if any, live inside
|
|
162
|
+
one durable private `workspace.yaml` record.
|
|
163
|
+
|
|
164
|
+
Why: Workspaces are generic local views, not initiative-owned directories. A
|
|
165
|
+
user may want a custom workspace with linked repos and folders but no initiative,
|
|
166
|
+
or multiple personal workspaces over the same initiative. Keying storage by
|
|
167
|
+
store and initiative would overfit the filesystem layout to one workflow.
|
|
168
|
+
|
|
169
|
+
Implications:
|
|
170
|
+
|
|
171
|
+
- Keep initiative references optional inside `workspace.yaml`.
|
|
172
|
+
- Store initiative context with an explicit context-store binding rather than a
|
|
173
|
+
flat store id, because workspace state may need to remember a registry selector
|
|
174
|
+
or a runtime-local path selector.
|
|
175
|
+
- Generate `AGENTS.md`, opener workspace files, and tool-specific skills at the
|
|
176
|
+
managed workspace root.
|
|
177
|
+
- Keep `workspace.yaml` as the only view file for Item 10; do not add a separate
|
|
178
|
+
machine-readable view file.
|
|
179
|
+
- Do not introduce a separate generated-output directory for Item 10.
|
|
180
|
+
- If the user opens an initiative without a workspace name, derive a friendly
|
|
181
|
+
default workspace name from the initiative id when that is unambiguous.
|
|
182
|
+
- On workspace-name collisions or multiple workspaces pointing at the same
|
|
183
|
+
initiative, ask the human to choose or require an explicit workspace name in
|
|
184
|
+
non-interactive mode.
|
|
185
|
+
|
|
186
|
+
## 2026-05-26: Item 10 Workspace Open UX Decisions
|
|
187
|
+
|
|
188
|
+
Decision: Close the remaining Item 10 product decisions around runtime identity,
|
|
189
|
+
JSON output, Codex Desktop, edit boundaries, and implementation scope.
|
|
190
|
+
|
|
191
|
+
Implications:
|
|
192
|
+
|
|
193
|
+
- Use `getGlobalDataDir()` as the cross-platform runtime-local boundary. Do not
|
|
194
|
+
add path translation or a separate runtime id in Item 10.
|
|
195
|
+
- Keep `workspace open --json` as a machine-facing receipt for the same open
|
|
196
|
+
operation. It should return useful generated paths, selected context, opened
|
|
197
|
+
roots, skipped roots, opener, launch status, and warnings.
|
|
198
|
+
- Do not add `--prepare-only` for Item 10.
|
|
199
|
+
- For Codex Desktop, open the generated workspace root as the project and expose
|
|
200
|
+
attached initiative and repo/folder paths through generated guidance and
|
|
201
|
+
`workspace open --json` output.
|
|
202
|
+
- Emit advisory edit boundaries only; do not enforce write restrictions.
|
|
203
|
+
- Continue to open known existing local paths only. Do not clone, branch, create
|
|
204
|
+
worktrees, use submodules, or infer local repos in Item 10.
|
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
# Context Store And Initiatives Direction
|
|
2
|
+
|
|
3
|
+
This document captures the suggested direction from the workspace/initiative
|
|
4
|
+
discussion. The main shift is that "workspace" should not be the durable shared
|
|
5
|
+
planning object. The durable shared object is a synced context store, and
|
|
6
|
+
initiatives are one opinionated collection inside it.
|
|
7
|
+
|
|
8
|
+
## Core Model
|
|
9
|
+
|
|
10
|
+
```text
|
|
11
|
+
Context Store
|
|
12
|
+
= synced shared content container
|
|
13
|
+
|
|
14
|
+
Collection
|
|
15
|
+
= mounted content system inside a store
|
|
16
|
+
|
|
17
|
+
Initiatives
|
|
18
|
+
= first major collection for cross-team implementation context
|
|
19
|
+
|
|
20
|
+
Workspace
|
|
21
|
+
= local working view over context stores and repos
|
|
22
|
+
|
|
23
|
+
Change
|
|
24
|
+
= repo/team-owned implementation plan
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The clean rule:
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
Context stores sync truth.
|
|
31
|
+
Collections shape truth.
|
|
32
|
+
Initiatives coordinate work.
|
|
33
|
+
Workspaces open local views.
|
|
34
|
+
Changes implement repo-owned slices.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Locked Product Boundary
|
|
38
|
+
|
|
39
|
+
The workspace-to-initiative pivot is now the product boundary for future
|
|
40
|
+
coordination work:
|
|
41
|
+
|
|
42
|
+
- A workspace is a regenerable, machine-local working view. It maps context
|
|
43
|
+
stores, initiatives, projects, repos, and folders to paths the current user can
|
|
44
|
+
open.
|
|
45
|
+
- A context store is the durable synced container for shared files.
|
|
46
|
+
- An initiative is the durable coordination object for cross-team or cross-repo
|
|
47
|
+
implementation context.
|
|
48
|
+
- A repo-local change remains the implementation plan owned by the repo or team
|
|
49
|
+
doing the work.
|
|
50
|
+
|
|
51
|
+
This supersedes the older model where a workspace-level `changes/` tree owned
|
|
52
|
+
the canonical shared plan for cross-repo work. Existing workspace-planning
|
|
53
|
+
behavior can remain as beta or legacy infrastructure, but it should not steer
|
|
54
|
+
new lifecycle design.
|
|
55
|
+
|
|
56
|
+
Workspace roadmap disposition:
|
|
57
|
+
|
|
58
|
+
- Keep setup, link, relink, list, open, update, and doctor.
|
|
59
|
+
- Keep linked repos and folders visible for exploration before a change exists.
|
|
60
|
+
- Keep workspace-local agent guidance as local view setup, refreshed by
|
|
61
|
+
`workspace update`.
|
|
62
|
+
- Defer workspace apply, verify, and archive until initiatives can link to
|
|
63
|
+
repo-owned OpenSpec changes.
|
|
64
|
+
- Defer branch/worktree orchestration, multi-repo apply, strong cross-repo
|
|
65
|
+
validation, and dependency graph enforcement.
|
|
66
|
+
|
|
67
|
+
## Agent-First UX
|
|
68
|
+
|
|
69
|
+
The primary user experience for initiatives is expected to be agent-driven:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
Using initiative billing-launch, explore the API work and create a proposal.
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
The user should not need to know every command. OpenSpec should expose small,
|
|
76
|
+
structured CLI primitives that an agent can use to:
|
|
77
|
+
|
|
78
|
+
- find the intended initiative across registered context stores
|
|
79
|
+
- read canonical initiative files from the context store
|
|
80
|
+
- create or link a repo-local OpenSpec change
|
|
81
|
+
- use workspace state for local repo and folder views
|
|
82
|
+
- respect edit boundaries instead of treating every opened folder as editable
|
|
83
|
+
|
|
84
|
+
The CLI is therefore the agent's tool surface, not the whole user workflow.
|
|
85
|
+
Prefer explicit, machine-readable commands such as `initiative show --json`,
|
|
86
|
+
`new change --initiative ...`, and workspace local-view commands over broad
|
|
87
|
+
interactive flows as the first slice.
|
|
88
|
+
|
|
89
|
+
Canonical initiative context should stay in the context store. Repo-local
|
|
90
|
+
changes should reference the initiative rather than checking in copied snapshots
|
|
91
|
+
of initiative prose. If an agent needs a compact context pack, OpenSpec can
|
|
92
|
+
generate that as command output from the live initiative context.
|
|
93
|
+
|
|
94
|
+
## Context Store
|
|
95
|
+
|
|
96
|
+
A context store is the shared/synced folder of files. It is content-agnostic.
|
|
97
|
+
It should not know what an initiative is.
|
|
98
|
+
|
|
99
|
+
Example:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
acme-context/
|
|
103
|
+
initiatives/
|
|
104
|
+
decisions/
|
|
105
|
+
api-catalog/
|
|
106
|
+
playbooks/
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
The first backend should be Git:
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
create/update/delete files
|
|
113
|
+
-> commit
|
|
114
|
+
-> push
|
|
115
|
+
-> other users pull
|
|
116
|
+
-> local views update
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
But the application should talk to a store abstraction, not directly to Git, so
|
|
120
|
+
the backend can later become a cloud database.
|
|
121
|
+
|
|
122
|
+
## Backend
|
|
123
|
+
|
|
124
|
+
A backend provides persistence and sync for a context store.
|
|
125
|
+
|
|
126
|
+
Examples:
|
|
127
|
+
|
|
128
|
+
- `git` backend: local clone, pull, commit, push, watch
|
|
129
|
+
- `cloud` backend: database records, subscriptions, hosted sync
|
|
130
|
+
- `memory` backend: tests and local prototypes
|
|
131
|
+
|
|
132
|
+
The backend should expose generic file/object operations:
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
read
|
|
136
|
+
write
|
|
137
|
+
delete
|
|
138
|
+
list
|
|
139
|
+
sync
|
|
140
|
+
watch
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
It should not contain initiative-specific behavior.
|
|
144
|
+
|
|
145
|
+
## Collections
|
|
146
|
+
|
|
147
|
+
A collection is a mounted content system inside a context store. It is
|
|
148
|
+
plugin-like, but "collection" is the user-facing term.
|
|
149
|
+
|
|
150
|
+
Each collection owns:
|
|
151
|
+
|
|
152
|
+
- a folder namespace
|
|
153
|
+
- a content model
|
|
154
|
+
- templates
|
|
155
|
+
- validation/rules
|
|
156
|
+
- optional agent guidance
|
|
157
|
+
- optional UI views
|
|
158
|
+
|
|
159
|
+
Example:
|
|
160
|
+
|
|
161
|
+
```text
|
|
162
|
+
context-store/
|
|
163
|
+
initiatives/ # Initiative collection
|
|
164
|
+
decisions/ # Decision collection
|
|
165
|
+
api-catalog/ # API catalog collection
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Core should enforce that a collection only writes inside its mount.
|
|
169
|
+
|
|
170
|
+
## Initiative Collection
|
|
171
|
+
|
|
172
|
+
The initiative collection is the first enterprise-oriented collection.
|
|
173
|
+
|
|
174
|
+
An initiative is shared, agent-consumable implementation context for a
|
|
175
|
+
coordinated outcome. It can span teams, repos, services, APIs, contracts, and
|
|
176
|
+
capabilities.
|
|
177
|
+
|
|
178
|
+
Default shape:
|
|
179
|
+
|
|
180
|
+
```text
|
|
181
|
+
initiatives/
|
|
182
|
+
launch-billing-flow/
|
|
183
|
+
initiative.yaml
|
|
184
|
+
requirements.md
|
|
185
|
+
design.md
|
|
186
|
+
contracts/
|
|
187
|
+
decisions.md
|
|
188
|
+
questions.md
|
|
189
|
+
tasks.md
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
This describes the runtime initiative collection shape in context stores. This
|
|
193
|
+
roadmap folder may still contain legacy `.initiative.yaml` progress metadata
|
|
194
|
+
while the initiative itself is being used to manage the migration; that legacy
|
|
195
|
+
tracker is not the model new context-store initiatives should copy.
|
|
196
|
+
|
|
197
|
+
The default structure should be opinionated for the enterprise design
|
|
198
|
+
partnership, but the collection system should allow other structures later.
|
|
199
|
+
|
|
200
|
+
## Initiative Responsibilities
|
|
201
|
+
|
|
202
|
+
Initiatives should own implementation-relevant shared context:
|
|
203
|
+
|
|
204
|
+
- product/program intent
|
|
205
|
+
- accepted requirements
|
|
206
|
+
- high-level technical coordination
|
|
207
|
+
- capability and ownership maps
|
|
208
|
+
- API/event/schema contracts
|
|
209
|
+
- dependency assumptions
|
|
210
|
+
- decisions and open questions
|
|
211
|
+
- workspace-readable context for repo-local implementation work
|
|
212
|
+
|
|
213
|
+
Initiatives should not try to become all of Jira or Confluence. The focused
|
|
214
|
+
positioning is:
|
|
215
|
+
|
|
216
|
+
```text
|
|
217
|
+
OpenSpec stores agreed implementation context.
|
|
218
|
+
Jira tracks work.
|
|
219
|
+
Confluence stores broad prose.
|
|
220
|
+
GitHub/GitLab store code.
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
## Initiative And Change Scope
|
|
224
|
+
|
|
225
|
+
An initiative can span one or many OpenSpec changes.
|
|
226
|
+
|
|
227
|
+
Those changes may live:
|
|
228
|
+
|
|
229
|
+
- in the same repo as the initiative
|
|
230
|
+
- in different repos
|
|
231
|
+
- in multiple context stores or OpenSpec roots later
|
|
232
|
+
|
|
233
|
+
The initiative stores shared coordination context. Workspace views can associate
|
|
234
|
+
that context with local repos and repo-owned changes without making the
|
|
235
|
+
initiative store machine-local checkout links.
|
|
236
|
+
|
|
237
|
+
This keeps grouping separate from storage:
|
|
238
|
+
|
|
239
|
+
```text
|
|
240
|
+
Initiative = shared grouping/context
|
|
241
|
+
Change = execution artifact
|
|
242
|
+
Workspace = local opened view of initiative + repos
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
## Workspace
|
|
246
|
+
|
|
247
|
+
A workspace is a local working view, not the source of truth.
|
|
248
|
+
|
|
249
|
+
It can map context stores and project identifiers to local paths, configure an
|
|
250
|
+
opener, and launch coding agents with the right folders visible.
|
|
251
|
+
|
|
252
|
+
A workspace can open an initiative by resolving:
|
|
253
|
+
|
|
254
|
+
- the initiative's context store
|
|
255
|
+
- locally selected repo-local changes
|
|
256
|
+
- local checkout paths for participating repos
|
|
257
|
+
|
|
258
|
+
The durable workspace record should stay tiny and private. It records this
|
|
259
|
+
runtime's local view choices, not generated agent files or shared initiative
|
|
260
|
+
content.
|
|
261
|
+
|
|
262
|
+
```text
|
|
263
|
+
getGlobalDataDir()/workspaces/<workspace-name>/
|
|
264
|
+
workspace.yaml
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
The workspace name is the local identity. The workspace record can optionally
|
|
268
|
+
store a selected context store and initiative, plus stable link names to local
|
|
269
|
+
paths and opener preferences. Initiative references are data inside the record,
|
|
270
|
+
not path segments.
|
|
271
|
+
|
|
272
|
+
Opening a workspace materializes opener-specific runtime files at the managed
|
|
273
|
+
workspace root. Those files can contain generated agent guidance, skills,
|
|
274
|
+
and editor workspace files. Machine-readable context is returned by JSON command
|
|
275
|
+
output. These are regenerated local support, not source of truth.
|
|
276
|
+
|
|
277
|
+
```text
|
|
278
|
+
private local view record
|
|
279
|
+
-> generated runtime files
|
|
280
|
+
-> opener-specific launch
|
|
281
|
+
-> initiative context + selected local repos/folders
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
Workspaces should be regenerable and runtime-specific. They should not be the
|
|
285
|
+
canonical home for initiative content, checked-in collaboration state, branches,
|
|
286
|
+
worktrees, clones, or implementation progress.
|
|
287
|
+
|
|
288
|
+
## Repo Changes
|
|
289
|
+
|
|
290
|
+
Repo-local changes remain the team-owned implementation plan.
|
|
291
|
+
|
|
292
|
+
An engineering team should be able to pull relevant initiative context into a
|
|
293
|
+
repo and create a linked OpenSpec change.
|
|
294
|
+
|
|
295
|
+
Example:
|
|
296
|
+
|
|
297
|
+
```text
|
|
298
|
+
repo/
|
|
299
|
+
openspec/
|
|
300
|
+
changes/
|
|
301
|
+
add-billing-api/
|
|
302
|
+
.openspec.yaml
|
|
303
|
+
proposal.md
|
|
304
|
+
design.md
|
|
305
|
+
specs/
|
|
306
|
+
tasks.md
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
The local change should reference the initiative in metadata, for example:
|
|
310
|
+
|
|
311
|
+
```yaml
|
|
312
|
+
initiative:
|
|
313
|
+
store: platform
|
|
314
|
+
id: billing-launch
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
This metadata is durable repo context and should be checked in. It should not
|
|
318
|
+
contain machine-local paths. Agents should read the initiative's canonical files
|
|
319
|
+
from the registered context store when they need the shared context.
|
|
320
|
+
|
|
321
|
+
## Relationship Between Concepts
|
|
322
|
+
|
|
323
|
+
```text
|
|
324
|
+
Context Store
|
|
325
|
+
contains Collections
|
|
326
|
+
|
|
327
|
+
Collection
|
|
328
|
+
defines structure/rules for a mounted folder
|
|
329
|
+
|
|
330
|
+
Initiative Collection
|
|
331
|
+
defines initiatives/
|
|
332
|
+
|
|
333
|
+
Initiative
|
|
334
|
+
coordinates one shared outcome
|
|
335
|
+
|
|
336
|
+
Workspace
|
|
337
|
+
opens local views of context stores and repos
|
|
338
|
+
|
|
339
|
+
Repo Change
|
|
340
|
+
implements one team's/repo's part of an initiative
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
End-to-end flow:
|
|
344
|
+
|
|
345
|
+
```text
|
|
346
|
+
Product/program/architect creates initiative
|
|
347
|
+
-> initiative syncs through context store
|
|
348
|
+
-> engineers open local workspace
|
|
349
|
+
-> repo team pulls relevant initiative context
|
|
350
|
+
-> repo team creates linked OpenSpec change
|
|
351
|
+
-> repo team implements locally
|
|
352
|
+
-> workspace view surfaces local progress alongside initiative context
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
## Local API Direction
|
|
356
|
+
|
|
357
|
+
The app should use dependency injection:
|
|
358
|
+
|
|
359
|
+
```ts
|
|
360
|
+
const store = createStore({
|
|
361
|
+
id: "acme-context",
|
|
362
|
+
backend: gitBackend({
|
|
363
|
+
remote: "git@github.com:acme/context.git",
|
|
364
|
+
localPath: "~/.openspec/stores/acme-context",
|
|
365
|
+
autoSync: true,
|
|
366
|
+
}),
|
|
367
|
+
collections: [
|
|
368
|
+
initiativeCollection({ mount: "initiatives" }),
|
|
369
|
+
],
|
|
370
|
+
});
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
Usage:
|
|
374
|
+
|
|
375
|
+
```ts
|
|
376
|
+
const initiatives = store.collection("initiatives");
|
|
377
|
+
|
|
378
|
+
await initiatives.create({ id: "launch-billing-flow" });
|
|
379
|
+
await initiatives.update("launch-billing-flow", patch);
|
|
380
|
+
await store.sync();
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
Important separation:
|
|
384
|
+
|
|
385
|
+
```text
|
|
386
|
+
Git backend knows Git.
|
|
387
|
+
Store knows sync/lifecycle/events.
|
|
388
|
+
Collection knows content structure.
|
|
389
|
+
Initiative collection knows initiatives.
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
## UI Direction
|
|
393
|
+
|
|
394
|
+
The UI should be content-agnostic at the core:
|
|
395
|
+
|
|
396
|
+
- browse folders/files
|
|
397
|
+
- edit Markdown/YAML
|
|
398
|
+
- preview content
|
|
399
|
+
- search
|
|
400
|
+
- show diffs/history
|
|
401
|
+
- sync status
|
|
402
|
+
|
|
403
|
+
Collections can add richer views:
|
|
404
|
+
|
|
405
|
+
- initiative status view
|
|
406
|
+
- contract table
|
|
407
|
+
- owner/dependency graph
|
|
408
|
+
- linked repo-change view
|
|
409
|
+
|
|
410
|
+
The UI should work no matter which collections are mounted.
|
|
411
|
+
|
|
412
|
+
## Open Questions
|
|
413
|
+
|
|
414
|
+
- What is the first concrete context store command surface?
|
|
415
|
+
- Should stores be called `context`, `store`, or something more product-facing?
|
|
416
|
+
- Where should enterprise context stores live by default: customer GitHub,
|
|
417
|
+
OpenSpec-managed Git, or later hosted cloud?
|
|
418
|
+
- How do non-technical users edit Git-backed content without feeling Git?
|
|
419
|
+
- What is the minimum viable auto-sync behavior before conflict handling gets
|
|
420
|
+
painful?
|
|
421
|
+
- How does an initiative contract graduate into a canonical owner repo contract?
|
|
422
|
+
- How should linked repo changes report status back into an initiative without
|
|
423
|
+
becoming Jira?
|
|
424
|
+
- How should monorepos map capabilities, folders, and repo-local changes?
|
|
425
|
+
- What should the first repo-change linking command be called?
|
|
426
|
+
- Which initiative progress/status signals are useful after linked changes
|
|
427
|
+
exist?
|
|
428
|
+
|
|
429
|
+
## Suggested Next Direction
|
|
430
|
+
|
|
431
|
+
After the initial store, collection, and initiative create/list foundations,
|
|
432
|
+
build the next slices in this order:
|
|
433
|
+
|
|
434
|
+
1. Reconcile the Initiative MVP around create/list, validation, templates, and
|
|
435
|
+
explicit deferral of read/update/delete policy.
|
|
436
|
+
2. Add minimal context-store UX for setup, registration, listing, and doctoring.
|
|
437
|
+
3. Add agent-first initiative discovery with `initiative show --json` and
|
|
438
|
+
registered-store lookup.
|
|
439
|
+
4. Add repo-local change metadata and an agent-friendly create/link flow for
|
|
440
|
+
`--initiative`.
|
|
441
|
+
5. Reject standalone `initiative resolve`; local path mapping belongs to
|
|
442
|
+
workspaces, not initiative commands.
|
|
443
|
+
6. Let workspaces open initiative-aware local views once show/link semantics
|
|
444
|
+
exist.
|
|
445
|
+
7. Add local-to-initiative escalation UX.
|
|
446
|
+
8. Harden team-shared coordination, sync, conflict guidance, and progress
|
|
447
|
+
status after real usage shapes those needs.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Context Store And Initiatives Questions
|
|
2
|
+
|
|
3
|
+
## Open
|
|
4
|
+
|
|
5
|
+
- Should the user-facing command vocabulary say `context`, `store`, or
|
|
6
|
+
something more product-facing?
|
|
7
|
+
- What migration or compatibility path should existing workspace-planning
|
|
8
|
+
changes get once initiatives exist?
|
|
9
|
+
- How should linked repo changes report progress back into an initiative without
|
|
10
|
+
becoming a Jira clone?
|
|
11
|
+
- How should monorepos map capabilities, folders, and repo-local changes?
|
|
12
|
+
- Should OpenSpec support configurable change homes across context stores and
|
|
13
|
+
local OpenSpec repos, and what ownership rules keep that model safe?
|
|
14
|
+
|
|
15
|
+
## Resolved
|
|
16
|
+
|
|
17
|
+
- Workspaces should not be the durable shared planning object.
|
|
18
|
+
- Initiative roadmap implementation should be tracked inside the initiative
|
|
19
|
+
until repo-owned implementation changes are needed.
|
|
20
|
+
- The first concrete context store command surface is `context-store setup`,
|
|
21
|
+
`context-store register`, `context-store list`/`ls`, and
|
|
22
|
+
`context-store doctor`. Sync, push/pull, remotes, and conflict handling are
|
|
23
|
+
future work.
|