@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,539 @@
|
|
|
1
|
+
# Workflow Chaining:第一阶段流程调用与协作规范
|
|
2
|
+
|
|
3
|
+
## 目标
|
|
4
|
+
|
|
5
|
+
第一阶段不做复杂 runtime、MCP 编排器或 agent graph。
|
|
6
|
+
|
|
7
|
+
流程协作采用轻量状态机:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
using-vibecoding 选择入口
|
|
11
|
+
当前 workflow skill 完成当前阶段
|
|
12
|
+
当前 workflow skill 输出 next_skill 和 handoff
|
|
13
|
+
下一个 workflow skill 读取 handoff 后继续
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## 核心原则
|
|
17
|
+
|
|
18
|
+
- 显式声明下一步,不做隐式自动跳转。
|
|
19
|
+
- 每个阶段只完成自己的职责。
|
|
20
|
+
- 阶段之间通过 `Workflow Handoff` 传递状态。
|
|
21
|
+
- 如果缺少必要输入,`next_skill` 必须是 `none`,并说明 `stop_condition`。
|
|
22
|
+
- 第一阶段不保存数据库状态,不依赖 MCP,不调度多 agent。
|
|
23
|
+
|
|
24
|
+
## Skill Route Registry Drift Guard
|
|
25
|
+
|
|
26
|
+
`skill_route_registry_v1` 是 Stage 21 的只读漂移检查 marker。`using-vibecoding` 的轻量 route 表、runtime methodology route map、workflow readiness normalization、安装模板入口和本文档必须保持同一组机器可读字段:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
route_registry_id: skill-route:<intent>
|
|
30
|
+
required_skill: <first workflow skill>
|
|
31
|
+
next_gate: <spec|plan|tdd|debug|review|completion|automation|manual_workflow_judgment>
|
|
32
|
+
stop_condition: <human-readable stop condition>
|
|
33
|
+
handoff_required: true|false
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
该 registry 只用于 drift guard,不替代人类说明,不执行 workflow skill,不写状态,不调用 subagent / MCP / platform API,不触碰 git。
|
|
37
|
+
|
|
38
|
+
## Skill Contract Schema Drift Guard
|
|
39
|
+
|
|
40
|
+
`skill_contract_schema_v1` 是 Stage 22 的只读 skill 合同 schema marker。它把每个 workflow skill 的人类说明、handoff 和 gate marker 映射成 runtime-check 可解析字段,不替代 skill 文档,也不执行任何 workflow skill。
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
entry_conditions: when the skill is allowed or required
|
|
44
|
+
required_inputs: goal, scope, evidence, handoff, or review source needed before continuing
|
|
45
|
+
required_outputs: route, plan, evidence, handoff, blocker, or next manual action expected from the skill
|
|
46
|
+
stop_conditions: conditions that require asking the user or stopping before code/action claims
|
|
47
|
+
handoff_contract: Workflow Handoff fields required for the next stage
|
|
48
|
+
evidence_required_before_claiming_done: true|false|conditional
|
|
49
|
+
forbidden_claims: claims the agent must not make without matching evidence or explicit user gate
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
该 schema 只用于 parser、drift guard 和 release/runtime-check 证据;不写 `.vibecoding-state/`,不调用 subagent / MCP / platform API,不触碰 git,不声明 skill 已执行。
|
|
53
|
+
|
|
54
|
+
## Readiness Gate Split Drift Guard
|
|
55
|
+
|
|
56
|
+
`readiness_gate_split_v1` 是 Stage 24 的只读 readiness gate 拆分 marker。它把“能不能说完成”“能不能本地 commit”“能不能请求 review”“能不能 handoff”“能不能作为 release candidate”拆成独立 gate:`report_done`、`local_commit`、`review_request`、`handoff`、`release_candidate`。
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
readiness_gate_id: <report_done|local_commit|review_request|handoff|release_candidate>
|
|
60
|
+
blocker_code: <MISSING_TEST_EVIDENCE|MISSING_DIFF_COVERAGE|MISSING_REVIEW_EVIDENCE|MISSING_LOCAL_COMMIT_AUTHORIZATION|MISSING_RELEASE_EVIDENCE>
|
|
61
|
+
execution_authorized: false
|
|
62
|
+
git_authorized: false
|
|
63
|
+
platform_authorized: false
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
`readiness --gates --from-file <local-evidence-file> --json` 只读取本地 evidence 并输出各 gate 的 blocker code;`readiness --score` 仍然只表示 observability readiness score。local commit gate 只输出 readiness,不自动 `git add` / `git commit`,也不授权 PR、push、merge 或 release。
|
|
67
|
+
|
|
68
|
+
## 分层采用边界
|
|
69
|
+
|
|
70
|
+
Vibecoding Kit 支持从 `quickstart mode`、`team mode` 到 `full compliance mode` 渐进采用。分层采用只改变用户需要准备的 artifact 数量,不改变 runtime 行为边界:runtime 仍只做只读检查、显式 ledger 和 deterministic evidence 聚合,不自动执行 workflow skill、不运行测试、不读取 git diff、不提交、不调用 subagent / MCP / platform API。
|
|
71
|
+
|
|
72
|
+
- `quickstart mode`:验证安装、入口文件、doctor 和 `workflow --start` 回执。`workflow --start` 只做只读入口判断;当没有 `.vibecoding-state/` 且请求本身是规划/分析/阶段推进时,缺少 goal/scope/acceptance 是“需要先收敛计划”的正常信号,不是 runtime failure。Stage 93 的 `workflow_discipline_summary` 同步声明 `tiny_context`、`full_skill_injection=false`、`skill_execution_claimed=false`、`command_execution_claimed=false`、`subagent_dispatch_claimed=false`、`git_write_claimed=false`,用于证明入口只推荐人工下一步。
|
|
73
|
+
- `team mode`:用 `product-spec.md`、`implementation-plan.md` 和本地 evidence envelope 建立常规团队交付闭环。
|
|
74
|
+
- `full compliance mode`:用完整 product/UI/architecture/delivery/implementation/test/diff/commit readiness artifact 形成发布前证据链。
|
|
75
|
+
|
|
76
|
+
详细采用路径见 `docs/golden-path.md`。
|
|
77
|
+
|
|
78
|
+
## 标准 Handoff 字段
|
|
79
|
+
|
|
80
|
+
每个 workflow skill 输出末尾必须包含:
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
## Workflow Handoff
|
|
84
|
+
|
|
85
|
+
current_skill:
|
|
86
|
+
next_skill:
|
|
87
|
+
reason:
|
|
88
|
+
handoff:
|
|
89
|
+
goal:
|
|
90
|
+
scope:
|
|
91
|
+
key_decisions:
|
|
92
|
+
files:
|
|
93
|
+
risks:
|
|
94
|
+
acceptance:
|
|
95
|
+
stop_condition:
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
字段含义:
|
|
99
|
+
|
|
100
|
+
- `current_skill`:当前完成的 workflow。
|
|
101
|
+
- `next_skill`:建议进入的下一个 workflow;没有下一步时写 `none`。
|
|
102
|
+
- `reason`:为什么进入这个下一步。
|
|
103
|
+
- `handoff.goal`:当前目标。
|
|
104
|
+
- `handoff.scope`:当前范围。
|
|
105
|
+
- `handoff.key_decisions`:已经确定的关键决策。
|
|
106
|
+
- `handoff.files`:相关文件或目录。
|
|
107
|
+
- `handoff.risks`:风险和未验证点。
|
|
108
|
+
- `handoff.acceptance`:验收标准。
|
|
109
|
+
- `stop_condition`:停止条件或等待用户补充的信息。
|
|
110
|
+
|
|
111
|
+
## Runtime Contract、只读检查和显式状态账本
|
|
112
|
+
|
|
113
|
+
产品/UI 到交付收口的完整 evidence chain 现在包含 cross-artifact ref validation:`delivery-traceability.yaml` 中的 refs 必须能在 product/spec/UI/architecture/scenario/product acceptance artifact 中找到。`test-evidence.json` 只作为本地 evidence intake envelope,绑定 `command`、`exit_code`、`timestamp`、`output_digest`、`scenario_refs`;`diff-coverage.json` 只读取用户提供的 `planned_files`、`changed_files`、`unexpected_files`、`missing_files`;`commit-readiness.json` 或 runtime commit readiness envelope 只能作为人工 git 决策输入,保持 `commit_execution_authorized=false` 和 `git_write=false`。Release fast 同时包含 negative fixtures,证明坏 ref、缺 output digest、diff unexpected files 和 commit boundary 扩权会输出 `ok=false`。
|
|
114
|
+
|
|
115
|
+
`docs/runtime-roadmap.md` 和 `docs/runtime-contract.md` 描述未来可选 runtime 层。
|
|
116
|
+
|
|
117
|
+
当前 runtime 相关能力包含:
|
|
118
|
+
|
|
119
|
+
```text
|
|
120
|
+
node tools/vibe-runtime-check/index.mjs
|
|
121
|
+
node tools/vibe-runtime/index.mjs status --json
|
|
122
|
+
node tools/vibe-runtime/index.mjs validate-handoff --from-file handoff.md
|
|
123
|
+
node tools/vibe-runtime/index.mjs validate-handoff --from-file handoff.md --json
|
|
124
|
+
node tools/vibe-runtime/index.mjs record-handoff --from-file handoff.json
|
|
125
|
+
node tools/vibe-runtime/index.mjs record-handoff --from-file handoff.md
|
|
126
|
+
node tools/vibe-runtime/index.mjs next --dry-run
|
|
127
|
+
node tools/vibe-runtime/index.mjs next --dry-run --json
|
|
128
|
+
node tools/vibe-runtime/index.mjs next --dry-run --dispatch-intent
|
|
129
|
+
node tools/vibe-runtime/index.mjs next --dry-run --dispatch-intent --json
|
|
130
|
+
node tools/vibe-runtime/index.mjs next --confirm --dispatch
|
|
131
|
+
node tools/vibe-runtime/index.mjs next --confirm --dispatch --json
|
|
132
|
+
node tools/vibe-runtime/index.mjs dispatches --list
|
|
133
|
+
node tools/vibe-runtime/index.mjs dispatches --list --json
|
|
134
|
+
node tools/vibe-runtime/index.mjs dispatches --show <event-file>
|
|
135
|
+
node tools/vibe-runtime/index.mjs dispatches --verify <event-file>
|
|
136
|
+
node tools/vibe-runtime/index.mjs dispatches --claim <event-file> --actor <id>
|
|
137
|
+
node tools/vibe-runtime/index.mjs dispatches --ack <event-file> --actor <id> --status picked
|
|
138
|
+
node tools/vibe-runtime/index.mjs dispatches --claims
|
|
139
|
+
node tools/vibe-runtime/index.mjs execute --from-dispatch <event-file> --dry-run
|
|
140
|
+
node tools/vibe-runtime/index.mjs execute --from-dispatch <event-file> --confirm --actor <id>
|
|
141
|
+
node tools/vibe-runtime/index.mjs execute --from-dispatch <event-file> --confirm --actor <id> --run
|
|
142
|
+
node tools/vibe-runtime/index.mjs executions --list
|
|
143
|
+
node tools/vibe-runtime/index.mjs executions --show <execution-file>
|
|
144
|
+
node tools/vibe-runtime/index.mjs executions --verify <execution-file>
|
|
145
|
+
node tools/vibe-runtime/index.mjs artifacts --dry-run
|
|
146
|
+
node tools/vibe-runtime/index.mjs artifacts --write
|
|
147
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run
|
|
148
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run --json
|
|
149
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run --task task-1
|
|
150
|
+
node tools/vibe-runtime/index.mjs tasks --dry-run --task task-1 --json
|
|
151
|
+
node tools/vibe-runtime/index.mjs tasks --write
|
|
152
|
+
node tools/vibe-runtime/index.mjs tasks --write --task task-1
|
|
153
|
+
node tools/vibe-runtime/index.mjs methodology --gate --kind product-spec --from-file examples/runtime-fixtures/product-spec.md --json
|
|
154
|
+
node tools/vibe-runtime/index.mjs methodology --gate --kind ui-design --from-file examples/runtime-fixtures/ui-design-contract.md --json
|
|
155
|
+
node tools/vibe-runtime/index.mjs methodology --gate --kind scenario-acceptance --from-file examples/runtime-fixtures/scenario-acceptance.yaml --json
|
|
156
|
+
node tools/vibe-runtime/index.mjs methodology --gate --kind architecture-design --from-file examples/runtime-fixtures/architecture-design.md --json
|
|
157
|
+
node tools/vibe-runtime/index.mjs methodology --gate --kind delivery-traceability --from-file examples/runtime-fixtures/delivery-traceability.yaml --json
|
|
158
|
+
node tools/vibe-runtime/index.mjs methodology --gate --kind implementation-plan --from-file examples/runtime-fixtures/implementation-plan.md --json
|
|
159
|
+
node tools/vibe-runtime/index.mjs completion --evidence-bundle --from-product-discovery examples/runtime-fixtures/product-discovery.md --from-product-spec examples/runtime-fixtures/product-spec.md --from-ui-design examples/runtime-fixtures/ui-design-contract.md --from-architecture examples/runtime-fixtures/architecture-design.md --from-traceability examples/runtime-fixtures/delivery-traceability.yaml --from-plan examples/runtime-fixtures/implementation-plan.md --from-scenarios examples/runtime-fixtures/scenario-acceptance.yaml --from-product-acceptance examples/runtime-fixtures/product-acceptance.md --from-test-evidence examples/runtime-fixtures/test-evidence.json --from-diff-coverage examples/runtime-fixtures/diff-coverage.json --from-commit-readiness examples/runtime-fixtures/commit-readiness.json --from-evidence examples/runtime-fixtures/evidence.json --json
|
|
160
|
+
node tools/vibe-runtime/index.mjs reset --confirm
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
输入格式和 dry-run 建议:
|
|
164
|
+
|
|
165
|
+
- `JSON handoff` 是 Stage 3 推荐格式。
|
|
166
|
+
- `JSON-first` 解析优先读取纯 JSON 文件或 markdown fenced JSON block。
|
|
167
|
+
- `legacy fallback` 保留旧 YAML-like `Workflow Handoff` 兼容。
|
|
168
|
+
- `methodology --gate --kind product-discovery|product-spec|ui-design|product-acceptance|scenario-acceptance --from-file <artifact>` 是产品/UI artifact 只读 gate;它检查 frontmatter、必填 section/field、evidence、handoff、boundary 和 digest,不执行 workflow skill。
|
|
169
|
+
- `methodology --gate --kind architecture-design --from-file <artifact>` 是架构设计 artifact 只读 gate;它检查 architecture decision frame、module ownership、dependency direction、data flow、state lifecycle、contract sync、blast radius、verification strategy、Evidence 和 Boundary。
|
|
170
|
+
- `methodology --gate --kind delivery-traceability --from-file <artifact>` 是交付追踪矩阵只读 gate;它检查需求、产品、UI、架构、任务、测试、场景、验收和 commit-readiness ref 是否形成可追踪 links。
|
|
171
|
+
- `methodology --gate --kind implementation-plan --from-file <artifact>` 是实现计划 task registry 只读 gate;它检查 `Implementation Task Registry` 中的 `task_id`、expected files、allowed paths、expected operations、risk/test contract 和 Boundary。
|
|
172
|
+
- `completion --evidence-bundle --from-product-discovery ... --from-evidence ...` 是产品/UI 完成前 evidence bundle;提供 `--from-architecture`、`--from-traceability`、`--from-plan`、`--from-test-evidence`、`--from-diff-coverage` 和 `--from-commit-readiness` 时,会聚合完整交付链路,并验证 `implementation_alignment_gate`,但仍不运行测试、浏览器或 git。
|
|
173
|
+
- `record-handoff` 成功后输出 `Handoff quality:`,提示空范围、风险、验收、相关文件、证据和停止条件语义;提示不拒绝写入、不改变 ledger 结构、不执行下一步。
|
|
174
|
+
- `next --dry-run` 输出 `idle` / `ready` / `blocked` / `stopped` 文本建议,并可展示任务状态和 review 状态摘要。
|
|
175
|
+
- `next --dry-run --dispatch-intent` 只读输出 adapter-ready dispatch intent 预览;`--json` 版本包含 `runtimeBridge`、`platform_hints`、transition / stop_condition / review / task readiness gate 和 `dispatch_event=false` safety 标记。
|
|
176
|
+
- `next --confirm --dispatch` 是显式 confirm-dispatch gate;成功只写 `.vibecoding-state/dispatches/<timestamp>.json`,不自动执行 skill、不调用平台 API、不调用 subagent / MCP / daemon、不触碰 git / worktree。
|
|
177
|
+
- `dispatches --list`、`dispatches --show <event-file>` 和 `dispatches --verify <event-file>` 是 read-only dispatch audit;只读取 dispatch event 并做 confirm-dispatch event verification,不标记 consumed、不执行 skill、不写文件。
|
|
178
|
+
- `dispatches --claim <event-file> --actor <id>` 是 Stage 7 显式 claim gate;通过 event verification 后只写 `.vibecoding-state/dispatch-claims/<event-file>.claim.json`,不修改原始 dispatch event,不执行 skill,不调用平台 API、不调用 subagent / MCP / daemon、不触碰 git / worktree。
|
|
179
|
+
- `dispatches --ack <event-file> --actor <id> --status picked|skipped|failed` 只更新 claim state;ack 必须由同一 actor 执行,重复 active claim、未 claim、actor mismatch、非法 status 或非法 event 都必须失败。Stage 7 不使用 `consumed` 状态;`skipped` / `failed` 必须提供 non-empty reason,ack 前必须通过 claim event digest enforcement。
|
|
180
|
+
- `dispatches --claims` 只列出 claim state 摘要,缺少 claim 目录时返回空列表且不创建目录;摘要包含 stale claim audit、event digest match 和 recovery preview,`reassign_allowed=false` / `retry_allowed=false`。
|
|
181
|
+
- `dispatches --pickup <event-file>` 是 Stage 8 pickup package;只读输出 adapter / human 可复制的 pickup package,不自动 claim、不创建 session、不执行 skill。
|
|
182
|
+
- `dispatches --pickup-verify <event-file>` 独立验证 pickup package,`dispatches --pickup-dry-run <event-file>` 模拟 adapter 会读取的 entry、dispatch、claim 和 digest;Claude 使用 `CLAUDE.md`,Cursor / Codex 使用 `AGENTS.md`,三者均为 manual/no-session/no-API/no-stdin automation。
|
|
183
|
+
- Stage 8 pickup package 输出 readiness、pickup verification、platform capability matrix、no-session adapter dry-run 以及 `event_sha256` / `claim_sha256` / `workflow_sha256` / `handoff_sha256` digest-bound package。
|
|
184
|
+
- `execute --from-dispatch <event-file> --preflight` 只读输出 execution preflight audit,不写 execution envelope。
|
|
185
|
+
- `execute --from-dispatch <event-file> --dry-run` 只预览 execution plan,不写 execution envelope。
|
|
186
|
+
- `execute --from-dispatch <event-file> --confirm --actor <id>` 是 Stage 9 planned execution envelope;只写 `.vibecoding-state/executions/`,不执行 workflow skill。
|
|
187
|
+
- Stage 9.1-9.11 覆盖 dry-run execution plan、confirm planned envelope、claim picked gate、no execution boundary、execution envelope safety、immutability、execution preflight audit、planned envelope verify、stable `idempotency_key`、execution policy snapshot 和 write boundary preview。兼容 marker 仍保留 Stage 9.1 execution preflight gates、Stage 9.2 execution preflight audit / planned execution envelope、Stage 9.3 immutability guarantees 和 Stage 9.5 idempotency / policy snapshot。
|
|
188
|
+
- `daemon --dry-run` 只预览 once-run gate,`daemon --scan --dry-run` 只读输出 scheduler audit,`daemon --once --confirm` 只写 no-op daemon run envelope。
|
|
189
|
+
- Stage 10.3-10.6/10.8/10.11-10.13 覆盖 candidates、blocked items、stale claims、stale running executions、retry preview、`retry_allowed=false`、lock / lease contract、watcher disabled、`scan_noop=true`、`scheduler_policy_dry_run=true` 和 `heartbeat_started=false`;不创建真实 worker、不 pickup、不 execute、不 retry、不改 dispatch/claim/execution。
|
|
190
|
+
- `execute --from-dispatch <event-file> --confirm --actor <id> --run` 是 Stage 11 supervised-run;只执行 allowlist 内本地受监管 runtime action,生成 handoff package / evidence,并写 execution lifecycle record。
|
|
191
|
+
- `executions --list`、`executions --show <execution-file>` 和 `executions --verify <execution-file>` 是 read-only execution audit;只读取 `.vibecoding-state/executions/`,不写状态、不执行 skill。
|
|
192
|
+
- Stage 11 保持 `runtime_action=true`、`skill_execution=false`、`auto_execution=false`;不调用平台 API,不调用 subagent / MCP / daemon,不触碰 git / worktree,不写业务源码,不修改 dispatch event 或 claim state。
|
|
193
|
+
- `artifacts --dry-run` 预览 task brief、review gate 和 evidence skeleton,不写文件。
|
|
194
|
+
- `artifacts --write` 只写 `.vibecoding-state/*.md` 产物,不写业务源码、不执行 `next_skill`。
|
|
195
|
+
- `tasks --dry-run` 预览任务级 brief、report、review gate 和 evidence skeleton,不写文件。
|
|
196
|
+
- `tasks --dry-run --json` 输出 machine-readable task selection,不输出 artifact 正文,不写文件。
|
|
197
|
+
- `tasks --dry-run --task <task-id> --json` 的 `tasks` 列表只包含选中 task,`summary.selected_count=1`;readiness / `blocked_by` 仍按完整 ledger dependency graph 计算。
|
|
198
|
+
- `tasks --write` 只写 `.vibecoding-state/tasks/<task-id>/*.md` 产物,不写业务源码、不执行任务、不调用 subagent;task id 必须通过路径安全校验。
|
|
199
|
+
- 写入类命令遇到 `--json` 必须明确失败,包括 `record-handoff --json`、`artifacts --json`、`tasks --write --json` 和 `reset --json`。
|
|
200
|
+
- 任务级 `review_status` 只用于状态摘要和 review gate artifacts,不触发 review 执行或 workflow 自动推进。
|
|
201
|
+
- `stop_condition` 有实际内容时,建议状态必须是 `blocked`。
|
|
202
|
+
- no automatic next_skill execution:runtime 只记录和建议,不执行下一步。
|
|
203
|
+
|
|
204
|
+
边界:
|
|
205
|
+
|
|
206
|
+
- runtime 是可选层,不替代 workflow skill。
|
|
207
|
+
- `.vibecoding-state/` 只在用户显式运行 `record-handoff` 时创建。
|
|
208
|
+
- `status` 只读,不创建文件;有状态时展示当前 ledger 摘要。
|
|
209
|
+
- `next --dry-run` 只输出建议,不执行 `next_skill`。
|
|
210
|
+
- `artifacts --dry-run` 只预览文件化产物,不写文件;`task-brief.md` 聚焦任务交接,`review-gate.md` 聚焦 review 风险和完成门禁,`evidence.md` 聚焦已有证据和待补验证。
|
|
211
|
+
- `artifacts --write` 只写 `.vibecoding-state/*.md`。
|
|
212
|
+
- `reset --confirm` 只删除 `.vibecoding-state/`。
|
|
213
|
+
- 当前不调用 subagent。
|
|
214
|
+
- 当前不创建 worktree、不执行 git 写入、不安装依赖。
|
|
215
|
+
- 当前不引入 MCP、agent graph、daemon 或后台 worker。
|
|
216
|
+
|
|
217
|
+
## Hook 辅助自动化
|
|
218
|
+
|
|
219
|
+
Hook 辅助自动化只把显式流程规则变成提示,不改变流程边界。
|
|
220
|
+
|
|
221
|
+
可使用的提示模板:
|
|
222
|
+
|
|
223
|
+
```text
|
|
224
|
+
hooks/session-start/session-start.md
|
|
225
|
+
hooks/workflow-handoff/workflow-handoff.md
|
|
226
|
+
hooks/post-tool-compact/README.md
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
作用范围:
|
|
230
|
+
|
|
231
|
+
- `session-start`:提醒先选择 workflow,并识别目标、范围、风险、验收和 `next_skill`。
|
|
232
|
+
- `workflow-handoff`:提醒阶段结束后检查 `Workflow Handoff`。
|
|
233
|
+
- `post-tool-compact`:提醒长输出需要显式压缩或交接。
|
|
234
|
+
|
|
235
|
+
边界:
|
|
236
|
+
|
|
237
|
+
- hook 只提醒,不自动执行下一个 skill。
|
|
238
|
+
- hook 不调用工具。
|
|
239
|
+
- hook 不维护 runtime 状态机。
|
|
240
|
+
- `next_skill` 仍是显式建议,不是自动跳转。
|
|
241
|
+
|
|
242
|
+
## 流程图
|
|
243
|
+
|
|
244
|
+
### 新功能 / 产品功能 / 重构
|
|
245
|
+
|
|
246
|
+
```text
|
|
247
|
+
using-vibecoding
|
|
248
|
+
-> vibe-brainstorming
|
|
249
|
+
-> vibe-product-discovery # 需要产品问题、用户、场景或指标发现时
|
|
250
|
+
-> vibe-product-spec # 需要 PRD / capability spec 时
|
|
251
|
+
-> vibe-ui-design # 涉及界面、交互、UI 状态或可访问性时
|
|
252
|
+
-> vibe-planning
|
|
253
|
+
-> vibe-writing-plans
|
|
254
|
+
-> vibe-test-driven-development
|
|
255
|
+
-> vibe-executing-plans
|
|
256
|
+
-> vibe-product-acceptance # 存在产品规格或 UI contract 时
|
|
257
|
+
-> vibe-verification-before-completion
|
|
258
|
+
-> vibe-finishing-a-development-branch
|
|
259
|
+
-> none
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### 计划并行边界判断
|
|
263
|
+
|
|
264
|
+
```text
|
|
265
|
+
using-vibecoding
|
|
266
|
+
-> vibe-writing-plans
|
|
267
|
+
-> vibe-dispatching-parallel-work
|
|
268
|
+
-> vibe-test-driven-development | vibe-subagent-driven-development | vibe-workspace-isolation | vibe-writing-plans | vibe-planning | none
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
### Subagent 执行 gate
|
|
272
|
+
|
|
273
|
+
```text
|
|
274
|
+
using-vibecoding
|
|
275
|
+
-> vibe-subagent-driven-development
|
|
276
|
+
-> vibe-verification-before-completion | vibe-dispatching-parallel-work | vibe-writing-plans | vibe-workspace-isolation | vibe-test-driven-development | vibe-executing-plans | none
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
### 工作区隔离边界判断
|
|
280
|
+
|
|
281
|
+
```text
|
|
282
|
+
using-vibecoding
|
|
283
|
+
-> vibe-workspace-isolation
|
|
284
|
+
-> vibe-writing-plans | vibe-subagent-driven-development | vibe-test-driven-development | vibe-finishing-a-development-branch | none
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### 明确小任务
|
|
288
|
+
|
|
289
|
+
```text
|
|
290
|
+
using-vibecoding
|
|
291
|
+
-> vibe-test-driven-development
|
|
292
|
+
-> vibe-implementation
|
|
293
|
+
-> vibe-verification-before-completion
|
|
294
|
+
-> none
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Bug / 失败 / 异常行为
|
|
298
|
+
|
|
299
|
+
```text
|
|
300
|
+
using-vibecoding
|
|
301
|
+
-> vibe-systematic-debugging
|
|
302
|
+
-> vibe-test-driven-development
|
|
303
|
+
-> vibe-implementation
|
|
304
|
+
-> vibe-verification-before-completion
|
|
305
|
+
-> none
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Review
|
|
309
|
+
|
|
310
|
+
```text
|
|
311
|
+
using-vibecoding
|
|
312
|
+
-> vibe-requesting-code-review
|
|
313
|
+
-> vibe-review
|
|
314
|
+
-> vibe-receiving-code-review | vibe-verification-before-completion | none
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### Skill 编写
|
|
318
|
+
|
|
319
|
+
```text
|
|
320
|
+
using-vibecoding
|
|
321
|
+
-> vibe-writing-skills
|
|
322
|
+
-> vibe-writing-plans | vibe-test-driven-development | vibe-planning | none
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
### 上下文压缩
|
|
326
|
+
|
|
327
|
+
```text
|
|
328
|
+
using-vibecoding
|
|
329
|
+
-> vibe-context-compact
|
|
330
|
+
-> none
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
## 各 Skill 下一跳规则
|
|
334
|
+
|
|
335
|
+
### `vibe-product-discovery`
|
|
336
|
+
|
|
337
|
+
- 产品问题、目标用户、场景和指标明确:`next_skill: vibe-product-spec`。
|
|
338
|
+
- 只是明确小工程任务:`next_skill: vibe-planning`。
|
|
339
|
+
- 问题或价值假设仍不清:`next_skill: none`。
|
|
340
|
+
- 原始目标需要重新定义:`next_skill: vibe-brainstorming`。
|
|
341
|
+
|
|
342
|
+
### `vibe-product-spec`
|
|
343
|
+
|
|
344
|
+
- 有界面、交互、文案或体验影响:`next_skill: vibe-ui-design`。
|
|
345
|
+
- 无 UI 影响且规格清楚:`next_skill: vibe-planning`。
|
|
346
|
+
- 产品问题或切片不清:`next_skill: vibe-product-discovery`。
|
|
347
|
+
- 缺少关键决策:`next_skill: none`。
|
|
348
|
+
|
|
349
|
+
### `vibe-ui-design`
|
|
350
|
+
|
|
351
|
+
- UI contract 明确:`next_skill: vibe-planning`。
|
|
352
|
+
- 产品规格不清:`next_skill: vibe-product-spec`。
|
|
353
|
+
- 不存在 UI 影响:`next_skill: vibe-planning`。
|
|
354
|
+
- 缺少关键视觉或交互决策:`next_skill: none`。
|
|
355
|
+
|
|
356
|
+
### `vibe-product-acceptance`
|
|
357
|
+
|
|
358
|
+
- 产品体验验收通过:`next_skill: vibe-verification-before-completion`。
|
|
359
|
+
- 工程实现缺口明确:`next_skill: vibe-implementation`。
|
|
360
|
+
- 架构或任务边界需要调整:`next_skill: vibe-planning`。
|
|
361
|
+
- 产品规格需要调整:`next_skill: vibe-product-spec`。
|
|
362
|
+
- 缺少验收证据且无法补齐:`next_skill: none`。
|
|
363
|
+
|
|
364
|
+
### `vibe-brainstorming`
|
|
365
|
+
|
|
366
|
+
- 方向、约束和方案已确认:`next_skill: vibe-planning`
|
|
367
|
+
- 发现只是明确小任务:`next_skill: vibe-implementation`
|
|
368
|
+
- 需求仍不清或等待用户决策:`next_skill: none`
|
|
369
|
+
|
|
370
|
+
`vibe-runtime` 只把这些 `next_skill` 建议转成可审计状态:Stage 6 写 dispatch event,Stage 7 写 claim / ack,Stage 8 输出 pickup package,Stage 9 `execute --from-dispatch` 只在人工确认后写 execution envelope,Stage 10 `daemon --once --confirm` 只写 daemon run envelope。它不隐式自动跳转、不执行目标 skill、不调用平台 API、不调度多 agent、不依赖 MCP、不启动 watcher / long-running worker、不触碰 git / worktree。
|
|
371
|
+
|
|
372
|
+
### `vibe-planning`
|
|
373
|
+
|
|
374
|
+
- 计划明确但还需要拆成可执行任务:`next_skill: vibe-writing-plans`
|
|
375
|
+
- 小任务范围明确且可直接落地:`next_skill: vibe-implementation`
|
|
376
|
+
- 需求不清:`next_skill: none`
|
|
377
|
+
- 发现目标本身需要重新澄清:`next_skill: none`
|
|
378
|
+
|
|
379
|
+
### `vibe-writing-plans`
|
|
380
|
+
|
|
381
|
+
- 计划完整且可执行,并且没有工作区隔离或并行边界判断需求:`next_skill: vibe-test-driven-development`
|
|
382
|
+
- 任务存在大范围改动、风险性重构或当前工作区污染风险,需要先判断是否隔离:`next_skill: vibe-workspace-isolation`
|
|
383
|
+
- 任务存在独立并行候选,需要先判断冲突边界和任务 brief:`next_skill: vibe-dispatching-parallel-work`
|
|
384
|
+
- 需求或范围不清:`next_skill: vibe-planning`
|
|
385
|
+
- 缺少关键输入:`next_skill: none`
|
|
386
|
+
|
|
387
|
+
### `vibe-dispatching-parallel-work`
|
|
388
|
+
|
|
389
|
+
- 任务独立、brief 完整,但执行前需要判断是否隔离当前工作区:`next_skill: vibe-workspace-isolation`
|
|
390
|
+
- 任务独立、brief 完整、用户明确允许 subagent,且工作区边界清楚:`next_skill: vibe-subagent-driven-development`
|
|
391
|
+
- 任务独立、brief 完整、用户允许后续并行执行,且工作区边界清楚但不使用 subagent:`next_skill: vibe-test-driven-development`
|
|
392
|
+
- 任务不独立或冲突风险高,但可顺序执行:`next_skill: vibe-test-driven-development`
|
|
393
|
+
- 任务边界、依赖或验收不清:`next_skill: vibe-writing-plans`
|
|
394
|
+
- 需求范围需要重新澄清:`next_skill: vibe-planning`
|
|
395
|
+
- 缺少关键输入或用户未允许并行策略且后续必须并行才有意义:`next_skill: none`
|
|
396
|
+
|
|
397
|
+
### `vibe-workspace-isolation`
|
|
398
|
+
|
|
399
|
+
- 当前任务可原地工作且还需拆解:`next_skill: vibe-writing-plans`
|
|
400
|
+
- 当前任务可原地工作、任务 brief 已完整且用户明确允许 subagent:`next_skill: vibe-subagent-driven-development`
|
|
401
|
+
- 当前任务可原地工作且验证策略可直接定义:`next_skill: vibe-test-driven-development`
|
|
402
|
+
- 当前已经在可接受隔离环境且任务还需拆解:`next_skill: vibe-writing-plans`
|
|
403
|
+
- 当前已经在可接受隔离环境、任务 brief 已完整且用户明确允许 subagent:`next_skill: vibe-subagent-driven-development`
|
|
404
|
+
- 当前已经在可接受隔离环境且验证策略可直接定义:`next_skill: vibe-test-driven-development`
|
|
405
|
+
- 当前工作区有未收口变更:`next_skill: vibe-finishing-a-development-branch`
|
|
406
|
+
- 建议创建隔离工作区但需要用户确认:`next_skill: none`
|
|
407
|
+
- 隔离判断所需信息不足:`next_skill: none`
|
|
408
|
+
|
|
409
|
+
### `vibe-test-driven-development`
|
|
410
|
+
|
|
411
|
+
- 验证策略明确且来自计划执行:`next_skill: vibe-executing-plans`
|
|
412
|
+
- 验证策略明确且是明确小任务:`next_skill: vibe-implementation`
|
|
413
|
+
- 验收或行为不清:`next_skill: vibe-planning`
|
|
414
|
+
- 无法定义可靠验证且阻塞:`next_skill: none`
|
|
415
|
+
|
|
416
|
+
### `vibe-executing-plans`
|
|
417
|
+
|
|
418
|
+
- 所有任务完成:`next_skill: vibe-verification-before-completion`
|
|
419
|
+
- 执行中发现验证失败且原因不明:`next_skill: vibe-systematic-debugging`
|
|
420
|
+
- 计划缺陷阻塞执行:`next_skill: vibe-writing-plans`
|
|
421
|
+
- 范围变化:`next_skill: vibe-planning`
|
|
422
|
+
- 缺少用户确认:`next_skill: none`
|
|
423
|
+
- 用户改为明确允许 subagent 且任务 brief 已完整:`next_skill: vibe-subagent-driven-development`
|
|
424
|
+
|
|
425
|
+
### `vibe-subagent-driven-development`
|
|
426
|
+
|
|
427
|
+
- brief 完整、用户允许、工作区边界清楚,且后续执行和 review gate 已完成:`next_skill: vibe-verification-before-completion`
|
|
428
|
+
- brief 不完整或任务边界不清:`next_skill: vibe-dispatching-parallel-work` 或 `next_skill: vibe-writing-plans`
|
|
429
|
+
- 工作区边界未确认:`next_skill: vibe-workspace-isolation`
|
|
430
|
+
- 用户不允许 subagent、平台不支持或任务强耦合但可顺序执行:`next_skill: vibe-test-driven-development` 或 `next_skill: vibe-executing-plans`
|
|
431
|
+
- review feedback 需要处理:`next_skill: vibe-receiving-code-review`
|
|
432
|
+
- 验证失败且原因不明:`next_skill: vibe-systematic-debugging`
|
|
433
|
+
- 缺少关键输入或必须等待用户确认:`next_skill: none`
|
|
434
|
+
|
|
435
|
+
### `vibe-debugging`
|
|
436
|
+
|
|
437
|
+
- 根因明确且需要修改:`next_skill: vibe-implementation`
|
|
438
|
+
- 无法复现、证据不足或需要用户补充环境:`next_skill: none`
|
|
439
|
+
- 问题实际来自需求或边界不清:`next_skill: vibe-planning`
|
|
440
|
+
|
|
441
|
+
### `vibe-systematic-debugging`
|
|
442
|
+
|
|
443
|
+
- 根因明确且修复范围清楚:`next_skill: vibe-test-driven-development`
|
|
444
|
+
- 根因明确且已有计划任务:`next_skill: vibe-test-driven-development`
|
|
445
|
+
- 无法复现或证据不足:`next_skill: none`
|
|
446
|
+
- 发现需求或验收不清:`next_skill: vibe-planning`
|
|
447
|
+
|
|
448
|
+
### `vibe-implementation`
|
|
449
|
+
|
|
450
|
+
- 实现完成:`next_skill: vibe-verification-before-completion`
|
|
451
|
+
- 实现中发现范围变化:`next_skill: vibe-planning`
|
|
452
|
+
- 发现新异常:`next_skill: vibe-systematic-debugging`
|
|
453
|
+
|
|
454
|
+
### `vibe-writing-skills`
|
|
455
|
+
|
|
456
|
+
- skill 设计明确且需要拆成实施任务:`next_skill: vibe-writing-plans`
|
|
457
|
+
- 只是小改已有 skill 且范围明确:`next_skill: vibe-test-driven-development`
|
|
458
|
+
- skill 边界、触发场景或验收不清:`next_skill: vibe-planning`
|
|
459
|
+
- 缺少关键输入:`next_skill: none`
|
|
460
|
+
|
|
461
|
+
### `vibe-requesting-code-review`
|
|
462
|
+
|
|
463
|
+
- review 输入完整:`next_skill: vibe-review`
|
|
464
|
+
- 缺少完成前验证证据:`next_skill: vibe-verification-before-completion`
|
|
465
|
+
- review 范围或验收依据不清:`next_skill: vibe-planning`
|
|
466
|
+
- 缺少关键输入:`next_skill: none`
|
|
467
|
+
|
|
468
|
+
### `vibe-review`
|
|
469
|
+
|
|
470
|
+
- 有阻塞或高风险 feedback 需要处理:`next_skill: vibe-receiving-code-review`
|
|
471
|
+
- 有阻塞问题且修复路径明确:`next_skill: vibe-test-driven-development`
|
|
472
|
+
- 仅需验证:`next_skill: vibe-verification-before-completion`
|
|
473
|
+
- 无需继续:`next_skill: none`
|
|
474
|
+
|
|
475
|
+
### `vibe-receiving-code-review`
|
|
476
|
+
|
|
477
|
+
- feedback 明确且需要修复:`next_skill: vibe-test-driven-development`
|
|
478
|
+
- feedback 需要先复现或定位根因:`next_skill: vibe-systematic-debugging`
|
|
479
|
+
- feedback 涉及需求、范围或架构冲突:`next_skill: vibe-planning`
|
|
480
|
+
- feedback 无需处理或已给出技术性拒绝理由:`next_skill: vibe-verification-before-completion`
|
|
481
|
+
- feedback 不清楚或缺少关键上下文:`next_skill: none`
|
|
482
|
+
|
|
483
|
+
### `vibe-verification`
|
|
484
|
+
|
|
485
|
+
- 阶段性验证通过但尚未做完成前证据确认:`next_skill: vibe-verification-before-completion`
|
|
486
|
+
- 已经完成交付前证据确认:`next_skill: none`
|
|
487
|
+
- 验证失败且原因不明:`next_skill: vibe-systematic-debugging`
|
|
488
|
+
- 验证失败但修复明确:`next_skill: vibe-implementation`
|
|
489
|
+
|
|
490
|
+
### `vibe-verification-before-completion`
|
|
491
|
+
|
|
492
|
+
- 证据充分且无阻塞:`next_skill: vibe-finishing-a-development-branch`
|
|
493
|
+
- 证据不足但可以补验证:`next_skill: vibe-verification`
|
|
494
|
+
- 验证失败且原因不明:`next_skill: vibe-systematic-debugging`
|
|
495
|
+
- 验证失败且修复明确:`next_skill: vibe-implementation`
|
|
496
|
+
- 验收标准不清:`next_skill: vibe-planning`
|
|
497
|
+
|
|
498
|
+
### `vibe-finishing-a-development-branch`
|
|
499
|
+
|
|
500
|
+
- 验证不足:`next_skill: vibe-verification-before-completion`
|
|
501
|
+
- 发现明确修复缺口:`next_skill: vibe-implementation`
|
|
502
|
+
- 用户选择继续提交或 PR:`next_skill: none`
|
|
503
|
+
- 用户选择保留或停止:`next_skill: none`
|
|
504
|
+
|
|
505
|
+
### `vibe-context-compact`
|
|
506
|
+
|
|
507
|
+
- 默认:`next_skill: none`
|
|
508
|
+
- 用户明确要求继续:按 handoff 中的 `下一步` 选择对应 skill。
|
|
509
|
+
|
|
510
|
+
## 输出约束
|
|
511
|
+
|
|
512
|
+
- 不要把 `Workflow Handoff` 写成可选项。
|
|
513
|
+
- 不要省略 `next_skill`。
|
|
514
|
+
- 不要在 stop_condition 未满足时继续执行。
|
|
515
|
+
- 不要把“建议”伪装成已经完成的下一阶段。
|
|
516
|
+
|
|
517
|
+
## 示例
|
|
518
|
+
|
|
519
|
+
```text
|
|
520
|
+
## Workflow Handoff
|
|
521
|
+
|
|
522
|
+
current_skill: vibe-planning
|
|
523
|
+
next_skill: vibe-implementation
|
|
524
|
+
reason: 目标、范围、模块和验收标准已经明确,可以进入实现。
|
|
525
|
+
handoff:
|
|
526
|
+
goal: 增加 Cursor adapter 的安装说明。
|
|
527
|
+
scope: 只修改 docs 和 adapters/cursor。
|
|
528
|
+
key_decisions:
|
|
529
|
+
- 第一阶段不实现复杂 hook runtime。
|
|
530
|
+
files:
|
|
531
|
+
- docs/install-cursor.md
|
|
532
|
+
- adapters/cursor/install.md
|
|
533
|
+
risks:
|
|
534
|
+
- 未在真实 Cursor 插件环境中验证。
|
|
535
|
+
acceptance:
|
|
536
|
+
- 文档说明安装路径。
|
|
537
|
+
- 验收 prompt 能触发 verification 流程。
|
|
538
|
+
stop_condition: none
|
|
539
|
+
```
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# CI Evidence Examples
|
|
2
|
+
|
|
3
|
+
These scripts are CI/user-side evidence producers. They do not belong to runtime core and do not make evidence trusted by themselves.
|
|
4
|
+
|
|
5
|
+
## Evidence Supply Chain v2
|
|
6
|
+
|
|
7
|
+
P57 treats this folder as a producer example in the wider local evidence chain:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
ci-evidence-input.example.json
|
|
11
|
+
-> generate-test-evidence.mjs / generate-diff-coverage.mjs
|
|
12
|
+
-> local evidence JSON
|
|
13
|
+
-> read-only completion evidence bundle
|
|
14
|
+
-> human readiness decision
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The scripts only transform CI/user-provided facts into local JSON. They do not read real git diff, do not run tests, do not call CI APIs, and do not convert `ok=false` into a system failure.
|
|
18
|
+
|
|
19
|
+
`github-actions-readiness.yml` is an example recipe only. It lives under `examples/ci/`, not `.github/workflows/`, so this repository does not auto-enable it.
|
|
20
|
+
|
|
21
|
+
## Generate team-mode evidence
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
node examples/ci/generate-test-evidence.mjs --from-file examples/ci/ci-evidence-input.example.json --out .tmp/ci-evidence/test-evidence.json
|
|
25
|
+
node examples/ci/generate-diff-coverage.mjs --from-file examples/ci/ci-evidence-input.example.json --out .tmp/ci-evidence/diff-coverage.json
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Then run the read-only completion bundle gate:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
node tools/vibe-runtime/index.mjs completion --evidence-bundle --from-product-spec examples/golden-path/product-spec.md --from-plan examples/golden-path/implementation-plan.md --from-test-evidence .tmp/ci-evidence/test-evidence.json --from-diff-coverage .tmp/ci-evidence/diff-coverage.json --json
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Starter kit data contract
|
|
35
|
+
|
|
36
|
+
The starter kit has one narrow data flow:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
project test/diff facts -> ci-evidence-input.json -> generated evidence JSON -> read-only completion bundle
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Replace the example input with project-owned values before using it in a real CI job:
|
|
43
|
+
|
|
44
|
+
- test command, exit code, timestamp and output digest.
|
|
45
|
+
- planned files, changed files and per-file digest.
|
|
46
|
+
- implementation task refs and scenario refs.
|
|
47
|
+
- boundary assertions showing runtime did not execute tests, read git diff or write git.
|
|
48
|
+
|
|
49
|
+
## GitHub Actions recipe
|
|
50
|
+
|
|
51
|
+
`examples/ci/github-actions-readiness.yml` shows the intended CI data flow:
|
|
52
|
+
|
|
53
|
+
1. CI runs the real project test command.
|
|
54
|
+
2. CI captures exit code, timestamp, output digest and changed-file metadata.
|
|
55
|
+
3. CI calls `generate-test-evidence.mjs` and `generate-diff-coverage.mjs` to write local JSON evidence.
|
|
56
|
+
4. CI calls `completion --evidence-bundle` for read-only validation.
|
|
57
|
+
5. CI uploads JSON artifacts using CI-owned artifact storage.
|
|
58
|
+
|
|
59
|
+
Copy the file into `.github/workflows/readiness.yml` in a business project only when you explicitly want to enable it. Keep task refs, scenario refs, planned files and changed files project-specific.
|
|
60
|
+
|
|
61
|
+
Boundary: the scripts generate local JSON evidence from CI/user-provided input. `vibe-runtime` still does not run tests, read git diff, call CI APIs, commit, push, create PRs, call subagents, or call MCP.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"test": {
|
|
3
|
+
"id": "test-golden-path-demo",
|
|
4
|
+
"evidence_ref": "test-golden-path-demo",
|
|
5
|
+
"command": "npm run demo:golden-path",
|
|
6
|
+
"exit_code": 0,
|
|
7
|
+
"timestamp": "2026-03-14T00:00:00.000Z",
|
|
8
|
+
"output_text": "Result: passed",
|
|
9
|
+
"task_refs": ["task-golden-path-demo"],
|
|
10
|
+
"scenario_refs": ["scenario-golden-path-demo"]
|
|
11
|
+
},
|
|
12
|
+
"diff": {
|
|
13
|
+
"evidence_ref": "diff-golden-path-demo",
|
|
14
|
+
"planned_files": [
|
|
15
|
+
"examples/golden-path/README.md",
|
|
16
|
+
"examples/golden-path/product-spec.md",
|
|
17
|
+
"examples/golden-path/implementation-plan.md",
|
|
18
|
+
"examples/golden-path/test-evidence.json",
|
|
19
|
+
"examples/golden-path/diff-coverage.json"
|
|
20
|
+
],
|
|
21
|
+
"changed_files": [
|
|
22
|
+
{
|
|
23
|
+
"path": "examples/golden-path/README.md",
|
|
24
|
+
"operation": "docs",
|
|
25
|
+
"task_ref": "task-golden-path-demo",
|
|
26
|
+
"digest_source": "golden-path readme fixture"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"path": "examples/golden-path/product-spec.md",
|
|
30
|
+
"operation": "docs",
|
|
31
|
+
"task_ref": "task-golden-path-demo",
|
|
32
|
+
"digest_source": "golden-path product spec fixture"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"path": "examples/golden-path/implementation-plan.md",
|
|
36
|
+
"operation": "docs",
|
|
37
|
+
"task_ref": "task-golden-path-demo",
|
|
38
|
+
"digest_source": "golden-path implementation plan fixture"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"path": "examples/golden-path/test-evidence.json",
|
|
42
|
+
"operation": "add",
|
|
43
|
+
"task_ref": "task-golden-path-demo",
|
|
44
|
+
"digest_source": "golden-path test evidence fixture"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"path": "examples/golden-path/diff-coverage.json",
|
|
48
|
+
"operation": "add",
|
|
49
|
+
"task_ref": "task-golden-path-demo",
|
|
50
|
+
"digest_source": "golden-path diff coverage fixture"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"unexpected_files": [],
|
|
54
|
+
"missing_files": []
|
|
55
|
+
}
|
|
56
|
+
}
|