create-yss-spec 3.4.10 → 3.5.2
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 +8 -4
- package/package.json +1 -1
- package/src/api/_sync-service.js +141 -23
- package/src/cli/args.js +3 -0
- package/src/cli/help.js +14 -2
- package/src/cli/index.js +3 -0
- package/src/cli/prompts.js +5 -1
- package/src/cli/router.js +2 -0
- package/src/commands/attach.js +21 -5
- package/src/commands/diff.js +1 -0
- package/src/commands/doctor.js +1 -0
- package/src/commands/init.js +4 -1
- package/src/commands/skills.js +253 -0
- package/src/commands/sync.js +4 -0
- package/src/family-identity.js +2 -2
- package/src/template/asset-runtime.js +228 -0
- package/src/template/attach-planner.js +1 -1
- package/src/template/distribution-runtime.js +165 -0
- package/src/template/instance-runtime.js +76 -29
- package/src/template/layout-migration.js +160 -0
- package/src/template/migration-runtime.js +2 -2
- package/src/template/ownership-policy.js +17 -1
- package/src/template/prune-planner.js +6 -1
- package/src/template/sync-planner.js +4 -1
- package/src/template/verification-runtime.js +56 -1
- package/src/validation/metadata.js +24 -1
- package/template/.agents/rules/yss-ai-skills.md +1 -1
- package/template/.agents/skills/.strategic-design-skills-manifest.json +7 -8
- package/template/.agents/skills/.yss-skills-manifest.json +2 -2
- package/template/.agents/skills/alibaba-java-code-style/SKILL.md +1 -1
- package/template/.agents/skills/code-review/SKILL.md +6 -6
- package/template/.agents/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.agents/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.agents/skills/i-have-adhd/SKILL.md +1 -1
- package/template/.agents/skills/i-have-adhd/references/yss-adaptation.md +1 -1
- package/template/.agents/skills/i-have-adhd/tests/verify-integration.mjs +2 -2
- package/template/.agents/skills/implementation-repo-onboarding/SKILL.md +2 -2
- package/template/.agents/skills/llm-wiki/references/discover.md +3 -3
- package/template/.agents/skills/prototype-review/SKILL.md +4 -4
- package/template/.agents/skills/setup-matt-pocock-skills/SKILL.md +10 -10
- package/template/.agents/skills/triage/SKILL.md +1 -1
- package/template/.agents/skills/yss-application/references/profiles/layered-mvc-service.md +1 -1
- package/template/.agents/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.agents/skills/yss-backend-spec-review/SKILL.md +1 -1
- package/template/.agents/skills/yss-backend-spec-review/references/check-inputs.md +1 -1
- package/template/.agents/skills/yss-cache/SKILL.md +6 -5
- package/template/.agents/skills/yss-cache/references/annotations.md +3 -1
- package/template/.agents/skills/yss-cache/references/architecture.md +4 -2
- package/template/.agents/skills/yss-cache/references/configuration.md +6 -3
- package/template/.agents/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.agents/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.agents/skills/yss-cache/references/verification.md +10 -4
- package/template/.agents/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.agents/skills/yss-design-system/SKILL.md +10 -10
- package/template/.agents/skills/yss-design-system/references/design-qa-theme.md +3 -3
- package/template/.agents/skills/yss-design-system/references/design-system.md +3 -3
- package/template/.agents/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.agents/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.agents/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.agents/skills/yss-exception/SKILL.md +1 -1
- package/template/.agents/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.agents/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.agents/skills/yss-frontend-scaffold-generator/scripts/refresh_baseline.mjs +2 -2
- package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +9 -9
- package/template/.agents/skills/yss-implementation-contract-compiler/references/boundaries.md +1 -1
- package/template/.agents/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +9 -9
- package/template/.agents/skills/yss-implementation-contract-compiler/references/slice-implementation-contract-v2.md +3 -3
- package/template/.agents/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +1 -1
- package/template/.agents/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +1 -1
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +5 -5
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +42 -0
- package/template/.agents/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.agents/skills/yss-openapi-draft-review/SKILL.md +2 -2
- package/template/.agents/skills/yss-openapi-governance/SKILL.md +7 -7
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +11 -11
- package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +70 -47
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +22 -14
- package/template/.agents/skills/yss-product-lifecycle/references/request-triage.md +2 -0
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +11 -11
- package/template/.agents/skills/yss-product-lifecycle/references/user-decisions.md +2 -2
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +9 -9
- package/template/.agents/skills/yss-prototype-stage/references/existing-ui-entry.md +1 -1
- package/template/.agents/skills/yss-prototype-stage/scripts/build-antd-prototype.mjs +1 -1
- package/template/.agents/skills/yss-prototype-stage/scripts/offline-html.mjs +3 -3
- package/template/.agents/skills/yss-prototype-stage/tests/browser-smoke.mjs +2 -2
- package/template/.agents/skills/yss-prototype-stage/tests/run-scenarios.mjs +4 -4
- package/template/.agents/skills/yss-prototype-stage/tests/workbench-smoke.mjs +1 -1
- package/template/.agents/skills/yss-repository/SKILL.md +3 -2
- package/template/.agents/skills/yss-repository/references/profiles/layered-mvc-service.md +1 -1
- package/template/.agents/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.agents/skills/yss-repository/tests/profile-routing.test.mjs +2 -2
- package/template/.agents/skills/yss-research/SKILL.md +2 -2
- package/template/.agents/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +1 -1
- package/template/.agents/skills/yss-stage-decision/SKILL.md +5 -5
- package/template/.agents/skills/yss-stage-decision/references/domain-strategy-contract.md +1 -1
- package/template/.agents/skills/yss-stage-decision/references/strategic-handoff-routing.md +1 -1
- package/template/.agents/skills/yss-tactical-design/SKILL.md +2 -2
- package/template/.agents/skills/yss-tactical-design/references/strategic-handoff-routing.md +1 -1
- package/template/.agents/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.agents/skills/yss-technical-design/SKILL.md +6 -6
- package/template/.agents/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.agents/skills/yss-ui/SKILL.md +1 -1
- package/template/.agents/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.agents/skills/yss-web-controller/SKILL.md +1 -1
- package/template/.agents/skills/yss-web-controller/references/profiles/layered-mvc-service.md +1 -1
- package/template/.codex/skills/alibaba-java-code-style/SKILL.md +1 -1
- package/template/.codex/skills/code-review/SKILL.md +6 -6
- package/template/.codex/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.codex/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.codex/skills/i-have-adhd/SKILL.md +1 -1
- package/template/.codex/skills/i-have-adhd/references/yss-adaptation.md +1 -1
- package/template/.codex/skills/i-have-adhd/tests/verify-integration.mjs +2 -2
- package/template/.codex/skills/implementation-repo-onboarding/SKILL.md +2 -2
- package/template/.codex/skills/llm-wiki/references/discover.md +3 -3
- package/template/.codex/skills/prototype-review/SKILL.md +4 -4
- package/template/.codex/skills/setup-matt-pocock-skills/SKILL.md +10 -10
- package/template/.codex/skills/triage/SKILL.md +1 -1
- package/template/.codex/skills/yss-application/references/profiles/layered-mvc-service.md +1 -1
- package/template/.codex/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.codex/skills/yss-backend-spec-review/SKILL.md +1 -1
- package/template/.codex/skills/yss-backend-spec-review/references/check-inputs.md +1 -1
- package/template/.codex/skills/yss-cache/SKILL.md +6 -5
- package/template/.codex/skills/yss-cache/references/annotations.md +3 -1
- package/template/.codex/skills/yss-cache/references/architecture.md +4 -2
- package/template/.codex/skills/yss-cache/references/configuration.md +6 -3
- package/template/.codex/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.codex/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.codex/skills/yss-cache/references/verification.md +10 -4
- package/template/.codex/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.codex/skills/yss-design-system/SKILL.md +10 -10
- package/template/.codex/skills/yss-design-system/references/design-qa-theme.md +3 -3
- package/template/.codex/skills/yss-design-system/references/design-system.md +3 -3
- package/template/.codex/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.codex/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.codex/skills/yss-exception/SKILL.md +1 -1
- package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.codex/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.codex/skills/yss-frontend-scaffold-generator/scripts/refresh_baseline.mjs +2 -2
- package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +9 -9
- package/template/.codex/skills/yss-implementation-contract-compiler/references/boundaries.md +1 -1
- package/template/.codex/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +9 -9
- package/template/.codex/skills/yss-implementation-contract-compiler/references/slice-implementation-contract-v2.md +3 -3
- package/template/.codex/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +1 -1
- package/template/.codex/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +1 -1
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +5 -5
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +42 -0
- package/template/.codex/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +2 -2
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +7 -7
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +11 -11
- package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +70 -47
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +22 -14
- package/template/.codex/skills/yss-product-lifecycle/references/request-triage.md +2 -0
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +11 -11
- package/template/.codex/skills/yss-product-lifecycle/references/user-decisions.md +2 -2
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +9 -9
- package/template/.codex/skills/yss-prototype-stage/references/existing-ui-entry.md +1 -1
- package/template/.codex/skills/yss-prototype-stage/scripts/build-antd-prototype.mjs +1 -1
- package/template/.codex/skills/yss-prototype-stage/scripts/offline-html.mjs +3 -3
- package/template/.codex/skills/yss-prototype-stage/tests/browser-smoke.mjs +2 -2
- package/template/.codex/skills/yss-prototype-stage/tests/run-scenarios.mjs +4 -4
- package/template/.codex/skills/yss-prototype-stage/tests/workbench-smoke.mjs +1 -1
- package/template/.codex/skills/yss-repository/SKILL.md +3 -2
- package/template/.codex/skills/yss-repository/references/profiles/layered-mvc-service.md +1 -1
- package/template/.codex/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.codex/skills/yss-repository/tests/profile-routing.test.mjs +2 -2
- package/template/.codex/skills/yss-research/SKILL.md +2 -2
- package/template/.codex/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +1 -1
- package/template/.codex/skills/yss-stage-decision/SKILL.md +5 -5
- package/template/.codex/skills/yss-stage-decision/references/domain-strategy-contract.md +1 -1
- package/template/.codex/skills/yss-stage-decision/references/strategic-handoff-routing.md +1 -1
- package/template/.codex/skills/yss-tactical-design/SKILL.md +2 -2
- package/template/.codex/skills/yss-tactical-design/references/strategic-handoff-routing.md +1 -1
- package/template/.codex/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.codex/skills/yss-technical-design/SKILL.md +6 -6
- package/template/.codex/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.codex/skills/yss-ui/SKILL.md +1 -1
- package/template/.codex/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.codex/skills/yss-web-controller/SKILL.md +1 -1
- package/template/.codex/skills/yss-web-controller/references/profiles/layered-mvc-service.md +1 -1
- package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +1 -1
- package/template/.cursor/skills/code-review/SKILL.md +6 -6
- package/template/.cursor/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.cursor/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.cursor/skills/i-have-adhd/SKILL.md +1 -1
- package/template/.cursor/skills/i-have-adhd/references/yss-adaptation.md +1 -1
- package/template/.cursor/skills/i-have-adhd/tests/verify-integration.mjs +2 -2
- package/template/.cursor/skills/implementation-repo-onboarding/SKILL.md +2 -2
- package/template/.cursor/skills/llm-wiki/references/discover.md +3 -3
- package/template/.cursor/skills/prototype-review/SKILL.md +4 -4
- package/template/.cursor/skills/setup-matt-pocock-skills/SKILL.md +10 -10
- package/template/.cursor/skills/triage/SKILL.md +1 -1
- package/template/.cursor/skills/yss-application/references/profiles/layered-mvc-service.md +1 -1
- package/template/.cursor/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.cursor/skills/yss-backend-spec-review/SKILL.md +1 -1
- package/template/.cursor/skills/yss-backend-spec-review/references/check-inputs.md +1 -1
- package/template/.cursor/skills/yss-cache/SKILL.md +6 -5
- package/template/.cursor/skills/yss-cache/references/annotations.md +3 -1
- package/template/.cursor/skills/yss-cache/references/architecture.md +4 -2
- package/template/.cursor/skills/yss-cache/references/configuration.md +6 -3
- package/template/.cursor/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.cursor/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.cursor/skills/yss-cache/references/verification.md +10 -4
- package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.cursor/skills/yss-design-system/SKILL.md +10 -10
- package/template/.cursor/skills/yss-design-system/references/design-qa-theme.md +3 -3
- package/template/.cursor/skills/yss-design-system/references/design-system.md +3 -3
- package/template/.cursor/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.cursor/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.cursor/skills/yss-exception/SKILL.md +1 -1
- package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.cursor/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.cursor/skills/yss-frontend-scaffold-generator/scripts/refresh_baseline.mjs +2 -2
- package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +9 -9
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/boundaries.md +1 -1
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +9 -9
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/slice-implementation-contract-v2.md +3 -3
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +1 -1
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +1 -1
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +5 -5
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +42 -0
- package/template/.cursor/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +2 -2
- package/template/.cursor/skills/yss-openapi-governance/SKILL.md +7 -7
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +11 -11
- package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +70 -47
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +22 -14
- package/template/.cursor/skills/yss-product-lifecycle/references/request-triage.md +2 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +11 -11
- package/template/.cursor/skills/yss-product-lifecycle/references/user-decisions.md +2 -2
- package/template/.cursor/skills/yss-prototype-stage/SKILL.md +9 -9
- package/template/.cursor/skills/yss-prototype-stage/references/existing-ui-entry.md +1 -1
- package/template/.cursor/skills/yss-prototype-stage/scripts/build-antd-prototype.mjs +1 -1
- package/template/.cursor/skills/yss-prototype-stage/scripts/offline-html.mjs +3 -3
- package/template/.cursor/skills/yss-prototype-stage/tests/browser-smoke.mjs +2 -2
- package/template/.cursor/skills/yss-prototype-stage/tests/run-scenarios.mjs +4 -4
- package/template/.cursor/skills/yss-prototype-stage/tests/workbench-smoke.mjs +1 -1
- package/template/.cursor/skills/yss-repository/SKILL.md +3 -2
- package/template/.cursor/skills/yss-repository/references/profiles/layered-mvc-service.md +1 -1
- package/template/.cursor/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.cursor/skills/yss-repository/tests/profile-routing.test.mjs +2 -2
- package/template/.cursor/skills/yss-research/SKILL.md +2 -2
- package/template/.cursor/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +1 -1
- package/template/.cursor/skills/yss-stage-decision/SKILL.md +5 -5
- package/template/.cursor/skills/yss-stage-decision/references/domain-strategy-contract.md +1 -1
- package/template/.cursor/skills/yss-stage-decision/references/strategic-handoff-routing.md +1 -1
- package/template/.cursor/skills/yss-tactical-design/SKILL.md +2 -2
- package/template/.cursor/skills/yss-tactical-design/references/strategic-handoff-routing.md +1 -1
- package/template/.cursor/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.cursor/skills/yss-technical-design/SKILL.md +6 -6
- package/template/.cursor/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.cursor/skills/yss-ui/SKILL.md +1 -1
- package/template/.cursor/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.cursor/skills/yss-web-controller/SKILL.md +1 -1
- package/template/.cursor/skills/yss-web-controller/references/profiles/layered-mvc-service.md +1 -1
- package/template/.cursorrules +1 -1
- package/template/.pi/skills/alibaba-java-code-style/SKILL.md +1 -1
- package/template/.pi/skills/code-review/SKILL.md +6 -6
- package/template/.pi/skills/code-review/references/yss-review-standards.md +1 -1
- package/template/.pi/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.pi/skills/i-have-adhd/SKILL.md +1 -1
- package/template/.pi/skills/i-have-adhd/references/yss-adaptation.md +1 -1
- package/template/.pi/skills/i-have-adhd/tests/verify-integration.mjs +2 -2
- package/template/.pi/skills/implementation-repo-onboarding/SKILL.md +2 -2
- package/template/.pi/skills/llm-wiki/references/discover.md +3 -3
- package/template/.pi/skills/prototype-review/SKILL.md +4 -4
- package/template/.pi/skills/setup-matt-pocock-skills/SKILL.md +10 -10
- package/template/.pi/skills/triage/SKILL.md +1 -1
- package/template/.pi/skills/yss-application/references/profiles/layered-mvc-service.md +1 -1
- package/template/.pi/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.pi/skills/yss-backend-spec-review/SKILL.md +1 -1
- package/template/.pi/skills/yss-backend-spec-review/references/check-inputs.md +1 -1
- package/template/.pi/skills/yss-cache/SKILL.md +6 -5
- package/template/.pi/skills/yss-cache/references/annotations.md +3 -1
- package/template/.pi/skills/yss-cache/references/architecture.md +4 -2
- package/template/.pi/skills/yss-cache/references/configuration.md +6 -3
- package/template/.pi/skills/yss-cache/references/jetcache.md +21 -0
- package/template/.pi/skills/yss-cache/references/redis-fallback.md +5 -3
- package/template/.pi/skills/yss-cache/references/verification.md +10 -4
- package/template/.pi/skills/yss-cache/scripts/verify-cache-component.sh +26 -20
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.pi/skills/yss-design-system/SKILL.md +10 -10
- package/template/.pi/skills/yss-design-system/references/design-qa-theme.md +3 -3
- package/template/.pi/skills/yss-design-system/references/design-system.md +3 -3
- package/template/.pi/skills/yss-distributed-id/SKILL.md +14 -58
- package/template/.pi/skills/yss-distributed-id/agents/openai.yaml +2 -2
- package/template/.pi/skills/yss-distributed-id/references/README.md +11 -47
- package/template/.pi/skills/yss-exception/SKILL.md +1 -1
- package/template/.pi/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.pi/skills/yss-frontend-scaffold-generator/scripts/generate_scaffold.mjs +1 -1
- package/template/.pi/skills/yss-frontend-scaffold-generator/scripts/refresh_baseline.mjs +2 -2
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +9 -9
- package/template/.pi/skills/yss-implementation-contract-compiler/references/boundaries.md +1 -1
- package/template/.pi/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +9 -9
- package/template/.pi/skills/yss-implementation-contract-compiler/references/slice-implementation-contract-v2.md +3 -3
- package/template/.pi/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +1 -1
- package/template/.pi/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +1 -1
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +5 -5
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +42 -0
- package/template/.pi/skills/yss-mybatis/SKILL.md +14 -2
- package/template/.pi/skills/yss-openapi-draft-review/SKILL.md +2 -2
- package/template/.pi/skills/yss-openapi-governance/SKILL.md +7 -7
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +11 -11
- package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +70 -47
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +22 -14
- package/template/.pi/skills/yss-product-lifecycle/references/request-triage.md +2 -0
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +11 -11
- package/template/.pi/skills/yss-product-lifecycle/references/user-decisions.md +2 -2
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +9 -9
- package/template/.pi/skills/yss-prototype-stage/references/existing-ui-entry.md +1 -1
- package/template/.pi/skills/yss-prototype-stage/scripts/build-antd-prototype.mjs +1 -1
- package/template/.pi/skills/yss-prototype-stage/scripts/offline-html.mjs +3 -3
- package/template/.pi/skills/yss-prototype-stage/tests/browser-smoke.mjs +2 -2
- package/template/.pi/skills/yss-prototype-stage/tests/run-scenarios.mjs +4 -4
- package/template/.pi/skills/yss-prototype-stage/tests/workbench-smoke.mjs +1 -1
- package/template/.pi/skills/yss-repository/SKILL.md +3 -2
- package/template/.pi/skills/yss-repository/references/profiles/layered-mvc-service.md +1 -1
- package/template/.pi/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +1 -1
- package/template/.pi/skills/yss-repository/tests/profile-routing.test.mjs +2 -2
- package/template/.pi/skills/yss-research/SKILL.md +2 -2
- package/template/.pi/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +1 -1
- package/template/.pi/skills/yss-stage-decision/SKILL.md +5 -5
- package/template/.pi/skills/yss-stage-decision/references/domain-strategy-contract.md +1 -1
- package/template/.pi/skills/yss-stage-decision/references/strategic-handoff-routing.md +1 -1
- package/template/.pi/skills/yss-tactical-design/SKILL.md +2 -2
- package/template/.pi/skills/yss-tactical-design/references/strategic-handoff-routing.md +1 -1
- package/template/.pi/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.pi/skills/yss-technical-design/SKILL.md +6 -6
- package/template/.pi/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.pi/skills/yss-ui/SKILL.md +1 -1
- package/template/.pi/skills/yss-up-springboot3/SKILL.md +1 -1
- package/template/.pi/skills/yss-web-controller/SKILL.md +1 -1
- package/template/.pi/skills/yss-web-controller/references/profiles/layered-mvc-service.md +1 -1
- package/template/{docs → .template-spec}/adr/README.md +1 -1
- package/template/{docs → .template-spec}/agents/README.md +1 -1
- package/template/{docs → .template-spec}/agents/backend-architecture-profiles.md +2 -2
- package/template/{docs → .template-spec}/agents/digital-human-roles.md +6 -6
- package/template/{docs → .template-spec}/agents/digital-human-roles.yaml +5 -5
- package/template/{docs → .template-spec}/agents/gitlab-workflow-skills.md +2 -2
- package/template/{docs → .template-spec}/agents/issue-tracker.md +1 -1
- package/template/{docs → .template-spec}/agents/skill-migrations.md +6 -2
- package/template/{docs → .template-spec}/agents/triage-labels.md +1 -1
- package/template/{docs → .template-spec}/agents/yss-skill-registry.yaml +9 -8
- package/template/{docs → .template-spec}/architecture/README.md +3 -3
- package/template/{docs → .template-spec}/architecture/templates/tech-design-template.md +3 -1
- package/template/{docs → .template-spec}/design/README.md +12 -12
- package/template/{docs → .template-spec}/design/design.md +20 -20
- package/template/{docs/design/templates/interaction-spec-template.md → .template-spec/design/templates/examples/model-publishing-interaction.example.md} +6 -4
- package/template/{docs/design/templates/state-matrix-template.md → .template-spec/design/templates/examples/model-publishing-state-matrix.example.md} +3 -1
- package/template/.template-spec/design/templates/interaction-spec-template.md +61 -0
- package/template/{docs → .template-spec}/design/templates/product-overview-design-template.md +11 -11
- package/template/{docs → .template-spec}/design/templates/prototype-evidence-template.yaml +4 -4
- package/template/{docs → .template-spec}/design/templates/prototype-review-checklist.md +1 -1
- package/template/.template-spec/design/templates/state-matrix-template.md +29 -0
- package/template/.template-spec/design/tokens/.design-md-projection.json +13 -0
- package/template/{docs → .template-spec}/engineering/backend-platforms.md +1 -1
- package/template/{docs → .template-spec}/plan/entry-review.md +8 -4
- package/template/{docs → .template-spec}/plan/templates/plan-template.md +1 -1
- package/template/{docs → .template-spec}/process/contract-reading.md +1 -1
- package/template/{docs → .template-spec}/process/lifecycle-artifact-map.md +5 -5
- package/template/.template-spec/process/lifecycle-registry-baseline.json +253 -0
- package/template/{docs → .template-spec}/process/lifecycle-registry.yaml +19 -12
- package/template/{docs → .template-spec}/process/plan-migration.md +1 -1
- package/template/{docs → .template-spec}/process/schemas/digital-human-task-package.schema.json +14 -1
- package/template/{docs → .template-spec}/process/schemas/lifecycle-checkpoint.schema.json +15 -0
- package/template/{docs → .template-spec}/process/schemas/lifecycle-registry.schema.json +1 -1
- package/template/{docs → .template-spec}/process/schemas/strategic-design-handoff-v3.schema.json +1 -1
- package/template/{docs → .template-spec}/process/schemas/strategic-design-handoff-v4.schema.json +1 -1
- package/template/{docs → .template-spec}/process/schemas/strategic-design-handoff-v5.schema.json +1 -1
- package/template/{docs → .template-spec}/process/schemas/strategic-design-handoff.schema.json +1 -1
- package/template/{docs → .template-spec}/process/stage-tracking.md +1 -1
- package/template/{docs → .template-spec}/process/subagent-collaboration.md +2 -2
- package/template/{docs → .template-spec}/templates/build-architecture-checklist-template.md +2 -2
- package/template/{docs → .template-spec}/templates/digital-human-runtime-profile-template.md +2 -2
- package/template/{docs → .template-spec}/templates/grok-bot-profile-template.md +1 -1
- package/template/{docs → .template-spec}/templates/local-parent-ticket-template.md +1 -1
- package/template/.template-spec/templates/release-note-template.md +29 -0
- package/template/.template-spec/templates/retro-report-template.md +24 -0
- package/template/{docs → .template-spec}/templates/subagent-task-package-template.md +3 -3
- package/template/.template-spec/templates/verification-record-template.md +64 -0
- package/template/{docs → .template-spec}/templates/vertical-slice-ticket-template.md +5 -10
- package/template/{docs → .template-spec}/user-guide//347/224/250/346/210/267/346/211/213/345/206/214.md +1 -1
- package/template/{docs → .template-spec}/user-guide//347/224/250/346/210/267/346/211/213/345/206/214/347/264/242/345/274/225.md +4 -4
- package/template/AGENTS.md +12 -12
- package/template/CONTEXT.md +3 -3
- package/template/README.md +22 -25
- package/template/scripts/backend-delivery +1 -1
- package/template/scripts/design-md +2 -0
- package/template/scripts/lib/api-contract-decision.mjs +1 -1
- package/template/scripts/lib/approved-execution-context.mjs +5 -5
- package/template/scripts/lib/backend-delivery.mjs +4 -4
- package/template/scripts/lib/backend-platform.mjs +1 -1
- package/template/scripts/lib/backend-review.mjs +1 -1
- package/template/scripts/lib/backend-scaffold-prerequisites.mjs +1 -1
- package/template/scripts/lib/backend-standards-coverage.mjs +2 -2
- package/template/scripts/lib/context-reconciliation.mjs +1 -1
- package/template/scripts/lib/contract-views.mjs +9 -9
- package/template/scripts/lib/delivery-preflight.mjs +6 -6
- package/template/scripts/lib/design-md.mjs +230 -0
- package/template/scripts/lib/digital-human-roles.mjs +2 -2
- package/template/scripts/lib/existing-backend-architecture.mjs +1 -1
- package/template/scripts/lib/existing-ui-baseline.mjs +1 -1
- package/template/scripts/lib/frontend-delivery.mjs +2 -2
- package/template/scripts/lib/governance-layout.mjs +74 -0
- package/template/scripts/lib/harness-execution-scope.mjs +2 -2
- package/template/scripts/lib/lifecycle-context-query.mjs +11 -3
- package/template/scripts/lib/lifecycle-registry.mjs +46 -7
- package/template/scripts/lib/lifecycle-status.mjs +111 -0
- package/template/scripts/lib/lifecycle-transition.mjs +71 -10
- package/template/scripts/lib/openapi-draft-validation.mjs +1 -1
- package/template/scripts/lib/plan-spec-entry-view.mjs +48 -0
- package/template/scripts/lib/plan-spec-entry.mjs +3 -3
- package/template/scripts/lib/skill-registry.mjs +16 -9
- package/template/scripts/lib/skill-supply-chain.mjs +34 -15
- package/template/scripts/lib/slice-contract-preparation.mjs +3 -3
- package/template/scripts/lib/slice-contract.mjs +1 -1
- package/template/scripts/lib/slice-repositories.mjs +1 -1
- package/template/scripts/lib/slice-task-package.mjs +3 -3
- package/template/scripts/lib/stage-tracking-migration.mjs +2 -2
- package/template/scripts/lib/stage-tracking.mjs +5 -5
- package/template/scripts/lib/strategic-feedback.mjs +2 -2
- package/template/scripts/lib/strategic-handoff-routing.mjs +2 -2
- package/template/scripts/lib/strategic-handoff.mjs +15 -15
- package/template/scripts/lib/task-package-schema.mjs +2 -2
- package/template/scripts/lib/task-package.mjs +1 -1
- package/template/scripts/lib/technical-design-boundary.mjs +1 -1
- package/template/scripts/lib/user-decision.mjs +2 -1
- package/template/scripts/lifecycle-status +14 -0
- package/template/scripts/plan-spec-entry +21 -0
- package/template/scripts/strategic-consumer-entry +1 -1
- package/template/scripts/strategic-handoff +1 -1
- package/template/scripts/verify-frontend-implementation-evidence +1 -1
- package/template/scripts/verify-governance-layout +15 -0
- package/template/scripts/verify-lifecycle-checkpoint +1 -1
- package/template/scripts/verify-project-instance +13 -10
- package/template/scripts/verify-scaffold-architecture-decisions +1 -1
- package/template/scripts/verify-strategic-context-import +3 -3
- package/template/skills-lock.json +80 -95
- package/template.manifest.json +30 -15
- package/template.snapshot.json +5 -5
- package/template/.agents/skills/grill-me/SKILL.md +0 -7
- package/template/.agents/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.agents/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.agents/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.codex/skills/grill-me/SKILL.md +0 -7
- package/template/.codex/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.codex/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.codex/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.cursor/skills/grill-me/SKILL.md +0 -7
- package/template/.cursor/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/.pi/skills/grill-me/SKILL.md +0 -7
- package/template/.pi/skills/grill-me/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-distributed-id/assets/AutoIdInterceptor.java +0 -246
- package/template/.pi/skills/yss-distributed-id/assets/EnableDistributedId.java +0 -25
- package/template/.pi/skills/yss-distributed-id/assets/LeafConf.java +0 -36
- package/template/docs/agents/archify-integration.md +0 -19
- package/template/docs/agents/yss-plugin-dependency-contract.md +0 -45
- package/template/docs/api/.gitkeep +0 -0
- package/template/docs/api/specs/.gitkeep +0 -0
- package/template/docs/architecture/.gitkeep +0 -0
- package/template/docs/design/design-system-sync.yaml +0 -13
- package/template/docs/design/facts/antdv-next/1.5.2/cli-help.txt +0 -38
- package/template/docs/design/facts/antdv-next/1.5.2/component-list.json +0 -434
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/info.json +0 -246
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/semantic.json +0 -40
- package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/token.json +0 -32
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/info.json +0 -190
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/semantic.json +0 -20
- package/template/docs/design/facts/antdv-next/1.5.2/components/Button/token.json +0 -256
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/info.json +0 -460
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Input/token.json +0 -123
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/info.json +0 -646
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/semantic.json +0 -50
- package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/token.json +0 -130
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/info.json +0 -640
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Select/token.json +0 -172
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/info.json +0 -1010
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/semantic.json +0 -70
- package/template/docs/design/facts/antdv-next/1.5.2/components/Table/token.json +0 -263
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/demo-basic.json +0 -7
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/info.json +0 -321
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/semantic.json +0 -25
- package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/token.json +0 -25
- package/template/docs/design/facts/antdv-next/1.5.2/design-md.json +0 -3
- package/template/docs/design/facts/antdv-next/1.5.2/manifest.json +0 -215
- package/template/docs/design/facts/antdv-next/1.5.2/resolution-probe.json +0 -5
- package/template/docs/design/preview-dark.html +0 -178
- package/template/docs/design/preview.css +0 -730
- package/template/docs/design/preview.html +0 -178
- package/template/docs/design/preview.js +0 -71
- package/template/docs/design/prototypes/.gitkeep +0 -1
- package/template/docs/design/tokens/.design-md-projection.json +0 -13
- package/template/docs/implementation/.gitkeep +0 -1
- package/template/docs/plan/IDEATION.md +0 -96
- package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +0 -13
- package/template/docs/process/PDCA-SCRUM.md +0 -10
- package/template/docs/process/github-workflows.md +0 -52
- package/template/docs/process/harness-executive-blueprint.md +0 -10
- package/template/docs/releases/.gitkeep +0 -1
- package/template/docs/requirements/README.md +0 -85
- package/template/docs/requirements/tickets/.gitkeep +0 -1
- package/template/docs/templates/agent-brief-template.md +0 -46
- package/template/docs/templates/architecture-proposal-template.md +0 -18
- package/template/docs/templates/implementation-plan-template.md +0 -16
- package/template/docs/templates/implementation-routing-template.md +0 -350
- package/template/docs/templates/release-note-template.md +0 -14
- package/template/docs/templates/requirement-freeze-template.md +0 -63
- package/template/docs/templates/retro-report-template.md +0 -16
- package/template/docs/templates/risk-register-template.md +0 -11
- package/template/docs/templates/user-story-template.md +0 -20
- package/template/docs/templates/verification-record-template.md +0 -53
- package/template/docs/testing/README.md +0 -110
- /package/template/{docs → .template-spec}/agents/domain.md +0 -0
- /package/template/{docs → .template-spec}/api/templates/openapi-draft-review-checklist.md +0 -0
- /package/template/{docs → .template-spec}/api/templates/openapi-draft-validation-record-template.yaml +0 -0
- /package/template/{docs → .template-spec}/api/templates/openapi-freeze-record-template.md +0 -0
- /package/template/{docs → .template-spec}/api/templates/openapi-json-export-record-template.md +0 -0
- /package/template/{docs → .template-spec}/architecture/templates/architecture-deepening-template.md +0 -0
- /package/template/{docs → .template-spec}/architecture/templates/architecture-review-checklist.md +0 -0
- /package/template/{docs → .template-spec}/architecture/templates/business-architecture-template.md +0 -0
- /package/template/{docs → .template-spec}/architecture/templates/data-architecture-template.md +0 -0
- /package/template/{docs → .template-spec}/architecture/templates/engineering-baseline-review-template.md +0 -0
- /package/template/{docs → .template-spec}/architecture/templates/functional-architecture-template.md +0 -0
- /package/template/{docs → .template-spec}/architecture/templates/system-overview-design-template.md +0 -0
- /package/template/{docs → .template-spec}/design/diagrams/README.md +0 -0
- /package/template/{docs → .template-spec}/design/schemas/visual-baseline.schema.json +0 -0
- /package/template/{docs → .template-spec}/design/templates/prototype-confirmation-template.md +0 -0
- /package/template/{docs → .template-spec}/design/templates/visual-baseline-template.yaml +0 -0
- /package/template/{docs → .template-spec}/design/tokens/theme.json +0 -0
- /package/template/{docs → .template-spec}/design/tokens/tokens.compact.json +0 -0
- /package/template/{docs → .template-spec}/design/tokens/tokens.dark.json +0 -0
- /package/template/{docs → .template-spec}/design/tokens/tokens.default.json +0 -0
- /package/template/{docs → .template-spec}/design/tokens/variables.css +0 -0
- /package/template/{docs → .template-spec}/design/tokens/variables.dark.css +0 -0
- /package/template/{docs → .template-spec}/engineering/backend-platforms.json +0 -0
- /package/template/{docs → .template-spec}/plan/README.md +0 -0
- /package/template/{docs → .template-spec}/plan/templates/competitive-analysis-template.md +0 -0
- /package/template/{docs → .template-spec}/plan/templates/competitive-matrix-template.md +0 -0
- /package/template/{docs → .template-spec}/plan/templates/market-analysis-template.md +0 -0
- /package/template/{docs → .template-spec}/plan/templates/user-pain-points-template.md +0 -0
- /package/template/{docs → .template-spec}/process/delivery-preflight.md +0 -0
- /package/template/{docs → .template-spec}/process/document-writing.md +0 -0
- /package/template/{docs → .template-spec}/process/existing-backend-architecture.md +0 -0
- /package/template/{docs → .template-spec}/process/existing-ui-baseline.md +0 -0
- /package/template/{docs → .template-spec}/process/frontend-backend-delivery.md +0 -0
- /package/template/{docs → .template-spec}/process/harness-process-tailoring.md +0 -0
- /package/template/{docs → .template-spec}/process/implementation-repo-integration.md +0 -0
- /package/template/{docs/process/lifecycle-registry-baseline.json → .template-spec/process/lifecycle-registry-baseline-v1.json} +0 -0
- /package/template/{docs → .template-spec}/process/schemas/api-contract-decision-v2.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/api-contract-decision.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/backend-architecture-identity.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/backend-delivery-verification.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/backend-delivery.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/context-reconciliation.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/data-architecture-decision.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/delivery-preflight-input.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/delivery-preflight-result.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/existing-ui-baseline.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/frontend-delivery-acceptance-v1.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/frontend-delivery-acceptance-v3.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/frontend-delivery-acceptance.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/frontend-implementation-evidence.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/frontend-strategic-preflight-v2.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/frontend-strategic-preflight.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/implementation-repository-preparation-result.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/openapi-draft-validation-record.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/project-scaffold-contract.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/review-bundle.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/scaffold-architecture-decisions.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/slice-implementation-contract-v3.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/stage-tracking.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-consumer-feedback.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-feedback-adjudication.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-delivery-verification.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-delivery.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-domain-strategy-v3.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-domain-strategy.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-export-v2.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-export.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-import-receipt-v3.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-import-receipt.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-package.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-stage-decision-package-v3.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/strategic-handoff-stage-decision-package.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/subagent-task-package.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/schemas/user-decision.schema.json +0 -0
- /package/template/{docs → .template-spec}/process/strategic-handoff-package.md +0 -0
- /package/template/{docs → .template-spec}/process/templates/context-reconciliation-template.yaml +0 -0
- /package/template/{docs → .template-spec}/process/templates/frontend-implementation-plan-template.yaml +0 -0
- /package/template/{docs → .template-spec}/process/templates/frontend-implementation-verification-template.yaml +0 -0
- /package/template/{docs → .template-spec}/process/templates/lifecycle-checkpoint-template.yaml +0 -0
- /package/template/{docs → .template-spec}/process/templates/scaffold-architecture-decisions-template.yaml +0 -0
- /package/template/{docs → .template-spec}/process/templates/stage-checkpoint-template.md +0 -0
- /package/template/{docs → .template-spec}/process/templates/user-decision-template.yaml +0 -0
- /package/template/{docs → .template-spec}/templates/adr-template.md +0 -0
- /package/template/{docs → .template-spec}/templates/approval-record-template.yaml +0 -0
- /package/template/{docs → .template-spec}/templates/cross-repo-slice-template.md +0 -0
- /package/template/{docs → .template-spec}/templates/examples/lifecycle-writing-examples.md +0 -0
- /package/template/{docs → .template-spec}/templates/implementation-repo-registry-template.md +0 -0
- /package/template/{docs → .template-spec}/templates/openapi-spec-template.yaml +0 -0
- /package/template/{docs → .template-spec}/templates/review-bundle-template.yaml +0 -0
- /package/template/{docs → .template-spec}/templates/review-report-template.md +0 -0
- /package/template/{docs → .template-spec}/templates/spec-delta-template.md +0 -0
- /package/template/{docs → .template-spec}/templates/spec-template.md +0 -0
- /package/template/{docs → .template-spec}/user-guide/yss-ui-mcp.md +0 -0
- /package/template/{docs → .template-spec}/user-guide//346/212/200/346/234/257/350/256/276/350/256/241/347/224/250/346/210/267/346/214/207/345/215/227.md" +0 -0
- /package/template/{docs → .template-spec}/user-guide//350/256/276/345/244/207/345/200/237/347/224/250/350/264/257/347/251/277/346/241/210/344/276/213.md" +0 -0
- /package/template/{docs → .template-spec}/user-guide//351/230/266/346/256/265/346/216/245/345/205/245/344/270/216/344/272/247/347/211/251/345/244/215/347/224/250/344/275/277/347/224/250/346/211/213/345/206/214.md" +0 -0
|
@@ -6,7 +6,7 @@ description: >-
|
|
|
6
6
|
id_policy:
|
|
7
7
|
pattern: '^(stage|gate|check|artifact|work-unit|evidence)\.[a-z0-9][a-z0-9-]*$'
|
|
8
8
|
published_ids_immutable: true
|
|
9
|
-
baseline:
|
|
9
|
+
baseline: .template-spec/process/lifecycle-registry-baseline.json
|
|
10
10
|
deprecated_ids:
|
|
11
11
|
- artifact.high-fidelity-html-prototype
|
|
12
12
|
- work-unit.fresh-verification
|
|
@@ -31,6 +31,11 @@ id_policy:
|
|
|
31
31
|
- gate.slice-ready-for-agent
|
|
32
32
|
- gate.frontend-implementation-verified
|
|
33
33
|
- gate.release-ready
|
|
34
|
+
- artifact.prototype-review
|
|
35
|
+
- artifact.prototype-confirmation
|
|
36
|
+
- work-unit.intensity-aware-verification
|
|
37
|
+
- work-unit.intensity-aware-review
|
|
38
|
+
- work-unit.prototype-design
|
|
34
39
|
|
|
35
40
|
stages:
|
|
36
41
|
- id: stage.entry-triage
|
|
@@ -120,7 +125,9 @@ evidence:
|
|
|
120
125
|
description: 基于低保真评审后的风险触发、决定目标、H1/H2 计算结果以及人工升降级依据。
|
|
121
126
|
- id: evidence.prototype-deliverable-verification
|
|
122
127
|
name: 原型交付物验证证据
|
|
128
|
+
# description 保留已发布稳定 ID 的历史语义快照;当前产物版本读取 public_description 及原型证据合同。
|
|
123
129
|
description: schema v3 共同证据与所选档位的浏览器、Design QA、无障碍、组件事实或真实组件合同验证结果。
|
|
130
|
+
public_description: 新原型证据采用 schema v4,包含共同证据、Visual Baseline Bundle、浏览器、Design QA、无障碍及档位验证结果;历史 v3 仅供只读兼容。
|
|
124
131
|
- id: evidence.prototype-confirmation
|
|
125
132
|
name: 原型用户确认记录
|
|
126
133
|
description: 高保真原型、验证清单和进入下游阶段范围的人工确认结论。
|
|
@@ -259,14 +266,14 @@ artifacts:
|
|
|
259
266
|
name: 原型交付物
|
|
260
267
|
stage: stage.product-design
|
|
261
268
|
trigger: 低保真评审后需要 H1 视觉或 H2 流程校准。
|
|
262
|
-
- id: artifact.prototype-review
|
|
269
|
+
- id: artifact.prototype-review-v2
|
|
263
270
|
name: 原型评审记录
|
|
264
271
|
stage: stage.product-design
|
|
265
|
-
trigger: 命中
|
|
266
|
-
- id: artifact.prototype-confirmation
|
|
272
|
+
trigger: 命中 check.prototype-reviewed。
|
|
273
|
+
- id: artifact.prototype-confirmation-v2
|
|
267
274
|
name: 原型确认记录
|
|
268
275
|
stage: stage.product-design
|
|
269
|
-
trigger: 命中 gate.
|
|
276
|
+
trigger: 命中 gate.product-design-approved。
|
|
270
277
|
- id: artifact.openapi-draft
|
|
271
278
|
name: OpenAPI Draft
|
|
272
279
|
stage: stage.system-data-engineering
|
|
@@ -363,18 +370,18 @@ work_units:
|
|
|
363
370
|
input: 目标仓库、dry-run 计划。
|
|
364
371
|
output: 受管资产和 metadata。
|
|
365
372
|
completion: 验证通过或完整回滚。
|
|
366
|
-
- id: work-unit.intensity-aware-verification
|
|
373
|
+
- id: work-unit.intensity-aware-verification-v2
|
|
367
374
|
name: 分级 Fresh verification
|
|
368
375
|
scope: template-source
|
|
369
376
|
input: 变更仓库、强度分级与对应最低证据。
|
|
370
377
|
output: 命令输出与证据。
|
|
371
|
-
completion: L1
|
|
372
|
-
- id: work-unit.intensity-aware-review
|
|
378
|
+
completion: L1 完成相关检查;L2 完成最小反例、维护者自检与本轮 fresh verification;L3 完成维护者自检与本轮 fresh verification,正式发布前另运行完整 scripts/verify-template。
|
|
379
|
+
- id: work-unit.intensity-aware-review-v2
|
|
373
380
|
name: 分级审查
|
|
374
381
|
scope: template-source
|
|
375
382
|
input: 变更 diff、强度分级与验证证据。
|
|
376
|
-
output:
|
|
377
|
-
completion:
|
|
383
|
+
output: 维护者自检结论与阻断项;按需记录聚焦独立审查结果。
|
|
384
|
+
completion: 已完成命中等级要求的维护者自检并处理阻断项;独立审查仅在另行触发时执行,不由 L2 或 L3 自动强制。
|
|
378
385
|
- id: work-unit.release-and-rollback
|
|
379
386
|
name: 发布与回滚
|
|
380
387
|
scope: template-source
|
|
@@ -417,12 +424,12 @@ work_units:
|
|
|
417
424
|
input: 已确认的 Plan 记录和测试 seam。
|
|
418
425
|
output: Spec、产品总体设计和功能架构。
|
|
419
426
|
completion: Spec 内容完整并进入 ready-for-human;下游推进仍需 gate.spec-baseline-approved。
|
|
420
|
-
- id: work-unit.prototype-design
|
|
427
|
+
- id: work-unit.prototype-design-v2
|
|
421
428
|
name: 原型设计与验证
|
|
422
429
|
scope: project-instance
|
|
423
430
|
input: Spec、产品设计影响和状态矩阵。
|
|
424
431
|
output: 交互说明、低保真、状态矩阵、H1/H2 原型交付物、统一 Design QA、档位验证证据与前端实现交接事项。
|
|
425
|
-
completion: 低保真评审、schema
|
|
432
|
+
completion: 低保真评审、schema v4 原型交付物验证和用户确认门禁均通过;Visual Baseline Bundle 和生产组件待验事项已交接到前端实现计划。
|
|
426
433
|
- id: work-unit.technical-analysis
|
|
427
434
|
name: 技术分析与契约冻结
|
|
428
435
|
scope: project-instance
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
新流程仅使用 `stage.plan`、`artifact.plan-record`、`work-unit.plan-opportunity` 和 `work-unit.plan-requirements`。不提供 Discovery 阶段别名、旧标识解析或兼容入口;旧 ID 在注册表中仅作为弃用清单保留,以防重新分配,不可执行。
|
|
4
4
|
|
|
5
|
-
新工作从
|
|
5
|
+
新工作从 `.template-spec/plan/templates/plan-template.md` 起草,工作目录为 `docs/.scratch/<feature>/plan/`。问题、机会和事实探索是 Plan 内按影响面执行的活动。
|
|
6
6
|
|
|
7
7
|
历史冻结文档、批准记录和摘要保持原字节。旧状态不能直接恢复执行;如需继续,按当前 Plan 模板重新整理输入并核查当前退出条件,不把旧批准自动视为新流程批准。已有事实和结论可引用,但须记录当前版本、适用范围和复用理由。
|
|
8
8
|
|
package/template/{docs → .template-spec}/process/schemas/digital-human-task-package.schema.json
RENAMED
|
@@ -27,6 +27,19 @@
|
|
|
27
27
|
"convergence"
|
|
28
28
|
],
|
|
29
29
|
"properties": {
|
|
30
|
+
"transition_evidence": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"properties": {
|
|
34
|
+
"strategic_handoff_consumption": { "type": "object" },
|
|
35
|
+
"approved_spec": { "type": "object" },
|
|
36
|
+
"context_reconciliation": { "type": "object" },
|
|
37
|
+
"technical_design": { "type": "object" },
|
|
38
|
+
"data_architecture_decision": { "type": "object" },
|
|
39
|
+
"api_contract_decision": { "type": "object" },
|
|
40
|
+
"engineering_contract_approval_ref": { "type": "string", "minLength": 1 }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
30
43
|
"plan_review_ref": {
|
|
31
44
|
"type": "string",
|
|
32
45
|
"minLength": 1
|
|
@@ -127,7 +140,7 @@
|
|
|
127
140
|
],
|
|
128
141
|
"properties": {
|
|
129
142
|
"registry_ref": {
|
|
130
|
-
"const": "
|
|
143
|
+
"const": ".template-spec/agents/digital-human-roles.yaml"
|
|
131
144
|
},
|
|
132
145
|
"defaults_ref": {
|
|
133
146
|
"type": "string",
|
|
@@ -22,6 +22,21 @@
|
|
|
22
22
|
"rollback"
|
|
23
23
|
],
|
|
24
24
|
"properties": {
|
|
25
|
+
"service_project_initialization": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"additionalProperties": false,
|
|
28
|
+
"required": ["project_id", "contract_ref", "contract_digest", "project_root", "context_handoff_digest"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"project_id": { "type": "string", "minLength": 1 },
|
|
31
|
+
"contract_ref": { "type": "string", "minLength": 1 },
|
|
32
|
+
"contract_digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
33
|
+
"project_root": { "type": "string", "minLength": 1 },
|
|
34
|
+
"context_handoff_digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
35
|
+
"manifest_ref": { "type": "string", "minLength": 1 },
|
|
36
|
+
"verification_ref": { "type": "string", "minLength": 1 },
|
|
37
|
+
"result_ref": { "type": "string", "minLength": 1 }
|
|
38
|
+
}
|
|
39
|
+
},
|
|
25
40
|
"plan_continuation_ref": {
|
|
26
41
|
"type": "string",
|
|
27
42
|
"minLength": 1
|
package/template/{docs → .template-spec}/process/schemas/strategic-design-handoff-v3.schema.json
RENAMED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"const": "CONTEXT.md"
|
|
115
115
|
},
|
|
116
116
|
"reconciliation_schema_ref": {
|
|
117
|
-
"const": "
|
|
117
|
+
"const": ".template-spec/process/schemas/context-reconciliation.schema.json"
|
|
118
118
|
},
|
|
119
119
|
"required_before_skill": {
|
|
120
120
|
"enum": [
|
package/template/{docs → .template-spec}/process/schemas/strategic-design-handoff-v4.schema.json
RENAMED
|
@@ -667,7 +667,7 @@
|
|
|
667
667
|
"properties": {
|
|
668
668
|
"required": {"const": true},
|
|
669
669
|
"target_context_ref": {"const": "CONTEXT.md"},
|
|
670
|
-
"schema_ref": {"const": "
|
|
670
|
+
"schema_ref": {"const": ".template-spec/process/schemas/context-reconciliation.schema.json"}
|
|
671
671
|
}
|
|
672
672
|
},
|
|
673
673
|
"reason": {"type": "string", "minLength": 1},
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## 启用与职责
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
`.template-spec/agents/issue-tracker.md` 的 `tracker.lifecycle_tracking_version: 1` 表示项目已启用。新初始化默认启用;attach / sync 保留已有配置,未声明的旧项目不自动启用。只读检查不修改项目;旧项目先 plan 再显式 apply。模板源只维护机制,不在模板根生成产品工作项。
|
|
8
8
|
|
|
9
9
|
完整研发从 Plan(或接入的最近可信阶段)建立唯一父 Ticket。Design 继续使用 checkpoint / map,不创建工程父 Ticket。Backend / Frontend 只消费已交接资产,不因本协议取得 Plan、Spec 或产品设计的编写权限。Dev 消费主模板的同一协议。
|
|
10
10
|
|
|
@@ -6,8 +6,8 @@ Subagent 和其它运行时实例只接收边界清晰的任务包。主控数
|
|
|
6
6
|
|
|
7
7
|
## 任务包
|
|
8
8
|
|
|
9
|
-
凡主控向数字人角色或独立运行时正式派发生命周期工作单元,都必须使用
|
|
9
|
+
凡主控向数字人角色或独立运行时正式派发生命周期工作单元,都必须使用 `.template-spec/process/schemas/digital-human-task-package.schema.json` 定义的任务包,并写明 `task_id`、`work_unit_id`、`actor_id`、数字人角色 ID、`runtime_id`、执行态、工作流状态、从 `.template-spec/agents/digital-human-roles.yaml` 复制的 `core_skills` / `forbidden_skills`(可用 `taskPackageDefaults`)、合同类型和版本、输入资产、目标、允许写路径、禁止事项、验收标准、验证命令及其实际退出码 / 执行时间 / 证据引用、下游消费者和汇合方式。`slice-implementation` 才额外绑定 Slice Implementation Contract;禁止手写第二套技能包;任务包由 `scripts/verify-digital-human-task-package` 校验,`scripts/verify-subagent-task-package` 仅为兼容入口。
|
|
10
10
|
|
|
11
11
|
## 汇合
|
|
12
12
|
|
|
13
|
-
返回结果必须符合 `workflow-execution-result-v1`,至少包括 `work_unit`、`workflow_reference`、`result`、`skill`、`changed_files` / `changed_artifacts`、`evidence_refs`、实际验证结果、`deferred_seams`、`drift`、`violation`、`new_impacts`、`stale_candidates`、`blocking_signals` 和 `next_route`。主控必须重新执行 fresh verification,并在集中 checkpoint 中保留阶段因果。会签写入 `docs/.scratch/<feature>/gates/<gate-id>-approval.yaml`(形状见
|
|
13
|
+
返回结果必须符合 `workflow-execution-result-v1`,至少包括 `work_unit`、`workflow_reference`、`result`、`skill`、`changed_files` / `changed_artifacts`、`evidence_refs`、实际验证结果、`deferred_seams`、`drift`、`violation`、`new_impacts`、`stale_candidates`、`blocking_signals` 和 `next_route`。主控必须重新执行 fresh verification,并在集中 checkpoint 中保留阶段因果。会签写入 `docs/.scratch/<feature>/gates/<gate-id>-approval.yaml`(形状见 `.template-spec/templates/approval-record-template.yaml`),不能用聊天表情代替。恢复前校验 `scripts/verify-approval-record`。
|
|
@@ -20,7 +20,7 @@ owner: ai
|
|
|
20
20
|
| 风险 / 回滚约束 | `AGENTS.md` | |
|
|
21
21
|
| Slice Implementation Contract | | 填写 contract_id / contract_version / 生命周期批准状态 |
|
|
22
22
|
| 后端脚手架策略 | `orchestration-contract.yaml` / DDD 或 Layered MVC 生成器 | | backend `scaffold_status=required` 时填写架构与平台用户门禁、architecture decision、精确 Spring Boot 版本、schema v4 合同身份、批准/持久化引用、生成器输入、Manifest v4、实际 `./mvnw` 结果和后置实现合同编译器重编译;既有工程填写登记值复用证据 |
|
|
23
|
-
| 工程项目路径策略 |
|
|
23
|
+
| 工程项目路径策略 | `.template-spec/process/implementation-repo-integration.md` / 实现合同编译器 Contract | | Harness 内必须是 `apps/backend/<project>/` 或 `apps/frontend/<project>/`;`apps/backend/`、`apps/frontend/` 仅为容器,`app/backend/`、`app/frontend/` 及其子路径阻断 |
|
|
24
24
|
| 垂直切片工作单元 | | |
|
|
25
25
|
| YSS Skill Execution Result | | 每个 skill / work_unit 的结果文件引用 |
|
|
26
26
|
|
|
@@ -43,7 +43,7 @@ owner: ai
|
|
|
43
43
|
| Infrastructure:需要持久化的切片必须有 PO / Repository / Convertor / GatewayImpl;`InMemory*Gateway` 只能作为显式 `seam-deferred` | `yss-repository` / 数据架构 | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 未补齐时不得声称生产持久化完成 |
|
|
44
44
|
| POJO / Convertor:DTO / VO / CMD / Query / PO / Domain Model 样板代码默认使用 Lombok;对象转换默认使用 MapStruct,禁止 `BeanUtils.copyProperties`、反射拷贝和重复手写字段赋值 | `lombok` / `mapstruct` / `AGENTS.md` | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 未加载 skill、缺注解处理器配置、缺 Convertor 或无例外说明时标记 `violation` |
|
|
45
45
|
| 后端工程工具链:构建、测试、运行、OpenAPI 生成、CI 和 Release 命令必须使用项目根目录 `./mvnw ...`;裸 `mvn ...` 必须有受控例外记录 | DDD / Layered MVC 生成器及 implementation routing | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 无例外记录时改为 `./mvnw ...`,否则不得进入完成 / 可合并结论 |
|
|
46
|
-
| 工程项目路径:每个 Harness 内项目必须有具体项目段,禁止直接写入容器根或单数 `app/...` |
|
|
46
|
+
| 工程项目路径:每个 Harness 内项目必须有具体项目段,禁止直接写入容器根或单数 `app/...` | `.template-spec/process/implementation-repo-integration.md` / implementation path validator | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 路径违规时停止 build,并回到实现路由 |
|
|
47
47
|
| 文档语言:持久化生命周期文档、实施记录、审查报告、发布说明和 Git checkpoint 正文必须使用中文,英文 skill / 模板不得原样落地 | `AGENTS.md` / `yss-product-lifecycle` | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 仅保留必要英文技术标识、命令和 metadata |
|
|
48
48
|
| 高风险变更:按已批准的普通影响面结论记录验证证据、责任人和回滚约束 | `AGENTS.md` / Spec / 架构记录 | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 缺验证证据或责任人时不得发布或合并 |
|
|
49
49
|
| 质量基线:`baseline_id` / `baseline_version` 只从 `engineering-baseline` 引用,Slice、Execution Result、审查和发布不得重复定义 | `engineering-baseline` / `orchestration-contract.yaml` | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 缺少基线引用或出现重复标准时阻断并回到工程基线 |
|
package/template/{docs → .template-spec}/templates/digital-human-runtime-profile-template.md
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 数字人运行时 Profile:<数字人角色>
|
|
2
2
|
|
|
3
|
-
> 从
|
|
3
|
+
> 从 `.template-spec/agents/digital-human-roles.yaml` 复制 title / description / skill。不要手写第二套职责。先选 `runtime_id`,再按该运行时适配器落地。
|
|
4
4
|
|
|
5
5
|
## 绑定
|
|
6
6
|
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
- 人默认只跟主控说话。
|
|
35
35
|
- 逻辑协作组以 YAML `stage_groups` 为准。
|
|
36
36
|
- 当前运行时若声明了 `max_collaboration_group_size` 且 `overflow=one-to-one-handoff`,超员时改 1:1,不改逻辑组。
|
|
37
|
-
- 会签按 YAML `gate_policy` 写
|
|
37
|
+
- 会签按 YAML `gate_policy` 写 `.template-spec/templates/approval-record-template.yaml`,填 `runtime_id` 与 `principal_ref`。恢复前跑 `scripts/verify-approval-record`。
|
|
38
38
|
- 权威产物写 git。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Grok Bot Profile:<数字人角色>
|
|
2
2
|
|
|
3
|
-
> 这是 `runtime.grok` 适配模板。角色职责仍以
|
|
3
|
+
> 这是 `runtime.grok` 适配模板。角色职责仍以 `.template-spec/agents/digital-human-roles.yaml` 为准。通用流程见 `.template-spec/templates/digital-human-runtime-profile-template.md`。
|
|
4
4
|
|
|
5
5
|
## Profile
|
|
6
6
|
|
|
@@ -52,7 +52,7 @@ Status: ready-for-human
|
|
|
52
52
|
|
|
53
53
|
| 门禁 | 记录路径 | 会签角色 | 状态 |
|
|
54
54
|
|---|---|---|---|
|
|
55
|
-
| | `docs/.scratch/<feature>/gates/<gate-id>-approval.yaml` | 见
|
|
55
|
+
| | `docs/.scratch/<feature>/gates/<gate-id>-approval.yaml` | 见 `.template-spec/agents/digital-human-roles.yaml` | pending / approved / blocked / not-applicable |
|
|
56
56
|
|
|
57
57
|
## 阻塞关系
|
|
58
58
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
pipeline: <feature-id>
|
|
3
|
+
stage: archive
|
|
4
|
+
status: draft
|
|
5
|
+
owner: ai
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# 发布说明:<功能名称>
|
|
9
|
+
|
|
10
|
+
## 变更内容
|
|
11
|
+
|
|
12
|
+
引用本次 Spec / Ticket、当前候选及验收记录,说明用户可观察变化和实际交付范围。
|
|
13
|
+
|
|
14
|
+
## 迁移说明
|
|
15
|
+
|
|
16
|
+
说明兼容性、数据或配置迁移、受影响消费者及执行顺序;无迁移时给出依据。已有实例按显式迁移处理,不由本说明自动更新。
|
|
17
|
+
|
|
18
|
+
## 验证结果
|
|
19
|
+
|
|
20
|
+
引用同一候选的 Fresh Verification、实际运行环境及未覆盖范围。命中的必需验证失败或未执行仍阻断;不能以历史结果或 skipped 表示通过。
|
|
21
|
+
|
|
22
|
+
## 发布与回滚
|
|
23
|
+
|
|
24
|
+
- 发布前提与当前决定:<适用门禁、真实负责人回复及范围引用;未取得写待决定>。
|
|
25
|
+
- 发布顺序与观察条件:<各仓 / 服务依赖、验证点与中止条件;不适用写依据>。
|
|
26
|
+
- 回滚点、触发条件与处理人:<当前可执行方案及已有负责人>。
|
|
27
|
+
- 实际执行记录:<已执行动作、版本、时间和结果引用;未执行写未发布>。
|
|
28
|
+
|
|
29
|
+
本说明只汇总证据,不代替发布批准或授予外部动作权限。
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
pipeline: <feature-id>
|
|
3
|
+
stage: archive
|
|
4
|
+
status: draft
|
|
5
|
+
owner: ai
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# 复盘报告:<功能名称>
|
|
9
|
+
|
|
10
|
+
## 做得好的地方
|
|
11
|
+
|
|
12
|
+
引用本次实际结果与证据,说明哪些做法值得保留;不把预期收益写成已实现。
|
|
13
|
+
|
|
14
|
+
## 需要改进的地方
|
|
15
|
+
|
|
16
|
+
记录触发条件、实际影响与证据,区分已确认机制和待验证假设;说明返工或漏检为何未被既有检查发现。
|
|
17
|
+
|
|
18
|
+
## 改进动作
|
|
19
|
+
|
|
20
|
+
引用既有待办 / 工作项;在其权威记录中登记负责人、解决时点、验证方法、关闭条件与关闭证据。本节说明动作如何解决上述问题,不另外维护一套进度;未分派写未登记。
|
|
21
|
+
|
|
22
|
+
## 沉淀去向
|
|
23
|
+
|
|
24
|
+
列出需修订的事实源、Skill / 模板 / 校验场景及关联行动。关闭时引用实际修订和验证结果,只有建议或计划时保持待处理。
|
|
@@ -5,7 +5,7 @@ owner: ai
|
|
|
5
5
|
|
|
6
6
|
# Digital Human Task Package:<task_id>
|
|
7
7
|
|
|
8
|
-
> Canonical contract:
|
|
8
|
+
> Canonical contract: `.template-spec/process/schemas/digital-human-task-package.schema.json`。本文件路径保留为兼容入口。
|
|
9
9
|
|
|
10
10
|
> 用于主控 Agent 派发 subagent 前固定输入、输出、写范围和验收标准。没有任务包边界时,不得派发 subagent。
|
|
11
11
|
|
|
@@ -22,7 +22,7 @@ owner: ai
|
|
|
22
22
|
| 对应门禁 | |
|
|
23
23
|
| Ticket / MR / PR | |
|
|
24
24
|
| 主控 Agent | |
|
|
25
|
-
| 数字人角色 | `role.` 见
|
|
25
|
+
| 数字人角色 | `role.` 见 `.template-spec/agents/digital-human-roles.yaml` |
|
|
26
26
|
| runtime_id | `runtime.generic` / `runtime.skill-projection` / `runtime.grok` |
|
|
27
27
|
| core_skills | 从角色表复制,禁止手写 |
|
|
28
28
|
| forbidden_skills | 从角色表复制,禁止手写 |
|
|
@@ -54,7 +54,7 @@ owner: ai
|
|
|
54
54
|
| lifecycle_ref | 生命周期工作单元使用 |
|
|
55
55
|
| Slice Implementation Contract | 仅 `slice-implementation` 填写 |
|
|
56
56
|
| maintenance_ref | 仅 `template-maintenance` 填写维护 checkpoint |
|
|
57
|
-
| 技能注册表 |
|
|
57
|
+
| 技能注册表 | `.template-spec/agents/digital-human-roles.yaml` |
|
|
58
58
|
| 技能默认值 | `taskPackageDefaults(<role_id>)` |
|
|
59
59
|
|
|
60
60
|
## 3. 输出要求
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
pipeline: <feature-id>
|
|
3
|
+
stage: verify
|
|
4
|
+
status: draft
|
|
5
|
+
owner: ai
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# <功能名称>Fresh Verification 记录
|
|
9
|
+
|
|
10
|
+
> 适用场景:合并、发布、归档或宣称完成前。
|
|
11
|
+
> 本文记录最新验证证据;没有 fresh verification,不得给出“完成 / 可合并 / 可发布”结论。
|
|
12
|
+
|
|
13
|
+
## 1. 验证范围
|
|
14
|
+
|
|
15
|
+
- 当前验证对象:<候选 / 合同 / 工作树范围及其实际摘要记录引用>。
|
|
16
|
+
- 上游验收依据:<当前 Spec、Ticket、适用契约与质量基线引用>。
|
|
17
|
+
- 实际运行记录:<可读日志或结构化结果引用;未运行写未执行>。
|
|
18
|
+
|
|
19
|
+
以下摘要从上述证据形成,保留证据来源;资产变化后按影响重新验证,不能沿用旧通过结论。
|
|
20
|
+
|
|
21
|
+
| 范围 | 说明 | 是否覆盖 |
|
|
22
|
+
|------|------|----------|
|
|
23
|
+
| Spec 验收标准 | | 是 / 否 |
|
|
24
|
+
| OpenAPI / 契约 | | 是 / 否 / 不适用 |
|
|
25
|
+
| 后端行为 | | 是 / 否 / 不适用 |
|
|
26
|
+
| 前端组件 / 页面 | | 是 / 否 / 不适用 |
|
|
27
|
+
| E2E 关键路径 | | 是 / 否 / 不适用 |
|
|
28
|
+
| 风险 / 回滚约束 | | 是 / 否 / 不适用 |
|
|
29
|
+
|
|
30
|
+
## 2. 命令与结果
|
|
31
|
+
|
|
32
|
+
引用已有运行记录,核对其中的候选 / 输入、cwd、实际命令、开始与结束时间、退出码及日志位置。Agent 从记录整理下面的阅读摘要,人工无需另抄机器摘要;记录缺项时明确写未知,不能将计划命令写成已执行。
|
|
33
|
+
|
|
34
|
+
| 运行记录引用 | 覆盖的验收 / 范围 | 实际结果与未覆盖项 |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| <日志 / 结构化结果> | <规则或验收引用> | <pass / fail / skipped / 未执行,及依据> |
|
|
37
|
+
|
|
38
|
+
## 3. 手工验证
|
|
39
|
+
|
|
40
|
+
| 场景 | 步骤 | 结果 | 证据 |
|
|
41
|
+
|------|------|------|------|
|
|
42
|
+
| | | | |
|
|
43
|
+
|
|
44
|
+
## 4. 未覆盖风险
|
|
45
|
+
|
|
46
|
+
| 风险 | 原因 | 处理方式 |
|
|
47
|
+
|------|------|----------|
|
|
48
|
+
| | | |
|
|
49
|
+
|
|
50
|
+
## 5. 完成标准
|
|
51
|
+
|
|
52
|
+
- [ ] 验证命令是本次完成前新鲜执行的结果。
|
|
53
|
+
- [ ] 失败项已有修复或明确阻断。
|
|
54
|
+
- [ ] skipped 项有原因和处理方式;命中的必需项未执行仍阻断,未命中项才按证据记录不适用。
|
|
55
|
+
- [ ] 发布 / 合并 / 归档所需证据已能追溯。
|
|
56
|
+
|
|
57
|
+
## 6. 结论
|
|
58
|
+
|
|
59
|
+
- 验证结论:<待验证 / 通过 / 阻断;仅针对上述候选和覆盖范围>。
|
|
60
|
+
- 未覆盖范围及阻断项:<实际依据;无则说明核验范围>。
|
|
61
|
+
- 合并 / 发布前提与决定:<引用当前适用门禁、Fresh Verification 和真实授权;缺失则待处理>。
|
|
62
|
+
- 下一动作与负责人:<依据已有登记>。
|
|
63
|
+
|
|
64
|
+
验证通过不产生合并或发布授权;实际动作仍按原流程和授权边界执行。
|
|
@@ -72,14 +72,9 @@ Agent 使用 `scripts/slice-contract view <合同.yaml>` 展示审阅说明,
|
|
|
72
72
|
|
|
73
73
|
### 后端阻断规则
|
|
74
74
|
|
|
75
|
-
- [ ]
|
|
76
|
-
- [ ]
|
|
77
|
-
- [ ]
|
|
78
|
-
- [ ] Controller 不手工分页主要业务集合,不穿透 Repository / Mapper / PO。
|
|
79
|
-
- [ ] Application 只做用例编排、事务边界和跨聚合协调,核心领域规则放入 Domain。
|
|
80
|
-
- [ ] 需要持久化的切片必须补 PO / Repository / Convertor / GatewayImpl;临时 `InMemory*Gateway` 必须标记 `seam-deferred`。
|
|
81
|
-
- [ ] POJO 样板代码默认使用 Lombok;成片手写 getter/setter、constructor、builder、logger 必须说明例外原因、测试证据和 review 结论。
|
|
82
|
-
- [ ] MapStruct / Convertor 强制优先;`BeanUtils.copyProperties`、反射式通用拷贝或重复手写 mapping 必须说明例外原因、测试证据和 review 结论。
|
|
75
|
+
- [ ] 涉及后端业务代码时,已批准且当前的 Slice Implementation Contract 绑定 Technical Design 的架构族、工程基线、适用 Skill、测试 seam 和实现写范围。
|
|
76
|
+
- [ ] 根据已批准的 `domain-driven` 或 `layered-mvc` 路线,执行合同编译器给出的 DTO、Controller、Application、持久化和对象映射约束;不得把另一架构族的 Gateway、Domain 模块或映射方式强加给本切片。
|
|
77
|
+
- [ ] 合同缺失、过期、验证失败或出现新影响时停止实现,返回生命周期重新编译与批准。
|
|
83
78
|
|
|
84
79
|
## 阻塞关系
|
|
85
80
|
|
|
@@ -105,7 +100,7 @@ Agent 使用 `scripts/slice-contract view <合同.yaml>` 展示审阅说明,
|
|
|
105
100
|
|
|
106
101
|
| 门禁 | 记录路径 | 会签角色 | 状态 |
|
|
107
102
|
|---|---|---|---|
|
|
108
|
-
| | `docs/.scratch/<feature>/gates/<gate-id>-approval.yaml` | 见
|
|
103
|
+
| | `docs/.scratch/<feature>/gates/<gate-id>-approval.yaml` | 见 `.template-spec/agents/digital-human-roles.yaml` | pending / approved / blocked / not-applicable |
|
|
109
104
|
|
|
110
105
|
## 状态
|
|
111
106
|
|
|
@@ -127,7 +122,7 @@ Agent 使用 `scripts/slice-contract view <合同.yaml>` 展示审阅说明,
|
|
|
127
122
|
- [ ] 实现完成
|
|
128
123
|
- [ ] 已新增测试且测试通过
|
|
129
124
|
- [ ] 已移除调试 / 原型代码
|
|
130
|
-
- [ ]
|
|
125
|
+
- [ ] 涉及后端时,已在任务包核验当前 Slice Implementation Contract 与适用架构约束
|
|
131
126
|
- [ ] 已在任务包核验当前 `contract_id` / `contract_version`、全部工作单元和对应 `YSS Skill Execution Result`
|
|
132
127
|
- [ ] 实际 changed files 均在合同允许路径内,预期证据齐全,验证结果包含执行时间
|
|
133
128
|
- [ ] `new_impacts`、`drift`、`violation` 和重路由状态均有明确结论,合同未处于 `stale`
|
|
@@ -57,7 +57,7 @@ npx create-yss-harness-frontend@latest init --target-dir ./frontend-project --pr
|
|
|
57
57
|
|
|
58
58
|
1. `yss-project.yaml` 是 `project-instance`。
|
|
59
59
|
2. 只存在本家族 metadata,且 profile 与职责一致。
|
|
60
|
-
3. 根 `CONTEXT.md`、`AGENTS.md` 和
|
|
60
|
+
3. 根 `CONTEXT.md`、`AGENTS.md` 和 `.template-spec/user-guide/用户手册索引.md` 可读。
|
|
61
61
|
4. Git 状态、实现仓登记、验证命令和回滚点符合项目实际情况。
|
|
62
62
|
|
|
63
63
|
## 第一次让 Agent 工作
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
## 按职责进入子项目
|
|
11
11
|
|
|
12
|
-
- [战略设计](https://github.com/iloveZzz/yss-harness-design-agent/blob/main/
|
|
13
|
-
- [后端交付](https://github.com/iloveZzz/yss-harness-backend-agent/blob/main/
|
|
14
|
-
- [前端接收与验收](https://github.com/iloveZzz/yss-harness-frontend-agent/blob/main/
|
|
12
|
+
- [战略设计](https://github.com/iloveZzz/yss-harness-design-agent/blob/main/.template-spec/user-guide/用户手册索引.md)
|
|
13
|
+
- [后端交付](https://github.com/iloveZzz/yss-harness-backend-agent/blob/main/.template-spec/user-guide/用户手册索引.md)
|
|
14
|
+
- [前端接收与验收](https://github.com/iloveZzz/yss-harness-frontend-agent/blob/main/.template-spec/user-guide/用户手册索引.md)
|
|
15
15
|
|
|
16
16
|
既有通用研发实例按其固定版本和本地 README 维护,不再作为新项目入口。生成实例通过 GitHub 链接跨项目导航,但实际操作以本地 profile、CLI `--help`、包版本和模板 snapshot 为准。
|
|
17
17
|
|
|
18
|
-
CLI 详解:[综合 CLI](https://github.com/iloveZzz/create-yss-spec/blob/main/
|
|
18
|
+
CLI 详解:[综合 CLI](https://github.com/iloveZzz/create-yss-spec/blob/main/.template-spec/user-guide/create-yss-spec-cli-guide.md)、[战略 CLI](https://github.com/iloveZzz/create-yss-harness-design)、[后端 CLI](https://github.com/iloveZzz/create-yss-harness-backend)、[前端 CLI](https://github.com/iloveZzz/create-yss-harness-frontend)。组件专项见 [YSS UI MCP](yss-ui-mcp.md)。
|
package/template/AGENTS.md
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
|---|---|
|
|
16
16
|
| 词汇 | `CONTEXT.md` |
|
|
17
17
|
| Agent 入口红线 | `AGENTS.md` |
|
|
18
|
-
| 阶段、门禁、产物、工作单元、证据、稳定 ID |
|
|
19
|
-
| 影响面、`not-applicable`、模板维护强度 |
|
|
20
|
-
| Skill 来源、版本、投影、路由 | `skills-lock.json
|
|
21
|
-
| 数字人角色、运行时与会签 |
|
|
22
|
-
| 视觉规范 | `DESIGN.md`;治理见
|
|
18
|
+
| 阶段、门禁、产物、工作单元、证据、稳定 ID | `.template-spec/process/lifecycle-registry.yaml`;`.template-spec/process/lifecycle-artifact-map.md` 仅为派生阅读视图 |
|
|
19
|
+
| 影响面、`not-applicable`、模板维护强度 | `.template-spec/process/harness-process-tailoring.md`、`.template-source/process/maintenance-intensity.yaml` |
|
|
20
|
+
| Skill 来源、版本、投影、路由 | `skills-lock.json`、`.template-spec/agents/yss-skill-registry.yaml` |
|
|
21
|
+
| 数字人角色、运行时与会签 | `.template-spec/agents/digital-human-roles.yaml` |
|
|
22
|
+
| 视觉规范 | `DESIGN.md`;治理见 `.template-spec/design/design.md` |
|
|
23
23
|
|
|
24
24
|
其他文档和派生视图只引用,不重复定义。
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
主流程:分诊 → Plan → Spec / 功能架构 → 产品设计 → 工程契约 → Ticket → 切片 → 验证 / 发布 / 复盘。
|
|
36
36
|
|
|
37
|
-
- 先按
|
|
37
|
+
- 先按 `.template-spec/process/harness-process-tailoring.md` 判定影响面和最近可信阶段,再由 `yss-product-lifecycle` 执行 `.template-spec/process/lifecycle-registry.yaml`;阅读导航见 `.template-spec/process/lifecycle-artifact-map.md`。
|
|
38
38
|
- 命中门禁必须完成;仅未命中时记录带原因的 `not-applicable`,不得生成空文档或混淆门禁、产物、工作单元、证据。安全 / 权限写入普通 Spec、契约、架构、验收和 seam,按实际影响触发门禁。
|
|
39
39
|
- 新功能和较大变更先进入 Plan;`grill-with-docs`、`to-spec`、`to-tickets`、`implement` 仅为用户显式兼容入口。API 变更先形成 OpenAPI 3.1 Draft,审查后 Freeze,再实现。
|
|
40
40
|
- Spec Delta 只记冻结基线的高风险行为差异。OpenAPI Freeze 或无 API 影响记录后拆窄垂直切片,禁止仅按技术层横拆。
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
|
|
43
43
|
## 6. Ticket 与状态
|
|
44
44
|
|
|
45
|
-
- Plan / Spec / Design 按
|
|
45
|
+
- Plan / Spec / Design 按 `.template-spec/process/stage-tracking.md` 从阶段入口登记工作、按需拆分并在恢复 / 流转时验证;工作项进度不替代 Ticket 五态和阶段批准。
|
|
46
46
|
|
|
47
47
|
- 每个功能先建父 Ticket,汇总阶段资产、审查、阻塞和证据。
|
|
48
48
|
- Spec、设计、原型、OpenAPI Draft 和待冻结资产使用 `ready-for-human`;只有门禁通过、阻塞清除且可直接实现的垂直切片才能使用 `ready-for-agent`。
|
|
49
|
-
- 按
|
|
49
|
+
- 按 `.template-spec/agents/issue-tracker.md` 持久化主 tracker,不从 Git remote 推断;平台不可用时生成待发布草案。五态见 `.template-spec/agents/triage-labels.md`。
|
|
50
50
|
|
|
51
51
|
## 7. 实现与 YSS 路由硬门禁
|
|
52
52
|
|
|
53
|
-
- 实现前按
|
|
53
|
+
- 实现前按 `.template-spec/process/implementation-repo-integration.md` 登记仓库、项目根、分支、CI、验证命令、回滚点;再用 `yss-implementation-contract-compiler` 编译最小 Skill 集和当前合同。
|
|
54
54
|
- 无工程先确认外部仓库或输出目录。Backend `scaffold_status=required` 时,由生命周期推荐 `domain-driven` / `layered-mvc`,用户逐项目确认后路由;Frontend 用 `yss-frontend-scaffold-generator`。缺目录不改路由。
|
|
55
|
-
- 脚手架仅在 `scaffold-architecture-decisions.yaml` 已确认且当前、schema
|
|
55
|
+
- 脚手架仅在 `scaffold-architecture-decisions.yaml` 已确认且当前、Project Scaffold Contract schema v4 已持久化并获批准后无交互运行,只生成机械骨架。既有工程不得重选或覆盖;架构转换单独立项。
|
|
56
56
|
- 正式切片只消费已批准、已持久化且当前的 Slice Implementation Contract;编译器只起草,不批准、不设置 `ready-for-agent`、不宣布完成。
|
|
57
57
|
- UI 切片在 `ready-for-agent` 前须有已校验的 `frontend_implementation_plan`,实现后补 `frontend_implementation_verification`,覆盖截图 / 视觉回归、状态交互、console warning、实际 `pnpm` 退出码。
|
|
58
58
|
- 前端验证优先 `pnpm`,后端优先根 `./mvnw`;缺少时记录受控例外和实际命令。
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
|
|
63
63
|
- 技术事实、标准、第三方 API 或框架行为用 `yss-research`(`technical-evidence` / `strategy-evidence`);竞品、市场、口碑用 `competitive-intelligence`。
|
|
64
64
|
- 产品设计由 `yss-prototype-stage` 持有合同并调用设计系统、独立评审、H1 / H2 适配器;原型禁用 `yss-ui`。真实组件事实只用于实现计划、已批准实现和还原验证。
|
|
65
|
-
- 数字人协同或会签先读
|
|
65
|
+
- 数字人协同或会签先读 `.template-spec/agents/digital-human-roles.yaml`;角色不得另起生命周期、批准 Slice 合同、设置 `ready-for-agent` 或宣布可发布。
|
|
66
66
|
- 业务行为默认按 `tdd` 的 `behavior-tdd` 使用已确认公开 seam 逐切片实现;一次性生成、纯配置或流程文档不适用时,记录例外理由和可执行验证。
|
|
67
67
|
|
|
68
68
|
## 9. 工作区与实现仓库边界
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
## 11. Subagent 协同
|
|
83
83
|
|
|
84
|
-
- 使用 subagent 或其他运行时前读
|
|
84
|
+
- 使用 subagent 或其他运行时前读 `.template-spec/process/subagent-collaboration.md`,建立含角色、`runtime_id`、执行态、技能约束和不重叠写范围的任务包;共享工作区不是安全边界。
|
|
85
85
|
- 仓库身份、Ticket 最终状态、Git checkpoint、Slice 合同批准和完成结论由主控裁决;实现者不得兼任独立审查者或会签自己的资产。
|
|
86
86
|
|
|
87
87
|
## 12. 测试质量基线
|
package/template/CONTEXT.md
CHANGED
|
@@ -19,10 +19,10 @@ context_schema_version: 1
|
|
|
19
19
|
| Agent | 执行特定工作流步骤的 AI 协作者。 | — | 不要与生物人审查者、数字人角色或 Ticket 状态混用。运行时实例(Cursor Agent、Codex、Grok Bot 等)是 Agent 的承载,不是角色本身。 |
|
|
20
20
|
| 运行时绑定 | 把数字人角色落到某个 Agent 平台的适配声明,权威清单在数字人角色注册表的 `runtimes`。 | — | 不要为每个平台复制一套职称职责。 |
|
|
21
21
|
| Grok Bot | Grok 平台上的持久数字队友实例;对应 `runtime.grok`。 | — | 不是数字人角色、技能或门禁。 |
|
|
22
|
-
| 数字人角色 | 叠加在生命周期编排器上的职称配置;一个运行时实例绑定一种。v1 清单以
|
|
22
|
+
| 数字人角色 | 叠加在生命周期编排器上的职称配置;一个运行时实例绑定一种。v1 清单以 `.template-spec/agents/digital-human-roles.yaml` 为准。 | — | 不要称为 Ticket「标准角色」、职能 Agent 或某个平台的产品名。 |
|
|
23
23
|
| 主控数字人 | 运行 `yss-product-lifecycle` 的协调实例。 | — | 不是第八个业务职称;默认兼任项目经理。 |
|
|
24
24
|
| 角色配置 | 某数字人角色的关注阶段、技能包、可起草产物和禁止事项。 | — | 不是独立编排器,也不含平台群聊人数。 |
|
|
25
|
-
| 生命周期会签 | 指定数字人或生物人关闭 `gate.*` / 独立审查并写入 `evidence.approval-record`。 | — | 不是运行时副作用审批。会签人由
|
|
25
|
+
| 生命周期会签 | 指定数字人或生物人关闭 `gate.*` / 独立审查并写入 `evidence.approval-record`。 | — | 不是运行时副作用审批。会签人由 `.template-spec/agents/digital-human-roles.yaml` 的 `gate_policy` 指定。起草者不得会签自己起草的资产。`paused-human-gate` 表示等待该会签人,不是必须生物人。 |
|
|
26
26
|
| 用户决定 | 提问者或其明确指定的生物人负责人针对已展示资产、版本及范围作出的可追溯回复。 | — | 数字人审查不能代答;原始回复、指定依据及批准范围按用户决定协议记录。 |
|
|
27
27
|
| 运行时副作用审批 | 对发消息、改生产、付款、删数据等工具动作的账号级确认。 | — | 点 Allow 不等于门禁已批准或可发布。避免只称「Grok 平台审批」。 |
|
|
28
28
|
| Ticket 状态 | Tracker 五态:`needs-triage`、`needs-info`、`ready-for-agent`、`ready-for-human`、`wontfix`。 | — | 不要称为数字人角色或「标准角色」。 |
|
|
@@ -92,7 +92,7 @@ context_schema_version: 1
|
|
|
92
92
|
| 试验技能 | 尚未达到项目默认支持成熟度的技能。 | — | 只在明确试验范围内使用,不进入 实现合同编译器 默认技能闭包。 |
|
|
93
93
|
| 显式兼容入口 | 为已有用户操作习惯保留的 user-invoked 工作流入口,写入前由生命周期编排器预检,结果回交其验收。 | — | 不是默认路径、过时别名或可以越过门禁的第二套生命周期。 |
|
|
94
94
|
| 技能成熟度 | 描述技能从 `draft`、`verified`、`supported` 到 `deprecated` 的治理状态。 | — | 不等同于文件存在、已被投影或能够安装。 |
|
|
95
|
-
| 技能注册表 | 记录技能身份、别名、分层、适用影响面、成熟度、默认可发现性和 Agent 运行时入口的机器可读路由资产。 | — | 不替代 `skills-lock.json` 的来源、hash 和投影完整性职责。当前
|
|
95
|
+
| 技能注册表 | 记录技能身份、别名、分层、适用影响面、成熟度、默认可发现性和 Agent 运行时入口的机器可读路由资产。 | — | 不替代 `skills-lock.json` 的来源、hash 和投影完整性职责。当前 `.template-spec/agents/yss-skill-registry.yaml` 为 `active`,实现合同编译器、生命周期编排器和实例发现面必须消费通过校验的 canonical 技能及其 alias 解析结果。 |
|
|
96
96
|
| LLM Wiki | 由 `raw/`、`wiki/` 与 `.wiki-manifest.json` 组成的本地持久知识库。 | — | 不是 `yss-research` 一次性研究包,也不替代权威源。`ingest` 只把用户点名的外源或已落盘研究笔记编进 IR,不改 live 权威文件。 |
|
|
97
97
|
| 生态发布清单 | 关联模板 schema 与 commit、CLI 版本与快照、公开技能来源与导出 hash 的跨仓发布证据。 | — | 不要求尚未生成的仓库 commit 互相循环引用。 |
|
|
98
98
|
| 研发管理仓库 | 承载 Spec、OpenAPI、架构、Ticket、验证、发布和复盘等研发管理资产的仓库。 | — | 不等同于前端 / 后端代码 monorepo。 |
|