remo-cli 2.0.0rc4__tar.gz → 2.2.0__tar.gz
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.
- remo_cli-2.0.0rc4/.claude/commands/speckit.analyze.md → remo_cli-2.2.0/.claude/skills/speckit-analyze/SKILL.md +86 -8
- remo_cli-2.0.0rc4/.claude/commands/speckit.checklist.md → remo_cli-2.2.0/.claude/skills/speckit-checklist/SKILL.md +93 -11
- remo_cli-2.0.0rc4/.claude/commands/speckit.clarify.md → remo_cli-2.2.0/.claude/skills/speckit-clarify/SKILL.md +130 -23
- remo_cli-2.2.0/.claude/skills/speckit-constitution/SKILL.md +159 -0
- remo_cli-2.2.0/.claude/skills/speckit-converge/SKILL.md +279 -0
- remo_cli-2.2.0/.claude/skills/speckit-git-commit/SKILL.md +53 -0
- remo_cli-2.2.0/.claude/skills/speckit-git-feature/SKILL.md +72 -0
- remo_cli-2.2.0/.claude/skills/speckit-git-initialize/SKILL.md +54 -0
- remo_cli-2.2.0/.claude/skills/speckit-git-remote/SKILL.md +50 -0
- remo_cli-2.2.0/.claude/skills/speckit-git-validate/SKILL.md +54 -0
- remo_cli-2.0.0rc4/.claude/commands/speckit.implement.md → remo_cli-2.2.0/.claude/skills/speckit-implement/SKILL.md +96 -5
- remo_cli-2.2.0/.claude/skills/speckit-plan/SKILL.md +169 -0
- remo_cli-2.0.0rc4/.claude/commands/speckit.specify.md → remo_cli-2.2.0/.claude/skills/speckit-specify/SKILL.md +153 -63
- remo_cli-2.2.0/.claude/skills/speckit-tasks/SKILL.md +217 -0
- remo_cli-2.2.0/.claude/skills/speckit-taskstoissues/SKILL.md +112 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.devcontainer/devcontainer.json +3 -2
- remo_cli-2.2.0/.dockerignore +38 -0
- remo_cli-2.2.0/.github/workflows/ci.yml +138 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.github/workflows/provision.yml +1 -1
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.github/workflows/release.yml +62 -3
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.github/workflows/smoke-test.yml +72 -7
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.github/workflows/teardown.yml +1 -1
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.gitignore +18 -0
- remo_cli-2.2.0/.specify/extensions/.registry +23 -0
- remo_cli-2.2.0/.specify/extensions/git/README.md +100 -0
- remo_cli-2.2.0/.specify/extensions/git/commands/speckit.git.commit.md +48 -0
- remo_cli-2.2.0/.specify/extensions/git/commands/speckit.git.feature.md +67 -0
- remo_cli-2.2.0/.specify/extensions/git/commands/speckit.git.initialize.md +49 -0
- remo_cli-2.2.0/.specify/extensions/git/commands/speckit.git.remote.md +45 -0
- remo_cli-2.2.0/.specify/extensions/git/commands/speckit.git.validate.md +49 -0
- remo_cli-2.2.0/.specify/extensions/git/config-template.yml +62 -0
- remo_cli-2.2.0/.specify/extensions/git/extension.yml +140 -0
- remo_cli-2.2.0/.specify/extensions/git/git-config.yml +62 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/bash/auto-commit.sh +140 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/bash/create-new-feature.sh +453 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/bash/git-common.sh +54 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/bash/initialize-repo.sh +54 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/powershell/auto-commit.ps1 +169 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/powershell/create-new-feature.ps1 +403 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/powershell/git-common.ps1 +51 -0
- remo_cli-2.2.0/.specify/extensions/git/scripts/powershell/initialize-repo.ps1 +69 -0
- remo_cli-2.2.0/.specify/extensions.yml +149 -0
- remo_cli-2.2.0/.specify/feature.json +3 -0
- remo_cli-2.2.0/.specify/init-options.json +9 -0
- remo_cli-2.2.0/.specify/integration.json +15 -0
- remo_cli-2.2.0/.specify/integrations/claude.manifest.json +17 -0
- remo_cli-2.2.0/.specify/integrations/speckit.manifest.json +17 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/scripts/bash/check-prerequisites.sh +49 -20
- remo_cli-2.2.0/.specify/scripts/bash/common.sh +704 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/scripts/bash/create-new-feature.sh +130 -126
- remo_cli-2.2.0/.specify/scripts/bash/setup-plan.sh +83 -0
- remo_cli-2.2.0/.specify/scripts/bash/setup-tasks.sh +91 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/templates/checklist-template.md +5 -5
- remo_cli-2.2.0/.specify/templates/constitution-template.md +50 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/templates/plan-template.md +23 -14
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/templates/spec-template.md +21 -5
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/templates/tasks-template.md +6 -5
- remo_cli-2.2.0/.specify/workflows/speckit/workflow.yml +77 -0
- remo_cli-2.2.0/.specify/workflows/workflow-registry.json +13 -0
- remo_cli-2.0.0rc4/CLAUDE.md → remo_cli-2.2.0/AGENTS.md +14 -3
- remo_cli-2.2.0/CLAUDE.md +197 -0
- remo_cli-2.0.0rc4/README.md → remo_cli-2.2.0/PKG-INFO +106 -0
- remo_cli-2.0.0rc4/PKG-INFO → remo_cli-2.2.0/README.md +80 -19
- remo_cli-2.2.0/ansible/roles/deacon/defaults/main.yml +7 -0
- remo_cli-2.2.0/ansible/roles/deacon/tasks/main.yml +76 -0
- remo_cli-2.2.0/ansible/roles/user_setup/defaults/main.yml +26 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/user_setup/tasks/main.yml +37 -5
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/user_setup/templates/devshell.sh.j2 +4 -4
- remo_cli-2.2.0/ansible/roles/user_setup/templates/project-launch.sh.j2 +147 -0
- remo_cli-2.2.0/ansible/roles/user_setup/templates/remo-host.sh.j2 +299 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/tasks/configure_dev_tools.yml +15 -2
- remo_cli-2.2.0/docker/Dockerfile +142 -0
- remo_cli-2.2.0/docker/compose.example.yml +257 -0
- remo_cli-2.2.0/docker/entrypoint.sh +88 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/docs/proxmox.md +68 -0
- remo_cli-2.2.0/docs/remo-web-speckit-input.md +777 -0
- remo_cli-2.2.0/docs/remo-web.html +223 -0
- remo_cli-2.2.0/docs/web-session-interface.md +742 -0
- remo_cli-2.2.0/frontend/index.html +12 -0
- remo_cli-2.2.0/frontend/package-lock.json +3966 -0
- remo_cli-2.2.0/frontend/package.json +47 -0
- remo_cli-2.2.0/frontend/public/README.md +10 -0
- remo_cli-2.2.0/frontend/public/dist__ghostty-vt.wasm +0 -0
- remo_cli-2.2.0/frontend/public/ghostty-vt.wasm +0 -0
- remo_cli-2.2.0/frontend/scripts/copy-ghostty-wasm.mjs +86 -0
- remo_cli-2.2.0/frontend/src/api/client.ts +448 -0
- remo_cli-2.2.0/frontend/src/components/AppRoot.tsx +25 -0
- remo_cli-2.2.0/frontend/src/components/AppShell.css +96 -0
- remo_cli-2.2.0/frontend/src/components/AppShell.tsx +269 -0
- remo_cli-2.2.0/frontend/src/components/AwaitingAdoption.css +115 -0
- remo_cli-2.2.0/frontend/src/components/AwaitingAdoption.tsx +148 -0
- remo_cli-2.2.0/frontend/src/components/OfflineOverlay.css +52 -0
- remo_cli-2.2.0/frontend/src/components/OfflineOverlay.tsx +26 -0
- remo_cli-2.2.0/frontend/src/components/PairToSync.css +71 -0
- remo_cli-2.2.0/frontend/src/components/PairToSync.tsx +120 -0
- remo_cli-2.2.0/frontend/src/components/SessionRail.css +392 -0
- remo_cli-2.2.0/frontend/src/components/SessionRail.tsx +354 -0
- remo_cli-2.2.0/frontend/src/components/SettingsPage.css +298 -0
- remo_cli-2.2.0/frontend/src/components/SettingsPage.tsx +289 -0
- remo_cli-2.2.0/frontend/src/components/ShortcutsModal.css +49 -0
- remo_cli-2.2.0/frontend/src/components/ShortcutsModal.tsx +31 -0
- remo_cli-2.2.0/frontend/src/components/TerminalCard.css +299 -0
- remo_cli-2.2.0/frontend/src/components/TerminalCard.tsx +532 -0
- remo_cli-2.2.0/frontend/src/components/TopBar.css +129 -0
- remo_cli-2.2.0/frontend/src/components/TopBar.tsx +135 -0
- remo_cli-2.2.0/frontend/src/components/WorkspacePane.css +70 -0
- remo_cli-2.2.0/frontend/src/components/WorkspacePane.tsx +213 -0
- remo_cli-2.2.0/frontend/src/components/providerMeta.ts +54 -0
- remo_cli-2.2.0/frontend/src/components/railModel.ts +137 -0
- remo_cli-2.2.0/frontend/src/lib/clipboard.ts +28 -0
- remo_cli-2.2.0/frontend/src/lib/fullscreen.ts +38 -0
- remo_cli-2.2.0/frontend/src/main.tsx +33 -0
- remo_cli-2.2.0/frontend/src/state/discovery.ts +196 -0
- remo_cli-2.2.0/frontend/src/state/fonts.ts +103 -0
- remo_cli-2.2.0/frontend/src/state/health.ts +126 -0
- remo_cli-2.2.0/frontend/src/state/latency.test.ts +35 -0
- remo_cli-2.2.0/frontend/src/state/latency.ts +69 -0
- remo_cli-2.2.0/frontend/src/state/settings.ts +236 -0
- remo_cli-2.2.0/frontend/src/state/useConsoleKeyboard.ts +96 -0
- remo_cli-2.2.0/frontend/src/state/workspace.test.ts +98 -0
- remo_cli-2.2.0/frontend/src/state/workspace.ts +308 -0
- remo_cli-2.2.0/frontend/src/terminal/GhosttyRenderer.ts +194 -0
- remo_cli-2.2.0/frontend/src/terminal/RendererAdapter.ts +104 -0
- remo_cli-2.2.0/frontend/src/terminal/TerminalConnection.test.ts +147 -0
- remo_cli-2.2.0/frontend/src/terminal/TerminalConnection.ts +402 -0
- remo_cli-2.2.0/frontend/src/terminal/XtermRenderer.ts +248 -0
- remo_cli-2.2.0/frontend/src/terminal/defaultRenderer.ts +65 -0
- remo_cli-2.2.0/frontend/src/terminal/keymap.test.ts +52 -0
- remo_cli-2.2.0/frontend/src/terminal/keymap.ts +41 -0
- remo_cli-2.2.0/frontend/src/test/setup.ts +10 -0
- remo_cli-2.2.0/frontend/src/theme/fonts.ts +15 -0
- remo_cli-2.2.0/frontend/src/theme/tokens.css +128 -0
- remo_cli-2.2.0/frontend/tsconfig.json +20 -0
- remo_cli-2.2.0/frontend/vite.config.ts +31 -0
- remo_cli-2.2.0/playwright.config.ts +75 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/pyproject.toml +18 -1
- remo_cli-2.2.0/remo.svg +8 -0
- remo_cli-2.2.0/specs/010-web-session-interface/checklists/requirements.md +44 -0
- remo_cli-2.2.0/specs/010-web-session-interface/contracts/remo-host-protocol.md +100 -0
- remo_cli-2.2.0/specs/010-web-session-interface/contracts/rest-api.md +94 -0
- remo_cli-2.2.0/specs/010-web-session-interface/contracts/terminal-websocket.md +74 -0
- remo_cli-2.2.0/specs/010-web-session-interface/data-model.md +128 -0
- remo_cli-2.2.0/specs/010-web-session-interface/plan.md +141 -0
- remo_cli-2.2.0/specs/010-web-session-interface/quickstart.md +126 -0
- remo_cli-2.2.0/specs/010-web-session-interface/research.md +164 -0
- remo_cli-2.2.0/specs/010-web-session-interface/spec.md +344 -0
- remo_cli-2.2.0/specs/010-web-session-interface/tasks.md +305 -0
- remo_cli-2.2.0/specs/011-web-adopt/checklists/requirements.md +44 -0
- remo_cli-2.2.0/specs/011-web-adopt/contracts/cli-web-adopt.md +78 -0
- remo_cli-2.2.0/specs/011-web-adopt/contracts/setup-api.md +98 -0
- remo_cli-2.2.0/specs/011-web-adopt/data-model.md +123 -0
- remo_cli-2.2.0/specs/011-web-adopt/plan.md +163 -0
- remo_cli-2.2.0/specs/011-web-adopt/quickstart-results.md +29 -0
- remo_cli-2.2.0/specs/011-web-adopt/quickstart.md +135 -0
- remo_cli-2.2.0/specs/011-web-adopt/research.md +311 -0
- remo_cli-2.2.0/specs/011-web-adopt/spec.md +507 -0
- remo_cli-2.2.0/specs/011-web-adopt/tasks.md +213 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/contracts/cli-web-adopt.md +63 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/contracts/pairing-api.md +72 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/contracts/setup-api.md +52 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/data-model.md +102 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/plan.md +167 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/quickstart.md +132 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/research.md +287 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/spec.md +435 -0
- remo_cli-2.2.0/specs/012-web-adopt-pairing/tasks.md +239 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/cli/main.py +2 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/cli/providers/proxmox.py +21 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/cli/shell.py +63 -2
- remo_cli-2.2.0/src/remo_cli/cli/web.py +345 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/config.py +65 -10
- remo_cli-2.2.0/src/remo_cli/core/remo_host_client.py +460 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/ssh.py +232 -10
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/validation.py +59 -0
- remo_cli-2.2.0/src/remo_cli/core/web_adopt.py +1313 -0
- remo_cli-2.2.0/src/remo_cli/models/capability.py +62 -0
- remo_cli-2.2.0/src/remo_cli/models/discovery.py +57 -0
- remo_cli-2.2.0/src/remo_cli/models/session_target.py +72 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/providers/proxmox.py +14 -1
- remo_cli-2.2.0/src/remo_cli/web/__init__.py +3 -0
- remo_cli-2.2.0/src/remo_cli/web/api/__init__.py +3 -0
- remo_cli-2.2.0/src/remo_cli/web/api/hosts.py +180 -0
- remo_cli-2.2.0/src/remo_cli/web/api/pairing.py +81 -0
- remo_cli-2.2.0/src/remo_cli/web/api/setup.py +412 -0
- remo_cli-2.2.0/src/remo_cli/web/api/terminals.py +477 -0
- remo_cli-2.2.0/src/remo_cli/web/app.py +255 -0
- remo_cli-2.2.0/src/remo_cli/web/check.py +357 -0
- remo_cli-2.2.0/src/remo_cli/web/config.py +205 -0
- remo_cli-2.2.0/src/remo_cli/web/discovery.py +452 -0
- remo_cli-2.2.0/src/remo_cli/web/health.py +250 -0
- remo_cli-2.2.0/src/remo_cli/web/logging_config.py +124 -0
- remo_cli-2.2.0/src/remo_cli/web/models.py +85 -0
- remo_cli-2.2.0/src/remo_cli/web/operator_auth.py +109 -0
- remo_cli-2.2.0/src/remo_cli/web/pairing.py +142 -0
- remo_cli-2.2.0/src/remo_cli/web/ssh_master.py +107 -0
- remo_cli-2.2.0/src/remo_cli/web/state.py +287 -0
- remo_cli-2.2.0/src/remo_cli/web/terminal.py +548 -0
- remo_cli-2.2.0/src/remo_cli/web/terminal_registry.py +221 -0
- remo_cli-2.2.0/src/remo_cli/web/tokens.py +104 -0
- remo_cli-2.2.0/tests/ansible/test_remo_host_idempotency.py +153 -0
- remo_cli-2.2.0/tests/e2e/fixtures.ts +237 -0
- remo_cli-2.2.0/tests/e2e/ghostty-shell-io.spec.ts +231 -0
- remo_cli-2.2.0/tests/e2e/ghostty-tui-compatibility.spec.ts +235 -0
- remo_cli-2.2.0/tests/e2e/keyboard-routing.spec.ts +101 -0
- remo_cli-2.2.0/tests/e2e/mobile.spec.ts +81 -0
- remo_cli-2.2.0/tests/e2e/reconnect.spec.ts +108 -0
- remo_cli-2.2.0/tests/e2e/workspace-layout.spec.ts +107 -0
- remo_cli-2.2.0/tests/image/test_docker_image.py +1225 -0
- remo_cli-2.2.0/tests/integration/_nine_terminal_fixture.py +486 -0
- remo_cli-2.2.0/tests/integration/test_nine_terminals.py +255 -0
- remo_cli-2.2.0/tests/integration/test_nine_terminals_soak.py +547 -0
- remo_cli-2.2.0/tests/integration/test_remo_host_e2e.py +571 -0
- remo_cli-2.2.0/tests/integration/test_security_rejections.py +354 -0
- remo_cli-2.2.0/tests/integration/test_terminal_attach.py +379 -0
- remo_cli-2.2.0/tests/integration/test_web_adopt_e2e.py +671 -0
- remo_cli-2.2.0/tests/integration/test_web_cli_parity.py +522 -0
- remo_cli-2.2.0/tests/perf/test_latency.py +622 -0
- remo_cli-2.2.0/tests/unit/__init__.py +0 -0
- remo_cli-2.2.0/tests/unit/cli/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/cli/test_main.py +10 -1
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/cli/test_shell.py +172 -0
- remo_cli-2.2.0/tests/unit/cli/test_web_adopt_cmd.py +353 -0
- remo_cli-2.2.0/tests/unit/core/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_config.py +94 -0
- remo_cli-2.2.0/tests/unit/core/test_remo_host_client.py +687 -0
- remo_cli-2.2.0/tests/unit/core/test_ssh_controlpath.py +283 -0
- remo_cli-2.2.0/tests/unit/core/test_ssh_identity_opts.py +363 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_validation.py +89 -0
- remo_cli-2.2.0/tests/unit/core/test_web_adopt_authorize.py +346 -0
- remo_cli-2.2.0/tests/unit/core/test_web_adopt_code.py +56 -0
- remo_cli-2.2.0/tests/unit/core/test_web_adopt_payload.py +253 -0
- remo_cli-2.2.0/tests/unit/core/test_web_adopt_trust.py +554 -0
- remo_cli-2.2.0/tests/unit/core/test_web_push.py +386 -0
- remo_cli-2.2.0/tests/unit/models/__init__.py +0 -0
- remo_cli-2.2.0/tests/unit/models/test_capability.py +90 -0
- remo_cli-2.2.0/tests/unit/models/test_discovery.py +119 -0
- remo_cli-2.2.0/tests/unit/models/test_session_target.py +106 -0
- remo_cli-2.2.0/tests/unit/providers/__init__.py +0 -0
- remo_cli-2.2.0/tests/unit/providers/test_proxmox_devcontainer_runtime.py +80 -0
- remo_cli-2.2.0/tests/unit/test_ansible_templates.py +312 -0
- remo_cli-2.2.0/tests/unit/web/__init__.py +0 -0
- remo_cli-2.2.0/tests/unit/web/_pairing_support.py +53 -0
- remo_cli-2.2.0/tests/unit/web/conftest.py +188 -0
- remo_cli-2.2.0/tests/unit/web/test_backpressure.py +165 -0
- remo_cli-2.2.0/tests/unit/web/test_check.py +284 -0
- remo_cli-2.2.0/tests/unit/web/test_csp.py +180 -0
- remo_cli-2.2.0/tests/unit/web/test_discovery.py +254 -0
- remo_cli-2.2.0/tests/unit/web/test_health_states.py +304 -0
- remo_cli-2.2.0/tests/unit/web/test_hosts_mapping.py +72 -0
- remo_cli-2.2.0/tests/unit/web/test_lazy_import.py +129 -0
- remo_cli-2.2.0/tests/unit/web/test_log_redaction.py +250 -0
- remo_cli-2.2.0/tests/unit/web/test_mint_gating.py +57 -0
- remo_cli-2.2.0/tests/unit/web/test_operator_auth.py +90 -0
- remo_cli-2.2.0/tests/unit/web/test_pairing.py +116 -0
- remo_cli-2.2.0/tests/unit/web/test_pairing_origin.py +43 -0
- remo_cli-2.2.0/tests/unit/web/test_setup_api.py +506 -0
- remo_cli-2.2.0/tests/unit/web/test_setup_auth.py +273 -0
- remo_cli-2.2.0/tests/unit/web/test_setup_dormancy.py +110 -0
- remo_cli-2.2.0/tests/unit/web/test_state.py +298 -0
- remo_cli-2.2.0/tests/unit/web/test_terminal_resize.py +133 -0
- remo_cli-2.2.0/tests/unit/web/test_terminals_api.py +336 -0
- remo_cli-2.2.0/tests/unit/web/test_tokens.py +140 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/uv.lock +584 -5
- remo_cli-2.0.0rc4/.claude/commands/speckit.constitution.md +0 -82
- remo_cli-2.0.0rc4/.claude/commands/speckit.plan.md +0 -89
- remo_cli-2.0.0rc4/.claude/commands/speckit.tasks.md +0 -137
- remo_cli-2.0.0rc4/.claude/commands/speckit.taskstoissues.md +0 -30
- remo_cli-2.0.0rc4/.dockerignore +0 -31
- remo_cli-2.0.0rc4/.github/workflows/ci.yml +0 -71
- remo_cli-2.0.0rc4/.specify/scripts/bash/common.sh +0 -156
- remo_cli-2.0.0rc4/.specify/scripts/bash/setup-plan.sh +0 -61
- remo_cli-2.0.0rc4/ansible/roles/user_setup/defaults/main.yml +0 -14
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.github/dependabot.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.github/workflows/smoke-test-cleanup.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.maverick/checkpoints/feature/implementation_complete.json +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.maverick/checkpoints/feature/phase_${{ index }}_complete.json +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.maverick/checkpoints/feature/validation_complete.json +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/memory/constitution.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/scripts/bash/update-agent-context.sh +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/.specify/templates/agent-file-template.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/CONTRIBUTING.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/Dockerfile +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/LICENSE +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/.ansible-lint +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/README.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/ansible.cfg +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/aws_configure.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/aws_resize.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/aws_site.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/aws_teardown.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/group_vars/all.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/group_vars/incus_containers.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/group_vars/proxmox_containers.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/hetzner_configure.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/hetzner_provision.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/hetzner_resize.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/hetzner_site.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/hetzner_teardown.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/incus_bootstrap.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/incus_configure.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/incus_provision.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/incus_resize.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/incus_site.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/incus_teardown.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/inventory/hosts.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/inventory/incus_containers.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/proxmox_bootstrap.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/proxmox_configure.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/proxmox_provision.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/proxmox_resize.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/proxmox_site.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/proxmox_teardown.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/requirements.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/aws_server/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/aws_server/tasks/ebs.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/aws_server/tasks/ec2.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/aws_server/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/aws_server/tasks/patch_manager.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/aws_server/tasks/preflight.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/aws_server/tasks/security_group.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/devcontainers/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/docker/handlers/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/docker/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/fzf/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/github_cli/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/hetzner_server/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/hetzner_server/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_bootstrap/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_bootstrap/handlers/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_bootstrap/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container/handlers/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container/meta/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container/tasks/preflight.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container_teardown/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container_teardown/meta/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/incus_container_teardown/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/nodejs/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/nodejs/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_bootstrap/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_bootstrap/meta/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_bootstrap/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container/handlers/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container/meta/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container/tasks/preflight.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container_teardown/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container_teardown/meta/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/proxmox_container_teardown/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/user_setup/templates/project-menu.sh.j2 +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/zellij/defaults/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/zellij/tasks/main.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/zellij/templates/config.kdl.j2 +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/ansible/roles/zellij/templates/layouts/minimal.kdl.j2 +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/docs/aws.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/docs/hetzner.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/docs/incus.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/docs/install.sh +0 -0
- /remo_cli-2.0.0rc4/src/remo_cli/cli/__init__.py → /remo_cli-2.2.0/frontend/src/terminal/.gitkeep +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/install.sh +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/maverick.yaml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/project-menu.sh +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/remo +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/run.sh +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/scripts/setup-aws-oidc.sh +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/checklists/requirements.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/checklists/validation.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/contracts/playbook-interface.yaml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/contracts/role-interface.yaml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/data-model.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/plan.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/quickstart.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/research.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/spec.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/001-bootstrap-incus-host/tasks.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/checklists/requirements.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/contracts/playbook-interface.yaml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/contracts/role-interface.yaml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/data-model.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/plan.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/quickstart.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/research.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/spec.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/002-incus-container-support/tasks.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/003-python-cli-rewrite/checklists/requirements.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/003-python-cli-rewrite/data-model.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/003-python-cli-rewrite/plan.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/003-python-cli-rewrite/quickstart.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/003-python-cli-rewrite/research.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/003-python-cli-rewrite/spec.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/003-python-cli-rewrite/tasks.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/004-proxmox-container-support/spec.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/checklists/requirements.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/contracts/cli-surface.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/data-model.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/plan.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/quickstart.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/research.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/spec.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/specs/005-provider-snapshots/tasks.md +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/__main__.py +0 -0
- {remo_cli-2.0.0rc4/src/remo_cli/cli/providers → remo_cli-2.2.0/src/remo_cli/cli}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/cli/cp.py +0 -0
- {remo_cli-2.0.0rc4/src/remo_cli/core → remo_cli-2.2.0/src/remo_cli/cli/providers}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/cli/providers/aws.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/cli/providers/hetzner.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/cli/providers/incus.py +0 -0
- {remo_cli-2.0.0rc4/src/remo_cli/models → remo_cli-2.2.0/src/remo_cli/core}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/ansible_runner.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/completion.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/known_hosts.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/output.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/picker.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/rsync.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/core/version.py +0 -0
- {remo_cli-2.0.0rc4/src/remo_cli/providers → remo_cli-2.2.0/src/remo_cli/models}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/models/host.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/models/snapshot.py +0 -0
- {remo_cli-2.0.0rc4/tests → remo_cli-2.2.0/src/remo_cli/providers}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/providers/aws.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/providers/hetzner.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/src/remo_cli/providers/incus.py +0 -0
- {remo_cli-2.0.0rc4/tests/integration → remo_cli-2.2.0/tests}/__init__.py +0 -0
- {remo_cli-2.0.0rc4/tests/unit → remo_cli-2.2.0/tests/ansible}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/conftest.py +0 -0
- {remo_cli-2.0.0rc4/tests/unit/cli → remo_cli-2.2.0/tests/image}/__init__.py +0 -0
- {remo_cli-2.0.0rc4/tests/unit/core → remo_cli-2.2.0/tests/integration}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/integration/orbstack-cloud-init.yml +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/integration/orbstack.sh +0 -0
- {remo_cli-2.0.0rc4/tests/unit/providers → remo_cli-2.2.0/tests/perf}/__init__.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/cli/providers/test_aws_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/cli/providers/test_hetzner_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/cli/providers/test_incus_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/cli/providers/test_proxmox_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/cli/test_cp.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_ansible_runner.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_known_hosts.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_output.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_picker.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_rsync.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_ssh.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/core/test_version.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/providers/test_aws_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/providers/test_hetzner_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/providers/test_incus_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/providers/test_proxmox_snapshot.py +0 -0
- {remo_cli-2.0.0rc4 → remo_cli-2.2.0}/tests/unit/test_host_model.py +0 -0
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
name: "speckit-analyze"
|
|
3
|
+
description: "Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation."
|
|
4
|
+
argument-hint: "Optional focus areas for analysis"
|
|
5
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
6
|
+
metadata:
|
|
7
|
+
author: "github-spec-kit"
|
|
8
|
+
source: "templates/commands/analyze.md"
|
|
9
|
+
user-invocable: true
|
|
10
|
+
disable-model-invocation: false
|
|
3
11
|
---
|
|
4
12
|
|
|
13
|
+
|
|
5
14
|
## User Input
|
|
6
15
|
|
|
7
16
|
```text
|
|
@@ -10,15 +19,51 @@ $ARGUMENTS
|
|
|
10
19
|
|
|
11
20
|
You **MUST** consider the user input before proceeding (if not empty).
|
|
12
21
|
|
|
22
|
+
## Pre-Execution Checks
|
|
23
|
+
|
|
24
|
+
**Check for extension hooks (before analysis)**:
|
|
25
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
26
|
+
- If it exists, read it and look for entries under the `hooks.before_analyze` key
|
|
27
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
28
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
29
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
30
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
31
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
32
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
33
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
34
|
+
- **Optional hook** (`optional: true`):
|
|
35
|
+
```
|
|
36
|
+
## Extension Hooks
|
|
37
|
+
|
|
38
|
+
**Optional Pre-Hook**: {extension}
|
|
39
|
+
Command: `/{command}`
|
|
40
|
+
Description: {description}
|
|
41
|
+
|
|
42
|
+
Prompt: {prompt}
|
|
43
|
+
To execute: `/{command}`
|
|
44
|
+
```
|
|
45
|
+
- **Mandatory hook** (`optional: false`):
|
|
46
|
+
```
|
|
47
|
+
## Extension Hooks
|
|
48
|
+
|
|
49
|
+
**Automatic Pre-Hook**: {extension}
|
|
50
|
+
Executing: `/{command}`
|
|
51
|
+
EXECUTE_COMMAND: {command}
|
|
52
|
+
|
|
53
|
+
Wait for the result of the hook command before proceeding to the Goal.
|
|
54
|
+
```
|
|
55
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
56
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
57
|
+
|
|
13
58
|
## Goal
|
|
14
59
|
|
|
15
|
-
Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (`spec.md`, `plan.md`, `tasks.md`) before implementation. This command MUST run only after `/speckit
|
|
60
|
+
Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (`spec.md`, `plan.md`, `tasks.md`) before implementation. This command MUST run only after `/speckit-tasks` has successfully produced a complete `tasks.md`.
|
|
16
61
|
|
|
17
62
|
## Operating Constraints
|
|
18
63
|
|
|
19
64
|
**STRICTLY READ-ONLY**: Do **not** modify any files. Output a structured analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).
|
|
20
65
|
|
|
21
|
-
**Constitution Authority**: The project constitution (`.specify/memory/constitution.md`) is **non-negotiable** within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside `/speckit
|
|
66
|
+
**Constitution Authority**: The project constitution (`.specify/memory/constitution.md`) is **non-negotiable** within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside `/speckit-analyze`.
|
|
22
67
|
|
|
23
68
|
## Execution Steps
|
|
24
69
|
|
|
@@ -41,7 +86,7 @@ Load only the minimal necessary context from each artifact:
|
|
|
41
86
|
|
|
42
87
|
- Overview/Context
|
|
43
88
|
- Functional Requirements
|
|
44
|
-
-
|
|
89
|
+
- Success Criteria (measurable outcomes — e.g., performance, security, availability, user success, business impact)
|
|
45
90
|
- User Stories
|
|
46
91
|
- Edge Cases (if present)
|
|
47
92
|
|
|
@@ -68,7 +113,7 @@ Load only the minimal necessary context from each artifact:
|
|
|
68
113
|
|
|
69
114
|
Create internal representations (do not include raw artifacts in output):
|
|
70
115
|
|
|
71
|
-
- **Requirements inventory**:
|
|
116
|
+
- **Requirements inventory**: For each Functional Requirement (FR-###) and Success Criterion (SC-###), record a stable key. Use the explicit FR-/SC- identifier as the primary key when present, and optionally also derive an imperative-phrase slug for readability (e.g., "User can upload file" → `user-can-upload-file`). Include only Success Criteria items that require buildable work (e.g., load-testing infrastructure, security audit tooling), and exclude post-launch outcome metrics and business KPIs (e.g., "Reduce support tickets by 50%").
|
|
72
117
|
- **User story/action inventory**: Discrete user actions with acceptance criteria
|
|
73
118
|
- **Task coverage mapping**: Map each task to one or more requirements or stories (inference by keyword / explicit reference patterns like IDs or key phrases)
|
|
74
119
|
- **Constitution rule set**: Extract principle names and MUST/SHOULD normative statements
|
|
@@ -102,7 +147,7 @@ Focus on high-signal findings. Limit to 50 findings total; aggregate remainder i
|
|
|
102
147
|
|
|
103
148
|
- Requirements with zero associated tasks
|
|
104
149
|
- Tasks with no mapped requirement/story
|
|
105
|
-
-
|
|
150
|
+
- Success Criteria requiring buildable work (performance, security, availability) not reflected in tasks
|
|
106
151
|
|
|
107
152
|
#### F. Inconsistency
|
|
108
153
|
|
|
@@ -154,14 +199,47 @@ Output a Markdown report (no file writes) with the following structure:
|
|
|
154
199
|
|
|
155
200
|
At end of report, output a concise Next Actions block:
|
|
156
201
|
|
|
157
|
-
- If CRITICAL issues exist: Recommend resolving before `/speckit
|
|
202
|
+
- If CRITICAL issues exist: Recommend resolving before `/speckit-implement`
|
|
158
203
|
- If only LOW/MEDIUM: User may proceed, but provide improvement suggestions
|
|
159
|
-
- Provide explicit command suggestions: e.g., "Run /speckit
|
|
204
|
+
- Provide explicit command suggestions: e.g., "Run /speckit-specify with refinement", "Run /speckit-plan to adjust architecture", "Manually edit tasks.md to add coverage for 'performance-metrics'"
|
|
160
205
|
|
|
161
206
|
### 8. Offer Remediation
|
|
162
207
|
|
|
163
208
|
Ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply them automatically.)
|
|
164
209
|
|
|
210
|
+
### 9. Check for extension hooks
|
|
211
|
+
|
|
212
|
+
After reporting, check if `.specify/extensions.yml` exists in the project root.
|
|
213
|
+
- If it exists, read it and look for entries under the `hooks.after_analyze` key
|
|
214
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
215
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
216
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
217
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
218
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
219
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
220
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
221
|
+
- **Optional hook** (`optional: true`):
|
|
222
|
+
```
|
|
223
|
+
## Extension Hooks
|
|
224
|
+
|
|
225
|
+
**Optional Hook**: {extension}
|
|
226
|
+
Command: `/{command}`
|
|
227
|
+
Description: {description}
|
|
228
|
+
|
|
229
|
+
Prompt: {prompt}
|
|
230
|
+
To execute: `/{command}`
|
|
231
|
+
```
|
|
232
|
+
- **Mandatory hook** (`optional: false`):
|
|
233
|
+
```
|
|
234
|
+
## Extension Hooks
|
|
235
|
+
|
|
236
|
+
**Automatic Hook**: {extension}
|
|
237
|
+
Executing: `/{command}`
|
|
238
|
+
EXECUTE_COMMAND: {command}
|
|
239
|
+
```
|
|
240
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
241
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
242
|
+
|
|
165
243
|
## Operating Principles
|
|
166
244
|
|
|
167
245
|
### Context Efficiency
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
name: "speckit-checklist"
|
|
3
|
+
description: "Generate a custom checklist for the current feature based on user requirements."
|
|
4
|
+
argument-hint: "Domain or focus area for the checklist"
|
|
5
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
6
|
+
metadata:
|
|
7
|
+
author: "github-spec-kit"
|
|
8
|
+
source: "templates/commands/checklist.md"
|
|
9
|
+
user-invocable: true
|
|
10
|
+
disable-model-invocation: false
|
|
3
11
|
---
|
|
4
12
|
|
|
13
|
+
|
|
5
14
|
## Checklist Purpose: "Unit Tests for English"
|
|
6
15
|
|
|
7
16
|
**CRITICAL CONCEPT**: Checklists are **UNIT TESTS FOR REQUIREMENTS WRITING** - they validate the quality, clarity, and completeness of requirements in a given domain.
|
|
@@ -31,13 +40,51 @@ $ARGUMENTS
|
|
|
31
40
|
|
|
32
41
|
You **MUST** consider the user input before proceeding (if not empty).
|
|
33
42
|
|
|
43
|
+
## Pre-Execution Checks
|
|
44
|
+
|
|
45
|
+
**Check for extension hooks (before checklist generation)**:
|
|
46
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
47
|
+
- If it exists, read it and look for entries under the `hooks.before_checklist` key
|
|
48
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
49
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
50
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
51
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
52
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
53
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
54
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
55
|
+
- **Optional hook** (`optional: true`):
|
|
56
|
+
```
|
|
57
|
+
## Extension Hooks
|
|
58
|
+
|
|
59
|
+
**Optional Pre-Hook**: {extension}
|
|
60
|
+
Command: `/{command}`
|
|
61
|
+
Description: {description}
|
|
62
|
+
|
|
63
|
+
Prompt: {prompt}
|
|
64
|
+
To execute: `/{command}`
|
|
65
|
+
```
|
|
66
|
+
- **Mandatory hook** (`optional: false`):
|
|
67
|
+
```
|
|
68
|
+
## Extension Hooks
|
|
69
|
+
|
|
70
|
+
**Automatic Pre-Hook**: {extension}
|
|
71
|
+
Executing: `/{command}`
|
|
72
|
+
EXECUTE_COMMAND: {command}
|
|
73
|
+
|
|
74
|
+
Wait for the result of the hook command before proceeding to the Execution Steps.
|
|
75
|
+
```
|
|
76
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
77
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
78
|
+
|
|
34
79
|
## Execution Steps
|
|
35
80
|
|
|
36
81
|
1. **Setup**: Run `.specify/scripts/bash/check-prerequisites.sh --json` from repo root and parse JSON for FEATURE_DIR and AVAILABLE_DOCS list.
|
|
37
82
|
- All file paths must be absolute.
|
|
38
83
|
- For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
|
|
39
84
|
|
|
40
|
-
2. **
|
|
85
|
+
2. **IF EXISTS**: Load `.specify/memory/constitution.md` for project principles and governance constraints.
|
|
86
|
+
|
|
87
|
+
3. **Clarify intent (dynamic)**: Derive up to THREE initial contextual clarifying questions (no pre-baked catalog). They MUST:
|
|
41
88
|
- Be generated from the user's phrasing + extracted signals from spec/plan/tasks
|
|
42
89
|
- Only ask about information that materially changes checklist content
|
|
43
90
|
- Be skipped individually if already unambiguous in `$ARGUMENTS`
|
|
@@ -69,13 +116,13 @@ You **MUST** consider the user input before proceeding (if not empty).
|
|
|
69
116
|
|
|
70
117
|
Output the questions (label Q1/Q2/Q3). After answers: if ≥2 scenario classes (Alternate / Exception / Recovery / Non-Functional domain) remain unclear, you MAY ask up to TWO more targeted follow‑ups (Q4/Q5) with a one-line justification each (e.g., "Unresolved recovery path risk"). Do not exceed five total questions. Skip escalation if user explicitly declines more.
|
|
71
118
|
|
|
72
|
-
|
|
119
|
+
4. **Understand user request**: Combine `$ARGUMENTS` + clarifying answers:
|
|
73
120
|
- Derive checklist theme (e.g., security, review, deploy, ux)
|
|
74
121
|
- Consolidate explicit must-have items mentioned by user
|
|
75
122
|
- Map focus selections to category scaffolding
|
|
76
123
|
- Infer any missing context from spec/plan/tasks (do NOT hallucinate)
|
|
77
124
|
|
|
78
|
-
|
|
125
|
+
5. **Load feature context**: Read from FEATURE_DIR:
|
|
79
126
|
- spec.md: Feature requirements and scope
|
|
80
127
|
- plan.md (if exists): Technical details, dependencies
|
|
81
128
|
- tasks.md (if exists): Implementation tasks
|
|
@@ -86,14 +133,15 @@ You **MUST** consider the user input before proceeding (if not empty).
|
|
|
86
133
|
- Use progressive disclosure: add follow-on retrieval only if gaps detected
|
|
87
134
|
- If source docs are large, generate interim summary items instead of embedding raw text
|
|
88
135
|
|
|
89
|
-
|
|
136
|
+
6. **Generate checklist** - Create "Unit Tests for Requirements":
|
|
90
137
|
- Create `FEATURE_DIR/checklists/` directory if it doesn't exist
|
|
91
138
|
- Generate unique checklist filename:
|
|
92
139
|
- Use short, descriptive name based on domain (e.g., `ux.md`, `api.md`, `security.md`)
|
|
93
140
|
- Format: `[domain].md`
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
141
|
+
- File handling behavior:
|
|
142
|
+
- If file does NOT exist: Create new file and number items starting from CHK001
|
|
143
|
+
- If file exists: Append new items to existing file, continuing from the last CHK ID (e.g., if last item is CHK015, start new items at CHK016)
|
|
144
|
+
- Never delete or replace existing checklist content - always preserve and append
|
|
97
145
|
|
|
98
146
|
**CORE PRINCIPLE - Test the Requirements, Not the Implementation**:
|
|
99
147
|
Every checklist item MUST evaluate the REQUIREMENTS THEMSELVES for:
|
|
@@ -203,15 +251,15 @@ You **MUST** consider the user input before proceeding (if not empty).
|
|
|
203
251
|
- ✅ "Are [edge cases/scenarios] addressed in requirements?"
|
|
204
252
|
- ✅ "Does the spec define [missing aspect]?"
|
|
205
253
|
|
|
206
|
-
|
|
254
|
+
7. **Structure Reference**: Generate the checklist following the canonical template in `.specify/templates/checklist-template.md` for title, meta section, category headings, and ID formatting. If template is unavailable, use: H1 title, purpose/created meta lines, `##` category sections containing `- [ ] CHK### <requirement item>` lines with globally incrementing IDs starting at CHK001.
|
|
207
255
|
|
|
208
|
-
|
|
256
|
+
8. **Report**: Output full path to checklist file, item count, and summarize whether the run created a new file or appended to an existing one. Summarize:
|
|
209
257
|
- Focus areas selected
|
|
210
258
|
- Depth level
|
|
211
259
|
- Actor/timing
|
|
212
260
|
- Any explicit user-specified must-have items incorporated
|
|
213
261
|
|
|
214
|
-
**Important**: Each `/speckit
|
|
262
|
+
**Important**: Each `/speckit-checklist` command invocation uses a short, descriptive checklist filename and either creates a new file or appends to an existing one. This allows:
|
|
215
263
|
|
|
216
264
|
- Multiple checklists of different types (e.g., `ux.md`, `test.md`, `security.md`)
|
|
217
265
|
- Simple, memorable filenames that indicate checklist purpose
|
|
@@ -292,3 +340,37 @@ Sample items:
|
|
|
292
340
|
- Correct: Validation of requirement quality
|
|
293
341
|
- Wrong: "Does it do X?"
|
|
294
342
|
- Correct: "Is X clearly specified?"
|
|
343
|
+
|
|
344
|
+
## Post-Execution Checks
|
|
345
|
+
|
|
346
|
+
**Check for extension hooks (after checklist generation)**:
|
|
347
|
+
Check if `.specify/extensions.yml` exists in the project root.
|
|
348
|
+
- If it exists, read it and look for entries under the `hooks.after_checklist` key
|
|
349
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
350
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
351
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
352
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
353
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
354
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
355
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
356
|
+
- **Optional hook** (`optional: true`):
|
|
357
|
+
```
|
|
358
|
+
## Extension Hooks
|
|
359
|
+
|
|
360
|
+
**Optional Hook**: {extension}
|
|
361
|
+
Command: `/{command}`
|
|
362
|
+
Description: {description}
|
|
363
|
+
|
|
364
|
+
Prompt: {prompt}
|
|
365
|
+
To execute: `/{command}`
|
|
366
|
+
```
|
|
367
|
+
- **Mandatory hook** (`optional: false`):
|
|
368
|
+
```
|
|
369
|
+
## Extension Hooks
|
|
370
|
+
|
|
371
|
+
**Automatic Hook**: {extension}
|
|
372
|
+
Executing: `/{command}`
|
|
373
|
+
EXECUTE_COMMAND: {command}
|
|
374
|
+
```
|
|
375
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
376
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
name: "speckit-clarify"
|
|
3
|
+
description: "Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec."
|
|
4
|
+
argument-hint: "Optional areas to clarify in the spec"
|
|
5
|
+
compatibility: "Requires spec-kit project structure with .specify/ directory"
|
|
6
|
+
metadata:
|
|
7
|
+
author: "github-spec-kit"
|
|
8
|
+
source: "templates/commands/clarify.md"
|
|
9
|
+
user-invocable: true
|
|
10
|
+
disable-model-invocation: false
|
|
7
11
|
---
|
|
8
12
|
|
|
13
|
+
|
|
9
14
|
## User Input
|
|
10
15
|
|
|
11
16
|
```text
|
|
@@ -14,11 +19,47 @@ $ARGUMENTS
|
|
|
14
19
|
|
|
15
20
|
You **MUST** consider the user input before proceeding (if not empty).
|
|
16
21
|
|
|
22
|
+
## Pre-Execution Checks
|
|
23
|
+
|
|
24
|
+
**Check for extension hooks (before clarification)**:
|
|
25
|
+
- Check if `.specify/extensions.yml` exists in the project root.
|
|
26
|
+
- If it exists, read it and look for entries under the `hooks.before_clarify` key
|
|
27
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
|
|
28
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
29
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
30
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
31
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
32
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
33
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
34
|
+
- **Optional hook** (`optional: true`):
|
|
35
|
+
```
|
|
36
|
+
## Extension Hooks
|
|
37
|
+
|
|
38
|
+
**Optional Pre-Hook**: {extension}
|
|
39
|
+
Command: `/{command}`
|
|
40
|
+
Description: {description}
|
|
41
|
+
|
|
42
|
+
Prompt: {prompt}
|
|
43
|
+
To execute: `/{command}`
|
|
44
|
+
```
|
|
45
|
+
- **Mandatory hook** (`optional: false`):
|
|
46
|
+
```
|
|
47
|
+
## Extension Hooks
|
|
48
|
+
|
|
49
|
+
**Automatic Pre-Hook**: {extension}
|
|
50
|
+
Executing: `/{command}`
|
|
51
|
+
EXECUTE_COMMAND: {command}
|
|
52
|
+
|
|
53
|
+
Wait for the result of the hook command before proceeding to the Outline.
|
|
54
|
+
```
|
|
55
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
56
|
+
- If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
|
|
57
|
+
|
|
17
58
|
## Outline
|
|
18
59
|
|
|
19
60
|
Goal: Detect and reduce ambiguity or missing decision points in the active feature specification and record the clarifications directly in the spec file.
|
|
20
61
|
|
|
21
|
-
Note: This clarification workflow is expected to run (and be completed) BEFORE invoking `/speckit
|
|
62
|
+
Note: This clarification workflow is expected to run (and be completed) BEFORE invoking `/speckit-plan`. If the user explicitly states they are skipping clarification (e.g., exploratory spike), you may proceed, but must warn that downstream rework risk increases.
|
|
22
63
|
|
|
23
64
|
Execution steps:
|
|
24
65
|
|
|
@@ -26,10 +67,12 @@ Execution steps:
|
|
|
26
67
|
- `FEATURE_DIR`
|
|
27
68
|
- `FEATURE_SPEC`
|
|
28
69
|
- (Optionally capture `IMPL_PLAN`, `TASKS` for future chained flows.)
|
|
29
|
-
- If JSON parsing fails, abort and instruct user to re-run `/speckit
|
|
70
|
+
- If JSON parsing fails, abort and instruct user to re-run `/speckit-specify` or verify feature branch environment.
|
|
30
71
|
- For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
|
|
31
72
|
|
|
32
|
-
2.
|
|
73
|
+
2. **IF EXISTS**: Load `.specify/memory/constitution.md` for project principles and governance constraints.
|
|
74
|
+
|
|
75
|
+
3. Load the current spec file. Perform a structured ambiguity & coverage scan using this taxonomy. For each category, mark status: Clear / Partial / Missing. Produce an internal coverage map used for prioritization (do not output raw map unless no questions will be asked).
|
|
33
76
|
|
|
34
77
|
Functional Scope & Behavior:
|
|
35
78
|
- Core user goals & success criteria
|
|
@@ -85,8 +128,8 @@ Execution steps:
|
|
|
85
128
|
- Clarification would not materially change implementation or validation strategy
|
|
86
129
|
- Information is better deferred to planning phase (note internally)
|
|
87
130
|
|
|
88
|
-
|
|
89
|
-
- Maximum of
|
|
131
|
+
4. Generate (internally) a prioritized queue of candidate clarification questions (maximum 5). Do NOT output them all at once. Apply these constraints:
|
|
132
|
+
- Maximum of 5 total questions across the whole session.
|
|
90
133
|
- Each question must be answerable with EITHER:
|
|
91
134
|
- A short multiple‑choice selection (2–5 distinct, mutually exclusive options), OR
|
|
92
135
|
- A one-word / short‑phrase answer (explicitly constrain: "Answer in <=5 words").
|
|
@@ -96,7 +139,7 @@ Execution steps:
|
|
|
96
139
|
- Favor clarifications that reduce downstream rework risk or prevent misaligned acceptance tests.
|
|
97
140
|
- If more than 5 categories remain unresolved, select the top 5 by (Impact * Uncertainty) heuristic.
|
|
98
141
|
|
|
99
|
-
|
|
142
|
+
5. Sequential questioning loop (interactive):
|
|
100
143
|
- Present EXACTLY ONE question at a time.
|
|
101
144
|
- For multiple‑choice questions:
|
|
102
145
|
- **Analyze all options** and determine the **most suitable option** based on:
|
|
@@ -132,7 +175,7 @@ Execution steps:
|
|
|
132
175
|
- Never reveal future queued questions in advance.
|
|
133
176
|
- If no valid questions exist at start, immediately report no critical ambiguities.
|
|
134
177
|
|
|
135
|
-
|
|
178
|
+
6. Integration after EACH accepted answer (incremental update approach):
|
|
136
179
|
- Maintain in-memory representation of the spec (loaded once at start) plus the raw file contents.
|
|
137
180
|
- For the first integrated answer in this session:
|
|
138
181
|
- Ensure a `## Clarifications` section exists (create it just after the highest-level contextual/overview section per the spec template if missing).
|
|
@@ -142,7 +185,7 @@ Execution steps:
|
|
|
142
185
|
- Functional ambiguity → Update or add a bullet in Functional Requirements.
|
|
143
186
|
- User interaction / actor distinction → Update User Stories or Actors subsection (if present) with clarified role, constraint, or scenario.
|
|
144
187
|
- Data shape / entities → Update Data Model (add fields, types, relationships) preserving ordering; note added constraints succinctly.
|
|
145
|
-
- Non-functional constraint → Add/modify measurable criteria in
|
|
188
|
+
- Non-functional constraint → Add/modify measurable criteria in Success Criteria > Measurable Outcomes (convert vague adjective to metric or explicit target).
|
|
146
189
|
- Edge case / negative flow → Add a new bullet under Edge Cases / Error Handling (or create such subsection if template provides placeholder for it).
|
|
147
190
|
- Terminology conflict → Normalize term across spec; retain original only if necessary by adding `(formerly referred to as "X")` once.
|
|
148
191
|
- If the clarification invalidates an earlier ambiguous statement, replace that statement instead of duplicating; leave no obsolete contradictory text.
|
|
@@ -150,7 +193,7 @@ Execution steps:
|
|
|
150
193
|
- Preserve formatting: do not reorder unrelated sections; keep heading hierarchy intact.
|
|
151
194
|
- Keep each inserted clarification minimal and testable (avoid narrative drift).
|
|
152
195
|
|
|
153
|
-
|
|
196
|
+
7. Validation (performed after EACH write plus final pass):
|
|
154
197
|
- Clarifications session contains exactly one bullet per accepted answer (no duplicates).
|
|
155
198
|
- Total asked (accepted) questions ≤ 5.
|
|
156
199
|
- Updated sections contain no lingering vague placeholders the new answer was meant to resolve.
|
|
@@ -158,20 +201,31 @@ Execution steps:
|
|
|
158
201
|
- Markdown structure valid; only allowed new headings: `## Clarifications`, `### Session YYYY-MM-DD`.
|
|
159
202
|
- Terminology consistency: same canonical term used across all updated sections.
|
|
160
203
|
|
|
161
|
-
|
|
204
|
+
8. Write the updated spec back to `FEATURE_SPEC`.
|
|
162
205
|
|
|
163
|
-
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
206
|
+
9. **Re-validate Spec Quality Checklist** (if it exists):
|
|
207
|
+
- Check if `FEATURE_DIR/checklists/requirements.md` exists.
|
|
208
|
+
- If it does NOT exist, skip this step silently.
|
|
209
|
+
- If it exists:
|
|
210
|
+
1. Read the checklist file.
|
|
211
|
+
2. Identify all GitHub task-list checkbox lines — lines matching `- [ ]`, `- [x]`, or `- [X]` (case-insensitive, tolerant of leading whitespace for nested items) outside of code fences. Ignore all other content (headings, notes, non-checkbox bullets, metadata).
|
|
212
|
+
3. For each checkbox line, record its current marker state (checked or unchecked) and item text into a before-snapshot list.
|
|
213
|
+
4. Re-evaluate each checkbox item against the **updated** spec (the version just saved in step 7).
|
|
214
|
+
5. For each checkbox item, update only if the checked/unchecked state actually changes:
|
|
215
|
+
- If the item now passes and was unchecked: change `[ ]` to `[x]`.
|
|
216
|
+
- If the item now fails and was checked: change `[x]`/`[X]` to `[ ]`.
|
|
217
|
+
- If the state is unchanged: leave the marker as-is (preserve existing case to avoid cosmetic diffs).
|
|
218
|
+
6. Save the updated checklist file. **Only toggle the `[ ]`/`[x]` marker portion of checkbox lines whose state changed.** All other file content — headings, metadata, notes, line ordering, whitespace — must remain unchanged to avoid noisy diffs.
|
|
219
|
+
7. Compare the before-snapshot with the current state to compute three lists for the Completion Report:
|
|
220
|
+
- **Newly passing**: items that changed from unchecked to checked.
|
|
221
|
+
- **Regressions**: items that changed from checked to unchecked.
|
|
222
|
+
- **Still unchecked**: items that remain unchecked.
|
|
223
|
+
8. Record the before/after pass counts as checked/total checkbox items (e.g., "12/16 → 15/16 items passing").
|
|
170
224
|
|
|
171
225
|
Behavior rules:
|
|
172
226
|
|
|
173
227
|
- If no meaningful ambiguities found (or all potential questions would be low-impact), respond: "No critical ambiguities detected worth formal clarification." and suggest proceeding.
|
|
174
|
-
- If spec file missing, instruct user to run `/speckit
|
|
228
|
+
- If spec file missing, instruct user to run `/speckit-specify` first (do not create a new spec here).
|
|
175
229
|
- Never exceed 5 total asked questions (clarification retries for a single question do not count as new questions).
|
|
176
230
|
- Avoid speculative tech stack questions unless the absence blocks functional clarity.
|
|
177
231
|
- Respect user early termination signals ("stop", "done", "proceed").
|
|
@@ -179,3 +233,56 @@ Behavior rules:
|
|
|
179
233
|
- If quota reached with unresolved high-impact categories remaining, explicitly flag them under Deferred with rationale.
|
|
180
234
|
|
|
181
235
|
Context for prioritization: $ARGUMENTS
|
|
236
|
+
|
|
237
|
+
## Mandatory Post-Execution Hooks
|
|
238
|
+
|
|
239
|
+
**You MUST complete this section before reporting completion to the user.**
|
|
240
|
+
|
|
241
|
+
Check if `.specify/extensions.yml` exists in the project root.
|
|
242
|
+
- If it does not exist, or no hooks are registered under `hooks.after_clarify`, skip to the Completion Report.
|
|
243
|
+
- If it exists, read it and look for entries under the `hooks.after_clarify` key.
|
|
244
|
+
- If the YAML cannot be parsed or is invalid, skip hook checking silently and continue to the Completion Report.
|
|
245
|
+
- Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
|
|
246
|
+
- For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
|
|
247
|
+
- If the hook has no `condition` field, or it is null/empty, treat the hook as executable
|
|
248
|
+
- If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
|
|
249
|
+
- When constructing slash commands from hook command names, replace dots (`.`) with hyphens (`-`). For example, `speckit.git.commit` → `/speckit-git-commit`.
|
|
250
|
+
- For each executable hook, output the following based on its `optional` flag:
|
|
251
|
+
- **Mandatory hook** (`optional: false`) — **You MUST emit `EXECUTE_COMMAND:` for each mandatory hook**:
|
|
252
|
+
```
|
|
253
|
+
## Extension Hooks
|
|
254
|
+
|
|
255
|
+
**Automatic Hook**: {extension}
|
|
256
|
+
Executing: `/{command}`
|
|
257
|
+
EXECUTE_COMMAND: {command}
|
|
258
|
+
```
|
|
259
|
+
After emitting the block above you MUST actually invoke the hook and wait for it to finish before continuing. Run it the same way you would run the command yourself in this agent/session (the invocation may differ from the literal `{command}` id shown above, e.g. a skills-mode agent runs it as `/skill:speckit-...` or `$speckit-...`). Emitting the block alone does not run the hook.
|
|
260
|
+
- **Optional hook** (`optional: true`):
|
|
261
|
+
```
|
|
262
|
+
## Extension Hooks
|
|
263
|
+
|
|
264
|
+
**Optional Hook**: {extension}
|
|
265
|
+
Command: `/{command}`
|
|
266
|
+
Description: {description}
|
|
267
|
+
|
|
268
|
+
Prompt: {prompt}
|
|
269
|
+
To execute: `/{command}`
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
## Completion Report
|
|
273
|
+
|
|
274
|
+
Report completion (after questioning loop ends or early termination):
|
|
275
|
+
- Number of questions asked & answered.
|
|
276
|
+
- Path to updated spec.
|
|
277
|
+
- Sections touched (list names).
|
|
278
|
+
- Spec quality checklist status (if `FEATURE_DIR/checklists/requirements.md` was re-validated): show before/after pass counts (e.g., "Spec Quality Checklist: 12/16 → 15/16 items passing") and list any items that changed state — both newly checked (unchecked → checked) and any regressions (checked → unchecked). If any items remain unchecked, list them as areas needing attention.
|
|
279
|
+
- Coverage summary table listing each taxonomy category with Status: Resolved (was Partial/Missing and addressed), Deferred (exceeds question quota or better suited for planning), Clear (already sufficient), Outstanding (still Partial/Missing but low impact).
|
|
280
|
+
- If any Outstanding or Deferred remain, recommend whether to proceed to `/speckit-plan` or run `/speckit-clarify` again later post-plan.
|
|
281
|
+
- Suggested next command.
|
|
282
|
+
|
|
283
|
+
## Done When
|
|
284
|
+
|
|
285
|
+
- [ ] Spec ambiguities identified and clarifications integrated into spec file
|
|
286
|
+
- [ ] Spec quality checklist re-validated against updated spec (if `FEATURE_DIR/checklists/requirements.md` exists)
|
|
287
|
+
- [ ] Extension hooks dispatched or skipped according to the rules in Mandatory Post-Execution Hooks above
|
|
288
|
+
- [ ] Completion reported to user with questions answered, sections touched, checklist status, and coverage summary
|