ai-delivery-workflow 0.5.1 → 0.6.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/docs/FILE-REFERENCE.zh-CN.md +1 -1
- package/docs/MAINTENANCE-VERIFICATION.zh-CN.md +2 -2
- package/docs/PROJECT-MANUAL.zh-CN.md +1 -1
- package/docs/agents/workflow-manager-current-state.md +1 -1
- package/lib/communication-confirmation.mjs +177 -0
- package/lib/project-bootstrap.mjs +267 -3
- package/lib/project-installer.mjs +25 -1
- package/package.json +1 -1
- package/skills/ai-delivery-bootstrap/SKILL.md +4 -0
- package/skills/ai-delivery-checkpoint-task/SKILL.md +2 -0
- package/skills/ai-delivery-checkpoint-task/references/checkpoint-contract.md +2 -0
- package/skills/ai-delivery-close-version/SKILL.md +13 -10
- package/skills/ai-delivery-close-version/references/version-closeout-contract.md +2 -1
- package/skills/ai-delivery-define-product/SKILL.md +6 -3
- package/skills/ai-delivery-design-architecture/SKILL.md +10 -5
- package/skills/ai-delivery-design-architecture/assets/architecture-template/architecture-gate.yaml +2 -0
- package/skills/ai-delivery-design-architecture/assets/architecture-template/prototype-architecture-validation.yaml +2 -0
- package/skills/ai-delivery-design-architecture/references/architecture-contract.md +4 -0
- package/skills/ai-delivery-design-experience/SKILL.md +5 -3
- package/skills/ai-delivery-design-experience/assets/experience-template/product-prototype-reconciliation.yaml +2 -0
- package/skills/ai-delivery-design-experience/assets/experience-template/ui-handoff.yaml +3 -0
- package/skills/ai-delivery-design-experience/references/experience-contract.md +2 -2
- package/skills/ai-delivery-design-tests/SKILL.md +4 -0
- package/skills/ai-delivery-develop-iteration/SKILL.md +6 -1
- package/skills/ai-delivery-develop-iteration/assets/development-template/candidate-manifest.yaml +2 -0
- package/skills/ai-delivery-execute-work-package/SKILL.md +4 -2
- package/skills/ai-delivery-orchestrate/SKILL.md +2 -0
- package/skills/ai-delivery-orchestrate/assets/codebase-template/AGENTS.md +14 -0
- package/skills/ai-delivery-orchestrate/assets/codebase-template/CODEBASE_GUIDE.md +124 -0
- package/skills/ai-delivery-orchestrate/assets/codebase-template/docs/CODEBASE_INDEX.md +87 -0
- package/skills/ai-delivery-orchestrate/assets/communication-template/confirmation-examples.yaml +67 -0
- package/skills/ai-delivery-orchestrate/assets/communication-template/confirmation-summary.yaml +42 -0
- package/skills/ai-delivery-orchestrate/assets/project-template/.workflow/iterations/ITER-0001/02-solution-design/product-impact-assessment.yaml +42 -0
- package/skills/ai-delivery-orchestrate/references/codebase-document-contract.md +91 -0
- package/skills/ai-delivery-orchestrate/references/communication-confirmation-contract.md +52 -0
- package/skills/ai-delivery-orchestrate/references/product-impact-assessment-contract.md +87 -0
- package/skills/ai-delivery-orchestrate/scripts/confirmation-state.mjs +30 -0
- package/skills/ai-delivery-orchestrate-release/SKILL.md +3 -1
- package/skills/ai-delivery-plan-iteration/SKILL.md +6 -1
- package/skills/ai-delivery-prepare-platform/SKILL.md +1 -1
- package/skills/ai-delivery-prepare-release/SKILL.md +2 -0
- package/skills/ai-delivery-review-change/SKILL.md +3 -1
- package/skills/ai-delivery-validate-artifacts/SKILL.md +10 -7
- package/skills/ai-delivery-validate-artifacts/references/artifact-contract.md +2 -1
- package/skills/ai-delivery-verify-candidate/SKILL.md +5 -2
- package/skills/ai-delivery-verify-candidate/references/candidate-verification-contract.md +1 -1
|
@@ -26,6 +26,7 @@ For visual or interactive terminals, require:
|
|
|
26
26
|
- a checksummed design-reference selection, runnable HTML Visual Reference and manifest, visual system, design tokens, selected UI framework/component system/icon library, pinned component registry/configuration, selected components, checksummed local adaptations, component-state matrix, license/upstream attribution, complete scoped design-input checksum list, an unexpired human `UX-VS` receipt, and a passing `ai-delivery visual-standard validate` report;
|
|
27
27
|
- a runnable formal UI with a passing human `UX-UI` receipt;
|
|
28
28
|
- checksummed review sessions, comments, complete adjustment log, experience/requirement change sets, and impact assessment;
|
|
29
|
+
- a checksummed shared `product-impact-assessment.yaml` for any `02-solution-design` handoff, with a resolved or superseded result before development readiness;
|
|
29
30
|
- an aligned `product-prototype-reconciliation.yaml` and a `ui-handoff.yaml` whose development readiness is `ready-for-development`;
|
|
30
31
|
- the Prototype revision with immutable source revision, SHA-256 source and review-bundle tree checksums, and checksums for every linked catalog;
|
|
31
32
|
- normalized feature/acceptance/terminal/flow/Page/Review Scene/state-to-prototype-element traceability;
|
|
@@ -35,7 +36,7 @@ For visual or interactive terminals, require:
|
|
|
35
36
|
|
|
36
37
|
Validate main Page IDs against `^P[0-9]{2,}$` and child IDs against `^P[0-9]{2,}-[0-9]{2,}$`; require child `parent_page_id` to match its main-page prefix. Verify derived display labels, uniqueness, no ID reuse, and `retired` preservation. Reject third-level Page IDs. Verify that every Review Scene belongs to one Page, every trigger targets an explicit scene, and every prototype or production route resolves through normalized foreign keys.
|
|
37
38
|
|
|
38
|
-
Require tool selections `valid/selected`, all applicable staged Gate decisions approved by a human,
|
|
39
|
+
Require tool selections `valid/selected`, all applicable staged Gate decisions approved by a human, Prototype impact assessments `valid/ready-for-finalization`, and shared product impact assessments `resolved` or `superseded`. Require each Gate's latest session `approved`, every comment terminal, every adjustment revision-linked, every semantic impact reconciled with product and rebaselined before final freeze, and the approved formal UI revision to match the final manifest. Only a genuinely non-visual terminal may mark these visual Gates `not-applicable`, with product-terminal evidence and rationale.
|
|
39
40
|
|
|
40
41
|
Require the same Prototype revision/checksum, source revision/checksum, review-bundle checksum, UI Mapping checksum, normalized catalog checksums, review/impact checksums, and receipt checksums in all downstream references. Require source confirmation `valid/confirmed-for-handoff` and architecture/test receipts `valid/accepted`. Resolve affected Page, Review Scene, UI component, frontend source, and acceptance identities from explicit UI Mapping rows. Reject ambiguous or conflicting references, mutable URL-only evidence, missing receipts, checksum mismatches, silent downstream edits, and confirmed Prototypes with blocking issues. Never infer any relationship from a file name or row order.
|
|
41
42
|
|
|
@@ -27,9 +27,9 @@ Require `scope: iteration` or `scope: release`. For iteration scope, verify one
|
|
|
27
27
|
|
|
28
28
|
## Preflight
|
|
29
29
|
|
|
30
|
-
Read `.workflow/config/workspace.yaml` first. Resolve and verify every `repo_id`, `code_commit`, optional `code_tag`, `source_path`, and SHA-256 against the configured nested code repository; stop when a candidate references the workflow repository or another code repository.
|
|
30
|
+
Read `.workflow/config/workspace.yaml` first. Resolve and verify every `repo_id`, `code_commit`, optional `code_tag`, `source_path`, and SHA-256 against the configured nested code repository; stop when a candidate references the workflow repository or another code repository. Validate `AGENTS.md`, `CODEBASE_GUIDE.md`, and `docs/CODEBASE_INDEX.md` against that same candidate commit, retaining missing/invalid/stale findings as candidate evidence. A stale handbook/index cannot be presented as candidate functionality passing; route it to implementation or an explicit maintainer acceptance.
|
|
31
31
|
|
|
32
|
-
Read `candidate-manifest.yaml` first and require it to pin the exact ready UI handoff, aligned `product-prototype-reconciliation.yaml`, Prototype revision, source revision, source tree, review bundle, UI Mapping, and task traceability identities/checksums for UI-bearing scope. Then read the approved baselines, experience/requirement change sets, task-to-experience-change traceability, normalized terminal, Page, Review Scene, trigger-condition, route, and UI Mapping catalogs, interaction/component-state contracts, review/impact records, prototype source confirmation, architecture and test receipts, overall test strategy, public iteration test contract, prior defects, actual change inventory, applicable standards, test environment evidence, and candidate commit and artifact digests. Require source confirmation `valid/confirmed-for-handoff` and architecture/test receipts `valid/accepted`. Stop if the environment or candidate is mutable, a candidate binding field, required receipt, or catalog reference is missing or non-passing, any planned `ready-for-development` change lacks implementation evidence, or any Prototype revision, UI Mapping, handoff, reconciliation, traceability, review/impact, source, or review-bundle identity/checksum conflicts. Never infer a relationship from a file name or catalog order.
|
|
32
|
+
Read `candidate-manifest.yaml` first and require it to pin the exact ready UI handoff, aligned `product-prototype-reconciliation.yaml`, resolved or superseded `product-impact-assessment.yaml`, Prototype revision, source revision, source tree, review bundle, UI Mapping, and task traceability identities/checksums for UI-bearing scope. Then read the approved baselines, experience/requirement change sets, task-to-experience-change traceability, normalized terminal, Page, Review Scene, trigger-condition, route, and UI Mapping catalogs, interaction/component-state contracts, review/impact records, prototype source confirmation, architecture and test receipts, overall test strategy, public iteration test contract, prior defects, actual change inventory, applicable standards, test environment evidence, and candidate commit and artifact digests. Require source confirmation `valid/confirmed-for-handoff` and architecture/test receipts `valid/accepted`. Stop if the environment or candidate is mutable, a candidate binding field, required receipt, or catalog reference is missing or non-passing, any planned `ready-for-development` change lacks implementation evidence, or any Prototype revision, UI Mapping, handoff, reconciliation, product impact assessment, traceability, review/impact, source, or review-bundle identity/checksum conflicts. Never infer a relationship from a file name or catalog order.
|
|
33
33
|
|
|
34
34
|
For UI-bearing scope, also require the candidate manifest to pin the exact frozen Mock Scenario Pack. Create `ui-acceptance-request.yaml`, run `ai-delivery ui-acceptance plan`, execute its exact Scene/viewport matrix in the pinned Playwright environment, write `ui-acceptance-results.yaml` plus checksummed evidence, and run `ai-delivery ui-acceptance verify` before deciding. Use approved Visual Standard breakpoints or the `390x844`, `768x1024`, and `1440x900` defaults with default maximum diff ratio `0.001`. Produce exact-viewport PNGs and a transparent RGBA changed-pixel mask, plus deterministic JSON protocol envelopes matching every request selector and response in the plan's frozen contract expectation. This work remains inside `05-candidate-assurance`. A Product Backend Mock can drive deterministic rendering but never satisfies real backend or end-to-end acceptance; bind the exact candidate, non-Mock environment, immutable deployment digest, contract result, and end-to-end result in separate real product backend evidence when the plan requires it.
|
|
35
35
|
|
|
@@ -54,6 +54,7 @@ Produce:
|
|
|
54
54
|
- specialty test results as applicable;
|
|
55
55
|
- untested scope and residual risks;
|
|
56
56
|
- one candidate decision: `pass`, `fail`, or `blocked`;
|
|
57
|
+
- codebase handbook/index identity and structural validation receipt;
|
|
57
58
|
- iteration closeout recommendation or release recommendation, matching the selected scope.
|
|
58
59
|
|
|
59
60
|
Read [candidate-verification-contract.md](references/candidate-verification-contract.md) and use `assets/verification-template/` for reports.
|
|
@@ -61,3 +62,5 @@ Read [candidate-verification-contract.md](references/candidate-verification-cont
|
|
|
61
62
|
## Handoff
|
|
62
63
|
|
|
63
64
|
Route failures to their producer. Hand a passing iteration candidate to `$ai-delivery-close-version`. Hand a passing release candidate back to `$ai-delivery-orchestrate-release` for `R06-release-preparation`.
|
|
65
|
+
|
|
66
|
+
Read and validate the iteration confirmation summary. Candidate assurance may ask only about explicit exceptions, residual-risk acceptance, or release recommendation; unresolved product, architecture, or terminology decisions return to their owning node and keep the candidate blocked.
|
|
@@ -16,7 +16,7 @@ Create test types only when justified by changed or adjacent risk.
|
|
|
16
16
|
|
|
17
17
|
Return `pass` only when mandatory gates pass, blocking defects are absent, required coverage is evidenced, and untested scope is acceptable under approved policy. Return `fail` for candidate defects and `blocked` for unavailable prerequisites.
|
|
18
18
|
|
|
19
|
-
For UI-bearing scope, require `candidate-manifest.yaml` to pin one exact ready UI handoff, aligned product reconciliation, Prototype revision/checksum, source revision/checksum, review-bundle checksum, UI Mapping checksum, and both task traceability checksums. Verify these bindings against the experience-change set, normalized catalogs, review/impact records, source confirmation, architecture receipt, test receipt, iteration plan, work packages, and candidate traceability before deriving tests. Resolve every affected Page, Review Scene, UI component, frontend source, and acceptance criterion from the pinned UI Mapping. Verify every planned `experience_change_id` has the declared implementation action and independent behavior, visual-regression, responsive, and accessibility evidence as applicable. Verify matching references and checksums through every delivered terminal; reject missing or conflicting candidate fields or references and never infer relationships from file names or row order. Route requirement conflicts to product, prototype defects to experience, feasibility conflicts to architecture, testability gaps to test design, and implementation differences to development.
|
|
19
|
+
For UI-bearing scope, require `candidate-manifest.yaml` to pin one exact ready UI handoff, aligned product reconciliation, resolved or superseded product impact assessment, Prototype revision/checksum, source revision/checksum, review-bundle checksum, UI Mapping checksum, and both task traceability checksums. Verify these bindings against the experience-change set, normalized catalogs, review/impact records, source confirmation, architecture receipt, test receipt, iteration plan, work packages, and candidate traceability before deriving tests. Resolve every affected Page, Review Scene, UI component, frontend source, and acceptance criterion from the pinned UI Mapping. Verify every planned `experience_change_id` has the declared implementation action and independent behavior, visual-regression, responsive, and accessibility evidence as applicable. Verify matching references and checksums through every delivered terminal; reject missing or conflicting candidate fields or references and never infer relationships from file names or row order. Route requirement conflicts to product, prototype defects to experience, feasibility conflicts to architecture, testability gaps to test design, and implementation differences to development.
|
|
20
20
|
|
|
21
21
|
## UI Acceptance
|
|
22
22
|
|