create-yss-spec 2.1.3 → 2.1.5
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 +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/code-review/SKILL.md +38 -10
- package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +16 -12
- package/template/.agents/skills/product-design-prototype/SKILL.md +6 -2
- package/template/.agents/skills/prototype-review/SKILL.md +6 -2
- package/template/.agents/skills/wireframe-prototype/SKILL.md +5 -1
- package/template/.agents/skills/yss-api-integration/SKILL.md +25 -7
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +3 -17
- package/template/.agents/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -30
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +1 -21
- package/template/.agents/skills/yss-design-system/SKILL.md +6 -5
- package/template/.agents/skills/yss-frontend-scaffold-generator/SKILL.md +12 -6
- package/template/.agents/skills/yss-openapi-draft-review/SKILL.md +13 -17
- package/template/.agents/skills/yss-openapi-governance/SKILL.md +89 -114
- package/template/.agents/skills/yss-openapi-governance/agents/openai.yaml +2 -2
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +13 -7
- package/template/.agents/skills/yss-product-lifecycle/references/artifact-dependencies.md +2 -2
- package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +8 -2
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +77 -30
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +7 -2
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +8 -0
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +40 -0
- package/template/.agents/skills/yss-router/SKILL.md +2 -2
- package/template/.agents/skills/yss-router/references/router-contract.yaml +9 -8
- package/template/.agents/skills/yss-router/references/slice-implementation-contract.md +4 -1
- package/template/.agents/skills/yss-router/references/yss-skill-execution-result.md +2 -1
- package/template/.claude/skills/code-review/SKILL.md +38 -10
- package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +16 -12
- package/template/.claude/skills/product-design-prototype/SKILL.md +6 -2
- package/template/.claude/skills/prototype-review/SKILL.md +6 -2
- package/template/.claude/skills/wireframe-prototype/SKILL.md +5 -1
- package/template/.claude/skills/yss-api-integration/SKILL.md +25 -7
- package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +3 -17
- package/template/.claude/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -30
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +1 -21
- package/template/.claude/skills/yss-design-system/SKILL.md +6 -5
- package/template/.claude/skills/yss-frontend-scaffold-generator/SKILL.md +12 -6
- package/template/.claude/skills/yss-openapi-draft-review/SKILL.md +13 -17
- package/template/.claude/skills/yss-openapi-governance/SKILL.md +89 -114
- package/template/.claude/skills/yss-openapi-governance/agents/openai.yaml +2 -2
- package/template/.claude/skills/yss-product-lifecycle/SKILL.md +13 -7
- package/template/.claude/skills/yss-product-lifecycle/references/artifact-dependencies.md +2 -2
- package/template/.claude/skills/yss-product-lifecycle/references/matt-yss-adapter.md +8 -2
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +77 -30
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration.md +7 -2
- package/template/.claude/skills/yss-product-lifecycle/references/state-model.md +8 -0
- package/template/.claude/skills/yss-prototype-stage/SKILL.md +40 -0
- package/template/.claude/skills/yss-router/SKILL.md +2 -2
- package/template/.claude/skills/yss-router/references/router-contract.yaml +9 -8
- package/template/.claude/skills/yss-router/references/slice-implementation-contract.md +4 -1
- package/template/.claude/skills/yss-router/references/yss-skill-execution-result.md +2 -1
- package/template/.codex/skills/code-review/SKILL.md +38 -10
- package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +16 -12
- package/template/.codex/skills/product-design-prototype/SKILL.md +6 -2
- package/template/.codex/skills/prototype-review/SKILL.md +6 -2
- package/template/.codex/skills/wireframe-prototype/SKILL.md +5 -1
- package/template/.codex/skills/yss-api-integration/SKILL.md +25 -7
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +3 -17
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -30
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +1 -21
- package/template/.codex/skills/yss-design-system/SKILL.md +6 -5
- package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +12 -6
- package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +13 -17
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +89 -114
- package/template/.codex/skills/yss-openapi-governance/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +13 -7
- package/template/.codex/skills/yss-product-lifecycle/references/artifact-dependencies.md +2 -2
- package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +8 -2
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +77 -30
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +7 -2
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +8 -0
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +40 -0
- package/template/.codex/skills/yss-router/SKILL.md +2 -2
- package/template/.codex/skills/yss-router/references/router-contract.yaml +9 -8
- package/template/.codex/skills/yss-router/references/slice-implementation-contract.md +4 -1
- package/template/.codex/skills/yss-router/references/yss-skill-execution-result.md +2 -1
- package/template/.hermes/skills/code-review/SKILL.md +38 -10
- package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +16 -12
- package/template/.hermes/skills/product-design-prototype/SKILL.md +6 -2
- package/template/.hermes/skills/prototype-review/SKILL.md +6 -2
- package/template/.hermes/skills/wireframe-prototype/SKILL.md +5 -1
- package/template/.hermes/skills/yss-api-integration/SKILL.md +25 -7
- package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +3 -17
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -30
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +1 -21
- package/template/.hermes/skills/yss-design-system/SKILL.md +6 -5
- package/template/.hermes/skills/yss-frontend-scaffold-generator/SKILL.md +12 -6
- package/template/.hermes/skills/yss-openapi-draft-review/SKILL.md +13 -17
- package/template/.hermes/skills/yss-openapi-governance/SKILL.md +89 -114
- package/template/.hermes/skills/yss-openapi-governance/agents/openai.yaml +2 -2
- package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +13 -7
- package/template/.hermes/skills/yss-product-lifecycle/references/artifact-dependencies.md +2 -2
- package/template/.hermes/skills/yss-product-lifecycle/references/matt-yss-adapter.md +8 -2
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +77 -30
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration.md +7 -2
- package/template/.hermes/skills/yss-product-lifecycle/references/state-model.md +8 -0
- package/template/.hermes/skills/yss-prototype-stage/SKILL.md +40 -0
- package/template/.hermes/skills/yss-router/SKILL.md +2 -2
- package/template/.hermes/skills/yss-router/references/router-contract.yaml +9 -8
- package/template/.hermes/skills/yss-router/references/slice-implementation-contract.md +4 -1
- package/template/.hermes/skills/yss-router/references/yss-skill-execution-result.md +2 -1
- package/template/.pi/skills/code-review/SKILL.md +38 -10
- package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +16 -12
- package/template/.pi/skills/product-design-prototype/SKILL.md +6 -2
- package/template/.pi/skills/prototype-review/SKILL.md +6 -2
- package/template/.pi/skills/wireframe-prototype/SKILL.md +5 -1
- package/template/.pi/skills/yss-api-integration/SKILL.md +25 -7
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +3 -17
- package/template/.pi/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -30
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +1 -21
- package/template/.pi/skills/yss-design-system/SKILL.md +6 -5
- package/template/.pi/skills/yss-frontend-scaffold-generator/SKILL.md +12 -6
- package/template/.pi/skills/yss-openapi-draft-review/SKILL.md +13 -17
- package/template/.pi/skills/yss-openapi-governance/SKILL.md +89 -114
- package/template/.pi/skills/yss-openapi-governance/agents/openai.yaml +2 -2
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +13 -7
- package/template/.pi/skills/yss-product-lifecycle/references/artifact-dependencies.md +2 -2
- package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +8 -2
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +77 -30
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +7 -2
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +8 -0
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +40 -0
- package/template/.pi/skills/yss-router/SKILL.md +2 -2
- package/template/.pi/skills/yss-router/references/router-contract.yaml +9 -8
- package/template/.pi/skills/yss-router/references/slice-implementation-contract.md +4 -1
- package/template/.pi/skills/yss-router/references/yss-skill-execution-result.md +2 -1
- package/template/.qoder/skills/code-review/SKILL.md +38 -10
- package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +16 -12
- package/template/.qoder/skills/product-design-prototype/SKILL.md +6 -2
- package/template/.qoder/skills/prototype-review/SKILL.md +6 -2
- package/template/.qoder/skills/wireframe-prototype/SKILL.md +5 -1
- package/template/.qoder/skills/yss-api-integration/SKILL.md +25 -7
- package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +3 -17
- package/template/.qoder/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -30
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +1 -21
- package/template/.qoder/skills/yss-design-system/SKILL.md +6 -5
- package/template/.qoder/skills/yss-frontend-scaffold-generator/SKILL.md +12 -6
- package/template/.qoder/skills/yss-openapi-draft-review/SKILL.md +13 -17
- package/template/.qoder/skills/yss-openapi-governance/SKILL.md +89 -114
- package/template/.qoder/skills/yss-openapi-governance/agents/openai.yaml +2 -2
- package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +13 -7
- package/template/.qoder/skills/yss-product-lifecycle/references/artifact-dependencies.md +2 -2
- package/template/.qoder/skills/yss-product-lifecycle/references/matt-yss-adapter.md +8 -2
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +77 -30
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration.md +7 -2
- package/template/.qoder/skills/yss-product-lifecycle/references/state-model.md +8 -0
- package/template/.qoder/skills/yss-prototype-stage/SKILL.md +40 -0
- package/template/.qoder/skills/yss-router/SKILL.md +2 -2
- package/template/.qoder/skills/yss-router/references/router-contract.yaml +9 -8
- package/template/.qoder/skills/yss-router/references/slice-implementation-contract.md +4 -1
- package/template/.qoder/skills/yss-router/references/yss-skill-execution-result.md +2 -1
- package/template/.trae/skills/code-review/SKILL.md +38 -10
- package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +16 -12
- package/template/.trae/skills/product-design-prototype/SKILL.md +6 -2
- package/template/.trae/skills/prototype-review/SKILL.md +6 -2
- package/template/.trae/skills/wireframe-prototype/SKILL.md +5 -1
- package/template/.trae/skills/yss-api-integration/SKILL.md +25 -7
- package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +3 -17
- package/template/.trae/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +0 -30
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +1 -21
- package/template/.trae/skills/yss-design-system/SKILL.md +6 -5
- package/template/.trae/skills/yss-frontend-scaffold-generator/SKILL.md +12 -6
- package/template/.trae/skills/yss-openapi-draft-review/SKILL.md +13 -17
- package/template/.trae/skills/yss-openapi-governance/SKILL.md +89 -114
- package/template/.trae/skills/yss-openapi-governance/agents/openai.yaml +2 -2
- package/template/.trae/skills/yss-product-lifecycle/SKILL.md +13 -7
- package/template/.trae/skills/yss-product-lifecycle/references/artifact-dependencies.md +2 -2
- package/template/.trae/skills/yss-product-lifecycle/references/matt-yss-adapter.md +8 -2
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +77 -30
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration.md +7 -2
- package/template/.trae/skills/yss-product-lifecycle/references/state-model.md +8 -0
- package/template/.trae/skills/yss-prototype-stage/SKILL.md +40 -0
- package/template/.trae/skills/yss-router/SKILL.md +2 -2
- package/template/.trae/skills/yss-router/references/router-contract.yaml +9 -8
- package/template/.trae/skills/yss-router/references/slice-implementation-contract.md +4 -1
- package/template/.trae/skills/yss-router/references/yss-skill-execution-result.md +2 -1
- package/template/AGENTS.md +7 -5
- package/template/CONTEXT.md +15 -1
- package/template/README.md +2 -1
- package/template/__yss_dotfile__.gitignore +4 -0
- package/template/docs/adr/0001-product-design-prototype-entrypoint.md +1 -1
- package/template/docs/adr/0003-machine-readable-lifecycle-registry.md +5 -0
- package/template/docs/adr/0004-split-lifecycle-and-router-registry-domains.md +5 -0
- package/template/docs/adr/0005-cross-repository-ecosystem-release-manifest.md +5 -0
- package/template/docs/adr/0006-stable-lifecycle-ids-and-generated-structure.md +5 -0
- package/template/docs/adr/0007-separate-skill-routing-registry-from-integrity-lock.md +5 -0
- package/template/docs/agents/issue-tracker.md +1 -0
- package/template/docs/api/templates/openapi-draft-review-checklist.md +8 -6
- package/template/docs/api/templates/openapi-freeze-record-template.md +8 -2
- package/template/docs/api/templates/openapi-json-export-record-template.md +60 -0
- package/template/docs/architecture/templates/architecture-review-checklist.md +6 -19
- package/template/docs/architecture/templates/functional-architecture-template.md +4 -4
- package/template/docs/architecture/templates/system-overview-design-template.md +10 -5
- package/template/docs/architecture/templates/tech-design-template.md +4 -11
- package/template/docs/design/README.md +4 -2
- package/template/docs/design/design.md +4 -0
- package/template/docs/design/templates/interaction-spec-template.md +3 -3
- package/template/docs/design/templates/prototype-confirmation-template.md +9 -6
- package/template/docs/design/templates/prototype-evidence-template.yaml +46 -0
- package/template/docs/design/templates/prototype-review-checklist.md +4 -4
- package/template/docs/discovery/templates/discovery-template.md +0 -1
- package/template/docs/implementation/create-yss-spec-repository-mode-contract.md +2 -2
- package/template/docs/process/harness-process-tailoring.md +2 -0
- package/template/docs/process/harness-work-unit-map.md +14 -10
- package/template/docs/process/lifecycle-artifact-map.md +84 -39
- package/template/docs/process/lifecycle-registry-baseline.json +70 -0
- package/template/docs/process/lifecycle-registry.yaml +289 -0
- package/template/docs/process/schemas/lifecycle-registry.schema.json +35 -0
- package/template/docs/reviews/lifecycle-registry-phase0-1-red-green-2026-08-17.md +61 -0
- package/template/docs/reviews/matt-yss-p0-ticket-review-git-red-green-2026-08-17.md +91 -0
- package/template/docs/reviews/openapi-skill-primary-source-research-2026-08-16.md +76 -0
- package/template/docs/reviews/openapi-yaml-first-independent-review-2026-08-16.md +121 -0
- package/template/docs/reviews/openapi-yaml-first-pressure-scenarios-2026-08-16.md +191 -0
- package/template/docs/reviews/openapi-yaml-first-red-green-2026-08-16.md +76 -0
- package/template/docs/reviews/openapi-yaml-json-output-independent-review-2026-08-16.md +30 -0
- package/template/docs/reviews/openapi-yaml-json-output-scope-red-green-2026-08-16.md +154 -0
- package/template/docs/reviews/research-create-yss-spec-refresh-2026-08-16.md +164 -0
- package/template/docs/reviews/security-permission-lifecycle-simplification-red-green-2026-08-16.md +43 -0
- package/template/docs/reviews/template-release-review-remediation-red-green-2026-08-17.md +41 -0
- package/template/docs/templates/agent-brief-template.md +2 -2
- package/template/docs/templates/build-architecture-checklist-template.md +3 -4
- package/template/docs/templates/implementation-repo-registry-template.md +0 -2
- package/template/docs/templates/implementation-routing-template.md +6 -6
- package/template/docs/templates/openapi-spec-template.yaml +0 -6
- package/template/docs/templates/review-report-template.md +2 -1
- package/template/docs/templates/spec-delta-template.md +1 -1
- package/template/docs/templates/spec-template.md +0 -1
- package/template/docs/templates/vertical-slice-ticket-template.md +2 -2
- package/template/docs/user-guide//344/272/247/345/223/201/347/224/237/345/221/275/345/221/250/346/234/237/345/267/245/344/275/234/346/265/201.md +6 -6
- package/template/docs/user-guide//344/272/247/345/223/201/347/240/224/345/217/221/345/205/250/347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +3 -3
- package/template/docs/user-guide//345/244/226/351/203/250/345/221/275/344/273/244/350/241/214/345/267/245/345/205/267/345/256/236/350/267/265/346/214/207/345/215/227.md +1 -1
- package/template/docs/user-guide//347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +1 -1
- package/template/scripts/generate-lifecycle-artifacts +26 -0
- package/template/scripts/lifecycle-registry.rb +194 -0
- package/template/scripts/sync-skills +1 -0
- package/template/scripts/test-export-yss-skills.rb +10 -6
- package/template/scripts/test-lifecycle-registry.rb +74 -0
- package/template/scripts/update-skill-lock +1 -0
- package/template/scripts/verify-governance-release +39 -0
- package/template/scripts/verify-lifecycle-registry +67 -0
- package/template/scripts/verify-lifecycle-scenarios +193 -23
- package/template/scripts/verify-matt-yss-integration-scenarios +297 -1
- package/template/scripts/verify-openapi-json-handoff-scenarios +270 -0
- package/template/scripts/verify-openapi-yaml-first-scenarios +120 -0
- package/template/scripts/verify-prototype-backend-scaffold-scenarios +26 -4
- package/template/scripts/verify-template +27 -3
- package/template/scripts/verify-yss-router-scenarios +51 -14
- package/template/skills-lock.json +25 -25
- package/template/wiki/raw/skills-lock.json +0 -15
- package/template/wiki/wiki/OpenAPI/345/245/221/347/272/246.md +1 -1
- package/template/wiki/wiki/YSS/345/267/245/347/250/213/346/212/200/350/203/275/344/275/223/347/263/273.md +1 -1
- package/template/yss-public-skills.json +5 -5
- package/template.snapshot.json +4 -4
- package/template/.agents/skills/yss-ddd-scaffold-generator/assets/templates/config/smart-doc.json.template +0 -17
- package/template/.agents/skills/yss-openapi/SKILL.md +0 -116
- package/template/.agents/skills/yss-openapi/agents/openai.yaml +0 -4
- package/template/.agents/skills/yss-openapi/img.png +0 -0
- package/template/.agents/skills/yss-openapi/img_1.png +0 -0
- package/template/.claude/skills/yss-ddd-scaffold-generator/assets/templates/config/smart-doc.json.template +0 -17
- package/template/.claude/skills/yss-openapi/SKILL.md +0 -116
- package/template/.claude/skills/yss-openapi/agents/openai.yaml +0 -4
- package/template/.claude/skills/yss-openapi/img.png +0 -0
- package/template/.claude/skills/yss-openapi/img_1.png +0 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/smart-doc.json.template +0 -17
- package/template/.codex/skills/yss-openapi/SKILL.md +0 -116
- package/template/.codex/skills/yss-openapi/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-openapi/img.png +0 -0
- package/template/.codex/skills/yss-openapi/img_1.png +0 -0
- package/template/.hermes/skills/yss-ddd-scaffold-generator/assets/templates/config/smart-doc.json.template +0 -17
- package/template/.hermes/skills/yss-openapi/SKILL.md +0 -116
- package/template/.hermes/skills/yss-openapi/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-openapi/img.png +0 -0
- package/template/.hermes/skills/yss-openapi/img_1.png +0 -0
- package/template/.pi/skills/yss-ddd-scaffold-generator/assets/templates/config/smart-doc.json.template +0 -17
- package/template/.pi/skills/yss-openapi/SKILL.md +0 -116
- package/template/.pi/skills/yss-openapi/agents/openai.yaml +0 -4
- package/template/.pi/skills/yss-openapi/img.png +0 -0
- package/template/.pi/skills/yss-openapi/img_1.png +0 -0
- package/template/.qoder/skills/yss-ddd-scaffold-generator/assets/templates/config/smart-doc.json.template +0 -17
- package/template/.qoder/skills/yss-openapi/SKILL.md +0 -116
- package/template/.qoder/skills/yss-openapi/agents/openai.yaml +0 -4
- package/template/.qoder/skills/yss-openapi/img.png +0 -0
- package/template/.qoder/skills/yss-openapi/img_1.png +0 -0
- package/template/.trae/skills/yss-ddd-scaffold-generator/assets/templates/config/smart-doc.json.template +0 -17
- package/template/.trae/skills/yss-openapi/SKILL.md +0 -116
- package/template/.trae/skills/yss-openapi/agents/openai.yaml +0 -4
- package/template/.trae/skills/yss-openapi/img.png +0 -0
- package/template/.trae/skills/yss-openapi/img_1.png +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
设计系统基线:
|
|
6
6
|
|
|
7
|
-
- `docs/design/design.md`:从本地 `Product-Design-System` 引入并整理的 Ant Design
|
|
7
|
+
- `docs/design/design.md`:从本地 `Product-Design-System` 引入并整理的 Ant Design 企业级设计系统说明,后续页面设计、交互说明、原型评审和前端实现默认引用该文件;官方 `design.md` 是上游默认,项目 token 是项目覆盖,优先级以该文件为准。
|
|
8
8
|
- `docs/design/tokens/`:随仓库保存的主题、亮色 / 暗色 / 紧凑 token 和 CSS 变量快照,后续实现不得依赖本机 Downloads 目录。
|
|
9
9
|
|
|
10
10
|
产品原型产出默认以 `product-design:index` 为主入口。该 skill 只负责路由,实际按 Product Design plugin 规则进入 `$get-context`、`$ideate`、`$prototype`、`$image-to-code`、`$url-to-code`、`$share` 或 `$design-qa` 等 focused skill;YSS 生命周期仍负责校验低保真评审、高保真 HTML 原型、AntD CLI 校验证据、用户确认和 Spec / OpenAPI 回填。
|
|
@@ -31,11 +31,13 @@
|
|
|
31
31
|
- `docs/design/templates/state-matrix-template.md`:loading、empty、error、readonly、no-permission、conflict 等状态。
|
|
32
32
|
- `docs/design/templates/prototype-review-checklist.md`:进入 Spec 校准 / API 影响分析 / 契约草案前的原型评审门禁。
|
|
33
33
|
- `docs/design/templates/prototype-confirmation-template.md`:高保真 HTML 原型产出后的用户确认记录。
|
|
34
|
+
- `docs/design/templates/prototype-evidence-template.yaml`:原型阶段的 AntD CLI、浏览器验证、评审和确认的机器可读证据清单。
|
|
34
35
|
|
|
35
36
|
推荐技能:
|
|
36
37
|
|
|
37
38
|
- `yss-design-system`:项目设计系统与 Ant Design 企业级 UI 风格基线;页面设计、原型评审、UI 实现和主题 token 落地时默认先引用。
|
|
38
|
-
- `
|
|
39
|
+
- `yss-prototype-stage`:跨 Agent 的原型阶段合同,固定资产、证据、设计优先级与生命周期回流;Codex 的主路由为 `product-design:index`。
|
|
40
|
+
- `product-design:index`:Codex 产品原型产出的主路由;根据输入是否有 URL、截图、Figma、代码目标或视觉方向,进入 `$get-context`、`$ideate`、`$prototype`、`$image-to-code`、`$url-to-code`、`$share` 或 `$design-qa` 等 focused skill。
|
|
39
41
|
- Product Design focused skills:基于 Spec 初稿和产品总体设计 / 功能架构,产出低保真 / 高保真页面、原型、交互设计资产和可分享原型;高保真 HTML 原型默认由该路由链路产出。
|
|
40
42
|
- `antd`:Ant Design v6 组件、demo、token、semantic 和 design.md 查询工具;生成或修改高保真 HTML 原型前后必须留下 CLI 校验证据。
|
|
41
43
|
- `prototype-review`:原型阶段评审门禁;未通过则不要进入 Spec 校准 / API 影响分析 / 契约草案。
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
结论:这不是营销型视觉系统,而是面向中后台、数据密集、表单密集、流程密集产品的 Ant Design 风格企业级设计系统。项目内 UI 默认应以“清晰、确定、低装饰、可扫描、高一致性”为目标。
|
|
21
21
|
|
|
22
|
+
## 原型设计依据的优先级
|
|
23
|
+
|
|
24
|
+
原型使用 Ant Design 时,`https://ant.design/design.md` 与官方 `antd` CLI 提供的是**上游默认**和组件事实;项目的 `docs/design/design.md`、`docs/design/tokens/*` 是经过确认的**项目覆盖**。当前功能只能在这两层之下完成语义组件映射。若上游默认与项目 token 不同,以项目覆盖为准,并在 `prototype-evidence.yaml` 中记录差异;不得把上游默认直接写回项目实现。
|
|
25
|
+
|
|
22
26
|
## 设计原则
|
|
23
27
|
|
|
24
28
|
本项目采用该设计系统时,优先遵循四个原则:
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
| 产品总体设计 / 功能架构 | `docs/.scratch/<feature>/design/<feature>-product-overview-design.md` | 必需;缺失时先返回产品总体设计阶段 |
|
|
11
11
|
| 领域术语 | `CONTEXT.md` | 核心名词、状态和业务规则 |
|
|
12
12
|
| Discovery | `docs/.scratch/<feature>/discovery/<feature>-discovery.md` | 可选 |
|
|
13
|
-
| Product Design 路由 | `product-design:index -> <focused skill>` | 必需;记录 `$get-context`、`$ideate`、`$prototype`、`$image-to-code` 或 `$url-to-code` |
|
|
13
|
+
| 原型阶段合同 / Product Design 路由 | `yss-prototype-stage -> product-design:index -> <focused skill>` | 必需;记录 `$get-context`、`$ideate`、`$prototype`、`$image-to-code` 或 `$url-to-code` |
|
|
14
14
|
| 原型 / 线框图 | `<链接或导出图片路径>` | Excalidraw / Figma / Penpot / tldraw / Axure / Markdown |
|
|
15
15
|
| 高保真 HTML 原型 | `docs/.scratch/<feature>/design/prototypes/index.html` | 低保真原型评审通过后补齐;必须使用 Ant Design v6;可由系统 / Agent 自动产出;产出后必须获得用户确认 |
|
|
16
|
-
|
|
|
16
|
+
| 原型验证清单 | `docs/.scratch/<feature>/verification/prototype-evidence.yaml` | 记录实际 CLI / AntD 版本、CLI JSON 输出、浏览器验证和阻塞项 |
|
|
17
17
|
| 现有 API 草案 | `docs/.scratch/<feature>/api/<feature>.yaml` | 可选;通常应先完成产品设计和 Spec 校准 |
|
|
18
18
|
|
|
19
19
|
## 2. 页面地图
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
- 每个表格列、筛选条件、表单字段、抽屉、弹窗和按钮都有数据来源或契约反推说明。
|
|
107
107
|
- 设计可以拆成独立可演示的垂直切片。
|
|
108
108
|
- 低保真原型评审通过后,高保真 HTML 原型使用 Ant Design v6 覆盖主流程、关键状态和响应式断点。
|
|
109
|
-
- 原型产出前已使用 `antd` CLI 查询设计语言、组件 API、demo、token 和 semantic
|
|
109
|
+
- 原型产出前已使用 `antd` CLI 查询设计语言、组件 API、demo、token 和 semantic 信息;原型产出后已在 `prototype-evidence.yaml` 记录实际版本、CLI 与浏览器验证证据。
|
|
110
110
|
|
|
111
111
|
## 9. 决策与未决问题
|
|
112
112
|
|
|
@@ -13,21 +13,24 @@
|
|
|
13
13
|
| 状态矩阵 | `docs/.scratch/<feature>/design/<feature>-state-matrix.md` |
|
|
14
14
|
| 原型评审 | `docs/.scratch/<feature>/design/<feature>-prototype-review.md` |
|
|
15
15
|
| 高保真 HTML 原型 | `docs/.scratch/<feature>/design/prototypes/index.html` |
|
|
16
|
+
| 机器可读验证清单 | `docs/.scratch/<feature>/verification/prototype-evidence.yaml` |
|
|
16
17
|
| Product Design 路由 | `product-design:index -> <focused skill>` |
|
|
17
18
|
| 产出方式 | 系统 / Agent 自动产出 / 人工补充 |
|
|
18
|
-
| Ant Design
|
|
19
|
+
| Ant Design 目标版本 | `<实际项目选择的 v6 版本>` |
|
|
19
20
|
|
|
20
21
|
## 2. AntD CLI 校验证据
|
|
21
22
|
|
|
22
23
|
| 校验项 | 命令 / 记录路径 | 结论 |
|
|
23
24
|
|---|---|---|
|
|
24
|
-
| 设计语言 | `antd design.md --
|
|
25
|
-
| 组件 API | `antd info <Component> --version
|
|
26
|
-
| 组件 demo | `antd demo <Component> <demo> --version
|
|
27
|
-
| 组件 token | `antd token <Component> --version
|
|
28
|
-
| semantic | `antd semantic <Component> --version
|
|
25
|
+
| 设计语言 | `antd design.md --format json` | |
|
|
26
|
+
| 组件 API | `antd info <Component> --version <target_antd_version> --format json` | |
|
|
27
|
+
| 组件 demo | `antd demo <Component> <demo> --version <target_antd_version> --format json` | |
|
|
28
|
+
| 组件 token | `antd token <Component> --version <target_antd_version> --format json` | |
|
|
29
|
+
| semantic | `antd semantic <Component> --version <target_antd_version> --format json` | |
|
|
29
30
|
| lint / 替代校验 | `antd lint <prototype path> --format json` | |
|
|
30
31
|
|
|
32
|
+
CLI 实际版本、目标 AntD 版本、完整 JSON 输出与浏览器验证结论以 `prototype-evidence.yaml` 为准;不得用本文中的示例版本替代实际记录。
|
|
33
|
+
|
|
31
34
|
## 3. 用户确认
|
|
32
35
|
|
|
33
36
|
| 项目 | 内容 |
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# 复制到 docs/.scratch/<feature>/verification/prototype-evidence.yaml。
|
|
2
|
+
# 本文件是原型验证证据清单;命令输出、截图和审查记录可存为相邻文件并由路径引用。
|
|
3
|
+
schema_version: 1
|
|
4
|
+
feature: <feature>
|
|
5
|
+
prototype_ref: docs/.scratch/<feature>/design/prototypes/index.html
|
|
6
|
+
design_baseline:
|
|
7
|
+
project_design_ref: docs/design/design.md
|
|
8
|
+
project_token_refs: []
|
|
9
|
+
upstream_design_md_source: https://ant.design/design.md
|
|
10
|
+
upstream_design_md_record_ref: <path-to-json-output-or-summary>
|
|
11
|
+
project_override_reviewed: false
|
|
12
|
+
antd:
|
|
13
|
+
cli_command: antd
|
|
14
|
+
cli_version: <actual-cli-version>
|
|
15
|
+
target_antd_version: <project-selected-v6-version>
|
|
16
|
+
queries:
|
|
17
|
+
design_md: <path-to-json-output>
|
|
18
|
+
components:
|
|
19
|
+
- component: <Component>
|
|
20
|
+
info_ref: <path-to-json-output>
|
|
21
|
+
demo_ref: <path-to-json-output>
|
|
22
|
+
token_ref: <path-to-json-output>
|
|
23
|
+
semantic_ref: <path-to-json-output>
|
|
24
|
+
lint_ref: <path-to-json-output>
|
|
25
|
+
lint_passed: false
|
|
26
|
+
browser_verification:
|
|
27
|
+
executor: <browser-or-automation-name>
|
|
28
|
+
rendered_nonblank: false
|
|
29
|
+
prototype_digest: <sha256-or-version-ref>
|
|
30
|
+
viewports:
|
|
31
|
+
- name: desktop
|
|
32
|
+
size: <width>x<height>
|
|
33
|
+
result: pending
|
|
34
|
+
- name: narrow-mobile
|
|
35
|
+
size: <width>x<height>
|
|
36
|
+
result: pending
|
|
37
|
+
main_flow_result: pending
|
|
38
|
+
failure_permission_or_conflict_result: pending
|
|
39
|
+
console_error_ref: <path-to-console-output-or-none>
|
|
40
|
+
review:
|
|
41
|
+
prototype_review_ref: docs/.scratch/<feature>/design/<feature>-prototype-review.md
|
|
42
|
+
result: pending
|
|
43
|
+
user_confirmation:
|
|
44
|
+
confirmation_ref: docs/.scratch/<feature>/design/<feature>-prototype-confirmation.md
|
|
45
|
+
result: pending
|
|
46
|
+
blockers: []
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
| 交互说明 | `docs/.scratch/<feature>/design/<feature>-interaction-spec.md` | |
|
|
11
11
|
| 原型 / 线框图 | `<链接或导出图片路径>` | |
|
|
12
12
|
| 状态矩阵 | `docs/.scratch/<feature>/design/<feature>-state-matrix.md` | |
|
|
13
|
-
| Product Design 路由记录 | `product-design:index -> <focused skill>` | |
|
|
14
|
-
|
|
|
13
|
+
| 原型阶段合同 / Product Design 路由记录 | `yss-prototype-stage -> product-design:index -> <focused skill>` | |
|
|
14
|
+
| 原型验证清单 | `docs/.scratch/<feature>/verification/prototype-evidence.yaml` | 高保真完成后补齐 CLI 与浏览器验证 |
|
|
15
15
|
| 现有 API 草案 | `docs/.scratch/<feature>/api/<feature>.yaml` | 可选 |
|
|
16
16
|
|
|
17
17
|
## 门禁清单
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
| 权限行为能区分隐藏、禁用和调用后拒绝 | | |
|
|
27
27
|
| 校验错误能区分模型级和字段级展示位置 | | |
|
|
28
28
|
| 能从界面需求反推出 API 影响和契约草案 | | |
|
|
29
|
-
|
|
|
30
|
-
| 高保真 HTML 原型未使用旧原型技能作为主入口,已通过 `product-design:index` 路由产出或记录例外原因 | | |
|
|
29
|
+
| 高保真 HTML 原型已按 `yss-prototype-stage` 通过 `product-design:index` 路由产出,或记录等价 Agent 适配及例外原因 | | |
|
|
31
30
|
| 前端验收、组件状态和数据依赖已明确 | | |
|
|
32
31
|
| 风险 / 回滚约束和人工确认项已记录 | | |
|
|
33
32
|
|
|
@@ -58,6 +57,7 @@
|
|
|
58
57
|
|
|
59
58
|
```text
|
|
60
59
|
结论:通过 / 阻断
|
|
60
|
+
生命周期门禁:`gate.prototype-reviewed` 通过 / 不通过
|
|
61
61
|
阻断项:
|
|
62
62
|
-
|
|
63
63
|
非阻断建议:
|
|
@@ -61,7 +61,6 @@ owner: ai
|
|
|
61
61
|
| 页面 / 交互 | 是 / 否 / 待定 | | 产品设计 / Prototype Review |
|
|
62
62
|
| OpenAPI / 契约 | 是 / 否 / 待定 | | API 影响分析 / 契约草案 |
|
|
63
63
|
| 数据模型 / 持久化 | 是 / 否 / 待定 | | 数据架构 / Design Review |
|
|
64
|
-
| 权限 / 审计 | 是 / 否 / 待定 | | 系统架构 / 安全审查 |
|
|
65
64
|
| 外部系统 / 集成 | 是 / 否 / 待定 | | 系统架构 / ADR |
|
|
66
65
|
| 发布 / 回滚 / 运维 | 是 / 否 / 待定 | | 系统架构 / Release Review |
|
|
67
66
|
| 高风险变更 / 人工确认项 | 是 / 否 / 待定 | | 人工确认项 |
|
|
@@ -52,7 +52,7 @@ npx create-yss-spec@latest attach \
|
|
|
52
52
|
{
|
|
53
53
|
"metadataSchemaVersion": 2,
|
|
54
54
|
"templateName": "create-yss-spec",
|
|
55
|
-
"cliVersion": "2.1.
|
|
55
|
+
"cliVersion": "2.1.4",
|
|
56
56
|
"templateSource": "github:iloveZzz/yss-spec-project-template",
|
|
57
57
|
"templateCommit": "<40-char-commit>",
|
|
58
58
|
"managedFilesManifestVersion": "<manifest-hash>",
|
|
@@ -85,6 +85,6 @@ CLI 必须遵循 [Spec / Ticket 迁移指南](../user-guide/规格与任务迁
|
|
|
85
85
|
1. 模板恢复 `docs/process/*`、正式处理 `.qoder` 投影并通过 fresh verification,形成确定 commit。
|
|
86
86
|
2. CLI 绑定该 commit,完成 attach / sync 跨仓库测试和独立 review。
|
|
87
87
|
3. 运行固定 commit 的 `npm test`、`npm pack --dry-run`,确认包内快照和实例门禁通过。
|
|
88
|
-
4. 发布 CLI `2.1.
|
|
88
|
+
4. 发布 CLI `2.1.4`,并回写版本、验证证据、备份恢复路径和回滚点。
|
|
89
89
|
|
|
90
90
|
模板引用仍为浮动 ref、任一共同验证失败、独立 review 未完成或打包失败时,只能声明“本仓库实现完成,跨仓库发布受阻”,不得声明整体可发布。本轮不执行 npm publish。
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
本文件规定如何根据变更规模和风险选择最近可信阶段。裁剪只减少未触发的门禁,不得跳过已经命中的条件强制门禁。
|
|
4
4
|
|
|
5
|
+
安全 / 权限不单独分诊。需求或冻结资产没有明确改变相关行为时不登记、不解释 `not-applicable`、不增加门禁;明确改变时只按实际 UI、API、Backend、Data、High-risk 影响复用普通流程。SQL / DDL / 迁移、上传 / 下载等技术载体继续由其数据或 API 影响决定路线,不自动升级为安全专项。
|
|
6
|
+
|
|
5
7
|
## 1. 判定顺序
|
|
6
8
|
|
|
7
9
|
1. 先读取 `yss-project.yaml`,非法、缺失或不支持的身份直接进入迁移检查。
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# Harness 工作单元地图
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
|
7
|
-
|
|
8
|
-
|
|
|
9
|
-
|
|
|
10
|
-
|
|
|
11
|
-
|
|
|
12
|
-
|
|
|
3
|
+
<!-- lifecycle-registry:work-units:start -->
|
|
4
|
+
> 此表由 `docs/process/lifecycle-registry.yaml` 生成;它只描述 `template-source` 的 Harness 工作单元。
|
|
5
|
+
|
|
6
|
+
| 稳定 ID | 工作单元 | 输入 | 输出 | 完成条件 |
|
|
7
|
+
|---|---|---|---|---|
|
|
8
|
+
| `work-unit.entry-triage` | 入口分诊 | 用户请求、仓库身份。 | 影响面与最近可信阶段。 | 身份和影响面可解释。 |
|
|
9
|
+
| `work-unit.ssot-update` | 单一事实源更新 | 变更合同。 | 权威文档或脚本。 | 其他投影可由脚本生成。 |
|
|
10
|
+
| `work-unit.skill-projection-sync` | 技能投影同步 | .agents/skills。 | Agent root 投影、skills lock。 | --check 通过。 |
|
|
11
|
+
| `work-unit.template-snapshot-build` | 模板快照构建 | 固定模板 commit。 | CLI bundled snapshot。 | commit 与 tree hash 可追踪。 |
|
|
12
|
+
| `work-unit.attach-sync-integration` | attach / sync 集成 | 目标仓库、dry-run 计划。 | 受管资产和 metadata。 | 验证通过或完整回滚。 |
|
|
13
|
+
| `work-unit.fresh-verification` | Fresh verification | 变更仓库。 | 命令输出与证据。 | 所有命中门禁通过。 |
|
|
14
|
+
| `work-unit.independent-review` | 独立审查 | 变更 diff、验证证据。 | review 结论。 | 无未处理阻断项。 |
|
|
15
|
+
| `work-unit.release-and-rollback` | 发布与回滚 | 已审查 commit。 | release note、观察信号、回滚点。 | 两仓库顺序和恢复动作明确。 |
|
|
16
|
+
<!-- lifecycle-registry:work-units:end -->
|
|
@@ -1,48 +1,93 @@
|
|
|
1
1
|
# YSS 生命周期产物与门禁地图
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
本文是模板仓库与模板实例共享的生命周期派生阅读视图。结构化事实源是 `docs/process/lifecycle-registry.yaml`;本文解释主阶段、条件门禁、必须持久化的产物和退出标准。具体项目只有在触发条件命中时才执行对应门禁。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<!-- lifecycle-registry:structure:start -->
|
|
6
|
+
> 此结构区由 `docs/process/lifecycle-registry.yaml` 生成。当前为 `shadow` 模式:它校验结构和派生文档,不改变运行时状态 schema 或人工批准语义。
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## 1. 主阶段
|
|
9
|
+
|
|
10
|
+
| 稳定 ID | 阶段 | 目标 | 退出标准 |
|
|
11
|
+
|---|---|---|---|
|
|
12
|
+
| `stage.entry-triage` | 入口分诊 | 确认仓库身份、问题范围和影响面。 | yss-project.yaml 合法,影响面和最近可信阶段可解释。 |
|
|
13
|
+
| `stage.discovery` | Discovery | 澄清问题、用户、约束和机会。 | 问题边界、关键假设和待确认项已记录。 |
|
|
14
|
+
| `stage.spec-architecture` | Spec / 功能架构 | 固化解决方案和功能边界。 | Spec 基线和功能边界可审查。 |
|
|
15
|
+
| `stage.product-design` | 产品设计 | 在存在产品设计影响时校准页面流和状态。 | 命中的设计门禁通过;未命中项记录 not-applicable 及原因。 |
|
|
16
|
+
| `stage.system-data-engineering` | 系统 / 数据架构与工程契约 | 固化系统、数据、工程基线和 API 契约。 | 受影响工程契约冻结或记录无 API 影响;required 脚手架证据齐全。 |
|
|
17
|
+
| `stage.ticket-formalization` | Ticket 正式化 | 将冻结范围拆为可追踪的父 Ticket 和垂直切片。 | 工作单元窄、依赖清晰、验收和测试 seam 可执行。 |
|
|
18
|
+
| `stage.vertical-slice-implementation` | 垂直切片实现 | 以批准合同驱动 TDD 实现和跨仓库协作。 | 允许写路径、禁止模式、证据和验证命令全部满足。 |
|
|
19
|
+
| `stage.verification-release-retrospective` | 验证 / 发布 / 复盘 | 完成 fresh verification、发布和回顾。 | 所有命中门禁通过,人工审查点已完成,checkpoint 可追溯。 |
|
|
20
|
+
|
|
21
|
+
## 2. 生命周期对象
|
|
22
|
+
|
|
23
|
+
门禁是需要裁决的审查点;产物、工作单元和证据不是门禁的同义词。未命中条件的门禁记录 `not-applicable` 及原因,不生成空文档。
|
|
24
|
+
|
|
25
|
+
### 2.1 条件门禁
|
|
26
|
+
|
|
27
|
+
| 稳定 ID | 门禁 | 所属阶段 | 触发条件 | 必须留下的证据 |
|
|
28
|
+
|---|---|---|---|---|
|
|
29
|
+
| `gate.repository-identity-valid` | 仓库身份校验 | `stage.entry-triage` | 每次进入流程。 | `evidence.repository-identity-check` |
|
|
30
|
+
| `gate.spec-baseline-approved` | Spec 基线批准 | `stage.spec-architecture` | 新功能、行为变化或范围扩大进入 Spec 基线。 | `evidence.approval-record` |
|
|
31
|
+
| `gate.prototype-reviewed` | 原型评审 | `stage.product-design` | 命中产品设计影响,且低保真页面、流程、状态或 API 反推需要独立评审。 | `evidence.prototype-review-result` |
|
|
32
|
+
| `gate.prototype-verified` | 高保真原型验证 | `stage.product-design` | 需要高保真 HTML 原型进行视觉与交互校准。 | `evidence.antd-cli-validation`、`evidence.browser-prototype-verification` |
|
|
33
|
+
| `gate.user-confirmation` | 用户确认 | `stage.product-design` | 产品设计影响尚未被人工确认。 | `evidence.prototype-confirmation` |
|
|
34
|
+
| `gate.openapi-draft-reviewed` | OpenAPI Draft Review | `stage.system-data-engineering` | 有 API 影响且 Draft 已生成。 | `evidence.openapi-draft-review` |
|
|
35
|
+
| `gate.design-reviewed` | 设计审查 | `stage.system-data-engineering` | API 或架构影响。 | `evidence.design-review-result` |
|
|
36
|
+
| `gate.openapi-frozen` | OpenAPI Freeze | `stage.system-data-engineering` | API 进入实现。 | `evidence.approval-record` |
|
|
37
|
+
| `gate.engineering-baseline-accepted` | 工程基线 | `stage.system-data-engineering` | 后端、前端或高风险工程变化。 | `evidence.fresh-verification` |
|
|
38
|
+
| `gate.architecture-reviewed` | 架构审查 | `stage.system-data-engineering` | 高风险或跨边界变化。 | `evidence.design-review-result` |
|
|
39
|
+
| `gate.slice-contract-approved` | Slice Implementation Contract 批准 | `stage.ticket-formalization` | Agent 进入实现;脚手架完成后每个后续生成代码工作单元。 | `evidence.contract-approval` |
|
|
40
|
+
| `gate.slice-ready-for-agent` | 垂直切片实现就绪 | `stage.ticket-formalization` | 垂直切片具备直接实现条件。 | `evidence.contract-approval`、`evidence.approval-record` |
|
|
41
|
+
| `gate.release-ready` | 发布就绪 | `stage.verification-release-retrospective` | 合并、发布或阶段完成。 | `evidence.fresh-verification`、`evidence.checkpoint-and-rollback` |
|
|
42
|
+
|
|
43
|
+
### 2.2 生命周期产物
|
|
44
|
+
|
|
45
|
+
| 稳定 ID | 产物 | 所属阶段 | 触发条件 |
|
|
8
46
|
|---|---|---|---|
|
|
9
|
-
|
|
|
10
|
-
|
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
|
47
|
+
| `artifact.impact-assessment` | 影响面分析 | `stage.entry-triage` | 每次变更。 |
|
|
48
|
+
| `artifact.discovery-record` | Discovery 记录 | `stage.discovery` | 新问题或边界不清。 |
|
|
49
|
+
| `artifact.spec` | Spec | `stage.spec-architecture` | 新功能、行为变化或范围扩大。 |
|
|
50
|
+
| `artifact.product-overview` | 产品总体设计 | `stage.spec-architecture` | 进入 Spec 基线。 |
|
|
51
|
+
| `artifact.functional-architecture` | 功能架构 | `stage.spec-architecture` | 新模块或跨边界变化。 |
|
|
52
|
+
| `artifact.interaction-spec` | 交互说明 | `stage.product-design` | 命中产品设计影响。 |
|
|
53
|
+
| `artifact.low-fidelity-prototype` | 低保真原型 | `stage.product-design` | 命中产品设计影响。 |
|
|
54
|
+
| `artifact.state-matrix` | 状态矩阵 | `stage.product-design` | 存在状态流转、异常或恢复。 |
|
|
55
|
+
| `artifact.high-fidelity-html-prototype` | 高保真 HTML 原型 | `stage.product-design` | 需要视觉与交互校准。 |
|
|
56
|
+
| `artifact.prototype-review` | 原型评审记录 | `stage.product-design` | 命中 gate.prototype-reviewed。 |
|
|
57
|
+
| `artifact.prototype-confirmation` | 原型确认记录 | `stage.product-design` | 命中 gate.user-confirmation。 |
|
|
58
|
+
| `artifact.openapi-draft` | OpenAPI Draft | `stage.system-data-engineering` | 有 API 影响。 |
|
|
59
|
+
| `artifact.openapi-freeze-record` | OpenAPI Freeze 记录 | `stage.system-data-engineering` | API 进入实现。 |
|
|
60
|
+
| `artifact.data-architecture` | 数据架构 | `stage.system-data-engineering` | 数据模型、存储或一致性变化。 |
|
|
61
|
+
| `artifact.engineering-baseline` | 工程基线记录 | `stage.system-data-engineering` | 后端、前端或高风险工程变化。 |
|
|
62
|
+
| `artifact.architecture-review` | 架构审查记录 | `stage.system-data-engineering` | 高风险或跨边界变化。 |
|
|
63
|
+
| `artifact.spec-delta` | Spec Delta | `stage.spec-architecture` | 已有冻结 Spec 的高风险行为变化。 |
|
|
64
|
+
| `artifact.parent-ticket` | 功能父 Ticket | `stage.ticket-formalization` | 每个进入追踪的功能。 |
|
|
65
|
+
| `artifact.vertical-slice-ticket` | 垂直切片 Ticket | `stage.ticket-formalization` | 进入实现前。 |
|
|
66
|
+
| `artifact.slice-implementation-contract` | Slice Implementation Contract | `stage.ticket-formalization` | Agent 进入实现。 |
|
|
67
|
+
| `artifact.retrospective` | 复盘记录 | `stage.verification-release-retrospective` | 发布后或阶段性完成后满足复盘触发条件。 |
|
|
68
|
+
|
|
69
|
+
### 2.3 执行证据
|
|
70
|
+
|
|
71
|
+
| 稳定 ID | 证据 | 说明 |
|
|
21
72
|
|---|---|---|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
| 垂直切片 Ticket | 进入实现前 | 可独立验证的切片 Ticket |
|
|
41
|
-
| Slice Implementation Contract | Agent 进入实现;脚手架完成后每个后续生成代码工作单元 | 批准的 Slice Implementation Contract、当前版本、YSS skill 闭包和写路径 / 证据约束 |
|
|
42
|
-
| YSS Skill Execution Result | YSS 专项 skill 完成工作单元 | YSS Skill Execution Result |
|
|
43
|
-
| Fresh Verification / 发布 | 合并、发布或阶段完成 | fresh verification、release、rollback、checkpoint |
|
|
44
|
-
|
|
45
|
-
所有门禁都是条件强制门禁。未命中触发条件时,必须明确记录 `not-applicable` 及原因;不生成空文档。完成结论必须同时包含批准的 Slice Implementation Contract 与 YSS Skill Execution Result(若进入实现阶段)。
|
|
73
|
+
| `evidence.impact-assessment` | 影响面分析记录 | 受影响仓库、资产、风险与最近可信阶段。 |
|
|
74
|
+
| `evidence.repository-identity-check` | 仓库身份校验结果 | yss-project.yaml 的合法性与 repository_mode 裁决。 |
|
|
75
|
+
| `evidence.approval-record` | 人工批准记录 | 对需要人工批准的 Spec、设计、契约或发布裁决的可追溯记录。 |
|
|
76
|
+
| `evidence.design-review-result` | 设计审查结果 | API、架构或产品设计审查意见及处理结果。 |
|
|
77
|
+
| `evidence.prototype-review-result` | 原型评审结果 | 低保真页面、流程、状态与 API 反推的独立评审结论和阻断项。 |
|
|
78
|
+
| `evidence.antd-cli-validation` | Ant Design CLI 校验证据 | 设计语言、组件、demo、token、semantic 与 lint 的实际 CLI/目标版本和可读输出引用。 |
|
|
79
|
+
| `evidence.browser-prototype-verification` | 浏览器原型验证证据 | 高保真原型的非空渲染、主流程、异常状态、视口和控制台验证记录。 |
|
|
80
|
+
| `evidence.prototype-confirmation` | 原型用户确认记录 | 高保真原型、验证清单和进入下游阶段范围的人工确认结论。 |
|
|
81
|
+
| `evidence.openapi-draft-review` | OpenAPI Draft 审查记录 | P0、错误、分页、幂等和契约测试审查记录。 |
|
|
82
|
+
| `evidence.contract-approval` | Slice 合同批准记录 | 生命周期编排器批准且已持久化的当前版本合同引用。 |
|
|
83
|
+
| `evidence.yss-skill-execution-result` | YSS Skill Execution Result | 专项 skill 的合同版本、写入、验证、延期 seam 与偏离证据。 |
|
|
84
|
+
| `evidence.fresh-verification` | Fresh Verification 记录 | 本轮实际执行的验证命令、结果和时间。 |
|
|
85
|
+
| `evidence.checkpoint-and-rollback` | Checkpoint 与回滚点 | 可追溯的变更边界、发布记录和恢复动作。 |
|
|
86
|
+
<!-- lifecycle-registry:structure:end -->
|
|
87
|
+
|
|
88
|
+
完成结论必须同时包含批准的 Slice Implementation Contract 与 YSS Skill Execution Result(若进入实现阶段)。
|
|
89
|
+
|
|
90
|
+
安全 / 权限不形成独立门禁。只有需求或冻结资产明确改变相关业务行为时,才把它写入普通产物,并按实际 UI、API、Backend、Data、High-risk 影响使用上表既有门禁。
|
|
46
91
|
|
|
47
92
|
## 3. 退出与 checkpoint
|
|
48
93
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"registry_id": "yss.lifecycle",
|
|
4
|
+
"semantic_sha256": "6261529654dba3e3738aa950e42d6af5b5db1b3be4ac6c2e4dc86a395c49ec6f",
|
|
5
|
+
"published_ids": [
|
|
6
|
+
"artifact.architecture-review",
|
|
7
|
+
"artifact.data-architecture",
|
|
8
|
+
"artifact.discovery-record",
|
|
9
|
+
"artifact.engineering-baseline",
|
|
10
|
+
"artifact.functional-architecture",
|
|
11
|
+
"artifact.high-fidelity-html-prototype",
|
|
12
|
+
"artifact.impact-assessment",
|
|
13
|
+
"artifact.interaction-spec",
|
|
14
|
+
"artifact.low-fidelity-prototype",
|
|
15
|
+
"artifact.openapi-draft",
|
|
16
|
+
"artifact.openapi-freeze-record",
|
|
17
|
+
"artifact.parent-ticket",
|
|
18
|
+
"artifact.product-overview",
|
|
19
|
+
"artifact.prototype-confirmation",
|
|
20
|
+
"artifact.prototype-review",
|
|
21
|
+
"artifact.retrospective",
|
|
22
|
+
"artifact.slice-implementation-contract",
|
|
23
|
+
"artifact.spec",
|
|
24
|
+
"artifact.spec-delta",
|
|
25
|
+
"artifact.state-matrix",
|
|
26
|
+
"artifact.vertical-slice-ticket",
|
|
27
|
+
"evidence.antd-cli-validation",
|
|
28
|
+
"evidence.approval-record",
|
|
29
|
+
"evidence.browser-prototype-verification",
|
|
30
|
+
"evidence.checkpoint-and-rollback",
|
|
31
|
+
"evidence.contract-approval",
|
|
32
|
+
"evidence.design-review-result",
|
|
33
|
+
"evidence.fresh-verification",
|
|
34
|
+
"evidence.impact-assessment",
|
|
35
|
+
"evidence.openapi-draft-review",
|
|
36
|
+
"evidence.prototype-confirmation",
|
|
37
|
+
"evidence.prototype-review-result",
|
|
38
|
+
"evidence.repository-identity-check",
|
|
39
|
+
"evidence.yss-skill-execution-result",
|
|
40
|
+
"gate.architecture-reviewed",
|
|
41
|
+
"gate.design-reviewed",
|
|
42
|
+
"gate.engineering-baseline-accepted",
|
|
43
|
+
"gate.openapi-draft-reviewed",
|
|
44
|
+
"gate.openapi-frozen",
|
|
45
|
+
"gate.prototype-reviewed",
|
|
46
|
+
"gate.prototype-verified",
|
|
47
|
+
"gate.release-ready",
|
|
48
|
+
"gate.repository-identity-valid",
|
|
49
|
+
"gate.slice-contract-approved",
|
|
50
|
+
"gate.slice-ready-for-agent",
|
|
51
|
+
"gate.spec-baseline-approved",
|
|
52
|
+
"gate.user-confirmation",
|
|
53
|
+
"stage.discovery",
|
|
54
|
+
"stage.entry-triage",
|
|
55
|
+
"stage.product-design",
|
|
56
|
+
"stage.spec-architecture",
|
|
57
|
+
"stage.system-data-engineering",
|
|
58
|
+
"stage.ticket-formalization",
|
|
59
|
+
"stage.verification-release-retrospective",
|
|
60
|
+
"stage.vertical-slice-implementation",
|
|
61
|
+
"work-unit.attach-sync-integration",
|
|
62
|
+
"work-unit.entry-triage",
|
|
63
|
+
"work-unit.fresh-verification",
|
|
64
|
+
"work-unit.independent-review",
|
|
65
|
+
"work-unit.release-and-rollback",
|
|
66
|
+
"work-unit.skill-projection-sync",
|
|
67
|
+
"work-unit.ssot-update",
|
|
68
|
+
"work-unit.template-snapshot-build"
|
|
69
|
+
]
|
|
70
|
+
}
|