@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,327 @@
|
|
|
1
|
+
import crypto from 'node:crypto';
|
|
2
|
+
|
|
3
|
+
const promptsStage = 'Stage 143';
|
|
4
|
+
const promptsKind = 'next-action-evidence-prompts';
|
|
5
|
+
const consoleStage = 'Stage 127';
|
|
6
|
+
const dashboardStage = 'Stage 132';
|
|
7
|
+
const upgradesStage = 'Stage 139';
|
|
8
|
+
|
|
9
|
+
export function runtimeNextActionEvidencePrompts({ console: consoleInput = {}, dashboard = {}, upgrades = {}, source = {} } = {}) {
|
|
10
|
+
const panel = unwrapConsole(consoleInput);
|
|
11
|
+
const board = unwrapDashboard(dashboard);
|
|
12
|
+
const prioritizer = unwrapUpgrades(upgrades);
|
|
13
|
+
const selectedAction = selectedNextAction(panel, board, prioritizer);
|
|
14
|
+
const promptCards = evidencePromptCards(panel, board, prioritizer, selectedAction);
|
|
15
|
+
const core = {
|
|
16
|
+
version: 1,
|
|
17
|
+
stage: promptsStage,
|
|
18
|
+
prompts_kind: promptsKind,
|
|
19
|
+
source_bindings: sourceBindingSummary(source, panel, board, prioritizer),
|
|
20
|
+
input_summary: inputSummary(panel, board, prioritizer, selectedAction, promptCards),
|
|
21
|
+
selected_next_action: selectedAction,
|
|
22
|
+
evidence_prompt_cards: promptCards,
|
|
23
|
+
copy_ready_validation_notes: copyReadyValidationNotes(promptCards, selectedAction),
|
|
24
|
+
blocked_until: blockedUntil(promptCards, board, prioritizer),
|
|
25
|
+
boundary_assertions: runtimeNextActionEvidencePromptsBoundaryAssertions(),
|
|
26
|
+
writes: false,
|
|
27
|
+
state_directory_created: false,
|
|
28
|
+
local_only: true,
|
|
29
|
+
deterministic: true,
|
|
30
|
+
};
|
|
31
|
+
const invariants = runtimeNextActionEvidencePromptsInvariants(core);
|
|
32
|
+
const prompts = {
|
|
33
|
+
...core,
|
|
34
|
+
ok: invariants.pass,
|
|
35
|
+
prompts_invariants: invariants,
|
|
36
|
+
};
|
|
37
|
+
return {
|
|
38
|
+
...prompts,
|
|
39
|
+
prompts_digest: digestNextActionEvidencePrompts(runtimeNextActionEvidencePromptsDigestPayload(prompts)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function runtimeNextActionEvidencePromptsDigestPayload(prompts) {
|
|
44
|
+
return {
|
|
45
|
+
stage: prompts.stage,
|
|
46
|
+
prompts_kind: prompts.prompts_kind,
|
|
47
|
+
source_bindings: prompts.source_bindings,
|
|
48
|
+
input_summary: prompts.input_summary,
|
|
49
|
+
selected_next_action: prompts.selected_next_action,
|
|
50
|
+
evidence_prompt_cards: prompts.evidence_prompt_cards,
|
|
51
|
+
copy_ready_validation_notes: prompts.copy_ready_validation_notes,
|
|
52
|
+
blocked_until: prompts.blocked_until,
|
|
53
|
+
boundary_assertions: prompts.boundary_assertions,
|
|
54
|
+
prompts_invariants: prompts.prompts_invariants,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function runtimeNextActionEvidencePromptsBoundaryAssertions() {
|
|
59
|
+
return {
|
|
60
|
+
next_action_evidence_prompts_artifact: false,
|
|
61
|
+
evidence_prompt_artifact: false,
|
|
62
|
+
console_artifact: false,
|
|
63
|
+
dashboard_artifact: false,
|
|
64
|
+
upgrade_artifact: false,
|
|
65
|
+
source_write: false,
|
|
66
|
+
sidecar_write: false,
|
|
67
|
+
state_directory_created: false,
|
|
68
|
+
evidence_write: false,
|
|
69
|
+
validation_note_write: false,
|
|
70
|
+
dashboard_write: false,
|
|
71
|
+
command_execution: false,
|
|
72
|
+
check_execution: false,
|
|
73
|
+
smoke_execution: false,
|
|
74
|
+
test_execution: false,
|
|
75
|
+
verification_execution: false,
|
|
76
|
+
workflow_execution: false,
|
|
77
|
+
skill_execution: false,
|
|
78
|
+
runtime_action: false,
|
|
79
|
+
auto_execution: false,
|
|
80
|
+
repair_execution: false,
|
|
81
|
+
prompt_mutation: false,
|
|
82
|
+
template_mutation: false,
|
|
83
|
+
skill_mutation: false,
|
|
84
|
+
hook_execution: false,
|
|
85
|
+
adapter_execution: false,
|
|
86
|
+
dynamic_tool_execution: false,
|
|
87
|
+
platform_api: false,
|
|
88
|
+
external_network: false,
|
|
89
|
+
model_invocation: false,
|
|
90
|
+
subagent: false,
|
|
91
|
+
mcp: false,
|
|
92
|
+
daemon: false,
|
|
93
|
+
git: false,
|
|
94
|
+
git_write: false,
|
|
95
|
+
git_add: false,
|
|
96
|
+
commit: false,
|
|
97
|
+
pr: false,
|
|
98
|
+
push: false,
|
|
99
|
+
merge: false,
|
|
100
|
+
tag: false,
|
|
101
|
+
worktree: false,
|
|
102
|
+
business_source_write: false,
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function runtimeNextActionEvidencePromptsInvariants(prompts) {
|
|
107
|
+
const unsafeBoundaries = Object.entries(prompts.boundary_assertions || {})
|
|
108
|
+
.filter(([, value]) => value !== false)
|
|
109
|
+
.map(([key]) => key);
|
|
110
|
+
const missingForbidden = Object.keys(runtimeNextActionEvidencePromptsBoundaryAssertions())
|
|
111
|
+
.filter((key) => prompts.boundary_assertions?.[key] !== false);
|
|
112
|
+
const cards = Array.isArray(prompts.evidence_prompt_cards) ? prompts.evidence_prompt_cards : [];
|
|
113
|
+
const duplicateCards = cards.map((card) => card.id).filter((id, index, values) => values.indexOf(id) !== index);
|
|
114
|
+
const executableNotes = (prompts.copy_ready_validation_notes || [])
|
|
115
|
+
.filter((note) => /(^|\s)(npm\s+test|node\s+.*--confirm|git\s+(commit|push|merge|tag)|gh\s+pr|--run|--once|--auto-run)(\s|$)/i.test(note.note || ''))
|
|
116
|
+
.map((note) => note.id);
|
|
117
|
+
const findings = [
|
|
118
|
+
...(prompts.stage === promptsStage ? [] : [`stage must be ${promptsStage}`]),
|
|
119
|
+
...(prompts.prompts_kind === promptsKind ? [] : [`prompts_kind must be ${promptsKind}`]),
|
|
120
|
+
...(prompts.source_bindings?.console_file ? [] : ['console file binding is required']),
|
|
121
|
+
...(prompts.source_bindings?.console_digest ? [] : ['console digest binding is required']),
|
|
122
|
+
...(prompts.source_bindings?.dashboard_file ? [] : ['dashboard file binding is required']),
|
|
123
|
+
...(prompts.source_bindings?.dashboard_digest ? [] : ['dashboard digest binding is required']),
|
|
124
|
+
...(prompts.source_bindings?.upgrades_file ? [] : ['upgrades file binding is required']),
|
|
125
|
+
...(prompts.source_bindings?.upgrades_digest ? [] : ['upgrades digest binding is required']),
|
|
126
|
+
...(prompts.input_summary?.console_stage === consoleStage ? [] : [`console input must be ${consoleStage} evidence`]),
|
|
127
|
+
...(prompts.input_summary?.dashboard_stage === dashboardStage ? [] : [`dashboard input must be ${dashboardStage} evidence`]),
|
|
128
|
+
...(prompts.input_summary?.upgrades_stage === upgradesStage ? [] : [`upgrades input must be ${upgradesStage} evidence`]),
|
|
129
|
+
...(prompts.selected_next_action?.id ? [] : ['selected_next_action.id is required']),
|
|
130
|
+
...(cards.length >= 3 ? [] : ['evidence_prompt_cards must include at least console, dashboard, and upgrade evidence cards']),
|
|
131
|
+
...(Array.isArray(prompts.copy_ready_validation_notes) && prompts.copy_ready_validation_notes.length > 0 ? [] : ['copy_ready_validation_notes must be non-empty']),
|
|
132
|
+
...(Array.isArray(prompts.blocked_until) && prompts.blocked_until.length > 0 ? [] : ['blocked_until must be non-empty']),
|
|
133
|
+
...duplicateCards.map((id) => `duplicate evidence prompt card: ${id}`),
|
|
134
|
+
...unsafeBoundaries.map((key) => `boundary assertion must remain false: ${key}`),
|
|
135
|
+
...missingForbidden.map((key) => `forbidden boundary missing or not false: ${key}`),
|
|
136
|
+
...executableNotes.map((id) => `copy-ready validation note must remain non-executing: ${id}`),
|
|
137
|
+
];
|
|
138
|
+
return {
|
|
139
|
+
pass: findings.length === 0,
|
|
140
|
+
checked: ['source_bindings', 'stage_127_console', 'stage_132_dashboard', 'stage_139_upgrades', 'selected_next_action', 'evidence_prompt_cards', 'copy_ready_validation_notes', 'blocked_until', 'read_only_boundary_assertions'],
|
|
141
|
+
findings,
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function digestNextActionEvidencePrompts(value) {
|
|
146
|
+
return crypto.createHash('sha256').update(stableStringify(value)).digest('hex');
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function unwrapConsole(input) {
|
|
150
|
+
return objectValue(input.next_action_console || input['console'] || input);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function unwrapDashboard(input) {
|
|
154
|
+
return objectValue(input.experience_regression_dashboard || input.dashboard || input);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function unwrapUpgrades(input) {
|
|
158
|
+
return objectValue(input.experience_upgrade_prioritizer || input.upgrade_prioritizer || input.upgrades || input);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
function sourceBindingSummary(source, panel, board, prioritizer) {
|
|
162
|
+
return {
|
|
163
|
+
console_file: stringValue(source.console_file),
|
|
164
|
+
console_digest: stringValue(source.console_digest),
|
|
165
|
+
dashboard_file: stringValue(source.dashboard_file),
|
|
166
|
+
dashboard_digest: stringValue(source.dashboard_digest),
|
|
167
|
+
upgrades_file: stringValue(source.upgrades_file),
|
|
168
|
+
upgrades_digest: stringValue(source.upgrades_digest),
|
|
169
|
+
console_stage: stringValue(panel.stage),
|
|
170
|
+
dashboard_stage: stringValue(board.stage),
|
|
171
|
+
upgrades_stage: stringValue(prioritizer.stage),
|
|
172
|
+
console_artifact_digest: stringValue(panel.console_digest),
|
|
173
|
+
dashboard_artifact_digest: stringValue(board.dashboard_digest),
|
|
174
|
+
upgrades_artifact_digest: stringValue(prioritizer.upgrade_digest),
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
function inputSummary(panel, board, prioritizer, selectedAction, cards) {
|
|
179
|
+
return {
|
|
180
|
+
console_stage: stringValue(panel.stage),
|
|
181
|
+
console_kind: stringValue(panel.console_kind),
|
|
182
|
+
console_next_action_id: stringValue(panel.recommended_next_action?.id),
|
|
183
|
+
console_target_stage: stringValue(panel.recommended_next_action?.target_stage),
|
|
184
|
+
dashboard_stage: stringValue(board.stage),
|
|
185
|
+
dashboard_kind: stringValue(board.dashboard_kind),
|
|
186
|
+
dashboard_score: numberValue(board.experience_scorecard?.overall_experience_score),
|
|
187
|
+
dashboard_next_bet_id: stringValue(board.next_bet?.id),
|
|
188
|
+
upgrades_stage: stringValue(prioritizer.stage),
|
|
189
|
+
upgrades_kind: stringValue(prioritizer.prioritizer_kind),
|
|
190
|
+
upgrade_next_bet_id: stringValue(prioritizer.next_upgrade_bet?.candidate_id || prioritizer.next_upgrade_bet?.id),
|
|
191
|
+
selected_action_id: selectedAction.id,
|
|
192
|
+
evidence_prompt_count: cards.length,
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function selectedNextAction(panel, board, prioritizer) {
|
|
197
|
+
const consoleAction = objectValue(panel.recommended_next_action);
|
|
198
|
+
const dashboardBet = objectValue(board.next_bet);
|
|
199
|
+
const upgradeBet = objectValue(prioritizer.next_upgrade_bet);
|
|
200
|
+
const recommendedOrder = listValue(prioritizer.recommended_stage_order);
|
|
201
|
+
const upgradeCandidate = stringValue(upgradeBet.candidate_id || upgradeBet.id || recommendedOrder[0]?.candidate_id);
|
|
202
|
+
const selectedId = stringValue(consoleAction.id || dashboardBet.id || upgradeCandidate || 'collect-local-evidence');
|
|
203
|
+
return {
|
|
204
|
+
id: selectedId,
|
|
205
|
+
target_stage: stringValue(consoleAction.target_stage || dashboardBet.target_stage || upgradeBet.target_stage || recommendedOrder[0]?.stage || 'Stage 143'),
|
|
206
|
+
action: stringValue(consoleAction.action || dashboardBet.action || upgradeBet.action || 'Collect the minimum local evidence needed before claiming the next action is complete.'),
|
|
207
|
+
upgrade_candidate: upgradeCandidate || 'unknown',
|
|
208
|
+
why: stringValue(board.next_bet?.why || upgradeBet.why || panel.why_now || 'Evidence prompts make the next step verifiable before execution.'),
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function evidencePromptCards(panel, board, prioritizer, selectedAction) {
|
|
213
|
+
return [
|
|
214
|
+
consoleEvidenceCard(panel, selectedAction),
|
|
215
|
+
dashboardEvidenceCard(board, selectedAction),
|
|
216
|
+
upgradeEvidenceCard(prioritizer, selectedAction),
|
|
217
|
+
...blockerCards(board),
|
|
218
|
+
];
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function consoleEvidenceCard(panel, selectedAction) {
|
|
222
|
+
const needed = listValue(panel.evidence_needed_next);
|
|
223
|
+
return {
|
|
224
|
+
id: 'stage127-console-evidence',
|
|
225
|
+
title: 'Bind the one-screen next-action evidence requirement',
|
|
226
|
+
source_stage: stringValue(panel.stage || consoleStage),
|
|
227
|
+
severity: needed.length > 0 ? 'high' : 'medium',
|
|
228
|
+
prompt: needed.length > 0
|
|
229
|
+
? `Capture local evidence for: ${needed.map((item) => stringValue(item.id || item.reason)).filter(Boolean).join(', ')}.`
|
|
230
|
+
: `Capture the minimum local evidence proving ${selectedAction.id} is ready to continue.`,
|
|
231
|
+
required_fields: ['evidence_kind', 'source_digest', 'observed_result', 'remaining_blockers'],
|
|
232
|
+
acceptance_note: 'A human-readable local evidence JSON exists and references the Stage 127 console digest; this command only describes the requirement.',
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function dashboardEvidenceCard(board, selectedAction) {
|
|
237
|
+
const blockers = listValue(board.regression_blockers);
|
|
238
|
+
return {
|
|
239
|
+
id: 'stage132-dashboard-blockers',
|
|
240
|
+
title: 'Resolve or explicitly carry dashboard regression blockers',
|
|
241
|
+
source_stage: stringValue(board.stage || dashboardStage),
|
|
242
|
+
severity: blockers.some((item) => stringValue(item.severity) === 'high') ? 'high' : 'medium',
|
|
243
|
+
prompt: blockers.length > 0
|
|
244
|
+
? `For ${selectedAction.id}, record whether these blockers are resolved or intentionally carried: ${blockers.map((item) => stringValue(item.id)).filter(Boolean).join(', ')}.`
|
|
245
|
+
: 'Record that Stage 132 has no blocking regression finding for the selected next action.',
|
|
246
|
+
required_fields: ['dashboard_digest', 'blocker_id', 'resolution_status', 'evidence_digest'],
|
|
247
|
+
acceptance_note: 'The next action is not complete until Stage 132 regression blockers are resolved or deliberately carried in local evidence.',
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
function upgradeEvidenceCard(prioritizer, selectedAction) {
|
|
252
|
+
const order = listValue(prioritizer.recommended_stage_order);
|
|
253
|
+
const bet = objectValue(prioritizer.next_upgrade_bet);
|
|
254
|
+
return {
|
|
255
|
+
id: 'stage139-upgrade-priority',
|
|
256
|
+
title: 'Bind the selected next action to the prioritized upgrade bet',
|
|
257
|
+
source_stage: stringValue(prioritizer.stage || upgradesStage),
|
|
258
|
+
severity: selectedAction.upgrade_candidate && selectedAction.upgrade_candidate !== 'unknown' ? 'medium' : 'high',
|
|
259
|
+
prompt: `Show why ${selectedAction.id} matches the Stage 139 priority ${selectedAction.upgrade_candidate || stringValue(order[0]?.candidate_id || bet.candidate_id || 'unknown')}.`,
|
|
260
|
+
required_fields: ['upgrade_digest', 'candidate_id', 'priority_score', 'why_now'],
|
|
261
|
+
acceptance_note: 'The selected next action remains advisory unless it is tied back to a local Stage 139 upgrade candidate.',
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
function blockerCards(board) {
|
|
266
|
+
return listValue(board.regression_blockers)
|
|
267
|
+
.filter((blocker) => stringValue(blocker.severity) === 'high')
|
|
268
|
+
.slice(0, 3)
|
|
269
|
+
.map((blocker) => ({
|
|
270
|
+
id: `blocker-${safeId(blocker.id)}`,
|
|
271
|
+
title: `High-severity blocker: ${stringValue(blocker.id)}`,
|
|
272
|
+
source_stage: stringValue(board.stage || dashboardStage),
|
|
273
|
+
severity: 'high',
|
|
274
|
+
prompt: stringValue(blocker.recommendation || blocker.reason || 'Record the local evidence that resolves or carries this blocker.'),
|
|
275
|
+
required_fields: ['blocker_id', 'local_resolution_evidence', 'remaining_risk'],
|
|
276
|
+
acceptance_note: 'Do not claim completion while this blocker is unaddressed.',
|
|
277
|
+
}));
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
function copyReadyValidationNotes(cards, selectedAction) {
|
|
281
|
+
return cards.slice(0, 5).map((card) => ({
|
|
282
|
+
id: `note-${card.id}`,
|
|
283
|
+
note: `Before completing ${selectedAction.id}, collect local JSON evidence with fields: ${card.required_fields.join(', ')}. This is a note only; no command is executed.`,
|
|
284
|
+
}));
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
function blockedUntil(cards, board, prioritizer) {
|
|
288
|
+
const highCards = cards.filter((card) => card.severity === 'high');
|
|
289
|
+
const reasons = highCards.length > 0 ? highCards : cards.slice(0, 2);
|
|
290
|
+
return reasons.map((card) => ({
|
|
291
|
+
id: card.id,
|
|
292
|
+
condition: card.acceptance_note,
|
|
293
|
+
source: card.source_stage,
|
|
294
|
+
})).concat([
|
|
295
|
+
{
|
|
296
|
+
id: 'no-execution-boundary',
|
|
297
|
+
condition: 'No check/test/workflow/git/subagent action is authorized by this prompt pack; execution remains a separate human-controlled step.',
|
|
298
|
+
source: `${stringValue(board.stage || dashboardStage)} + ${stringValue(prioritizer.stage || upgradesStage)}`,
|
|
299
|
+
},
|
|
300
|
+
]);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
function objectValue(value) {
|
|
304
|
+
return value && typeof value === 'object' && !Array.isArray(value) ? value : {};
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
function listValue(value) {
|
|
308
|
+
return Array.isArray(value) ? value : [];
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
function stringValue(value) {
|
|
312
|
+
return typeof value === 'string' ? value : value == null ? '' : String(value);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
function numberValue(value) {
|
|
316
|
+
return Number.isFinite(value) ? value : 0;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
function safeId(value) {
|
|
320
|
+
return stringValue(value).toLowerCase().replace(/[^a-z0-9._-]+/g, '-').replace(/^-+|-+$/g, '') || 'unknown';
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
function stableStringify(value) {
|
|
324
|
+
if (Array.isArray(value)) return `[${value.map(stableStringify).join(',')}]`;
|
|
325
|
+
if (value && typeof value === 'object') return `{${Object.keys(value).sort().map((key) => `${JSON.stringify(key)}:${stableStringify(value[key])}`).join(',')}}`;
|
|
326
|
+
return JSON.stringify(value);
|
|
327
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { createRuntimeObservabilityReadinessModel } from './runtime-observability-readiness-model.mjs';
|
|
2
|
+
import { createRuntimeObservabilityPresentation } from './runtime-observability-presentation.mjs';
|
|
3
|
+
import { buildReadinessGateSplitEnvelope } from './runtime-readiness-gate-split.mjs';
|
|
4
|
+
|
|
5
|
+
export function createRuntimeObservabilityCommand(deps) {
|
|
6
|
+
const {
|
|
7
|
+
path,
|
|
8
|
+
jsonSchemaVersion,
|
|
9
|
+
ensureRoot,
|
|
10
|
+
writeJsonEnvelope,
|
|
11
|
+
writeStateArtifact,
|
|
12
|
+
validateCommonArtifactSafety,
|
|
13
|
+
observabilitySnapshotPath,
|
|
14
|
+
} = deps;
|
|
15
|
+
|
|
16
|
+
const readinessModel = createRuntimeObservabilityReadinessModel(deps);
|
|
17
|
+
const {
|
|
18
|
+
readinessDimension,
|
|
19
|
+
verificationSummaryFromFiles,
|
|
20
|
+
loopHealthSummary,
|
|
21
|
+
replyHealthSummary,
|
|
22
|
+
traceHealthSummary,
|
|
23
|
+
readinessScoreFromFailures,
|
|
24
|
+
readinessEnvelope,
|
|
25
|
+
} = readinessModel;
|
|
26
|
+
const { printObservability, printReadinessGateSplit } = createRuntimeObservabilityPresentation(deps);
|
|
27
|
+
|
|
28
|
+
function validateObservabilityArtifact(observability) {
|
|
29
|
+
const failures = [];
|
|
30
|
+
if (observability.schema_version !== jsonSchemaVersion) failures.push('schema_version must be 1');
|
|
31
|
+
if (observability.command !== 'observability') failures.push('command must be observability');
|
|
32
|
+
if (observability.mode !== 'observability-readiness-score') failures.push('mode must be observability-readiness-score');
|
|
33
|
+
if (typeof observability.readiness?.overall_score !== 'number') failures.push('readiness.overall_score must be a number');
|
|
34
|
+
if (!Array.isArray(observability.readiness?.dimensions)) failures.push('readiness.dimensions must be an array');
|
|
35
|
+
if (observability.readiness?.deterministic !== true) failures.push('readiness.deterministic must be true');
|
|
36
|
+
if (!['Stage 20', 'Stage 30'].includes(observability.safety?.stage)) failures.push('safety.stage must be Stage 20 or Stage 30');
|
|
37
|
+
else failures.push(...validateCommonArtifactSafety(observability.safety, observability.safety.stage));
|
|
38
|
+
if (observability.safety?.observability_snapshot !== true) failures.push('safety.observability_snapshot must be true');
|
|
39
|
+
return { ok: failures.length === 0, failures };
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function writeObservabilitySnapshot(root, envelope) {
|
|
43
|
+
const file = observabilitySnapshotPath(root);
|
|
44
|
+
const payload = { schema_version: jsonSchemaVersion, command: 'observability', ...envelope };
|
|
45
|
+
const verification = validateObservabilityArtifact(payload);
|
|
46
|
+
if (!verification.ok) throw new Error(`observability verification failed: ${verification.failures.join('; ')}`);
|
|
47
|
+
return writeStateArtifact(path.dirname(file), path.basename(file), payload);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function runReadinessGateSplit(options) {
|
|
51
|
+
if (options.confirm || options.write || options.dryRun || options.scan || options.fromDispatch || options.actor || options.approval || options.run || options.autoRun || options.preflight) throw new Error('readiness --gates is read-only and does not accept execution, dispatch, confirm, dry-run, run, scan, preflight, or write flags');
|
|
52
|
+
if (options.readinessScore) throw new Error('readiness --gates is separate from readiness --score; choose exactly one readiness mode');
|
|
53
|
+
ensureRoot(options.root);
|
|
54
|
+
const envelope = buildReadinessGateSplitEnvelope(options.root, { evidenceFile: options.fromFile || '' });
|
|
55
|
+
if (options.json) writeJsonEnvelope('readiness', envelope);
|
|
56
|
+
else printReadinessGateSplit(envelope);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function runObservability(options) {
|
|
60
|
+
if (options.command === 'readiness' && options.readinessGates) return runReadinessGateSplit(options);
|
|
61
|
+
if (options.write || options.dryRun || options.scan || options.fromDispatch || options.actor || options.approval || options.run || options.autoRun) throw new Error(`${options.command} supports summary/score only`);
|
|
62
|
+
const wantsScore = options.command === 'readiness' ? options.readinessScore : options.observabilitySummary;
|
|
63
|
+
if (!wantsScore) throw new Error(`${options.command} requires ${options.command === 'readiness' ? '--score' : '--summary'}`);
|
|
64
|
+
ensureRoot(options.root);
|
|
65
|
+
const envelope = readinessEnvelope(options.root, { persist: options.confirm });
|
|
66
|
+
if (options.confirm) {
|
|
67
|
+
const file = writeObservabilitySnapshot(options.root, envelope);
|
|
68
|
+
if (options.json) {
|
|
69
|
+
writeJsonEnvelope('observability', { ...envelope, observability_file: path.basename(file) });
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
printObservability(envelope, file);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (options.json) {
|
|
76
|
+
writeJsonEnvelope('observability', envelope);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
printObservability(envelope);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
readinessDimension,
|
|
84
|
+
verificationSummaryFromFiles,
|
|
85
|
+
loopHealthSummary,
|
|
86
|
+
replyHealthSummary,
|
|
87
|
+
traceHealthSummary,
|
|
88
|
+
readinessScoreFromFailures,
|
|
89
|
+
readinessEnvelope,
|
|
90
|
+
validateObservabilityArtifact,
|
|
91
|
+
writeObservabilitySnapshot,
|
|
92
|
+
printObservability,
|
|
93
|
+
printReadinessGateSplit,
|
|
94
|
+
runObservability,
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function createRuntimeObservabilityPresentation(deps) {
|
|
2
|
+
const { path, process, printList } = deps;
|
|
3
|
+
|
|
4
|
+
function printObservability(envelope, file = '') {
|
|
5
|
+
console.log('Vibecoding Runtime Observability');
|
|
6
|
+
console.log('Mode: readiness-score');
|
|
7
|
+
console.log(`Overall score: ${envelope.readiness.overall_score}; Grade: ${envelope.readiness.grade}`);
|
|
8
|
+
console.log(`Queue: items=${envelope.observability.queue_summary.items}; ready=${envelope.observability.queue_summary.ready}; blocked=${envelope.observability.queue_summary.blocked}`);
|
|
9
|
+
console.log(`Leases: active=${envelope.observability.lease_summary.active_count}; stale=${envelope.observability.lease_summary.stale_count}; invalid=${envelope.observability.lease_summary.invalid_count}`);
|
|
10
|
+
if (file) console.log(`Observability snapshot: ${path.relative(process.cwd(), file)}`);
|
|
11
|
+
for (const dimension of envelope.readiness.dimensions) console.log(`- ${dimension.name}: ${dimension.score} (weight=${dimension.weight}) ${dimension.explanation}`);
|
|
12
|
+
if (envelope.readiness.warnings.length > 0) printList('Top blockers', envelope.readiness.warnings);
|
|
13
|
+
console.log(`Action: ${envelope.action}`);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function printReadinessGateSplit(envelope) {
|
|
17
|
+
const split = envelope.readiness_gate_split;
|
|
18
|
+
console.log('Vibecoding Runtime Readiness Gate Split');
|
|
19
|
+
console.log(`Stage: ${split.stage}; Kind: ${split.readiness_kind}`);
|
|
20
|
+
console.log(`Source evidence: ${split.source_evidence.file || 'not provided'}; provided=${split.source_evidence.provided}`);
|
|
21
|
+
for (const gate of split.gates) console.log(`- ${gate.gate}: ${gate.ready ? 'ready' : 'blocked'}; blockers=${gate.blocked_reasons.join(', ') || 'none'}; execution_authorized=false; git_authorized=false`);
|
|
22
|
+
console.log(`Ready gates: ${split.ready_gates.join(', ') || 'none'}`);
|
|
23
|
+
console.log(`Blocked gates: ${split.blocked_gates.join(', ') || 'none'}`);
|
|
24
|
+
console.log('Boundary: writes=false; readiness_gate_split_artifact=false; completion_claim=false; local_commit_authorization=false; review_request_created=false; release_candidate_created=false; command_execution=false; test_execution=false; git=false; git_write=false; commit=false; pr=false; push=false; merge=false; platform_api=false; subagent=false; business_source_write=false');
|
|
25
|
+
console.log(`Readiness gate split digest: ${split.readiness_gate_split_digest}`);
|
|
26
|
+
console.log(`Action: ${envelope.action}`);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
return { printObservability, printReadinessGateSplit };
|
|
30
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
export function createRuntimeObservabilityReadinessModel(deps) {
|
|
2
|
+
const {
|
|
3
|
+
fs,
|
|
4
|
+
path,
|
|
5
|
+
jsonSchemaVersion,
|
|
6
|
+
workflowPath,
|
|
7
|
+
readJsonArtifact,
|
|
8
|
+
listStateFiles,
|
|
9
|
+
digestObject,
|
|
10
|
+
runtimeTracesDirectory,
|
|
11
|
+
daemonLoopsDirectory,
|
|
12
|
+
daemonHeartbeatsDirectory,
|
|
13
|
+
daemonStopFilePath,
|
|
14
|
+
listDaemonLoopFiles,
|
|
15
|
+
listReplyDraftFiles,
|
|
16
|
+
listReplyApprovalFiles,
|
|
17
|
+
listReplyOutboxFiles,
|
|
18
|
+
listReplySendRunFiles,
|
|
19
|
+
replyDraftsDirectory,
|
|
20
|
+
replyApprovalsDirectory,
|
|
21
|
+
replyOutboxDirectory,
|
|
22
|
+
replySendRunsDirectory,
|
|
23
|
+
validateReplyArtifact,
|
|
24
|
+
runtimeTraceReferences,
|
|
25
|
+
validateRuntimeTraceArtifact,
|
|
26
|
+
queueScanEnvelope,
|
|
27
|
+
leaseAuditEnvelope,
|
|
28
|
+
recoveryEnvelope,
|
|
29
|
+
retryHealthSummary,
|
|
30
|
+
} = deps;
|
|
31
|
+
|
|
32
|
+
function readinessDimension(name, score, weight, explanation, evidence = []) {
|
|
33
|
+
return { name, score, weight, explanation, evidence };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function verificationSummaryFromFiles(root, files, directory, label, verifier) {
|
|
37
|
+
const details = files.map((fileName) => {
|
|
38
|
+
try {
|
|
39
|
+
const file = path.join(directory(root), fileName);
|
|
40
|
+
const artifact = readJsonArtifact(file, label);
|
|
41
|
+
const verification = verifier(artifact, fileName, file);
|
|
42
|
+
return { file: fileName, ok: verification.ok, failures: verification.failures || [] };
|
|
43
|
+
} catch (error) {
|
|
44
|
+
return { file: fileName, ok: false, failures: [error.message] };
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
return {
|
|
48
|
+
count: details.length,
|
|
49
|
+
ok_count: details.filter((item) => item.ok).length,
|
|
50
|
+
failed_count: details.filter((item) => !item.ok).length,
|
|
51
|
+
details,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function loopHealthSummary(root) {
|
|
56
|
+
const loopFiles = listDaemonLoopFiles(root);
|
|
57
|
+
const loops = verificationSummaryFromFiles(root, loopFiles, daemonLoopsDirectory, 'Daemon loop', (artifact) => {
|
|
58
|
+
const failures = [];
|
|
59
|
+
if (artifact.schema_version !== jsonSchemaVersion) failures.push('schema_version must be 1');
|
|
60
|
+
if (artifact.command !== 'daemon') failures.push('command must be daemon');
|
|
61
|
+
if (artifact.mode !== 'daemon-loop-run') failures.push('mode must be daemon-loop-run');
|
|
62
|
+
if (artifact.safety?.stage !== 'Stage 28') failures.push('safety.stage must be Stage 28');
|
|
63
|
+
if (artifact.safety?.long_running !== false) failures.push('safety.long_running must be false');
|
|
64
|
+
if (artifact.safety?.watcher !== false) failures.push('safety.watcher must be false');
|
|
65
|
+
return { ok: failures.length === 0, failures };
|
|
66
|
+
});
|
|
67
|
+
const heartbeatFiles = listStateFiles(root, daemonHeartbeatsDirectory, '.heartbeat.json');
|
|
68
|
+
const latestHeartbeat = heartbeatFiles.length > 0 ? heartbeatFiles[heartbeatFiles.length - 1] : '';
|
|
69
|
+
const latestHeartbeatPath = latestHeartbeat ? path.join(daemonHeartbeatsDirectory(root), latestHeartbeat) : '';
|
|
70
|
+
const heartbeatAgeMs = latestHeartbeatPath && fs.existsSync(latestHeartbeatPath) ? Math.max(0, Date.now() - fs.statSync(latestHeartbeatPath).mtimeMs) : null;
|
|
71
|
+
const stopPresent = fs.existsSync(daemonStopFilePath(root));
|
|
72
|
+
const blocked = loops.details.flatMap((item) => item.ok ? [] : item.failures.map((failure) => `${item.file}: ${failure}`));
|
|
73
|
+
if (stopPresent) blocked.push('daemon stop file is present');
|
|
74
|
+
return { loops, heartbeat_count: heartbeatFiles.length, latest_heartbeat_file: latestHeartbeat, heartbeat_age_ms: heartbeatAgeMs, stop_present: stopPresent, blocked_reasons: blocked };
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function replyHealthSummary(root) {
|
|
78
|
+
const groups = [
|
|
79
|
+
[listReplyDraftFiles(root), replyDraftsDirectory, 'Reply draft'],
|
|
80
|
+
[listReplyApprovalFiles(root), replyApprovalsDirectory, 'Reply approval'],
|
|
81
|
+
[listReplyOutboxFiles(root), replyOutboxDirectory, 'Reply outbox'],
|
|
82
|
+
[listReplySendRunFiles(root), replySendRunsDirectory, 'Reply send run'],
|
|
83
|
+
];
|
|
84
|
+
const details = groups.flatMap(([files, directory, label]) => verificationSummaryFromFiles(root, files, directory, label, (artifact, fileName, file) => validateReplyArtifact(root, artifact, fileName, file)).details);
|
|
85
|
+
const sendDisabled = details.every((item) => item.ok);
|
|
86
|
+
return {
|
|
87
|
+
count: details.length,
|
|
88
|
+
ok_count: details.filter((item) => item.ok).length,
|
|
89
|
+
failed_count: details.filter((item) => !item.ok).length,
|
|
90
|
+
send_disabled: sendDisabled,
|
|
91
|
+
blocked_reasons: details.flatMap((item) => item.ok ? [] : item.failures.map((failure) => `${item.file}: ${failure}`)),
|
|
92
|
+
details,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function traceHealthSummary(root) {
|
|
97
|
+
const traceFiles = listStateFiles(root, runtimeTracesDirectory, '.runtime-trace.json');
|
|
98
|
+
const traces = verificationSummaryFromFiles(root, traceFiles, runtimeTracesDirectory, 'Runtime trace', (artifact) => validateRuntimeTraceArtifact(root, artifact));
|
|
99
|
+
const latestTraceFile = traceFiles.length > 0 ? traceFiles[traceFiles.length - 1] : '';
|
|
100
|
+
const latestTrace = latestTraceFile ? readJsonArtifact(path.join(runtimeTracesDirectory(root), latestTraceFile), 'Runtime trace') : null;
|
|
101
|
+
const latestSourceDigest = latestTrace?.runtime_trace?.source_digest || '';
|
|
102
|
+
const latestComparableDigest = latestTrace ? digestObject((latestTrace.runtime_trace?.sources || []).filter((source) => source.type !== 'observability')) : '';
|
|
103
|
+
const currentSourceDigest = digestObject(runtimeTraceReferences(root).filter((source) => source.type !== 'observability'));
|
|
104
|
+
const drift = Boolean(latestTrace && latestComparableDigest && latestComparableDigest !== currentSourceDigest);
|
|
105
|
+
const blocked = traces.details.flatMap((item) => item.ok ? [] : item.failures.map((failure) => `${item.file}: ${failure}`));
|
|
106
|
+
if (drift) blocked.push('latest runtime trace source digest drift detected');
|
|
107
|
+
return { traces, latest_trace_file: latestTraceFile, latest_source_digest: latestSourceDigest, current_source_digest: currentSourceDigest, drift, blocked_reasons: blocked };
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function readinessScoreFromFailures(total, failed, emptyScore = 100) {
|
|
111
|
+
if (total === 0) return emptyScore;
|
|
112
|
+
return Math.max(0, Math.round(((total - failed) / total) * 100));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function readinessEnvelope(root, { persist = false } = {}) {
|
|
116
|
+
const queue = queueScanEnvelope(root, { persist: false });
|
|
117
|
+
const leases = leaseAuditEnvelope(root, 'list');
|
|
118
|
+
const recovery = recoveryEnvelope(root, { persist: false });
|
|
119
|
+
const retryHealth = retryHealthSummary(root);
|
|
120
|
+
const loopHealth = loopHealthSummary(root);
|
|
121
|
+
const replyHealth = replyHealthSummary(root);
|
|
122
|
+
const traceHealth = traceHealthSummary(root);
|
|
123
|
+
const dimensions = [
|
|
124
|
+
readinessDimension('candidate_readiness', queue.queue.items.length === 0 ? 50 : Math.round((queue.queue.ready.length / queue.queue.items.length) * 100), 15, 'derived from queue ready versus blocked items', queue.queue.items.map((item) => item.candidate_file)),
|
|
125
|
+
readinessDimension('approval_validity', queue.queue.items.length === 0 ? 50 : Math.round((queue.queue.items.filter((item) => item.approval_file && !item.blocked_reasons.includes('approval missing')).length / queue.queue.items.length) * 100), 10, 'derived from approval presence and verification in queue scan', queue.queue.items.map((item) => item.approval_file).filter(Boolean)),
|
|
126
|
+
readinessDimension('policy_allowed', queue.queue.items.some((item) => item.blocked_reasons.some((reason) => reason.includes('policy'))) ? 40 : 100, 10, 'policy blocks reduce readiness but do not trigger execution', []),
|
|
127
|
+
readinessDimension('queue_status', queue.queue.blocked.length === 0 ? 100 : Math.max(0, 100 - queue.queue.blocked.length * 20), 10, 'blocked queue items reduce readiness', queue.queue.blocked.map((item) => item.candidate_file)),
|
|
128
|
+
readinessDimension('lease_health', leases.summary.count === 0 ? 100 : Math.max(0, 100 - leases.summary.active_count * 25 - leases.summary.stale_count * 40 - leases.summary.invalid_count * 50), 10, 'active, stale, or invalid leases reduce readiness', leases.leases.map((lease) => lease.file)),
|
|
129
|
+
readinessDimension('execution_history', recovery.recovery.retry_candidates.length === 0 ? 100 : Math.max(0, 100 - recovery.recovery.retry_candidates.length * 30), 10, 'failed, timed_out, or running retry candidates reduce readiness', recovery.recovery.retry_candidates.map((item) => item.execution_file)),
|
|
130
|
+
readinessDimension('retry_health', Math.max(0, readinessScoreFromFailures(retryHealth.packages.count + retryHealth.runs.count, retryHealth.packages.failed_count + retryHealth.runs.failed_count) - retryHealth.duplicate_count * 20), 10, 'Stage 27 retry package/run artifacts are verified without allowing automatic retry', [...retryHealth.packages.details, ...retryHealth.runs.details].map((item) => item.file)),
|
|
131
|
+
readinessDimension('loop_health', Math.max(0, readinessScoreFromFailures(loopHealth.loops.count, loopHealth.loops.failed_count) - (loopHealth.stop_present ? 20 : 0)), 10, 'Stage 28 foreground loop artifacts, heartbeat, and stop file are inspected read-only', loopHealth.loops.details.map((item) => item.file)),
|
|
132
|
+
readinessDimension('reply_health', replyHealth.send_disabled ? readinessScoreFromFailures(replyHealth.count, replyHealth.failed_count) : 0, 10, 'Reply A-D artifacts are verified and external delivery remains disabled', replyHealth.details.map((item) => item.file)),
|
|
133
|
+
readinessDimension('trace_health', Math.max(0, readinessScoreFromFailures(traceHealth.traces.count, traceHealth.traces.failed_count, 50) - (traceHealth.drift ? 30 : 0)), 10, 'Stage 29 trace ledger is verified and checked for source digest drift', traceHealth.traces.details.map((item) => item.file)),
|
|
134
|
+
readinessDimension('observability_completeness', 100, 5, 'all local sources were inspected with corrupt artifacts isolated', []),
|
|
135
|
+
];
|
|
136
|
+
const totalWeight = dimensions.reduce((sum, item) => sum + item.weight, 0);
|
|
137
|
+
const overall = Math.round(dimensions.reduce((sum, item) => sum + item.score * item.weight, 0) / totalWeight);
|
|
138
|
+
const blockedReasons = [...new Set([
|
|
139
|
+
...queue.quality,
|
|
140
|
+
...leases.quality,
|
|
141
|
+
...recovery.quality,
|
|
142
|
+
...retryHealth.blocked_reasons,
|
|
143
|
+
...loopHealth.blocked_reasons,
|
|
144
|
+
...replyHealth.blocked_reasons,
|
|
145
|
+
...traceHealth.blocked_reasons,
|
|
146
|
+
])];
|
|
147
|
+
return {
|
|
148
|
+
mode: 'observability-readiness-score',
|
|
149
|
+
ok: true,
|
|
150
|
+
state_present: fs.existsSync(workflowPath(root)),
|
|
151
|
+
observability: {
|
|
152
|
+
writes: Boolean(persist),
|
|
153
|
+
sources: ['workflow', 'queue', 'candidate', 'approval', 'execution', 'lock', 'lease', 'recovery', 'retry', 'daemon-loop', 'reply', 'runtime-trace'],
|
|
154
|
+
queue_summary: { items: queue.queue.items.length, ready: queue.queue.ready.length, blocked: queue.queue.blocked.length },
|
|
155
|
+
lease_summary: leases.summary,
|
|
156
|
+
recovery_summary: { retry_candidates: recovery.recovery.retry_candidates.length, retry_allowed: false },
|
|
157
|
+
retry_health: retryHealth,
|
|
158
|
+
loop_health: loopHealth,
|
|
159
|
+
reply_health: replyHealth,
|
|
160
|
+
trace_health: traceHealth,
|
|
161
|
+
},
|
|
162
|
+
readiness: {
|
|
163
|
+
overall_score: overall,
|
|
164
|
+
grade: overall >= 90 ? 'ready' : overall >= 70 ? 'review' : overall >= 50 ? 'blocked' : 'critical',
|
|
165
|
+
dimensions,
|
|
166
|
+
blocked_reasons: blockedReasons,
|
|
167
|
+
warnings: blockedReasons.slice(0, 10),
|
|
168
|
+
evidence_completeness: 'local-artifacts-only',
|
|
169
|
+
deterministic: true,
|
|
170
|
+
},
|
|
171
|
+
safety: {
|
|
172
|
+
stage: 'Stage 30',
|
|
173
|
+
writes: Boolean(persist),
|
|
174
|
+
observability_snapshot: Boolean(persist),
|
|
175
|
+
runtime_action: false,
|
|
176
|
+
auto_execution: false,
|
|
177
|
+
platform_api: false,
|
|
178
|
+
skill_execution: false,
|
|
179
|
+
business_source_write: false,
|
|
180
|
+
subagent: false,
|
|
181
|
+
mcp: false,
|
|
182
|
+
daemon: false,
|
|
183
|
+
git: false,
|
|
184
|
+
worktree: false,
|
|
185
|
+
dispatch_event_modified: false,
|
|
186
|
+
claim_modified: false,
|
|
187
|
+
},
|
|
188
|
+
quality: blockedReasons,
|
|
189
|
+
action: persist
|
|
190
|
+
? 'observability snapshot was written. No readiness gate was changed and no runtime action occurred.'
|
|
191
|
+
: 'observability readiness score was computed read-only. No files were written and no runtime action occurred.',
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
return {
|
|
196
|
+
readinessDimension,
|
|
197
|
+
verificationSummaryFromFiles,
|
|
198
|
+
loopHealthSummary,
|
|
199
|
+
replyHealthSummary,
|
|
200
|
+
traceHealthSummary,
|
|
201
|
+
readinessScoreFromFailures,
|
|
202
|
+
readinessEnvelope,
|
|
203
|
+
};
|
|
204
|
+
}
|