ai-delivery-workflow 0.2.2 → 0.4.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/README.md +45 -14
- package/bin/ai-delivery.mjs +181 -6
- package/bin/benchmark-autonomy.mjs +217 -0
- package/bin/release-check.mjs +382 -0
- package/docs/CLI-PARAMETER-REFERENCE.zh-CN.md +346 -0
- package/docs/CODEGRAPH-INTEGRATION.zh-CN.md +89 -0
- package/docs/DUAL-REPOSITORY-WORKSPACE.zh-CN.md +2 -2
- package/docs/EVOLUTION-MAINTENANCE.zh-CN.md +7 -7
- package/docs/EVOLUTION-USER-GUIDE.zh-CN.md +2 -2
- package/docs/FILE-REFERENCE.zh-CN.md +120 -39
- package/docs/MAINTENANCE-VERIFICATION.zh-CN.md +51 -0
- package/docs/MOCK-SYSTEM.zh-CN.md +141 -0
- package/docs/NPM-RELEASE-MANAGEMENT.zh-CN.md +106 -0
- package/docs/PROJECT-MANUAL.zh-CN.md +154 -95
- package/docs/PROTOTYPE-MIGRATION.zh-CN.md +164 -0
- package/docs/STATE-CLI-MAINTENANCE.zh-CN.md +35 -17
- package/docs/STATE-CLI-USER-GUIDE.zh-CN.md +115 -39
- package/docs/VIEWER-MAINTENANCE.zh-CN.md +101 -324
- package/docs/VIEWER-USER-GUIDE.zh-CN.md +68 -190
- package/docs/adr/0001-prototype-first-ui-governance.md +3 -0
- package/docs/adr/0002-microcks-as-default-mock-system.md +3 -0
- package/docs/adr/0003-workflow-manager-governed-control-surface.md +46 -0
- package/docs/adr/0004-operational-carbon-visual-standard.md +9 -0
- package/docs/adr/0005-prototype-management-as-routed-pages.md +7 -0
- package/docs/agents/domain.md +12 -0
- package/docs/agents/issue-tracker.md +27 -0
- package/docs/agents/triage-labels.md +11 -0
- package/docs/agents/workflow-manager-acceptance-matrix.md +93 -0
- package/docs/agents/workflow-manager-agent-interface.md +145 -0
- package/docs/agents/workflow-manager-current-state.md +205 -0
- package/lib/artifact-files.mjs +47 -0
- package/lib/codegraph.mjs +405 -0
- package/lib/delivery-state.mjs +3079 -198
- package/lib/frontend-guard.mjs +288 -0
- package/lib/fs-utils.mjs +53 -0
- package/lib/history-anchor.mjs +98 -0
- package/lib/mock-scenario-pack.mjs +687 -0
- package/lib/mock-system.mjs +897 -0
- package/lib/npm-package-result.mjs +11 -0
- package/lib/png-evidence.mjs +149 -0
- package/lib/project-bootstrap.mjs +96 -55
- package/lib/project-installer.mjs +1484 -164
- package/lib/project-migration.mjs +1193 -0
- package/lib/prototype-migration.mjs +713 -0
- package/lib/prototype-page-review.mjs +384 -0
- package/lib/prototype-review-target.mjs +334 -0
- package/lib/prototype-revision.mjs +812 -0
- package/lib/stable-value.mjs +15 -0
- package/lib/toml-hooks.mjs +69 -0
- package/lib/ui-acceptance.mjs +565 -0
- package/lib/visual-standard.mjs +232 -0
- package/lib/workflow-manager-contracts.mjs +367 -0
- package/lib/workflow-manager-facts.mjs +778 -0
- package/lib/workflow-manager-governance.mjs +514 -0
- package/lib/workflow-manager-mock.mjs +183 -0
- package/lib/workflow-manager-prototypes.mjs +1847 -0
- package/lib/workflow-manager-public/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/lib/workflow-manager-public/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 +0 -0
- package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff +0 -0
- package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2 +0 -0
- package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-500-normal-BgVn5rGT.woff +0 -0
- package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff +0 -0
- package/lib/workflow-manager-public/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2 +0 -0
- package/lib/workflow-manager-public/assets/index-Chlg6r8f.css +1 -0
- package/lib/workflow-manager-public/assets/index-E-hGB5ZD.js +13 -0
- package/lib/workflow-manager-public/fonts/OFL-1.1.txt +90 -0
- package/lib/workflow-manager-public/index.html +14 -0
- package/lib/workflow-manager-systems.mjs +519 -0
- package/lib/workflow-manager-transaction.mjs +397 -0
- package/lib/workflow-manager.mjs +745 -0
- package/package.json +8 -2
- package/skills/ai-delivery-assemble-release/agents/openai.yaml +3 -3
- package/skills/ai-delivery-assemble-release/assets/release-material-index.csv +1 -1
- package/skills/ai-delivery-assemble-release/assets/version-inclusion.csv +1 -1
- package/skills/ai-delivery-bootstrap/SKILL.md +4 -4
- package/skills/ai-delivery-bootstrap/agents/openai.yaml +3 -3
- package/skills/ai-delivery-bootstrap/references/bootstrap-contract.md +4 -2
- package/skills/ai-delivery-checkpoint-task/SKILL.md +17 -3
- package/skills/ai-delivery-checkpoint-task/agents/openai.yaml +3 -3
- package/skills/ai-delivery-checkpoint-task/assets/runtime-template/task.json +7 -1
- package/skills/ai-delivery-checkpoint-task/references/checkpoint-contract.md +22 -8
- package/skills/ai-delivery-checkpoint-task/scripts/hook-event.mjs +91 -0
- package/skills/ai-delivery-checkpoint-task/scripts/task-state.mjs +1086 -51
- package/skills/ai-delivery-close-version/SKILL.md +9 -8
- package/skills/ai-delivery-close-version/agents/openai.yaml +3 -3
- package/skills/ai-delivery-close-version/assets/version-lineage.yaml +1 -1
- package/skills/ai-delivery-close-version/references/version-closeout-contract.md +2 -2
- package/skills/ai-delivery-define-product/SKILL.md +8 -4
- package/skills/ai-delivery-define-product/agents/openai.yaml +4 -4
- package/skills/ai-delivery-define-product/references/product-contract.md +2 -2
- package/skills/ai-delivery-deploy-production/agents/openai.yaml +3 -3
- package/skills/ai-delivery-design-architecture/SKILL.md +9 -5
- package/skills/ai-delivery-design-architecture/assets/architecture-template/prototype-architecture-validation.yaml +16 -16
- package/skills/ai-delivery-design-architecture/references/architecture-contract.md +1 -1
- package/skills/ai-delivery-design-experience/SKILL.md +36 -30
- package/skills/ai-delivery-design-experience/agents/openai.yaml +4 -4
- package/skills/ai-delivery-design-experience/assets/experience-template/LEGACY-COMPATIBILITY.md +16 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/design-reference-selection.yaml +32 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/experience-baseline.yaml +2 -2
- package/skills/ai-delivery-design-experience/assets/experience-template/formal-ui-confirmation.yaml +16 -3
- package/skills/ai-delivery-design-experience/assets/experience-template/frontend-change-scope.yaml +30 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/interaction-contract.csv +1 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/mock-admin-export.yaml +8 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/mock-scenario-mappings.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/mock-scenario-pack-request.yaml +24 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/product-prototype-reconciliation.yaml +2 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-adjustment-log.csv +1 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-component-bindings.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-component-candidates.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-components.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-confirmation.yaml +18 -18
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-data-contracts.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-impact-assessment.yaml +5 -5
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-implementation-bindings.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-manifest.yaml +2 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-pages.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-product-coverage.csv +1 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-comments.csv +1 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-decision.yaml +13 -12
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-scenes.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-sessions.csv +1 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-unit-pages.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-review-units.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-revision.yaml +88 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-routes.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-set.yaml +2 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-source-inspection-snapshots.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-terminals.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-tool-candidates.csv +1 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-tool-selection.yaml +2 -3
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-traceability.csv +1 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype-trigger-conditions.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/prototype.yaml +6 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/ui-framework-selection.yaml +17 -1
- package/skills/ai-delivery-design-experience/assets/experience-template/ui-handoff.yaml +6 -5
- package/skills/ai-delivery-design-experience/assets/experience-template/ui-mapping.csv +1 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/visual-direction.yaml +4 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/visual-reference-manifest.yaml +23 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/visual-reference.html +163 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/visual-system-confirmation.yaml +11 -0
- package/skills/ai-delivery-design-experience/references/experience-contract.md +26 -27
- package/skills/ai-delivery-design-experience/references/prototype-management-contract.md +42 -21
- package/skills/ai-delivery-design-tests/SKILL.md +13 -7
- package/skills/ai-delivery-design-tests/assets/test-design-template/prototype-test-scope.csv +1 -1
- package/skills/ai-delivery-design-tests/assets/test-design-template/prototype-test-validation.yaml +17 -16
- package/skills/ai-delivery-design-tests/references/test-design-contract.md +7 -5
- package/skills/ai-delivery-develop-iteration/SKILL.md +18 -11
- package/skills/ai-delivery-develop-iteration/agents/openai.yaml +3 -3
- package/skills/ai-delivery-develop-iteration/assets/development-template/candidate-manifest.yaml +36 -0
- package/skills/ai-delivery-develop-iteration/assets/development-template/task-prototype-traceability.csv +1 -1
- package/skills/ai-delivery-develop-iteration/references/development-contract.md +5 -3
- package/skills/ai-delivery-evolve-workflow/agents/openai.yaml +3 -3
- package/skills/ai-delivery-execute-test/SKILL.md +6 -2
- package/skills/ai-delivery-execute-test/agents/openai.yaml +4 -4
- package/skills/ai-delivery-execute-work-package/SKILL.md +10 -3
- package/skills/ai-delivery-execute-work-package/agents/openai.yaml +4 -4
- package/skills/ai-delivery-execute-work-package/references/work-package-contract.md +1 -1
- package/skills/ai-delivery-manage-git/agents/openai.yaml +3 -3
- package/skills/ai-delivery-manage-standards/agents/openai.yaml +4 -4
- package/skills/ai-delivery-orchestrate/SKILL.md +47 -29
- package/skills/ai-delivery-orchestrate/agents/openai.yaml +3 -3
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/control/migrations/.gitkeep +0 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/control/repairs/.gitkeep +0 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/delivery/project.yaml +1 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/delivery/workflow-state.yaml +2 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/frontend-guard/frontend-guard.mjs +50 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/hooks/hook-event.mjs +91 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/manager/manager.mjs +64 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/manager/start.cmd +4 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/manager/start.ps1 +2 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/{viewer → manager}/start.sh +1 -1
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/mock/mock.mjs +50 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/ui-acceptance/ui-acceptance.mjs +37 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/AGENTS.md +32 -6
- package/skills/ai-delivery-orchestrate/assets/project-template/gitignore.template +1 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/CONTRIBUTING.md +25 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/LICENSE +21 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/README.md +250 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/UPSTREAM.yaml +19 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airbnb/DESIGN.md +545 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airbnb/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airtable/DESIGN.md +554 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airtable/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/apple/DESIGN.md +562 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/apple/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/binance/DESIGN.md +634 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/binance/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw/DESIGN.md +544 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw-m/DESIGN.md +503 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw-m/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bugatti/DESIGN.md +454 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bugatti/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cal/DESIGN.md +542 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cal/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/claude/DESIGN.md +589 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/claude/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clay/DESIGN.md +541 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clay/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clickhouse/DESIGN.md +544 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clickhouse/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cohere/DESIGN.md +451 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cohere/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/coinbase/DESIGN.md +570 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/coinbase/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/composio/DESIGN.md +506 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/composio/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cursor/DESIGN.md +537 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cursor/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/dell-1996/DESIGN.md +632 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/dell-1996/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/elevenlabs/DESIGN.md +504 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/elevenlabs/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/expo/DESIGN.md +526 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/expo/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ferrari/DESIGN.md +531 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ferrari/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/figma/DESIGN.md +578 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/figma/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/framer/DESIGN.md +544 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/framer/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hashicorp/DESIGN.md +575 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hashicorp/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hp/DESIGN.md +670 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hp/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ibm/DESIGN.md +550 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ibm/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/intercom/DESIGN.md +546 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/intercom/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/kraken/DESIGN.md +125 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/kraken/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lamborghini/DESIGN.md +288 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lamborghini/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/linear.app/DESIGN.md +548 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/linear.app/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lovable/DESIGN.md +298 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lovable/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mastercard/DESIGN.md +365 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mastercard/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/meta/DESIGN.md +683 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/meta/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/minimax/DESIGN.md +746 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/minimax/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mintlify/DESIGN.md +852 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mintlify/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/miro/DESIGN.md +825 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/miro/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mistral.ai/DESIGN.md +773 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mistral.ai/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mongodb/DESIGN.md +767 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mongodb/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nike/DESIGN.md +575 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nike/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nintendo-2001/DESIGN.md +649 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nintendo-2001/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/notion/DESIGN.md +821 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/notion/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nvidia/DESIGN.md +640 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nvidia/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ollama/DESIGN.md +539 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ollama/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/opencode.ai/DESIGN.md +521 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/opencode.ai/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/pinterest/DESIGN.md +597 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/pinterest/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/playstation/DESIGN.md +661 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/playstation/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/posthog/DESIGN.md +690 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/posthog/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/raycast/DESIGN.md +669 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/raycast/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/renault/DESIGN.md +589 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/renault/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/replicate/DESIGN.md +616 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/replicate/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/resend/DESIGN.md +585 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/resend/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/revolut/DESIGN.md +636 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/revolut/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/runwayml/DESIGN.md +244 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/runwayml/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sanity/DESIGN.md +357 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sanity/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sentry/DESIGN.md +551 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sentry/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/shopify/DESIGN.md +516 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/shopify/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/slack/DESIGN.md +482 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spacex/DESIGN.md +363 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spacex/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spotify/DESIGN.md +246 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spotify/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/starbucks/DESIGN.md +580 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/starbucks/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/stripe/DESIGN.md +487 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/stripe/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/supabase/DESIGN.md +462 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/supabase/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/superhuman/DESIGN.md +448 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/superhuman/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/tesla/DESIGN.md +286 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/tesla/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/theverge/DESIGN.md +339 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/theverge/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/together.ai/DESIGN.md +633 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/together.ai/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/uber/DESIGN.md +636 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/uber/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vercel/DESIGN.md +736 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vercel/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vodafone/DESIGN.md +538 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vodafone/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/voltagent/DESIGN.md +521 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/voltagent/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/warp/DESIGN.md +526 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/warp/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/webflow/DESIGN.md +588 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/webflow/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wired/DESIGN.md +497 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wired/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wise/DESIGN.md +544 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wise/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/x.ai/DESIGN.md +465 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/x.ai/README.md +5 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/zapier/DESIGN.md +537 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/zapier/README.md +5 -0
- package/skills/ai-delivery-orchestrate/references/formal-state-contract.md +65 -20
- package/skills/ai-delivery-orchestrate/references/workflow-model.md +7 -5
- package/skills/ai-delivery-orchestrate-release/SKILL.md +2 -2
- package/skills/ai-delivery-orchestrate-release/agents/openai.yaml +4 -4
- package/skills/ai-delivery-orchestrate-release/references/release-workflow-contract.md +1 -1
- package/skills/ai-delivery-plan-iteration/SKILL.md +11 -4
- package/skills/ai-delivery-plan-iteration/agents/openai.yaml +4 -4
- package/skills/ai-delivery-plan-iteration/assets/planning-template/scope-manifest.yaml +17 -0
- package/skills/ai-delivery-plan-iteration/assets/planning-template/slice-prototype-traceability.csv +1 -1
- package/skills/ai-delivery-plan-iteration/references/planning-contract.md +8 -2
- package/skills/ai-delivery-prepare-platform/SKILL.md +5 -1
- package/skills/ai-delivery-prepare-platform/agents/openai.yaml +4 -4
- package/skills/ai-delivery-prepare-release/agents/openai.yaml +4 -4
- package/skills/ai-delivery-review-change/SKILL.md +14 -4
- package/skills/ai-delivery-review-change/agents/openai.yaml +4 -4
- package/skills/ai-delivery-review-change/references/review-contract.md +6 -0
- package/skills/ai-delivery-triage-failure/SKILL.md +5 -1
- package/skills/ai-delivery-triage-failure/agents/openai.yaml +4 -4
- package/skills/ai-delivery-validate-artifacts/SKILL.md +6 -3
- package/skills/ai-delivery-validate-artifacts/agents/openai.yaml +4 -4
- package/skills/ai-delivery-validate-artifacts/references/artifact-contract.md +13 -13
- package/skills/ai-delivery-verify-candidate/SKILL.md +13 -6
- package/skills/ai-delivery-verify-candidate/agents/openai.yaml +3 -3
- package/skills/ai-delivery-verify-candidate/assets/verification-template/ui-acceptance-request.yaml +19 -0
- package/skills/ai-delivery-verify-candidate/assets/verification-template/ui-acceptance-results.yaml +53 -0
- package/skills/ai-delivery-verify-candidate/references/candidate-verification-contract.md +10 -2
- package/skills/ai-delivery-verify-production/agents/openai.yaml +3 -3
- package/skills/ai-delivery-design-experience/assets/experience-template/low-fidelity-confirmation.yaml +0 -32
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/public/app.js +0 -546
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/public/index.html +0 -199
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/public/styles.css +0 -529
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/server.mjs +0 -780
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/start.cmd +0 -4
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/tools/viewer/start.ps1 +0 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Authority
|
|
4
4
|
|
|
5
|
-
Portable active task and checkpoint authority is sharded by task under `.workflow/control/tasks/` and `.workflow/control/checkpoints/`. Closed versions move to `.workflow/control/archives/versions/<version-id>/`; normal recovery scans only active collections and explicit audit reads the archive. Local `.workflow/delivery/runtime/` contains only non-portable execution state and optional detailed archive copies.
|
|
5
|
+
Portable active task and checkpoint authority is sharded by task under `.workflow/control/tasks/` and `.workflow/control/checkpoints/`. Closed versions move to `.workflow/control/archives/versions/<version-id>/`; normal recovery scans only active collections and explicit audit reads the archive. The version manifest references checksummed archived task summaries and attempt receipts plus the anchored scope manifest, candidate, Gate decisions, and history anchor. Local `.workflow/delivery/runtime/` contains only non-portable execution state and optional detailed archive copies.
|
|
6
6
|
|
|
7
7
|
Use `.workflow/tools/state/state.mjs` as the only writer for:
|
|
8
8
|
|
|
@@ -12,8 +12,12 @@ Use `.workflow/tools/state/state.mjs` as the only writer for:
|
|
|
12
12
|
|
|
13
13
|
Use `.agents/skills/ai-delivery-checkpoint-task/scripts/task-state.mjs` as the only writer for runtime task snapshots, checkpoints, recovery state, and version archives. Hooks may append their own redacted lifecycle records but may not infer task, artifact, Gate, node, candidate, release, or deployment completion.
|
|
14
14
|
|
|
15
|
+
Use the packaged top-level `ai-delivery migrate` command as the only writer for `.workflow/control/migrations/` and compatibility task/layout transformations, `ai-delivery repair` as the only writer for `.workflow/control/repairs/transactions/`, and `ai-delivery compact` as the only writer for `.workflow/control/archives/history/artifact-registry/`. Migration copies legacy-root workflow material into `.workflow/`, adds explicit attempts to flat task shards, and records automatic or checksum-bound human semantic grouping while preserving every source byte, task lifecycle, scope, formal view, and legacy event byte. Archive invalidation is a separate checksum-chained forward transaction that references the original archive, a human actor, reason, RCA evidence, and recovery evidence; the archive itself remains immutable. A migration rollback is legal only while the post-migration schema 2 event and repair fingerprints and every migrated target checksum remain unchanged. Compaction is always a later explicit operation and never part of migration.
|
|
16
|
+
|
|
15
17
|
Do not edit controlled files directly, including after a command error. Inspect, repair the cause, and rerun with the newly observed revision.
|
|
16
18
|
|
|
19
|
+
`inspect`, `verify`, Bootstrap diagnostics, Bootstrap artifact generation, and Workflow Manager formal-state reads hold the same formal-state lock as mutations for the full multi-file read. They fail closed when another reader, a mutation, or an incomplete transaction owns the state, and they never recover or take over a stale lock. Only a later mutation or `rebuild` may perform journal recovery.
|
|
20
|
+
|
|
17
21
|
## Commands
|
|
18
22
|
|
|
19
23
|
Run from the project root:
|
|
@@ -21,44 +25,85 @@ Run from the project root:
|
|
|
21
25
|
```text
|
|
22
26
|
node .workflow/tools/state/state.mjs inspect
|
|
23
27
|
node .workflow/tools/state/state.mjs verify
|
|
28
|
+
node .workflow/tools/state/state.mjs verify --history
|
|
29
|
+
node .workflow/tools/state/state.mjs verify --history --since-anchor
|
|
30
|
+
node .workflow/tools/state/state.mjs snapshot create --id <anchor-id> --reason version-boundary
|
|
31
|
+
node .workflow/tools/state/state.mjs snapshot create --reason configured-interval
|
|
32
|
+
node .workflow/tools/state/state.mjs snapshot references --iteration-id <iteration-id> --candidate-id <candidate-id>
|
|
24
33
|
node .workflow/tools/state/state.mjs rebuild
|
|
25
|
-
node .workflow/tools/state/state.mjs artifact register --expected-revision <revision> --id <artifact-id> --artifact-type <type> --path <.workflow/path> --node <node-id> --status
|
|
26
|
-
node .workflow/tools/state/state.mjs artifact register --expected-revision <revision> --id <new-id> --path <.workflow/path> --node <node-id> --status <status> --supersedes <old-id>
|
|
34
|
+
node .workflow/tools/state/state.mjs artifact register --expected-revision <revision> --id <artifact-id> --artifact-type <type> --path <.workflow/path> --node <node-id> --status submitted --version <version> --producer-skill <skill>
|
|
35
|
+
node .workflow/tools/state/state.mjs artifact register --expected-revision <revision> --id <new-id> --path <.workflow/path> --node <node-id> --status <semantic-status> --supersedes <old-id>
|
|
27
36
|
node .workflow/tools/state/state.mjs artifact status --expected-revision <revision> --id <artifact-id> --status <status> --evidence <reference>
|
|
28
|
-
node .workflow/tools/state/state.mjs
|
|
29
|
-
node .workflow/tools/state/state.mjs
|
|
30
|
-
node .workflow/tools/state/state.mjs
|
|
31
|
-
node .workflow/tools/state/state.mjs
|
|
32
|
-
node .workflow/tools/state/state.mjs
|
|
33
|
-
node .workflow/tools/state/state.mjs
|
|
34
|
-
node .workflow/tools/state/state.mjs
|
|
37
|
+
node .workflow/tools/state/state.mjs artifact compact
|
|
38
|
+
node .workflow/tools/state/state.mjs artifact compact --apply
|
|
39
|
+
node .workflow/tools/state/state.mjs artifact prune
|
|
40
|
+
node .workflow/tools/state/state.mjs artifact prune --apply
|
|
41
|
+
node .workflow/tools/state/state.mjs scope freeze --expected-scope-revision <revision> --iteration-id <iteration-id> --manifest-id <manifest-id> --slice <slice-id> --requirement <requirement-id> --acceptance <acceptance-id> --required-task <node-id>:<task-id> --required-artifact <node-id>:<artifact-id> --approved-by <actor-id> --reason <text>
|
|
42
|
+
node .workflow/tools/state/state.mjs scope amend --expected-scope-revision <revision> --iteration-id <iteration-id> --manifest-id <new-manifest-id> --supersedes <current-manifest-id> --slice <slice-id> --requirement <requirement-id> --acceptance <acceptance-id> --required-task <node-id>:<task-id> --required-artifact <node-id>:<artifact-id> --approved-by <actor-id> --reason <text>
|
|
43
|
+
node .workflow/tools/state/state.mjs scope warn --expected-scope-revision <revision> --iteration-id <iteration-id> --metric <metric> --observed <number> --reason <text>
|
|
44
|
+
node .workflow/tools/state/state.mjs transition --expected-scope-revision <revision> --event node-started --iteration-id <iteration-id> --node <node-id>
|
|
45
|
+
node .workflow/tools/state/state.mjs transition --expected-scope-revision <revision> --event release-started --iteration-id <release-id>
|
|
46
|
+
node .workflow/tools/state/state.mjs transition --expected-scope-revision <revision> --event node-completed --iteration-id <iteration-id> --node <node-id> --evidence <artifact-id>
|
|
47
|
+
node .workflow/tools/state/state.mjs transition --expected-scope-revision <revision> --event version-closed --iteration-id <version-id> --artifact-id <closeout-artifact-id>
|
|
48
|
+
node .workflow/tools/state/state.mjs transition --expected-scope-revision <revision> --event release-archived --iteration-id <release-id> --artifact-id <archive-artifact-id> --production-version-id <version-id>
|
|
49
|
+
node .workflow/tools/state/state.mjs gate request --expected-scope-revision <revision> --gate-id <gate-id> --iteration-id <iteration-id> --node <node-id> --evidence <artifact-id>
|
|
50
|
+
node .workflow/tools/state/state.mjs gate decide --expected-scope-revision <revision> --gate-id <gate-id> --decision <decision> --actor <actor-id> --rationale <text> --evidence <artifact-id>
|
|
35
51
|
```
|
|
36
52
|
|
|
37
53
|
Repeat `--evidence` for multiple evidence IDs. Use `iteration-started` only for development and `release-started` only after explicit user release intent. Other events are `node-started`, `node-completed`, `node-blocked`, `node-unblocked`, `candidate-selected`, `release-selected`, `version-closed`, and `release-archived`.
|
|
38
54
|
|
|
39
|
-
`workflow-state.yaml` schema 2 owns independent `development_state` and `release_state` objects. Each has its own scope ID, revision, node collections, Gate collections, node attempts, and selected identities. The top-level revision remains the serialized audit-stream revision. A release may advance while later cumulative development is active; neither scope resets the other.
|
|
55
|
+
`workflow-state.yaml` schema 2 owns independent `development_state` and `release_state` objects. Each has its own scope ID, revision, node collections, Gate collections, node attempts, and selected identities. Use the owning scope revision for workflow optimistic concurrency. The top-level revision remains the serialized audit-stream revision and is accepted by `--expected-revision` only for compatibility. A release may advance while later cumulative development is active; neither scope resets the other.
|
|
56
|
+
|
|
57
|
+
`version-closed` requires completed `06-version-closeout` and a registered `release-ready` artifact from that completed node; it is the only writer of `latest_line_version_id`. `release-archived` requires completed `R10-release-archive`, a registered `released` artifact from that node, and `--production-version-id`; it is the only writer of `production_version_id` and `production_release_id`. These identities live in the audited `workflow-state.yaml`; descriptive or legacy compatibility fields in `project.yaml` are not authoritative.
|
|
58
|
+
|
|
59
|
+
## Seven-Node Producer And Legacy Read Compatibility
|
|
60
|
+
|
|
61
|
+
The installed `development-seven-node` producer graph is `00-bootstrap -> 01-product-shaping -> 02-solution-design -> 03-delivery-readiness -> 04-implementation -> 05-candidate-assurance -> 06-version-closeout`. Product Shaping owns `GATE-A` and `GATE-B`; Solution Design owns `UX-VS` and `UX-UI`. `development-legacy-13` is read-only compatibility: `inspect`, `verify`, `rebuild`, and explicit migration operations may consume historical records and `inspect.node_contracts` reports both models. Every new legacy task, artifact registration, transition, candidate selection, version closeout, Gate request, and Gate decision is rejected before mutation. Producer Skills request only `development-seven-node` IDs.
|
|
62
|
+
|
|
63
|
+
`UX-LF` is a retired Gate contract. New `gate request` and `gate decide` writes fail before mutation, while historical decisions and event shards remain readable and verifiable. Package upgrade previews pending `UX-LF` requests in open scopes and applies `contract retire` as a forward `gate-contract-retired` transaction executed only by `system:package-upgrade`. The transaction removes pending requests without adding a Gate decision and appends checksummed `contract_retirement_receipts`; closed iterations, archives, prior decisions, and prior event bytes are never rewritten.
|
|
64
|
+
|
|
65
|
+
Independent release work continues to use `R00-release-request` through `R10-release-archive`. Older production nodes `12-release-preparation` through `16-version-archive` are accepted only when registering or reading historical artifacts; transition and Gate commands reject them as read-only. Use artifact statuses `release-ready` for a closed unpublished version and `included-in-release` when a specific release has consumed that immutable version manifest.
|
|
66
|
+
|
|
67
|
+
## Artifact Lifecycle And Retention
|
|
40
68
|
|
|
41
|
-
`
|
|
69
|
+
`draft` and `review-draft` are mutable working-file statuses and must not be registered. Bootstrap observations, planning inputs, prototypes, and other working drafts remain discoverable through their owning checksummed pointers or manifests until a semantic decision is made. Register only immutable semantic revisions such as `submitted`, `rejected`, `approved`, `frozen`, or `failed`. A later decision or content change creates a new file and artifact ID with `--supersedes`; it never changes a formal revision in place. Supersession is derived from the successor's relation while every predecessor field remains unchanged. `artifact status` is compatibility-only: it may migrate a draft already registered by an older workflow exactly once, with evidence, but refuses every formal revision.
|
|
42
70
|
|
|
43
|
-
|
|
71
|
+
`artifact prune` uses the latest trusted history anchor as its retention boundary. The default command is a byte-for-byte zero-write dry-run that lists eligible `artifact-registry` shards. Only `--apply` removes shards at or before the anchored artifact revision. Apply writes one checksummed receipt under `.workflow/control/retention/artifact-registry/<anchor-id>.yaml`, retains the JSONL boundary and every post-anchor shard, and rolls staged shards back if the receipt cannot be committed. After pruning, `verify --history` reports `retained-history` and verifies the trusted anchor plus retained suffix; it must not claim that deleted pre-anchor shards were re-audited. `rebuild` starts from the latest trusted snapshots and replays only the retained suffix.
|
|
72
|
+
|
|
73
|
+
`artifact compact` is separate from retention pruning. The packaged `ai-delivery compact <project> --dry-run` route is byte-for-byte zero-write and reports the latest trusted anchor, legacy full-snapshot revision coverage, a path-and-bytes history-root digest, loose bytes, archive bytes, and expected net freed bytes. Apply packages only anchored legacy `after_value` shards into `.workflow/control/archives/history/artifact-registry/<anchor-id>.json.gz`; its checksummed manifest binds the archive, exact source entries, coverage, anchor, and registry checksum. The CLI validates the written bundle, every original entry, and a full replay before moving loose shards. Any validation failure retains all loose history. After success, `verify --history` reports `compacted-history`, validates and replays the archive, then verifies the anchored suffix. New delta records continue from the anchor's record checksum when the loose directory is empty.
|
|
74
|
+
|
|
75
|
+
## Frozen Scope And Derived Node State
|
|
76
|
+
|
|
77
|
+
Delivery Readiness freezes the approved Slice, requirement, acceptance, required-task, and required-artifact sets with `scope freeze`. The first freeze sets `scope_contract_version: 1`; every manifest revision is append-only, SHA-256 checksummed, and explicitly approved. After freeze, `scope amend` is the only scope-change path: it must name the current manifest through `--supersedes`, carry a new manifest ID, and record `--approved-by` plus `--reason`. Historical scopes without `scope_contract_version` remain readable and use the legacy closeout rules until an explicit freeze enables the new contract.
|
|
78
|
+
|
|
79
|
+
`scope warn` records an exceeded Slice budget for `logical-tasks`, `active-hours`, `wall-clock-hours`, or `blocking-repair-rounds`. Its result is always `action: warn-only` and `reslice_performed: false`; it neither changes the frozen manifest nor automatically replans, reslices, or changes acceptance. A human may separately approve a `scope amend` when a real scope change is intended.
|
|
80
|
+
|
|
81
|
+
`inspect.derived_node_states` projects each node as `pending`, `active`, `waiting`, `blocked`, `ready-to-complete`, or `completed` from the current manifest, stable task facts, latest append-only blocking findings, mandatory Gate decisions, registered artifacts and checksums, selected immutable candidate, and any completion receipt. Do not write a node state merely because an agent reports progress. For governed planning-through-closeout nodes, `node-completed` is accepted only from `ready-to-complete` and writes an immutable completion receipt that binds the manifest revision/checksum, task and artifact facts, Gate decisions, candidate, blocking-defect set, evidence, and receipt checksum. `verify` rejects tampered manifests or receipts and completed governed nodes without a receipt for the current manifest.
|
|
82
|
+
|
|
83
|
+
In the seven-node model, `04-implementation` must select an immutable candidate and retain that candidate itself as completion evidence. Starting `05-candidate-assurance` binds the selected candidate to that node attempt; every artifact registered for that node requires `--candidate-id <bound-candidate-id>`, and completion rejects evidence bound to another attempt or candidate. Later `candidate-selected` events do not retarget the active attempt, and its completion receipt retains the bound candidate ID. Starting `06-version-closeout` binds the current candidate and requires a current-scope Candidate Assurance completion receipt for that same candidate.
|
|
44
84
|
|
|
45
85
|
## Mutation Order
|
|
46
86
|
|
|
47
|
-
1.
|
|
87
|
+
1. Run `task-state.mjs inspect` without mutation, recover the recommended task when needed, and activate it with its structured phase before checkpoint or finish. `init` creates queued work only; activation is the only path that starts an attempt and checks dependencies. Queued work cannot skip activation, and phase status is derived rather than accepted through `--phase-status`. Recovery prefers active work, then retryable failed work, then dependency-ready queued work. Preserve the task ID across review, triage, repair, and test rounds; a failed unchanged task starts another attempt only through `--new-attempt`. Finding records are append-only; resolve an existing open finding only in repair/test/verification with evidence and an approved `change_set_id`. Do not complete a task while its latest task-level conclusion contains an open blocking finding. Create a new task only for a material logical-contract change and link it with `--derived-from` or `--supersedes`; a duplicate contract under another ID is invalid.
|
|
48
88
|
2. Write and validate the artifact in `.workflow/`.
|
|
49
89
|
3. Inspect formal state and capture both revisions.
|
|
50
90
|
4. Register the artifact or change its status.
|
|
51
91
|
5. Request and decide every required Gate with explicit actor, rationale, and registered evidence.
|
|
52
|
-
6.
|
|
53
|
-
7.
|
|
54
|
-
8.
|
|
92
|
+
6. After Delivery Readiness, freeze the approved manifest with `scope freeze`; use only `scope amend` for a human-approved scope change and `scope warn` for a non-mutating budget warning. Read `inspect.derived_node_states` before transition.
|
|
93
|
+
7. Transition the node only after graph prerequisites are satisfied by current-scope completion or successful registered baseline evidence, completion evidence has an allowed success status, mandatory Gates for the current node attempt pass, and no Gate remains pending. Governed nodes must be `ready-to-complete`; the command writes their completion receipt.
|
|
94
|
+
8. Run routine `verify`. At ordinary task safe points, run `snapshot create --reason configured-interval`; it is a no-op until `project.yaml.formal_state_snapshot_interval` events have accumulated. At version closeout, create a version-boundary anchor. Use `verify --history --since-anchor` for the post-anchor chain. Use `verify --history` for full loose history, `compacted-history` when a verified bundle replaces the legacy prefix, and `retained-history` when only a retention receipt remains.
|
|
95
|
+
9. Checkpoint or finish the runtime task with the resulting IDs and revisions.
|
|
55
96
|
|
|
56
|
-
|
|
97
|
+
Artifact mutations use `--expected-revision`; workflow mutations use `--expected-scope-revision`. Independent development and release commands that were prepared from the same inspection may wait for the current formal transaction and then both commit, because each compares only its owning aggregate. Two writers of the same aggregate fail closed on its revision conflict. Never combine the two revision options. A conflict means another writer won that aggregate; inspect and reconcile before choosing a new command.
|
|
57
98
|
|
|
58
99
|
## Integrity
|
|
59
100
|
|
|
60
|
-
The CLI uses one shared formal-state lock,
|
|
101
|
+
The CLI uses one shared formal-state lock, recoverable transactional replacement, SHA-256 artifact checksums, checksummed authoritative event shards, and append-style JSONL audit events. The shared commit section prevents concurrent streams from overwriting each other's audit append; mutation writers wait up to 30 seconds for an identifiable active writer and then re-read and compare their own aggregate. Artifact and workflow mutations use the same schema 2 delta contract: every record carries a transaction ID, idempotency key, before/after stream revisions, only the affected aggregate operations, the previous record checksum, the resulting view checksum, and its own record checksum. A transition or Gate that consumes registered evidence appends a separate relation to the registry's top-level `handoffs` collection without changing any artifact revision, and commits the workflow and artifact deltas under one transaction ID; either both streams commit or both roll back. The artifact delta carries only the new handoff relation rather than the complete relation history. Scope start commits its `project.yaml` compatibility identity in the same journal as the workflow shard, workflow view, and JSONL index. All targets are durably staged before a prepared journal is written. A caught failure rolls the whole semantic action back; after process interruption, read commands fail closed and the next locked mutation or `rebuild` rolls back a prepared journal or validates and cleans a committed journal. Existing full-snapshot shards remain read-only and may be replayed as the base for later deltas.
|
|
102
|
+
|
|
103
|
+
Trusted formal-state snapshots live under `.workflow/control/snapshots/formal-state/<anchor-id>/`. Each anchor keeps exact workflow and registry views plus their checksums, stream revisions, record-chain heads, and the JSONL byte/event boundary; `latest.yaml` points to the current trusted anchor. The first anchor requires a successful full-history audit. Later anchors validate only the suffix from the previous trusted anchor before advancing the pointer. Routine `verify` validates the anchor and current invariants, then reads only the JSONL suffix and never decompresses history archives. `verify --history --since-anchor` also reads and replays only post-anchor shards. Before compaction or retention pruning, `verify --history` traverses every loose shard. A compact archive preserves and replays the original legacy prefix and reports `compacted-history`; a prune receipt has no original bytes and therefore reports `retained-history` while verifying only the trusted anchor plus suffix.
|
|
104
|
+
|
|
105
|
+
`snapshot references` is the single trusted projection used by `archive-version`. It validates the latest pointer, anchor, exact snapshots, target scope manifest, and selected immutable candidate under the formal read lock, then returns relative JSON Pointer references and checksums for scope, candidate, every Gate decision, and the history anchor. An optional requested candidate ID is only a consistency assertion and must equal the candidate selected in the anchored workflow state. Missing or mismatched formal evidence fails before task archive files are written; task-state code must not reimplement anchor validation or emit nullable formal references.
|
|
61
106
|
|
|
62
107
|
Formal approval is never inferred. A Gate decision requires an explicit actor, rationale, and registered evidence. A Hook event, chat message, file timestamp, UI state, or successful command alone is not approval.
|
|
63
108
|
|
|
64
|
-
Version completion never implies release intent. Registering a `release-ready` artifact or completing `12-version-closeout` must not create an R-node transition. `R00-release-request` requires successful evidence registered on R00 with `artifact_type: release-request`. Mandatory Gate IDs are `GATE-A`, `GATE-B`, `UX-
|
|
109
|
+
Version completion never implies release intent. Registering a `release-ready` artifact or completing `06-version-closeout` or compatibility `12-version-closeout` must not create an R-node transition. `R00-release-request` requires successful evidence registered on R00 with `artifact_type: release-request`. Mandatory active Gate IDs are `GATE-A`, `GATE-B`, `UX-VS`, `UX-UI`, and `PRODUCTION-APPROVAL`. Only a genuinely non-visual experience scope may use `not-required` for an active UX Gate; the decision must retain its experience evidence and add successful product-terminal evidence from `01-product-shaping` or compatibility `02-product-definition` whose artifact type contains `terminal` (the canonical type is `product-terminal-scope`). Gate A, Gate B, and production approval require `approved`.
|
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Install all delivery Skills under `.agents/skills/`, keep Hook configuration in `.codex/config.toml`, and write durable workflow documents under `.workflow/`. Formal state is mutated only by `.workflow/tools/state/state.mjs`; runtime tasks are mutated only by `task-state.mjs`.
|
|
6
6
|
|
|
7
|
-
Formal state schema 2 separates `development_state` from `release_state`. The two scopes own independent IDs, revisions, nodes, Gates, and selections while sharing only the serialized audit revision and cumulative/production identities. Start
|
|
7
|
+
Formal state schema 2 separates `development_state` from `release_state`. The two scopes own independent IDs, revisions, nodes, Gates, and selections while sharing only the serialized audit revision and cumulative/production identities. Workflow mutations compare the owning scope revision, so development and release actions prepared from the same inspection can commit independently; same-scope stale writers fail closed. Start the scopes with `iteration-started` and `release-started` respectively. Release activity never prevents the next cumulative development version from starting.
|
|
8
8
|
|
|
9
9
|
## Development State Machine
|
|
10
10
|
|
|
11
|
-
`00-bootstrap -> 01-product-
|
|
11
|
+
`00-bootstrap -> 01-product-shaping(GATE-A -> GATE-B) -> 02-solution-design(UX-VS -> UX-UI) -> 03-delivery-readiness -> 04-implementation -> 05-candidate-assurance -> 06-version-closeout -> release-ready`
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
This is the installed `development-seven-node` producer route. New producer tasks, artifacts, and requested formal transitions use these node IDs. `development-legacy-13` is read-only compatibility: inspect, verify, rebuild, and explicit migration may consume historical records, while new task, artifact, transition, candidate, closeout, and Gate writes are rejected. Release nodes `R00-release-request` through `R10-release-archive` remain writable.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Within `03-delivery-readiness`, platform preparation may start after the initial architecture baseline and must join planning and test design before scope freeze. Within `05-candidate-assurance`, change review and candidate verification bind to the same immutable candidate. Closeout creates an immutable version-ready Tag, advances `line/<product-id>`, archives closed version tasks, and stops. It never changes `main` or starts a release.
|
|
16
|
+
|
|
17
|
+
The state CLI enforces graph prerequisites. A later iteration may satisfy an unaffected prerequisite with a registered successful approved baseline artifact whose identity and checksum still match instead of replaying the node. Reopening a completed node requires an explicit reason and creates a new node attempt, so prior Gate decisions cannot silently approve revised output.
|
|
16
18
|
|
|
17
19
|
## Independent Release State Machine
|
|
18
20
|
|
|
@@ -22,7 +24,7 @@ Only explicit user release intent may create R00. The user selects a cumulative
|
|
|
22
24
|
|
|
23
25
|
## Gates And Transition Rules
|
|
24
26
|
|
|
25
|
-
Retain discovery Gate A, product Gate B, major architecture decisions, prototype tool selection, mandatory human `UX-
|
|
27
|
+
Retain discovery Gate A, product Gate B, major architecture decisions, prototype tool selection, mandatory human `UX-VS`/`UX-UI`, standard governance, and exact-package production approval. Product reconciliation after all prototype candidates must be `valid/aligned`; intermediate handoffs use downstream contract validation.
|
|
26
28
|
|
|
27
29
|
Advance only from immutable referenced inputs. Mark dependents stale after upstream change. Preserve failed candidates, releases, Tags, and deployment records. Treat image rollback as deployment state, never Git state. On restart reconcile workspace, Git, artifacts, and external systems; never automatically replay production actions.
|
|
28
30
|
|
|
@@ -26,8 +26,8 @@ Coordinate `R00` through `R10`. Never infer release intent from completed versio
|
|
|
26
26
|
7. `R07-production-approval`: request mandatory Gate `PRODUCTION-APPROVAL`, bound to the exact package checksum and target environment. It cannot be waived with `not-required`.
|
|
27
27
|
8. `R08-production-deployment`: invoke `$ai-delivery-deploy-production` only after approval.
|
|
28
28
|
9. `R09-production-verification`: invoke `$ai-delivery-verify-production` and decide `released` or rollback/recovery.
|
|
29
|
-
10. `R10-release-archive`: register the final archive artifact as `released`, complete R10 with that artifact as evidence, tag the released commit, then run `state.mjs transition --expected-revision <revision> --event release-archived --iteration-id <release-id> --artifact-id <archive-artifact-id> --production-version-id <version-id>`.
|
|
29
|
+
10. `R10-release-archive`: register the final archive artifact as `released`, complete R10 with that artifact as evidence, tag the released commit, then run `state.mjs transition --expected-scope-revision <release-scope-revision> --event release-archived --iteration-id <release-id> --artifact-id <archive-artifact-id> --production-version-id <version-id>`. Run `verify --history` before compacting release task context. Never edit production identity fields directly.
|
|
30
30
|
|
|
31
|
-
Run formal `verify` at every handoff. Preserve failed releases and evidence. Stop instead of replaying a production action after recovery.
|
|
31
|
+
Run routine formal `verify` at every handoff and reserve `verify --history` for R10 or an explicit history audit. Preserve failed releases and evidence. Stop instead of replaying a production action after recovery.
|
|
32
32
|
|
|
33
33
|
Read [release-workflow-contract.md](references/release-workflow-contract.md) and use the request and selection assets.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Orchestrate Release"
|
|
3
|
-
short_description: "Publish selected cumulative versions on demand"
|
|
4
|
-
default_prompt: "Use $ai-delivery-orchestrate-release to start or resume an explicit production release."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Orchestrate Release"
|
|
3
|
+
short_description: "Publish selected cumulative versions on demand"
|
|
4
|
+
default_prompt: "Use $ai-delivery-orchestrate-release to start or resume an explicit production release."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Independent Release Workflow Contract
|
|
2
2
|
|
|
3
|
-
The development state machine ends at `
|
|
3
|
+
The development state machine ends at `06-version-closeout`. Only an explicit user request creates `R00-release-request`.
|
|
4
4
|
|
|
5
5
|
Each release owns `.workflow/releases/<release-id>/R00-release-request/` through `R10-release-archive/`. Every node consumes registered immutable inputs and registers versioned outputs. Release IDs are unique even when the target commit and image digest were previously deployed.
|
|
6
6
|
|
|
@@ -9,7 +9,11 @@ Plan business capability increments. Do not pre-split work into fixed frontend,
|
|
|
9
9
|
|
|
10
10
|
## Artifact Location
|
|
11
11
|
|
|
12
|
-
Write every workflow document produced by this skill under project `.workflow/`, defaulting version-scoped planning outputs to `.workflow/iterations/<iteration-id
|
|
12
|
+
Write every workflow document produced by this skill under project `.workflow/`, defaulting version-scoped planning outputs to `.workflow/iterations/<iteration-id>/03-delivery-readiness/`. Do not relocate source code, automated test source, repository configuration, or non-document build artifacts.
|
|
13
|
+
|
|
14
|
+
## Development Node
|
|
15
|
+
|
|
16
|
+
This Skill owns the planning task phases inside `03-delivery-readiness` and converges with platform preparation and test design. Delivery Readiness completes only after their exact evidence is current and `scope freeze` has bound the approved Slice, requirement, acceptance, logical-task, and formal-artifact sets. Reusing an unaffected approved planning input never bypasses a new scope freeze for the current version.
|
|
13
17
|
|
|
14
18
|
## Task State
|
|
15
19
|
|
|
@@ -19,7 +23,7 @@ Write every workflow document produced by this skill under project `.workflow/`,
|
|
|
19
23
|
|
|
20
24
|
## Preflight
|
|
21
25
|
|
|
22
|
-
Read approved product, final architecture, and experience baselines; exact `ui-handoff.yaml`; aligned `product-prototype-reconciliation.yaml`; experience/requirement change sets; interaction, visual, component, and page-component contracts; the confirmed
|
|
26
|
+
Read approved product, final architecture, and experience baselines; exact `ui-handoff.yaml`; aligned `product-prototype-reconciliation.yaml`; experience/requirement change sets; interaction, visual, component, and page-component contracts; the exact confirmed Prototype revision and checksum; its source and review-bundle checksums; the normalized terminal, Page, Review Scene, trigger-condition, route, and UI Mapping catalogs; and the accepted architecture receipt; current backlog; production state; applicable standards; and unresolved risks. Require `development_readiness: ready-for-development` and reject stale changes, missing or conflicting references, non-passing decisions, or identity/checksum mismatches. Never infer a relationship from a file name or catalog order. Distinguish product priority from technical execution order.
|
|
23
27
|
|
|
24
28
|
## Workflow
|
|
25
29
|
|
|
@@ -30,10 +34,12 @@ Read approved product, final architecture, and experience baselines; exact `ui-h
|
|
|
30
34
|
5. Define MVP or planned-version scope, cumulative version order, allowed concurrency, and risk probes. Do not assume any completed version will be published immediately.
|
|
31
35
|
6. Prefer high-value, high-risk, and early-feedback slices while respecting prerequisites.
|
|
32
36
|
7. Define entry criteria, completion criteria, and measurable iteration outcomes.
|
|
33
|
-
8. Attach the exact
|
|
37
|
+
8. Resolve each affected Page, Review Scene, UI component, frontend source, and acceptance criterion from the pinned UI Mapping. Attach the exact Prototype revision, source revision, terminal, Page, Review Scene, prototype-element, UI Mapping, UI component, and acceptance identities to every UI-bearing Slice in `slice-prototype-traceability.csv`; pin the Prototype revision and UI Mapping checksums in the scope manifest.
|
|
34
38
|
9. Map every actionable `added`, `modified`, `retired`, or `superseded` row to a selected slice in `slice-experience-change-traceability.csv`. Preserve its phase status and implementation/test impact; do not schedule `proposed`, `blocked`, or `stale` changes.
|
|
35
39
|
10. Record deviations when technical sequence delays a higher business priority; request human approval only if release scope or an approved product decision changes.
|
|
36
|
-
11.
|
|
40
|
+
11. At Delivery Readiness, prepare the scope manifest and invoke formal-state `scope freeze` with the approved Slice, requirement, acceptance, required-task, and required-artifact IDs. This enables `scope_contract_version: 1`; downstream readiness is read from `inspect.derived_node_states`, and governed node completion produces a completion receipt.
|
|
41
|
+
12. Keep the frozen scope unchanged during execution. Use `scope warn` only to record a budget overrun as `warn-only` with `reslice_performed: false`; do not automatically reslice or change acceptance. Replan or change scope only after explicit human approval through `scope amend`, preserving the superseded revision.
|
|
42
|
+
13. Replan after verified feedback rather than preserving stale dates or task lists.
|
|
37
43
|
|
|
38
44
|
## Outputs
|
|
39
45
|
|
|
@@ -47,6 +53,7 @@ Read approved product, final architecture, and experience baselines; exact `ui-h
|
|
|
47
53
|
- `slice-prototype-traceability.csv` for UI-bearing work;
|
|
48
54
|
- `slice-experience-change-traceability.csv` showing which added/modified/retired experience changes enter each slice;
|
|
49
55
|
- replanning rules and current plan baseline.
|
|
56
|
+
- a draft `scope-manifest.yaml` whose approved contents are frozen through `scope freeze`; later `scope amend` revisions are append-only and budget `scope warn` records never mutate it.
|
|
50
57
|
|
|
51
58
|
Do not output component-level technical tasks. The development orchestrator derives those just in time from a selected slice and the latest architecture.
|
|
52
59
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Plan Iteration"
|
|
3
|
-
short_description: "Prioritize and sequence vertical slices for an agile iteration"
|
|
4
|
-
default_prompt: "Use $ai-delivery-plan-iteration to plan the next agile delivery iteration."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Plan Iteration"
|
|
3
|
+
short_description: "Prioritize and sequence vertical slices for an agile iteration"
|
|
4
|
+
default_prompt: "Use $ai-delivery-plan-iteration to plan the next agile delivery iteration."
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
scope_contract_version: 1
|
|
2
|
+
manifest_id: null
|
|
3
|
+
iteration_id: null
|
|
4
|
+
revision: null
|
|
5
|
+
status: draft
|
|
6
|
+
supersedes: null
|
|
7
|
+
prototype_revision_ref: null
|
|
8
|
+
prototype_revision_checksum: null
|
|
9
|
+
ui_mapping_checksum: null
|
|
10
|
+
slices: []
|
|
11
|
+
requirements: []
|
|
12
|
+
acceptance: []
|
|
13
|
+
required_tasks: []
|
|
14
|
+
required_artifacts: []
|
|
15
|
+
approved_by: null
|
|
16
|
+
approval_reason: null
|
|
17
|
+
manifest_checksum: null
|
package/skills/ai-delivery-plan-iteration/assets/planning-template/slice-prototype-traceability.csv
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
slice_id,
|
|
1
|
+
slice_id,prototype_revision_id,source_revision,terminal_id,page_id,review_scene_id,prototype_element_id,ui_mapping_id,ui_component_id,acceptance_id
|
|
@@ -24,17 +24,23 @@ Use dependency types `blocks`, `enables`, and `validates`.
|
|
|
24
24
|
|
|
25
25
|
`slice-prototype-traceability.csv`:
|
|
26
26
|
|
|
27
|
-
`slice_id,
|
|
27
|
+
`slice_id,prototype_revision_id,source_revision,terminal_id,page_id,review_scene_id,prototype_element_id,ui_mapping_id,ui_component_id,acceptance_id`
|
|
28
28
|
|
|
29
29
|
`slice-experience-change-traceability.csv`:
|
|
30
30
|
|
|
31
31
|
`slice_id,experience_change_id,change_type,phase_status,implementation_impact,test_impact`
|
|
32
32
|
|
|
33
|
+
## Frozen Scope
|
|
34
|
+
|
|
35
|
+
Use `scope-manifest.yaml` to prepare the Delivery Readiness decision. It lists the approved Slices, requirements, acceptance IDs, required logical tasks, and required formal artifacts. After approval, call formal-state `scope freeze`; this enables `scope_contract_version: 1` and stores an append-only revision plus checksum in `workflow-state.yaml`. The planning file is an input draft, not an authority to edit formal state directly.
|
|
36
|
+
|
|
37
|
+
After freeze, `scope amend` is the only scope-change operation and requires explicit human approval plus `--supersedes` for the current revision. `scope warn` only records an exceeded budget as `action: warn-only` and `reslice_performed: false`; it does not replan, reslice, or change acceptance. Read node readiness from `inspect.derived_node_states`. A governed node completes only from `ready-to-complete`, and the formal-state CLI writes a completion receipt bound to the current manifest, task facts, Gate decisions, artifacts, candidate, blocking defects, and evidence. Historical scopes without `scope_contract_version` remain on the legacy completion contract.
|
|
38
|
+
|
|
33
39
|
## Rules
|
|
34
40
|
|
|
35
41
|
- Preserve business priority from product sources.
|
|
36
42
|
- Use technical constraints to choose sequence, not to silently redefine priority.
|
|
37
43
|
- Prefer thin end-to-end behavior over horizontal frontend/backend layers.
|
|
38
|
-
- Pin the ready UI handoff, aligned product reconciliation, experience-change set,
|
|
44
|
+
- Pin the ready UI handoff, aligned product reconciliation, experience-change set, exact Prototype revision/checksum, source and review-bundle checksums, UI Mapping checksum, normalized catalog checksums, review/adjustment checksums, impact-assessment checksum, and accepted architecture receipt in the iteration plan. Resolve UI-bearing Slices to individual experience-change, terminal, Page, Review Scene, prototype-element, UI Mapping, UI component, and acceptance rows without delimiter-packed CSV fields. Reject missing or conflicting references and never infer relationships from file names or row order. Schedule only `ready-for-development` changes.
|
|
39
45
|
- Describe affected component scope only at planning time; defer technical tasks and roles to development.
|
|
40
46
|
- Replan from verified evidence and record scope-impact decisions.
|
|
@@ -9,7 +9,11 @@ Run as a parallel stream after initial architecture and join application develop
|
|
|
9
9
|
|
|
10
10
|
## Artifact Location
|
|
11
11
|
|
|
12
|
-
Write every platform plan, configuration inventory, environment ledger, readiness report, and workflow document under project `.workflow/`, defaulting version-scoped outputs to `.workflow/iterations/<iteration-id
|
|
12
|
+
Write every platform plan, configuration inventory, environment ledger, readiness report, and workflow document under project `.workflow/`, defaulting version-scoped outputs to `.workflow/iterations/<iteration-id>/03-delivery-readiness/`. Infrastructure source and executable configuration remain in architecture-defined repository locations and are referenced by path, version, and checksum.
|
|
13
|
+
|
|
14
|
+
## Development Node
|
|
15
|
+
|
|
16
|
+
This Skill contributes a parallel task stream inside `03-delivery-readiness`; it does not create a separate platform formal node. Its exact environment and platform readiness evidence joins planning and test-design evidence before scope freeze. An unaffected approved platform baseline may be reused only by registered identity and checksum when architecture and selected Slice impacts leave it valid.
|
|
13
17
|
|
|
14
18
|
## Task State
|
|
15
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Prepare Delivery Platform"
|
|
3
|
-
short_description: "Prepare CI/CD, environments, infrastructure, and observability"
|
|
4
|
-
default_prompt: "Use $ai-delivery-prepare-platform to prepare delivery and operations capabilities."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Prepare Delivery Platform"
|
|
3
|
+
short_description: "Prepare CI/CD, environments, infrastructure, and observability"
|
|
4
|
+
default_prompt: "Use $ai-delivery-prepare-platform to prepare delivery and operations capabilities."
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Prepare Release"
|
|
3
|
-
short_description: "Freeze an immutable version and complete delivery inventory"
|
|
4
|
-
default_prompt: "Use $ai-delivery-prepare-release to prepare the current iteration for production release."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Prepare Release"
|
|
3
|
+
short_description: "Freeze an immutable version and complete delivery inventory"
|
|
4
|
+
default_prompt: "Use $ai-delivery-prepare-release to prepare the current iteration for production release."
|
|
@@ -9,7 +9,11 @@ Review independently from the implementation context. Do not edit product code o
|
|
|
9
9
|
|
|
10
10
|
## Artifact Location
|
|
11
11
|
|
|
12
|
-
Write every review report, findings table, decision, and evidence reference produced by this skill under project `.workflow
|
|
12
|
+
Write every review report, findings table, decision, and evidence reference produced by this skill under project `.workflow/`. Work-package reviews stay in `.workflow/iterations/<iteration-id>/04-implementation/`; candidate-wide reviews stay in `.workflow/iterations/<iteration-id>/05-candidate-assurance/`. Do not write review documents beside application source.
|
|
13
|
+
|
|
14
|
+
## Development Node
|
|
15
|
+
|
|
16
|
+
Use `04-implementation` for pre-merge package review phases. Use `05-candidate-assurance` for the candidate-wide independent change review bound to that node attempt's immutable candidate. Review rounds remain phases and finding records under the stable logical task; they never create another formal development node.
|
|
13
17
|
|
|
14
18
|
## Task State
|
|
15
19
|
|
|
@@ -19,7 +23,13 @@ Write every review report, findings table, decision, and evidence reference prod
|
|
|
19
23
|
|
|
20
24
|
## Preflight
|
|
21
25
|
|
|
22
|
-
Read the work package, diff, approved source artifacts, standards versions, architecture constraints, TDD evidence, test results, allowed modification scope, exact UI handoff
|
|
26
|
+
Read the work package, diff, approved source artifacts, standards versions, architecture constraints, TDD evidence, test results, allowed modification scope, exact UI handoff and `product-prototype-reconciliation.yaml` checksums, Prototype revision and UI Mapping checksums, task-to-experience-change actions, and terminal/Page/Review Scene/prototype-element/UI component/frontend-source/acceptance mappings for UI-bearing work. Reject missing or conflicting references and never infer relationships from file names or row order. Re-run relevant checks when evidence is absent or stale.
|
|
27
|
+
|
|
28
|
+
## Two-Phase Review Protocol
|
|
29
|
+
|
|
30
|
+
1. **Feedback collection:** enter the review phase to pin the complete diff or immutable candidate plus its source contracts as `review_subject_baseline`, then collect the full review batch across every axis. Append structured findings to the current review phase and record `review_axes` plus the `collection_decision`. Make no code changes during feedback collection, and do not ask the executor to repair one finding while other axes remain unreviewed.
|
|
31
|
+
2. **Approved change set:** group every current open finding into a coherent proposed change set. Before any repair, record an approval actor, rationale, exact finding IDs, allowed files, expected evidence, and stable `change_set_id`; the task CLI rejects any subject drift, promotes the pinned subject to the repair baseline, and computes the canonical collection checksum. The independent reviewer never applies the set. The work-package executor applies only the approved change set in a repair phase, records evidence against each finding, and does not broaden scope.
|
|
32
|
+
3. Run one concentrated rereview after every approved change-set item has evidence. Recheck affected and adjacent behavior, then resolve findings in the review phase with the same `change_set_id` and the exact Git files changed since approval. A newly discovered issue starts a new feedback collection and cannot be smuggled into the already approved set.
|
|
23
33
|
|
|
24
34
|
## Review Axes
|
|
25
35
|
|
|
@@ -29,12 +39,12 @@ Read the work package, diff, approved source artifacts, standards versions, arch
|
|
|
29
39
|
4. **Correctness:** inspect error paths, state transitions, concurrency, compatibility, resource handling, and rollback impact.
|
|
30
40
|
5. **Tests:** verify behavior through confirmed seams, independent expected values, useful failure sensitivity, and adequate regression coverage.
|
|
31
41
|
6. **Scope:** flag unrelated files, hidden generated changes, dependency drift, and ownership violations.
|
|
32
|
-
7. **Experience conformance:** for UI-bearing changes, verify each `ready-for-development` experience change was implemented with its declared create/update/remove/migrate/no-code action, exact
|
|
42
|
+
7. **Experience conformance:** for UI-bearing changes, run `ai-delivery frontend-guard verify-diff <workspace> --base <review-subject-base> --head <review-subject-head>` and require its independent Git diff, revision-bound frontend scope, current Page approval, and UI Mapping checks to pass. Then verify each `ready-for-development` experience change was implemented with its declared create/update/remove/migrate/no-code action, exact Prototype revision, interaction/component-state obligations, and stable UI Mapping relationships across Page, Review Scene, component, frontend source, and acceptance identities; reject stale, untracked, or visually inferred work. Never accept Hook logs or a local `check-file` result as substitute evidence.
|
|
33
43
|
|
|
34
44
|
## Output
|
|
35
45
|
|
|
36
46
|
Report findings first, ordered by severity, with tight file and line references. For each finding include evidence, violated source ID, impact, and required correction. Then report open questions, check results, residual risk, and one decision: `pass`, `fail`, or `blocked`.
|
|
37
47
|
|
|
38
|
-
Do not use `pass` when required checks did not run. Do not repair findings yourself; return
|
|
48
|
+
Do not use `pass` when required checks did not run. Do not repair findings yourself; return the approved change set to the work-package executor and wait for concentrated rereview evidence.
|
|
39
49
|
|
|
40
50
|
Read [review-contract.md](references/review-contract.md).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Review Change"
|
|
3
|
-
short_description: "Independently review a code change against standards and specs"
|
|
4
|
-
default_prompt: "Use $ai-delivery-review-change to independently review the current code change."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Review Change"
|
|
3
|
+
short_description: "Independently review a code change against standards and specs"
|
|
4
|
+
default_prompt: "Use $ai-delivery-review-change to independently review the current code change."
|
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
Record finding ID, severity, title, file and line, evidence, violated artifact or standard ID, impact, and required correction.
|
|
13
13
|
|
|
14
|
+
## Two-Phase Session
|
|
15
|
+
|
|
16
|
+
Entering the review phase pins one `review_subject_baseline`; feedback collection records the complete append-only finding batch against that subject before repair begins. There must be no code change during feedback collection, and approval fails if the current Git state no longer matches the pinned subject. Close the collection by supplying the reviewed axes, exact finding IDs, and decision; the task CLI persists the canonical collection.
|
|
17
|
+
|
|
18
|
+
An approved change set is persisted through task `--change-set-json` with a stable `change_set_id`, approval actor, rationale, every current open finding ID, repository-relative allowed files, expected evidence, `review_axes`, and `collection_decision`. The task CLI captures the code `repair_baseline`, persists the canonical `feedback_collection`, and computes the SHA-256 `collection_checksum`. The executor applies that set in a repair phase; the reviewer does not edit the code. During concentrated rereview, a resolved finding declares the exact Git `changed_files` since approval, and the CLI rejects an invented change-set ID, a finding outside the approved set, missing expected evidence, undeclared actual changes, or a file outside the approval. New findings require a new feedback collection and approved change set.
|
|
19
|
+
|
|
14
20
|
## Decision
|
|
15
21
|
|
|
16
22
|
Return `pass` only when no blocking findings remain and required checks ran. Return `fail` for confirmed blocking findings and `blocked` when evidence or execution prerequisites are missing.
|
|
@@ -9,7 +9,11 @@ Classify ownership without fixing the defect.
|
|
|
9
9
|
|
|
10
10
|
## Artifact Location
|
|
11
11
|
|
|
12
|
-
Write every triage report, defect route, evidence index, and workflow document produced by this skill under project `.workflow
|
|
12
|
+
Write every triage report, defect route, evidence index, and workflow document produced by this skill under project `.workflow/`. Implementation-origin reports stay in `.workflow/iterations/<iteration-id>/04-implementation/`; candidate-origin reports stay in `.workflow/iterations/<iteration-id>/05-candidate-assurance/`. Raw external evidence may remain in controlled systems only when immutable references and checksums are recorded in `.workflow/`.
|
|
13
|
+
|
|
14
|
+
## Development Node
|
|
15
|
+
|
|
16
|
+
Triage is a phase of the stable logical task in the node where the failure was observed, not its own formal node. Use `04-implementation` for package, developer-test, and repair failures. Use `05-candidate-assurance` for failures against the bound candidate, then route the correction to the earliest owning producer. A correction that changes candidate bytes returns through `04-implementation`, creates a new immutable candidate, and requires a new Candidate Assurance attempt.
|
|
13
17
|
|
|
14
18
|
## Task State
|
|
15
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Triage Test Failure"
|
|
3
|
-
short_description: "Classify test failures and route them to the owning stage"
|
|
4
|
-
default_prompt: "Use $ai-delivery-triage-failure to classify and route the observed failure."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Triage Test Failure"
|
|
3
|
+
short_description: "Classify test failures and route them to the owning stage"
|
|
4
|
+
default_prompt: "Use $ai-delivery-triage-failure to classify and route the observed failure."
|
|
@@ -26,9 +26,12 @@ Require every workflow document to resolve under project `.workflow/` unless it
|
|
|
26
26
|
5. Verify required artifact sets for the target handoff.
|
|
27
27
|
6. Verify baseline immutability, version increments, stale flags, and downstream impact declarations.
|
|
28
28
|
7. Verify status transitions and human gates.
|
|
29
|
-
8. Verify traceability from product goals through features, terminals, stories, acceptance criteria,
|
|
30
|
-
9. For UI-bearing scope, validate the human tool-selection Gate,
|
|
31
|
-
10.
|
|
29
|
+
8. Verify traceability from product goals through features, terminals, stories, acceptance criteria, Pages, Review Scenes, prototype elements, UI Mapping rows, UI components, frontend sources, Slices, tasks, tests, release items, and deployment evidence as applicable.
|
|
30
|
+
9. For UI-bearing scope, validate the human tool-selection Gate, mandatory `UX-VS` and `UX-UI` human decisions, production-compatible runnable Prototype, stable Page and Review Scene identities, normalized terminal/trigger/route relations, Review Units, adjustment history, impact propagation, and aligned `product-prototype-reconciliation.yaml`. Validate that Workflow Manager evidence names the same checksummed target used by the Gate, uses its loopback origin and allowlisted review action, and contains no target revision drift; before `UX-VS`, its only content target is the Visual Reference, and afterward it is one exact Prototype revision.
|
|
31
|
+
10. Validate every Prototype Page review receipt as an immutable checksummed YAML record under `.workflow/delivery/reviews/prototype-pages/<revision-id>/`. Reject an invalid or extra field, file-path/identity mismatch, actor, timestamp, receipt checksum, Prototype revision checksum, Page checksum, Scene checksum, or evidence checksum. Derive status from the current revision or its checksum-validated `previous_revision` ancestor chain, nearest ancestor first; reject inheritance from descendants or unrelated revisions. Carry forward only when the selected prior decision is approved and the complete Page checksum is identical; preserve a later changes-requested decision on that ancestor, and derive stale after any evidence change. Require the final Page receipt and approved `UX-UI` Gate decision to reference each other through the same actor, iteration, Prototype revision, and receipt checksum, and reject any later receipt unless a new pending `UX-UI` request exists.
|
|
32
|
+
11. Verify that UI handoff, experience confirmation, architecture validation, test validation, planning, development, and verification all pin the same exact Prototype revision/checksum, source revision/checksum, review-bundle checksum, UI Mapping checksum, normalized catalog checksums, product reconciliation, experience-change checksum, review/impact checksums, and receipt checksums. Resolve every affected Page, Review Scene, UI component, frontend source, and acceptance criterion through explicit normalized foreign keys. Reject missing or conflicting references. Never infer relationships from file names or row order. Require downstream work to consume only `ready-for-development` changes.
|
|
33
|
+
12. For every UI-bearing code handoff, validate the revision-bound `frontend-change-scope.yaml` checksum and its code root, non-empty frontend roots and extensions, shared component ownership, and file-only route registry ownership with the exact approved candidate-file SHA-256. Cross-check every active UI Mapping and ownership source against those roots and extensions; a declared source that would be skipped invalidates the scope. Run `ai-delivery frontend-guard verify-diff` with the handoff's fixed base and candidate head; require the independent Git diff to have current approved Page receipts and exact UI Mapping or scope coverage, and read changed route registries from the fixed candidate Git object rather than the mutable worktree. Reject Hook-only evidence, unmapped new or removed UI files, unapproved route-registry content, pending/changes-requested/stale Pages, and scope or revision drift.
|
|
34
|
+
13. Before Candidate Assurance can pass a UI-bearing candidate, require successful `ui-acceptance plan` and `ui-acceptance verify` reports bound to the active attempt and immutable candidate checksum. Check exact Page/Scene/viewport coverage, pinned Playwright environment, visual diff counts and evidence, interaction and WCAG 2.2 AA checks, keyboard/focus/touch-target/text-overflow/responsive/recovery results, protocol evidence, Scenario Pack authority, and separate real backend evidence whenever Product Backend Mock rendered a Scene. Candidate checksum drift requires a new `04-implementation` candidate and Candidate Assurance attempt.
|
|
32
35
|
|
|
33
36
|
## Output
|
|
34
37
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Validate Delivery Artifacts"
|
|
3
|
-
short_description: "Validate artifact contracts, IDs, references, and baselines"
|
|
4
|
-
default_prompt: "Use $ai-delivery-validate-artifacts to validate the current delivery artifacts."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Validate Delivery Artifacts"
|
|
3
|
+
short_description: "Validate artifact contracts, IDs, references, and baselines"
|
|
4
|
+
default_prompt: "Use $ai-delivery-validate-artifacts to validate the current delivery artifacts."
|