create-yss-spec 3.2.0 → 3.3.1
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/package.json +3 -2
- package/src/command-runner.mjs +107 -0
- package/src/self-update.js +7 -4
- package/src/template/instance-runtime.js +1 -1
- package/template/.agents/skills/.strategic-design-skills-manifest.json +2 -2
- package/template/.agents/skills/code-review/SKILL.md +4 -0
- package/template/.agents/skills/code-review/agents/openai.yaml +1 -1
- package/template/.agents/skills/code-review/references/yss-review-standards.md +9 -2
- package/template/.agents/skills/competitive-intelligence/SKILL.md +4 -4
- package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +1 -1
- package/template/.agents/skills/grill-with-docs/SKILL.md +1 -1
- package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +7 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +8 -8
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +9 -0
- package/template/.agents/skills/yss-frontend-scaffold-generator/SKILL.md +10 -7
- package/template/.agents/skills/yss-frontend-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +10 -0
- package/template/.agents/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +121 -0
- package/template/.agents/skills/yss-frontend-scaffold-generator/scripts/run_scaffold_verification.mjs +40 -0
- package/template/.agents/skills/yss-frontend-scaffold-generator/scripts/scaffold-generator.test.mjs +55 -0
- package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +1 -1
- package/template/.agents/skills/yss-implementation-contract-compiler/references/boundaries.md +4 -0
- package/template/.agents/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +25 -0
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +8 -5
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +17 -2
- package/template/.agents/skills/yss-mybatis/SKILL.md +34 -58
- package/template/.agents/skills/yss-mybatis/agents/openai.yaml +2 -2
- package/template/.agents/skills/yss-mybatis/references/source-index.md +88 -68
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +50 -42
- package/template/.agents/skills/yss-product-lifecycle/references/artifact-dependencies.md +5 -3
- package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +3 -3
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +124 -16
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +16 -2
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +5 -2
- package/template/.agents/skills/yss-repository/SKILL.md +28 -70
- package/template/.agents/skills/yss-repository/agents/openai.yaml +2 -2
- package/template/.agents/skills/yss-repository/references/profiles/layered-mvc-service.md +19 -1
- package/template/.agents/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +19 -1
- package/template/.agents/skills/yss-repository/references/profiles/target-domain-model.md +21 -1
- package/template/.agents/skills/yss-repository/tests/profile-routing.test.mjs +59 -0
- package/template/.agents/skills/yss-research/SKILL.md +1 -1
- package/template/.agents/skills/yss-skill-source-index-refresh/SKILL.md +8 -5
- package/template/.agents/skills/yss-skill-source-index-refresh/references/source-location.md +2 -1
- package/template/.agents/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +388 -18
- package/template/.agents/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +79 -1
- package/template/.agents/skills/yss-stage-decision/SKILL.md +5 -3
- package/template/.agents/skills/yss-stage-decision/references/stage-decision-package-contract.md +1 -1
- package/template/.claude/skills/code-review/SKILL.md +4 -0
- package/template/.claude/skills/code-review/agents/openai.yaml +1 -1
- package/template/.claude/skills/code-review/references/yss-review-standards.md +9 -2
- package/template/.claude/skills/competitive-intelligence/SKILL.md +4 -4
- package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +1 -1
- package/template/.claude/skills/grill-with-docs/SKILL.md +1 -1
- package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-local.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +7 -3
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +8 -8
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +9 -0
- package/template/.claude/skills/yss-frontend-scaffold-generator/SKILL.md +10 -7
- package/template/.claude/skills/yss-frontend-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +10 -0
- package/template/.claude/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +121 -0
- package/template/.claude/skills/yss-frontend-scaffold-generator/scripts/run_scaffold_verification.mjs +40 -0
- package/template/.claude/skills/yss-frontend-scaffold-generator/scripts/scaffold-generator.test.mjs +55 -0
- package/template/.claude/skills/yss-implementation-contract-compiler/SKILL.md +1 -1
- package/template/.claude/skills/yss-implementation-contract-compiler/references/boundaries.md +4 -0
- package/template/.claude/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +25 -0
- package/template/.claude/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.claude/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +8 -5
- package/template/.claude/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +17 -2
- package/template/.claude/skills/yss-mybatis/SKILL.md +34 -58
- package/template/.claude/skills/yss-mybatis/agents/openai.yaml +2 -2
- package/template/.claude/skills/yss-mybatis/references/source-index.md +88 -68
- package/template/.claude/skills/yss-product-lifecycle/SKILL.md +50 -42
- package/template/.claude/skills/yss-product-lifecycle/references/artifact-dependencies.md +5 -3
- package/template/.claude/skills/yss-product-lifecycle/references/matt-yss-adapter.md +3 -3
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +124 -16
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration.md +16 -2
- package/template/.claude/skills/yss-product-lifecycle/references/state-model.md +5 -2
- package/template/.claude/skills/yss-repository/SKILL.md +28 -70
- package/template/.claude/skills/yss-repository/agents/openai.yaml +2 -2
- package/template/.claude/skills/yss-repository/references/profiles/layered-mvc-service.md +19 -1
- package/template/.claude/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +19 -1
- package/template/.claude/skills/yss-repository/references/profiles/target-domain-model.md +21 -1
- package/template/.claude/skills/yss-repository/tests/profile-routing.test.mjs +59 -0
- package/template/.claude/skills/yss-research/SKILL.md +1 -1
- package/template/.claude/skills/yss-skill-source-index-refresh/SKILL.md +8 -5
- package/template/.claude/skills/yss-skill-source-index-refresh/references/source-location.md +2 -1
- package/template/.claude/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +388 -18
- package/template/.claude/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +79 -1
- package/template/.claude/skills/yss-stage-decision/SKILL.md +5 -3
- package/template/.claude/skills/yss-stage-decision/references/stage-decision-package-contract.md +1 -1
- package/template/.codex/skills/code-review/SKILL.md +4 -0
- package/template/.codex/skills/code-review/agents/openai.yaml +1 -1
- package/template/.codex/skills/code-review/references/yss-review-standards.md +9 -2
- package/template/.codex/skills/competitive-intelligence/SKILL.md +4 -4
- package/template/.codex/skills/domain-modeling/CONTEXT-FORMAT.md +1 -1
- package/template/.codex/skills/grill-with-docs/SKILL.md +1 -1
- package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-local.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +7 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +8 -8
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +9 -0
- package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +10 -7
- package/template/.codex/skills/yss-frontend-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +10 -0
- package/template/.codex/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +121 -0
- package/template/.codex/skills/yss-frontend-scaffold-generator/scripts/run_scaffold_verification.mjs +40 -0
- package/template/.codex/skills/yss-frontend-scaffold-generator/scripts/scaffold-generator.test.mjs +55 -0
- package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +1 -1
- package/template/.codex/skills/yss-implementation-contract-compiler/references/boundaries.md +4 -0
- package/template/.codex/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +25 -0
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +8 -5
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +17 -2
- package/template/.codex/skills/yss-mybatis/SKILL.md +34 -58
- package/template/.codex/skills/yss-mybatis/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-mybatis/references/source-index.md +88 -68
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +50 -42
- package/template/.codex/skills/yss-product-lifecycle/references/artifact-dependencies.md +5 -3
- package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +3 -3
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +124 -16
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +16 -2
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +5 -2
- package/template/.codex/skills/yss-repository/SKILL.md +28 -70
- package/template/.codex/skills/yss-repository/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-repository/references/profiles/layered-mvc-service.md +19 -1
- package/template/.codex/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +19 -1
- package/template/.codex/skills/yss-repository/references/profiles/target-domain-model.md +21 -1
- package/template/.codex/skills/yss-repository/tests/profile-routing.test.mjs +59 -0
- package/template/.codex/skills/yss-research/SKILL.md +1 -1
- package/template/.codex/skills/yss-skill-source-index-refresh/SKILL.md +8 -5
- package/template/.codex/skills/yss-skill-source-index-refresh/references/source-location.md +2 -1
- package/template/.codex/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +388 -18
- package/template/.codex/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +79 -1
- package/template/.codex/skills/yss-stage-decision/SKILL.md +5 -3
- package/template/.codex/skills/yss-stage-decision/references/stage-decision-package-contract.md +1 -1
- package/template/.cursor/skills/code-review/SKILL.md +4 -0
- package/template/.cursor/skills/code-review/agents/openai.yaml +1 -1
- package/template/.cursor/skills/code-review/references/yss-review-standards.md +9 -2
- package/template/.cursor/skills/competitive-intelligence/SKILL.md +4 -4
- package/template/.cursor/skills/domain-modeling/CONTEXT-FORMAT.md +1 -1
- package/template/.cursor/skills/grill-with-docs/SKILL.md +1 -1
- package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-local.md +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +7 -3
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +8 -8
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +9 -0
- package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +10 -7
- package/template/.cursor/skills/yss-frontend-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +10 -0
- package/template/.cursor/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +121 -0
- package/template/.cursor/skills/yss-frontend-scaffold-generator/scripts/run_scaffold_verification.mjs +40 -0
- package/template/.cursor/skills/yss-frontend-scaffold-generator/scripts/scaffold-generator.test.mjs +55 -0
- package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +1 -1
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/boundaries.md +4 -0
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +25 -0
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +8 -5
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +17 -2
- package/template/.cursor/skills/yss-mybatis/SKILL.md +34 -58
- package/template/.cursor/skills/yss-mybatis/agents/openai.yaml +2 -2
- package/template/.cursor/skills/yss-mybatis/references/source-index.md +88 -68
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +50 -42
- package/template/.cursor/skills/yss-product-lifecycle/references/artifact-dependencies.md +5 -3
- package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +3 -3
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +124 -16
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +16 -2
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +5 -2
- package/template/.cursor/skills/yss-repository/SKILL.md +28 -70
- package/template/.cursor/skills/yss-repository/agents/openai.yaml +2 -2
- package/template/.cursor/skills/yss-repository/references/profiles/layered-mvc-service.md +19 -1
- package/template/.cursor/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +19 -1
- package/template/.cursor/skills/yss-repository/references/profiles/target-domain-model.md +21 -1
- package/template/.cursor/skills/yss-repository/tests/profile-routing.test.mjs +59 -0
- package/template/.cursor/skills/yss-research/SKILL.md +1 -1
- package/template/.cursor/skills/yss-skill-source-index-refresh/SKILL.md +8 -5
- package/template/.cursor/skills/yss-skill-source-index-refresh/references/source-location.md +2 -1
- package/template/.cursor/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +388 -18
- package/template/.cursor/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +79 -1
- package/template/.cursor/skills/yss-stage-decision/SKILL.md +5 -3
- package/template/.cursor/skills/yss-stage-decision/references/stage-decision-package-contract.md +1 -1
- package/template/.pi/skills/code-review/SKILL.md +4 -0
- package/template/.pi/skills/code-review/agents/openai.yaml +1 -1
- package/template/.pi/skills/code-review/references/yss-review-standards.md +9 -2
- package/template/.pi/skills/competitive-intelligence/SKILL.md +4 -4
- package/template/.pi/skills/domain-modeling/CONTEXT-FORMAT.md +1 -1
- package/template/.pi/skills/grill-with-docs/SKILL.md +1 -1
- package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-local.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +7 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +8 -8
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +9 -0
- package/template/.pi/skills/yss-frontend-scaffold-generator/SKILL.md +10 -7
- package/template/.pi/skills/yss-frontend-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +10 -0
- package/template/.pi/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +121 -0
- package/template/.pi/skills/yss-frontend-scaffold-generator/scripts/run_scaffold_verification.mjs +40 -0
- package/template/.pi/skills/yss-frontend-scaffold-generator/scripts/scaffold-generator.test.mjs +55 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +1 -1
- package/template/.pi/skills/yss-implementation-contract-compiler/references/boundaries.md +4 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +25 -0
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +8 -5
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +17 -2
- package/template/.pi/skills/yss-mybatis/SKILL.md +34 -58
- package/template/.pi/skills/yss-mybatis/agents/openai.yaml +2 -2
- package/template/.pi/skills/yss-mybatis/references/source-index.md +88 -68
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +50 -42
- package/template/.pi/skills/yss-product-lifecycle/references/artifact-dependencies.md +5 -3
- package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +3 -3
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +124 -16
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +16 -2
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +5 -2
- package/template/.pi/skills/yss-repository/SKILL.md +28 -70
- package/template/.pi/skills/yss-repository/agents/openai.yaml +2 -2
- package/template/.pi/skills/yss-repository/references/profiles/layered-mvc-service.md +19 -1
- package/template/.pi/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +19 -1
- package/template/.pi/skills/yss-repository/references/profiles/target-domain-model.md +21 -1
- package/template/.pi/skills/yss-repository/tests/profile-routing.test.mjs +59 -0
- package/template/.pi/skills/yss-research/SKILL.md +1 -1
- package/template/.pi/skills/yss-skill-source-index-refresh/SKILL.md +8 -5
- package/template/.pi/skills/yss-skill-source-index-refresh/references/source-location.md +2 -1
- package/template/.pi/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +388 -18
- package/template/.pi/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +79 -1
- package/template/.pi/skills/yss-stage-decision/SKILL.md +5 -3
- package/template/.pi/skills/yss-stage-decision/references/stage-decision-package-contract.md +1 -1
- package/template/.qoder/skills/code-review/SKILL.md +4 -0
- package/template/.qoder/skills/code-review/agents/openai.yaml +1 -1
- package/template/.qoder/skills/code-review/references/yss-review-standards.md +9 -2
- package/template/.qoder/skills/competitive-intelligence/SKILL.md +4 -4
- package/template/.qoder/skills/domain-modeling/CONTEXT-FORMAT.md +1 -1
- package/template/.qoder/skills/grill-with-docs/SKILL.md +1 -1
- package/template/.qoder/skills/setup-matt-pocock-skills/issue-tracker-local.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +7 -3
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +8 -8
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +9 -0
- package/template/.qoder/skills/yss-frontend-scaffold-generator/SKILL.md +10 -7
- package/template/.qoder/skills/yss-frontend-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +10 -0
- package/template/.qoder/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +121 -0
- package/template/.qoder/skills/yss-frontend-scaffold-generator/scripts/run_scaffold_verification.mjs +40 -0
- package/template/.qoder/skills/yss-frontend-scaffold-generator/scripts/scaffold-generator.test.mjs +55 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/SKILL.md +1 -1
- package/template/.qoder/skills/yss-implementation-contract-compiler/references/boundaries.md +4 -0
- package/template/.qoder/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +25 -0
- package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +8 -5
- package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +17 -2
- package/template/.qoder/skills/yss-mybatis/SKILL.md +34 -58
- package/template/.qoder/skills/yss-mybatis/agents/openai.yaml +2 -2
- package/template/.qoder/skills/yss-mybatis/references/source-index.md +88 -68
- package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +50 -42
- package/template/.qoder/skills/yss-product-lifecycle/references/artifact-dependencies.md +5 -3
- package/template/.qoder/skills/yss-product-lifecycle/references/matt-yss-adapter.md +3 -3
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +124 -16
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration.md +16 -2
- package/template/.qoder/skills/yss-product-lifecycle/references/state-model.md +5 -2
- package/template/.qoder/skills/yss-repository/SKILL.md +28 -70
- package/template/.qoder/skills/yss-repository/agents/openai.yaml +2 -2
- package/template/.qoder/skills/yss-repository/references/profiles/layered-mvc-service.md +19 -1
- package/template/.qoder/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +19 -1
- package/template/.qoder/skills/yss-repository/references/profiles/target-domain-model.md +21 -1
- package/template/.qoder/skills/yss-repository/tests/profile-routing.test.mjs +59 -0
- package/template/.qoder/skills/yss-research/SKILL.md +1 -1
- package/template/.qoder/skills/yss-skill-source-index-refresh/SKILL.md +8 -5
- package/template/.qoder/skills/yss-skill-source-index-refresh/references/source-location.md +2 -1
- package/template/.qoder/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +388 -18
- package/template/.qoder/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +79 -1
- package/template/.qoder/skills/yss-stage-decision/SKILL.md +5 -3
- package/template/.qoder/skills/yss-stage-decision/references/stage-decision-package-contract.md +1 -1
- package/template/.trae/skills/code-review/SKILL.md +4 -0
- package/template/.trae/skills/code-review/agents/openai.yaml +1 -1
- package/template/.trae/skills/code-review/references/yss-review-standards.md +9 -2
- package/template/.trae/skills/competitive-intelligence/SKILL.md +4 -4
- package/template/.trae/skills/domain-modeling/CONTEXT-FORMAT.md +1 -1
- package/template/.trae/skills/grill-with-docs/SKILL.md +1 -1
- package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-local.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +7 -3
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +8 -8
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +9 -0
- package/template/.trae/skills/yss-frontend-scaffold-generator/SKILL.md +10 -7
- package/template/.trae/skills/yss-frontend-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +10 -0
- package/template/.trae/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +121 -0
- package/template/.trae/skills/yss-frontend-scaffold-generator/scripts/run_scaffold_verification.mjs +40 -0
- package/template/.trae/skills/yss-frontend-scaffold-generator/scripts/scaffold-generator.test.mjs +55 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/SKILL.md +1 -1
- package/template/.trae/skills/yss-implementation-contract-compiler/references/boundaries.md +4 -0
- package/template/.trae/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +25 -0
- package/template/.trae/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.trae/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +8 -5
- package/template/.trae/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +17 -2
- package/template/.trae/skills/yss-mybatis/SKILL.md +34 -58
- package/template/.trae/skills/yss-mybatis/agents/openai.yaml +2 -2
- package/template/.trae/skills/yss-mybatis/references/source-index.md +88 -68
- package/template/.trae/skills/yss-product-lifecycle/SKILL.md +50 -42
- package/template/.trae/skills/yss-product-lifecycle/references/artifact-dependencies.md +5 -3
- package/template/.trae/skills/yss-product-lifecycle/references/matt-yss-adapter.md +3 -3
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +124 -16
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration.md +16 -2
- package/template/.trae/skills/yss-product-lifecycle/references/state-model.md +5 -2
- package/template/.trae/skills/yss-repository/SKILL.md +28 -70
- package/template/.trae/skills/yss-repository/agents/openai.yaml +2 -2
- package/template/.trae/skills/yss-repository/references/profiles/layered-mvc-service.md +19 -1
- package/template/.trae/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +19 -1
- package/template/.trae/skills/yss-repository/references/profiles/target-domain-model.md +21 -1
- package/template/.trae/skills/yss-repository/tests/profile-routing.test.mjs +59 -0
- package/template/.trae/skills/yss-research/SKILL.md +1 -1
- package/template/.trae/skills/yss-skill-source-index-refresh/SKILL.md +8 -5
- package/template/.trae/skills/yss-skill-source-index-refresh/references/source-location.md +2 -1
- package/template/.trae/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +388 -18
- package/template/.trae/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +79 -1
- package/template/.trae/skills/yss-stage-decision/SKILL.md +5 -3
- package/template/.trae/skills/yss-stage-decision/references/stage-decision-package-contract.md +1 -1
- package/template/AGENTS.md +2 -2
- package/template/CONTEXT.md +3 -2
- package/template/README.md +3 -3
- package/template/docs/agents/digital-human-roles.md +1 -1
- package/template/docs/agents/digital-human-roles.yaml +13 -11
- package/template/docs/agents/issue-tracker.md +1 -1
- package/template/docs/agents/strategic-design-skills-integration.md +2 -0
- package/template/docs/agents/yss-skill-registry.yaml +5 -0
- package/template/docs/architecture/README.md +1 -1
- package/template/docs/architecture/templates/business-architecture-template.md +1 -1
- package/template/docs/architecture/templates/functional-architecture-template.md +1 -1
- package/template/docs/design/README.md +1 -1
- package/template/docs/design/templates/interaction-spec-template.md +1 -1
- package/template/docs/design/templates/product-overview-design-template.md +1 -1
- package/template/docs/{discovery → plan}/IDEATION.md +5 -5
- package/template/docs/plan/README.md +9 -0
- package/template/docs/plan/entry-review.md +23 -0
- package/template/docs/plan/templates/plan-template.md +58 -0
- package/template/docs/process/harness-process-tailoring.md +1 -1
- package/template/docs/process/lifecycle-artifact-map.md +10 -6
- package/template/docs/process/lifecycle-registry-baseline.json +10 -1
- package/template/docs/process/lifecycle-registry.yaml +48 -20
- package/template/docs/process/plan-migration.md +13 -0
- package/template/docs/process/schemas/digital-human-task-package.schema.json +2 -0
- package/template/docs/process/schemas/implementation-repository-preparation-result.schema.json +38 -0
- package/template/docs/process/schemas/lifecycle-checkpoint.schema.json +3 -0
- package/template/docs/process/schemas/lifecycle-registry.schema.json +1 -1
- package/template/docs/process/schemas/project-scaffold-contract.schema.json +113 -0
- package/template/docs/process/template-engineering-overview.md +2 -2
- package/template/docs/process/template-verification-profiles.yaml +25 -0
- package/template/docs/process/templates/context-reconciliation-template.yaml +2 -2
- package/template/docs/process/templates/lifecycle-checkpoint-template.yaml +1 -1
- package/template/docs/requirements/README.md +2 -2
- package/template/docs/templates/implementation-repo-registry-template.md +8 -0
- package/template/docs/templates/local-parent-ticket-template.md +1 -1
- package/template/docs/templates/review-report-template.md +7 -3
- package/template/docs/templates/subagent-task-package-template.md +1 -1
- package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214.md +1 -1
- package/template/scripts/cache-template-commit +2 -2
- package/template/scripts/fixtures/strategic-handoff/source-roles.json +7 -7
- package/template/scripts/fixtures/user-decision/plan-fixture.mjs +30 -0
- package/template/scripts/lib/backend-delivery.mjs +5 -2
- package/template/scripts/lib/command-runner.mjs +107 -0
- package/template/scripts/lib/context-reconciliation.mjs +34 -0
- package/template/scripts/lib/json-schema.mjs +42 -13
- package/template/scripts/lib/lifecycle-context-query.mjs +141 -0
- package/template/scripts/lib/lifecycle-transition.mjs +118 -6
- package/template/scripts/lib/plan-spec-entry.mjs +87 -0
- package/template/scripts/lib/scenario-checks.mjs +44 -38
- package/template/scripts/lib/skill-registry.mjs +9 -0
- package/template/scripts/lib/skill-supply-chain.mjs +18 -2
- package/template/scripts/lib/strategic-handoff-io.mjs +5 -4
- package/template/scripts/lib/strategic-handoff.mjs +10 -9
- package/template/scripts/lib/task-package.mjs +2 -0
- package/template/scripts/lib/template-commit-cache.mjs +7 -5
- package/template/scripts/query-lifecycle-context +25 -0
- package/template/scripts/run-template-verification +9 -3
- package/template/scripts/sync-strategic-handoff-tools +9 -0
- package/template/scripts/verify-business-language-scenarios +0 -7
- package/template/scripts/verify-context-reconciliation +2 -48
- package/template/scripts/verify-context-reconciliation-scenarios +1 -1
- package/template/scripts/verify-frontend-scaffold-generator-scenarios +2 -0
- package/template/scripts/verify-lifecycle-checkpoint +2 -0
- package/template/scripts/verify-lifecycle-context-query-scenarios +88 -0
- package/template/scripts/verify-lifecycle-transition-scenarios +44 -4
- package/template/scripts/verify-plan-spec-entry +11 -0
- package/template/scripts/verify-plan-spec-entry-scenarios +79 -0
- package/template/scripts/verify-script-performance-scenarios +56 -0
- package/template/scripts/verify-subagent-task-package-scenarios +9 -8
- package/template/scripts/verify-template-cache-scenarios +11 -1
- package/template/scripts/verify-user-decision-scenarios +4 -4
- package/template/skills-lock.json +23 -23
- package/template.manifest.json +2 -1
- package/template.snapshot.json +5 -5
- package/template/.agents/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.agents/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.agents/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.agents/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.agents/skills/yss-mybatis/references/README.md +0 -57
- package/template/.agents/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/.claude/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.claude/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.claude/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.claude/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.claude/skills/yss-mybatis/references/README.md +0 -57
- package/template/.claude/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/.codex/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.codex/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.codex/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.codex/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.codex/skills/yss-mybatis/references/README.md +0 -57
- package/template/.codex/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/.cursor/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.cursor/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.cursor/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.cursor/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.cursor/skills/yss-mybatis/references/README.md +0 -57
- package/template/.cursor/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/.pi/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.pi/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.pi/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.pi/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.pi/skills/yss-mybatis/references/README.md +0 -57
- package/template/.pi/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/.qoder/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.qoder/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.qoder/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.qoder/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.qoder/skills/yss-mybatis/references/README.md +0 -57
- package/template/.qoder/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/.trae/skills/yss-mybatis/assets/BaseRepository.java +0 -112
- package/template/.trae/skills/yss-mybatis/assets/EntityQueryAspect.java +0 -37
- package/template/.trae/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +0 -18
- package/template/.trae/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +0 -18
- package/template/.trae/skills/yss-mybatis/references/README.md +0 -57
- package/template/.trae/skills/yss-repository/references/infrastructure-layer-guide.md +0 -107
- package/template/docs/discovery/README.md +0 -87
- package/template/docs/discovery/reports/.gitkeep +0 -0
- package/template/docs/discovery/reports/agent-governance-options.md +0 -71
- package/template/docs/discovery/reports/competitor-deep-dive/.gitkeep +0 -0
- package/template/docs/discovery/templates/discovery-template.md +0 -94
- /package/template/docs/{discovery → plan}/templates/competitive-analysis-template.md +0 -0
- /package/template/docs/{discovery → plan}/templates/competitive-matrix-template.md +0 -0
- /package/template/docs/{discovery → plan}/templates/market-analysis-template.md +0 -0
- /package/template/docs/{discovery → plan}/templates/user-pain-points-template.md +0 -0
|
@@ -67,7 +67,7 @@ orchestrator:
|
|
|
67
67
|
kind: orchestrator
|
|
68
68
|
title: YSS 生命周期主控
|
|
69
69
|
default_dual_hat: [role.project-manager]
|
|
70
|
-
stages: [stage.entry-triage, stage.
|
|
70
|
+
stages: [stage.entry-triage, stage.plan, stage.spec-architecture, stage.product-design, stage.system-data-engineering, stage.ticket-formalization, stage.vertical-slice-implementation, stage.verification-release-retrospective]
|
|
71
71
|
core_skills: [yss-product-lifecycle, yss-implementation-contract-compiler]
|
|
72
72
|
forbidden_skills: [yss-domain, yss-ui, yss-ui-business-page-generation, yss-web-controller, yss-repository, implement]
|
|
73
73
|
description: >-
|
|
@@ -84,12 +84,12 @@ roles:
|
|
|
84
84
|
kind: digital-human
|
|
85
85
|
contract_version: 1
|
|
86
86
|
title: YSS 需求经理
|
|
87
|
-
stages: [stage.
|
|
88
|
-
draft_artifact_ids: [artifact.
|
|
87
|
+
stages: [stage.plan, stage.spec-architecture]
|
|
88
|
+
draft_artifact_ids: [artifact.plan-record, artifact.spec]
|
|
89
89
|
core_skills: [grilling, domain-modeling, yss-research, competitive-intelligence, grill-with-docs]
|
|
90
90
|
forbidden_skills: [yss-ui, yss-domain, yss-web-controller, yss-repository, yss-ddd-scaffold-generator, yss-layered-mvc-scaffold-generator, yss-frontend-scaffold-generator, implement, tdd]
|
|
91
91
|
description: >-
|
|
92
|
-
Own
|
|
92
|
+
Own Plan language, users, MVP, non-goals, success criteria, test
|
|
93
93
|
seams, and Spec prose. Propose CONTEXT.md glossary entries. Do not freeze
|
|
94
94
|
visual prototypes, OpenAPI, or code. Do not guess unconfirmed business
|
|
95
95
|
rules. Hand off to the orchestrator when the frontier is empty.
|
|
@@ -99,14 +99,14 @@ roles:
|
|
|
99
99
|
kind: digital-human
|
|
100
100
|
contract_version: 1
|
|
101
101
|
title: YSS 产品经理
|
|
102
|
-
stages: [stage.
|
|
102
|
+
stages: [stage.plan, stage.spec-architecture, stage.product-design, stage.verification-release-retrospective]
|
|
103
103
|
draft_artifact_ids: [artifact.product-overview, artifact.functional-architecture, artifact.interaction-spec, artifact.state-matrix, artifact.prototype-confirmation]
|
|
104
104
|
core_skills: [yss-design-system, yss-prototype-stage, prototype-review, yss-antdv-next-design, yss-research, competitive-intelligence]
|
|
105
105
|
forbidden_skills: [yss-ui, yss-domain, yss-repository, yss-web-controller, yss-ddd-scaffold-generator, yss-layered-mvc-scaffold-generator, implement, tdd]
|
|
106
106
|
description: >-
|
|
107
107
|
Own priority, product-design impact, interaction, state matrix, prototype
|
|
108
108
|
confirmation recommendation, and the commercial constraints, delivery
|
|
109
|
-
commitments, release window, and commercial non-goals for
|
|
109
|
+
commitments, release window, and commercial non-goals for Plan and
|
|
110
110
|
release. May reject Spec scope. Do not write production code or freeze
|
|
111
111
|
OpenAPI alone. Do not independently approve external commercial contracts
|
|
112
112
|
or formal commitments; those require biological-human approval. Frontend
|
|
@@ -119,7 +119,7 @@ roles:
|
|
|
119
119
|
kind: digital-human
|
|
120
120
|
contract_version: 1
|
|
121
121
|
title: YSS 项目经理
|
|
122
|
-
stages: [stage.entry-triage, stage.
|
|
122
|
+
stages: [stage.entry-triage, stage.plan, stage.spec-architecture, stage.product-design, stage.system-data-engineering, stage.ticket-formalization, stage.vertical-slice-implementation, stage.verification-release-retrospective]
|
|
123
123
|
draft_artifact_ids: [artifact.parent-ticket, artifact.vertical-slice-ticket]
|
|
124
124
|
core_skills: [yss-product-lifecycle, handoff, implementation-repo-onboarding, cross-repo-implementation-routing]
|
|
125
125
|
forbidden_skills: [yss-domain, yss-ui, implement, tdd, yss-web-controller]
|
|
@@ -180,9 +180,9 @@ roles:
|
|
|
180
180
|
feature implementation. Must be a different instance from the implementer.
|
|
181
181
|
|
|
182
182
|
stage_groups:
|
|
183
|
-
- id: group.
|
|
184
|
-
name:
|
|
185
|
-
stage: stage.
|
|
183
|
+
- id: group.plan
|
|
184
|
+
name: Plan
|
|
185
|
+
stage: stage.plan
|
|
186
186
|
members: [role.lifecycle-orchestrator, role.requirements-manager, role.product-manager]
|
|
187
187
|
- id: group.spec
|
|
188
188
|
name: Spec
|
|
@@ -219,6 +219,7 @@ gate_policy:
|
|
|
219
219
|
- gate.repository-identity-valid
|
|
220
220
|
- gate.prototype-verified
|
|
221
221
|
orchestrator:
|
|
222
|
+
- gate.implementation-repositories-ready
|
|
222
223
|
- gate.slice-contract-approved
|
|
223
224
|
- gate.slice-ready-for-agent
|
|
224
225
|
digital_human_review:
|
|
@@ -273,8 +274,9 @@ user_decision_policy:
|
|
|
273
274
|
- gate.architecture-reviewed
|
|
274
275
|
- gate.release-ready
|
|
275
276
|
work_units:
|
|
276
|
-
work-unit.
|
|
277
|
+
work-unit.plan-requirements: plan-conclusion
|
|
277
278
|
work-unit.service-project-initialization: scaffold-choice
|
|
279
|
+
work-unit.implementation-repository-preparation: scaffold-choice
|
|
278
280
|
work-unit.slice-implementation: implementation-scope
|
|
279
281
|
work-unit.release-and-retrospective: gate.release-ready
|
|
280
282
|
work_unit_gates:
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
父模板通过 `.agents/skills/.strategic-design-skills-manifest.json` 固定上游 Git revision、路径和 tree hash。公共 ID 不因 profile 改名;共享规则先在战略设计源仓演进,再由父模板同步。
|
|
13
13
|
|
|
14
|
+
本轮 Plan 调整的 `yss-stage-decision` hash 对应战略设计子仓 commit `3a358684c5684ada433dca4fd97ee187050ca6d8`;父模板的 `source_revision` 与 gitlink 已同步。实施记录见 `.template-source/evidence/maintenance/2026-09-09-plan/`。
|
|
15
|
+
|
|
14
16
|
## 父模板薄适配
|
|
15
17
|
|
|
16
18
|
父模板承载完整产品研发生命周期,只允许在以下位置保留最小语境差异:
|
|
@@ -85,6 +85,7 @@ capabilities:
|
|
|
85
85
|
- { id: component.gateway-resilience, primary_skill: yss-resilience4j, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
86
86
|
- { id: scaffold.ddd, primary_skill: yss-ddd-scaffold-generator, task_modes: [integration, component-maintenance] }
|
|
87
87
|
- { id: scaffold.layered-mvc, primary_skill: yss-layered-mvc-scaffold-generator, task_modes: [integration, component-maintenance] }
|
|
88
|
+
- { id: scaffold.frontend-vue3, primary_skill: yss-frontend-scaffold-generator, task_modes: [integration, component-maintenance] }
|
|
88
89
|
- { id: project-init.mvc-data-analysis, primary_skill: yss-mvc-data-analysis-project-initializer, task_modes: [component-maintenance] }
|
|
89
90
|
- { id: migration.springboot3, primary_skill: yss-up-springboot3, task_modes: [guidance, integration, troubleshooting, component-maintenance, review-input] }
|
|
90
91
|
recipes:
|
|
@@ -106,8 +107,12 @@ recipes:
|
|
|
106
107
|
- { id: backend.distributed-id, capabilities: [component.distributed-id] }
|
|
107
108
|
- { id: backend.ddd-scaffold, capabilities: [scaffold.ddd, quality.java-code-style] }
|
|
108
109
|
- { id: backend.mvc-scaffold, capabilities: [scaffold.layered-mvc, quality.java-code-style] }
|
|
110
|
+
- { id: frontend.vue3-scaffold, capabilities: [scaffold.frontend-vue3] }
|
|
109
111
|
- { id: backend.springboot3-migration, capabilities: [migration.springboot3, quality.java-code-style] }
|
|
110
112
|
skill_dependencies:
|
|
113
|
+
code-review:
|
|
114
|
+
- { skill: yss-repository, type: context-conditional, when: backend-persistence-impact }
|
|
115
|
+
- { skill: yss-mybatis, type: context-conditional, when: backend-persistence-impact }
|
|
111
116
|
yss-prototype-stage:
|
|
112
117
|
- { skill: prototype-review, type: review-only }
|
|
113
118
|
- { skill: yss-design-system, type: coordination-only }
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
| 产物 | 产出阶段 | 重点问题 | 建议文件 |
|
|
12
12
|
|------|----------|----------|----------|
|
|
13
|
-
| 业务架构 | 机会探索 /
|
|
13
|
+
| 业务架构 | 机会探索 / Plan / 产品定义 | 用户是谁、价值流是什么、产品在业务生态中的边界在哪里 | `<feature>-business-architecture.md` |
|
|
14
14
|
| 产品总体设计 / 功能架构 | Spec 初稿之后、页面 / 原型 / 交互设计之前 | 用户主流程、业务对象、功能域、模块边界、页面/API/数据影响、优先级、依赖和 MVP 非目标范围是什么 | `<feature>-product-overview-design.md` 或 `<feature>-functional-architecture.md` |
|
|
15
15
|
| 系统概要设计 / 系统总体架构 | 工程基线 / 系统 / 数据架构设计 | 服务/模块如何构建、部署、集成、运维、回滚和演进 | `<feature>-system-overview-design.md`、`<feature>-system-architecture.md` 或 `<feature>-architecture.md` |
|
|
16
16
|
| 数据架构 | 详细设计 / 持久化开发前 | 概念/逻辑/物理模型、元模型、版本、血缘、查询、索引和存储策略是什么 | `<feature>-data-architecture.md` |
|
|
@@ -63,5 +63,5 @@ Token 或组件视觉变体变更必须先修改 `DESIGN.md`,再更新派生
|
|
|
63
63
|
docs/.scratch/<feature>/design/diagrams/
|
|
64
64
|
docs/.scratch/<feature>/design/prototypes/
|
|
65
65
|
docs/.scratch/<feature>/architecture/diagrams/
|
|
66
|
-
docs/.scratch/<feature>/
|
|
66
|
+
docs/.scratch/<feature>/plan/diagrams/
|
|
67
67
|
```
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
| Spec 初稿 | `docs/.scratch/<feature>/spec.md` | 原型评审后需要回填和校准 |
|
|
10
10
|
| 产品总体设计 / 功能架构 | `docs/.scratch/<feature>/design/<feature>-product-overview-design.md` | 必需;缺失时先返回产品总体设计阶段 |
|
|
11
11
|
| 领域术语 | `CONTEXT.md` | 核心名词、状态和业务规则 |
|
|
12
|
-
|
|
|
12
|
+
| Plan | `docs/.scratch/<feature>/plan/<feature>-discovery.md` | 可选 |
|
|
13
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
|
| 原型交付物 | `docs/.scratch/<feature>/design/prototypes/index.html` 或稳定 URL | 低保真评审后按 H1/H2 档位补齐;H2 AntD 条件取事实;真实组件待验事项交接到前端实现计划,产出后必须获得用户确认 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 机会构想 (Ideation) — 发现与需求之间的假设生成
|
|
2
2
|
|
|
3
|
-
> **
|
|
3
|
+
> **Plan 内部方法:生成可验证假设,再用 事实核查 事实校准。AI 是发散、挑战和组合机会的加速器。**
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ Ideation 不等同于 Matt skills `需求澄清`:
|
|
|
11
11
|
| 项 | 定位 | 输出 |
|
|
12
12
|
|---|---|---|
|
|
13
13
|
| Ideation Agent | 产品机会探索角色,回答“可能做什么、是否值得探索” | 候选机会、假设、挑战点、组合方案 |
|
|
14
|
-
|
|
|
14
|
+
| 事实核查角色 | 事实验证角色,回答“证据支持什么、用户真实痛点是什么” | 市场、竞品、用户洞察、MVP 边界输入 |
|
|
15
15
|
| Matt skills `需求澄清` | 方法论 skill,回答“某个已选方向如何形成技术方案” | 设计说明、方案取舍、风险识别、进入计划前的批准点 |
|
|
16
16
|
|
|
17
17
|
推荐关系:
|
|
@@ -20,7 +20,7 @@ Ideation 不等同于 Matt skills `需求澄清`:
|
|
|
20
20
|
市场 / 竞品 / 用户事实 <-> 机会构想假设 <-> MVP 边界
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
如果只有一个模糊主题,可以先 Ideation 再
|
|
23
|
+
如果只有一个模糊主题,可以先 Ideation 再 事实核查;如果已经有竞品、用户或行业材料,应先 事实核查 再 Ideation。二者循环到 Spec 前,必须收敛用户、痛点、做什么、不做什么和成功标准。
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
@@ -90,7 +90,7 @@ Substitute / Combine / Adapt / Modify / Put to another use / Eliminate / Reverse
|
|
|
90
90
|
## AI-Human Loop
|
|
91
91
|
|
|
92
92
|
```
|
|
93
|
-
人类提主题或
|
|
94
|
-
→ AI 挑战者分析 →
|
|
93
|
+
人类提主题或 事实核查 事实 → AI 发散候选机会 → 人类选择 Top 10
|
|
94
|
+
→ AI 挑战者分析 → 事实核查 验证证据 → AI 连接者找模式
|
|
95
95
|
→ 收敛 MVP 边界 → 确认是否进入 Spec / Ticket 或 Matt skills 需求澄清 技术方案设计
|
|
96
96
|
```
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Plan(战略规划)
|
|
2
|
+
|
|
3
|
+
Plan 为 Spec 提供已确认的战略输入。目标和退出条件引用 [生命周期注册表](../process/lifecycle-registry.yaml),裁剪引用 [影响面规则](../process/harness-process-tailoring.md)。
|
|
4
|
+
|
|
5
|
+
从 [规划模板](templates/plan-template.md) 开始。先识别哪些结论仍有效、哪些问题需要探索,再确认目标、业务边界、关键规则、MVP / 非目标、优先级和交接责任。业务边界与规则设计、方案决策包保留各自权威正文,Plan 通过引用组织输入,不重复定义。
|
|
6
|
+
|
|
7
|
+
问题探索是阶段内部按需开展的活动;市场和竞品事实使用 `competitive-intelligence`,技术或战略证据使用 `yss-research`。机会构想与事实核查可以反复迭代,关键问题解决后才申请进入 Spec。
|
|
8
|
+
|
|
9
|
+
历史资产处理见 [迁移说明](../process/plan-migration.md)。
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Plan → Spec 入口审阅
|
|
2
|
+
|
|
3
|
+
正式 Spec 起草之前必须通过 `node scripts/verify-plan-spec-entry <state.yaml>`;显式 `to-spec`、恢复、任务包派发和下一路由均不得绕过。Plan 不通过时可继续无依赖调研,不创建正式 Spec 草稿。此检查复用 `plan-conclusion` 用户决定,不新增批准阶段,也不授权实现。
|
|
4
|
+
|
|
5
|
+
检查 ID 与条件门禁取自 `docs/process/lifecycle-registry.yaml` 的 `stage.plan.spec_entry`。查询 Plan 或相关工作单元自动加载 `planning`、`grill_exit` 和全量检查,初始均为 `pending`。自动加载不代表勾选通过。
|
|
6
|
+
|
|
7
|
+
## 持久化合同
|
|
8
|
+
|
|
9
|
+
入口状态包含 `feature_id`、`plan_review_ref`、`plan_user_decision_ref`。这三个字段同样用于任务包、checkpoint 和完成态 Workflow Execution Result;不从历史阶段、路径或默认值推断。
|
|
10
|
+
|
|
11
|
+
`plan_review_ref` 指向 YAML / JSON:
|
|
12
|
+
|
|
13
|
+
- `schema_version: 1`、`kind: plan-entry-review`、与入口一致的 `feature_id`。
|
|
14
|
+
- `plan_ref`:本次 Plan 正文;`context_reconciliation_ref`:本次已通过的 Context 调和记录。
|
|
15
|
+
- `basis`:非空 `{ref, digest}` 列表,digest 为实际文件字节的 `sha256:` 摘要。必须包含 Plan 正文、根 `CONTEXT.md`、生命周期注册表、Context 调和记录及各检查和门禁引用的文件。远程事实先保存可追溯证据快照。
|
|
16
|
+
- `checks`:注册表要求的全部检查 ID,每项包含 `status: pending | passed` 和非空 `evidence_refs`,引用 `basis`。必需检查不接受 `not-applicable`。缺项、未知项、pending 均阻断。
|
|
17
|
+
- `open_items`:显式数组,空数组代表无未决项。每项有 `id`、`critical`、`runnable_blocker`、`status` 和 `evidence_refs`。影响业务边界、关键规则或 MVP 的问题属于 critical。`resolved` 须有解决证据;仅非关键、非可执行阻塞项可 `deferred`,并填写 `noncritical_reason`、`owner`、`resolution_point`、`downstream_recipient`。延期内容随整个审阅包展示并取得用户确认。
|
|
18
|
+
- `impacts`:显式评估 `domain_strategy`(领域边界、词汇、协作或核心规则影响)和 `stage_decision`(需要稳定阶段决策合同)。证据和判断必须呈现给用户;缺值不解释为 false。
|
|
19
|
+
- `gates`:注册表 Plan 门禁全部逐项记录。命中项须 `status: approved`、`approval_ref`、`subject_ref`、`approval_scope`、`evidence_refs`,会签记录及对应资产均加入 `basis`;未命中项须 `status: not-applicable`、`reason`、`evidence_refs`,并由用户确认影响面判断。阶段决策门禁的上游依赖必须批准,不能用 N/A 跳过。
|
|
20
|
+
|
|
21
|
+
先固定审阅包及依据,展示当前内容、范围、风险、延期、N/A 理由和下一动作,再取得真实用户回复。`plan_user_decision_ref` 采用 `docs/process/schemas/user-decision.schema.json`:边界为 `plan-conclusion`,subject 为当前 `plan_review_ref`,scope 包含当前 `feature_id`。不得将旧“继续”、数字人会签或合成测试回复当作本次批准。
|
|
22
|
+
|
|
23
|
+
审阅包、注册表、Plan、词汇、依据或批准来源变化均要求重新校验;摘要漂移时重新展示并取得当前确认。检查器保证结构、引用、摘要和回复绑定,不证明业务事实或身份来源绝对真实;主控仍须按证据核查影响面,不能为了放行而填 false 或空问题列表。
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
pipeline: <feature-id>
|
|
3
|
+
stage: plan
|
|
4
|
+
status: draft
|
|
5
|
+
owner: <负责人>
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# <功能名称> Plan(战略规划)
|
|
9
|
+
|
|
10
|
+
> 生命周期身份:`stage.plan` / `artifact.plan-record`。按影响面填写,不制造未命中项的空产物。进入 Spec 的退出条件以 `docs/process/lifecycle-registry.yaml` 为准。
|
|
11
|
+
|
|
12
|
+
## 1. 输入与复用依据
|
|
13
|
+
|
|
14
|
+
| 资产 / 证据引用 | 版本 | 本次仍有效的依据 | 需要重新探索的部分 |
|
|
15
|
+
|---|---|---|---|
|
|
16
|
+
|
|
17
|
+
## 2. 用户、问题与目标
|
|
18
|
+
|
|
19
|
+
- 目标用户和关键业务故事:
|
|
20
|
+
- 问题、为什么现在做:
|
|
21
|
+
- 期望结果、成功标准及验证方式:
|
|
22
|
+
- 约束、假设及事实证据:
|
|
23
|
+
|
|
24
|
+
## 3. 战略资产引用
|
|
25
|
+
|
|
26
|
+
| 权威资产 | 当前版本 / 引用 | 确认状态 / 未命中原因 |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| 根 CONTEXT.md | | |
|
|
29
|
+
| 业务边界与规则设计 | | |
|
|
30
|
+
| 方案决策包 | | |
|
|
31
|
+
|
|
32
|
+
业务责任区、关键规则和协作关系消费上述资产,不复制为第二套正文。
|
|
33
|
+
|
|
34
|
+
## 4. MVP、非目标和优先级
|
|
35
|
+
|
|
36
|
+
| 能力 / 范围 | MVP / 非目标 | 优先级及依据 | 成功信号 |
|
|
37
|
+
|---|---|---|---|
|
|
38
|
+
|
|
39
|
+
## 5. 下游影响与交接
|
|
40
|
+
|
|
41
|
+
| 下游阶段 / 接收方 | 输入引用 | 责任人 | 待细化内容 | 命中门禁 |
|
|
42
|
+
|---|---|---|---|---|
|
|
43
|
+
|
|
44
|
+
详细页面、API、技术模型和实现切片在后续阶段细化;此处只登记影响与交接责任。
|
|
45
|
+
|
|
46
|
+
## 6. 未决项
|
|
47
|
+
|
|
48
|
+
| 问题 | 是否影响业务边界 / 关键规则 / MVP | 判断依据 | 责任人 | 解决时点 | 接收方 / 解决证据 |
|
|
49
|
+
|---|---|---|---|---|---|
|
|
50
|
+
|
|
51
|
+
## 7. 退出核查与用户决定
|
|
52
|
+
|
|
53
|
+
- [ ] 已按注册表核查 Plan 退出条件;关键未决项已解决。
|
|
54
|
+
- [ ] 非关键未决项有依据、责任人、解决时点及接收方;无 runnable blocker。
|
|
55
|
+
- [ ] 用户已确认规划结论,命中的门禁及根词汇对账证据可读且版本当前。
|
|
56
|
+
- 当前资产版本、确认范围和原始用户决定引用:
|
|
57
|
+
- 结论:ready-for-human / blocked / 已满足进入 Spec 的条件(附证据)。
|
|
58
|
+
- 下一工作单元:
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
| 模板源维护 | 影响面分析 | 修改单一事实来源、按验证与审查强度分级执行证据、必要的技能投影同步、fresh verification / review | 产品 Spec、产品设计、OpenAPI、运行时代码 |
|
|
19
19
|
| 小改动 | 入口分诊 | 影响面、主 tracker 同步、fresh verification | Spec、架构、原型、切片(没有触发条件时) |
|
|
20
20
|
| 中等变更 | 最近可信的 Spec / 架构阶段 | Spec、功能架构、必要工程审查、父 Ticket 和切片 | 未命中的 UI、数据或 API 门禁 |
|
|
21
|
-
| 全新产品 / 模块 |
|
|
21
|
+
| 全新产品 / 模块 | Plan | Plan、Spec、产品总体设计、功能架构、必要设计 / 契约审查、父 Ticket 和切片 | 未命中的 UI、数据或 API 门禁 |
|
|
22
22
|
| 高风险变更 | 既有冻结基线 | Spec Delta、架构 / 数据 / 工程审查、契约复核、切片和回滚设计 | 与风险证据无关的门禁 |
|
|
23
23
|
|
|
24
24
|
任何裁剪都必须写明原因和证据,不生成空文档。对跨仓库变更,Harness 记录必须绑定实现仓库、分支、CI、验证命令、发布顺序和回滚点;没有前端、后端或 OpenAPI 影响时显式记录 `not-applicable`。
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| 稳定 ID | 阶段 | 目标 | 退出标准 |
|
|
11
11
|
|---|---|---|---|
|
|
12
12
|
| `stage.entry-triage` | 入口分诊 | 确认仓库身份、问题范围和影响面。 | yss-project.yaml 合法,影响面和最近可信阶段可解释。 |
|
|
13
|
-
| `stage.
|
|
13
|
+
| `stage.plan` | Plan(战略规划) | 确认目标、业务边界、关键规则、MVP / 非目标、优先级和交接责任,为 Spec 提供战略输入;按影响面探索并复用仍有效的结论。 | 用户确认规划结论,命中的战略与阶段决策门禁通过;影响业务边界、关键规则或 MVP 的问题已解决,其他未决项有责任人和解决时点;下游可进入 Spec,不代表可实现。 |
|
|
14
14
|
| `stage.spec-architecture` | Spec / 功能架构 | 固化解决方案和功能边界。 | Spec 基线和功能边界可审查。 |
|
|
15
15
|
| `stage.product-design` | 产品设计 | 在存在产品设计影响时校准页面流和状态。 | 命中的设计门禁通过;未命中项记录 not-applicable 及原因。 |
|
|
16
16
|
| `stage.system-data-engineering` | 系统 / 数据架构与工程契约 | 固化系统、数据、工程基线和 API 契约。 | 受影响工程契约冻结或记录无 API 影响;required 脚手架证据齐全。 |
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
|---|---|---|---|---|---|
|
|
29
29
|
| `gate.frontend-delivery-inputs-verified` | 前端联合输入核验 | `stage.system-data-engineering` | 专职前端 profile 或显式 frontend_delivery 绑定的任务启动、恢复、合同编译、实现和验证;实际执行 scripts/verify-frontend-delivery,输入就绪不等于实现获批。 | 无 | `evidence.fresh-verification` |
|
|
30
30
|
| `gate.repository-identity-valid` | 仓库身份校验 | `stage.entry-triage` | 每次进入流程。 | 无 | `evidence.repository-identity-check` |
|
|
31
|
-
| `gate.domain-strategy-approved` | 业务边界与规则确认 | `stage.
|
|
32
|
-
| `gate.stage-decision-package-approved` | 阶段决策包批准 | `stage.
|
|
31
|
+
| `gate.domain-strategy-approved` | 业务边界与规则确认 | `stage.plan` | 需要确定业务板块、业务责任区、统一业务词汇、协作关系或关键规则。 | 无 | `evidence.domain-strategy-review`、`evidence.approval-record` |
|
|
32
|
+
| `gate.stage-decision-package-approved` | 阶段决策包批准 | `stage.plan` | Plan 到 Spec 入口需要稳定的阶段决策合同。 | `gate.domain-strategy-approved` | `evidence.stage-decision-package`、`evidence.approval-record` |
|
|
33
33
|
| `gate.spec-baseline-approved` | Spec 基线批准 | `stage.spec-architecture` | 新功能、行为变化或范围扩大进入 Spec 基线。 | 无 | `evidence.approval-record` |
|
|
34
34
|
| `gate.prototype-reviewed` | 原型评审 | `stage.product-design` | 命中产品设计影响,且低保真页面、流程、状态或 API 反推需要独立评审。 | 无 | `evidence.prototype-review-result` |
|
|
35
35
|
| `gate.prototype-verified` | 原型交付物验证 | `stage.product-design` | 产品设计影响需要通过 H1/H2 原型交付物进行视觉或流程校准;真实组件验证留到前端实现阶段。 | 无 | `evidence.prototype-profile-decision`、`evidence.prototype-deliverable-verification` |
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
| `gate.openapi-frozen` | OpenAPI Freeze | `stage.system-data-engineering` | API 进入实现。 | 无 | `evidence.approval-record` |
|
|
40
40
|
| `gate.engineering-baseline-accepted` | 工程基线 | `stage.system-data-engineering` | 后端、前端或高风险工程变化。 | 无 | `evidence.fresh-verification` |
|
|
41
41
|
| `gate.architecture-reviewed` | 架构审查 | `stage.system-data-engineering` | 高风险或跨边界变化。 | 无 | `evidence.design-review-result` |
|
|
42
|
+
| `gate.implementation-repositories-ready` | 实现仓库准备就绪 | `stage.system-data-engineering` | 后端或前端交付面进入 Ticket 正式化;未命中的交付面须记录带原因的 not-applicable。 | `gate.engineering-baseline-accepted` | `evidence.implementation-repository-preparation`、`evidence.fresh-verification` |
|
|
42
43
|
| `gate.slice-contract-approved` | Slice Implementation Contract 批准 | `stage.ticket-formalization` | Agent 进入实现;脚手架完成后每个后续生成代码工作单元。 | 无 | `evidence.contract-approval` |
|
|
43
44
|
| `gate.slice-ready-for-agent` | 垂直切片实现就绪 | `stage.ticket-formalization` | 垂直切片具备直接实现条件。 | 无 | `evidence.contract-approval`、`evidence.approval-record` |
|
|
44
45
|
| `gate.frontend-implementation-verified` | 前端实现还原验证 | `stage.verification-release-retrospective` | UI 影响切片完成实现并准备合并、发布或阶段完成。 | 无 | `evidence.frontend-implementation-verification` |
|
|
@@ -49,9 +50,9 @@
|
|
|
49
50
|
| 稳定 ID | 产物 | 所属阶段 | 触发条件 |
|
|
50
51
|
|---|---|---|---|
|
|
51
52
|
| `artifact.impact-assessment` | 影响面分析 | `stage.entry-triage` | 每次变更。 |
|
|
52
|
-
| `artifact.domain-strategy` | 业务边界与规则设计 | `stage.
|
|
53
|
-
| `artifact.stage-decision-package` | 方案决策包 | `stage.
|
|
54
|
-
| `artifact.
|
|
53
|
+
| `artifact.domain-strategy` | 业务边界与规则设计 | `stage.plan` | 新产品/模块、跨责任区协作、业务词汇冲突、责任边界或关键规则变化。 |
|
|
54
|
+
| `artifact.stage-decision-package` | 方案决策包 | `stage.plan` | Plan 到 Spec 入口需要结构化上游决策。 |
|
|
55
|
+
| `artifact.plan-record` | Plan 记录 | `stage.plan` | 新问题或边界不清。 |
|
|
55
56
|
| `artifact.spec` | Spec | `stage.spec-architecture` | 新功能、行为变化或范围扩大。 |
|
|
56
57
|
| `artifact.product-overview` | 产品总体设计 | `stage.spec-architecture` | 进入 Spec 基线。 |
|
|
57
58
|
| `artifact.functional-architecture` | 功能架构 | `stage.spec-architecture` | 新模块或跨边界变化。 |
|
|
@@ -67,6 +68,8 @@
|
|
|
67
68
|
| `artifact.engineering-baseline` | 工程基线记录 | `stage.system-data-engineering` | 后端、前端或高风险工程变化。 |
|
|
68
69
|
| `artifact.architecture-review` | 架构审查记录 | `stage.system-data-engineering` | 高风险或跨边界变化。 |
|
|
69
70
|
| `artifact.technical-design` | 技术设计合同 | `stage.system-data-engineering` | 后端技术设计需要按已确认 DDD 或 MVC 架构明确行为、分层、一致性或数据映射。 |
|
|
71
|
+
| `artifact.project-scaffold-contract` | Project Scaffold Contract | `stage.system-data-engineering` | 命中的前端或后端交付面选择初始化新工程。 |
|
|
72
|
+
| `artifact.implementation-repository-preparation-result` | 实现仓库准备结果 | `stage.system-data-engineering` | 后端或前端交付面进入 Ticket 正式化。 |
|
|
70
73
|
| `artifact.tactical-design` | DDD 战术设计 | `stage.system-data-engineering` | 聚合边界、状态机、一致性或持久化映射复杂到无法在系统概要设计的 Tactical DDD Check 中清楚表达。 |
|
|
71
74
|
| `artifact.spec-delta` | Spec Delta | `stage.spec-architecture` | 已有冻结 Spec 的高风险行为变化。 |
|
|
72
75
|
| `artifact.parent-ticket` | 功能父 Ticket | `stage.ticket-formalization` | 每个进入追踪的功能。 |
|
|
@@ -101,6 +104,7 @@
|
|
|
101
104
|
| `evidence.yss-skill-execution-result` | YSS Skill Execution Result | 专项 skill 的合同版本、写入、验证、延期 seam 与偏离证据。 |
|
|
102
105
|
| `evidence.frontend-implementation-verification` | 前端实现还原验证证据 | UI 实现相对冻结原型和 Spec 的桌面/窄屏视觉、状态、交互、控制台与 pnpm 验证记录。 |
|
|
103
106
|
| `evidence.fresh-verification` | Fresh Verification 记录 | 本轮实际执行的验证命令、结果和时间。 |
|
|
107
|
+
| `evidence.implementation-repository-preparation` | 实现仓库准备证据 | 按项目记录交付面、已有仓库接入或新脚手架合同、生成清单、实际验证结果、仓库位置、Git 边界和当前版本。 |
|
|
104
108
|
| `evidence.checkpoint-and-rollback` | Checkpoint 与回滚点 | 可追溯的变更边界、发布记录和恢复动作。 |
|
|
105
109
|
<!-- lifecycle-registry:structure:end -->
|
|
106
110
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"registry_id": "yss.lifecycle",
|
|
4
|
-
"semantic_sha256": "
|
|
4
|
+
"semantic_sha256": "96fcbcb858eed45ba228d87c75804f28ccb464b1963c0d23be348ade094bac01",
|
|
5
5
|
"published_ids": [
|
|
6
6
|
"artifact.architecture-review",
|
|
7
7
|
"artifact.data-architecture",
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
"artifact.functional-architecture",
|
|
14
14
|
"artifact.high-fidelity-html-prototype",
|
|
15
15
|
"artifact.impact-assessment",
|
|
16
|
+
"artifact.implementation-repository-preparation-result",
|
|
16
17
|
"artifact.interaction-spec",
|
|
17
18
|
"artifact.low-fidelity-prototype",
|
|
18
19
|
"artifact.openapi-draft",
|
|
19
20
|
"artifact.openapi-freeze-record",
|
|
20
21
|
"artifact.parent-ticket",
|
|
22
|
+
"artifact.plan-record",
|
|
21
23
|
"artifact.product-overview",
|
|
24
|
+
"artifact.project-scaffold-contract",
|
|
22
25
|
"artifact.prototype-confirmation",
|
|
23
26
|
"artifact.prototype-deliverable",
|
|
24
27
|
"artifact.prototype-review",
|
|
@@ -42,6 +45,7 @@
|
|
|
42
45
|
"evidence.fresh-verification",
|
|
43
46
|
"evidence.frontend-implementation-verification",
|
|
44
47
|
"evidence.impact-assessment",
|
|
48
|
+
"evidence.implementation-repository-preparation",
|
|
45
49
|
"evidence.maintenance-intensity-checkpoint",
|
|
46
50
|
"evidence.openapi-draft-review",
|
|
47
51
|
"evidence.prototype-confirmation",
|
|
@@ -59,6 +63,7 @@
|
|
|
59
63
|
"gate.engineering-baseline-accepted",
|
|
60
64
|
"gate.frontend-delivery-inputs-verified",
|
|
61
65
|
"gate.frontend-implementation-verified",
|
|
66
|
+
"gate.implementation-repositories-ready",
|
|
62
67
|
"gate.openapi-draft-reviewed",
|
|
63
68
|
"gate.openapi-frozen",
|
|
64
69
|
"gate.prototype-reviewed",
|
|
@@ -72,6 +77,7 @@
|
|
|
72
77
|
"gate.user-confirmation",
|
|
73
78
|
"stage.discovery",
|
|
74
79
|
"stage.entry-triage",
|
|
80
|
+
"stage.plan",
|
|
75
81
|
"stage.product-design",
|
|
76
82
|
"stage.spec-architecture",
|
|
77
83
|
"stage.system-data-engineering",
|
|
@@ -86,9 +92,12 @@
|
|
|
86
92
|
"work-unit.entry-triage",
|
|
87
93
|
"work-unit.fresh-verification",
|
|
88
94
|
"work-unit.frontend-implementation-verification",
|
|
95
|
+
"work-unit.implementation-repository-preparation",
|
|
89
96
|
"work-unit.independent-review",
|
|
90
97
|
"work-unit.intensity-aware-review",
|
|
91
98
|
"work-unit.intensity-aware-verification",
|
|
99
|
+
"work-unit.plan-opportunity",
|
|
100
|
+
"work-unit.plan-requirements",
|
|
92
101
|
"work-unit.prototype-design",
|
|
93
102
|
"work-unit.release-and-retrospective",
|
|
94
103
|
"work-unit.release-and-rollback",
|
|
@@ -8,17 +8,22 @@ id_policy:
|
|
|
8
8
|
pattern: '^(stage|gate|artifact|work-unit|evidence)\.[a-z0-9][a-z0-9-]*$'
|
|
9
9
|
published_ids_immutable: true
|
|
10
10
|
baseline: docs/process/lifecycle-registry-baseline.json
|
|
11
|
-
deprecated_ids: [artifact.high-fidelity-html-prototype, work-unit.fresh-verification, work-unit.independent-review]
|
|
11
|
+
deprecated_ids: [artifact.high-fidelity-html-prototype, work-unit.fresh-verification, work-unit.independent-review, stage.discovery, artifact.discovery-record, work-unit.discovery-opportunity, work-unit.discovery-requirements]
|
|
12
12
|
|
|
13
13
|
stages:
|
|
14
14
|
- id: stage.entry-triage
|
|
15
15
|
name: 入口分诊
|
|
16
16
|
goal: 确认仓库身份、问题范围和影响面。
|
|
17
17
|
exit_criteria: yss-project.yaml 合法,影响面和最近可信阶段可解释。
|
|
18
|
-
- id: stage.
|
|
19
|
-
name:
|
|
20
|
-
goal:
|
|
21
|
-
exit_criteria:
|
|
18
|
+
- id: stage.plan
|
|
19
|
+
name: Plan(战略规划)
|
|
20
|
+
goal: 确认目标、业务边界、关键规则、MVP / 非目标、优先级和交接责任,为 Spec 提供战略输入;按影响面探索并复用仍有效的结论。
|
|
21
|
+
exit_criteria: 用户确认规划结论,命中的战略与阶段决策门禁通过;影响业务边界、关键规则或 MVP 的问题已解决,其他未决项有责任人和解决时点;下游可进入 Spec,不代表可实现。
|
|
22
|
+
spec_entry:
|
|
23
|
+
required_checks: [goals, scope_and_priority, boundaries_and_rules, open_questions, handoff, context_reconciliation, grill_exit]
|
|
24
|
+
gate_impacts:
|
|
25
|
+
gate.domain-strategy-approved: domain_strategy
|
|
26
|
+
gate.stage-decision-package-approved: stage_decision
|
|
22
27
|
- id: stage.spec-architecture
|
|
23
28
|
name: Spec / 功能架构
|
|
24
29
|
goal: 固化解决方案和功能边界。
|
|
@@ -110,6 +115,9 @@ evidence:
|
|
|
110
115
|
- id: evidence.fresh-verification
|
|
111
116
|
name: Fresh Verification 记录
|
|
112
117
|
description: 本轮实际执行的验证命令、结果和时间。
|
|
118
|
+
- id: evidence.implementation-repository-preparation
|
|
119
|
+
name: 实现仓库准备证据
|
|
120
|
+
description: 按项目记录交付面、已有仓库接入或新脚手架合同、生成清单、实际验证结果、仓库位置、Git 边界和当前版本。
|
|
113
121
|
- id: evidence.checkpoint-and-rollback
|
|
114
122
|
name: Checkpoint 与回滚点
|
|
115
123
|
description: 可追溯的变更边界、发布记录和恢复动作。
|
|
@@ -127,15 +135,15 @@ gates:
|
|
|
127
135
|
evidence: [evidence.repository-identity-check]
|
|
128
136
|
- id: gate.domain-strategy-approved
|
|
129
137
|
name: DDD 战略设计批准
|
|
130
|
-
stage: stage.
|
|
138
|
+
stage: stage.plan
|
|
131
139
|
trigger: 存在 DDD 战略设计影响或需要确定领域边界、统一语言和核心规则。
|
|
132
140
|
public_name: 业务边界与规则确认
|
|
133
141
|
public_trigger: 需要确定业务板块、业务责任区、统一业务词汇、协作关系或关键规则。
|
|
134
142
|
evidence: [evidence.domain-strategy-review, evidence.approval-record]
|
|
135
143
|
- id: gate.stage-decision-package-approved
|
|
136
144
|
name: 阶段决策包批准
|
|
137
|
-
stage: stage.
|
|
138
|
-
trigger:
|
|
145
|
+
stage: stage.plan
|
|
146
|
+
trigger: Plan 到 Spec 入口需要稳定的阶段决策合同。
|
|
139
147
|
evidence: [evidence.stage-decision-package, evidence.approval-record]
|
|
140
148
|
requires_gates: [gate.domain-strategy-approved]
|
|
141
149
|
- id: gate.spec-baseline-approved
|
|
@@ -183,6 +191,12 @@ gates:
|
|
|
183
191
|
stage: stage.system-data-engineering
|
|
184
192
|
trigger: 高风险或跨边界变化。
|
|
185
193
|
evidence: [evidence.design-review-result]
|
|
194
|
+
- id: gate.implementation-repositories-ready
|
|
195
|
+
name: 实现仓库准备就绪
|
|
196
|
+
stage: stage.system-data-engineering
|
|
197
|
+
trigger: 后端或前端交付面进入 Ticket 正式化;未命中的交付面须记录带原因的 not-applicable。
|
|
198
|
+
evidence: [evidence.implementation-repository-preparation, evidence.fresh-verification]
|
|
199
|
+
requires_gates: [gate.engineering-baseline-accepted]
|
|
186
200
|
- id: gate.slice-contract-approved
|
|
187
201
|
name: Slice Implementation Contract 批准
|
|
188
202
|
stage: stage.ticket-formalization
|
|
@@ -212,18 +226,18 @@ artifacts:
|
|
|
212
226
|
trigger: 每次变更。
|
|
213
227
|
- id: artifact.domain-strategy
|
|
214
228
|
name: DDD 战略设计
|
|
215
|
-
stage: stage.
|
|
229
|
+
stage: stage.plan
|
|
216
230
|
trigger: 新产品/模块、跨上下文功能、统一语言冲突、服务边界或核心规则变化。
|
|
217
231
|
public_name: 业务边界与规则设计
|
|
218
232
|
public_trigger: 新产品/模块、跨责任区协作、业务词汇冲突、责任边界或关键规则变化。
|
|
219
233
|
- id: artifact.stage-decision-package
|
|
220
234
|
name: 阶段决策包
|
|
221
|
-
stage: stage.
|
|
222
|
-
trigger:
|
|
235
|
+
stage: stage.plan
|
|
236
|
+
trigger: Plan 到 Spec 入口需要结构化上游决策。
|
|
223
237
|
public_name: 方案决策包
|
|
224
|
-
- id: artifact.
|
|
225
|
-
name:
|
|
226
|
-
stage: stage.
|
|
238
|
+
- id: artifact.plan-record
|
|
239
|
+
name: Plan 记录
|
|
240
|
+
stage: stage.plan
|
|
227
241
|
trigger: 新问题或边界不清。
|
|
228
242
|
- id: artifact.spec
|
|
229
243
|
name: Spec
|
|
@@ -285,6 +299,14 @@ artifacts:
|
|
|
285
299
|
name: 技术设计合同
|
|
286
300
|
stage: stage.system-data-engineering
|
|
287
301
|
trigger: 后端技术设计需要按已确认 DDD 或 MVC 架构明确行为、分层、一致性或数据映射。
|
|
302
|
+
- id: artifact.project-scaffold-contract
|
|
303
|
+
name: Project Scaffold Contract
|
|
304
|
+
stage: stage.system-data-engineering
|
|
305
|
+
trigger: 命中的前端或后端交付面选择初始化新工程。
|
|
306
|
+
- id: artifact.implementation-repository-preparation-result
|
|
307
|
+
name: 实现仓库准备结果
|
|
308
|
+
stage: stage.system-data-engineering
|
|
309
|
+
trigger: 后端或前端交付面进入 Ticket 正式化。
|
|
288
310
|
- id: artifact.tactical-design
|
|
289
311
|
name: DDD 战术设计
|
|
290
312
|
stage: stage.system-data-engineering
|
|
@@ -367,13 +389,13 @@ work_units:
|
|
|
367
389
|
input: 已审查 commit。
|
|
368
390
|
output: release note、观察信号、回滚点。
|
|
369
391
|
completion: 两仓库顺序和恢复动作明确。
|
|
370
|
-
- id: work-unit.
|
|
392
|
+
- id: work-unit.plan-opportunity
|
|
371
393
|
name: 机会调研
|
|
372
394
|
scope: project-instance
|
|
373
395
|
input: 用户问题、市场/竞品事实需求和现有上下文。
|
|
374
|
-
output:
|
|
396
|
+
output: Plan 机会结论、证据、替代方案和关键假设。
|
|
375
397
|
completion: 机会继续/停止建议可审查;事实已 research 或记录为假设。
|
|
376
|
-
- id: work-unit.
|
|
398
|
+
- id: work-unit.plan-requirements
|
|
377
399
|
name: 需求分析
|
|
378
400
|
scope: project-instance
|
|
379
401
|
input: 机会结论、用户反馈和领域词汇。
|
|
@@ -391,16 +413,16 @@ work_units:
|
|
|
391
413
|
- id: work-unit.stage-decision
|
|
392
414
|
name: 阶段决策包综合
|
|
393
415
|
scope: project-instance
|
|
394
|
-
input:
|
|
416
|
+
input: Plan、DDD 战略设计以及产品经理负责的商业约束输入。
|
|
395
417
|
output: 带版本、digest、证据和下游映射的阶段决策包。
|
|
396
418
|
completion: 必填字段、引用、影响面和下游消费验证通过;批准门禁完成。
|
|
397
419
|
public_name: 方案决策包综合
|
|
398
|
-
public_input:
|
|
420
|
+
public_input: Plan、业务边界与规则设计以及产品经理负责的商业约束输入。
|
|
399
421
|
public_output: 带版本、digest、证据和下游映射的方案决策包。
|
|
400
422
|
- id: work-unit.spec-synthesis
|
|
401
423
|
name: Spec 综合
|
|
402
424
|
scope: project-instance
|
|
403
|
-
input: 已确认的
|
|
425
|
+
input: 已确认的 Plan 记录和测试 seam。
|
|
404
426
|
output: Spec、产品总体设计和功能架构。
|
|
405
427
|
completion: Spec 内容完整并进入 ready-for-human;下游推进仍需 gate.spec-baseline-approved。
|
|
406
428
|
- id: work-unit.prototype-design
|
|
@@ -415,6 +437,12 @@ work_units:
|
|
|
415
437
|
input: Spec、原型、API/数据/工程影响面。
|
|
416
438
|
output: OpenAPI、数据架构、按确认架构形成的 DDD / MVC 技术设计合同、工程基线、架构审查和 Slice 合同草案。
|
|
417
439
|
completion: 命中契约已冻结;无 API 影响有可读记录;命中技术设计影响时架构已确认、规则与场景承接无未解释冲突;工程基线通过。
|
|
440
|
+
- id: work-unit.implementation-repository-preparation
|
|
441
|
+
name: 实现仓库准备
|
|
442
|
+
scope: project-instance
|
|
443
|
+
input: 工程影响面、工程基线、逐项目用户决定、实现仓库位置;新建工程还需批准且当前的 Project Scaffold Contract。
|
|
444
|
+
output: 已有工程的 Repository Onboarding Result,或新工程的 Scaffold Manifest 与 Scaffold Verification;并汇总 Implementation Repository Preparation Result。
|
|
445
|
+
completion: 每个命中的交付面均为 existing-and-onboarded 或 initialized-and-verified,未命中的交付面有带原因的 not-applicable;聚合结果当前且证据可读。
|
|
418
446
|
- id: work-unit.service-project-initialization
|
|
419
447
|
name: 独立服务项目初始化
|
|
420
448
|
scope: project-instance
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Plan 阶段切换说明
|
|
2
|
+
|
|
3
|
+
新流程仅使用 `stage.plan`、`artifact.plan-record`、`work-unit.plan-opportunity` 和 `work-unit.plan-requirements`。不提供 Discovery 阶段别名、旧标识解析或兼容入口;旧 ID 在注册表中仅作为弃用清单保留,以防重新分配,不可执行。
|
|
4
|
+
|
|
5
|
+
新工作从 `docs/plan/templates/plan-template.md` 起草,工作目录为 `docs/.scratch/<feature>/plan/`。问题、机会和事实探索是 Plan 内按影响面执行的活动。
|
|
6
|
+
|
|
7
|
+
历史冻结文档、批准记录和摘要保持原字节。旧状态不能直接恢复执行;如需继续,按当前 Plan 模板重新整理输入并核查当前退出条件,不把旧批准自动视为新流程批准。已有事实和结论可引用,但须记录当前版本、适用范围和复用理由。
|
|
8
|
+
|
|
9
|
+
综合模板和战略设计模板共同采用 Plan。它为 Spec 提供战略输入;后续 Spec、页面原型、契约、Ticket 及交接边界仍由各自 profile 和生命周期注册表定义。Plan 不等同于实现合同中的 Context Plan。
|
|
10
|
+
|
|
11
|
+
影响业务边界、关键规则或 MVP 的未决项必须在进入 Spec 前解决;其他细节须经用户确认延期,并具备不影响当前决定的依据、责任人、解决时点和接收方。既有 runnable blocker 不得降为普通延期项。
|
|
12
|
+
|
|
13
|
+
Plan 是借鉴 AI-DLC 前置规划职责的本地名称,不宣称是 AWS 官方阶段名称或完整 Inception。
|