@jtf19/vibecoding-kit 0.1.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.md +84 -0
- package/CHANGELOG.md +28 -0
- package/CLAUDE.md +137 -0
- package/CODE_OF_CONDUCT.md +30 -0
- package/CONTRIBUTING.md +69 -0
- package/LICENSE +67 -0
- package/README.md +162 -0
- package/SECURITY.md +34 -0
- package/adapters/claude/install.md +70 -0
- package/adapters/claude/plugin.json +38 -0
- package/adapters/claude/settings.example.json +15 -0
- package/adapters/codex/hooks.example.json +15 -0
- package/adapters/codex/install.md +72 -0
- package/adapters/codex/plugin.json +58 -0
- package/adapters/cursor/hooks.example.json +17 -0
- package/adapters/cursor/install.md +72 -0
- package/adapters/cursor/plugin.json +42 -0
- package/adapters/opencode/install.md +95 -0
- package/adapters/opencode/plugin.js +56 -0
- package/adapters/opencode/plugin.json +58 -0
- package/adapters/pi/extension.ts +56 -0
- package/adapters/pi/install.md +95 -0
- package/adapters/pi/plugin.json +58 -0
- package/bin/vibe-cli-usage.mjs +43 -0
- package/bin/vibe.mjs +120 -0
- package/docs/acceptance-checklist.md +1226 -0
- package/docs/architecture-debt-burndown.md +537 -0
- package/docs/architecture.md +77 -0
- package/docs/ci-evidence-onboarding.md +143 -0
- package/docs/development.md +71 -0
- package/docs/evidence-authoring.md +188 -0
- package/docs/golden-path.md +179 -0
- package/docs/install-acceptance-checklist.md +90 -0
- package/docs/install-claude.md +41 -0
- package/docs/install-codex.md +41 -0
- package/docs/install-cursor.md +41 -0
- package/docs/install-experience-roadmap.md +394 -0
- package/docs/install.md +119 -0
- package/docs/maintainer-guide.md +197 -0
- package/docs/phase-1-implementation.md +848 -0
- package/docs/phase-2-roadmap.md +142 -0
- package/docs/quick-recipes.md +115 -0
- package/docs/readiness-interpretation.md +105 -0
- package/docs/readiness-troubleshooting.md +209 -0
- package/docs/release-check-reference.md +63 -0
- package/docs/release-guide.md +481 -0
- package/docs/release-notes.md +75 -0
- package/docs/runtime-contract.md +1010 -0
- package/docs/runtime-maintainer-validation.md +212 -0
- package/docs/runtime-roadmap.md +2265 -0
- package/docs/skill-authoring-guide.md +150 -0
- package/docs/submodule-guide.md +131 -0
- package/docs/team-adoption.md +113 -0
- package/docs/user-guide.md +108 -0
- package/docs/vibecoding-fork-analysis.md +398 -0
- package/docs/workflow-chaining.md +539 -0
- package/examples/ci/README.md +61 -0
- package/examples/ci/ci-evidence-input.example.json +56 -0
- package/examples/ci/generate-diff-coverage.mjs +90 -0
- package/examples/ci/generate-test-evidence.mjs +82 -0
- package/examples/ci/github-actions-readiness.yml +108 -0
- package/examples/claude-project/README.md +57 -0
- package/examples/codex-project/README.md +57 -0
- package/examples/cursor-project/README.md +57 -0
- package/examples/full-chain/README.md +63 -0
- package/examples/full-chain/architecture-design.md +128 -0
- package/examples/full-chain/commit-readiness.json +31 -0
- package/examples/full-chain/delivery-traceability.yaml +32 -0
- package/examples/full-chain/diff-coverage.json +73 -0
- package/examples/full-chain/evidence.json +20 -0
- package/examples/full-chain/implementation-plan.md +54 -0
- package/examples/full-chain/product-acceptance.md +86 -0
- package/examples/full-chain/product-discovery.md +84 -0
- package/examples/full-chain/product-spec.md +88 -0
- package/examples/full-chain/scenario-acceptance.yaml +32 -0
- package/examples/full-chain/test-evidence.json +29 -0
- package/examples/full-chain/ui-design-contract.md +87 -0
- package/examples/golden-path/README.md +84 -0
- package/examples/golden-path/diff-coverage.json +66 -0
- package/examples/golden-path/implementation-plan.md +62 -0
- package/examples/golden-path/product-spec.md +96 -0
- package/examples/golden-path/test-evidence.json +29 -0
- package/examples/runtime-fixtures/architecture-design.md +128 -0
- package/examples/runtime-fixtures/commit-readiness.json +31 -0
- package/examples/runtime-fixtures/delivery-traceability.yaml +32 -0
- package/examples/runtime-fixtures/diff-coverage.json +73 -0
- package/examples/runtime-fixtures/evidence.json +20 -0
- package/examples/runtime-fixtures/implementation-plan.md +54 -0
- package/examples/runtime-fixtures/negative/commit-readiness-boundary-escalated.json +27 -0
- package/examples/runtime-fixtures/negative/delivery-traceability-bad-ref.yaml +32 -0
- package/examples/runtime-fixtures/negative/diff-coverage-changed-file-without-task-ref.json +40 -0
- package/examples/runtime-fixtures/negative/diff-coverage-operation-mismatch.json +38 -0
- package/examples/runtime-fixtures/negative/diff-coverage-required-task-missing.json +24 -0
- package/examples/runtime-fixtures/negative/diff-coverage-unexpected-file.json +20 -0
- package/examples/runtime-fixtures/negative/test-evidence-missing-output-digest.json +23 -0
- package/examples/runtime-fixtures/negative/test-evidence-risky-task-missing.json +29 -0
- package/examples/runtime-fixtures/product-acceptance.md +86 -0
- package/examples/runtime-fixtures/product-discovery.md +84 -0
- package/examples/runtime-fixtures/product-spec.md +88 -0
- package/examples/runtime-fixtures/scenario-acceptance.yaml +32 -0
- package/examples/runtime-fixtures/test-evidence.json +29 -0
- package/examples/runtime-fixtures/ui-design-contract.md +87 -0
- package/hooks/post-tool-compact/README.md +47 -0
- package/hooks/session-start/README.md +112 -0
- package/hooks/session-start/session-start-state-boundary-contract.mjs +161 -0
- package/hooks/session-start/session-start.md +29 -0
- package/hooks/session-start/session-start.mjs +49 -0
- package/hooks/workflow-handoff/README.md +44 -0
- package/hooks/workflow-handoff/workflow-handoff.md +11 -0
- package/package.json +72 -0
- package/skills/using-vibecoding/SKILL.md +396 -0
- package/skills/vibe-brainstorming/SKILL.md +98 -0
- package/skills/vibe-context-compact/SKILL.md +95 -0
- package/skills/vibe-debugging/SKILL.md +87 -0
- package/skills/vibe-dispatching-parallel-work/SKILL.md +144 -0
- package/skills/vibe-executing-plans/SKILL.md +114 -0
- package/skills/vibe-finishing-a-development-branch/SKILL.md +110 -0
- package/skills/vibe-implementation/SKILL.md +84 -0
- package/skills/vibe-planning/SKILL.md +102 -0
- package/skills/vibe-product-acceptance/SKILL.md +106 -0
- package/skills/vibe-product-discovery/SKILL.md +107 -0
- package/skills/vibe-product-spec/SKILL.md +105 -0
- package/skills/vibe-receiving-code-review/SKILL.md +110 -0
- package/skills/vibe-requesting-code-review/SKILL.md +106 -0
- package/skills/vibe-review/SKILL.md +106 -0
- package/skills/vibe-subagent-driven-development/SKILL.md +198 -0
- package/skills/vibe-systematic-debugging/SKILL.md +106 -0
- package/skills/vibe-test-driven-development/SKILL.md +112 -0
- package/skills/vibe-ui-design/SKILL.md +107 -0
- package/skills/vibe-verification/SKILL.md +84 -0
- package/skills/vibe-verification-before-completion/SKILL.md +170 -0
- package/skills/vibe-workspace-isolation/SKILL.md +158 -0
- package/skills/vibe-writing-plans/SKILL.md +137 -0
- package/skills/vibe-writing-skills/SKILL.md +118 -0
- package/templates/AGENTS.md +88 -0
- package/templates/CLAUDE.md +88 -0
- package/templates/VIBE-CODING.md +157 -0
- package/templates/architecture-design.md +139 -0
- package/templates/delivery-traceability.yaml +52 -0
- package/templates/evidence/README.md +117 -0
- package/templates/evidence/diff-coverage.json +34 -0
- package/templates/evidence/test-evidence.json +29 -0
- package/templates/implementation-plan.md +73 -0
- package/templates/product-acceptance.md +84 -0
- package/templates/product-discovery.md +81 -0
- package/templates/product-spec.md +84 -0
- package/templates/scenario-acceptance.yaml +37 -0
- package/templates/ui-design-contract.md +86 -0
- package/tools/vibe-architecture-check/README.md +66 -0
- package/tools/vibe-architecture-check/index.mjs +691 -0
- package/tools/vibe-compact/README.md +65 -0
- package/tools/vibe-compact/compact-contract.mjs +63 -0
- package/tools/vibe-compact/index.mjs +111 -0
- package/tools/vibe-doctor/README.md +200 -0
- package/tools/vibe-doctor/index.mjs +1721 -0
- package/tools/vibe-init/README.md +231 -0
- package/tools/vibe-init/index.mjs +369 -0
- package/tools/vibe-init/init-cli-args.mjs +100 -0
- package/tools/vibe-init/init-entry-merge-model.mjs +33 -0
- package/tools/vibe-init/init-install-manifest-model.mjs +137 -0
- package/tools/vibe-init/init-installed-agent-experience-contract.mjs +172 -0
- package/tools/vibe-init/init-platform-model.mjs +11 -0
- package/tools/vibe-init/init-presentation.mjs +149 -0
- package/tools/vibe-lifecycle/README.md +37 -0
- package/tools/vibe-lifecycle/index.mjs +365 -0
- package/tools/vibe-lifecycle/lifecycle-cli-args.mjs +104 -0
- package/tools/vibe-lifecycle/lifecycle-summary-model.mjs +67 -0
- package/tools/vibe-lifecycle/lifecycle-uninstall-plan-model.mjs +11 -0
- package/tools/vibe-plugin-pack/README.md +105 -0
- package/tools/vibe-plugin-pack/index.mjs +302 -0
- package/tools/vibe-plugin-pack/plugin-pack-cli.mjs +39 -0
- package/tools/vibe-plugin-pack/plugin-pack-manifest.mjs +37 -0
- package/tools/vibe-profile/index.mjs +212 -0
- package/tools/vibe-release-check/README.md +123 -0
- package/tools/vibe-release-check/command-manifest/release-check-base-commands.mjs +23 -0
- package/tools/vibe-release-check/command-manifest/release-check-closeout-commands.mjs +16 -0
- package/tools/vibe-release-check/command-manifest/release-check-command-metadata.mjs +32 -0
- package/tools/vibe-release-check/command-manifest/release-check-completion-commands.mjs +41 -0
- package/tools/vibe-release-check/command-manifest/release-check-full-chain-commands.mjs +12 -0
- package/tools/vibe-release-check/command-manifest/release-check-golden-path-commands.mjs +12 -0
- package/tools/vibe-release-check/command-manifest/release-check-install-commands.mjs +26 -0
- package/tools/vibe-release-check/command-manifest/release-check-learning-smoke-commands.mjs +21 -0
- package/tools/vibe-release-check/command-manifest/release-check-methodology-commands.mjs +27 -0
- package/tools/vibe-release-check/command-manifest/release-check-runtime-smoke-commands.mjs +116 -0
- package/tools/vibe-release-check/command-manifest/release-check-token-smoke-commands.mjs +21 -0
- package/tools/vibe-release-check/index.mjs +223 -0
- package/tools/vibe-release-check/release-check-behavior-smoke.mjs +177 -0
- package/tools/vibe-release-check/release-check-cli.mjs +37 -0
- package/tools/vibe-release-check/release-check-command-manifest.mjs +49 -0
- package/tools/vibe-release-check/release-check-completion-fixtures.mjs +151 -0
- package/tools/vibe-release-check/release-check-completion-suite.mjs +110 -0
- package/tools/vibe-release-check/release-check-dispatch.mjs +116 -0
- package/tools/vibe-release-check/release-check-full-chain-suite.mjs +55 -0
- package/tools/vibe-release-check/release-check-golden-path-suite.mjs +85 -0
- package/tools/vibe-release-check/release-check-install-marker-specs.mjs +133 -0
- package/tools/vibe-release-check/release-check-install-suite.mjs +112 -0
- package/tools/vibe-release-check/release-check-json-assertion-helpers.mjs +157 -0
- package/tools/vibe-release-check/release-check-json-markers.mjs +33 -0
- package/tools/vibe-release-check/release-check-learning-fixture-specs.mjs +199 -0
- package/tools/vibe-release-check/release-check-learning-suite.mjs +249 -0
- package/tools/vibe-release-check/release-check-live-behavior-smoke-fixture.mjs +406 -0
- package/tools/vibe-release-check/release-check-methodology-suite.mjs +108 -0
- package/tools/vibe-release-check/release-check-package-boundary-smoke.mjs +111 -0
- package/tools/vibe-release-check/release-check-platform-transcript-smoke-fixture.mjs +150 -0
- package/tools/vibe-release-check/release-check-readonly-marker-data.mjs +1 -0
- package/tools/vibe-release-check/release-check-readonly-marker-smoke-specs.mjs +170 -0
- package/tools/vibe-release-check/release-check-run-summary.mjs +67 -0
- package/tools/vibe-release-check/release-check-runtime-automation-fixtures.mjs +1 -0
- package/tools/vibe-release-check/release-check-runtime-automation-governance-reply-trace-smoke-helpers.mjs +224 -0
- package/tools/vibe-release-check/release-check-runtime-automation-governance-smoke-specs.mjs +215 -0
- package/tools/vibe-release-check/release-check-runtime-automation-governance-suite.mjs +5 -0
- package/tools/vibe-release-check/release-check-runtime-automation-methodology-smoke-specs.mjs +157 -0
- package/tools/vibe-release-check/release-check-runtime-automation-methodology-suite.mjs +130 -0
- package/tools/vibe-release-check/release-check-runtime-automation-platform-smoke-helpers.mjs +306 -0
- package/tools/vibe-release-check/release-check-runtime-automation-platform-suite.mjs +30 -0
- package/tools/vibe-release-check/release-check-runtime-automation-smoke-fixtures.mjs +53 -0
- package/tools/vibe-release-check/release-check-runtime-automation-source-candidate-smoke-helpers.mjs +506 -0
- package/tools/vibe-release-check/release-check-runtime-automation-source-suite.mjs +5 -0
- package/tools/vibe-release-check/release-check-runtime-automation-subagents-lifecycle-smoke-helpers.mjs +305 -0
- package/tools/vibe-release-check/release-check-runtime-automation-subagents-suite.mjs +25 -0
- package/tools/vibe-release-check/release-check-runtime-automation-suite.mjs +25 -0
- package/tools/vibe-release-check/release-check-runtime-daemon-bounded-run-smoke-helpers.mjs +243 -0
- package/tools/vibe-release-check/release-check-runtime-daemon-suite.mjs +5 -0
- package/tools/vibe-release-check/release-check-runtime-dispatch-fixtures.mjs +129 -0
- package/tools/vibe-release-check/release-check-runtime-dispatch-suite.mjs +5 -0
- package/tools/vibe-release-check/release-check-runtime-execution-approval-smoke-helpers.mjs +274 -0
- package/tools/vibe-release-check/release-check-runtime-execution-approval-suite.mjs +5 -0
- package/tools/vibe-release-check/release-check-runtime-execution-base-suite.mjs +388 -0
- package/tools/vibe-release-check/release-check-runtime-execution-recovery-suite.mjs +412 -0
- package/tools/vibe-release-check/release-check-runtime-execution-scheduler-suite.mjs +261 -0
- package/tools/vibe-release-check/release-check-runtime-execution-suite.mjs +11 -0
- package/tools/vibe-release-check/release-check-runtime-flow-smoke.mjs +347 -0
- package/tools/vibe-release-check/release-check-runtime-handoff-fixture-specs.mjs +211 -0
- package/tools/vibe-release-check/release-check-runtime-handoff-fixtures.mjs +11 -0
- package/tools/vibe-release-check/release-check-runtime-handoff-smoke-specs.mjs +86 -0
- package/tools/vibe-release-check/release-check-runtime-handoff-suite.mjs +316 -0
- package/tools/vibe-release-check/release-check-runtime-ledger-fixture-specs.mjs +9 -0
- package/tools/vibe-release-check/release-check-runtime-ledger-fixtures.mjs +51 -0
- package/tools/vibe-release-check/release-check-runtime-ledger-suite.mjs +24 -0
- package/tools/vibe-release-check/release-check-runtime-scheduler-fixture-specs.mjs +129 -0
- package/tools/vibe-release-check/release-check-runtime-scheduler-fixtures.mjs +10 -0
- package/tools/vibe-release-check/release-check-runtime-sdd-suite.mjs +535 -0
- package/tools/vibe-release-check/release-check-runtime-smoke-harness.mjs +140 -0
- package/tools/vibe-release-check/release-check-runtime-surface-expectations.mjs +106 -0
- package/tools/vibe-release-check/release-check-runtime-surface-smoke.mjs +112 -0
- package/tools/vibe-release-check/release-check-runtime-task-artifact-suite.mjs +105 -0
- package/tools/vibe-release-check/release-check-runtime-task-fixture-specs.mjs +270 -0
- package/tools/vibe-release-check/release-check-runtime-task-fixtures.mjs +19 -0
- package/tools/vibe-release-check/release-check-runtime.mjs +53 -0
- package/tools/vibe-release-check/release-check-stage103-118-fixtures.mjs +214 -0
- package/tools/vibe-release-check/release-check-stage103-118-smoke-specs.mjs +97 -0
- package/tools/vibe-release-check/release-check-stage103-118-smoke.mjs +861 -0
- package/tools/vibe-release-check/release-check-stage11-smoke.mjs +66 -0
- package/tools/vibe-release-check/release-check-stage119-120-fixture-specs.mjs +119 -0
- package/tools/vibe-release-check/release-check-stage119-120-smoke.mjs +325 -0
- package/tools/vibe-release-check/release-check-stage12-smoke.mjs +59 -0
- package/tools/vibe-release-check/release-check-stage121-136-fixture-specs.mjs +26 -0
- package/tools/vibe-release-check/release-check-stage121-136-fixtures.mjs +591 -0
- package/tools/vibe-release-check/release-check-stage121-136-smoke.mjs +917 -0
- package/tools/vibe-release-check/release-check-stage13-smoke.mjs +78 -0
- package/tools/vibe-release-check/release-check-stage137-140-smoke.mjs +534 -0
- package/tools/vibe-release-check/release-check-stage14-smoke.mjs +101 -0
- package/tools/vibe-release-check/release-check-stage141-148-smoke.mjs +1143 -0
- package/tools/vibe-release-check/release-check-stage15-smoke.mjs +132 -0
- package/tools/vibe-release-check/release-check-stage50-53-smoke.mjs +429 -0
- package/tools/vibe-release-check/release-check-subagent-adapter-bridge-smoke.mjs +162 -0
- package/tools/vibe-release-check/release-check-suite-plan-smoke.mjs +86 -0
- package/tools/vibe-release-check/release-check-suites.mjs +164 -0
- package/tools/vibe-release-check/release-check-test-run-smoke.mjs +59 -0
- package/tools/vibe-release-check/release-check-timing.mjs +98 -0
- package/tools/vibe-release-check/release-check-token-suite.mjs +260 -0
- package/tools/vibe-release-check/release-check-workflow-entry-suite.mjs +195 -0
- package/tools/vibe-release-check/release-check-workflow-governance-fixtures.mjs +138 -0
- package/tools/vibe-release-check/release-check-workflow-governance-smoke-suite.mjs +768 -0
- package/tools/vibe-release-check/release-check-workflow-ux-smoke.mjs +456 -0
- package/tools/vibe-runtime/README.md +2637 -0
- package/tools/vibe-runtime/index.mjs +3117 -0
- package/tools/vibe-runtime/runtime-adapter-bootstrap-matrix.mjs +264 -0
- package/tools/vibe-runtime/runtime-adapter-entry-acceptance.mjs +310 -0
- package/tools/vibe-runtime/runtime-adapter-packaging-consistency-command.mjs +131 -0
- package/tools/vibe-runtime/runtime-adapter-packaging-consistency.mjs +253 -0
- package/tools/vibe-runtime/runtime-advice-hub-model.mjs +175 -0
- package/tools/vibe-runtime/runtime-agent-session-start-contract.mjs +138 -0
- package/tools/vibe-runtime/runtime-artifact-ref-validation.mjs +281 -0
- package/tools/vibe-runtime/runtime-automatic-verification-gate-contract.mjs +134 -0
- package/tools/vibe-runtime/runtime-automation-boundary-text.mjs +7 -0
- package/tools/vibe-runtime/runtime-automation-command.mjs +367 -0
- package/tools/vibe-runtime/runtime-automation-plan-model.mjs +239 -0
- package/tools/vibe-runtime/runtime-automation-policy-model.mjs +175 -0
- package/tools/vibe-runtime/runtime-automation-readiness.mjs +347 -0
- package/tools/vibe-runtime/runtime-autopilot-lab-profile-contract.mjs +223 -0
- package/tools/vibe-runtime/runtime-behavioral-evaluation-contract.mjs +529 -0
- package/tools/vibe-runtime/runtime-behavioral-negative-gate-matrix.mjs +274 -0
- package/tools/vibe-runtime/runtime-bounded-attempt-policy-model.mjs +13 -0
- package/tools/vibe-runtime/runtime-bounded-foreground-command-executor-contract.mjs +288 -0
- package/tools/vibe-runtime/runtime-capability-registry.mjs +250 -0
- package/tools/vibe-runtime/runtime-cli-args.mjs +550 -0
- package/tools/vibe-runtime/runtime-cli-command-specs.mjs +63 -0
- package/tools/vibe-runtime/runtime-cli-dispatch.mjs +21 -0
- package/tools/vibe-runtime/runtime-cli-evidence-option-specs.mjs +193 -0
- package/tools/vibe-runtime/runtime-cli-evidence-options.mjs +28 -0
- package/tools/vibe-runtime/runtime-cli-from-options.mjs +222 -0
- package/tools/vibe-runtime/runtime-cli-low-risk-option-specs.mjs +128 -0
- package/tools/vibe-runtime/runtime-cli-main.mjs +32 -0
- package/tools/vibe-runtime/runtime-cli-option-default-families.mjs +454 -0
- package/tools/vibe-runtime/runtime-cli-option-defaults.mjs +33 -0
- package/tools/vibe-runtime/runtime-cli-option-handlers.mjs +82 -0
- package/tools/vibe-runtime/runtime-cli-usage.mjs +316 -0
- package/tools/vibe-runtime/runtime-cli-value-options.mjs +74 -0
- package/tools/vibe-runtime/runtime-close-loop-dashboard.mjs +283 -0
- package/tools/vibe-runtime/runtime-closeout-parity-contract.mjs +214 -0
- package/tools/vibe-runtime/runtime-command-container.mjs +26 -0
- package/tools/vibe-runtime/runtime-command-surface-registry.mjs +383 -0
- package/tools/vibe-runtime/runtime-command-wrapper-deps.mjs +13 -0
- package/tools/vibe-runtime/runtime-commit-readiness-envelope.mjs +281 -0
- package/tools/vibe-runtime/runtime-completion-boundary-text.mjs +7 -0
- package/tools/vibe-runtime/runtime-completion-bundle-contract.mjs +71 -0
- package/tools/vibe-runtime/runtime-completion-chain-assembly.mjs +48 -0
- package/tools/vibe-runtime/runtime-completion-command.mjs +50 -0
- package/tools/vibe-runtime/runtime-completion-evidence-bundle.mjs +269 -0
- package/tools/vibe-runtime/runtime-completion-evidence-descriptors.mjs +156 -0
- package/tools/vibe-runtime/runtime-completion-local-evidence-gates.mjs +164 -0
- package/tools/vibe-runtime/runtime-completion-presentation.mjs +71 -0
- package/tools/vibe-runtime/runtime-completion-readiness-summary.mjs +159 -0
- package/tools/vibe-runtime/runtime-confirmed-one-shot-plan.mjs +300 -0
- package/tools/vibe-runtime/runtime-context-budget-entry-defaults-command.mjs +77 -0
- package/tools/vibe-runtime/runtime-context-budget-entry-defaults.mjs +341 -0
- package/tools/vibe-runtime/runtime-contract-marker-registry.mjs +13 -0
- package/tools/vibe-runtime/runtime-contributor-guardrail-command.mjs +78 -0
- package/tools/vibe-runtime/runtime-contributor-guardrail-evidence.mjs +319 -0
- package/tools/vibe-runtime/runtime-control-plane-command.mjs +237 -0
- package/tools/vibe-runtime/runtime-control-plane-evals-artifacts.mjs +123 -0
- package/tools/vibe-runtime/runtime-control-plane-evals-boundary-model.mjs +75 -0
- package/tools/vibe-runtime/runtime-control-plane-evals-cases.mjs +547 -0
- package/tools/vibe-runtime/runtime-control-plane-evals-command.mjs +527 -0
- package/tools/vibe-runtime/runtime-control-plane-evals-report-validation.mjs +209 -0
- package/tools/vibe-runtime/runtime-control-plane-planner-artifacts.mjs +457 -0
- package/tools/vibe-runtime/runtime-control-plane-planning-command.mjs +563 -0
- package/tools/vibe-runtime/runtime-control-plane-planning-input.mjs +99 -0
- package/tools/vibe-runtime/runtime-control-plane-planning-listing.mjs +48 -0
- package/tools/vibe-runtime/runtime-control-plane-planning-presentation.mjs +246 -0
- package/tools/vibe-runtime/runtime-control-plane-planning-validation.mjs +529 -0
- package/tools/vibe-runtime/runtime-control-plane-readonly-command.mjs +537 -0
- package/tools/vibe-runtime/runtime-control-plane-readonly-deps.mjs +146 -0
- package/tools/vibe-runtime/runtime-control-plane-release-evidence.mjs +525 -0
- package/tools/vibe-runtime/runtime-control-plane-release-gates.mjs +369 -0
- package/tools/vibe-runtime/runtime-control-plane-router-planning-model.mjs +152 -0
- package/tools/vibe-runtime/runtime-control-plane-routing-artifacts.mjs +588 -0
- package/tools/vibe-runtime/runtime-controlled-change-delivery-contract.mjs +165 -0
- package/tools/vibe-runtime/runtime-controlled-execution-gate-contract.mjs +141 -0
- package/tools/vibe-runtime/runtime-controlled-long-running-automation-contract.mjs +184 -0
- package/tools/vibe-runtime/runtime-controlled-subagent-orchestration-contract.mjs +169 -0
- package/tools/vibe-runtime/runtime-daemon-command.mjs +166 -0
- package/tools/vibe-runtime/runtime-daemon-state-lifecycle-model.mjs +359 -0
- package/tools/vibe-runtime/runtime-delivery-methodology-command.mjs +17 -0
- package/tools/vibe-runtime/runtime-delivery-methodology-gates.mjs +277 -0
- package/tools/vibe-runtime/runtime-diff-coverage-envelope.mjs +301 -0
- package/tools/vibe-runtime/runtime-dispatch-command.mjs +484 -0
- package/tools/vibe-runtime/runtime-dispatch-readonly-artifacts.mjs +406 -0
- package/tools/vibe-runtime/runtime-dispatch-state-lifecycle-model.mjs +199 -0
- package/tools/vibe-runtime/runtime-durable-state-recovery-contract.mjs +172 -0
- package/tools/vibe-runtime/runtime-entry-advice-model.mjs +201 -0
- package/tools/vibe-runtime/runtime-entry-deps-builder.mjs +54 -0
- package/tools/vibe-runtime/runtime-entry-presentation.mjs +82 -0
- package/tools/vibe-runtime/runtime-entry-summary-model.mjs +343 -0
- package/tools/vibe-runtime/runtime-entry-trigger-discipline.mjs +341 -0
- package/tools/vibe-runtime/runtime-entry-trigger-tightening-command.mjs +79 -0
- package/tools/vibe-runtime/runtime-entry-trigger-tightening.mjs +357 -0
- package/tools/vibe-runtime/runtime-eval-catalog-model.mjs +101 -0
- package/tools/vibe-runtime/runtime-eval-transcript-fixtures.mjs +218 -0
- package/tools/vibe-runtime/runtime-evidence-intake-envelope.mjs +278 -0
- package/tools/vibe-runtime/runtime-evidence-repair-model.mjs +180 -0
- package/tools/vibe-runtime/runtime-executable-plan-contract.mjs +428 -0
- package/tools/vibe-runtime/runtime-execution-approval-lifecycle-models.mjs +278 -0
- package/tools/vibe-runtime/runtime-execution-candidate-approval-artifacts.mjs +227 -0
- package/tools/vibe-runtime/runtime-execution-command.mjs +544 -0
- package/tools/vibe-runtime/runtime-execution-enabled-bridge-model.mjs +113 -0
- package/tools/vibe-runtime/runtime-execution-enabled-closeout-boundary.mjs +89 -0
- package/tools/vibe-runtime/runtime-execution-enabled-preflight-model.mjs +185 -0
- package/tools/vibe-runtime/runtime-execution-enabled-profile-contract.mjs +127 -0
- package/tools/vibe-runtime/runtime-execution-enabled-run-envelope.mjs +153 -0
- package/tools/vibe-runtime/runtime-execution-evidence-binder.mjs +537 -0
- package/tools/vibe-runtime/runtime-execution-plan-artifacts.mjs +136 -0
- package/tools/vibe-runtime/runtime-execution-policy-artifacts.mjs +377 -0
- package/tools/vibe-runtime/runtime-execution-presentation.mjs +174 -0
- package/tools/vibe-runtime/runtime-execution-readonly-artifacts.mjs +228 -0
- package/tools/vibe-runtime/runtime-execution-run-preflight-artifacts.mjs +265 -0
- package/tools/vibe-runtime/runtime-execution-safety-artifacts.mjs +131 -0
- package/tools/vibe-runtime/runtime-execution-state-write-lifecycle-model.mjs +99 -0
- package/tools/vibe-runtime/runtime-experience-friction-matrix.mjs +395 -0
- package/tools/vibe-runtime/runtime-experience-learning-pattern.mjs +354 -0
- package/tools/vibe-runtime/runtime-experience-regression-dashboard.mjs +398 -0
- package/tools/vibe-runtime/runtime-experience-upgrade-command.mjs +92 -0
- package/tools/vibe-runtime/runtime-experience-upgrade-prioritizer.mjs +451 -0
- package/tools/vibe-runtime/runtime-foreground-worker-plan.mjs +275 -0
- package/tools/vibe-runtime/runtime-git-diff-read-model.mjs +322 -0
- package/tools/vibe-runtime/runtime-governance-attestation.mjs +304 -0
- package/tools/vibe-runtime/runtime-governance-command.mjs +609 -0
- package/tools/vibe-runtime/runtime-governance-convergence-reports.mjs +601 -0
- package/tools/vibe-runtime/runtime-governance-pr-models.mjs +551 -0
- package/tools/vibe-runtime/runtime-governance-presentation.mjs +67 -0
- package/tools/vibe-runtime/runtime-governance-route-model.mjs +194 -0
- package/tools/vibe-runtime/runtime-governance-surface-reports.mjs +495 -0
- package/tools/vibe-runtime/runtime-hooks-boundary-model.mjs +356 -0
- package/tools/vibe-runtime/runtime-hooks-command.mjs +286 -0
- package/tools/vibe-runtime/runtime-human-completion-evidence-model.mjs +220 -0
- package/tools/vibe-runtime/runtime-human-friendly-aliases.mjs +250 -0
- package/tools/vibe-runtime/runtime-implementation-methodology-command.mjs +17 -0
- package/tools/vibe-runtime/runtime-implementation-methodology-gates.mjs +164 -0
- package/tools/vibe-runtime/runtime-implementation-task-registry.mjs +334 -0
- package/tools/vibe-runtime/runtime-install-experience-command.mjs +120 -0
- package/tools/vibe-runtime/runtime-install-experience-score.mjs +334 -0
- package/tools/vibe-runtime/runtime-installed-multiround-ux-acceptance.mjs +149 -0
- package/tools/vibe-runtime/runtime-interaction-command-domain-registry.mjs +46 -0
- package/tools/vibe-runtime/runtime-interaction-command.mjs +648 -0
- package/tools/vibe-runtime/runtime-interaction-completion-command.mjs +220 -0
- package/tools/vibe-runtime/runtime-interaction-entry-command.mjs +130 -0
- package/tools/vibe-runtime/runtime-interaction-workflow-envelopes.mjs +412 -0
- package/tools/vibe-runtime/runtime-learning-advice-model.mjs +157 -0
- package/tools/vibe-runtime/runtime-learning-artifact-model.mjs +509 -0
- package/tools/vibe-runtime/runtime-learning-audit-model.mjs +106 -0
- package/tools/vibe-runtime/runtime-learning-interaction-command.mjs +220 -0
- package/tools/vibe-runtime/runtime-learning-observation-model.mjs +124 -0
- package/tools/vibe-runtime/runtime-learning-presentation.mjs +84 -0
- package/tools/vibe-runtime/runtime-learning-run-preview-model.mjs +184 -0
- package/tools/vibe-runtime/runtime-lease-command.mjs +95 -0
- package/tools/vibe-runtime/runtime-lease-state-lifecycle-model.mjs +247 -0
- package/tools/vibe-runtime/runtime-list-presentation.mjs +7 -0
- package/tools/vibe-runtime/runtime-live-behavior-transcript-model.mjs +164 -0
- package/tools/vibe-runtime/runtime-local-behavior-eval-contracts-command.mjs +76 -0
- package/tools/vibe-runtime/runtime-local-behavior-eval-contracts.mjs +382 -0
- package/tools/vibe-runtime/runtime-local-commit-automation-gate.mjs +254 -0
- package/tools/vibe-runtime/runtime-local-json-input.mjs +32 -0
- package/tools/vibe-runtime/runtime-methodology-coverage-map.mjs +398 -0
- package/tools/vibe-runtime/runtime-methodology-coverage-marker-specs.mjs +61 -0
- package/tools/vibe-runtime/runtime-methodology-coverage-presentation.mjs +26 -0
- package/tools/vibe-runtime/runtime-methodology-gate-model.mjs +154 -0
- package/tools/vibe-runtime/runtime-methodology-gate-output-envelope.mjs +4 -0
- package/tools/vibe-runtime/runtime-methodology-interaction-command.mjs +147 -0
- package/tools/vibe-runtime/runtime-methodology-presentation.mjs +76 -0
- package/tools/vibe-runtime/runtime-methodology-route-model.mjs +93 -0
- package/tools/vibe-runtime/runtime-next-action-console.mjs +388 -0
- package/tools/vibe-runtime/runtime-next-action-evidence-prompts-command.mjs +84 -0
- package/tools/vibe-runtime/runtime-next-action-evidence-prompts.mjs +327 -0
- package/tools/vibe-runtime/runtime-observability-command.mjs +96 -0
- package/tools/vibe-runtime/runtime-observability-presentation.mjs +30 -0
- package/tools/vibe-runtime/runtime-observability-readiness-model.mjs +204 -0
- package/tools/vibe-runtime/runtime-patch-queue-contract.mjs +151 -0
- package/tools/vibe-runtime/runtime-plan-action-manifest.mjs +334 -0
- package/tools/vibe-runtime/runtime-planner-route-model.mjs +75 -0
- package/tools/vibe-runtime/runtime-platform-acceptance-command.mjs +216 -0
- package/tools/vibe-runtime/runtime-platform-capability-artifacts.mjs +156 -0
- package/tools/vibe-runtime/runtime-platform-capability-model.mjs +105 -0
- package/tools/vibe-runtime/runtime-platform-command.mjs +329 -0
- package/tools/vibe-runtime/runtime-platform-presentation.mjs +78 -0
- package/tools/vibe-runtime/runtime-platform-session-artifacts.mjs +857 -0
- package/tools/vibe-runtime/runtime-platform-transcript-example-pack.mjs +293 -0
- package/tools/vibe-runtime/runtime-platform-transcript-intake-model.mjs +247 -0
- package/tools/vibe-runtime/runtime-platform-transcript-replay-model.mjs +371 -0
- package/tools/vibe-runtime/runtime-policy-catalog.mjs +54 -0
- package/tools/vibe-runtime/runtime-product-methodology-command.mjs +17 -0
- package/tools/vibe-runtime/runtime-product-methodology-gates.mjs +316 -0
- package/tools/vibe-runtime/runtime-progressive-entry-ux.mjs +237 -0
- package/tools/vibe-runtime/runtime-queue-command.mjs +98 -0
- package/tools/vibe-runtime/runtime-queue-state-lifecycle-model.mjs +318 -0
- package/tools/vibe-runtime/runtime-readiness-gate-split.mjs +196 -0
- package/tools/vibe-runtime/runtime-readonly-local-json-output-envelope.mjs +24 -0
- package/tools/vibe-runtime/runtime-recovery-classification-models.mjs +412 -0
- package/tools/vibe-runtime/runtime-recovery-command.mjs +107 -0
- package/tools/vibe-runtime/runtime-recovery-presentation.mjs +65 -0
- package/tools/vibe-runtime/runtime-recovery-state-lifecycle-model.mjs +419 -0
- package/tools/vibe-runtime/runtime-release-command-deps.mjs +4 -0
- package/tools/vibe-runtime/runtime-release-command.mjs +225 -0
- package/tools/vibe-runtime/runtime-release-state-lifecycle-model.mjs +48 -0
- package/tools/vibe-runtime/runtime-reply-artifact-lifecycle-model.mjs +84 -0
- package/tools/vibe-runtime/runtime-reply-command.mjs +488 -0
- package/tools/vibe-runtime/runtime-retry-command.mjs +223 -0
- package/tools/vibe-runtime/runtime-retry-run-gate-model.mjs +151 -0
- package/tools/vibe-runtime/runtime-review-envelope.mjs +449 -0
- package/tools/vibe-runtime/runtime-review-feedback-gate.mjs +160 -0
- package/tools/vibe-runtime/runtime-runbook-executor-preview-contract.mjs +361 -0
- package/tools/vibe-runtime/runtime-scheduler-command.mjs +8 -0
- package/tools/vibe-runtime/runtime-scheduler-risk-artifacts.mjs +775 -0
- package/tools/vibe-runtime/runtime-scheduler-state-lifecycle-model.mjs +53 -0
- package/tools/vibe-runtime/runtime-sdd-consumption-command.mjs +386 -0
- package/tools/vibe-runtime/runtime-sdd-evidence-chain-model.mjs +200 -0
- package/tools/vibe-runtime/runtime-sdd-handoff-chain-model.mjs +168 -0
- package/tools/vibe-runtime/runtime-sdd-implementer-artifact-model.mjs +90 -0
- package/tools/vibe-runtime/runtime-sdd-loop-command.mjs +659 -0
- package/tools/vibe-runtime/runtime-sdd-plan-preflight-model.mjs +121 -0
- package/tools/vibe-runtime/runtime-sdd-review-package-command.mjs +197 -0
- package/tools/vibe-runtime/runtime-sdd-review-package-model.mjs +183 -0
- package/tools/vibe-runtime/runtime-sdd-task-brief-model.mjs +144 -0
- package/tools/vibe-runtime/runtime-self-test-gate-profile.mjs +225 -0
- package/tools/vibe-runtime/runtime-sequential-stage-runbook.mjs +406 -0
- package/tools/vibe-runtime/runtime-session-checkpoint-model.mjs +217 -0
- package/tools/vibe-runtime/runtime-session-skill-command.mjs +241 -0
- package/tools/vibe-runtime/runtime-session-start-example-command.mjs +122 -0
- package/tools/vibe-runtime/runtime-session-start-example-pack.mjs +290 -0
- package/tools/vibe-runtime/runtime-session-start-shape-acceptance.mjs +344 -0
- package/tools/vibe-runtime/runtime-skill-contract-schema.mjs +221 -0
- package/tools/vibe-runtime/runtime-skill-route-registry.mjs +47 -0
- package/tools/vibe-runtime/runtime-skill-runtime-traceability-map.mjs +268 -0
- package/tools/vibe-runtime/runtime-source-merge-apply-boundary-model.mjs +130 -0
- package/tools/vibe-runtime/runtime-source-merge-artifacts.mjs +920 -0
- package/tools/vibe-runtime/runtime-source-merge-command.mjs +160 -0
- package/tools/vibe-runtime/runtime-source-merge-entry-command.mjs +153 -0
- package/tools/vibe-runtime/runtime-source-patch-plan-model.mjs +119 -0
- package/tools/vibe-runtime/runtime-stage-scriptlet.mjs +430 -0
- package/tools/vibe-runtime/runtime-staged-commit-readiness.mjs +469 -0
- package/tools/vibe-runtime/runtime-state-directory-model.mjs +7 -0
- package/tools/vibe-runtime/runtime-state-io.mjs +41 -0
- package/tools/vibe-runtime/runtime-state-paths.mjs +231 -0
- package/tools/vibe-runtime/runtime-state-presence-model.mjs +6 -0
- package/tools/vibe-runtime/runtime-state-risk-paths.mjs +70 -0
- package/tools/vibe-runtime/runtime-subagent-adapter-dispatch-command.mjs +266 -0
- package/tools/vibe-runtime/runtime-subagent-boundary-contracts.mjs +118 -0
- package/tools/vibe-runtime/runtime-subagent-permission-command.mjs +78 -0
- package/tools/vibe-runtime/runtime-subagent-permission-gate-model.mjs +131 -0
- package/tools/vibe-runtime/runtime-subagent-permission-visibility.mjs +294 -0
- package/tools/vibe-runtime/runtime-subagents-artifact-specs.mjs +257 -0
- package/tools/vibe-runtime/runtime-subagents-command.mjs +10 -0
- package/tools/vibe-runtime/runtime-subagents-eligibility-model.mjs +340 -0
- package/tools/vibe-runtime/runtime-subagents-platform-session-proxies.mjs +54 -0
- package/tools/vibe-runtime/runtime-subagents-presentation.mjs +91 -0
- package/tools/vibe-runtime/runtime-subagents-risk-artifacts.mjs +853 -0
- package/tools/vibe-runtime/runtime-subagents-stage-artifact-model.mjs +538 -0
- package/tools/vibe-runtime/runtime-subagents-tail-routing-model.mjs +48 -0
- package/tools/vibe-runtime/runtime-suite-plan-model.mjs +194 -0
- package/tools/vibe-runtime/runtime-superpowers-comparison-matrix.mjs +399 -0
- package/tools/vibe-runtime/runtime-superpowers-gap-matrix.mjs +307 -0
- package/tools/vibe-runtime/runtime-superpowers-parity-command.mjs +102 -0
- package/tools/vibe-runtime/runtime-superpowers-parity-profile-contract.mjs +183 -0
- package/tools/vibe-runtime/runtime-superpowers-parity-scorecard.mjs +460 -0
- package/tools/vibe-runtime/runtime-superpowers-regression-guard.mjs +270 -0
- package/tools/vibe-runtime/runtime-superpowers-style-eval-pack.mjs +367 -0
- package/tools/vibe-runtime/runtime-task-commit-gates.mjs +62 -0
- package/tools/vibe-runtime/runtime-task-commit-readiness.mjs +66 -0
- package/tools/vibe-runtime/runtime-task-commit-sidecar.mjs +65 -0
- package/tools/vibe-runtime/runtime-tdd-trace-contract.mjs +277 -0
- package/tools/vibe-runtime/runtime-test-evidence-model.mjs +196 -0
- package/tools/vibe-runtime/runtime-test-run-command-deps.mjs +7 -0
- package/tools/vibe-runtime/runtime-test-run-command.mjs +108 -0
- package/tools/vibe-runtime/runtime-token-economy-model.mjs +336 -0
- package/tools/vibe-runtime/runtime-token-interaction-command.mjs +381 -0
- package/tools/vibe-runtime/runtime-token-savior-budget.mjs +370 -0
- package/tools/vibe-runtime/runtime-tokens-command-deps.mjs +17 -0
- package/tools/vibe-runtime/runtime-tokens-command.mjs +117 -0
- package/tools/vibe-runtime/runtime-tokens-presentation.mjs +45 -0
- package/tools/vibe-runtime/runtime-trace-command.mjs +283 -0
- package/tools/vibe-runtime/runtime-trace-source-registry.mjs +132 -0
- package/tools/vibe-runtime/runtime-verification-gate-chain-model.mjs +131 -0
- package/tools/vibe-runtime/runtime-verification-repair-loop-plan.mjs +188 -0
- package/tools/vibe-runtime/runtime-workflow-alias-boundary-text.mjs +7 -0
- package/tools/vibe-runtime/runtime-workflow-alias-interaction-command.mjs +145 -0
- package/tools/vibe-runtime/runtime-workflow-command-deps.mjs +41 -0
- package/tools/vibe-runtime/runtime-workflow-command.mjs +191 -0
- package/tools/vibe-runtime/runtime-workflow-discipline-summary.mjs +164 -0
- package/tools/vibe-runtime/runtime-workflow-entry-envelopes.mjs +156 -0
- package/tools/vibe-runtime/runtime-workflow-ledger-command.mjs +239 -0
- package/tools/vibe-runtime/runtime-workflow-ledger-state-lifecycle-model.mjs +46 -0
- package/tools/vibe-runtime/runtime-workflow-loop-contract.mjs +259 -0
- package/tools/vibe-runtime/runtime-workflow-next-step-gate-model.mjs +106 -0
- package/tools/vibe-runtime/runtime-workflow-presentation.mjs +355 -0
- package/tools/vibe-runtime/runtime-workflow-readiness-model.mjs +176 -0
- package/tools/vibe-runtime/runtime-workflow-run-plan-model.mjs +207 -0
- package/tools/vibe-runtime/runtime-workflow-start-model.mjs +229 -0
- package/tools/vibe-runtime/runtime-workflow-state-artifacts.mjs +381 -0
- package/tools/vibe-runtime/runtime-workflow-state-helpers.mjs +456 -0
- package/tools/vibe-runtime/runtime-workflow-state-summary.mjs +65 -0
- package/tools/vibe-runtime/runtime-workflow-state-validation.mjs +104 -0
- package/tools/vibe-runtime/runtime-workflow-ux-model.mjs +205 -0
- package/tools/vibe-runtime/runtime-workspace-boundary-text.mjs +7 -0
- package/tools/vibe-runtime/runtime-workspace-isolation-command.mjs +295 -0
- package/tools/vibe-runtime/state-core-paths.mjs +113 -0
- package/tools/vibe-runtime/state-extension-paths.mjs +198 -0
- package/tools/vibe-runtime/state-safe-paths.mjs +2 -0
- package/tools/vibe-runtime-check/README.md +110 -0
- package/tools/vibe-runtime-check/architecture-tool-contracts.mjs +150 -0
- package/tools/vibe-runtime-check/index.mjs +186 -0
- package/tools/vibe-runtime-check/install-summary-adoption-contracts.mjs +115 -0
- package/tools/vibe-runtime-check/marker-contract-core.mjs +20 -0
- package/tools/vibe-runtime-check/product-artifact-contracts.mjs +24 -0
- package/tools/vibe-runtime-check/release-check-install-placement-contracts.mjs +166 -0
- package/tools/vibe-runtime-check/release-runtime-suite-layer-contracts.mjs +137 -0
- package/tools/vibe-runtime-check/runtime-architecture-manifest-drift-contracts.mjs +128 -0
- package/tools/vibe-runtime-check/runtime-automation-readiness-contracts.mjs +404 -0
- package/tools/vibe-runtime-check/runtime-capability-registry-contracts.mjs +299 -0
- package/tools/vibe-runtime-check/runtime-check-diagnostics-presentation.mjs +71 -0
- package/tools/vibe-runtime-check/runtime-cli-surface-contracts.mjs +156 -0
- package/tools/vibe-runtime-check/runtime-close-loop-contracts.mjs +163 -0
- package/tools/vibe-runtime-check/runtime-contract-delivery-registry.mjs +19 -0
- package/tools/vibe-runtime-check/runtime-contract-implementation-registry.mjs +23 -0
- package/tools/vibe-runtime-check/runtime-contract-local-evidence-registry.mjs +43 -0
- package/tools/vibe-runtime-check/runtime-contract-product-registry.mjs +83 -0
- package/tools/vibe-runtime-check/runtime-contract-registry.mjs +19 -0
- package/tools/vibe-runtime-check/runtime-control-plane-contracts.mjs +14 -0
- package/tools/vibe-runtime-check/runtime-doc-contract-marker-specs.mjs +349 -0
- package/tools/vibe-runtime-check/runtime-doc-contracts.mjs +24 -0
- package/tools/vibe-runtime-check/runtime-doc-marker-contracts.mjs +25 -0
- package/tools/vibe-runtime-check/runtime-entry-size-contracts.mjs +477 -0
- package/tools/vibe-runtime-check/runtime-experience-cli-contract-specs.mjs +98 -0
- package/tools/vibe-runtime-check/runtime-experience-cli-contracts.mjs +12 -0
- package/tools/vibe-runtime-check/runtime-experience-contracts.mjs +187 -0
- package/tools/vibe-runtime-check/runtime-governance-learning-token-contract-specs.mjs +92 -0
- package/tools/vibe-runtime-check/runtime-governance-learning-token-contracts.mjs +12 -0
- package/tools/vibe-runtime-check/runtime-high-risk-boundary-contracts.mjs +35 -0
- package/tools/vibe-runtime-check/runtime-high-risk-boundary-matrix.mjs +75 -0
- package/tools/vibe-runtime-check/runtime-index-import-boundary-contracts.mjs +192 -0
- package/tools/vibe-runtime-check/runtime-optimization-boundary-contracts.mjs +49 -0
- package/tools/vibe-runtime-check/runtime-pure-model-boundary-contracts.mjs +176 -0
- package/tools/vibe-runtime-check/runtime-release-closeout-contracts.mjs +25 -0
- package/tools/vibe-runtime-check/runtime-roadmap-marker-specs.mjs +559 -0
- package/tools/vibe-runtime-check/runtime-source-bundle.mjs +119 -0
- package/tools/vibe-runtime-check/runtime-tool-readme-contracts.mjs +93 -0
- package/tools/vibe-runtime-check/runtime-tool-readme-marker-specs.mjs +952 -0
- package/tools/vibe-runtime-check/workflow-skill-contracts.mjs +129 -0
- package/tools/vibe-runtime-check/workflow-skill-route-registry-contracts.mjs +106 -0
- package/tools/vibe-runtime-check/workflow-ux-contracts.mjs +46 -0
|
@@ -0,0 +1,1226 @@
|
|
|
1
|
+
# 第一阶段验收清单
|
|
2
|
+
|
|
3
|
+
## 基础文件验收
|
|
4
|
+
|
|
5
|
+
源码仓库必须存在:
|
|
6
|
+
|
|
7
|
+
- `README.md`
|
|
8
|
+
- `CLAUDE.md`
|
|
9
|
+
- `AGENTS.md`
|
|
10
|
+
- `skills/using-vibecoding/SKILL.md`
|
|
11
|
+
- `skills/vibe-brainstorming/SKILL.md`
|
|
12
|
+
- `skills/vibe-product-discovery/SKILL.md`
|
|
13
|
+
- `skills/vibe-product-spec/SKILL.md`
|
|
14
|
+
- `skills/vibe-ui-design/SKILL.md`
|
|
15
|
+
- `skills/vibe-planning/SKILL.md`
|
|
16
|
+
- `skills/vibe-writing-skills/SKILL.md`
|
|
17
|
+
- `skills/vibe-writing-plans/SKILL.md`
|
|
18
|
+
- `skills/vibe-workspace-isolation/SKILL.md`
|
|
19
|
+
- `skills/vibe-subagent-driven-development/SKILL.md`
|
|
20
|
+
- `skills/vibe-dispatching-parallel-work/SKILL.md`
|
|
21
|
+
- `skills/vibe-test-driven-development/SKILL.md`
|
|
22
|
+
- `skills/vibe-executing-plans/SKILL.md`
|
|
23
|
+
- `skills/vibe-debugging/SKILL.md`
|
|
24
|
+
- `skills/vibe-systematic-debugging/SKILL.md`
|
|
25
|
+
- `skills/vibe-implementation/SKILL.md`
|
|
26
|
+
- `skills/vibe-requesting-code-review/SKILL.md`
|
|
27
|
+
- `skills/vibe-review/SKILL.md`
|
|
28
|
+
- `skills/vibe-receiving-code-review/SKILL.md`
|
|
29
|
+
- `skills/vibe-product-acceptance/SKILL.md`
|
|
30
|
+
- `skills/vibe-verification/SKILL.md`
|
|
31
|
+
- `skills/vibe-verification-before-completion/SKILL.md`
|
|
32
|
+
- `skills/vibe-finishing-a-development-branch/SKILL.md`
|
|
33
|
+
- `skills/vibe-context-compact/SKILL.md`
|
|
34
|
+
- `adapters/claude/plugin.json`
|
|
35
|
+
- `adapters/codex/plugin.json`
|
|
36
|
+
- `adapters/cursor/plugin.json`
|
|
37
|
+
- `hooks/session-start/session-start.md`
|
|
38
|
+
- `hooks/session-start/session-start.mjs`
|
|
39
|
+
- `hooks/workflow-handoff/workflow-handoff.md`
|
|
40
|
+
- `hooks/workflow-handoff/README.md`
|
|
41
|
+
- `hooks/post-tool-compact/README.md`
|
|
42
|
+
- `docs/install-claude.md`
|
|
43
|
+
- `docs/install-codex.md`
|
|
44
|
+
- `docs/install-cursor.md`
|
|
45
|
+
- `docs/release-guide.md`
|
|
46
|
+
- `docs/phase-2-roadmap.md`
|
|
47
|
+
- `docs/install-experience-roadmap.md`
|
|
48
|
+
- `docs/submodule-guide.md`
|
|
49
|
+
- `docs/runtime-roadmap.md`
|
|
50
|
+
- `docs/runtime-contract.md`
|
|
51
|
+
- `tools/vibe-runtime-check/index.mjs`
|
|
52
|
+
- `tools/vibe-runtime-check/README.md`
|
|
53
|
+
- `tools/vibe-runtime/index.mjs`
|
|
54
|
+
- `tools/vibe-runtime/README.md`
|
|
55
|
+
- `tools/vibe-compact/index.mjs`
|
|
56
|
+
- `tools/vibe-compact/README.md`
|
|
57
|
+
- `tools/vibe-release-check/index.mjs`
|
|
58
|
+
- `tools/vibe-release-check/README.md`
|
|
59
|
+
- `tools/vibe-init/README.md`
|
|
60
|
+
- `tools/vibe-doctor/README.md`
|
|
61
|
+
- `tools/vibe-lifecycle/index.mjs`
|
|
62
|
+
- `tools/vibe-lifecycle/README.md`
|
|
63
|
+
- `tools/vibe-plugin-pack/index.mjs`
|
|
64
|
+
- `tools/vibe-plugin-pack/README.md`
|
|
65
|
+
- `package.json`
|
|
66
|
+
- `bin/vibe.mjs`
|
|
67
|
+
- `examples/claude-project/README.md`
|
|
68
|
+
- `examples/codex-project/README.md`
|
|
69
|
+
- `examples/cursor-project/README.md`
|
|
70
|
+
- `templates/CLAUDE.md`
|
|
71
|
+
- `templates/AGENTS.md`
|
|
72
|
+
- `templates/product-discovery.md`
|
|
73
|
+
- `templates/product-spec.md`
|
|
74
|
+
- `templates/ui-design-contract.md`
|
|
75
|
+
- `templates/product-acceptance.md`
|
|
76
|
+
- `templates/scenario-acceptance.yaml`
|
|
77
|
+
- `templates/implementation-plan.md`
|
|
78
|
+
- `examples/runtime-fixtures/product-discovery.md`
|
|
79
|
+
- `examples/runtime-fixtures/product-spec.md`
|
|
80
|
+
- `examples/runtime-fixtures/ui-design-contract.md`
|
|
81
|
+
- `examples/runtime-fixtures/product-acceptance.md`
|
|
82
|
+
- `examples/runtime-fixtures/architecture-design.md`
|
|
83
|
+
- `examples/runtime-fixtures/delivery-traceability.yaml`
|
|
84
|
+
- `examples/runtime-fixtures/implementation-plan.md`
|
|
85
|
+
- `examples/runtime-fixtures/test-evidence.json`
|
|
86
|
+
- `examples/runtime-fixtures/diff-coverage.json`
|
|
87
|
+
- `examples/runtime-fixtures/commit-readiness.json`
|
|
88
|
+
- `examples/runtime-fixtures/negative/delivery-traceability-bad-ref.yaml`
|
|
89
|
+
- `examples/runtime-fixtures/negative/test-evidence-missing-output-digest.json`
|
|
90
|
+
- `examples/runtime-fixtures/negative/diff-coverage-unexpected-file.json`
|
|
91
|
+
- `examples/runtime-fixtures/negative/commit-readiness-boundary-escalated.json`
|
|
92
|
+
- `examples/runtime-fixtures/negative/diff-coverage-changed-file-without-task-ref.json`
|
|
93
|
+
- `examples/runtime-fixtures/negative/diff-coverage-required-task-missing.json`
|
|
94
|
+
- `examples/runtime-fixtures/negative/diff-coverage-operation-mismatch.json`
|
|
95
|
+
- `examples/runtime-fixtures/negative/test-evidence-risky-task-missing.json`
|
|
96
|
+
- `examples/runtime-fixtures/scenario-acceptance.yaml`
|
|
97
|
+
- `examples/runtime-fixtures/evidence.json`
|
|
98
|
+
|
|
99
|
+
## Product / UI Workflow 验收基线
|
|
100
|
+
|
|
101
|
+
产品和 UI 补齐 stage 独立于 runtime 自动执行路线。验收重点是产品发现、产品规格、UI contract 和产品体验验收能作为显式 workflow handoff 接入既有工程链路,不要求启用 runtime,也不得默认创建 `.vibecoding-state/`。
|
|
102
|
+
|
|
103
|
+
期望:
|
|
104
|
+
|
|
105
|
+
- `vibe-product-discovery` 负责产品问题、目标用户、场景、价值假设和成功指标,不写实现计划。
|
|
106
|
+
- `vibe-product-spec` 负责 PRD / capability spec、用户故事、功能要求、非功能要求和产品验收标准,不替代架构规划。
|
|
107
|
+
- `vibe-ui-design` 负责屏幕、用户路径、组件职责、UI 状态、文案、交互、响应式和可访问性 contract,不写前端代码。
|
|
108
|
+
- `vibe-product-acceptance` 负责产品体验验收,区分场景覆盖、用户路径证据、UI 状态证据、可访问性证据、指标准备和体验缺口,不替代工程验证。
|
|
109
|
+
- 四个 skill 都必须包含 frontmatter、`## 下一步调用`、`## Workflow Handoff`、`current_skill:`、`next_skill:`、`handoff:` 和 `stop_condition:`。
|
|
110
|
+
- 产品/UI/交付标准 artifact 模板必须存在:`templates/product-discovery.md`、`templates/product-spec.md`、`templates/ui-design-contract.md`、`templates/product-acceptance.md`、`templates/scenario-acceptance.yaml`、`templates/architecture-design.md`、`templates/delivery-traceability.yaml`、`templates/implementation-plan.md`。
|
|
111
|
+
- `methodology --gate --kind product-spec|ui-design|scenario-acceptance --from-file <fixture> --json` 必须只读通过,并输出 `product_methodology_gate`、`gate_digest`、`writes=false`、`state_directory_created=false`、`command_execution=false`、`skill_execution=false`、`subagent=false`、`mcp=false`、`git=false`。
|
|
112
|
+
- `methodology --gate --kind architecture-design|delivery-traceability --from-file <fixture> --json` 必须只读通过,并输出 `delivery-methodology-gate`、`delivery_methodology_gate`、`gate_digest`、`writes=false`、`state_directory_created=false`、`command_execution=false`、`test_execution=false`、`subagent=false`、`mcp=false`、`git=false`。
|
|
113
|
+
- `methodology --gate --kind implementation-plan --from-file <fixture> --json` 必须只读通过,并输出 `implementation-methodology-gate`、`implementation_task_registry`、`implementation_task_registry_digest`、`writes=false`、`state_directory_created=false`、`command_execution=false`、`test_execution=false`、`subagent=false`、`mcp=false`、`git=false`。
|
|
114
|
+
- `completion --evidence-bundle --from-product-discovery ... --from-architecture ... --from-traceability ... --from-commit-readiness ... --from-evidence ... --json` 必须只读通过,并输出 `product-completion-evidence-bundle`、`requirements_chain`、`architecture_chain`、`traceability_chain`、`implementation_chain`、`implementation_alignment_gate`、`implementation_alignment_ok`、`release_readiness_chain`、`product_readiness`、`ui_readiness`、`engineering_readiness`、`bundle_digest`、`commit_execution_authorized=false`、`git_write=false`、`commit=false`、`push=false`、`pr=false`、`merge=false`。
|
|
115
|
+
- `using-vibecoding`、根入口和 templates 只做轻量路由,不自动执行产品/UI workflow。
|
|
116
|
+
|
|
117
|
+
## Install UX Stage 验收基线
|
|
118
|
+
|
|
119
|
+
安装体验 stage 独立于 runtime roadmap。验收重点是项目接入、入口文件安全边界、doctor 复验和未来 `vibe` CLI 生命周期,不要求启用 runtime,也不得默认创建 `.vibecoding-state/`。
|
|
120
|
+
|
|
121
|
+
当前 UX-1 / 兼容命令 smoke:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
node tools/vibe-init/index.mjs --target .tmp/install-ux-target --platform all --dry-run
|
|
125
|
+
node tools/vibe-init/index.mjs --target .tmp/install-ux-target --platform all
|
|
126
|
+
node tools/vibe-doctor/index.mjs .tmp/install-ux-target
|
|
127
|
+
node tools/vibe-init/index.mjs --target .tmp/install-ux-target --platform auto --check
|
|
128
|
+
node tools/vibe-init/index.mjs --target .tmp/install-ux-target --platform auto --merge=preview
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
期望:
|
|
132
|
+
|
|
133
|
+
- `docs/install-experience-roadmap.md` 明确区分 install lifecycle 和 runtime lifecycle。
|
|
134
|
+
- 默认安装只创建 installed layout:入口文件和 `.vibecoding/`。
|
|
135
|
+
- 默认安装不创建 `.vibecoding-state/`。
|
|
136
|
+
- `vibe-doctor` 对 installed layout 输出 `Result: passed`。
|
|
137
|
+
- `--check` 只读,不写目标项目。
|
|
138
|
+
- `--merge=preview` 只输出建议合并内容,不覆盖已有入口文件;`--merge-preview` 仅作为兼容别名保留。
|
|
139
|
+
|
|
140
|
+
当前 UX-2 wrapper smoke:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
node bin/vibe.mjs --help
|
|
144
|
+
node bin/vibe.mjs init --target .tmp/install-ux-cli-target --platform all --dry-run
|
|
145
|
+
node bin/vibe.mjs init --target .tmp/install-ux-cli-target --platform all
|
|
146
|
+
node bin/vibe.mjs doctor --root .tmp/install-ux-cli-target
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
期望:
|
|
150
|
+
|
|
151
|
+
- `bin/vibe.mjs` 只做命令路由,不复制 init / doctor 核心逻辑。
|
|
152
|
+
- `node bin/vibe.mjs init` 在未传 `--target` 时默认使用当前目录。
|
|
153
|
+
- `node bin/vibe.mjs doctor --root <path>` 能复用现有 doctor 检查目标项目。
|
|
154
|
+
- 原 `node tools/vibe-init/index.mjs` 和 `node tools/vibe-doctor/index.mjs` 调用保持兼容。
|
|
155
|
+
|
|
156
|
+
当前 UX-3 managed block smoke:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
node bin/vibe.mjs init --target .tmp/install-ux-managed-new --platform cursor
|
|
160
|
+
node bin/vibe.mjs doctor --root .tmp/install-ux-managed-new
|
|
161
|
+
node bin/vibe.mjs init --target .tmp/install-ux-managed-existing --platform cursor --merge=preview
|
|
162
|
+
node bin/vibe.mjs init --target .tmp/install-ux-managed-existing --platform cursor --merge=append
|
|
163
|
+
node bin/vibe.mjs doctor --root .tmp/install-ux-managed-existing
|
|
164
|
+
node bin/vibe.mjs init --target .tmp/install-ux-managed-existing --platform cursor --merge=append
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
期望:
|
|
168
|
+
|
|
169
|
+
- 新创建的 `CLAUDE.md` / `AGENTS.md` 自带 `<!-- vibecoding:start version=0.2.0 -->` 和 `<!-- vibecoding:end -->`。
|
|
170
|
+
- 已有入口文件没有 managed block 时,默认不覆盖用户内容。
|
|
171
|
+
- `--merge=append` 只追加 managed block,不删除用户非 managed 内容。
|
|
172
|
+
- 已有 managed block 时重复运行只替换 block,不重复追加。
|
|
173
|
+
- doctor 能识别 managed block 缺失、重复或边界不完整。
|
|
174
|
+
|
|
175
|
+
当前 UX-4 lifecycle config smoke:
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
node bin/vibe.mjs init --target .tmp/install-ux-lifecycle --platform cursor
|
|
179
|
+
node bin/vibe.mjs doctor --root .tmp/install-ux-lifecycle
|
|
180
|
+
node bin/vibe.mjs repair --root .tmp/install-ux-lifecycle --dry-run
|
|
181
|
+
node bin/vibe.mjs uninstall --root .tmp/install-ux-lifecycle --dry-run
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
期望:
|
|
185
|
+
|
|
186
|
+
- `vibe init` 生成 `.vibecoding/config.json`。
|
|
187
|
+
- doctor 能校验 lifecycle config 和 managed entry 状态。
|
|
188
|
+
- `update` / `repair` / `uninstall` 默认 dry-run,写入必须传 `--confirm` 或 `--yes`。
|
|
189
|
+
- `repair --dry-run` 能列出缺失资产或 managed block 修复计划。
|
|
190
|
+
- `uninstall --dry-run` 只列出 managed block 和 `.vibecoding/` 删除计划,不触碰 `.vibecoding-state/`。
|
|
191
|
+
- lifecycle 命令不覆盖用户非 managed 内容。
|
|
192
|
+
|
|
193
|
+
当前 UX-5 session-start bootstrap smoke:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
node bin/vibe.mjs init --target .tmp/install-ux-bootstrap --platform cursor
|
|
197
|
+
node .tmp/install-ux-bootstrap/.vibecoding/hooks/session-start/session-start.mjs --format text
|
|
198
|
+
node .tmp/install-ux-bootstrap/.vibecoding/hooks/session-start/session-start.mjs --format cursor
|
|
199
|
+
node .tmp/install-ux-bootstrap/.vibecoding/hooks/session-start/session-start.mjs --format codex
|
|
200
|
+
node bin/vibe.mjs doctor --root .tmp/install-ux-bootstrap
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
期望:
|
|
204
|
+
|
|
205
|
+
- bootstrap 输出说明项目已安装 Vibecoding、`.vibecoding/config.json` 路径和 `using-vibecoding` 路径。
|
|
206
|
+
- bootstrap 不输出完整 `using-vibecoding` skill 内容。
|
|
207
|
+
- bootstrap 不创建 `.vibecoding-state/`。
|
|
208
|
+
- Cursor / Codex adapter hook 示例引用 `.vibecoding/hooks/session-start/session-start.mjs`。
|
|
209
|
+
- doctor 能校验 session-start bootstrap 文件、adapter 元数据和 hook 示例。
|
|
210
|
+
|
|
211
|
+
当前 UX-6 platform plugin pack smoke:
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
node bin/vibe.mjs plugin pack --platform all --out .tmp/install-ux-plugins --dry-run
|
|
215
|
+
node bin/vibe.mjs plugin pack --platform all --out .tmp/install-ux-plugins
|
|
216
|
+
node bin/vibe.mjs plugin pack --platform all --out .tmp/install-ux-plugins --check
|
|
217
|
+
node bin/vibe.mjs doctor
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
期望:
|
|
221
|
+
|
|
222
|
+
- `plugin pack --dry-run` 输出 `.cursor-plugin` / `.codex-plugin` / `.claude-plugin` 生成计划且不写文件。
|
|
223
|
+
- 写入模式默认生成到 `.tmp/` 下的插件草案目录。
|
|
224
|
+
- `--check` 能确认生成物与 `adapters/` 中的 plugin manifest 和 hook 示例一致。
|
|
225
|
+
- 生成的 plugin manifest 声明 `sessionStartBootstrap`,且不注入完整 skill、不写 `.vibecoding-state/`、不自动执行 `next_skill`。
|
|
226
|
+
- 平台插件草案只负责 session-start bootstrap;项目级 `.vibecoding/` 契约仍由 `vibe init` 负责。
|
|
227
|
+
|
|
228
|
+
## Stage 38-40 自动化 sidecar 验收
|
|
229
|
+
|
|
230
|
+
- `subagents --ingest-result` / `subagents --review-gate` 只写 `.vibecoding-state/subagent-results/` 与 `.vibecoding-state/subagent-reviews/`。
|
|
231
|
+
- `hooks --hook-run --max-iterations <n> --confirm` 只写 `.vibecoding-state/hook-runs/` 与 `.vibecoding-state/hook-heartbeats/`。
|
|
232
|
+
- `traces --build --confirm` 能追踪 `hook_runs`、`hook_heartbeats`、`subagent_results`、`subagent_reviews`。
|
|
233
|
+
- `governance --attest` 包含 `automation_artifacts` 与 `automation_policy`。
|
|
234
|
+
- `methodology --gate --kind automation` 可证明 approved + traced + reviewed + bounded。
|
|
235
|
+
- 所有负例必须拒绝 source merge、session create、platform API、long-running worker、daemon、git/worktree 扩权。
|
|
236
|
+
|
|
237
|
+
## Stage 41 平台能力契约验收
|
|
238
|
+
|
|
239
|
+
- `platforms --catalog` 只读展示 builtin adapter catalog,不创建 `.vibecoding-state/`。
|
|
240
|
+
- `platforms --probe <platform>` 默认 preview,不调用平台 API、不创建 session、不写文件。
|
|
241
|
+
- `platforms --probe <platform> --confirm` 只写 `.vibecoding-state/platform-capabilities/*.platform-capability.json`。
|
|
242
|
+
- capability artifact 必须绑定 `adapter_digest`、`catalog_digest`、`files.platform_capability` 与 `allowed_followup=['platform-session-approval-only']`。
|
|
243
|
+
- `platforms --verify <platform-capability-file>` 必须拒绝 file alias drift、adapter/catalog drift、`session_create=true`、`platform_api=true`、`model_invocation=true`、`business_source_write=true`、`source_merge=true`、`git=true`、`worktree=true` 或 followup 扩权。
|
|
244
|
+
- `traces --build --confirm` 必须能把 `platform_capabilities` 纳入 source types,并递归验证 Stage 41 artifact。
|
|
245
|
+
|
|
246
|
+
## Stage 42 平台 session 审批验收
|
|
247
|
+
|
|
248
|
+
- `subagents --session-approval --from-dispatch <file> --capability <file>` 默认 preview,不写文件、不创建 session。
|
|
249
|
+
- `subagents --session-approval --from-dispatch <file> --capability <file> --confirm` 只写 `.vibecoding-state/platform-session-approvals/*.platform-session-approval.json`。
|
|
250
|
+
- approval artifact 必须绑定 dispatch digest、eligibility digest、scheduler hook plan digest、workflow/task digest、capability digest、adapter digest、catalog digest 和 `files.platform_session_approval`。
|
|
251
|
+
- approval 必须记录 `user_consent_present=true`、`allowed_followup=['platform-session-create-only']`、`budget.max_sessions=1` 与 `budget.timeout_ms=600000`。
|
|
252
|
+
- `subagents --verify <platform-session-approval-file>` 必须拒绝 alias drift、dispatch/capability drift、policy drift、`session_create=true`、`platform_api=true`、`external_network=true`、`source_merge=true`、`git=true`、`worktree=true` 或 followup 扩权。
|
|
253
|
+
- `traces --build --confirm` 必须能把 `platform_session_approvals` 纳入 source types,并递归验证 Stage 42 artifact。
|
|
254
|
+
|
|
255
|
+
## Stage 43 平台 session 产物验收
|
|
256
|
+
|
|
257
|
+
- `subagents --create-session --from-approval <file> --confirm` 只写 `.vibecoding-state/platform-sessions/`、`.vibecoding-state/platform-session-leases/` 与 `.vibecoding-state/platform-session-results/`。
|
|
258
|
+
- `subagents --cancel-session <platform-session-file> --confirm` 只写 `.vibecoding-state/platform-session-cancellations/` 取消审计 sidecar,并绑定源 session digest。
|
|
259
|
+
- session artifact 必须绑定 Stage 42 approval digest、prompt digest、transcript digest、adapter operation digest、lease file 与 result file。
|
|
260
|
+
- `session_create=true`、`platform_api=true`、`model_invocation=true` 只允许出现在 Stage 43 session artifact。
|
|
261
|
+
- session result 必须保持 `business_source_write=false`、`source_merge=false`、`git=false`、`worktree=false`,且 `review_required=true`、`review_completed=false`。
|
|
262
|
+
- `subagents --verify <platform-session-file|platform-session-lease-file|platform-session-result-file|platform-session-cancel-file>` 必须拒绝 alias drift、approval drift、session digest drift、lease/result digest drift、payload digest drift、source write / git / worktree 扩权。
|
|
263
|
+
- `traces --build --confirm` 必须能把 `platform_sessions`、`platform_session_leases`、`platform_session_results`、`platform_session_cancellations` 纳入 source types,并递归验证 Stage 43 artifacts。
|
|
264
|
+
|
|
265
|
+
## Stage 44 平台 session result 审查验收
|
|
266
|
+
|
|
267
|
+
- `subagents --ingest-session-result <platform-session-result-file> --confirm` 只写 `.vibecoding-state/platform-session-intake/`。
|
|
268
|
+
- `subagents --review-session-result <platform-session-intake-file> --confirm` 只写 `.vibecoding-state/platform-session-reviews/`。
|
|
269
|
+
- intake/review 必须绑定 Stage 43 result digest、session digest、prompt digest、transcript digest、result payload digest、patch digest 与 files touched。
|
|
270
|
+
- review 通过后只允许 `allowed_followup=['source-change-candidate-only']`。
|
|
271
|
+
- Stage 44 必须保持 `business_source_write=false`、`source_merge=false`、`git=false`、`worktree=false`。
|
|
272
|
+
- `traces --build --confirm` 必须能把 `platform_session_intake` 与 `platform_session_reviews` 纳入 source types,并递归验证 Stage 44 artifacts。
|
|
273
|
+
|
|
274
|
+
## Stage 45 source candidate / sandbox 验收
|
|
275
|
+
|
|
276
|
+
- `source --candidate --from-session-review <platform-session-review-file> --confirm` 只写 `.vibecoding-state/source-change-candidates/`。
|
|
277
|
+
- `source --apply-sandbox <source-change-candidate-file> --confirm` 只写 `.vibecoding-state/source-sandbox-runs/`。
|
|
278
|
+
- candidate/sandbox 必须绑定 Stage 44 review digest、source result digest、session digest、base sha、patch digest、diff digest、allowed files 与 actual touched files。
|
|
279
|
+
- candidate 只允许 `allowed_followup=['source-sandbox-apply-only']`,sandbox 只允许 `allowed_followup=['source-verification-only']`。
|
|
280
|
+
- Stage 45 必须保持 `business_source_write=false`、`source_merge=false`、`git=false`、`worktree=false`,不得写主工作区。
|
|
281
|
+
- `traces --build --confirm` 必须能把 `source_change_candidates` 与 `source_sandbox_runs` 纳入 source types,并递归验证 Stage 45 artifacts。
|
|
282
|
+
|
|
283
|
+
## Stage 46 source verification 验收
|
|
284
|
+
|
|
285
|
+
- `source --verify-change <source-sandbox-run-file> --confirm` 只写 `.vibecoding-state/source-verifications/`。
|
|
286
|
+
- verification 必须绑定 sandbox digest、candidate digest、base sha、diff digest、files touched、evidence digest 与 evidence policy digest。
|
|
287
|
+
- verification 只允许 `allowed_followup=['merge-readiness-only']`。
|
|
288
|
+
- Stage 46 必须保持 `business_source_write=false`、`source_merge=false`、`git=false`、`worktree=false`,不得写主工作区;`command_execution=true` 仅限前台 allowlisted verification commands。
|
|
289
|
+
- 缺失、失败或不在 allowlist 的 evidence 必须阻断 verification。
|
|
290
|
+
- `traces --build --confirm` 必须能把 `source_verifications` 纳入 source types,并递归验证 Stage 46 artifacts。
|
|
291
|
+
|
|
292
|
+
## Stage 47 merge readiness / approval 验收
|
|
293
|
+
|
|
294
|
+
- `merge --readiness --from-verification <source-verification-file> --confirm` 只写 `.vibecoding-state/merge-readiness/`。
|
|
295
|
+
- `merge --approve <merge-readiness-file> --confirm` 只写 `.vibecoding-state/merge-approvals/`。
|
|
296
|
+
- readiness 必须绑定 Stage 46 verification digest、sandbox digest、candidate digest、base sha、diff digest、files touched、trace digest、governance digest 与 methodology digest。
|
|
297
|
+
- readiness 只允许 `allowed_followup=['merge-approval-only']`,approval 只允许 `allowed_followup=['controlled-merge-apply-only']`。
|
|
298
|
+
- Stage 47 必须保持 `business_source_write=false`、`source_merge=false`、`git=false`、`worktree=false`、`auto_apply=false`,不得写主工作区或执行 merge。
|
|
299
|
+
- 缺 trace / governance / methodology、digest drift、base sha drift、followup 扩权或 Stage 47 artifact 中出现 source merge / git / worktree / auto apply 语义必须阻断。
|
|
300
|
+
- `traces --build --confirm` 必须能把 `merge_readiness` 与 `merge_approvals` 纳入 source types,并递归验证 Stage 47 artifacts。
|
|
301
|
+
|
|
302
|
+
## Stage 48 controlled merge apply 验收
|
|
303
|
+
|
|
304
|
+
- `merge --apply <merge-approval-file> --confirm` 只接受 Stage 47 approval,并写 `.vibecoding-state/merge-applies/`。
|
|
305
|
+
- Stage 48 只允许写 allowlisted 文件 `docs/runtime-auto-merge-ledger.md` 和 merge apply artifact。
|
|
306
|
+
- apply 必须绑定 approval digest、readiness digest、verification digest、base sha、before/after sha、applied files、before/after file digests 与 marker digest。
|
|
307
|
+
- Stage 48 apply artifact 中允许 `business_source_write=true`、`source_merge=true`、`worktree=true`,但必须保持 `git=false`、`commit=false`、`push=false`、`pr=false`、`force=false`。
|
|
308
|
+
- base sha drift、approval digest drift、applied file digest drift、applied file 越界、commit/push/PR/force 扩权必须阻断。
|
|
309
|
+
- `traces --build --confirm` 必须能把 `merge_applies` 纳入 source types,并递归验证 Stage 48 artifact。
|
|
310
|
+
|
|
311
|
+
## Stage 49 Planner Engine 验收
|
|
312
|
+
|
|
313
|
+
- `planner --route --from-file <path>` 与 `planner --route --from-hook <hook-intent-file>` 默认 preview,不写文件、不 dispatch、不 create-session。
|
|
314
|
+
- `planner --route ... --confirm` 只写 `.vibecoding-state/planner-routes/*.planner-route.json`。
|
|
315
|
+
- `planner --decompose --from-route <planner-route-file> --confirm` 只写 `.vibecoding-state/planner-plans/*.planner-plan.json`。
|
|
316
|
+
- `planner --briefs --from-plan <planner-plan-file> --confirm` 只写 `.vibecoding-state/planner-briefs/*.planner-briefs.json`。
|
|
317
|
+
- planner route 必须绑定 `selected_workflow`、`workflow_candidates`、`risk_level`、`risk_score`、`blocked_reasons` 与 `allowed_followup=['planner-decompose-only']`。
|
|
318
|
+
- planner plan 必须绑定 route digest、`task_graph`、`dependency_edges`、`conflict_groups`、`subagent_candidates` 与 `allowed_followup=['planner-briefs-only','scheduler-plan-only']`。
|
|
319
|
+
- planner briefs 必须绑定 plan digest、`brief_kind`、`brief_items`、`required_capabilities`、`suggested_platforms`、`token_budget_policy` 与 `allowed_followup=['router-plan-only']`。
|
|
320
|
+
- Stage 49 必须保持 `dispatch=false`、`session_create=false`、`platform_api=false`、`business_source_write=false`、`source_merge=false`、`subagent_dispatch=false`、`git=false`、`worktree=false`。
|
|
321
|
+
- `planner --verify <planner-artifact-file>` 必须拒绝 file identity drift、route/plan digest drift、followup 扩权或任意 dispatch/session/platform/source-write 扩权。
|
|
322
|
+
- `traces --build --confirm` 必须能把 `planner_routes`、`planner_plans` 与 `planner_briefs` 纳入 source types,并递归验证 Stage 49 artifact。
|
|
323
|
+
|
|
324
|
+
## Stage 50 Router / Orchestrator 验收
|
|
325
|
+
|
|
326
|
+
- `router --plan --from-briefs <planner-briefs-file>` 默认 preview,不写文件、不 dispatch、不 create-session。
|
|
327
|
+
- `router --plan --from-briefs <planner-briefs-file> --confirm` 只写 `.vibecoding-state/router-plans/*.router-plan.json`。
|
|
328
|
+
- `router --approve <router-plan-file> --confirm` 只写 `.vibecoding-state/router-approvals/*.router-approval.json`。
|
|
329
|
+
- `orchestrator --plan --from-router <router-approval-file> --confirm` 只写 `.vibecoding-state/orchestrator-plans/*.orchestrator-plan.json`。
|
|
330
|
+
- `orchestrator --dispatch-plan <orchestrator-plan-file> --confirm` 只写 `.vibecoding-state/orchestrator-dispatch-plans/*.orchestrator-dispatch-plan.json`。
|
|
331
|
+
- router plan 必须绑定 briefs digest、`brief_routes`、`platform_rankings`、`agent_profiles`、`fallback_routes`、`concurrency_budget` 与 `allowed_followup=['router-approval-only']`。
|
|
332
|
+
- router approval 必须绑定 router plan digest,并且只允许 `allowed_followup=['orchestrator-plan-only']`。
|
|
333
|
+
- orchestrator plan 必须绑定 router approval / router plan digest,并输出 `lanes`、`dispatch_order`、`mutex_groups`、`escalation_rules`、`retry_policy_refs` 与 `session_strategy`。
|
|
334
|
+
- orchestrator dispatch plan 必须绑定 orchestrator plan digest,并且只允许 `allowed_followup=['scheduler-dispatch-plan-only','session-approval-only']`。
|
|
335
|
+
- Stage 50 必须保持 `dispatch=false`、`session_create=false`、`platform_api=false`、`business_source_write=false`、`source_merge=false`、`subagent_dispatch=false`、`git=false`、`worktree=false`。
|
|
336
|
+
- `router --verify <router-artifact-file>` 与 `orchestrator --verify <orchestrator-artifact-file>` 必须拒绝 file identity drift、上游 digest drift、catalog drift、followup 扩权或任意 dispatch/session/platform/source-write 扩权。
|
|
337
|
+
- `traces --build --confirm` 必须能把 `router_plans`、`router_approvals`、`orchestrator_plans` 与 `orchestrator_dispatch_plans` 纳入 source types,并递归验证 Stage 50 artifact。
|
|
338
|
+
- `subagents --eligibility --from-orchestrator <orchestrator-dispatch-plan-file> --task <task-id> --confirm` 必须只写 `.vibecoding-state/subagent-eligibility/*.subagent-eligibility.json`,并将 gate source 记录为 `stage-50-orchestrator-dispatch-plan`。
|
|
339
|
+
- Stage 50 bridge eligibility 必须绑定 `source.kind='orchestrator-dispatch-plan'`、source file/digest、orchestrator plan digest、router plan digest、`next_gate` 与 `strategy`,并保持 `no_subagent_dispatch=true`、`no_session_create=true`、`no_platform_api=true`。
|
|
340
|
+
- `subagents --dispatch --from-orchestrator <orchestrator-dispatch-plan-file> --eligibility <subagent-eligibility-file> --confirm` 必须只写既有 `.vibecoding-state/subagent-dispatches/*.subagent-dispatch.json`,并绑定 `orchestrator_dispatch_plan_file`、`orchestrator_dispatch_plan_digest` 与 `orchestrator_dispatch_plan_artifact_digest`。
|
|
341
|
+
- bridge dispatch 必须仍为 `approved-dispatch-artifact-only`,且能继续被 Stage 42 `subagents --session-approval --from-dispatch` 消费;Stage 42 不得直接消费 `.orchestrator-dispatch-plan.json`。
|
|
342
|
+
|
|
343
|
+
## Stage 51 Behavioral Eval 验收
|
|
344
|
+
|
|
345
|
+
- `evals --catalog` 默认只读,不创建 `.vibecoding-state/`。
|
|
346
|
+
- `evals --run-contract <suite>`、`evals --run-scenario <suite>`、`evals --run-behavior <suite>`、`evals --run-adversarial <suite>` 默认 preview,不写文件、不 dispatch、不 create-session。
|
|
347
|
+
- `evals --run-* <suite> --confirm` 只写 `.vibecoding-state/eval-suites/*.eval-suite.json`、`.vibecoding-state/eval-runs/*.eval-run.json` 与 `.vibecoding-state/eval-reports/*.eval-report.json`。
|
|
348
|
+
- suite catalog 必须稳定包含 `contract-core`、`scenario-routing`、`behavior-workflow` 与 `adversarial-guardrails`。
|
|
349
|
+
- eval suite 必须绑定 `suite_id`、`eval_kind`、`cases`、`references`、`catalog_digest`、`fixture_policy` 与 `allowed_followup=['eval-run-only']`。
|
|
350
|
+
- eval run 必须绑定 suite file/digest、`run_status`、`deterministic_judge=true`、`isolated_root_required=true`、`case_results`、`summary`、`planner_feedback`、`router_feedback`、`gate_failures` 与 `allowed_followup=['eval-report-only']`。
|
|
351
|
+
- scenario/adversarial eval run 必须至少包含一个 `transcript-behavioral-judge`,并在 `case_results[].fixture` 中保留 transcript 输入、`expected_workflow_order`、`required_markers`、`forbidden_markers`、`expected_blocked_reasons` 与 `stop_condition`。
|
|
352
|
+
- behavior eval run 必须至少包含一个 `sandbox-replay-judge`,并保留 `replay_trace.trace_type='sandbox-replay'`、有序 replay steps 与每步 digest;replay 必须保持 `writes=false`、`external_network=false`、`model_invocation=false`。
|
|
353
|
+
- `artifact_contract_pass_does_not_imply_behavior_pass=true` 必须出现在 Stage 51 fixture policy 中,用于区分 contract artifact 通过与 behavior judge 通过。
|
|
354
|
+
- eval report 必须绑定 run file/digest、`report_status='behavioral-eval-completed'`、`outcome`、`failing_case_ids`、`planner_feedback`、`router_feedback`、`gate_failures` 与 `allowed_followup=[]`。
|
|
355
|
+
- Stage 51 必须保持 `dispatch=false`、`session_create=false`、`platform_api=false`、`external_network=false`、`model_invocation=false`、`runtime_action=false`、`business_source_write=false`、`source_merge=false`、`subagent_dispatch=false`、`git=false`、`worktree=false`。
|
|
356
|
+
- `evals --verify <eval-artifact-file>` 必须拒绝 file identity drift、suite/run/report digest drift、catalog drift、followup 扩权或任意执行语义扩权。
|
|
357
|
+
- `traces --build --confirm` 必须能把 `eval_suites`、`eval_runs` 与 `eval_reports` 纳入 source types,并递归验证 Stage 51 artifact。
|
|
358
|
+
- release smoke 必须在 `.tmp` 受控根目录下稳定跑通 `evals --catalog`、`evals --run-contract`、`evals --run-scenario`、`evals --run-behavior`、`evals --run-adversarial` 与 `evals --verify`,不得污染主仓库真实工作区。
|
|
359
|
+
|
|
360
|
+
## 发布前 smoke test
|
|
361
|
+
|
|
362
|
+
发布前固定执行以下命令序列:
|
|
363
|
+
|
|
364
|
+
```bash
|
|
365
|
+
node tools/vibe-doctor/index.mjs
|
|
366
|
+
node tools/vibe-runtime-check/index.mjs
|
|
367
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all --with-runtime
|
|
368
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-target
|
|
369
|
+
node tools/vibe-runtime/index.mjs status --root .tmp/vibe-runtime-ledger
|
|
370
|
+
node tools/vibe-runtime/index.mjs status --json --root .tmp/vibe-runtime-ledger
|
|
371
|
+
node tools/vibe-runtime/index.mjs validate-handoff --from-file .tmp/json-handoff.md --json --root .tmp/vibe-runtime-ledger
|
|
372
|
+
node tools/vibe-runtime/index.mjs record-handoff --from-file .tmp/json-handoff.md --root .tmp/vibe-runtime-ledger
|
|
373
|
+
node tools/vibe-runtime/index.mjs next --dry-run --root .tmp/vibe-runtime-ledger
|
|
374
|
+
node tools/vibe-runtime/index.mjs next --dry-run --json --root .tmp/vibe-runtime-ledger
|
|
375
|
+
node tools/vibe-runtime/index.mjs next --dry-run --dispatch-intent --json --root .tmp/vibe-runtime-ledger
|
|
376
|
+
node tools/vibe-runtime/index.mjs next --dispatch-intent --root .tmp/vibe-runtime-ledger
|
|
377
|
+
node tools/vibe-runtime/index.mjs next --confirm --dispatch-intent --root .tmp/vibe-runtime-ledger
|
|
378
|
+
node tools/vibe-runtime/index.mjs artifacts --dry-run --root .tmp/vibe-runtime-ledger
|
|
379
|
+
node tools/vibe-runtime/index.mjs artifacts --write --root .tmp/vibe-runtime-ledger
|
|
380
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run --root .tmp/vibe-runtime-ledger
|
|
381
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run --json --root .tmp/vibe-runtime-ledger
|
|
382
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run --task task.alpha_1 --json --root .tmp/vibe-runtime-ledger
|
|
383
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run --task task-2 --json --root .tmp/vibe-runtime-ledger
|
|
384
|
+
node tools/vibe-runtime/index.mjs record-handoff --from-file .tmp/json-handoff.md --json --root .tmp/vibe-runtime-ledger
|
|
385
|
+
node tools/vibe-runtime/index.mjs artifacts --dry-run --json --root .tmp/vibe-runtime-ledger
|
|
386
|
+
node tools/vibe-runtime/index.mjs tasks --write --json --root .tmp/vibe-runtime-ledger
|
|
387
|
+
node tools/vibe-runtime/index.mjs reset --json --confirm --root .tmp/vibe-runtime-ledger
|
|
388
|
+
node tools/vibe-runtime/index.mjs tasks --write --root .tmp/vibe-runtime-ledger
|
|
389
|
+
node tools/vibe-runtime/index.mjs record-handoff --from-file .tmp/legacy-handoff.md --root .tmp/vibe-runtime-ledger
|
|
390
|
+
node tools/vibe-runtime/index.mjs next --dry-run --root .tmp/vibe-runtime-ledger
|
|
391
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all --dry-run
|
|
392
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all
|
|
393
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-target
|
|
394
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all --with-docs
|
|
395
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-target
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
期望:
|
|
399
|
+
|
|
400
|
+
- 源码仓库检查通过。
|
|
401
|
+
- runtime contract 只读检查通过。
|
|
402
|
+
- `vibe-runtime` 可只读校验 JSON handoff / fenced JSON handoff / legacy YAML-like handoff,`validate-handoff` 不创建 `.vibecoding-state/` 或写 `workflow.json`。
|
|
403
|
+
- `status --json`、`validate-handoff --json`、`next --dry-run --json` 和 `tasks --dry-run --json` 输出可解析 JSON envelope,包含 `schema_version`、`command`、`mode`、`ok`、`state_present`、`summary`、`tasks`、`quality` 和 `action`。
|
|
404
|
+
- 所有 JSON 输出命令保持只读:`status --json` 和 `validate-handoff --json` 不创建 `.vibecoding-state/` 或 `workflow.json`,`next --dry-run --json` 不执行 `next_skill`,`tasks --dry-run --json` 不写 task artifacts。
|
|
405
|
+
- `tasks --dry-run --task <task-id> --json` 必须保持精确单任务选择,输出 `summary.selected_count=1`、选中 task id、readiness、blocked_by、review_status 和 artifact_paths;输出任务列表只包含选中 task,但 readiness / `blocked_by` 仍按完整 ledger dependency graph 计算。
|
|
406
|
+
- 写入类命令遇到 `--json` 必须明确失败,避免 `tasks --write --json`、`artifacts --json`、`reset --json` 或 `record-handoff --json` 被误认为只读输出;失败分支不得创建 `workflow.json` 或 task artifacts。
|
|
407
|
+
- `vibe-runtime` 可记录 JSON handoff 和 legacy YAML-like handoff。
|
|
408
|
+
- `record-handoff` 成功后输出 handoff quality 提示;warning 不阻止写入、不改变 ledger 结构、不执行 `next_skill`。
|
|
409
|
+
- `status` 可输出当前 ledger 摘要、task dependency readiness 摘要和 review 状态摘要,并保持只读、不创建或修改 workflow state。
|
|
410
|
+
- `next --dry-run` 可输出 ready / blocked / stopped / idle 文本建议,展示任务状态、Task readiness 和 review 状态摘要,并保持不执行 `next_skill`。
|
|
411
|
+
- `next --dry-run --dispatch-intent --json` 输出可解析 Stage 5 intent envelope,包含 `intent`、`gates`、`runtimeBridge`、`platform_hints`、`safety.dispatch_event=false` 和 no auto execution 标记;idle / blocked / needs_fix / waiting dependency 分支不得写 `.vibecoding-state/dispatches/`。
|
|
412
|
+
- `next --dispatch-intent` without `--dry-run` 和 `next --confirm --dispatch-intent` 必须失败,Stage 5 不提供 confirm-dispatch。
|
|
413
|
+
- `next --confirm --dispatch` 是 Stage 6 confirm-dispatch gate;成功只写 `.vibecoding-state/dispatches/<timestamp>.json`,失败 gate 不写 dispatch event,不修改 `workflow.json`。
|
|
414
|
+
- `next --confirm --dispatch --json` 输出可解析执行结果 envelope,包含 `mode: confirm-dispatch`、`dispatch.adapter_ready=true`、`safety.confirmed=true`、`safety.dispatch_event=true`、`review_gate: passed` 和 `task_readiness_gate: passed`。
|
|
415
|
+
- `next --dispatch`、`next --confirm`、`next --dry-run --dispatch`、无 ledger、`next_skill: none`、非 allowed transition、`stop_condition` 非空、`review_status: needs_fix`、waiting / blocked dependency 都必须失败且不写 `.vibecoding-state/dispatches/`。
|
|
416
|
+
- `dispatches --list`、`dispatches --show <event-file>` 和 `dispatches --verify <event-file>` 是 Stage 6.5 read-only dispatch audit;可列出、查看和校验 confirm-dispatch event,`--json` 输出可解析 `dispatch-audit-*` envelope。
|
|
417
|
+
- `dispatches --list` 在无 `.vibecoding-state/`、无 ledger 或无 `dispatches/` 时返回空列表且不创建目录;`dispatches --verify` 对损坏 JSON、非 `confirm-dispatch` event、缺少 forbidden actions、路径穿越或绝对路径输入必须失败且不写文件。
|
|
418
|
+
- `dispatches --claim <event-file> --actor <id>` 是 Stage 7 Dispatch Claim / Ack Gate;合法 event claim 成功后只写 `.vibecoding-state/dispatch-claims/<event-file>.claim.json`,`--json` 输出 `mode: dispatch-claim`、`claim.actor`、`claim.status=claimed` 和 safety no-auto-execution 标记。
|
|
419
|
+
- Stage 7.1 claim input hardening 必须覆盖 verified dispatch event、safe actor id、缺 actor、非法 actor、缺少 event、非法 event、路径越界和重复 active claim;失败不得覆盖原 claim 或创建越界文件。
|
|
420
|
+
- `dispatches --ack <event-file> --actor <id> --status picked|skipped|failed` 只更新 claim state;未 claim、actor mismatch、非法状态(含 `consumed`)必须失败。合法 ack 必须保留 `claim.ack.reason`,并且不得修改原始 dispatch event。
|
|
421
|
+
- Stage 7.2 ack lifecycle hardening 必须保证 ack 只能由原 actor 更新,状态只允许 `picked|skipped|failed`,`consumed` 保持禁止,`ack.reason` 结构稳定保留。
|
|
422
|
+
- `dispatches --claims` 只列出 claim state 摘要;缺少 claim 目录时返回空列表且不创建目录。
|
|
423
|
+
- Stage 7.3 claims audit hardening 必须让 claim 列表可区分 `claimed`、`picked`、`skipped`、`failed`,且损坏 claim 不得被静默当作正常可执行状态。
|
|
424
|
+
- Stage 7 不执行 skill、不调用平台 API、不调用 subagent / MCP / daemon、不触碰 git / worktree 或业务源码。
|
|
425
|
+
- Stage 8.1 pickup package manifest 必须输出 target workflow skill、source workflow skill、platform、entry file、manual instruction、workflow state path、dispatch event path、claim state path、event digest 和 safety boundary;Claude 使用 `CLAUDE.md`,Cursor / Codex 使用 `AGENTS.md`。
|
|
426
|
+
- Stage 8.2 pickup readiness gates 必须显示 event verification 结果;未 claim 时只 warning、不自动 claim;claim 非 `picked` 时不得暗示可以进入 execution。
|
|
427
|
+
- Stage 8.3 pickup read-only audit 必须保证 `dispatches --pickup --json` 输出可解析 envelope,非法 platform、event 路径越界、损坏 event 失败且不写文件;pickup 不写 claim、不写 dispatch、不创建 session、不执行 skill。
|
|
428
|
+
- `execute --from-dispatch <event-file> --dry-run` 只预览 execution plan,不写 `.vibecoding-state/executions/`。
|
|
429
|
+
- `execute --from-dispatch <event-file> --preflight` 只读输出 execution preflight audit,不写 `.vibecoding-state/executions/`。
|
|
430
|
+
- Stage 9.1 dry-run execution plan 必须只预览 execution plan;Stage 9.2 confirm planned envelope 必须只写 planned envelope;Stage 9.3 claim picked gate 必须覆盖 dry-run / preflight / confirm / run;Stage 9.4 no execution boundary 必须保持不执行 workflow skill、不接平台 API、不触碰 git / worktree。
|
|
431
|
+
- Stage 9.5 execution envelope safety 必须记录 no-platform/no-subagent/no-MCP/no-daemon/no-git/no-worktree/no-business-source-write;Stage 9.6 immutability 必须保证成功或失败都不修改 dispatch event 或 claim state;Stage 9.7 execution preflight audit 必须覆盖 dispatch verification、claim exists、actor match、claim picked、target allowlist、stop condition、task readiness、review gate 和 expected write boundary。
|
|
432
|
+
- Stage 9.8 planned envelope verify 必须拒绝 corrupted planned safety;Stage 9.9 execution idempotency key 必须基于 event digest、actor 和 target skill 稳定生成;Stage 9.10 policy snapshot 必须记录 policy name/version、allowlisted skills snapshot 和 forbidden actions;Stage 9.11 execution audit trail 必须记录 expected writes 和 forbidden write boundary。
|
|
433
|
+
- `execute --from-dispatch <event-file> --confirm --actor <id>` 只写 Stage 9 planned execution envelope,保留 `skill_execution=false`、`auto_execution=false` 和 `runtime_action=false`,不执行 workflow skill。
|
|
434
|
+
- 兼容 marker:Stage 9.1 execution preflight gates、Stage 9.2 planned execution envelope、Stage 9.3 immutability guarantees 和 Stage 9.5 idempotency / policy snapshot 仍需保持可检索。
|
|
435
|
+
- `execute --from-dispatch <event-file> --confirm --actor <id> --run` 是 Stage 11 Supervised Real Executor v1;只对 allowlist target skill 执行本地受监管 runtime action,写 `supervised-run` lifecycle record 和 evidence,至少覆盖 `running -> succeeded`。
|
|
436
|
+
- Stage 11.1 要求 `execute --confirm --run` 先持久化同一 execution file 的 `running` record,再原子更新为 terminal status;pre-run gate 失败不得创建 execution file,进入 run 后 crash 时 running/stale record 必须可观测。
|
|
437
|
+
- Stage 11.1 `executions --verify` 必须拒绝缺 lifecycle、缺 running 首态、terminal status mismatch、timestamp 非法或倒序、缺 `evidence.stdout_excerpt`、bad allowlist、bad `runtime_action`、`skill_execution=true`、`platform_api=true`、`git=true` 或 `worktree=true` 的 corrupted `supervised-run` record。
|
|
438
|
+
- Stage 11 失败 gate 覆盖缺少 `--confirm`、未 claim、actor mismatch、claim 未 `picked`、target skill 不在 allowlist、execution file 路径越界;失败不得创建新的 execution lifecycle record,不得修改 dispatch event 或 claim state。
|
|
439
|
+
- `executions --list`、`executions --show <execution-file>` 和 `executions --verify <execution-file>` 是 read-only execution audit;`--json` 输出可解析 `executions-audit-*` envelope,并校验 `platform_api=false`、`subagent=false`、`mcp=false`、`daemon=false`、`git=false`、`worktree=false`、`business_source_write=false`。
|
|
440
|
+
- Stage 11 保持 run 输出 `runtime_action=true`、dry-run / confirm 输出 `runtime_action=false`,并始终保持 `skill_execution=false`、`auto_execution=false`;不调用 Claude / Codex / Cursor API,不创建 session,不调用 subagent / MCP / daemon,不触碰 git / worktree,不写业务源码。
|
|
441
|
+
- Stage 11.2 `--run` record 必须包含与 `--preflight` 一致的 gates、policy 和 write boundary,用于审计 run gate parity。
|
|
442
|
+
- Stage 11.3 `supervised-run` 必须记录唯一 runtime action contract:`generate-supervised-handoff-package`、input summary、output summary、`skill_execution=false` 和 `business_source_write=false`。
|
|
443
|
+
- Stage 11.4/11.5/11.6 必须支持并 verify `failed`、`timed_out`、`cancelled` terminal lifecycle,且都从 `running` 开始,包含 terminal evidence,不修改 dispatch event 或 claim state。
|
|
444
|
+
- Stage 11.7 `executions --list/show/verify` 必须输出 active、terminal、age_ms 和 stale audit 信息,并保持只读。
|
|
445
|
+
- Stage 11.8 同一 event digest、actor 和 target skill 的 active `running` run 必须触发 idempotency guard,新的 `--run` 失败且不创建 execution file。
|
|
446
|
+
- Stage 11.9 `executions --verify` 必须拒绝 corrupted policy name/version、allowlist snapshot、forbidden actions、runtime action name 或 runtime action contract。
|
|
447
|
+
- Stage 11.10 release smoke 必须覆盖成功 run、失败/超时/取消 lifecycle、active duplicate guard、corrupted policy/action contract 和只读 audit。
|
|
448
|
+
- Stage 12.1-12.10 必须覆盖 execution candidate source model、readiness gates、policy intent、risk profile、idempotency preview、history awareness、candidate audit、candidate persistence boundary、candidate verification 和 docs/check/smoke sync;`execute --candidate` 默认 no-write,`--confirm` 只写 `.vibecoding-state/execution-candidates/*.candidate.json`,不执行 runtime action。
|
|
449
|
+
- Stage 13.1-13.10 必须覆盖 simulation input contract、simulated action plan、approval package manifest、recovery preview、evidence completeness preview、simulation policy verification、approval state boundary、replayable dry-run output、simulation audit commands 和 docs/check/smoke sync;approval package 只写 `.vibecoding-state/execution-approvals/*.approval.json`,不执行 runtime action。
|
|
450
|
+
- Stage 14.1-14.10 必须覆盖 explicit auto-run enable gate、auto-run policy contract、approval binding gate、active lock/lease gate、controlled runtime action execution、auto-run lifecycle record、recovery evidence、auto-run audit classification、negative policy smoke 和 release/docs/smoke sync;controlled auto-run 必须绑定 approval digest、candidate digest、idempotency key 和 `.vibecoding-state/auto-run-locks/*.lock.json`,且仍不执行 workflow skill、不接平台 API、不调用 subagent/MCP/daemon、不触碰 git/worktree、不写业务源码。
|
|
451
|
+
- Stage 15.1-15.10 必须覆盖 Auto-run Policy DSL:policy profile model、DSL schema、data-only source boundary、policy evaluation envelope、risk gate、approval requirement、policy snapshot binding、policy audit commands、negative smoke 和 docs/check/smoke sync;`policies --list` / `policies --show <profile>` 必须只读,profile 固定为 `strict`、`controlled-local-runtime`、`review-only`,并输出 `default_enabled=false`、`policy_digest`、approval requirement、limits、forbidden actions、`dynamic_code=false` 和 `remote_config=false`。
|
|
452
|
+
- Stage 15 policy evaluation 必须接入 candidate、approval 和 controlled auto-run:candidate / approval artifact 必须包含 `policy_evaluation` 与 `policy_digest`;policy digest mismatch、unknown profile、forbidden risk、non-allowlisted target 或 runtime action 必须失败且不创建 execution。
|
|
453
|
+
- Stage 16.1-16.10 必须覆盖 Candidate Queue / Scheduler Scan:queue source model、queue item envelope、readiness gates、deterministic priority、scheduler scan contract、optional queue persistence、queue audit commands、promotion preview、negative smoke 和 docs/check/smoke sync;`queue --scan` 默认 no-write,`queue --scan --confirm` 只写 `.vibecoding-state/execution-queue/*.queue.json`,`queue --list/show/verify` 保持只读。
|
|
454
|
+
- Stage 16 queue scan 必须输出 ready / blocked / stale / locked / active history / terminal history / blocked reasons / promotion preview;missing approval、bad policy digest、active lock、active running、corrupted queue snapshot 和 path traversal 必须失败或 blocked,且不得调用 `execute --auto-run`、不得启动 daemon/worker/watcher、不得修改 dispatch/claim/execution。
|
|
455
|
+
- Stage 17.1-17.10 必须覆盖 Approval Lifecycle:approval lifecycle source model、sidecar envelope schema、audit commands、transition preview、confirm persistence boundary、expiration/staleness、auto-run lifecycle gate、consumed evidence、negative smoke 和 docs/check/smoke sync;`approvals --list/show/verify` 只读,`approvals --transition` 默认 no-write,只有 `--confirm` 写 `.vibecoding-state/approval-lifecycle/*.approval-lifecycle.json`,不修改 approval artifact。
|
|
456
|
+
- Stage 17 lifecycle gate 必须让 rejected、expired、revoked、consumed approval 阻断 controlled auto-run;successful controlled auto-run 必须写 consumed sidecar evidence;missing reason、bad lifecycle digest、terminal transition 和 path traversal 必须失败且不执行 runtime action。
|
|
457
|
+
- Stage 18.1-18.10 必须覆盖 Runtime Action Catalog:builtin data-only catalog、catalog schema、audit commands、unknown action default deny、candidate binding、approval binding、policy evaluation integration、queue/auto-run gate、negative smoke 和 docs/check/smoke sync;`actions --list/show/verify` 只读,catalog 必须包含 `catalog_digest`、`default_allow_unknown=false`、required inputs、writes、idempotency、recovery 和 policy profile。
|
|
458
|
+
- Stage 18 catalog gate 必须接入 candidate、approval、policy evaluation、queue scan 和 controlled auto-run;unknown runtime action、catalog digest mismatch 或 corrupted action binding 必须 blocked 或 verify failed,且不得创建 execution。
|
|
459
|
+
- Stage 21.1-21.5 必须覆盖 Scheduler Plan / Dry-run Scheduler:scheduler source model、scheduler plan envelope、plan command、plan audit commands 和 negative smoke;`scheduler --plan` 默认 no-write,`scheduler --plan --confirm` 只写 `.vibecoding-state/scheduler-plans/*.scheduler-plan.json`,`scheduler --list-plans/show-plan/verify-plan` 保持只读。
|
|
460
|
+
- Stage 21 scheduler plan 必须绑定 queue digest、execution policy digest、scheduler policy digest、runtime budget digest 和 action catalog digest;plan verify 必须拒绝 digest mismatch、corrupted plan 和 path traversal,且不得调用 `execute --auto-run`、不得写 execution、不得启动 daemon/worker/watcher。
|
|
461
|
+
- Stage 22.1-22.6 必须覆盖 Scheduler Policy / Runtime Budget:内置 `scheduler-dry-run`、`single-local-auto-run`、`recovery-only` profile、builtin budget、policy/budget digest binding、read-only policy commands 和 negative smoke;默认 `default_enabled=false`、每次最多一个 item、`retry_allowed=false`、`recovery_apply_allowed=false`,不读取远程配置、不动态 eval。
|
|
462
|
+
- Stage 23.1-23.7 必须覆盖 Single-shot Scheduler Worker:`scheduler --once --confirm` gate、revalidation chain、scheduler lease、controlled auto-run delegation、scheduler run audit、idempotency/no duplicate execution 和 negative smoke;无 `--confirm` 必须失败,每次最多执行一个 ready item。
|
|
463
|
+
- Stage 23 single-shot scheduler 必须复用 controlled auto-run gate,重新验证 candidate、approval、lifecycle、policy digest、scheduler policy digest、runtime budget digest、action catalog digest、active lock、scheduler lease 和 idempotency key;执行后写 `.vibecoding-state/scheduler-leases/*.scheduler-lease.json`、`.vibecoding-state/scheduler-runs/*.scheduler-run.json` 和既有 execution record,但不实现 loop/daemon、不自动恢复、不自动 retry、不自动回复、不接平台 API、不调用 subagent/MCP、不触碰 git/worktree。
|
|
464
|
+
- Stage 24.1-24.4 必须覆盖 Recovery Classifier:recovery taxonomy、classifier command、classification artifact 和 classification verification;`recovery --classify` 默认 no-write,`recovery --classify --confirm` 只写 `.vibecoding-state/recovery-classifications/*.recovery-classification.json`,`recovery --list-classifications/show-classification/verify-classification` 保持只读。
|
|
465
|
+
- Stage 24 classification 必须覆盖 `lease_stale`、`execution_failed`、`execution_timed_out`、`execution_running_stale`、`approval_missing`、`approval_blocked`、`policy_mismatch`、`catalog_mismatch`、`readiness_blocked`、`scheduler_lease_active` 和 `unknown`;verify 必须拒绝 path traversal、source digest drift、policy/catalog drift 和 corrupted artifact,且不得执行 recovery apply、释放 lock、删除 execution 或 retry。
|
|
466
|
+
- Stage 25.1-25.4 必须覆盖 Confirmed Auto Recovery:recovery policy/action catalog、apply preview、confirmed single recovery run 和 idempotency/negative gates;`recovery --apply <classification-file>` 默认 no-write,`--confirm` 每次最多处理一个 eligible finding,只写 `.vibecoding-state/recovery-runs/*.recovery-run.json`,必要时写 `.vibecoding-state/retry-packages/*.retry-package.json`。
|
|
467
|
+
- Stage 25 recovery apply 必须绑定 classification digest、finding digest、recovery policy digest、recovery action catalog digest、scheduler policy digest 和 runtime budget digest;unsupported action/category、already applied finding、active scheduler lease conflict、source digest drift、path traversal 和 tampered classification 必须失败;不得修改业务源码、删除/覆盖原 artifact、执行 controlled auto-run、自动 retry 或创建 approval。
|
|
468
|
+
- Stage 26.1-26.4 必须覆盖 Scheduler + Recovery Integration:scheduler plan recovery hints、`scheduler --once --recover --confirm`、at-most-one combined semantics 和 integrated smoke/docs;normal once 与 recovery once 必须互斥,同一次 invocation 最多执行一个 queue item 或 apply 一个 recovery finding,不能混合。
|
|
469
|
+
- Stage 26 scheduler recovery mode 必须复用 confirmed recovery path,写 scheduler run、scheduler lease、recovery classification、recovery run 和必要 retry package audit;不得实现 loop/daemon/watcher、自动清理、自动 retry、平台 API、subagent/MCP、git/worktree。
|
|
470
|
+
- Stage 27 必须覆盖 Bounded Auto Retry:`retry --list-packages/show-package/verify-package` 保持只读,`retry --run <retry-package-file>` 默认 no-write,`retry --run <retry-package-file> --confirm` 最多写一个 `.vibecoding-state/retry-runs/*.retry-run.json`。
|
|
471
|
+
- Stage 27 retry 必须验证 source execution 仍为 `failed` 或 `timed_out`、source digest 未漂移、approval lifecycle 未 rejected/expired/revoked/consumed、candidate/approval/policy/budget/catalog digest 绑定一致、无 active scheduler lease、无 active auto-run lock、无已 retry 记录;non-transient source、重复 retry、digest drift、path traversal 和 terminal approval 必须失败且不修改原 artifact。
|
|
472
|
+
- Stage 28 必须覆盖 Foreground Bounded Loop:`daemon --loop --dry-run` 不写文件,`daemon --loop --confirm --max-iterations <n>` 只写 `.vibecoding-state/daemon-loops/*.daemon-loop.json` 和 heartbeat evidence,`daemon --stop --confirm --reason <text>` 只写 `.vibecoding-state/daemon-stop/stop.json`,`daemon --loops --list/show/verify` 保持只读。
|
|
473
|
+
- Stage 28 loop 必须保持 foreground-only、max iterations bounded、stop file gate、kill switch gate、active scheduler lease gate、heartbeat evidence、no duplicate execution;不得启动后台 worker、不得注册 watcher、不得 fork、不得长驻。
|
|
474
|
+
- Reply A-D 必须覆盖本地自动回复流水线:`reply --draft` 默认 no-write,`--confirm` 写 `.vibecoding-state/reply-drafts/`;`reply --approve <draft-file> --confirm` 写 `.vibecoding-state/reply-approvals/`;`reply --outbox <approval-file> --confirm` 写 `.vibecoding-state/reply-outbox/`;`reply --send <outbox-file> --confirm` 只写 `.vibecoding-state/reply-send-runs/`。
|
|
475
|
+
- Reply D send gate 必须固定 `sent=false`、`send_allowed=false`、`external_delivery=false`;不得调用 Slack/GitHub/Linear/邮箱/IDE API,不得自动回复用户,不得把 draft 当成已发送消息。
|
|
476
|
+
- Stage 29 必须覆盖 Unified Runtime Trace Ledger:`traces --build --dry-run` 不写文件,`traces --build --confirm` 只写 `.vibecoding-state/runtime-traces/*.runtime-trace.json`,`traces --list/show/verify` 保持只读。
|
|
477
|
+
- Stage 29 trace 必须绑定 scheduler plan/run、recovery classification/run、retry package/run、daemon loop/heartbeat、reply draft/approval/outbox/send-run 和 observability snapshot 的文件名与 digest;source digest drift、missing source、path traversal 和 corrupted trace 必须 verify failed,且不得修改源 artifact、不得执行 runtime action。
|
|
478
|
+
- Stage 30 必须覆盖 Readiness / Observability Expansion:`readiness --score` / `observability --summary` 输出 `retry_health`、`loop_health`、`reply_health` 和 `trace_health`;preview 不写文件,`--confirm` 只写 observability snapshot。
|
|
479
|
+
- Stage 30 readiness 必须对 tampered retry/reply/trace 或 stop file / duplicate retry 降分或记录 blocked reason;不得改变 queue gate、不得触发 retry、不得启动 loop、不得发送 reply。
|
|
480
|
+
- Reply E 必须覆盖 Source-bound Local Reply Draft:`reply --draft --source-bound` 默认 no-write,`--confirm` 写 source-bound draft,draft manifest 绑定 workflow、latest execution、scheduler/recovery/retry run、observability snapshot 和 runtime trace 的文件名与 digest。
|
|
481
|
+
- Reply E source manifest drift 必须让 `reply --verify` 或 `reply --approve` 失败;仍固定 `model_invocation=false`、`send_allowed=false`、`external_delivery=false`,不调用模型、不调用平台 API、不自动回复用户。
|
|
482
|
+
- Reply F 必须覆盖 Source-bound Reply Review Gate:`reply --review <draft-file>` 默认 no-write,`--confirm` 只写 `.vibecoding-state/reply-reviews/*.reply-review.json`;source-bound draft 缺 review sidecar 时 `reply --approve` 必须失败。
|
|
483
|
+
- Reply F review sidecar 必须绑定 draft digest、source manifest digest、latest trace/observability digest 和 boundary assertions;review tamper、draft digest drift、source manifest drift 必须让 `reply --verify` / `reply --approve` / downstream outbox-send verify 失败。
|
|
484
|
+
- Stage 31 必须覆盖 Governance Attestation / Boundary Audit:`governance --attest --dry-run` 不写文件,`governance --attest --confirm` 只写 `.vibecoding-state/governance/*.governance-attestation.json`,`governance --list/show/verify` 保持只读。
|
|
485
|
+
- Stage 31 governance attestation 必须绑定 runtime trace、observability snapshot 和 reply review chain digest,并固定 no-platform/no-external-delivery/no-model/no-git/no-worktree/no-subagent/no-MCP/no-business-source-write;tampered trace、observability 或 reply review 必须导致 violations 或 verify failed。
|
|
486
|
+
- Stage 32 必须覆盖 Methodology Gate Ledger:`methodology --catalog` 只读,`methodology --gate --kind <spec|plan|tdd|debug|review|completion>` 默认 no-write,`methodology --gate --kind <kind> --confirm` 只写 `.vibecoding-state/methodology-gates/*.methodology-gate.json`,`methodology --list/show/verify` 保持只读。
|
|
487
|
+
- Stage 32 methodology gate 必须绑定 workflow digest、builtin methodology catalog digest、criteria、blocked_reasons 和 safety boundary;workflow digest drift、catalog digest mismatch、tampered criteria/blocked reasons、safety boundary drift 和 path traversal 必须 verify failed。Stage 32 不执行 workflow skill、不调用 external reference、不派发 subagent、不创建 commit/branch/PR、不调用平台 API、不触碰 git/worktree/业务源码。
|
|
488
|
+
- Stage 32 trace/readiness/governance 可观测面必须能看到 methodology gate artifact,但不得因此改变 scheduler、recovery、retry、reply 或 execution gate。
|
|
489
|
+
- `artifacts --dry-run` 可预览 task brief、review gate 和 evidence skeleton,并保持不写文件;`task-brief.md` 聚焦任务交接,`review-gate.md` 聚焦 review 风险和完成门禁,`evidence.md` 聚焦已有证据和待补验证;产物包含 `goal`、`key_decisions`、`reason`、scope、files、risks、acceptance 和 evidence 上下文,缺失字段显示为 `not recorded` / `- not recorded`。
|
|
490
|
+
- `artifacts --write` 只写 `.vibecoding-state/task-brief.md`、`.vibecoding-state/review-gate.md` 和 `.vibecoding-state/evidence.md`。
|
|
491
|
+
- `tasks --dry-run` 可预览任务级 brief、report、review gate 和 evidence skeleton,并保持不写文件;`--task <task-id>` 只预览一个已记录 task,找不到 task 或 task id 不安全时失败。
|
|
492
|
+
- `tasks --write` 只写 `.vibecoding-state/tasks/<task-id>/brief.md`、`report.md`、`review-gate.md` 和 `evidence.md`,不写业务源码、不执行任务、不调用 subagent;非法 task id(包括路径穿越、Windows 保留设备名、重复 task id 和尾随 `.` / 空格)必须失败且不得创建 `.vibecoding-state/tasks/` 外文件;`depends_on` 引用不存在 task、自依赖或 cyclic task dependency 必须在 `validate-handoff` / `record-handoff` 阶段失败且不写 workflow state;`--task <task-id>` 只写选中 task,不写其他 task artifacts。
|
|
493
|
+
- 任务级 `review_status` 支持 `not_started`、`requested`、`clean`、`needs_fix`、`waived`;`needs_fix` 只提示显式处理 review feedback,`waived` 必须记录 waiver 说明。
|
|
494
|
+
- runtime ledger smoke 不在 repo 根残留 `.vibecoding-state/`。
|
|
495
|
+
- 默认 installed layout 检查通过。
|
|
496
|
+
- `--with-docs` installed layout 检查通过。
|
|
497
|
+
- 临时目录验证后清理。
|
|
498
|
+
|
|
499
|
+
## 工具链验收
|
|
500
|
+
|
|
501
|
+
### `vibe-init` 默认安装
|
|
502
|
+
|
|
503
|
+
命令:
|
|
504
|
+
|
|
505
|
+
```bash
|
|
506
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all --dry-run
|
|
507
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all
|
|
508
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-target
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
期望:
|
|
512
|
+
|
|
513
|
+
- dry-run 只输出计划,不写入文件。
|
|
514
|
+
- 根目录只生成平台入口文件:`CLAUDE.md`、`AGENTS.md`。
|
|
515
|
+
- `CLAUDE.md` 来自 `templates/CLAUDE.md`,包含 `.vibecoding/skills/` 和 `using-vibecoding`。
|
|
516
|
+
- `AGENTS.md` 来自 `templates/AGENTS.md`,包含 `.vibecoding/skills/`。
|
|
517
|
+
- Vibecoding Kit 资产安装到 `.vibecoding/`。
|
|
518
|
+
- 默认安装包含 `.vibecoding/skills/`、`.vibecoding/adapters/`、`.vibecoding/hooks/`、`.vibecoding/VIBE-CODING.md`。
|
|
519
|
+
- 默认不安装业务根目录 `README.md`、`skills/`、`adapters/`、`hooks/`、`docs/`、`examples/`。
|
|
520
|
+
- doctor 输出 `Layout: installed` 和 `Result: passed`。
|
|
521
|
+
|
|
522
|
+
### `vibe-init` 单平台安装
|
|
523
|
+
|
|
524
|
+
命令:
|
|
525
|
+
|
|
526
|
+
```bash
|
|
527
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-claude --platform claude
|
|
528
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-claude
|
|
529
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-cursor --platform cursor
|
|
530
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-cursor
|
|
531
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-codex --platform codex
|
|
532
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-codex
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
期望:
|
|
536
|
+
|
|
537
|
+
- Claude 单平台安装只要求 `CLAUDE.md` 和 `.vibecoding/adapters/claude/`。
|
|
538
|
+
- Cursor 单平台安装只要求 `AGENTS.md` 和 `.vibecoding/adapters/cursor/`。
|
|
539
|
+
- Codex 单平台安装只要求 `AGENTS.md` 和 `.vibecoding/adapters/codex/`。
|
|
540
|
+
- doctor 不要求未安装平台的 adapter。
|
|
541
|
+
- doctor 输出对应 `Platforms:` 和 `Result: passed`。
|
|
542
|
+
|
|
543
|
+
### `vibe-init` 完整文档安装
|
|
544
|
+
|
|
545
|
+
命令:
|
|
546
|
+
|
|
547
|
+
```bash
|
|
548
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all --with-docs
|
|
549
|
+
node tools/vibe-doctor/index.mjs .tmp/vibe-init-target
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
期望:
|
|
553
|
+
|
|
554
|
+
- `.vibecoding/docs/` 存在。
|
|
555
|
+
- `.vibecoding/examples/` 存在。
|
|
556
|
+
- doctor 输出 `Result: passed`。
|
|
557
|
+
|
|
558
|
+
### `vibe-init` 不覆盖已有文件
|
|
559
|
+
|
|
560
|
+
准备:
|
|
561
|
+
|
|
562
|
+
```text
|
|
563
|
+
.tmp/vibe-init-target/CLAUDE.md 已存在
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
命令:
|
|
567
|
+
|
|
568
|
+
```bash
|
|
569
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform all
|
|
570
|
+
```
|
|
571
|
+
|
|
572
|
+
期望:
|
|
573
|
+
|
|
574
|
+
- 输出 `[skip] CLAUDE.md (exists)`。
|
|
575
|
+
- 原 `CLAUDE.md` 内容保持不变。
|
|
576
|
+
- 其余缺失文件正常安装。
|
|
577
|
+
- 如果已有 `CLAUDE.md` 未包含 `.vibecoding/skills/` 或 `using-vibecoding`,doctor 输出 `passed with warnings`,提示需要手动合并 Vibecoding 入口。
|
|
578
|
+
|
|
579
|
+
## 文档与分发验收
|
|
580
|
+
|
|
581
|
+
### README 主入口
|
|
582
|
+
|
|
583
|
+
`README.md` 必须说明:
|
|
584
|
+
|
|
585
|
+
- 5 分钟快速安装命令。
|
|
586
|
+
- `vibe-doctor` 安装后诊断命令。
|
|
587
|
+
- `claude`、`cursor`、`codex`、`all` 平台安装结果。
|
|
588
|
+
- repo layout 与 installed layout 边界。
|
|
589
|
+
- `docs/acceptance-checklist.md`、`docs/release-guide.md` 和 `docs/submodule-guide.md` 的入口。
|
|
590
|
+
|
|
591
|
+
### 发布说明
|
|
592
|
+
|
|
593
|
+
`docs/release-guide.md` 必须说明:
|
|
594
|
+
|
|
595
|
+
- 发布包应包含的目录和文件。
|
|
596
|
+
- 发布包不应包含 `.tmp/`、`fork/`、缓存或未验证实验产物。
|
|
597
|
+
- repo layout 与 installed layout 的边界。
|
|
598
|
+
- 发布前固定检查命令。
|
|
599
|
+
- 验证后的临时目录清理方式。
|
|
600
|
+
|
|
601
|
+
### 工具文档
|
|
602
|
+
|
|
603
|
+
`tools/vibe-init/README.md` 与 `tools/vibe-doctor/README.md` 必须说明:
|
|
604
|
+
|
|
605
|
+
- 单平台安装和检查语义。
|
|
606
|
+
- Cursor / Codex 共用 `AGENTS.md`。
|
|
607
|
+
- `docs/` 和 `examples/` 只在 `--with-docs` 时安装到 `.vibecoding/`。
|
|
608
|
+
- 入口文件被 skip 后的手动合并方式。
|
|
609
|
+
|
|
610
|
+
### examples 文档
|
|
611
|
+
|
|
612
|
+
每个 examples README 必须说明:
|
|
613
|
+
|
|
614
|
+
- 面向的平台。
|
|
615
|
+
- 对应 `--platform` 参数。
|
|
616
|
+
- 预期根入口文件。
|
|
617
|
+
- 安装后 `vibe-doctor` 命令。
|
|
618
|
+
- 人工 smoke prompt。
|
|
619
|
+
- 示例目录不是业务项目必须复制到根目录的资产。
|
|
620
|
+
|
|
621
|
+
## 第二阶段首轮验收
|
|
622
|
+
|
|
623
|
+
Stage 19/20 runtime 增强必须满足:
|
|
624
|
+
|
|
625
|
+
- `leases --list/show/verify` 只读审计 auto-run locks 和 running executions;缺目录返回空列表,不创建目录。
|
|
626
|
+
- `recovery --preview` 默认 no-write,输出 manual recovery steps、retry candidates 和 `retry_allowed=false`。
|
|
627
|
+
- `recovery --preview --confirm` 只写 `.vibecoding-state/recovery-packages/*.recovery.json`,不释放 lock、不删除 execution、不自动 retry。
|
|
628
|
+
- `observability --summary` / `readiness --score` 默认 no-write,输出 deterministic readiness score、dimension scores、blocked reasons 和 evidence completeness。
|
|
629
|
+
- `readiness --score --confirm` 只写 `.vibecoding-state/observability/*.observability.json`,不改变 queue gate,不触发 runtime action。
|
|
630
|
+
- 损坏 lock、损坏 recovery package、active lock、stale running 和 path traversal 必须失败或降级为 blocked audit,不创建 execution。
|
|
631
|
+
|
|
632
|
+
## 第二阶段首轮验收
|
|
633
|
+
|
|
634
|
+
第二阶段首轮新增能力必须满足:
|
|
635
|
+
|
|
636
|
+
### `vibe-init` 安装体验
|
|
637
|
+
|
|
638
|
+
命令:
|
|
639
|
+
|
|
640
|
+
```bash
|
|
641
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform auto --check
|
|
642
|
+
node tools/vibe-init/index.mjs --target .tmp/vibe-init-target --platform auto --merge-preview
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
期望:
|
|
646
|
+
|
|
647
|
+
- `--check` 不写入文件。
|
|
648
|
+
- `--platform auto` 能根据已有 `CLAUDE.md` / `AGENTS.md` 推断平台;没有入口文件时回退到 `all`。
|
|
649
|
+
- `--merge-preview` 对已有入口文件输出建议合并片段,不覆盖文件。
|
|
650
|
+
|
|
651
|
+
### `vibe-doctor` 诊断增强
|
|
652
|
+
|
|
653
|
+
期望:
|
|
654
|
+
|
|
655
|
+
- warn / fail 输出 `fix:` 修复建议。
|
|
656
|
+
- repo layout 检查 `.gitmodules` 和 `fork/distill`、`fork/ECC`、`fork/<external-reference>`、`fork/token-savior`。
|
|
657
|
+
- repo layout 检查 README、release guide、acceptance checklist 的关键入口链接。
|
|
658
|
+
- installed layout 检查 adapter 与入口文件是否一致。
|
|
659
|
+
|
|
660
|
+
### `vibe-compact` 本地压缩
|
|
661
|
+
|
|
662
|
+
命令:
|
|
663
|
+
|
|
664
|
+
```bash
|
|
665
|
+
node tools/vibe-compact/index.mjs --input docs/phase-2-roadmap.md --max-lines 2
|
|
666
|
+
```
|
|
667
|
+
|
|
668
|
+
期望输出包含:
|
|
669
|
+
|
|
670
|
+
```text
|
|
671
|
+
目标:
|
|
672
|
+
当前状态:
|
|
673
|
+
关键决策:
|
|
674
|
+
已完成:
|
|
675
|
+
未完成:
|
|
676
|
+
风险:
|
|
677
|
+
下一步:
|
|
678
|
+
关键文件:
|
|
679
|
+
```
|
|
680
|
+
|
|
681
|
+
### 发布前聚合检查
|
|
682
|
+
|
|
683
|
+
命令:
|
|
684
|
+
|
|
685
|
+
```bash
|
|
686
|
+
node tools/vibe-release-check/index.mjs
|
|
687
|
+
node tools/vibe-release-check/index.mjs --quiet
|
|
688
|
+
```
|
|
689
|
+
|
|
690
|
+
期望:
|
|
691
|
+
|
|
692
|
+
- 聚合检查输出 `Result: passed`。
|
|
693
|
+
- `--quiet` 输出通过/失败摘要,失败时不吞掉失败命令细节。
|
|
694
|
+
- Cursor / Codex 单平台安装后的 doctor 输出 `Result: passed`,不因共用 `AGENTS.md` 产生缺少另一个平台 adapter 的 warning。
|
|
695
|
+
- 默认清理 `.tmp/`。
|
|
696
|
+
- 不提交、不打 tag、不执行远程发布。
|
|
697
|
+
|
|
698
|
+
## Runtime Stage 2 本地状态账本验收
|
|
699
|
+
|
|
700
|
+
Stage 2 ledger 必须满足:
|
|
701
|
+
|
|
702
|
+
### `vibe-runtime` 显式 ledger 命令
|
|
703
|
+
|
|
704
|
+
命令:
|
|
705
|
+
|
|
706
|
+
```bash
|
|
707
|
+
node tools/vibe-runtime/index.mjs status
|
|
708
|
+
node tools/vibe-runtime/index.mjs record-handoff --from-file handoff.md
|
|
709
|
+
node tools/vibe-runtime/index.mjs next --dry-run
|
|
710
|
+
node tools/vibe-runtime/index.mjs reset --confirm
|
|
711
|
+
```
|
|
712
|
+
|
|
713
|
+
期望:
|
|
714
|
+
|
|
715
|
+
- `status` 只读,不创建 `.vibecoding-state/`。
|
|
716
|
+
- `record-handoff` 只在已存在 root 下写 `.vibecoding-state/workflow.json`,不会创建 root。
|
|
717
|
+
- `record-handoff` 校验 `current_skill` 和 `next_skill`,并生成 `status: handoff-recorded`。
|
|
718
|
+
- `next --dry-run` 只输出下一步建议,不执行 `next_skill`。
|
|
719
|
+
- `reset --confirm` 只删除 `.vibecoding-state/`。
|
|
720
|
+
- `.gitignore` 忽略 `.vibecoding-state/`。
|
|
721
|
+
- `vibe-runtime-check` 检查 `tools/vibe-runtime/` 和 `.vibecoding-state/` ignore 边界。
|
|
722
|
+
- `vibe-doctor` repo layout 检查 `tools/vibe-runtime/` 和 `.vibecoding-state/` ignore 边界。
|
|
723
|
+
- `vibe-release-check` 包含 runtime ledger smoke,且默认清理 `.tmp/`。
|
|
724
|
+
- 不自动调用 subagent、不创建 worktree、不执行 git 写入、不安装依赖、不启动 MCP / agent graph / daemon。
|
|
725
|
+
|
|
726
|
+
## 第二阶段第二批验收
|
|
727
|
+
|
|
728
|
+
第二阶段第二批新增能力必须满足:
|
|
729
|
+
|
|
730
|
+
### examples 安装后快照
|
|
731
|
+
|
|
732
|
+
期望:
|
|
733
|
+
|
|
734
|
+
- `examples/claude-project/README.md` 说明默认只在根目录生成 `CLAUDE.md`。
|
|
735
|
+
- `examples/cursor-project/README.md` 说明默认只在根目录生成 `AGENTS.md`。
|
|
736
|
+
- `examples/codex-project/README.md` 说明默认只在根目录生成 `AGENTS.md`。
|
|
737
|
+
- 三个示例都说明 kit 资产集中在 `.vibecoding/`。
|
|
738
|
+
- 三个示例都说明 `docs/` 和 `examples/` 只有 `--with-docs` 才安装。
|
|
739
|
+
|
|
740
|
+
### hooks 边界说明
|
|
741
|
+
|
|
742
|
+
期望:
|
|
743
|
+
|
|
744
|
+
- `hooks/session-start/` 明确 hook 只是提示边界,不是强制 workflow runtime。
|
|
745
|
+
- `hooks/post-tool-compact/` 明确压缩需要显式进入 `vibe-context-compact` 或显式调用本地工具。
|
|
746
|
+
- 文档不声称存在自动调用链、长期 memory 或跨会话索引。
|
|
747
|
+
|
|
748
|
+
### `vibe-compact` 输出质量
|
|
749
|
+
|
|
750
|
+
命令:
|
|
751
|
+
|
|
752
|
+
```bash
|
|
753
|
+
node tools/vibe-compact/index.mjs --input docs/phase-2-roadmap.md --max-lines 2
|
|
754
|
+
node tools/vibe-compact/index.mjs --input docs/phase-2-roadmap.md --max-lines 2 --format markdown
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
期望:
|
|
758
|
+
|
|
759
|
+
- 默认 text 输出保持原结构。
|
|
760
|
+
- markdown 输出包含稳定标题和列表。
|
|
761
|
+
- 空输入返回非 0,并输出 `Error: input is empty.`。
|
|
762
|
+
|
|
763
|
+
### `vibe-release-check --quiet`
|
|
764
|
+
|
|
765
|
+
命令:
|
|
766
|
+
|
|
767
|
+
```bash
|
|
768
|
+
node tools/vibe-release-check/index.mjs --quiet
|
|
769
|
+
```
|
|
770
|
+
|
|
771
|
+
期望:
|
|
772
|
+
|
|
773
|
+
- 输出通过/失败摘要。
|
|
774
|
+
- 正常通过时比默认模式更短。
|
|
775
|
+
- 失败时仍输出失败命令的详细信息。
|
|
776
|
+
|
|
777
|
+
## 第三批验收
|
|
778
|
+
|
|
779
|
+
第三批人工 smoke 指南增强必须满足:
|
|
780
|
+
|
|
781
|
+
### 三平台安装后 smoke 流程
|
|
782
|
+
|
|
783
|
+
期望:
|
|
784
|
+
|
|
785
|
+
- `docs/install-claude.md` 包含安装后人工 smoke 流程。
|
|
786
|
+
- `docs/install-cursor.md` 包含安装后人工 smoke 流程。
|
|
787
|
+
- `docs/install-codex.md` 包含安装后人工 smoke 流程。
|
|
788
|
+
- 三个平台都说明入口文件、`.vibecoding/skills/`、平台会话和验收 Prompt 的检查顺序。
|
|
789
|
+
- 三个平台都说明期望看到的 workflow 信号。
|
|
790
|
+
|
|
791
|
+
### 未触发 workflow 的排查入口
|
|
792
|
+
|
|
793
|
+
期望:
|
|
794
|
+
|
|
795
|
+
- 三个平台都说明当前打开目录应匹配 `vibe-init --target`。
|
|
796
|
+
- 三个平台都说明入口文件是否存在以及应该包含什么。
|
|
797
|
+
- 三个平台都说明 `.vibecoding/skills/using-vibecoding/SKILL.md` 应存在。
|
|
798
|
+
- 三个平台都说明可以用 `vibe-doctor` 复查安装状态。
|
|
799
|
+
- 三个平台都说明已有入口文件被 skip 时需要手动合并模板内容。
|
|
800
|
+
|
|
801
|
+
### examples 轻量引用
|
|
802
|
+
|
|
803
|
+
期望:
|
|
804
|
+
|
|
805
|
+
- `examples/claude-project/README.md` 指向仓库根目录的 `docs/install-claude.md` 详细 smoke 流程。
|
|
806
|
+
- `examples/cursor-project/README.md` 指向仓库根目录的 `docs/install-cursor.md` 详细 smoke 流程。
|
|
807
|
+
- `examples/codex-project/README.md` 指向仓库根目录的 `docs/install-codex.md` 详细 smoke 流程。
|
|
808
|
+
- examples 不复制大段重复流程。
|
|
809
|
+
|
|
810
|
+
### 边界
|
|
811
|
+
|
|
812
|
+
期望:
|
|
813
|
+
|
|
814
|
+
- 文档只描述人工 smoke,不声称真实 IDE runtime 自动化。
|
|
815
|
+
- 文档不声称存在自动 workflow 调用链、长期 memory 或 codebase index。
|
|
816
|
+
|
|
817
|
+
## external reference 映射 Skill 验收
|
|
818
|
+
|
|
819
|
+
第一批对齐 `fork/<external-reference>` 的 skill 粒度增强必须满足:
|
|
820
|
+
|
|
821
|
+
### 核心 skill 文件
|
|
822
|
+
|
|
823
|
+
期望:
|
|
824
|
+
|
|
825
|
+
- `skills/vibe-writing-plans/SKILL.md` 存在,并说明如何把规格拆成可执行任务。
|
|
826
|
+
- `skills/vibe-executing-plans/SKILL.md` 存在,并说明如何按计划逐项执行和验证。
|
|
827
|
+
- `skills/vibe-systematic-debugging/SKILL.md` 存在,并明确未复现不修、未根因不修。
|
|
828
|
+
- `skills/vibe-verification-before-completion/SKILL.md` 存在,并明确没有新鲜证据不得声明完成。
|
|
829
|
+
- 四个 skill 都包含 `Workflow Handoff`、`current_skill`、`next_skill` 和 `stop_condition`。
|
|
830
|
+
|
|
831
|
+
### 路由与边界
|
|
832
|
+
|
|
833
|
+
期望:
|
|
834
|
+
|
|
835
|
+
- `skills/using-vibecoding/SKILL.md` 能把规格拆解、计划执行、系统排查、完成前验证路由到对应 skill。
|
|
836
|
+
- `docs/workflow-chaining.md` 包含新增 skill 的下一跳规则。
|
|
837
|
+
- `CLAUDE.md`、`AGENTS.md`、`templates/CLAUDE.md`、`templates/AGENTS.md` 包含新增 workflow 关键 skill:`vibe-writing-plans`、`vibe-executing-plans`、`vibe-systematic-debugging`、`vibe-verification-before-completion`。
|
|
838
|
+
- `vibe-doctor` 能检查 repo layout 与 installed layout 的入口文件 workflow 是否过期。
|
|
839
|
+
- 默认仍使用显式 `Workflow Handoff`,不启用 runtime 自动调用链。
|
|
840
|
+
- 文档不默认启用 subagent-driven development。
|
|
841
|
+
|
|
842
|
+
### 行为信号
|
|
843
|
+
|
|
844
|
+
期望:
|
|
845
|
+
|
|
846
|
+
- 需要执行计划时,先检查计划是否可执行。
|
|
847
|
+
- 发生异常时,先复现和找根因,再修复。
|
|
848
|
+
- 声称完成前,必须列出当前回合验证证据或明确未验证项。
|
|
849
|
+
|
|
850
|
+
## external reference 映射第二批 Skill 验收
|
|
851
|
+
|
|
852
|
+
第二批轻量流程纪律增强必须满足:
|
|
853
|
+
|
|
854
|
+
### 核心 skill 文件
|
|
855
|
+
|
|
856
|
+
期望:
|
|
857
|
+
|
|
858
|
+
- `skills/vibe-brainstorming/SKILL.md` 存在,并说明如何把模糊想法收敛为可规划方向。
|
|
859
|
+
- `skills/vibe-test-driven-development/SKILL.md` 存在,并说明实现前如何定义测试或验证策略。
|
|
860
|
+
- `skills/vibe-finishing-a-development-branch/SKILL.md` 存在,并说明提交、PR、保留或清理前如何确认验证证据和 git 边界。
|
|
861
|
+
- 三个 skill 都包含 `Workflow Handoff`、`current_skill`、`next_skill` 和 `stop_condition`。
|
|
862
|
+
|
|
863
|
+
### 路由与边界
|
|
864
|
+
|
|
865
|
+
期望:
|
|
866
|
+
|
|
867
|
+
- `skills/using-vibecoding/SKILL.md` 能把需求构思、测试纪律和交付收口路由到对应 skill。
|
|
868
|
+
- `docs/workflow-chaining.md` 包含第二批新增 skill 的下一跳规则。
|
|
869
|
+
- `CLAUDE.md`、`AGENTS.md`、`templates/CLAUDE.md`、`templates/AGENTS.md` 包含新增 workflow 关键 skill:`vibe-brainstorming`、`vibe-test-driven-development`、`vibe-finishing-a-development-branch`。
|
|
870
|
+
- `vibe-doctor` 能检查新增 skill、入口文件 workflow marker 和 `docs/workflow-chaining.md` marker。
|
|
871
|
+
- 默认仍使用显式 `Workflow Handoff`,不启用 runtime 自动调用链。
|
|
872
|
+
- 文档不默认启用 subagent-driven development。
|
|
873
|
+
|
|
874
|
+
### 行为信号
|
|
875
|
+
|
|
876
|
+
期望:
|
|
877
|
+
|
|
878
|
+
- 构思任务不能直接实现,必须先明确目标、非目标、方案和确认点。
|
|
879
|
+
- 实现任务需要先说明测试或验证策略。
|
|
880
|
+
- 完成后不能直接声称交付,必须先进入完成前验证,再进入交付收口。
|
|
881
|
+
- 交付收口不能混合 staged / unstaged,不能未经确认提交、推送、合并、清理或删除。
|
|
882
|
+
|
|
883
|
+
## Review Flow Skill 验收
|
|
884
|
+
|
|
885
|
+
Review flow 增强必须满足:
|
|
886
|
+
|
|
887
|
+
### 核心 skill 文件
|
|
888
|
+
|
|
889
|
+
期望:
|
|
890
|
+
|
|
891
|
+
- `skills/vibe-requesting-code-review/SKILL.md` 存在,并说明请求 review 前如何整理目标、范围、依据、验证证据和重点风险。
|
|
892
|
+
- `skills/vibe-receiving-code-review/SKILL.md` 存在,并说明接收 feedback 后如何理解、验证、分类、澄清、拒绝或排序修复。
|
|
893
|
+
- 两个 skill 都包含 `Workflow Handoff`、`current_skill`、`next_skill` 和 `stop_condition`。
|
|
894
|
+
|
|
895
|
+
### 路由与边界
|
|
896
|
+
|
|
897
|
+
期望:
|
|
898
|
+
|
|
899
|
+
- `skills/using-vibecoding/SKILL.md` 能把请求 review、合并前审查和处理 review feedback 路由到对应 skill。
|
|
900
|
+
- `docs/workflow-chaining.md` 包含 `vibe-requesting-code-review`、`vibe-review`、`vibe-receiving-code-review` 的下一跳规则。
|
|
901
|
+
- `CLAUDE.md`、`AGENTS.md`、`templates/CLAUDE.md`、`templates/AGENTS.md` 包含新增 workflow 关键 skill:`vibe-requesting-code-review`、`vibe-receiving-code-review`。
|
|
902
|
+
- `vibe-doctor` 能检查新增 skill、入口文件 workflow marker、`using-vibecoding` marker 和 `docs/workflow-chaining.md` marker。
|
|
903
|
+
- `vibe-review` 继续负责审查行为、边界、风险和交付质量,不负责准备 review 请求包,也不负责逐项处置 feedback。
|
|
904
|
+
- 默认仍使用显式 `Workflow Handoff`,不自动派发 reviewer,不实现 PR bot,不启用 MCP review 集成。
|
|
905
|
+
|
|
906
|
+
### 行为信号
|
|
907
|
+
|
|
908
|
+
期望:
|
|
909
|
+
|
|
910
|
+
- 请求 review 前必须明确 review 目标、review 范围、验收依据、当前验证证据、未验证项和重点风险。
|
|
911
|
+
- 不允许声称已经自动派发 reviewer 或已经自动完成 review。
|
|
912
|
+
- 接收 feedback 后必须先理解、验证和分类,不能盲目修复。
|
|
913
|
+
- 不清楚或缺少上下文的 feedback 必须停止并要求澄清。
|
|
914
|
+
- Critical / Important feedback 必须处理,或给出可辩护的技术性拒绝理由。
|
|
915
|
+
|
|
916
|
+
## Skill Writing 验收
|
|
917
|
+
|
|
918
|
+
`vibe-writing-skills` 增强必须满足:
|
|
919
|
+
|
|
920
|
+
### 核心 skill 文件
|
|
921
|
+
|
|
922
|
+
期望:
|
|
923
|
+
|
|
924
|
+
- `skills/vibe-writing-skills/SKILL.md` 存在,并说明新增或修改 workflow skill 前如何确认触发场景、职责边界、输入输出、下一跳和同步清单。
|
|
925
|
+
- 该 skill 包含 `Workflow Handoff`、`current_skill`、`next_skill` 和 `stop_condition`。
|
|
926
|
+
- 该 skill 明确不引入 graphviz、skill 自动生成器、subagent 测试或 runtime 编排器。
|
|
927
|
+
|
|
928
|
+
### 路由与边界
|
|
929
|
+
|
|
930
|
+
期望:
|
|
931
|
+
|
|
932
|
+
- `skills/using-vibecoding/SKILL.md` 能把新增、修改或设计 Vibecoding workflow skill 路由到 `vibe-writing-skills`。
|
|
933
|
+
- `docs/workflow-chaining.md` 包含 `vibe-writing-skills` 的流程图和下一跳规则。
|
|
934
|
+
- `CLAUDE.md`、`AGENTS.md`、`templates/CLAUDE.md`、`templates/AGENTS.md` 包含新增 workflow 关键 skill:`vibe-writing-skills`。
|
|
935
|
+
- `vibe-doctor` 能检查新增 skill、入口文件 workflow marker、`using-vibecoding` marker 和 `docs/workflow-chaining.md` marker。
|
|
936
|
+
- 默认仍使用显式 `Workflow Handoff`,不启用 runtime 自动调用链。
|
|
937
|
+
|
|
938
|
+
### 行为信号
|
|
939
|
+
|
|
940
|
+
期望:
|
|
941
|
+
|
|
942
|
+
- 新增 skill 前先判断是否真的需要独立 skill。
|
|
943
|
+
- 修改 skill 前先确认与现有 skill 的职责边界。
|
|
944
|
+
- 新增或修改 skill 后必须检查路由、入口、模板、README、authoring guide、acceptance checklist、release guide 和 doctor 是否需要同步。
|
|
945
|
+
- doctor 只做轻量结构和 marker 检查,不做过严内容审查。
|
|
946
|
+
|
|
947
|
+
## Parallel Work Dispatch 验收
|
|
948
|
+
|
|
949
|
+
`vibe-dispatching-parallel-work` 增强必须满足:
|
|
950
|
+
|
|
951
|
+
### 核心 skill 文件
|
|
952
|
+
|
|
953
|
+
期望:
|
|
954
|
+
|
|
955
|
+
- `skills/vibe-dispatching-parallel-work/SKILL.md` 存在,并说明如何判断任务独立性、共享状态、顺序依赖和冲突风险。
|
|
956
|
+
- 该 skill 包含 `Workflow Handoff`、`current_skill`、`next_skill` 和 `stop_condition`。
|
|
957
|
+
- 该 skill 明确不自动调用 subagent、不引入 agent graph、不生成 review package、不替代 `vibe-executing-plans`。
|
|
958
|
+
|
|
959
|
+
### 路由与边界
|
|
960
|
+
|
|
961
|
+
期望:
|
|
962
|
+
|
|
963
|
+
- `skills/vibe-writing-plans/SKILL.md` 能在任务存在独立并行候选时进入 `vibe-dispatching-parallel-work`。
|
|
964
|
+
- `skills/vibe-executing-plans/SKILL.md` 仍保持默认逐项执行入口,不把并行 brief 当作已执行。
|
|
965
|
+
- `docs/workflow-chaining.md` 包含 `vibe-dispatching-parallel-work` 的流程图和下一跳规则。
|
|
966
|
+
- `CLAUDE.md`、`AGENTS.md`、`templates/CLAUDE.md`、`templates/AGENTS.md` 包含新增 workflow 关键 skill:`vibe-dispatching-parallel-work`。
|
|
967
|
+
- `vibe-doctor` 能检查新增 skill、入口文件 workflow marker、`using-vibecoding` marker 和 `docs/workflow-chaining.md` marker。
|
|
968
|
+
|
|
969
|
+
### 行为信号
|
|
970
|
+
|
|
971
|
+
期望:
|
|
972
|
+
|
|
973
|
+
- 新 skill 能区分可并行、必须顺序、需要重新拆分和缺少输入。
|
|
974
|
+
- 新 skill 必须输出每个任务 brief,包括目标、范围、输入证据、禁止修改、依赖、预期输出、验证方式和完成后回报。
|
|
975
|
+
- 用户未明确允许 subagent 时,只输出判断和 brief,不执行分发。
|
|
976
|
+
- doctor 只做轻量结构和 marker 检查,不做过严内容审查。
|
|
977
|
+
|
|
978
|
+
## Workspace Isolation 验收
|
|
979
|
+
|
|
980
|
+
`vibe-workspace-isolation` 增强必须满足:
|
|
981
|
+
|
|
982
|
+
### 核心 skill 文件
|
|
983
|
+
|
|
984
|
+
期望:
|
|
985
|
+
|
|
986
|
+
- `skills/vibe-workspace-isolation/SKILL.md` 存在,并说明如何判断可原地工作、建议隔离、已隔离可继续、先收口和信息不足。
|
|
987
|
+
- 该 skill 包含 `Workflow Handoff`、`current_skill`、`next_skill` 和 `stop_condition`。
|
|
988
|
+
- 该 skill 明确不自动创建 worktree、不切换分支、不修改 `.gitignore`、不清理用户变更。
|
|
989
|
+
|
|
990
|
+
### 路由与边界
|
|
991
|
+
|
|
992
|
+
期望:
|
|
993
|
+
|
|
994
|
+
- `skills/using-vibecoding/SKILL.md` 能把大改动、并行任务、风险性重构或分支收口前的隔离判断路由到 `vibe-workspace-isolation`。
|
|
995
|
+
- `skills/vibe-writing-plans/SKILL.md` 能在大范围改动或当前工作区污染风险出现时建议进入 `vibe-workspace-isolation`。
|
|
996
|
+
- `skills/vibe-dispatching-parallel-work/SKILL.md` 与 `vibe-workspace-isolation` 职责清楚:前者判断任务并行边界,后者判断工作区隔离边界。
|
|
997
|
+
- `docs/workflow-chaining.md` 包含 `vibe-workspace-isolation` 的流程图和下一跳规则。
|
|
998
|
+
- `CLAUDE.md`、`AGENTS.md`、`templates/CLAUDE.md`、`templates/AGENTS.md` 包含新增 workflow 关键 skill:`vibe-workspace-isolation`。
|
|
999
|
+
- `vibe-doctor` 能检查新增 skill、入口文件 workflow marker、`using-vibecoding` marker 和 `docs/workflow-chaining.md` marker。
|
|
1000
|
+
|
|
1001
|
+
### 行为信号
|
|
1002
|
+
|
|
1003
|
+
期望:
|
|
1004
|
+
|
|
1005
|
+
- 当前未提交变更必须被视为隔离判断输入,不被忽略。
|
|
1006
|
+
- 建议隔离时必须停止等待用户确认,不自动创建或切换工作区。
|
|
1007
|
+
- 当前已经处于可接受隔离环境时,不重复建议创建新 worktree。
|
|
1008
|
+
- 当前工作区有未收口变更时,建议进入 `vibe-finishing-a-development-branch`。
|
|
1009
|
+
- doctor 只做轻量结构和 marker 检查,不做过严内容审查。
|
|
1010
|
+
|
|
1011
|
+
## Subagent Driven Development Gate 验收
|
|
1012
|
+
|
|
1013
|
+
`vibe-subagent-driven-development` 增强必须满足:
|
|
1014
|
+
|
|
1015
|
+
### 核心 skill 文件
|
|
1016
|
+
|
|
1017
|
+
期望:
|
|
1018
|
+
|
|
1019
|
+
- `skills/vibe-subagent-driven-development/SKILL.md` 存在,并说明如何判断建议 subagent、回退顺序执行、重新拆分和等待确认。
|
|
1020
|
+
- 该 skill 包含 `Workflow Handoff`、`current_skill`、`next_skill` 和 `stop_condition`。
|
|
1021
|
+
- 该 skill 明确不自动调用 subagent、不选择模型、不生成 review package、不维护 runtime。
|
|
1022
|
+
|
|
1023
|
+
### 路由与边界
|
|
1024
|
+
|
|
1025
|
+
期望:
|
|
1026
|
+
|
|
1027
|
+
- `skills/using-vibecoding/SKILL.md` 能把独立任务 brief 完整且用户明确允许 subagent 的场景路由到 `vibe-subagent-driven-development`。
|
|
1028
|
+
- `skills/vibe-dispatching-parallel-work/SKILL.md` 与 `vibe-subagent-driven-development` 职责清楚:前者产出并行边界和任务 brief,后者检查 subagent 执行 gate。
|
|
1029
|
+
- `skills/vibe-workspace-isolation/SKILL.md` 与 `vibe-subagent-driven-development` 职责清楚:前者判断工作区安全,后者判断执行方式。
|
|
1030
|
+
- `skills/vibe-executing-plans/SKILL.md` 仍是未使用 subagent 时的默认顺序执行路径。
|
|
1031
|
+
- `docs/workflow-chaining.md` 包含 `vibe-subagent-driven-development` 的条件链路和下一跳规则。
|
|
1032
|
+
- `CLAUDE.md`、`AGENTS.md`、`templates/CLAUDE.md`、`templates/AGENTS.md` 包含新增 workflow 关键 skill:`vibe-subagent-driven-development`。
|
|
1033
|
+
- `vibe-doctor` 能检查新增 skill、入口文件 workflow marker、`using-vibecoding` marker 和 `docs/workflow-chaining.md` marker。
|
|
1034
|
+
|
|
1035
|
+
### 行为信号
|
|
1036
|
+
|
|
1037
|
+
期望:
|
|
1038
|
+
|
|
1039
|
+
- 用户未明确允许 subagent 时,不建议自动执行或派发。
|
|
1040
|
+
- brief 不完整时,回到 `vibe-dispatching-parallel-work` 或 `vibe-writing-plans`。
|
|
1041
|
+
- 工作区边界未确认时,进入 `vibe-workspace-isolation`。
|
|
1042
|
+
- 平台不支持或任务强耦合时,回退 `vibe-test-driven-development` 或 `vibe-executing-plans`。
|
|
1043
|
+
- 文档不声称自动选择模型、生成 review package、调用平台工具或维护进度 runtime。
|
|
1044
|
+
- doctor 只做轻量结构和 marker 检查,不做过严内容审查。
|
|
1045
|
+
|
|
1046
|
+
## Hook 辅助自动化验收
|
|
1047
|
+
|
|
1048
|
+
Hook 辅助自动化必须满足:
|
|
1049
|
+
|
|
1050
|
+
### 核心 hook 文件
|
|
1051
|
+
|
|
1052
|
+
期望:
|
|
1053
|
+
|
|
1054
|
+
- `hooks/session-start/session-start.md` 提醒选择 workflow、检查目标、范围、风险、验收和 `next_skill`。
|
|
1055
|
+
- `hooks/workflow-handoff/workflow-handoff.md` 提醒阶段结束后检查 `Workflow Handoff`。
|
|
1056
|
+
- `hooks/workflow-handoff/README.md` 明确该 hook 只是提示模板,不是 runtime 编排器。
|
|
1057
|
+
- `hooks/post-tool-compact/README.md` 说明长输出后的显式压缩路径。
|
|
1058
|
+
|
|
1059
|
+
### 平台 hook 示例
|
|
1060
|
+
|
|
1061
|
+
期望:
|
|
1062
|
+
|
|
1063
|
+
- `adapters/cursor/hooks.example.json` 包含 session-start 与 handoff 提示。
|
|
1064
|
+
- `adapters/codex/hooks.example.json` 包含 session-start 与 handoff 提示。
|
|
1065
|
+
- Claude 适配文档说明通过 `CLAUDE.md` 和 skill 提示显式处理 `next_skill`。
|
|
1066
|
+
|
|
1067
|
+
### 边界
|
|
1068
|
+
|
|
1069
|
+
期望:
|
|
1070
|
+
|
|
1071
|
+
- 文档不声称自动执行下一个 skill。
|
|
1072
|
+
- 文档不声称自动调用工具。
|
|
1073
|
+
- 文档不声称维护 runtime 状态机。
|
|
1074
|
+
- `next_skill` 仍被描述为显式建议。
|
|
1075
|
+
|
|
1076
|
+
## Runtime Contract 与只读检查器验收
|
|
1077
|
+
|
|
1078
|
+
命令:
|
|
1079
|
+
|
|
1080
|
+
```bash
|
|
1081
|
+
node tools/vibe-runtime-check/index.mjs
|
|
1082
|
+
```
|
|
1083
|
+
|
|
1084
|
+
期望:
|
|
1085
|
+
|
|
1086
|
+
- 输出 `Vibecoding Runtime Check`。
|
|
1087
|
+
- 输出 `Result: passed`。
|
|
1088
|
+
- 检查 `docs/runtime-roadmap.md`、`docs/runtime-contract.md` 和 `docs/workflow-chaining.md`。
|
|
1089
|
+
- 检查 workflow skill 的 `下一步调用`、`Workflow Handoff`、`current_skill`、`next_skill`、`handoff` 和 `stop_condition` marker。
|
|
1090
|
+
- 不生成 `.vibecoding-state/`。
|
|
1091
|
+
- 不修改 skill、docs、入口文件或业务项目文件。
|
|
1092
|
+
- 不自动执行 `next_skill`。
|
|
1093
|
+
- 不调用 subagent,不创建 worktree,不执行 git 写入,不安装依赖。
|
|
1094
|
+
- 不引入 MCP、agent graph、daemon 或后台 worker。
|
|
1095
|
+
- Stage 9 `execute --from-dispatch` 只允许 preflight / dry-run 预览或 confirm 后写入 `.vibecoding-state/executions/` execution envelope。
|
|
1096
|
+
- `execute --from-dispatch --preflight` 必须只读输出 dispatch、claim、target allowlist、stop condition、task readiness、review gate 和 write boundary,不创建 execution file。
|
|
1097
|
+
- `execute --from-dispatch --confirm --actor` 必须校验 dispatch event、claim、actor 和 picked 状态,不执行 workflow skill,不调用平台 API,不触碰 git / worktree,并记录 policy snapshot 与 stable `idempotency_key`。
|
|
1098
|
+
- Stage 10 `daemon --dry-run` 只预览 once-run gate;`daemon --scan --dry-run` 只读输出 candidates、blocked items、stale claims、stale running executions、retry preview、lock / lease contract 和 watcher disabled;`daemon --once --confirm` 只写 `.vibecoding-state/daemon-runs/` daemon run envelope,并记录 scan no-op、scheduler policy dry-run、lock、lease 和 heartbeat contract。
|
|
1099
|
+
- daemon 默认关闭,不启动 long-running worker / watcher,不扫描并执行 dispatches,不调用 `execute`,不 pickup claim,不自动 retry,不执行 workflow skill,不触碰 git / worktree。
|
|
1100
|
+
- Stage 8 pickup contract 必须提供 readiness、pickup verification、platform capability matrix、no-session adapter dry-run、`pickup-dry-run` marker 和 `handoff_sha256` handoff digest。
|
|
1101
|
+
- Stage 10 daemon envelope 必须提供 `heartbeat_started` contract,确认 scan/no-op/lease 分支不会启动 heartbeat 或 watcher。
|
|
1102
|
+
|
|
1103
|
+
## 平台人工 smoke 检查
|
|
1104
|
+
|
|
1105
|
+
第一阶段不做真实 IDE runtime 自动化,仅做最小人工检查。
|
|
1106
|
+
|
|
1107
|
+
### Claude
|
|
1108
|
+
|
|
1109
|
+
在安装后的目标项目中确认:
|
|
1110
|
+
|
|
1111
|
+
- 根目录存在 `CLAUDE.md`。
|
|
1112
|
+
- `CLAUDE.md` 包含 `.vibecoding/skills/`。
|
|
1113
|
+
- `CLAUDE.md` 包含 `using-vibecoding`。
|
|
1114
|
+
|
|
1115
|
+
人工 Prompt:
|
|
1116
|
+
|
|
1117
|
+
```text
|
|
1118
|
+
我想给这个项目加一个新功能,先帮我规划一下。
|
|
1119
|
+
```
|
|
1120
|
+
|
|
1121
|
+
期望:优先进入 `using-vibecoding`,再进入 `vibe-brainstorming` 或 `vibe-planning`。
|
|
1122
|
+
|
|
1123
|
+
### Cursor / Codex
|
|
1124
|
+
|
|
1125
|
+
在安装后的目标项目中确认:
|
|
1126
|
+
|
|
1127
|
+
- 根目录存在 `AGENTS.md`。
|
|
1128
|
+
- `AGENTS.md` 包含 `.vibecoding/skills/`。
|
|
1129
|
+
- `AGENTS.md` 包含 workflow 选择规则。
|
|
1130
|
+
|
|
1131
|
+
人工 Prompt:
|
|
1132
|
+
|
|
1133
|
+
```text
|
|
1134
|
+
实现完成了,帮我确认能不能交付。
|
|
1135
|
+
```
|
|
1136
|
+
|
|
1137
|
+
期望:进入 `vibe-verification-before-completion`,明确当前回合验证证据、未验证项、阻塞、风险和可交付判断;证据充分后建议 `vibe-finishing-a-development-branch`。
|
|
1138
|
+
|
|
1139
|
+
## Stage 33 Hook Intent Contract 验收
|
|
1140
|
+
|
|
1141
|
+
- `hooks --catalog --json` 必须只读输出 Stage 33 builtin hook intent catalog,且不创建 `.vibecoding-state/`。
|
|
1142
|
+
- `hooks --preview --json` 必须只读输出 hook intent envelope,固定 `allowed_followup` 包含 `scheduler-plan-only`,并且 `safety.writes=false`、`safety.scheduler_plan=false`、`safety.subagent_dispatch=false`、`safety.platform_api=false`。
|
|
1143
|
+
- `hooks --preview --confirm --json` 只允许写 `.vibecoding-state/hook-intents/*.hook-intent.json`,不得触发 scheduler、不得派发 subagent、不得创建 session、不得调用平台 API。
|
|
1144
|
+
- `hooks --verify <hook-intent-file> --json` 必须校验 intent digest、catalog digest、source digest、workflow digest 和 safety boundary。
|
|
1145
|
+
- tampered hook intent 中 `subagent_dispatch=true`、`scheduler_execution=true`、`platform_api=true`、bad digest 或路径穿越必须失败且不写其他状态。
|
|
1146
|
+
|
|
1147
|
+
## Stage 34 Scheduler Plan from Hook 验收
|
|
1148
|
+
|
|
1149
|
+
- `scheduler --from-hook <hook-intent-file> --plan --json` 必须只读生成 Stage 34 hook-derived scheduler plan,且不创建 `.vibecoding-state/scheduler-hook-plans/`。
|
|
1150
|
+
- `scheduler --from-hook <hook-intent-file> --plan --confirm --json` 只允许写 `.vibecoding-state/scheduler-hook-plans/*.scheduler-hook-plan.json`,不得创建 scheduler lease/run、不得执行 queue item、不得派发 subagent、不得创建 session、不得调用平台 API。
|
|
1151
|
+
- `scheduler --verify <scheduler-hook-plan-file> --json` 必须校验 hook intent digest、plan digest、queue summary、budget、required approvals 和 safety boundary。
|
|
1152
|
+
- hook intent drift、`runtime_action_allowed=true`、`subagent_dispatch_allowed=true`、`scheduler_run=true`、bad digest 或路径穿越必须失败且不写其他状态。
|
|
1153
|
+
|
|
1154
|
+
## Stage 35 Subagent Dispatch Eligibility Gate 验收
|
|
1155
|
+
|
|
1156
|
+
- `subagents --eligibility --task <task-id> --json` 必须只读评估 Stage 35 subagent eligibility gate,且不创建 `.vibecoding-state/subagent-eligibility/`。
|
|
1157
|
+
- `subagents --eligibility --task <task-id> --confirm --json` 只允许写 `.vibecoding-state/subagent-eligibility/*.subagent-eligibility.json`,不得派发 subagent、不得创建 session、不得运行 scheduler、不得调用平台 API。
|
|
1158
|
+
- `subagents --verify <eligibility-file> --json` 必须校验 task digest、workflow digest、gate evidence、gate catalog、allowed followup 和 safety boundary。
|
|
1159
|
+
- task drift、workflow drift、gate evidence drift、`subagent_dispatch=true`、`session_create=true`、bad digest 或路径穿越必须失败且不写其他状态。
|
|
1160
|
+
|
|
1161
|
+
## Stage 36 Approved Subagent Dispatch Artifact 验收
|
|
1162
|
+
|
|
1163
|
+
- `subagents --dispatch --from-plan <scheduler-hook-plan-file> --eligibility <eligibility-file> --confirm --json` 只允许写 `.vibecoding-state/subagent-dispatches/*.subagent-dispatch.json`。
|
|
1164
|
+
- Stage 36 不得创建 session、不得调用平台 API、不得运行 scheduler、不得执行 subagent、不得写 git/worktree/业务源码。
|
|
1165
|
+
- `subagents --verify <subagent-dispatch-file> --json` 必须校验 scheduler hook plan digest、eligibility digest、task brief digest、workflow digest、methodology gate digest、approval policy digest、capability matrix digest 和 safety boundary。
|
|
1166
|
+
- scheduler plan drift、eligibility drift、`no_session_create=false`、`no_subagent_run=false`、`subagent_dispatch=true`、bad digest 或路径穿越必须失败且不写其他状态。
|
|
1167
|
+
|
|
1168
|
+
## Stage 37 Single-shot Agent Scheduler Run 验收
|
|
1169
|
+
|
|
1170
|
+
- `subagents --run --from-dispatch <subagent-dispatch-file> --confirm --json` 只允许一次性写 `.vibecoding-state/scheduler-runs/*.subagent-scheduler-run.json`、`.vibecoding-state/subagent-run-leases/*.subagent-lease.json` 和 `.vibecoding-state/subagent-run-results/*.subagent-run-result.json`。
|
|
1171
|
+
- Stage 37 必须前台、单次、每次一个 dispatch;不得启动 watcher/daemon、不得创建真实 session、不得调用平台 API、不得调用模型、不得写 git/worktree/业务源码。
|
|
1172
|
+
- `subagents --verify <subagent-scheduler-run-file|subagent-lease-file|subagent-run-result-file> --json` 必须校验 dispatch digest、run digest、lease digest、result digest、policy digest、budget/lease/approval flags 和 safety boundary。
|
|
1173
|
+
- dispatch drift、policy drift、`session_created=true`、`platform_api=true`、`actual_subagent_session=true`、`business_source_write=true`、`watcher=true`、bad digest 或路径穿越必须失败且不写其他状态。
|
|
1174
|
+
|
|
1175
|
+
## 行为验收一:规划
|
|
1176
|
+
|
|
1177
|
+
Prompt:
|
|
1178
|
+
|
|
1179
|
+
```text
|
|
1180
|
+
我想给这个项目加一个新功能,先帮我规划一下。
|
|
1181
|
+
```
|
|
1182
|
+
|
|
1183
|
+
期望:
|
|
1184
|
+
|
|
1185
|
+
- 不直接写代码。
|
|
1186
|
+
- 进入 `vibe-brainstorming` 或 `vibe-planning`。
|
|
1187
|
+
- 输出目标、范围、模块、流向、实施顺序、验收标准。
|
|
1188
|
+
|
|
1189
|
+
## 行为验收二:排查
|
|
1190
|
+
|
|
1191
|
+
Prompt:
|
|
1192
|
+
|
|
1193
|
+
```text
|
|
1194
|
+
这个功能不工作,帮我排查。
|
|
1195
|
+
```
|
|
1196
|
+
|
|
1197
|
+
期望:
|
|
1198
|
+
|
|
1199
|
+
- 不直接乱改。
|
|
1200
|
+
- 先明确现象和复现证据。
|
|
1201
|
+
- 进入 `vibe-systematic-debugging`。
|
|
1202
|
+
- 输出复现、范围、根因、修复和验证方式。
|
|
1203
|
+
|
|
1204
|
+
## 行为验收三:验证
|
|
1205
|
+
|
|
1206
|
+
Prompt:
|
|
1207
|
+
|
|
1208
|
+
```text
|
|
1209
|
+
实现完成了,帮我确认能不能交付。
|
|
1210
|
+
```
|
|
1211
|
+
|
|
1212
|
+
期望:
|
|
1213
|
+
|
|
1214
|
+
- 进入 `vibe-verification-before-completion`。
|
|
1215
|
+
- 明确当前回合验证证据和未验证项。
|
|
1216
|
+
- 明确阻塞、风险和可交付判断。
|
|
1217
|
+
|
|
1218
|
+
## 失败标准
|
|
1219
|
+
|
|
1220
|
+
出现以下情况视为未通过第一阶段验收:
|
|
1221
|
+
|
|
1222
|
+
- agent 在规划任务中直接实现。
|
|
1223
|
+
- agent 在 bug 任务中无证据猜测并大范围修改。
|
|
1224
|
+
- agent 在验证任务中声称运行了未运行的检查。
|
|
1225
|
+
- adapters 指向的 `skills/` 路径不清晰。
|
|
1226
|
+
- skill 没有触发条件或输出结构。
|