ai-delivery-workflow 0.4.0 → 0.5.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 +2 -2
- package/bin/release-check.mjs +8 -2
- package/docs/DUAL-REPOSITORY-WORKSPACE.zh-CN.md +13 -0
- package/docs/FILE-REFERENCE.zh-CN.md +11 -8
- package/docs/NPM-RELEASE-MANAGEMENT.zh-CN.md +2 -1
- package/docs/PROJECT-MANUAL.zh-CN.md +27 -5
- package/docs/STATE-CLI-USER-GUIDE.zh-CN.md +1 -1
- package/docs/adr/0006-product-line-candidate-inventory.md +20 -0
- package/docs/agents/domain.md +31 -6
- package/docs/agents/issue-tracker.md +17 -18
- package/docs/agents/triage-labels.md +7 -7
- package/docs/agents/workflow-manager-current-state.md +2 -2
- package/lib/npm-auth.mjs +16 -0
- package/package.json +1 -1
- package/skills/ai-delivery-assemble-release/SKILL.md +10 -8
- package/skills/ai-delivery-assemble-release/agents/openai.yaml +3 -3
- package/skills/ai-delivery-assemble-release/assets/release-candidate-manifest.yaml +16 -4
- package/skills/ai-delivery-assemble-release/assets/release-git-plan.yaml +96 -6
- package/skills/ai-delivery-assemble-release/assets/version-inclusion.csv +2 -2
- package/skills/ai-delivery-assemble-release/references/release-assembly-contract.md +16 -2
- package/skills/ai-delivery-assemble-release/scripts/plan-release.mjs +127 -3
- package/skills/ai-delivery-bootstrap/agents/openai.yaml +3 -3
- package/skills/ai-delivery-checkpoint-task/agents/openai.yaml +3 -3
- package/skills/ai-delivery-close-version/agents/openai.yaml +3 -3
- package/skills/ai-delivery-define-product/agents/openai.yaml +4 -4
- package/skills/ai-delivery-deploy-production/agents/openai.yaml +3 -3
- package/skills/ai-delivery-design-experience/agents/openai.yaml +4 -4
- package/skills/ai-delivery-develop-iteration/agents/openai.yaml +3 -3
- package/skills/ai-delivery-evolve-workflow/agents/openai.yaml +3 -3
- package/skills/ai-delivery-execute-test/agents/openai.yaml +4 -4
- package/skills/ai-delivery-execute-work-package/agents/openai.yaml +4 -4
- package/skills/ai-delivery-manage-git/SKILL.md +9 -7
- package/skills/ai-delivery-manage-git/agents/openai.yaml +3 -3
- package/skills/ai-delivery-manage-git/references/git-policy.md +7 -3
- package/skills/ai-delivery-manage-git/scripts/release-git.mjs +995 -0
- package/skills/ai-delivery-manage-standards/agents/openai.yaml +4 -4
- package/skills/ai-delivery-orchestrate/agents/openai.yaml +3 -3
- package/skills/ai-delivery-orchestrate/assets/project-template/AGENTS.md +5 -3
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/CONTRIBUTING.md +25 -25
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airbnb/DESIGN.md +545 -545
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airbnb/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airtable/DESIGN.md +554 -554
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/airtable/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/apple/DESIGN.md +562 -562
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/apple/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/binance/DESIGN.md +634 -634
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/binance/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw/DESIGN.md +544 -544
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw-m/DESIGN.md +503 -503
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bmw-m/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bugatti/DESIGN.md +454 -454
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/bugatti/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cal/DESIGN.md +542 -542
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cal/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/claude/DESIGN.md +589 -589
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/claude/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clay/DESIGN.md +541 -541
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clay/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clickhouse/DESIGN.md +544 -544
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/clickhouse/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cohere/DESIGN.md +451 -451
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cohere/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/coinbase/DESIGN.md +570 -570
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/coinbase/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/composio/DESIGN.md +506 -506
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/composio/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cursor/DESIGN.md +537 -537
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/cursor/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/dell-1996/DESIGN.md +632 -632
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/dell-1996/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/elevenlabs/DESIGN.md +504 -504
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/elevenlabs/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/expo/DESIGN.md +526 -526
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/expo/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ferrari/DESIGN.md +531 -531
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ferrari/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/figma/DESIGN.md +578 -578
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/figma/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/framer/DESIGN.md +544 -544
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/framer/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hashicorp/DESIGN.md +575 -575
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hashicorp/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hp/DESIGN.md +670 -670
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/hp/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ibm/DESIGN.md +550 -550
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ibm/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/intercom/DESIGN.md +546 -546
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/intercom/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/kraken/DESIGN.md +125 -125
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/kraken/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lamborghini/DESIGN.md +288 -288
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lamborghini/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/linear.app/DESIGN.md +548 -548
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/linear.app/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lovable/DESIGN.md +298 -298
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/lovable/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mastercard/DESIGN.md +365 -365
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mastercard/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/meta/DESIGN.md +683 -683
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/meta/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/minimax/DESIGN.md +746 -746
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/minimax/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mintlify/DESIGN.md +852 -852
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mintlify/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/miro/DESIGN.md +825 -825
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/miro/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mistral.ai/DESIGN.md +773 -773
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mistral.ai/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mongodb/DESIGN.md +767 -767
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/mongodb/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nike/DESIGN.md +575 -575
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nike/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nintendo-2001/DESIGN.md +649 -649
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nintendo-2001/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/notion/DESIGN.md +821 -821
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/notion/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nvidia/DESIGN.md +640 -640
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/nvidia/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ollama/DESIGN.md +539 -539
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/ollama/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/opencode.ai/DESIGN.md +521 -521
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/opencode.ai/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/pinterest/DESIGN.md +597 -597
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/pinterest/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/playstation/DESIGN.md +661 -661
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/playstation/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/posthog/DESIGN.md +690 -690
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/posthog/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/raycast/DESIGN.md +669 -669
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/raycast/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/renault/DESIGN.md +589 -589
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/renault/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/replicate/DESIGN.md +616 -616
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/replicate/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/resend/DESIGN.md +585 -585
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/resend/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/revolut/DESIGN.md +636 -636
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/revolut/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/runwayml/DESIGN.md +244 -244
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/runwayml/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sanity/DESIGN.md +357 -357
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sanity/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sentry/DESIGN.md +551 -551
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/sentry/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/shopify/DESIGN.md +516 -516
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/shopify/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/slack/DESIGN.md +482 -482
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spacex/DESIGN.md +363 -363
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spacex/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spotify/DESIGN.md +246 -246
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/spotify/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/starbucks/DESIGN.md +580 -580
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/starbucks/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/stripe/DESIGN.md +487 -487
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/stripe/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/supabase/DESIGN.md +462 -462
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/supabase/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/superhuman/DESIGN.md +448 -448
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/superhuman/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/tesla/DESIGN.md +286 -286
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/tesla/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/theverge/DESIGN.md +339 -339
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/theverge/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/together.ai/DESIGN.md +633 -633
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/together.ai/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/uber/DESIGN.md +636 -636
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/uber/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vercel/DESIGN.md +736 -736
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vercel/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vodafone/DESIGN.md +538 -538
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/vodafone/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/voltagent/DESIGN.md +521 -521
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/voltagent/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/warp/DESIGN.md +526 -526
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/warp/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/webflow/DESIGN.md +588 -588
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/webflow/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wired/DESIGN.md +497 -497
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wired/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wise/DESIGN.md +544 -544
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/wise/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/x.ai/DESIGN.md +465 -465
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/x.ai/README.md +5 -5
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/zapier/DESIGN.md +537 -537
- package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/zapier/README.md +5 -5
- package/skills/ai-delivery-orchestrate/references/workflow-model.md +1 -1
- package/skills/ai-delivery-orchestrate-release/SKILL.md +10 -10
- package/skills/ai-delivery-orchestrate-release/agents/openai.yaml +4 -4
- package/skills/ai-delivery-orchestrate-release/assets/release-request.yaml +4 -1
- package/skills/ai-delivery-orchestrate-release/assets/version-selection.yaml +13 -1
- package/skills/ai-delivery-orchestrate-release/references/release-workflow-contract.md +14 -0
- package/skills/ai-delivery-plan-iteration/agents/openai.yaml +4 -4
- package/skills/ai-delivery-prepare-platform/agents/openai.yaml +4 -4
- package/skills/ai-delivery-prepare-release/SKILL.md +6 -5
- package/skills/ai-delivery-prepare-release/agents/openai.yaml +4 -4
- package/skills/ai-delivery-prepare-release/assets/release-template/release-manifest.yaml +23 -2
- package/skills/ai-delivery-prepare-release/references/release-contract.md +5 -1
- package/skills/ai-delivery-review-change/agents/openai.yaml +4 -4
- package/skills/ai-delivery-triage-failure/agents/openai.yaml +4 -4
- package/skills/ai-delivery-validate-artifacts/agents/openai.yaml +4 -4
- package/skills/ai-delivery-verify-candidate/agents/openai.yaml +3 -3
- package/skills/ai-delivery-verify-production/SKILL.md +7 -4
- package/skills/ai-delivery-verify-production/agents/openai.yaml +3 -3
- package/skills/ai-delivery-verify-production/assets/production-verification-template/production-verification.json +9 -0
- package/skills/ai-delivery-verify-production/assets/production-verification-template/production-verification.md +20 -0
- package/skills/ai-delivery-verify-production/references/production-verification-contract.md +19 -3
package/skills/ai-delivery-orchestrate/assets/project-template/ref/ui/design-md/zapier/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Zapier Inspired Design System Analysis
|
|
2
|
-
|
|
3
|
-
Design system details have been moved to: https://getdesign.md/zapier/design-md
|
|
4
|
-
|
|
5
|
-
You can also view previews, dark mode examples, and download options on getdesign.md.
|
|
1
|
+
# Zapier Inspired Design System Analysis
|
|
2
|
+
|
|
3
|
+
Design system details have been moved to: https://getdesign.md/zapier/design-md
|
|
4
|
+
|
|
5
|
+
You can also view previews, dark mode examples, and download options on getdesign.md.
|
|
@@ -20,7 +20,7 @@ The state CLI enforces graph prerequisites. A later iteration may satisfy an una
|
|
|
20
20
|
|
|
21
21
|
`R00-release-request -> R01-version-selection -> R02-release-eligibility -> R03-material-aggregation -> R04-release-candidate -> R05-release-verification -> R06-release-preparation -> R07-production-approval -> R08-production-deployment -> R09-production-verification -> R10-release-archive`
|
|
22
22
|
|
|
23
|
-
Only explicit user release intent may create R00. The user selects a cumulative target version. The system computes the continuous range after current production through that target and blocks gaps, stale candidates, backward targets, or divergence on any adjacent code or workflow commit edge. Same-version redeploy is permitted with a new release ID and fresh snapshots, verification, and approval.
|
|
23
|
+
Only explicit user release intent may create R00. The user selects a cumulative target version, and R00 freezes the request-time `main` commit. The system computes the continuous range after current production through that target and blocks gaps, stale candidates, backward targets, a moved main snapshot, or divergence on any adjacent code or workflow commit edge. Incremental release requires the target Tag to descend from the snapshot and R04 merges that one target Tag; same-version redeploy requires the target Tag to already be reachable from the snapshot and uses the snapshot as the candidate with no new merge. R09 promotes only that verified candidate, while a successful release-fix is reconciled into line before R10 archive. Same-version redeploy is permitted with a new release ID and fresh snapshots, verification, and approval.
|
|
24
24
|
|
|
25
25
|
## Gates And Transition Rules
|
|
26
26
|
|
|
@@ -10,23 +10,23 @@ Coordinate `R00` through `R10`. Never infer release intent from completed versio
|
|
|
10
10
|
## Start From Explicit Intent
|
|
11
11
|
|
|
12
12
|
1. Inspect formal state and list eligible cumulative target versions with production and development-line context.
|
|
13
|
-
2. Require the user-selected target version.
|
|
13
|
+
2. Require the user-selected target version. At the same R00 request boundary, read the protected code `main` head and record it as `expected_main` together with `production_branch`, `release_id`, actor, rationale, target environment, current production version, and target version in `.workflow/releases/<release-id>/R00-release-request/`. Register it on R00 with successful status and `artifact_type: release-request` before starting the node. The snapshot is immutable for this release ID.
|
|
14
14
|
3. Run the formal `release-started` transition for that release ID. It initializes only `release_state` and must leave an active or completed `development_state` unchanged.
|
|
15
15
|
4. Permit `same-version-redeploy` when target equals production, but create a new release ID and require fresh environment capture, verification, and production approval.
|
|
16
16
|
5. Reject a target older than production. Route historical restoration to immutable-image rollback rather than release or Git history changes.
|
|
17
17
|
|
|
18
18
|
## Route Release Nodes
|
|
19
19
|
|
|
20
|
-
1. `R01-version-selection`: invoke `$ai-delivery-assemble-release` to calculate and freeze the version selection.
|
|
21
|
-
2. `R02-release-eligibility`: require continuous lineage, immutable tags, eligible artifacts, every adjacent code and workflow ancestry edge, available images, compatible migrations/configuration, and no stale candidate.
|
|
20
|
+
1. `R01-version-selection`: invoke `$ai-delivery-assemble-release` to calculate and freeze the version selection, including the R00 `main` snapshot and exactly one target `version-ready` Tag.
|
|
21
|
+
2. `R02-release-eligibility`: require continuous lineage, immutable tags, eligible artifacts, and the unchanged R00 main snapshot. For incremental release the snapshot must precede the target Tag; for same-version redeploy the target Tag must already be reachable from the snapshot. Also require every adjacent code and workflow ancestry edge, available images, compatible migrations/configuration, and no stale candidate.
|
|
22
22
|
3. `R03-material-aggregation`: aggregate checksummed requirements, architecture, prototypes, code, images, configuration, migrations, tests, risks, operations, and rollback materials.
|
|
23
|
-
4. `R04-release-candidate`: create `release/<release-id>-<slug>` from the
|
|
24
|
-
5. `R05-release-verification`: invoke `$ai-delivery-verify-candidate` with `scope: release
|
|
25
|
-
6. `R06-release-preparation`: invoke `$ai-delivery-prepare-release` for the selected version closure.
|
|
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
|
-
8. `R08-production-deployment`: invoke `$ai-delivery-deploy-production` only after approval.
|
|
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,
|
|
23
|
+
4. `R04-release-candidate`: invoke `$ai-delivery-manage-git`'s `scripts/release-git.mjs create-candidate` with `--release-id`, `--release-branch`, `--expected-main`, one `--source-tag`, its exact `--source-commit`, `--receipt`, and `--apply`. It creates `release/<release-id>-<slug>` from that snapshot. It merges the Tag with `--no-ff` for incremental release; for same-version redeploy when the Tag is already in the snapshot, it freezes that snapshot as the no-new-merge candidate. A moved `main` invalidates this release ID's candidate instead of changing its base.
|
|
24
|
+
5. `R05-release-verification`: invoke `$ai-delivery-verify-candidate` with `scope: release`, bound to the exact candidate merge commit. Any release-fix creates a new candidate and repeats affected verification.
|
|
25
|
+
6. `R06-release-preparation`: invoke `$ai-delivery-prepare-release` for the selected version closure and candidate identity. Freeze an immutable release Tag at the exact tested candidate before deployment; never move or reuse it.
|
|
26
|
+
7. `R07-production-approval`: request mandatory Gate `PRODUCTION-APPROVAL`, bound to the exact R00 base, source Tag/commit, candidate commit and Tag, package checksum, and target environment. It cannot be waived with `not-required`.
|
|
27
|
+
8. `R08-production-deployment`: invoke `$ai-delivery-deploy-production` only after approval, deploying the exact frozen candidate identity.
|
|
28
|
+
9. `R09-production-verification`: invoke `$ai-delivery-verify-production` and decide `released` or rollback/recovery. On `released`, first write the R09 machine-readable `production-verification.json` with `operation: production-verification-decision`, then use `scripts/release-git.mjs promote --release-id <id> --release-branch <branch> --expected-main <r00-sha> --verified-release-commit <candidate-sha> --production-verification <R09 JSON> --receipt <path> --apply` to fast-forward `main` from the unchanged R00 snapshot to precisely the verified deployed candidate commit.
|
|
29
|
+
10. `R10-release-archive`: before archival, for each deployed `release-fix/*`, freeze a schema-2 product-line `candidate-inventory.json` containing `product_id`, `line_branch`, the active candidate, and all product-line candidate identities/statuses, with each candidate retaining its own `release_id`. Invoke `scripts/release-git.mjs sync-release-fix --release-id <id> --source-ref <release-fix-branch> --source-commit <fix-sha> --verified-release-commit <candidate-sha> --line-branch <line> --expected-line <line-sha> --production-verification <R09 JSON> --candidate-inventory <predecessor-R10 JSON> --successor-candidate-inventory <new-R10 JSON> --receipt <path> --apply` to synchronize its verified fix into `line/<product-id>`. The successor path is distinct and unused; the controlled operation writes it immutably, derives `stale_candidate_ids` and `candidate_status_updates` across the product line, and binds both inventories in the receipt. Callers must not choose stale IDs. Register the `applied` merge or unchanged `idempotent` receipt, its successor-inventory binding, and the derived updates, then register the final archive artifact as `released`, complete R10 with that artifact as evidence, and 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
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
|
|
|
@@ -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,9 +1,12 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 2
|
|
2
2
|
release_id: "REL-0001"
|
|
3
3
|
product_id: "PRODUCT-001"
|
|
4
4
|
requested_by: "human:<id>"
|
|
5
5
|
rationale: "<release reason>"
|
|
6
6
|
target_environment: "production"
|
|
7
|
+
production_branch: "main"
|
|
8
|
+
expected_main: "<git-sha>"
|
|
9
|
+
main_snapshot_captured_at: "<RFC3339>"
|
|
7
10
|
current_production_version: "VER-0002"
|
|
8
11
|
target_version: "VER-0005"
|
|
9
12
|
requested_at: "<RFC3339>"
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 2
|
|
2
2
|
release_id: "REL-0001"
|
|
3
3
|
mode: "incremental"
|
|
4
|
+
production_branch: "main"
|
|
5
|
+
release_base:
|
|
6
|
+
expected_main: "<git-sha>"
|
|
7
|
+
status: "captured"
|
|
4
8
|
current_production_version: "VER-0002"
|
|
5
9
|
target_version: "VER-0005"
|
|
10
|
+
target_version_ready:
|
|
11
|
+
tag: "version-ready/VER-0005/r1"
|
|
12
|
+
commit: "<git-sha>"
|
|
13
|
+
release_merge:
|
|
14
|
+
strategy: "no-ff-single-version-ready-tag"
|
|
15
|
+
merge_created: true
|
|
16
|
+
merge_commit: null
|
|
17
|
+
status: "pending-controlled-git-operation"
|
|
6
18
|
newly_included_versions:
|
|
7
19
|
- "VER-0003"
|
|
8
20
|
- "VER-0004"
|
|
@@ -6,6 +6,20 @@ Each release owns `.workflow/releases/<release-id>/R00-release-request/` through
|
|
|
6
6
|
|
|
7
7
|
For an incremental release, `newly_included_versions` is the ordered open interval after current production through the selected target. `dependency_closure` is the complete cumulative lineage from the first version through the target. For a same-version redeploy, the newly included range is empty while the target version remains the immutable provenance source.
|
|
8
8
|
|
|
9
|
+
## Git Candidate And Promotion
|
|
10
|
+
|
|
11
|
+
R00 captures the exact production-branch `main` head as `expected_main`. It is an immutable release input, not a hint that can be refreshed during the release. R01/R02 require the captured commit to remain the actual `main` head. For an incremental release, it must be an ancestor of the selected target `version-ready` Tag; for same-version redeploy, the selected target Tag must already be an ancestor of or equal to the snapshot. A mismatch is `stale`: preserve the failed/abandoned evidence and create a new release request rather than retargeting the candidate.
|
|
12
|
+
|
|
13
|
+
R04 invokes `release-git.mjs create-candidate --release-id <id> --release-branch <branch> --expected-main <r00-sha> --source-tag <tag> --source-commit <tag-sha> --receipt <path> --apply`. It creates `release/<release-id>-<slug>` from exactly `expected_main`. For an incremental release it merges exactly one target immutable `version-ready` Tag with `--no-ff`, and the merge commit is the release-candidate identity. For same-version redeploy whose target Tag is already in the snapshot, the candidate is exactly `expected_main` and the receipt records no new merge. Intermediate versions remain in the closure and material index but are never separately merged. The receipt records `operation: create-release-candidate`, release base, source Tag/commit, result `candidate_commit`, branch, merge-created state, and `planned`, `applied`, or `idempotent` status. R05 through R09 bind to that exact commit; a branch head is not sufficient identity.
|
|
14
|
+
|
|
15
|
+
Freeze an immutable release Tag on the exact tested candidate before R08 deployment. After R09 decides `released`, write `production-verification.json` with `schema_version: 1`, `operation: production-verification-decision`, exact release ID, `decision: released`, R00 `expected_main_commit`, and equal full object IDs for `verified_release_commit` and `deployed_commit`. The controlled `promote` operation receives this file through `--production-verification` and may fast-forward `main` only when its old head still equals `expected_main` and the requested verified commit is the candidate receipt's exact result. Its receipt retains the evidence path and hash. Same-version redeploy may leave `main` unchanged only when it already names that exact commit. Failed/rolled-back releases never advance `main`.
|
|
16
|
+
|
|
17
|
+
## Release-Fix Reconciliation
|
|
18
|
+
|
|
19
|
+
Create `release-fix/<release-id>/<defect-id>` from the active candidate only. A correction yields a new candidate identity, invalidates affected verification/approval, and never rewrites version-ready Tags or version manifests. After R09 has successfully verified the deployed fix, R10 must freeze a schema-2 product-line `candidate-inventory.json`: `scope: product-line`, `product_id`, `line_branch`, active candidate ID/commit, and every candidate's ID, own `release_id`, commit, and status. The root does not carry a release ID; the active and verified records must belong to the release being synchronized. It must run `release-git.mjs sync-release-fix --release-id <id> --source-ref <branch> --source-commit <sha> --verified-release-commit <candidate-sha> --line-branch <line> --expected-line <line-sha> --production-verification <R09 JSON> --candidate-inventory <predecessor-R10 JSON> --successor-candidate-inventory <new-R10 JSON> --receipt <path> --apply` and register its JSON receipt. The controlled operation writes the successor inventory at the supplied distinct path and never mutates its predecessor. The receipt records predecessor/successor evidence bindings, release/source identities, verified release commit, line heads, merge strategy, derived stale candidate IDs/status updates, and `applied` or idempotent `idempotent` status. It never accepts caller-supplied stale candidate IDs; replays may only reuse a byte-identical successor.
|
|
20
|
+
|
|
21
|
+
Every selectable candidate (`active`, `release-ready`, `verified`, or `approved`) in the product-line inventory that does not contain a production-successful release-fix is `stale` and cannot be selected. The controlled operation derives this status change from the immutable predecessor inventory, writes it only to its immutable successor, and advances the active pointer to the verified candidate when necessary; candidates already `stale` or `released` are not rewritten. Each later synchronization uses the latest successor as its predecessor. The line is unchanged on a failed deployment, rollback, blocked release, or ambiguous human-decision outcome.
|
|
22
|
+
|
|
9
23
|
Only `R07-production-approval` is the production human Gate. Any package, environment, configuration, migration, image, or target change invalidates it. Rollback restores the previous compatible image digest and never creates or moves a Git branch.
|
|
10
24
|
|
|
11
25
|
`R09-production-verification` supplies the verified deployed version and immutable evidence but does not update the authoritative production identity. After a `released` archive artifact is registered and `R10-release-archive` is completed, run the formal `release-archived` transition. This event is the only writer of `workflow-state.yaml.production_version_id` and `production_release_id`, including same-version redeploys with a new release ID.
|
|
@@ -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."
|
|
@@ -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."
|
|
@@ -19,14 +19,15 @@ Write release manifests, change inventories, rollback documents, and workflow re
|
|
|
19
19
|
|
|
20
20
|
## Preflight
|
|
21
21
|
|
|
22
|
-
Read the explicit release request, frozen version selection, passing release candidate, prior production release, all included version manifests, changed baselines, verification evidence, platform artifacts, Git state, and environment baselines. Acquire the serialized release transition through `$ai-delivery-manage-git`.
|
|
22
|
+
Read the explicit release request, frozen version selection, candidate JSON receipt, passing release candidate, prior production release, all included version manifests, changed baselines, verification evidence, platform artifacts, Git state, and environment baselines. Acquire the serialized release transition through `$ai-delivery-manage-git`.
|
|
23
23
|
|
|
24
24
|
## Freeze The Candidate
|
|
25
25
|
|
|
26
|
-
1. Confirm the release branch was created from the
|
|
27
|
-
2. Re-run impacted and final release gates after any release-fix candidate.
|
|
28
|
-
3. Freeze the exact release ID, target version, version closure, commit, Tag, application artifact digests, configuration baseline, migrations, IaC plan, and standards baseline.
|
|
29
|
-
4.
|
|
26
|
+
1. Confirm the release branch was created from the R00 `expected_main` snapshot and that `main` has not moved. For an incremental release, confirm the snapshot is an ancestor of the selected immutable `version-ready` Tag and the candidate is the `--no-ff` merge result of exactly that one Tag. For a same-version redeploy, confirm the target Tag is already reachable from the snapshot and the candidate equals the snapshot with no new merge. A branch name or current branch head is not evidence.
|
|
27
|
+
2. Re-run impacted and final release gates after any release-fix candidate. A release-fix must record its source branch/commit and replaces the previous candidate identity; historical version-ready Tags and manifests remain unchanged.
|
|
28
|
+
3. Freeze the exact release ID, target version, version closure, production branch/base commit, source Tag/commit, release branch, candidate merge commit and immutable release Tag, application artifact digests, configuration baseline, migrations, IaC plan, and standards baseline.
|
|
29
|
+
4. Bind the later `main` promotion to the unchanged R00 base and exact verified candidate commit. For each release-fix, predeclare the line branch, the schema-2 product-line candidate inventory predecessor, a distinct successor-inventory path, and receipt requirement; it is synchronized only after successful production verification and before R10 archive.
|
|
30
|
+
5. Never merge additional code after final regression. Any material change creates a new candidate and repeats affected verification and production approval.
|
|
30
31
|
|
|
31
32
|
## Build The Release Package
|
|
32
33
|
|
|
@@ -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."
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
+
schema_version: 2
|
|
1
2
|
release_id: RELEASE-0001
|
|
2
3
|
iteration_id: ITER-0001
|
|
3
4
|
version: 0.1.0
|
|
4
5
|
target_environment: production
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
production_branch: main
|
|
7
|
+
release_base_commit: ""
|
|
8
|
+
source_version_ready_tag: ""
|
|
9
|
+
source_version_ready_commit: ""
|
|
10
|
+
release_branch: ""
|
|
11
|
+
release_candidate_commit: ""
|
|
12
|
+
release_candidate_tag: ""
|
|
13
|
+
candidate_receipt_ref: ""
|
|
14
|
+
commit_sha: "" # Alias of release_candidate_commit for existing consumers.
|
|
15
|
+
tag: "" # Alias of release_candidate_tag for existing consumers.
|
|
7
16
|
package_hash: ""
|
|
8
17
|
artifact_digests: []
|
|
9
18
|
configuration_baseline: ""
|
|
@@ -12,6 +21,18 @@ iac_plan_hash: ""
|
|
|
12
21
|
standards_baseline_ref: ""
|
|
13
22
|
verification_ref: ""
|
|
14
23
|
previous_stable_release_id: ""
|
|
24
|
+
main_promotion:
|
|
25
|
+
expected_main: ""
|
|
26
|
+
verified_release_commit: ""
|
|
27
|
+
receipt_ref: ""
|
|
28
|
+
release_fixes: []
|
|
29
|
+
line_synchronization:
|
|
30
|
+
line_branch: ""
|
|
31
|
+
expected_line: ""
|
|
32
|
+
required_before_archive: true
|
|
33
|
+
candidate_inventory: ""
|
|
34
|
+
successor_candidate_inventory: ""
|
|
35
|
+
receipt_refs: []
|
|
15
36
|
approval:
|
|
16
37
|
status: pending
|
|
17
38
|
approved_by: null
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Release Manifest
|
|
4
4
|
|
|
5
|
-
Record release ID, mode, selected target and continuous version closure, target environment,
|
|
5
|
+
Record release ID, mode, selected target and continuous version closure, target environment, production branch, immutable R00 `expected_main` base, source version-ready Tag/commit, release branch, exact release-candidate commit, incremental merge commit when one exists, immutable release Tag, candidate receipt reference, package hash, application artifact digests, configuration baseline, migration set, IaC plan hash, standards baseline, R05 verification result, previous stable release, known risks, and inventory references. Production approval is a separate R07 artifact and is not created here.
|
|
6
|
+
|
|
7
|
+
The manifest must prove that the candidate was created at the captured `main` base. For incremental mode, it proves one `--no-ff` merge of the selected target Tag. For same-version-redeploy mode, it proves the target Tag was already reachable from the base and records no new merge. Do not identify a candidate by a mutable branch head. Record the `main` promotion precondition as the same base plus the exact verified candidate commit.
|
|
8
|
+
|
|
9
|
+
When a release includes `release-fix/*`, record each source ref/commit, the replacement candidate identity, `line/<product-id>`, its expected head, the mandatory R09 `production-verification.json`, the schema-2 product-line R10 predecessor candidate inventory, the distinct successor inventory destination, and the required post-verification synchronization receipt. The inventory records `product_id`, `line_branch`, each candidate's own `release_id`, ID, commit, and status; the root has no release ID. R10 cannot archive a successful release-fix without `release-git.mjs sync-release-fix` returning either `status: applied` or an explicit unchanged `status: idempotent` receipt with derived candidate status updates and an immutable successor-inventory binding.
|
|
6
10
|
|
|
7
11
|
## Unified Delivery Index
|
|
8
12
|
|
|
@@ -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."
|
|
@@ -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."
|
|
@@ -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."
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Verify Candidate"
|
|
3
|
-
short_description: "Independently verify a release candidate and route failures"
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Verify Candidate"
|
|
3
|
+
short_description: "Independently verify a release candidate and route failures"
|
|
4
4
|
default_prompt: "Use $ai-delivery-verify-candidate to verify the current candidate and its repository identity."
|
|
@@ -9,7 +9,7 @@ Keep deployment execution separate from release success.
|
|
|
9
9
|
|
|
10
10
|
## Artifact Location
|
|
11
11
|
|
|
12
|
-
Write production verification reports, signal snapshots, rollback decisions, and release decisions to `.workflow/releases/<release-id>/R09-production-verification/`. External observability data may remain in controlled systems only when immutable references and timestamps are recorded in `.workflow/`.
|
|
12
|
+
Write production verification reports, signal snapshots, rollback decisions, and release decisions to `.workflow/releases/<release-id>/R09-production-verification/`. A `released` decision must also write the immutable machine-readable `production-verification.json` sidecar. External observability data may remain in controlled systems only when immutable references and timestamps are recorded in `.workflow/`.
|
|
13
13
|
|
|
14
14
|
## Task State
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ Write production verification reports, signal snapshots, rollback decisions, and
|
|
|
19
19
|
|
|
20
20
|
## Preflight
|
|
21
21
|
|
|
22
|
-
Read the approved release package, deployment record, previous stable release, verification thresholds, rollback authorization, observability state, and target environment. Confirm that the deployed identities match the manifest.
|
|
22
|
+
Read the approved release package, candidate receipt, deployment record, previous stable release, verification thresholds, rollback authorization, observability state, and target environment. Confirm that the deployed identities match the manifest: the R00 `expected_main` base, one source version-ready Tag/commit, exact candidate commit and incremental merge commit when one exists, immutable release Tag, image digest, configuration, and migrations.
|
|
23
23
|
|
|
24
24
|
## Verify
|
|
25
25
|
|
|
@@ -36,15 +36,18 @@ Read the approved release package, deployment record, previous stable release, v
|
|
|
36
36
|
- When old-image compatibility is unproven or data recovery is irreversible, stop and request the approved manual recovery decision.
|
|
37
37
|
- For ambiguous business-signal degradation with healthy technical signals, pause for human judgment.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
For a `released` decision, write `production-verification.json` before any protected Git action. It must use `schema_version: 1`, `operation: production-verification-decision`, exact `release_id`, `decision: released`, and full immutable `expected_main_commit`, `verified_release_commit`, and `deployed_commit` fields; the last two must name the deployed candidate. Then invoke `$ai-delivery-manage-git`'s controlled `scripts/release-git.mjs promote` operation with `--release-id`, `--release-branch`, the R00 `--expected-main`, exact `--verified-release-commit`, `--production-verification <R09-production-verification/production-verification.json>`, `--receipt <path>`, and `--apply`. Accept success only when its JSON receipt proves the protected code-repository `main` fast-forwarded from that exact base to that exact commit and records the evidence checksum. For same-version redeploy, it may record an explicit unchanged result only when `main` already names the verified candidate. Omitting `--apply` is planning only. Record the release decision only in the workflow repository.
|
|
40
|
+
|
|
41
|
+
Do not synchronize `release-fix/*` into `line/<product-id>` before the production decision. On `released`, hand every deployed release-fix identity, the expected line head, the R09 JSON decision, and an R10 schema-2 product-line `candidate-inventory.json` to R10. It must bind `product_id`, `line_branch`, the active candidate, and every candidate's own `release_id`, immutable commit, and current status; the root has no release ID. R10 runs `scripts/release-git.mjs sync-release-fix --source-ref --source-commit --verified-release-commit --line-branch --expected-line --production-verification <R09 JSON> --candidate-inventory <predecessor R10 JSON> --successor-candidate-inventory <new R10 JSON> --receipt <path> --apply`; it writes an `applied` merge receipt or unchanged `idempotent` receipt, derives `stale_candidate_ids` plus `candidate_status_updates` across that product line, and emits the new immutable successor inventory. The input inventory remains immutable, and a replay can use only byte-identical successor content. After rollback, blocked, or human-decision outcomes, keep code `main` and `line` unchanged and retain the failed release, version, and Tags. Do not update `production_version_id` or `production_release_id` in R09; hand the verified identities to R10, which records them through the formal `release-archived` transition.
|
|
40
42
|
|
|
41
43
|
## Outputs
|
|
42
44
|
|
|
43
|
-
- production verification report and evidence;
|
|
45
|
+
- production verification report and evidence, including `production-verification.json` for every `released` decision;
|
|
44
46
|
- release decision and observation window;
|
|
45
47
|
- rollback deployment record and rollback verification when applicable;
|
|
46
48
|
- residual risks, incident or defect routes, and final production version;
|
|
47
49
|
- release archive handoff or rework status.
|
|
50
|
+
- main-promotion receipt when released, plus the candidate inventory and release-fix synchronization handoff when applicable;
|
|
48
51
|
- final production version, release ID, and immutable release evidence for `R10-release-archive`.
|
|
49
52
|
|
|
50
53
|
Read [production-verification-contract.md](references/production-verification-contract.md) and use `assets/production-verification-template/`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Verify Production"
|
|
3
|
-
short_description: "Verify production health and trigger image-based rollback"
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Verify Production"
|
|
3
|
+
short_description: "Verify production health and trigger image-based rollback"
|
|
4
4
|
default_prompt: "Use $ai-delivery-verify-production to verify production and advance only the configured code repository when successful."
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"operation": "production-verification-decision",
|
|
4
|
+
"release_id": "REL-0001",
|
|
5
|
+
"decision": "released",
|
|
6
|
+
"expected_main_commit": "<full-git-sha>",
|
|
7
|
+
"verified_release_commit": "<full-git-sha>",
|
|
8
|
+
"deployed_commit": "<same-full-git-sha>"
|
|
9
|
+
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# Production Verification
|
|
2
2
|
|
|
3
|
+
`production-verification.json` in this directory is the mandatory machine-readable decision sidecar for a `released` outcome. Fill it with full immutable Git object IDs before invoking `release-git.mjs promote`; this report remains the human-readable evidence.
|
|
4
|
+
|
|
3
5
|
## Release And Deployment Identity
|
|
4
6
|
|
|
7
|
+
- R00 `expected_main`:
|
|
8
|
+
- source `version-ready` Tag and commit:
|
|
9
|
+
- release-candidate merge commit:
|
|
10
|
+
- immutable release Tag:
|
|
11
|
+
- candidate receipt:
|
|
12
|
+
|
|
5
13
|
## Mandatory Checks
|
|
6
14
|
|
|
7
15
|
## Observation Window And Signals
|
|
@@ -10,6 +18,18 @@
|
|
|
10
18
|
|
|
11
19
|
## Decision
|
|
12
20
|
|
|
21
|
+
- decision:
|
|
22
|
+
- machine-readable decision: `production-verification.json`
|
|
23
|
+
- `main` promotion receipt:
|
|
24
|
+
|
|
13
25
|
## Rollback And Rollback Verification
|
|
14
26
|
|
|
27
|
+
## Release-Fix Line Synchronization Handoff
|
|
28
|
+
|
|
29
|
+
- release-fix branch/commit:
|
|
30
|
+
- `line/<product-id>`:
|
|
31
|
+
- R10 predecessor candidate inventory: schema-2 product-line `candidate-inventory.json`
|
|
32
|
+
- R10 successor candidate inventory: distinct immutable JSON path supplied through `--successor-candidate-inventory`
|
|
33
|
+
- required R10 receipt:
|
|
34
|
+
|
|
15
35
|
## Residual Risk And Routes
|
|
@@ -2,13 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
## Required Evidence
|
|
4
4
|
|
|
5
|
-
Record deployment and release IDs, actual artifact digests, health and readiness, critical journey smoke results, data integrity, authorization, logs, errors, latency, resources, queues, alerts, dashboards, business sanity signals, observation window, and final decision.
|
|
5
|
+
Record deployment and release IDs, candidate receipt, immutable release Tag, R00 production-base commit, actual candidate/deployed commit, actual artifact digests, health and readiness, critical journey smoke results, data integrity, authorization, logs, errors, latency, resources, queues, alerts, dashboards, business sanity signals, observation window, and final decision.
|
|
6
|
+
|
|
7
|
+
For every `released` decision, write `R09-production-verification/production-verification.json` before invoking a protected Git operation. Its exact machine-readable shape is:
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"schema_version": 1,
|
|
12
|
+
"operation": "production-verification-decision",
|
|
13
|
+
"release_id": "REL-0001",
|
|
14
|
+
"decision": "released",
|
|
15
|
+
"expected_main_commit": "<full-git-sha>",
|
|
16
|
+
"verified_release_commit": "<full-git-sha>",
|
|
17
|
+
"deployed_commit": "<same-full-git-sha>"
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
`release_id` must equal the Git operation's release ID; both candidate fields must be full object IDs and must be equal. `promote` additionally requires the JSON `expected_main_commit` to equal R00. The Git receipt records the evidence path and SHA-256 so a later archive can prove the decision it consumed.
|
|
6
22
|
|
|
7
23
|
## Decisions
|
|
8
24
|
|
|
9
|
-
- `released`: mandatory thresholds pass; fast-forward `main` to the exact deployed tagged commit
|
|
25
|
+
- `released`: mandatory thresholds pass; write the JSON decision above, then invoke `release-git.mjs promote --release-id <id> --release-branch <branch> --expected-main <r00-sha> --verified-release-commit <candidate-sha> --production-verification <R09-production-verification/production-verification.json> --receipt <path> --apply` to fast-forward `main` only from the recorded R00 `expected_main` to the exact deployed, tagged candidate commit. Save the promotion receipt with old/new heads and its production-verification evidence binding. For same-version redeploy, retain an explicit unchanged receipt only if `main` already equals that exact candidate, then hand off R10 archive.
|
|
10
26
|
- `rolled-back`: an authorized technical threshold fails; redeploy the previous stable image digest and verify it.
|
|
11
27
|
- `blocked`: rollback compatibility, recovery authority, or evidence is insufficient.
|
|
12
28
|
- `human-decision`: business signals are ambiguous while technical signals remain healthy.
|
|
13
29
|
|
|
14
|
-
Never create a rollback branch, move a release Tag, reset `main`, or rebuild the previous image.
|
|
30
|
+
For each successful deployed `release-fix/*`, R10 must freeze a `candidate-inventory.json` with `schema_version: 2`, `scope: "product-line"`, `product_id`, `line_branch`, `active_candidate_id`, `active_candidate_commit`, and a unique `candidates` list of `{ candidate_id, release_id, candidate_commit, status }` objects. The root must not define `release_id`; each candidate preserves the release that created it. The input inventory's line branch must equal the operation's `--line-branch`, while the active and verified candidate records must carry the operation release ID. Before archive, call `release-git.mjs sync-release-fix --release-id <id> --source-ref <branch> --source-commit <sha> --verified-release-commit <candidate-sha> --line-branch <line> --expected-line <line-sha> --production-verification <R09 JSON> --candidate-inventory <predecessor-R10 JSON> --successor-candidate-inventory <new-R10 JSON> --receipt <path> --apply`. The successor path must differ from the predecessor and receipt; it is an immutable product-line inventory emitted by the controlled operation, never a rewrite of the input. Its receipt records predecessor/successor evidence bindings, release/source identities, verified release commit, line heads, merge strategy, derived `stale_candidate_ids`, derived `candidate_status_updates` including each candidate's release ID, and `applied` or idempotent `idempotent` status. Callers must not supply a stale-candidate list. Selectable candidates across the product line that omit the successful fix become `stale`; candidates already `stale` or `released` are not rewritten. When the previous active candidate becomes stale, the successor advances the active pointer to the verified candidate. Replays require byte-identical existing successor content. Never create a rollback branch, move a release Tag, reset `main`, rewrite `line`, or rebuild the previous image.
|