sauron-cli 1.2.0 → 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 +1178 -139
- 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,289 @@
|
|
|
1
|
+
# Manual Beta Reality Pass Notes
|
|
2
|
+
|
|
3
|
+
Use this as the scratchpad while trying the beta flow.
|
|
4
|
+
|
|
5
|
+
## What Worked
|
|
6
|
+
|
|
7
|
+
- Manual beta pass caught the bad default before building more surface area.
|
|
8
|
+
- After changing the default, rerunning
|
|
9
|
+
`openspec context-store setup team-context --init-git` from inside the
|
|
10
|
+
OpenSpec repo created the store at
|
|
11
|
+
`~/.local/share/openspec/context-stores/team-context` instead of nesting it in
|
|
12
|
+
the repo.
|
|
13
|
+
- Minimal fresh-agent handoff worked for initiative creation. A subagent given
|
|
14
|
+
only the store id and a loose topic created `agent-trace-hooks` in the correct
|
|
15
|
+
context-store location:
|
|
16
|
+
`~/.local/share/openspec/context-stores/team-context/initiatives/agent-trace-hooks`.
|
|
17
|
+
|
|
18
|
+
## What Felt Weird
|
|
19
|
+
|
|
20
|
+
- Fresh-user guidance immediately drifted into sandbox/environment setup
|
|
21
|
+
(`XDG_CONFIG_HOME`, `XDG_DATA_HOME`) instead of letting the user just run the
|
|
22
|
+
beta locally. Strong reaction: this should work as a normal local workflow.
|
|
23
|
+
- `openspec context-store setup` with no args feels like it should start an
|
|
24
|
+
interactive setup, but it does not. The command name itself creates that
|
|
25
|
+
expectation.
|
|
26
|
+
- `openspec context-store setup team-context --init-git` created
|
|
27
|
+
`team-context/` inside the current OpenSpec repo because the default path is
|
|
28
|
+
`./<id>`. User expected a default outside the current repo, not a new Git repo
|
|
29
|
+
nested in whatever directory they happened to run from.
|
|
30
|
+
- Cleaning up the accidental store had no obvious CLI path. `context-store`
|
|
31
|
+
exposes setup/register/list/doctor, but no unregister/remove command, so
|
|
32
|
+
cleanup required removing the folder and editing the registry manually.
|
|
33
|
+
- `context-store setup --init-git` initializes Git, but leaves
|
|
34
|
+
`.openspec-store/` and new initiatives untracked. That may be fine, but the
|
|
35
|
+
beta flow does not tell the user or agent whether to stage/commit the shared
|
|
36
|
+
context store.
|
|
37
|
+
- `openspec workspace open` with no arguments prompts only for known local
|
|
38
|
+
workspace views. It does not show registered context stores or initiatives, so
|
|
39
|
+
`team-context` is absent even though the next guide step is opening an
|
|
40
|
+
initiative from that store. This is technically consistent with the current
|
|
41
|
+
implementation, but confusing in the beta flow because the command name reads
|
|
42
|
+
like the broad "open something OpenSpec-related" entrypoint.
|
|
43
|
+
- The post-initiative step has the wrong first-run verb. After creating a
|
|
44
|
+
context store and an initiative, the user is conceptually creating a local
|
|
45
|
+
workspace view for that initiative. "Open" implies the workspace already
|
|
46
|
+
exists, so the beta guide and CLI make the user infer a hidden create-or-open
|
|
47
|
+
behavior.
|
|
48
|
+
|
|
49
|
+
## Missing Prompts Or Too Many Flags
|
|
50
|
+
|
|
51
|
+
- Need clearer guidance for whether a beta pass should use existing local
|
|
52
|
+
OpenSpec state or create a normal local test context store. Avoid requiring
|
|
53
|
+
environment variables as the default manual path.
|
|
54
|
+
- Missing prompt: when no context-store id is provided, ask for the store id,
|
|
55
|
+
path, and Git initialization choice instead of requiring the user to know the
|
|
56
|
+
positional argument/flags.
|
|
57
|
+
- Missing prompt/safety check: before creating a default context store under
|
|
58
|
+
the current directory, show the target path and ask for confirmation or offer
|
|
59
|
+
a managed default location.
|
|
60
|
+
- Missing handoff guidance: after context-store setup, the guide tells the user
|
|
61
|
+
to ask an agent to create an initiative, but a fresh agent may not know the
|
|
62
|
+
beta initiative CLI or where to find the agent playbook.
|
|
63
|
+
- Missing prompt: `workspace open` should either offer an "open initiative from
|
|
64
|
+
context store" path when registered initiatives exist, or make the zero-arg
|
|
65
|
+
prompt text explicit that it is selecting an existing local workspace view
|
|
66
|
+
only. If it offers initiatives, it should likely list references like
|
|
67
|
+
`team-context/agent-trace-hooks`, not just the store id.
|
|
68
|
+
- Missing first-run workspace creation flow: after an initiative exists, the
|
|
69
|
+
user should be guided through creating the local workspace view. A simple
|
|
70
|
+
interactive path could ask what to set up, list registered initiatives such as
|
|
71
|
+
`team-context/agent-trace-hooks`, suggest a workspace name from the initiative
|
|
72
|
+
id, optionally link existing repo/folder paths, choose an opener, then create
|
|
73
|
+
the workspace view.
|
|
74
|
+
- Better minimal beta path: keep lazy workspace creation, but make bare
|
|
75
|
+
interactive `openspec workspace open` initiative-aware. The picker should show
|
|
76
|
+
existing local workspace views and registered initiatives that can create a
|
|
77
|
+
local view on selection, with labels that preserve the distinction between
|
|
78
|
+
"workspace" and "initiative."
|
|
79
|
+
- The generated initiative file contract is underexplained. The CLI creates
|
|
80
|
+
exactly `initiative.yaml`, `requirements.md`, `design.md`, `decisions.md`,
|
|
81
|
+
`questions.md`, and `tasks.md`, but docs describe the Markdown files as
|
|
82
|
+
"typical" or "then edit" rather than naming the contract clearly.
|
|
83
|
+
- A user looking at the generated initiative tree may reasonably ask where that
|
|
84
|
+
structure came from. The exact six-file contract is clear in code and the
|
|
85
|
+
internal MVP work item, but public beta docs do not make it explicit and the
|
|
86
|
+
broader direction doc still mentions future `contracts/` content.
|
|
87
|
+
|
|
88
|
+
## Agent Handoff Notes
|
|
89
|
+
|
|
90
|
+
- The first agent step has a bootstrapping problem. `context-store setup` does
|
|
91
|
+
not create repo-local guidance, and `workspace open --initiative` cannot run
|
|
92
|
+
until the initiative exists. A fresh agent needs either an explicit pasted
|
|
93
|
+
mini-playbook, installed OpenSpec skills, or CLI output that prints the exact
|
|
94
|
+
next agent prompt/command.
|
|
95
|
+
- In the manual subagent test, the agent ran `initiative create --help`, then
|
|
96
|
+
created the initiative with `--store team-context --title ... --summary ...
|
|
97
|
+
--json`. It correctly resolved the store and did not create files in the
|
|
98
|
+
OpenSpec repo.
|
|
99
|
+
- The subagent replaced generated `TBD` placeholders with useful short content,
|
|
100
|
+
which suggests the templates give enough structure but not enough guidance.
|
|
101
|
+
There is no CLI option to seed richer content beyond title and summary.
|
|
102
|
+
- `initiative create --json` reports `created_files` as relative names. Agents
|
|
103
|
+
have to combine those with the returned root to get absolute paths.
|
|
104
|
+
- "Commands only" is product-ambiguous for this beta. The implementation treats
|
|
105
|
+
it as "remove all skills and install only slash command files," but users may
|
|
106
|
+
read it as "I prefer slash commands for workflow entry points." They still
|
|
107
|
+
likely expect their coding agent to understand OpenSpec concepts, context
|
|
108
|
+
stores, initiatives, and workspace handoff.
|
|
109
|
+
|
|
110
|
+
## Delivery UX Model
|
|
111
|
+
|
|
112
|
+
- Split the concept into two layers:
|
|
113
|
+
- Baseline OpenSpec literacy: "Does the agent understand OpenSpec concepts and
|
|
114
|
+
know how to inspect context stores, initiatives, workspaces, and repo-local
|
|
115
|
+
changes?"
|
|
116
|
+
- Workflow entrypoints: "How does the user invoke workflow actions such as
|
|
117
|
+
propose/apply/archive?"
|
|
118
|
+
- Current `delivery` acts like a generated-artifact cleanup switch. That is too
|
|
119
|
+
low-level for the user-facing choice.
|
|
120
|
+
- Better meaning:
|
|
121
|
+
- `skills`: install the baseline guide skill plus workflow skills.
|
|
122
|
+
- `commands`: install the baseline guide skill plus workflow slash commands.
|
|
123
|
+
- `both`: install the baseline guide skill plus workflow skills and workflow
|
|
124
|
+
slash commands.
|
|
125
|
+
- In UI copy, avoid "commands only" if it implies no skills at all. Prefer
|
|
126
|
+
labels like "Slash commands as workflow entrypoints" or "Workflow commands
|
|
127
|
+
only" with helper text that baseline OpenSpec guidance is still installed
|
|
128
|
+
when the selected agent supports skills.
|
|
129
|
+
- For tools without a command adapter, commands-oriented delivery should warn
|
|
130
|
+
clearly that workflow slash commands are unavailable for that tool. The tool
|
|
131
|
+
should still receive the baseline guide skill if it supports skills, so the
|
|
132
|
+
selected agent is not left with nothing.
|
|
133
|
+
|
|
134
|
+
## Initiative Placement UX
|
|
135
|
+
|
|
136
|
+
- A fresh agent also needs to know whether a new planning object belongs in a
|
|
137
|
+
context store or in the current repo. This should not be left to vibes.
|
|
138
|
+
- Product distinction:
|
|
139
|
+
- Initiatives in context stores are durable planning and coordination context
|
|
140
|
+
that intentionally lives outside implementation repos: product intent,
|
|
141
|
+
decisions, questions, roadmap notes, and tasks that should not necessarily
|
|
142
|
+
be checked into the code repo.
|
|
143
|
+
- Repo-local OpenSpec changes are implementation plans owned by the repo that
|
|
144
|
+
will change: proposal/design/spec deltas/tasks/validation.
|
|
145
|
+
- Workspaces are local views that connect shared context to local repos; they
|
|
146
|
+
should not become a third durable planning home.
|
|
147
|
+
- Agent guidance should not assume repo-local is preferred just because work
|
|
148
|
+
touches one repo. Use or create a context-store initiative when the user wants
|
|
149
|
+
OpenSpec artifacts outside the repo, when a monorepo has multiple teams with
|
|
150
|
+
separate planning contexts, when repo policy discourages planning artifacts,
|
|
151
|
+
when work is cross-repo/team-coordinated, long-lived, pre-implementation
|
|
152
|
+
discovery, or already tied to an existing context store.
|
|
153
|
+
- If a request is ambiguous, the agent should inspect first:
|
|
154
|
+
`openspec initiative list --json`, `openspec list --json`, and workspace
|
|
155
|
+
state when available. If still ambiguous, ask: "Should these OpenSpec
|
|
156
|
+
artifacts live outside the repo in a context store, or inside this repo as a
|
|
157
|
+
repo-local implementation change?"
|
|
158
|
+
- CLI/skill copy should make the linked flow explicit: create/read initiative
|
|
159
|
+
in the context store, then create repo-local changes from the owning repo with
|
|
160
|
+
`--initiative <store>/<initiative>`.
|
|
161
|
+
|
|
162
|
+
## Initiative Creation Rethink
|
|
163
|
+
|
|
164
|
+
- `openspec initiative create` currently creates a full six-file planning
|
|
165
|
+
packet with `TBD` placeholders. That is too eager for the intended audience:
|
|
166
|
+
PMs, designers, architects, and agents facilitating early product/architecture
|
|
167
|
+
thinking.
|
|
168
|
+
- Initial creation should register the initiative shell, not invent the plan.
|
|
169
|
+
The most conservative first slice is `initiative.yaml` plus either:
|
|
170
|
+
- a short `brief.md` seeded from title/summary/current understanding; or
|
|
171
|
+
- a lightweight `requirements.md` with no `TBD` placeholders and no claims of
|
|
172
|
+
accepted requirements until the content has been reviewed.
|
|
173
|
+
- Follow-up artifacts should be created iteratively when they become real:
|
|
174
|
+
- `requirements.md`: accepted high-level requirements, goals, non-goals,
|
|
175
|
+
unresolved product questions.
|
|
176
|
+
- `design.md`: reviewed product/UX/architecture direction and tradeoffs.
|
|
177
|
+
- `questions.md`: optional question log when questions need tracking.
|
|
178
|
+
- `decisions.md`: optional decision log appended only after decisions happen.
|
|
179
|
+
- Avoid default `tasks.md`; implementation tasks belong in repo-local changes.
|
|
180
|
+
If initiative-level coordination is needed later, use clearer language like
|
|
181
|
+
`workstreams.md`, `milestones.md`, or `coordination.md`.
|
|
182
|
+
- This should ideally become schema-led. Reuse the artifact-graph idea
|
|
183
|
+
(artifact ids, generated paths, templates, dependencies, status/instructions),
|
|
184
|
+
but root it at the initiative directory instead of repo-local changes.
|
|
185
|
+
- A minimal initiative schema could start with only `requirements` and `design`,
|
|
186
|
+
where design depends on requirements. `decisions` and `questions` are living
|
|
187
|
+
logs, so file-existence completion semantics may not fit them.
|
|
188
|
+
- For next-release safety, avoid a strict top-level `schema:` field in
|
|
189
|
+
`initiative.yaml` until metadata compatibility is designed. If a schema hint
|
|
190
|
+
needs persistence, store it under `metadata` or keep the default implicit.
|
|
191
|
+
|
|
192
|
+
## Docs Fixes
|
|
193
|
+
|
|
194
|
+
- The beta guide says "This creates a local context store" but does not explain
|
|
195
|
+
that the default location is `./<id>` relative to the current working
|
|
196
|
+
directory. That needs to be explicit if the default remains.
|
|
197
|
+
- Immediate docs/code fix changed the default away from `./<id>` and documented
|
|
198
|
+
the managed local data location instead.
|
|
199
|
+
- Step 2 should not assume the agent already knows the beta initiative command.
|
|
200
|
+
Include a copy-paste bootstrap prompt or link/inline excerpt from the agent
|
|
201
|
+
CLI playbook.
|
|
202
|
+
- Step 3 says "Open Your Local Workbench," but the command is actually
|
|
203
|
+
create-or-open when `--initiative` is passed. The guide should make that
|
|
204
|
+
explicit: "Create or open a local workspace view for the initiative." It
|
|
205
|
+
should also warn that bare `openspec workspace open` selects existing
|
|
206
|
+
workspace views only and will not list context stores like `team-context`.
|
|
207
|
+
- Better: change the user-facing flow so the first-time path is explicitly
|
|
208
|
+
creation/setup. The guide should send humans to an interactive workspace setup
|
|
209
|
+
path for the initiative, then reserve `workspace open` for reopening an
|
|
210
|
+
existing workspace view.
|
|
211
|
+
- Subagent UX/model passes recommended a leaner beta change: keep
|
|
212
|
+
`workspace open --initiative <store>/<initiative>` as the explicit
|
|
213
|
+
create-or-reuse path, but make bare interactive `workspace open` show
|
|
214
|
+
initiatives as selectable targets. Selecting an initiative should say it is
|
|
215
|
+
creating/opening a local workspace view.
|
|
216
|
+
|
|
217
|
+
## Possible Implementation Slices
|
|
218
|
+
|
|
219
|
+
- Make `openspec context-store setup` interactive when no id is provided:
|
|
220
|
+
prompt for store id, default path, and Git initialization; keep `--json` /
|
|
221
|
+
non-interactive behavior deterministic with a helpful fix message.
|
|
222
|
+
- Reconsider the default context-store setup path. Options: use the managed
|
|
223
|
+
OpenSpec data directory by default, or keep `./<id>` only after an interactive
|
|
224
|
+
confirmation that names the full target path.
|
|
225
|
+
- Implemented during the pass: use the managed OpenSpec data directory by
|
|
226
|
+
default and keep `--path` for explicit locations.
|
|
227
|
+
- Add `openspec context-store unregister <id>` or `remove <id>` for local
|
|
228
|
+
registry cleanup, with an explicit choice about whether to delete files or
|
|
229
|
+
only forget the local registration.
|
|
230
|
+
- Add a first-run handoff affordance after context-store setup, such as printing
|
|
231
|
+
"Next for your agent" guidance or adding a command that emits the agent
|
|
232
|
+
playbook for shared context/initiative setup.
|
|
233
|
+
- Add interactive workspace creation for initiative views. Candidate surfaces:
|
|
234
|
+
extend `openspec workspace setup` with initiative selection, add
|
|
235
|
+
`openspec workspace setup --initiative <store>/<initiative>`, or introduce a
|
|
236
|
+
clearer `workspace create` command. The key UX requirement is that a fresh
|
|
237
|
+
user can run an interactive command after initiative creation and be led to
|
|
238
|
+
"create a local workspace view for this initiative" without knowing
|
|
239
|
+
`--initiative` or the derived workspace-name convention.
|
|
240
|
+
- Add an initiative-aware `workspace open` picker as the smallest product fix:
|
|
241
|
+
on bare interactive open, list local workspaces plus registered initiatives.
|
|
242
|
+
If the user selects an initiative, feed it through the existing
|
|
243
|
+
`--initiative` create/reuse path. Do not auto-create workspaces during
|
|
244
|
+
context-store setup or initiative creation, and do not make workspaces 1:1
|
|
245
|
+
with initiatives.
|
|
246
|
+
- Implemented during the pass: bare interactive `workspace open` now shows
|
|
247
|
+
registered initiatives that do not already have a known local view, and
|
|
248
|
+
selecting one creates/reuses the initiative-bound workspace view.
|
|
249
|
+
- Follow-up fix: when that lazy initiative view is new, `workspace open`
|
|
250
|
+
now runs the same repo/folder link prompt as `workspace setup` before
|
|
251
|
+
creating the workspace view. This avoids opening an empty workspace and
|
|
252
|
+
makes the first-run path collect implementation roots at the moment the
|
|
253
|
+
user expects it.
|
|
254
|
+
- Consider splitting baseline OpenSpec literacy from workflow delivery. A
|
|
255
|
+
small default `use-openspec` skill could be installed whenever a selected
|
|
256
|
+
agent supports skills, even if workflow delivery is set to commands-only, so
|
|
257
|
+
"commands only" means "workflow actions are slash commands" rather than "the
|
|
258
|
+
agent gets no OpenSpec context."
|
|
259
|
+
- Simpler possible slice: treat `use-openspec` as a normal managed skill bundled
|
|
260
|
+
with the configurator and installed by default. Keep it skill-only even if it
|
|
261
|
+
is presented as part of the default profile, so it does not create a slash
|
|
262
|
+
command, workflow artifact, or user-facing workflow action.
|
|
263
|
+
- Rethink `openspec initiative create` as a sparse, schema-led container
|
|
264
|
+
instead of a fully scaffolded planning packet. Initial create should likely
|
|
265
|
+
write only `initiative.yaml` plus a short `brief.md` seeded from title and
|
|
266
|
+
summary. Follow-up agent/CLI actions can add `requirements.md`, `design.md`,
|
|
267
|
+
`questions.md`, `decisions.md`, or coordination artifacts when there is
|
|
268
|
+
reviewed content to capture. Avoid default `TBD` sections, fake decisions,
|
|
269
|
+
and default initiative-level `tasks.md` that may be confused with repo-local
|
|
270
|
+
implementation tasks.
|
|
271
|
+
- Manual follow-up converted the test `agent-trace-hooks` initiative to the
|
|
272
|
+
proposed sparse shape: kept `initiative.yaml`, added `brief.md`, and removed
|
|
273
|
+
the eager generated planning files. `initiative show` still resolves because
|
|
274
|
+
current initiative identity depends on `initiative.yaml`.
|
|
275
|
+
- Promoted the broader fix into
|
|
276
|
+
`work-items/15-context-store-project-roots-and-schema-led-initiatives/`:
|
|
277
|
+
context stores should behave like OpenSpec roots for shared context, with
|
|
278
|
+
store-local config, schemas, and sparse schema-led initiative artifacts.
|
|
279
|
+
- Workspace shape correction: managed workspace views should not look like
|
|
280
|
+
repos. New workspace views should contain the generated root files
|
|
281
|
+
(`AGENTS.md`, `workspace.yaml`, and `<workspace>.code-workspace`) without a
|
|
282
|
+
default `changes/` directory or generated `.gitignore`; VS Code multi-root
|
|
283
|
+
views should show linked repos first, then initiative context, then the small
|
|
284
|
+
OpenSpec workspace folder.
|
|
285
|
+
- Guide correction: after opening a workspace, the user should ask the agent to
|
|
286
|
+
explore or draft using the initiative. The agent should resolve workspace
|
|
287
|
+
state, initiative context, and linked repo ownership, then run repo-local
|
|
288
|
+
OpenSpec commands from the owning repo. The user-facing flow should not make
|
|
289
|
+
humans type `openspec new change` or `cd` into implementation repos.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Manual Beta Reality Pass
|
|
2
|
+
|
|
3
|
+
## Status
|
|
4
|
+
|
|
5
|
+
Proposed next work item.
|
|
6
|
+
|
|
7
|
+
## Goal
|
|
8
|
+
|
|
9
|
+
Try the current beta flow by hand and use the friction as product input before
|
|
10
|
+
building more surface area.
|
|
11
|
+
|
|
12
|
+
## Pass Shape
|
|
13
|
+
|
|
14
|
+
Start from a fresh local setup and walk through:
|
|
15
|
+
|
|
16
|
+
- context store setup or registration
|
|
17
|
+
- initiative creation and editing through an agent
|
|
18
|
+
- workspace open
|
|
19
|
+
- workspace link or relink
|
|
20
|
+
- workspace doctor
|
|
21
|
+
- repo-local change creation linked to an initiative
|
|
22
|
+
- handoff back to an agent
|
|
23
|
+
|
|
24
|
+
## Output
|
|
25
|
+
|
|
26
|
+
The output should be notes, not polish:
|
|
27
|
+
|
|
28
|
+
- what felt easy
|
|
29
|
+
- what felt weird
|
|
30
|
+
- where flags leaked into user-facing docs
|
|
31
|
+
- where prompts were missing
|
|
32
|
+
- what an agent needed to be told explicitly
|
|
33
|
+
- what should become a follow-on implementation slice
|
|
34
|
+
|
|
35
|
+
## Non-Goals
|
|
36
|
+
|
|
37
|
+
- Do not require a clean public tutorial state.
|
|
38
|
+
- Do not solve every issue found during the pass.
|
|
39
|
+
- Do not turn the beta flow into a progress dashboard.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Manual Beta Reality Pass Tasks
|
|
2
|
+
|
|
3
|
+
- [ ] Run the current beta flow from a fresh user's point of view.
|
|
4
|
+
- [ ] Capture notes in the initiative as the pass happens.
|
|
5
|
+
- [ ] Mark where the user should type commands versus prompt an agent.
|
|
6
|
+
- [ ] Record confusing output, missing prompts, and unclear command names.
|
|
7
|
+
- [ ] Update beta docs with immediate findings.
|
|
8
|
+
- [ ] Split larger findings into proposed implementation work items.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Context Store First-Run And Cleanup UX Evidence
|
|
2
|
+
|
|
3
|
+
## Manual Beta Source Notes
|
|
4
|
+
|
|
5
|
+
The manual beta pass found:
|
|
6
|
+
|
|
7
|
+
- no-argument `openspec context-store setup` feels like it should start an
|
|
8
|
+
interactive setup;
|
|
9
|
+
- accidental setup previously created a store under the current repo before the
|
|
10
|
+
managed default was corrected;
|
|
11
|
+
- cleanup had no CLI path and required deleting files plus editing the registry
|
|
12
|
+
manually;
|
|
13
|
+
- Git initialization left shared files untracked without telling the user or
|
|
14
|
+
agent what to do next.
|
|
15
|
+
|
|
16
|
+
## Initial Recommendation
|
|
17
|
+
|
|
18
|
+
Keep context-store first-run UX small and local:
|
|
19
|
+
|
|
20
|
+
- prompt only for local setup choices;
|
|
21
|
+
- never push, pull, commit, create remotes, or delete files implicitly;
|
|
22
|
+
- keep JSON output explicit enough for agents to continue safely;
|
|
23
|
+
- leave team sync policy to the later shared-coordination hardening work.
|
|
24
|
+
|
|
25
|
+
## Implementation Result
|
|
26
|
+
|
|
27
|
+
- `openspec context-store setup` now runs a guided setup in interactive
|
|
28
|
+
terminals when no id is provided.
|
|
29
|
+
- Non-interactive and `--json` setup require explicit inputs and fail with a
|
|
30
|
+
structured setup-id diagnostic when the id is missing.
|
|
31
|
+
- Explicit setup paths inside another Git repository are blocked
|
|
32
|
+
non-interactively and require explicit confirmation interactively.
|
|
33
|
+
- `context-store unregister <id>` removes only the local registry entry.
|
|
34
|
+
- `context-store remove <id>` removes the local registry entry and deletes the
|
|
35
|
+
local folder only after confirmation or `--yes`; it refuses to delete folders
|
|
36
|
+
without matching context-store metadata.
|
|
37
|
+
- Human success output is intentionally compact; JSON output carries exact
|
|
38
|
+
registry, file, and Git state without `next_commands`.
|
|
39
|
+
|
|
40
|
+
Verification:
|
|
41
|
+
|
|
42
|
+
- `pnpm build`
|
|
43
|
+
- `pnpm lint`
|
|
44
|
+
- `pnpm vitest run test/commands/context-store.test.ts test/core/context-store/registry.test.ts`
|
|
45
|
+
- `pnpm test`
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# Context Store First-Run And Cleanup UX
|
|
2
|
+
|
|
3
|
+
## Status
|
|
4
|
+
|
|
5
|
+
Implemented.
|
|
6
|
+
|
|
7
|
+
This work item covers the context-store setup and cleanup gaps that were not
|
|
8
|
+
fully captured by later docs, schema, or handoff work.
|
|
9
|
+
|
|
10
|
+
## Source Of Truth
|
|
11
|
+
|
|
12
|
+
Manual beta notes:
|
|
13
|
+
|
|
14
|
+
- `../11-manual-beta-reality-pass/notes.md`, especially the findings around
|
|
15
|
+
no-argument setup, cleanup, target path safety, and shared-store Git guidance.
|
|
16
|
+
|
|
17
|
+
Preserve the current boundary:
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
Context stores sync truth.
|
|
21
|
+
Collections shape truth.
|
|
22
|
+
Initiatives coordinate work.
|
|
23
|
+
Workspaces open local views.
|
|
24
|
+
Changes implement repo-owned slices.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Why This Exists
|
|
28
|
+
|
|
29
|
+
The beta pass found that `openspec context-store setup` feels like a first-run
|
|
30
|
+
entrypoint, but no-argument setup currently does not guide the user through the
|
|
31
|
+
choices they need to make. The pass also found that recovering from a mistaken
|
|
32
|
+
store setup requires manual registry edits and file deletion.
|
|
33
|
+
|
|
34
|
+
These are local lifecycle problems, not shared coordination model problems.
|
|
35
|
+
They should be solved before asking new users or teammates to trust context
|
|
36
|
+
stores as normal local workflow.
|
|
37
|
+
|
|
38
|
+
## Goals
|
|
39
|
+
|
|
40
|
+
- Make no-argument `context-store setup` a friendly interactive setup path in a
|
|
41
|
+
terminal.
|
|
42
|
+
- Keep non-interactive and JSON behavior deterministic and agent-safe.
|
|
43
|
+
- Make the target store path explicit before creation.
|
|
44
|
+
- Provide a supported local cleanup command for removing or unregistering a
|
|
45
|
+
context store from this machine.
|
|
46
|
+
- Keep Git setup limited to optional local initialization, without staging,
|
|
47
|
+
committing, pushing, creating remotes, or choosing team workflow.
|
|
48
|
+
|
|
49
|
+
## Non-Goals
|
|
50
|
+
|
|
51
|
+
- Do not add remote creation, clone, pull, push, watch, or sync automation.
|
|
52
|
+
- Do not make setup choose team governance, branching, or review policy.
|
|
53
|
+
- Do not delete shared files without an explicit user choice.
|
|
54
|
+
- Do not make context stores implementation repos.
|
|
55
|
+
|
|
56
|
+
## UX Direction
|
|
57
|
+
|
|
58
|
+
Locked decisions from the product pass:
|
|
59
|
+
|
|
60
|
+
- `openspec context-store setup` with no arguments should start a guided setup
|
|
61
|
+
when run in an interactive terminal. Agents, scripts, CI, and `--json` callers
|
|
62
|
+
should pass the equivalent explicit inputs instead of relying on prompts.
|
|
63
|
+
- The guided setup should ask only for values that map to existing setup flags:
|
|
64
|
+
context store id, context store path, and whether to initialize Git.
|
|
65
|
+
- User-facing prompt copy should stay direct:
|
|
66
|
+
`Context store name`, `Where should this context store live?`,
|
|
67
|
+
`Initialize Git in this context store?`, then a final
|
|
68
|
+
`Create this context store?` confirmation after showing the resolved summary.
|
|
69
|
+
- The default location should be the managed OpenSpec context-store directory,
|
|
70
|
+
not the current working directory. Users can still choose any explicit safe
|
|
71
|
+
local path; OpenSpec stores that machine-local path in the local registry, not
|
|
72
|
+
in shared context-store metadata.
|
|
73
|
+
- Setup should be protective around risky paths: create missing paths, accept
|
|
74
|
+
empty directories, treat matching context-store metadata as idempotent, stop
|
|
75
|
+
on metadata/id conflicts, stop on files, and stop or explicitly warn before
|
|
76
|
+
using a non-empty unmarked directory or a path inside another Git repository.
|
|
77
|
+
- Cleanup should expose two explicit intents: `context-store unregister <id>`
|
|
78
|
+
forgets the machine-local registry entry and leaves files alone, while
|
|
79
|
+
`context-store remove <id>` unregisters the store and deletes the local folder
|
|
80
|
+
only after showing the exact path and receiving confirmation.
|
|
81
|
+
- Happy-path human output should stay small: show the context store id, its
|
|
82
|
+
location, and the next user-facing step. Do not show Git state, metadata
|
|
83
|
+
paths, registry paths, or created-file lists unless there is a warning,
|
|
84
|
+
failure, `--json`, or `context-store doctor` output.
|
|
85
|
+
- JSON output should report exact resulting state, not workflow guidance. Include
|
|
86
|
+
ids, roots, metadata paths, registry state, Git facts, created/deleted files,
|
|
87
|
+
and warnings/errors where present, but do not include `next_commands`. Empty
|
|
88
|
+
`status: []` can be preserved where existing JSON compatibility needs it, but
|
|
89
|
+
new behavior should not rely on blank status arrays for meaning.
|
|
90
|
+
- Git initialization is an optional local convenience only. When requested,
|
|
91
|
+
OpenSpec may run `git init`, but it must not stage, commit, push, create
|
|
92
|
+
remotes, create branches, or define team Git policy.
|
|
93
|
+
|
|
94
|
+
Interactive setup should cover the minimum choices:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
Store id
|
|
98
|
+
Target path, defaulting to the managed OpenSpec context-store location
|
|
99
|
+
Whether to initialize Git
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Before writing files, output should show the resolved target path. If an
|
|
103
|
+
explicit path is inside another Git repo or an existing non-empty directory,
|
|
104
|
+
the command should either ask for confirmation with clear wording or fail with
|
|
105
|
+
a fix message in non-interactive mode.
|
|
106
|
+
|
|
107
|
+
Cleanup should distinguish local registration from file deletion:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
openspec context-store unregister team-context
|
|
111
|
+
openspec context-store remove team-context
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
The command names are explicit because the user intents are different:
|
|
115
|
+
|
|
116
|
+
- forget this local registry entry only
|
|
117
|
+
- delete this local context-store folder too
|
|
118
|
+
|
|
119
|
+
If Git initialization fails, setup should explain that the user can install Git
|
|
120
|
+
or rerun setup without Git. Successful Git initialization stays out of the
|
|
121
|
+
happy-path human output.
|
|
122
|
+
|
|
123
|
+
## Agent / JSON Contract
|
|
124
|
+
|
|
125
|
+
JSON setup output should report:
|
|
126
|
+
|
|
127
|
+
- store id
|
|
128
|
+
- root path
|
|
129
|
+
- metadata path
|
|
130
|
+
- whether Git was initialized
|
|
131
|
+
- whether files were created or already existed
|
|
132
|
+
- local registry path or registry entry identity
|
|
133
|
+
|
|
134
|
+
JSON cleanup output should report:
|
|
135
|
+
|
|
136
|
+
- store id
|
|
137
|
+
- removed local registry entry, if any
|
|
138
|
+
- deleted root path, if requested
|
|
139
|
+
- files left on disk, if deletion was not requested
|
|
140
|
+
- warnings for missing, ambiguous, or already-removed state
|
|
141
|
+
|
|
142
|
+
## Done When
|
|
143
|
+
|
|
144
|
+
- A fresh user can run `openspec context-store setup` in a terminal and be led
|
|
145
|
+
through the normal local setup path without knowing flags.
|
|
146
|
+
- Non-interactive and JSON setup still fail predictably when required choices
|
|
147
|
+
are missing.
|
|
148
|
+
- A mistaken local store registration can be removed through the CLI without
|
|
149
|
+
hand-editing the registry.
|
|
150
|
+
- Setup and cleanup output make local file, registry, and Git state explicit.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Context Store First-Run And Cleanup UX Tasks
|
|
2
|
+
|
|
3
|
+
- [x] Decide exact no-argument `context-store setup` behavior for TTY,
|
|
4
|
+
non-TTY, and `--json` invocations.
|
|
5
|
+
- [x] Design the interactive setup prompts for store id, target path, and Git
|
|
6
|
+
initialization.
|
|
7
|
+
- [x] Define target-path safety behavior for managed defaults, explicit paths,
|
|
8
|
+
paths inside existing Git repos, and non-empty directories.
|
|
9
|
+
- [x] Implement the interactive setup flow without changing deterministic
|
|
10
|
+
non-interactive behavior.
|
|
11
|
+
- [x] Decide whether the cleanup surface is `unregister`, `remove`, or both.
|
|
12
|
+
- [x] Define cleanup semantics for "forget local registration" versus "delete
|
|
13
|
+
local files too".
|
|
14
|
+
- [x] Implement local registry cleanup with explicit confirmation before file
|
|
15
|
+
deletion.
|
|
16
|
+
- [x] Add human output that stays small and JSON output that reports exact setup
|
|
17
|
+
and cleanup state without `next_commands`.
|
|
18
|
+
- [x] Keep Git initialization scoped to local `git init` with no auto-staging,
|
|
19
|
+
committing, pushing, remote creation, or team policy.
|
|
20
|
+
- [x] Add focused tests for setup prompts, non-interactive failures, path
|
|
21
|
+
safety, registry cleanup, and JSON output.
|
|
22
|
+
- [x] Update beta docs and agent playbook references for first-run setup and
|
|
23
|
+
cleanup.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Agent Handoff Output And Delivery Polish Evidence
|
|
2
|
+
|
|
3
|
+
## Manual Beta Source Notes
|
|
4
|
+
|
|
5
|
+
The manual beta pass found:
|
|
6
|
+
|
|
7
|
+
- after context-store setup, the user is told to ask an agent to create an
|
|
8
|
+
initiative, but a fresh agent may not know the beta CLI or where to find the
|
|
9
|
+
playbook;
|
|
10
|
+
- `initiative create --json` reports `created_files` as relative names, so
|
|
11
|
+
agents must combine them with the returned root before writing;
|
|
12
|
+
- "commands only" can sound like "the agent gets no OpenSpec guidance," even
|
|
13
|
+
though users may only mean slash commands as workflow entrypoints;
|
|
14
|
+
- tools without command adapters need a clear warning when workflow slash
|
|
15
|
+
commands cannot be installed.
|
|
16
|
+
|
|
17
|
+
## Initial Recommendation
|
|
18
|
+
|
|
19
|
+
Treat this as output polish, not a new workflow engine:
|
|
20
|
+
|
|
21
|
+
- add direct path fields rather than breaking existing relative fields;
|
|
22
|
+
- keep handoff guidance concrete and command-sized;
|
|
23
|
+
- keep baseline OpenSpec literacy separate from workflow entrypoints;
|
|
24
|
+
- leave the broader "what should I do next?" command to the proposed handoff
|
|
25
|
+
work item.
|