create-yss-spec 3.5.6 → 3.5.9
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/bin/create-yss-spec.js +3 -1
- package/cli-core.lock.json +10 -6
- package/package.json +4 -1
- package/src/api/_sync-service.js +3 -1
- package/src/command-runner.mjs +44 -9
- package/src/commands/doctor.js +40 -0
- package/src/commands/skills.js +7 -2
- package/src/content-identity.js +111 -0
- package/src/runtime-store.mjs +650 -0
- package/src/template/asset-runtime.js +124 -22
- package/src/template/instance-runtime.js +23 -7
- package/src/validation/metadata.js +8 -0
- package/template/.agents/skills/.strategic-design-skills-manifest.json +3 -3
- package/template/.agents/skills/alibaba-java-code-style/SKILL.md +30 -36
- package/template/.agents/skills/archify/SKILL.md +2 -2
- package/template/.agents/skills/archify/scripts/yss-safe-deliver.mjs +10 -6
- package/template/.agents/skills/archify/test/yss-safe-deliver.test.mjs +9 -2
- package/template/.agents/skills/code-review/SKILL.md +19 -11
- package/template/.agents/skills/code-review/references/candidate-capture.md +1 -1
- package/template/.agents/skills/code-review/references/legacy-convergence.md +3 -1
- package/template/.agents/skills/code-review/references/review-axis-checklists.md +2 -0
- package/template/.agents/skills/code-review/references/yss-review-standards.md +4 -2
- package/template/.agents/skills/competitive-intelligence/SKILL.md +32 -74
- package/template/.agents/skills/file-export-download/SKILL.md +4 -73
- package/template/.agents/skills/file-export-download/references/binary-contract-example.md +26 -0
- package/template/.agents/skills/file-export-download/references/download-call-example.md +45 -0
- package/template/.agents/skills/formily-foundation/SKILL.md +6 -105
- package/template/.agents/skills/formily-foundation/references/async-save-example.md +57 -0
- package/template/.agents/skills/formily-foundation/references/query-layout.md +50 -0
- package/template/.agents/skills/formily-linkage-effects/SKILL.md +3 -116
- package/template/.agents/skills/formily-linkage-effects/references/linkage-example.md +116 -0
- package/template/.agents/skills/formily-mode-slot-detail/SKILL.md +3 -81
- package/template/.agents/skills/formily-mode-slot-detail/references/mode-slot-example.md +81 -0
- package/template/.agents/skills/formily-step-flow/SKILL.md +3 -143
- package/template/.agents/skills/formily-step-flow/references/step-flow-example.md +143 -0
- package/template/.agents/skills/handoff/SKILL.md +3 -1
- package/template/.agents/skills/i-have-adhd/SKILL.md +2 -2
- package/template/.agents/skills/i-have-adhd/references/yss-adaptation.md +2 -2
- package/template/.agents/skills/i-have-adhd/tests/verify-integration.mjs +7 -2
- package/template/.agents/skills/implement/SKILL.md +2 -2
- package/template/.agents/skills/llm-wiki/references/transactions.md +2 -2
- package/template/.agents/skills/llm-wiki/scripts/core.mjs +40 -2
- package/template/.agents/skills/llm-wiki/scripts/transaction.mjs +30 -27
- package/template/.agents/skills/llm-wiki/scripts/v2.test.mjs +38 -2
- package/template/.agents/skills/lombok/SKILL.md +2 -0
- package/template/.agents/skills/mapstruct/SKILL.md +2 -0
- package/template/.agents/skills/tdd/SKILL.md +2 -2
- package/template/.agents/skills/theme-token-usage/SKILL.md +6 -5
- package/template/.agents/skills/wayfinder/references/chart-map.md +2 -2
- package/template/.agents/skills/wayfinder/references/ticket-types.md +1 -1
- package/template/.agents/skills/yss-api-integration/SKILL.md +13 -50
- package/template/.agents/skills/yss-api-integration/references/orval-list-example.md +38 -0
- package/template/.agents/skills/yss-application/SKILL.md +11 -5
- package/template/.agents/skills/yss-audit-log/SKILL.md +8 -6
- package/template/.agents/skills/yss-audit-log/references/README.md +5 -5
- package/template/.agents/skills/yss-cache/SKILL.md +4 -4
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +7 -8
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -6
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/command-examples.md +2 -0
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +28 -1
- package/template/.agents/skills/yss-design-system/SKILL.md +2 -2
- package/template/.agents/skills/yss-distributed-id/SKILL.md +4 -4
- package/template/.agents/skills/yss-dto/SKILL.md +9 -9
- package/template/.agents/skills/yss-dto/references/README.md +4 -4
- package/template/.agents/skills/yss-dto/references/wire-validation-checklist.md +4 -4
- package/template/.agents/skills/yss-excel-mvc/SKILL.md +4 -4
- package/template/.agents/skills/yss-exception/SKILL.md +42 -48
- package/template/.agents/skills/yss-formily-schema-generator/SKILL.md +26 -170
- package/template/.agents/skills/yss-formily-schema-generator/references/workflow.md +49 -193
- package/template/.agents/skills/yss-frontend-scaffold-generator/SKILL.md +14 -10
- package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +4 -6
- package/template/.agents/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +15 -1
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/SKILL.md +1 -1
- package/template/.agents/skills/yss-mybatis/SKILL.md +4 -4
- package/template/.agents/skills/yss-openapi-draft-review/SKILL.md +6 -4
- package/template/.agents/skills/yss-openapi-draft-review/references/review-output.md +2 -0
- package/template/.agents/skills/yss-openapi-draft-review/references/semantic-review.md +3 -3
- package/template/.agents/skills/yss-openapi-governance/SKILL.md +5 -7
- package/template/.agents/skills/yss-openapi-governance/references/governance-output.md +2 -0
- package/template/.agents/skills/yss-openapi-governance/references/governance-workflow.md +3 -3
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +32 -26
- package/template/.agents/skills/yss-product-lifecycle/references/artifact-dependencies.md +1 -1
- package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +28 -6
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +143 -4
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +38 -13
- package/template/.agents/skills/yss-product-lifecycle/references/plan-requirements.md +7 -6
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +3 -1
- package/template/.agents/skills/yss-product-lifecycle/references/user-decisions.md +3 -3
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +1 -5
- package/template/.agents/skills/yss-prototype-stage/scripts/verify-prototype-design.mjs +1 -0
- package/template/.agents/skills/yss-repository/SKILL.md +2 -2
- package/template/.agents/skills/yss-research/SKILL.md +39 -48
- package/template/.agents/skills/yss-research/assets/competitive-evidence-template.yaml +146 -0
- package/template/.agents/skills/yss-research/references/competitive-analysis.md +76 -0
- package/template/.agents/skills/yss-research/references/competitive-analysis.schema.json +324 -0
- package/template/.agents/skills/yss-research/references/evidence-contract.md +8 -0
- package/template/.agents/skills/yss-research/scripts/lib/competitive-analysis.mjs +185 -0
- package/template/.agents/skills/yss-research/scripts/render-competitive-outputs.mjs +16 -0
- package/template/.agents/skills/yss-research/scripts/validate-research-package.mjs +6 -2
- package/template/.agents/skills/yss-research/tests/competitive-scenarios.test.mjs +270 -0
- package/template/.agents/skills/yss-resilience4j/SKILL.md +25 -31
- package/template/.agents/skills/yss-security-algorithm/SKILL.md +37 -43
- package/template/.agents/skills/yss-skill-source-index-refresh/SKILL.md +29 -36
- 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 +2 -5
- package/template/.agents/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +8 -5
- package/template/.agents/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +8 -5
- package/template/.agents/skills/yss-stage-decision/tests/run-scenarios.mjs +83 -13
- package/template/.agents/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.agents/skills/yss-tactical-design/references/output-template.md +3 -3
- package/template/.agents/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.agents/skills/yss-technical-design/SKILL.md +6 -5
- package/template/.agents/skills/yss-ui/SKILL.md +7 -1
- package/template/.agents/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +2 -2
- package/template/.agents/skills/yss-ui/references/checklist.md +38 -96
- package/template/.agents/skills/yss-ui/references/component-routing.md +3 -1
- package/template/.agents/skills/yss-ui/references/quick-recipes.md +17 -272
- package/template/.agents/skills/yss-ui/references/specialized-components.md +3 -3
- package/template/.agents/skills/yss-ui-business-page-generation/SKILL.md +1 -1
- package/template/.agents/skills/yss-up-springboot3/SKILL.md +19 -21
- package/template/.agents/skills/yss-userinfo/SKILL.md +27 -33
- package/template/.agents/skills/yss-validation/SKILL.md +26 -32
- package/template/.agents/skills/yss-web-controller/SKILL.md +11 -44
- package/template/.agents/skills/yss-web-controller/references/crud-generation.md +38 -0
- package/template/.agents/skills/ytable-usage/SKILL.md +2 -2
- package/template/.agents/skills/ytree-usage/SKILL.md +2 -80
- package/template/.agents/skills/ytree-usage/references/tree-and-confirmation-example.md +81 -0
- package/template/.codex/skills/alibaba-java-code-style/SKILL.md +30 -36
- package/template/.codex/skills/archify/SKILL.md +2 -2
- package/template/.codex/skills/archify/scripts/yss-safe-deliver.mjs +10 -6
- package/template/.codex/skills/archify/test/yss-safe-deliver.test.mjs +9 -2
- package/template/.codex/skills/code-review/SKILL.md +19 -11
- package/template/.codex/skills/code-review/references/candidate-capture.md +1 -1
- package/template/.codex/skills/code-review/references/legacy-convergence.md +3 -1
- package/template/.codex/skills/code-review/references/review-axis-checklists.md +2 -0
- package/template/.codex/skills/code-review/references/yss-review-standards.md +4 -2
- package/template/.codex/skills/competitive-intelligence/SKILL.md +32 -74
- package/template/.codex/skills/file-export-download/SKILL.md +4 -73
- package/template/.codex/skills/file-export-download/references/binary-contract-example.md +26 -0
- package/template/.codex/skills/file-export-download/references/download-call-example.md +45 -0
- package/template/.codex/skills/formily-foundation/SKILL.md +6 -105
- package/template/.codex/skills/formily-foundation/references/async-save-example.md +57 -0
- package/template/.codex/skills/formily-foundation/references/query-layout.md +50 -0
- package/template/.codex/skills/formily-linkage-effects/SKILL.md +3 -116
- package/template/.codex/skills/formily-linkage-effects/references/linkage-example.md +116 -0
- package/template/.codex/skills/formily-mode-slot-detail/SKILL.md +3 -81
- package/template/.codex/skills/formily-mode-slot-detail/references/mode-slot-example.md +81 -0
- package/template/.codex/skills/formily-step-flow/SKILL.md +3 -143
- package/template/.codex/skills/formily-step-flow/references/step-flow-example.md +143 -0
- package/template/.codex/skills/handoff/SKILL.md +3 -1
- package/template/.codex/skills/i-have-adhd/SKILL.md +2 -2
- package/template/.codex/skills/i-have-adhd/references/yss-adaptation.md +2 -2
- package/template/.codex/skills/i-have-adhd/tests/verify-integration.mjs +7 -2
- package/template/.codex/skills/implement/SKILL.md +2 -2
- package/template/.codex/skills/llm-wiki/references/transactions.md +2 -2
- package/template/.codex/skills/llm-wiki/scripts/core.mjs +40 -2
- package/template/.codex/skills/llm-wiki/scripts/transaction.mjs +30 -27
- package/template/.codex/skills/llm-wiki/scripts/v2.test.mjs +38 -2
- package/template/.codex/skills/lombok/SKILL.md +2 -0
- package/template/.codex/skills/mapstruct/SKILL.md +2 -0
- package/template/.codex/skills/product-design/references/communication-protocol.md +3 -3
- package/template/.codex/skills/product-design/references/critical-overrides.md +4 -5
- package/template/.codex/skills/product-design/skills/audit/SKILL.md +2 -4
- package/template/.codex/skills/product-design/skills/get-context/SKILL.md +6 -8
- package/template/.codex/skills/product-design/skills/ideate/SKILL.md +3 -3
- package/template/.codex/skills/product-design/skills/image-to-code/SKILL.md +3 -5
- package/template/.codex/skills/product-design/skills/index/SKILL.md +1 -1
- package/template/.codex/skills/product-design/skills/prototype/SKILL.md +2 -4
- package/template/.codex/skills/product-design/skills/research/SKILL.md +4 -6
- package/template/.codex/skills/product-design/skills/research/assets/research-brief-template.md +3 -3
- package/template/.codex/skills/product-design/skills/share/SKILL.md +2 -4
- package/template/.codex/skills/product-design/skills/url-to-code/SKILL.md +2 -4
- package/template/.codex/skills/product-design/skills/user-context/SKILL.md +1 -1
- package/template/.codex/skills/tdd/SKILL.md +2 -2
- package/template/.codex/skills/theme-token-usage/SKILL.md +6 -5
- package/template/.codex/skills/wayfinder/references/chart-map.md +2 -2
- package/template/.codex/skills/wayfinder/references/ticket-types.md +1 -1
- package/template/.codex/skills/yss-api-integration/SKILL.md +13 -50
- package/template/.codex/skills/yss-api-integration/references/orval-list-example.md +38 -0
- package/template/.codex/skills/yss-application/SKILL.md +11 -5
- package/template/.codex/skills/yss-audit-log/SKILL.md +8 -6
- package/template/.codex/skills/yss-audit-log/references/README.md +5 -5
- package/template/.codex/skills/yss-cache/SKILL.md +4 -4
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +7 -8
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -6
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/command-examples.md +2 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +28 -1
- package/template/.codex/skills/yss-design-system/SKILL.md +2 -2
- package/template/.codex/skills/yss-distributed-id/SKILL.md +4 -4
- package/template/.codex/skills/yss-dto/SKILL.md +9 -9
- package/template/.codex/skills/yss-dto/references/README.md +4 -4
- package/template/.codex/skills/yss-dto/references/wire-validation-checklist.md +4 -4
- package/template/.codex/skills/yss-excel-mvc/SKILL.md +4 -4
- package/template/.codex/skills/yss-exception/SKILL.md +42 -48
- package/template/.codex/skills/yss-formily-schema-generator/SKILL.md +26 -170
- package/template/.codex/skills/yss-formily-schema-generator/references/workflow.md +49 -193
- package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +14 -10
- package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +4 -6
- package/template/.codex/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +15 -1
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/SKILL.md +1 -1
- package/template/.codex/skills/yss-mybatis/SKILL.md +4 -4
- package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +6 -4
- package/template/.codex/skills/yss-openapi-draft-review/references/review-output.md +2 -0
- package/template/.codex/skills/yss-openapi-draft-review/references/semantic-review.md +3 -3
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +5 -7
- package/template/.codex/skills/yss-openapi-governance/references/governance-output.md +2 -0
- package/template/.codex/skills/yss-openapi-governance/references/governance-workflow.md +3 -3
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +32 -26
- package/template/.codex/skills/yss-product-lifecycle/references/artifact-dependencies.md +1 -1
- package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +28 -6
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +143 -4
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +38 -13
- package/template/.codex/skills/yss-product-lifecycle/references/plan-requirements.md +7 -6
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +3 -1
- package/template/.codex/skills/yss-product-lifecycle/references/user-decisions.md +3 -3
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +1 -5
- package/template/.codex/skills/yss-prototype-stage/scripts/verify-prototype-design.mjs +1 -0
- package/template/.codex/skills/yss-repository/SKILL.md +2 -2
- package/template/.codex/skills/yss-research/SKILL.md +39 -48
- package/template/.codex/skills/yss-research/assets/competitive-evidence-template.yaml +146 -0
- package/template/.codex/skills/yss-research/references/competitive-analysis.md +76 -0
- package/template/.codex/skills/yss-research/references/competitive-analysis.schema.json +324 -0
- package/template/.codex/skills/yss-research/references/evidence-contract.md +8 -0
- package/template/.codex/skills/yss-research/scripts/lib/competitive-analysis.mjs +185 -0
- package/template/.codex/skills/yss-research/scripts/render-competitive-outputs.mjs +16 -0
- package/template/.codex/skills/yss-research/scripts/validate-research-package.mjs +6 -2
- package/template/.codex/skills/yss-research/tests/competitive-scenarios.test.mjs +270 -0
- package/template/.codex/skills/yss-resilience4j/SKILL.md +25 -31
- package/template/.codex/skills/yss-security-algorithm/SKILL.md +37 -43
- package/template/.codex/skills/yss-skill-source-index-refresh/SKILL.md +29 -36
- 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 +2 -5
- package/template/.codex/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +8 -5
- package/template/.codex/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +8 -5
- package/template/.codex/skills/yss-stage-decision/tests/run-scenarios.mjs +83 -13
- package/template/.codex/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.codex/skills/yss-tactical-design/references/output-template.md +3 -3
- package/template/.codex/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.codex/skills/yss-technical-design/SKILL.md +6 -5
- package/template/.codex/skills/yss-ui/SKILL.md +7 -1
- package/template/.codex/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +2 -2
- package/template/.codex/skills/yss-ui/references/checklist.md +38 -96
- package/template/.codex/skills/yss-ui/references/component-routing.md +3 -1
- package/template/.codex/skills/yss-ui/references/quick-recipes.md +17 -272
- package/template/.codex/skills/yss-ui/references/specialized-components.md +3 -3
- package/template/.codex/skills/yss-ui-business-page-generation/SKILL.md +1 -1
- package/template/.codex/skills/yss-up-springboot3/SKILL.md +19 -21
- package/template/.codex/skills/yss-userinfo/SKILL.md +27 -33
- package/template/.codex/skills/yss-validation/SKILL.md +26 -32
- package/template/.codex/skills/yss-web-controller/SKILL.md +11 -44
- package/template/.codex/skills/yss-web-controller/references/crud-generation.md +38 -0
- package/template/.codex/skills/ytable-usage/SKILL.md +2 -2
- package/template/.codex/skills/ytree-usage/SKILL.md +2 -80
- package/template/.codex/skills/ytree-usage/references/tree-and-confirmation-example.md +81 -0
- package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +30 -36
- package/template/.cursor/skills/archify/SKILL.md +2 -2
- package/template/.cursor/skills/archify/scripts/yss-safe-deliver.mjs +10 -6
- package/template/.cursor/skills/archify/test/yss-safe-deliver.test.mjs +9 -2
- package/template/.cursor/skills/code-review/SKILL.md +19 -11
- package/template/.cursor/skills/code-review/references/candidate-capture.md +1 -1
- package/template/.cursor/skills/code-review/references/legacy-convergence.md +3 -1
- package/template/.cursor/skills/code-review/references/review-axis-checklists.md +2 -0
- package/template/.cursor/skills/code-review/references/yss-review-standards.md +4 -2
- package/template/.cursor/skills/competitive-intelligence/SKILL.md +32 -74
- package/template/.cursor/skills/file-export-download/SKILL.md +4 -73
- package/template/.cursor/skills/file-export-download/references/binary-contract-example.md +26 -0
- package/template/.cursor/skills/file-export-download/references/download-call-example.md +45 -0
- package/template/.cursor/skills/formily-foundation/SKILL.md +6 -105
- package/template/.cursor/skills/formily-foundation/references/async-save-example.md +57 -0
- package/template/.cursor/skills/formily-foundation/references/query-layout.md +50 -0
- package/template/.cursor/skills/formily-linkage-effects/SKILL.md +3 -116
- package/template/.cursor/skills/formily-linkage-effects/references/linkage-example.md +116 -0
- package/template/.cursor/skills/formily-mode-slot-detail/SKILL.md +3 -81
- package/template/.cursor/skills/formily-mode-slot-detail/references/mode-slot-example.md +81 -0
- package/template/.cursor/skills/formily-step-flow/SKILL.md +3 -143
- package/template/.cursor/skills/formily-step-flow/references/step-flow-example.md +143 -0
- package/template/.cursor/skills/handoff/SKILL.md +3 -1
- package/template/.cursor/skills/i-have-adhd/SKILL.md +2 -2
- package/template/.cursor/skills/i-have-adhd/references/yss-adaptation.md +2 -2
- package/template/.cursor/skills/i-have-adhd/tests/verify-integration.mjs +7 -2
- package/template/.cursor/skills/implement/SKILL.md +2 -2
- package/template/.cursor/skills/llm-wiki/references/transactions.md +2 -2
- package/template/.cursor/skills/llm-wiki/scripts/core.mjs +40 -2
- package/template/.cursor/skills/llm-wiki/scripts/transaction.mjs +30 -27
- package/template/.cursor/skills/llm-wiki/scripts/v2.test.mjs +38 -2
- package/template/.cursor/skills/lombok/SKILL.md +2 -0
- package/template/.cursor/skills/mapstruct/SKILL.md +2 -0
- package/template/.cursor/skills/tdd/SKILL.md +2 -2
- package/template/.cursor/skills/theme-token-usage/SKILL.md +6 -5
- package/template/.cursor/skills/wayfinder/references/chart-map.md +2 -2
- package/template/.cursor/skills/wayfinder/references/ticket-types.md +1 -1
- package/template/.cursor/skills/yss-api-integration/SKILL.md +13 -50
- package/template/.cursor/skills/yss-api-integration/references/orval-list-example.md +38 -0
- package/template/.cursor/skills/yss-application/SKILL.md +11 -5
- package/template/.cursor/skills/yss-audit-log/SKILL.md +8 -6
- package/template/.cursor/skills/yss-audit-log/references/README.md +5 -5
- package/template/.cursor/skills/yss-cache/SKILL.md +4 -4
- package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +7 -8
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -6
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/command-examples.md +2 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +28 -1
- package/template/.cursor/skills/yss-design-system/SKILL.md +2 -2
- package/template/.cursor/skills/yss-distributed-id/SKILL.md +4 -4
- package/template/.cursor/skills/yss-dto/SKILL.md +9 -9
- package/template/.cursor/skills/yss-dto/references/README.md +4 -4
- package/template/.cursor/skills/yss-dto/references/wire-validation-checklist.md +4 -4
- package/template/.cursor/skills/yss-excel-mvc/SKILL.md +4 -4
- package/template/.cursor/skills/yss-exception/SKILL.md +42 -48
- package/template/.cursor/skills/yss-formily-schema-generator/SKILL.md +26 -170
- package/template/.cursor/skills/yss-formily-schema-generator/references/workflow.md +49 -193
- package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +14 -10
- package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +4 -6
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +15 -1
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/SKILL.md +1 -1
- package/template/.cursor/skills/yss-mybatis/SKILL.md +4 -4
- package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +6 -4
- package/template/.cursor/skills/yss-openapi-draft-review/references/review-output.md +2 -0
- package/template/.cursor/skills/yss-openapi-draft-review/references/semantic-review.md +3 -3
- package/template/.cursor/skills/yss-openapi-governance/SKILL.md +5 -7
- package/template/.cursor/skills/yss-openapi-governance/references/governance-output.md +2 -0
- package/template/.cursor/skills/yss-openapi-governance/references/governance-workflow.md +3 -3
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +32 -26
- package/template/.cursor/skills/yss-product-lifecycle/references/artifact-dependencies.md +1 -1
- package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +28 -6
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +143 -4
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +38 -13
- package/template/.cursor/skills/yss-product-lifecycle/references/plan-requirements.md +7 -6
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +3 -1
- package/template/.cursor/skills/yss-product-lifecycle/references/user-decisions.md +3 -3
- package/template/.cursor/skills/yss-prototype-stage/SKILL.md +1 -5
- package/template/.cursor/skills/yss-prototype-stage/scripts/verify-prototype-design.mjs +1 -0
- package/template/.cursor/skills/yss-repository/SKILL.md +2 -2
- package/template/.cursor/skills/yss-research/SKILL.md +39 -48
- package/template/.cursor/skills/yss-research/assets/competitive-evidence-template.yaml +146 -0
- package/template/.cursor/skills/yss-research/references/competitive-analysis.md +76 -0
- package/template/.cursor/skills/yss-research/references/competitive-analysis.schema.json +324 -0
- package/template/.cursor/skills/yss-research/references/evidence-contract.md +8 -0
- package/template/.cursor/skills/yss-research/scripts/lib/competitive-analysis.mjs +185 -0
- package/template/.cursor/skills/yss-research/scripts/render-competitive-outputs.mjs +16 -0
- package/template/.cursor/skills/yss-research/scripts/validate-research-package.mjs +6 -2
- package/template/.cursor/skills/yss-research/tests/competitive-scenarios.test.mjs +270 -0
- package/template/.cursor/skills/yss-resilience4j/SKILL.md +25 -31
- package/template/.cursor/skills/yss-security-algorithm/SKILL.md +37 -43
- package/template/.cursor/skills/yss-skill-source-index-refresh/SKILL.md +29 -36
- 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 +2 -5
- package/template/.cursor/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +8 -5
- package/template/.cursor/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +8 -5
- package/template/.cursor/skills/yss-stage-decision/tests/run-scenarios.mjs +83 -13
- package/template/.cursor/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.cursor/skills/yss-tactical-design/references/output-template.md +3 -3
- package/template/.cursor/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.cursor/skills/yss-technical-design/SKILL.md +6 -5
- package/template/.cursor/skills/yss-ui/SKILL.md +7 -1
- package/template/.cursor/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +2 -2
- package/template/.cursor/skills/yss-ui/references/checklist.md +38 -96
- package/template/.cursor/skills/yss-ui/references/component-routing.md +3 -1
- package/template/.cursor/skills/yss-ui/references/quick-recipes.md +17 -272
- package/template/.cursor/skills/yss-ui/references/specialized-components.md +3 -3
- package/template/.cursor/skills/yss-ui-business-page-generation/SKILL.md +1 -1
- package/template/.cursor/skills/yss-up-springboot3/SKILL.md +19 -21
- package/template/.cursor/skills/yss-userinfo/SKILL.md +27 -33
- package/template/.cursor/skills/yss-validation/SKILL.md +26 -32
- package/template/.cursor/skills/yss-web-controller/SKILL.md +11 -44
- package/template/.cursor/skills/yss-web-controller/references/crud-generation.md +38 -0
- package/template/.cursor/skills/ytable-usage/SKILL.md +2 -2
- package/template/.cursor/skills/ytree-usage/SKILL.md +2 -80
- package/template/.cursor/skills/ytree-usage/references/tree-and-confirmation-example.md +81 -0
- package/template/.pi/skills/alibaba-java-code-style/SKILL.md +30 -36
- package/template/.pi/skills/archify/SKILL.md +2 -2
- package/template/.pi/skills/archify/scripts/yss-safe-deliver.mjs +10 -6
- package/template/.pi/skills/archify/test/yss-safe-deliver.test.mjs +9 -2
- package/template/.pi/skills/code-review/SKILL.md +19 -11
- package/template/.pi/skills/code-review/references/candidate-capture.md +1 -1
- package/template/.pi/skills/code-review/references/legacy-convergence.md +3 -1
- package/template/.pi/skills/code-review/references/review-axis-checklists.md +2 -0
- package/template/.pi/skills/code-review/references/yss-review-standards.md +4 -2
- package/template/.pi/skills/competitive-intelligence/SKILL.md +32 -74
- package/template/.pi/skills/file-export-download/SKILL.md +4 -73
- package/template/.pi/skills/file-export-download/references/binary-contract-example.md +26 -0
- package/template/.pi/skills/file-export-download/references/download-call-example.md +45 -0
- package/template/.pi/skills/formily-foundation/SKILL.md +6 -105
- package/template/.pi/skills/formily-foundation/references/async-save-example.md +57 -0
- package/template/.pi/skills/formily-foundation/references/query-layout.md +50 -0
- package/template/.pi/skills/formily-linkage-effects/SKILL.md +3 -116
- package/template/.pi/skills/formily-linkage-effects/references/linkage-example.md +116 -0
- package/template/.pi/skills/formily-mode-slot-detail/SKILL.md +3 -81
- package/template/.pi/skills/formily-mode-slot-detail/references/mode-slot-example.md +81 -0
- package/template/.pi/skills/formily-step-flow/SKILL.md +3 -143
- package/template/.pi/skills/formily-step-flow/references/step-flow-example.md +143 -0
- package/template/.pi/skills/handoff/SKILL.md +3 -1
- package/template/.pi/skills/i-have-adhd/SKILL.md +2 -2
- package/template/.pi/skills/i-have-adhd/references/yss-adaptation.md +2 -2
- package/template/.pi/skills/i-have-adhd/tests/verify-integration.mjs +7 -2
- package/template/.pi/skills/implement/SKILL.md +2 -2
- package/template/.pi/skills/llm-wiki/references/transactions.md +2 -2
- package/template/.pi/skills/llm-wiki/scripts/core.mjs +40 -2
- package/template/.pi/skills/llm-wiki/scripts/transaction.mjs +30 -27
- package/template/.pi/skills/llm-wiki/scripts/v2.test.mjs +38 -2
- package/template/.pi/skills/lombok/SKILL.md +2 -0
- package/template/.pi/skills/mapstruct/SKILL.md +2 -0
- package/template/.pi/skills/tdd/SKILL.md +2 -2
- package/template/.pi/skills/theme-token-usage/SKILL.md +6 -5
- package/template/.pi/skills/wayfinder/references/chart-map.md +2 -2
- package/template/.pi/skills/wayfinder/references/ticket-types.md +1 -1
- package/template/.pi/skills/yss-api-integration/SKILL.md +13 -50
- package/template/.pi/skills/yss-api-integration/references/orval-list-example.md +38 -0
- package/template/.pi/skills/yss-application/SKILL.md +11 -5
- package/template/.pi/skills/yss-audit-log/SKILL.md +8 -6
- package/template/.pi/skills/yss-audit-log/references/README.md +5 -5
- package/template/.pi/skills/yss-cache/SKILL.md +4 -4
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +7 -8
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -6
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/command-examples.md +2 -0
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +28 -1
- package/template/.pi/skills/yss-design-system/SKILL.md +2 -2
- package/template/.pi/skills/yss-distributed-id/SKILL.md +4 -4
- package/template/.pi/skills/yss-dto/SKILL.md +9 -9
- package/template/.pi/skills/yss-dto/references/README.md +4 -4
- package/template/.pi/skills/yss-dto/references/wire-validation-checklist.md +4 -4
- package/template/.pi/skills/yss-excel-mvc/SKILL.md +4 -4
- package/template/.pi/skills/yss-exception/SKILL.md +42 -48
- package/template/.pi/skills/yss-formily-schema-generator/SKILL.md +26 -170
- package/template/.pi/skills/yss-formily-schema-generator/references/workflow.md +49 -193
- package/template/.pi/skills/yss-frontend-scaffold-generator/SKILL.md +14 -10
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +4 -6
- package/template/.pi/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +15 -1
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/SKILL.md +1 -1
- package/template/.pi/skills/yss-mybatis/SKILL.md +4 -4
- package/template/.pi/skills/yss-openapi-draft-review/SKILL.md +6 -4
- package/template/.pi/skills/yss-openapi-draft-review/references/review-output.md +2 -0
- package/template/.pi/skills/yss-openapi-draft-review/references/semantic-review.md +3 -3
- package/template/.pi/skills/yss-openapi-governance/SKILL.md +5 -7
- package/template/.pi/skills/yss-openapi-governance/references/governance-output.md +2 -0
- package/template/.pi/skills/yss-openapi-governance/references/governance-workflow.md +3 -3
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +32 -26
- package/template/.pi/skills/yss-product-lifecycle/references/artifact-dependencies.md +1 -1
- package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +28 -6
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +143 -4
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +38 -13
- package/template/.pi/skills/yss-product-lifecycle/references/plan-requirements.md +7 -6
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +3 -1
- package/template/.pi/skills/yss-product-lifecycle/references/user-decisions.md +3 -3
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +1 -5
- package/template/.pi/skills/yss-prototype-stage/scripts/verify-prototype-design.mjs +1 -0
- package/template/.pi/skills/yss-repository/SKILL.md +2 -2
- package/template/.pi/skills/yss-research/SKILL.md +39 -48
- package/template/.pi/skills/yss-research/assets/competitive-evidence-template.yaml +146 -0
- package/template/.pi/skills/yss-research/references/competitive-analysis.md +76 -0
- package/template/.pi/skills/yss-research/references/competitive-analysis.schema.json +324 -0
- package/template/.pi/skills/yss-research/references/evidence-contract.md +8 -0
- package/template/.pi/skills/yss-research/scripts/lib/competitive-analysis.mjs +185 -0
- package/template/.pi/skills/yss-research/scripts/render-competitive-outputs.mjs +16 -0
- package/template/.pi/skills/yss-research/scripts/validate-research-package.mjs +6 -2
- package/template/.pi/skills/yss-research/tests/competitive-scenarios.test.mjs +270 -0
- package/template/.pi/skills/yss-resilience4j/SKILL.md +25 -31
- package/template/.pi/skills/yss-security-algorithm/SKILL.md +37 -43
- package/template/.pi/skills/yss-skill-source-index-refresh/SKILL.md +29 -36
- 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 +2 -5
- package/template/.pi/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +8 -5
- package/template/.pi/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +8 -5
- package/template/.pi/skills/yss-stage-decision/tests/run-scenarios.mjs +83 -13
- package/template/.pi/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.pi/skills/yss-tactical-design/references/output-template.md +3 -3
- package/template/.pi/skills/yss-tactical-design/references/tactical-design-contract.md +1 -1
- package/template/.pi/skills/yss-technical-design/SKILL.md +6 -5
- package/template/.pi/skills/yss-ui/SKILL.md +7 -1
- package/template/.pi/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +2 -2
- package/template/.pi/skills/yss-ui/references/checklist.md +38 -96
- package/template/.pi/skills/yss-ui/references/component-routing.md +3 -1
- package/template/.pi/skills/yss-ui/references/quick-recipes.md +17 -272
- package/template/.pi/skills/yss-ui/references/specialized-components.md +3 -3
- package/template/.pi/skills/yss-ui-business-page-generation/SKILL.md +1 -1
- package/template/.pi/skills/yss-up-springboot3/SKILL.md +19 -21
- package/template/.pi/skills/yss-userinfo/SKILL.md +27 -33
- package/template/.pi/skills/yss-validation/SKILL.md +26 -32
- package/template/.pi/skills/yss-web-controller/SKILL.md +11 -44
- package/template/.pi/skills/yss-web-controller/references/crud-generation.md +38 -0
- package/template/.pi/skills/ytable-usage/SKILL.md +2 -2
- package/template/.pi/skills/ytree-usage/SKILL.md +2 -80
- package/template/.pi/skills/ytree-usage/references/tree-and-confirmation-example.md +81 -0
- package/template/.template-spec/agents/backend-architecture-profiles.md +1 -1
- package/template/.template-spec/agents/digital-human-roles.md +5 -1
- package/template/.template-spec/agents/digital-human-roles.yaml +49 -1
- package/template/.template-spec/engineering/backend-platforms.json +1 -1
- package/template/.template-spec/plan/entry-review.md +2 -1
- package/template/.template-spec/plan/templates/competitive-analysis-template.md +38 -36
- package/template/.template-spec/plan/templates/competitive-matrix-template.md +37 -17
- package/template/.template-spec/plan/templates/plan-template.md +11 -5
- package/template/.template-spec/process/document-writing.md +22 -3
- package/template/.template-spec/process/harness-process-tailoring.md +5 -1
- package/template/.template-spec/process/implementation-repo-integration.md +26 -8
- package/template/.template-spec/process/research-completion.md +2 -0
- package/template/.template-spec/process/runtime-storage.md +78 -0
- package/template/.template-spec/process/schemas/approval-context.schema.json +67 -0
- package/template/.template-spec/process/schemas/approval-record.schema.json +179 -16
- package/template/.template-spec/process/schemas/backend-delivery.schema.json +16 -0
- package/template/.template-spec/process/schemas/delivery-preflight-input.schema.json +4 -0
- package/template/.template-spec/process/schemas/digital-human-task-package.schema.json +236 -1
- package/template/.template-spec/process/schemas/implementation-repository-preparation-result.schema.json +335 -52
- package/template/.template-spec/process/schemas/lifecycle-checkpoint.schema.json +11 -0
- package/template/.template-spec/process/schemas/project-scaffold-contract.schema.json +3 -0
- package/template/.template-spec/process/schemas/review-bundle.schema.json +347 -35
- package/template/.template-spec/process/schemas/strategic-design-handoff-v3.schema.json +504 -0
- package/template/.template-spec/process/schemas/strategic-design-handoff-v4.schema.json +544 -8
- package/template/.template-spec/process/schemas/strategic-design-handoff-v5.schema.json +616 -0
- package/template/.template-spec/process/schemas/strategic-design-handoff.schema.json +616 -0
- package/template/.template-spec/process/schemas/strategic-handoff-domain-strategy-v3.schema.json +712 -109
- package/template/.template-spec/process/schemas/strategic-handoff-domain-strategy.schema.json +595 -90
- package/template/.template-spec/process/schemas/strategic-handoff-export-v2.schema.json +448 -0
- package/template/.template-spec/process/schemas/strategic-handoff-export.schema.json +392 -0
- package/template/.template-spec/process/schemas/strategic-handoff-stage-decision-package-v3.schema.json +556 -83
- package/template/.template-spec/process/schemas/strategic-handoff-stage-decision-package.schema.json +418 -57
- package/template/.template-spec/process/script-execution.md +37 -0
- package/template/.template-spec/process/subagent-collaboration.md +7 -1
- package/template/.template-spec/templates/approval-record-template.json +7 -3
- package/template/.template-spec/templates/approval-record-template.yaml +8 -2
- package/template/.template-spec/templates/examples/lifecycle-writing-examples.md +92 -2
- package/template/.template-spec/templates/retro-report-template.md +10 -3
- package/template/.template-spec/templates/review-bundle-template.yaml +19 -10
- package/template/.template-spec/user-guide//347/224/250/346/210/267/346/211/213/345/206/214.md +2 -0
- package/template/AGENTS.md +4 -3
- package/template/CONTEXT.md +2 -2
- package/template/README.md +2 -2
- package/template/scripts/advance-maintenance-iteration +51 -0
- package/template/scripts/lib/approval-checkpoint-discovery.mjs +26 -0
- package/template/scripts/lib/approval-consumption.mjs +35 -0
- package/template/scripts/lib/approval-current.mjs +111 -0
- package/template/scripts/lib/approval-record-io.mjs +56 -0
- package/template/scripts/lib/approval-record.mjs +79 -184
- package/template/scripts/lib/approved-execution-context.mjs +8 -6
- package/template/scripts/lib/asset-transactions.mjs +5 -1
- package/template/scripts/lib/backend-delivery.mjs +1 -1
- package/template/scripts/lib/backend-review.mjs +2 -1
- package/template/scripts/lib/backend-scaffold-prerequisites.mjs +3 -2
- package/template/scripts/lib/business-ticket-lifecycle.mjs +2 -1
- package/template/scripts/lib/checkpoint-commit.mjs +50 -0
- package/template/scripts/lib/command-runner.mjs +44 -9
- package/template/scripts/lib/content-identity.mjs +273 -0
- package/template/scripts/lib/delivery-preflight.mjs +2 -1
- package/template/scripts/lib/digital-human-roles.mjs +12 -5
- package/template/scripts/lib/drift-report.mjs +110 -0
- package/template/scripts/lib/existing-backend-architecture.mjs +4 -1
- package/template/scripts/lib/lifecycle-context-query.mjs +172 -11
- package/template/scripts/lib/lifecycle-controls.mjs +9 -19
- package/template/scripts/lib/lifecycle-presentation.mjs +5 -0
- package/template/scripts/lib/lifecycle-status.mjs +63 -12
- package/template/scripts/lib/lifecycle-transition.mjs +2 -1
- package/template/scripts/lib/maintenance-candidate.mjs +24 -30
- package/template/scripts/lib/maintenance-research.mjs +52 -8
- package/template/scripts/lib/maintenance-storage.mjs +81 -0
- package/template/scripts/lib/plan-spec-entry.mjs +2 -1
- package/template/scripts/lib/project-governance.mjs +2 -1
- package/template/scripts/lib/read-only-intake.mjs +44 -9
- package/template/scripts/lib/review-capabilities.mjs +234 -0
- package/template/scripts/lib/review-package.mjs +100 -0
- package/template/scripts/lib/runtime-store.mjs +650 -0
- package/template/scripts/lib/skill-registry.mjs +4 -4
- package/template/scripts/lib/strategic-handoff.mjs +22 -9
- package/template/scripts/lib/task-package.mjs +47 -16
- package/template/scripts/lifecycle-status +26 -1
- package/template/scripts/maintenance-path +11 -0
- package/template/scripts/prepare-review-package +8 -0
- package/template/scripts/project-ci +13 -3
- package/template/scripts/query-lifecycle-context +8 -1
- package/template/scripts/run-read-only-intake +2 -2
- package/template/scripts/runtime-store +40 -0
- package/template/scripts/verify-approval-record +21 -13
- package/template/scripts/verify-lifecycle-checkpoint +7 -3
- package/template/scripts/verify-project-instance +21 -1
- package/template/skills-lock.json +64 -63
- package/template.snapshot.json +4 -4
- package/vendor/cli-core/cli.mjs +2 -0
- package/vendor/cli-core/command-runner.mjs +44 -9
- package/vendor/cli-core/package.json +1 -1
- package/vendor/cli-core/runtime-store.mjs +650 -0
- package/vendor/cli-core/scaffold.mjs +4 -2
|
@@ -1,83 +1,74 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: yss-research
|
|
3
|
-
description: "研究 YSS
|
|
3
|
+
description: "研究 YSS 技术与产品策略事实,统一发起竞品调研并组织证据、功能矩阵和深度报告;用于标准、第三方行为、业务约束和 research 兼容入口。"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# YSS Research
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
调查 YSS 决定所依赖的事实,输出可追溯证据和有边界的结论;不作出或批准下游产品、领域、架构或发布决定。
|
|
9
9
|
|
|
10
|
-
`research`
|
|
10
|
+
`research` 是已弃用的兼容别名,新资产和路由使用 `yss-research`。
|
|
11
11
|
|
|
12
|
-
文档输出时按 `lifecycle-document-output` 条件调用 `i-have-adhd
|
|
13
|
-
|
|
14
|
-
## 文档写作
|
|
15
|
-
|
|
16
|
-
撰写研究简报或结论前,读取 `.template-spec/process/document-writing.md` 的共用写法和研究指引;既有证据结构、来源限定和校验器要求保持完整。
|
|
12
|
+
文档输出时按 `lifecycle-document-output` 条件调用 `i-have-adhd`,先读 `.template-spec/process/document-writing.md` 的共用写法和研究指引;作用域仅限当前产物,派发时传递条件及引用。保持原证据结构、来源限定和校验要求。
|
|
17
13
|
|
|
18
14
|
## Profiles
|
|
19
15
|
|
|
20
|
-
- `technical-evidence
|
|
21
|
-
- `strategy-evidence
|
|
16
|
+
- `technical-evidence`:标准、官方文档、源码、第三方 API、框架行为、协议和实现约束。决定性 Claim 必须追溯到一手来源。
|
|
17
|
+
- `strategy-evidence`:用户问题、业务约束、MVP / 非目标、成功标准、领域边界、核心业务规则和方案决策输入。允许直接经验与近一手证据,须写明限制。
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
竞品、定价、品类和市场定位研究由本技能统一接收,路由 `competitive-intelligence` 执行,本技能持有模式、研究证据包和结果汇总。竞品策略使用 `strategy-evidence`;其中技术能力和协议事实仍须按 `technical-evidence` 的一手来源要求审计。产品 UI 与流程摩擦扫描在平台技能可用时路由 `product-design:research`。本技能可以综合专项结果,不替代专项合同。
|
|
24
20
|
|
|
25
|
-
## Modes
|
|
21
|
+
## Modes 与输出选择
|
|
26
22
|
|
|
27
|
-
- `quick
|
|
28
|
-
- `evidence-audited
|
|
23
|
+
- `quick`:普通探索的默认模式,返回聊天简报;竞品探索同时提供精简功能矩阵,除非用户明确只要报告或矩阵。用户未要求落盘时不创建文件。
|
|
24
|
+
- `evidence-audited`:深度、严格、可复现、可审计研究,以及直接用于持久化 Spec、领域策略、方案决策、OpenAPI、架构或其它生命周期批准输入的研究。竞品深度研究默认输出完整矩阵、深度报告和现有研究双文件。
|
|
29
25
|
|
|
30
|
-
|
|
26
|
+
开始检索前说明 profile、模式和输出选择。不要仅为提高严谨性把普通探索升级。用户明确只要矩阵或报告时遵从输出选择;选择阅读材料不免除审计模式的证据包。探索材料标明未审计,作为批准输入前须升级并完成审计。
|
|
31
27
|
|
|
32
|
-
|
|
28
|
+
竞品调研读取 [竞品分析合同](references/competitive-analysis.md),复用 `.template-spec/plan/templates/competitive-matrix-template.md` 和 `.template-spec/plan/templates/competitive-analysis-template.md`。不新增 profile、模式、生命周期阶段或批准门禁。
|
|
33
29
|
|
|
34
|
-
|
|
35
|
-
2. Search user-provided or registered material first, using the same inclusion and exclusion criteria as external material. Record exclusions and access failures.
|
|
36
|
-
3. For `technical-evidence`, follow each decision-bearing claim to the official specification, official docs, source code, or first-party API that owns it.
|
|
37
|
-
4. For `strategy-evidence`, classify sources as primary, direct experience, near-primary, secondary, or lead-only. Interviews, tickets, support records, dated reviews, surveys, and credible industry reports are allowed with their sampling and access limits.
|
|
38
|
-
5. Treat untraceable reposts, aggregator snippets, and AI-generated summaries as leads only. They cannot support a published claim.
|
|
39
|
-
6. Seek counter-signals and conflicting evidence. Source count alone is not frequency or confidence.
|
|
30
|
+
## 来源政策
|
|
40
31
|
|
|
41
|
-
|
|
32
|
+
1. 从要支持的决定、读者、时间范围、边界和研究问题开始。
|
|
33
|
+
2. 先检索用户提供或已登记的材料,对内部与外部材料采用相同纳入 / 排除标准,记录排除和访问失败。
|
|
34
|
+
3. 技术 Claim 追溯到拥有该事实的官方规范、官方文档、源码或第一方 API。
|
|
35
|
+
4. 策略来源分类为 `primary`、`direct-experience`、`near-primary`、`secondary`、`lead-only`;访谈、Ticket、支持记录、带日期的评论、调查和可信行业报告须说明抽样与访问限制。
|
|
36
|
+
5. 无法追溯的转载、聚合摘要和 AI 生成总结只作线索,不支持发布结论。
|
|
37
|
+
6. 主动寻找反向信号和冲突证据,来源数量不代表频率或置信度。
|
|
42
38
|
|
|
43
|
-
|
|
39
|
+
## 委派
|
|
44
40
|
|
|
45
|
-
|
|
41
|
+
运行时支持后台 Agent 且资料可独立阅读时可以委派;否则在当前 Agent 研究。委派用于优化执行,不构成可信度证明。
|
|
46
42
|
|
|
47
|
-
|
|
43
|
+
只读分诊使用 task-package schema v2、`contract.kind: read-only-intake`、`Explorer`、已登记分诊工作单元和空写范围;使用 `scripts/prepare-read-only-intake`、`scripts/run-read-only-intake`,执行证据留在仓库外。无已执行命令时写 `verification_status: not-executed`。正式落盘前由所有者分析影响并派发正式任务包,详见 `.template-spec/process/subagent-collaboration.md`。
|
|
48
44
|
|
|
49
|
-
|
|
45
|
+
只读分诊的独立运行包继续作为证据来源,并由运行存储保护。使用 `scripts/runtime-store inspect` 定位运行,`export` 导出可独立核验的文件包;留存与恢复按 `.template-spec/process/runtime-storage.md` 执行。
|
|
50
46
|
|
|
51
|
-
|
|
47
|
+
生命周期派发遵守结构化任务包、写隔离、角色绑定与交接合同;接收所有者仍负责核验实质 Claim。
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
2. Maintain a reproducible Search Log and independently locatable Evidence Ledger.
|
|
55
|
-
3. Separate observations, inference, hypotheses, and decisions.
|
|
56
|
-
4. Audit each decision-bearing claim against the evidence it cites, including counter-signals.
|
|
57
|
-
5. Narrow partially supported claims; mark unsupported claims `needs-deeper-research`.
|
|
58
|
-
6. Persist `<slug>-research-brief.md` with adjacent `<slug>-evidence.yaml` and run the bundled validator.
|
|
49
|
+
## 审计工作流
|
|
59
50
|
|
|
60
|
-
|
|
51
|
+
按 [证据合同](references/evidence-contract.md) 执行:
|
|
61
52
|
|
|
62
|
-
|
|
53
|
+
1. 预声明范围、来源类别、纳入 / 排除标准及已知访问限制。
|
|
54
|
+
2. 保存可复现 Search Log 和可独立定位的 Evidence Ledger。
|
|
55
|
+
3. 区分观察、推断、假设和决定。
|
|
56
|
+
4. 对每项决定性 Claim 审计来源与反向信号。
|
|
57
|
+
5. 缩窄部分支持的措辞;无支持的 Claim 标记 `needs-deeper-research`。
|
|
58
|
+
6. 保存相邻的 `<slug>-research-brief.md` 与 `<slug>-evidence.yaml` 并执行校验。
|
|
63
59
|
|
|
64
|
-
|
|
65
|
-
- `domain-modeling` owns glossary changes; `yss-stage-decision` owns domain strategy and the stage-decision package.
|
|
66
|
-
- The lifecycle orchestrator and designated reviewers own gate state.
|
|
67
|
-
- Do not modify `CONTEXT.md`, Spec, domain-strategy, OpenAPI, architecture, Ticket status, or approval records unless a separately authorized owning work unit performs that change.
|
|
60
|
+
策略研究中决定用户问题、MVP / 非目标、领域边界、核心规则、成功标准、重要业务约束或方案决策基础的 Claim 全部审计;只可对明确标记为非决定性的背景抽样。
|
|
68
61
|
|
|
69
|
-
##
|
|
62
|
+
## 所有权与交付
|
|
70
63
|
|
|
71
|
-
|
|
64
|
+
研究结果是证据。候选术语交给 `domain-modeling`,产品机会、MVP 和方案建议交给 Plan / `yss-stage-decision` 所有者;生命周期编排器和指定 Reviewer 持有门禁状态。未经另一项已授权所有者工作单元,不修改 `CONTEXT.md`、Spec、领域策略、OpenAPI、架构、Ticket 状态或批准记录。
|
|
72
65
|
|
|
73
|
-
|
|
66
|
+
聊天简报包括范围、发现、来源、推断、置信度、反向信号、缺口及下一项决定。审计包从 [研究简报模板](assets/research-brief-template.md) 和 [证据模板](assets/evidence-template.yaml) 起草。竞品附属报告不能替代研究双文件。从仓库根运行:
|
|
74
67
|
|
|
75
68
|
```bash
|
|
76
|
-
node scripts/validate-research-package.mjs <slug>-research-brief.md <slug>-evidence.yaml
|
|
69
|
+
node .agents/skills/yss-research/scripts/validate-research-package.mjs <slug>-research-brief.md <slug>-evidence.yaml
|
|
77
70
|
```
|
|
78
71
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
模板中正式落盘的研究使用 `work-unit.maintenance-research`,按 `.template-spec/process/research-completion.md` 记录当前验证并收尾;结束研究不授予维护或产品批准。仅回传结论的只读分诊继续使用既有 read-only-intake v2,不伪装成正式研究闭包。
|
|
72
|
+
`template-source` 的可复用维护研究存于 当前工作区仓外的 `maintenance:research/<run-id>/`(用 `scripts/maintenance-path` 解析;证据引用绑定原字节摘要);`project-instance` 沿项目研究 / 证据约定,并由消费生命周期资产绑定决定性输出。模板正式研究使用 `work-unit.maintenance-research`,按 `.template-spec/process/research-completion.md` 记录当前验证并收尾;只回传结论的分诊继续用 read-only-intake v2。
|
|
82
73
|
|
|
83
|
-
|
|
74
|
+
来源不可用或冲突时说明限制。普通缺口降低置信度;决定性 Claim 的来源缺失或不匹配时不能视为已确立。研究完成不授予维护或产品批准。
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"profile": "strategy-evidence",
|
|
4
|
+
"mode": "evidence-audited",
|
|
5
|
+
"scope": {
|
|
6
|
+
"topic": "<竞品调研主题>",
|
|
7
|
+
"audience": "<audience>",
|
|
8
|
+
"time_horizon": "<time horizon>",
|
|
9
|
+
"research_questions": [
|
|
10
|
+
"<指定产品、套餐与地区范围内的能力支持情况>"
|
|
11
|
+
],
|
|
12
|
+
"inclusion_criteria": [
|
|
13
|
+
"<criterion>"
|
|
14
|
+
],
|
|
15
|
+
"exclusion_criteria": [
|
|
16
|
+
"<criterion>"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"ownership": {
|
|
20
|
+
"research_owner": "yss-research",
|
|
21
|
+
"downstream_owner": "<lifecycle skill or role>",
|
|
22
|
+
"decision_ref": null
|
|
23
|
+
},
|
|
24
|
+
"search_log": [
|
|
25
|
+
{
|
|
26
|
+
"id": "search-001",
|
|
27
|
+
"channel": "<channel or corpus>",
|
|
28
|
+
"query_or_corpus": "<query or inspected material>",
|
|
29
|
+
"searched_at": "YYYY-MM-DD",
|
|
30
|
+
"result": "results-found"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "search-002",
|
|
34
|
+
"channel": "<counter-signal channel>",
|
|
35
|
+
"query_or_corpus": "<counter-signal query>",
|
|
36
|
+
"searched_at": "YYYY-MM-DD",
|
|
37
|
+
"result": "none-found"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"evidence_items": [
|
|
41
|
+
{
|
|
42
|
+
"id": "evidence-001",
|
|
43
|
+
"source_level": "direct-experience",
|
|
44
|
+
"visibility": "internal",
|
|
45
|
+
"source_class": "<interview, support, ticket, docs, specification, source-code, dataset, report>",
|
|
46
|
+
"source_ref": "<URL or repository reference>",
|
|
47
|
+
"locator": "<line, section, record, timestamp, or comment>",
|
|
48
|
+
"stance": "support",
|
|
49
|
+
"observed_at": "YYYY-MM-DD",
|
|
50
|
+
"evidence_date": "YYYY-MM-DD",
|
|
51
|
+
"observation": "<what the source directly shows>",
|
|
52
|
+
"limitations": [
|
|
53
|
+
"<sampling, recency, access, or independence limit>"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"claims": [
|
|
58
|
+
{
|
|
59
|
+
"id": "claim-001",
|
|
60
|
+
"claim_kind": "business-constraint",
|
|
61
|
+
"statement": "<在已确认的产品版本、套餐与地区内,竞品A支持能力1;据来源实际内容填写>",
|
|
62
|
+
"decision_bearing": true,
|
|
63
|
+
"evidence_refs": [
|
|
64
|
+
"evidence-001"
|
|
65
|
+
],
|
|
66
|
+
"counter_signal_refs": [
|
|
67
|
+
"search-002"
|
|
68
|
+
],
|
|
69
|
+
"audit_status": "supported",
|
|
70
|
+
"confidence": "medium",
|
|
71
|
+
"disposition": "publish"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"source_gaps": [],
|
|
75
|
+
"audit_summary": {
|
|
76
|
+
"status": "complete",
|
|
77
|
+
"audited_claim_ids": [
|
|
78
|
+
"claim-001"
|
|
79
|
+
],
|
|
80
|
+
"notes": []
|
|
81
|
+
},
|
|
82
|
+
"competitive_analysis": {
|
|
83
|
+
"schema_version": 1,
|
|
84
|
+
"output_selection": "both",
|
|
85
|
+
"as_of": "YYYY-MM-DD",
|
|
86
|
+
"comparison_scope": "<用户、竞品、能力与资料边界;未知字段使用 unknown>",
|
|
87
|
+
"competitors": [
|
|
88
|
+
{
|
|
89
|
+
"id": "competitor-a",
|
|
90
|
+
"name": "<竞品A>",
|
|
91
|
+
"type": "direct",
|
|
92
|
+
"product": "<产品>",
|
|
93
|
+
"version": "<已确认版本或 unknown>",
|
|
94
|
+
"edition": "<已确认套餐或 unknown>",
|
|
95
|
+
"region": "<已确认地区或 unknown>"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "competitor-b",
|
|
99
|
+
"name": "<竞品B>",
|
|
100
|
+
"type": "adjacent",
|
|
101
|
+
"product": "<产品>",
|
|
102
|
+
"version": "unknown",
|
|
103
|
+
"edition": "unknown",
|
|
104
|
+
"region": "unknown"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"capabilities": [
|
|
108
|
+
{
|
|
109
|
+
"id": "capability-001",
|
|
110
|
+
"module": "<功能模块>",
|
|
111
|
+
"name": "<功能点>",
|
|
112
|
+
"definition": "<可观察的能力定义>",
|
|
113
|
+
"user_value": "<用户价值>"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"assessments": [
|
|
117
|
+
{
|
|
118
|
+
"competitor_id": "competitor-a",
|
|
119
|
+
"capability_id": "capability-001",
|
|
120
|
+
"status": "supported",
|
|
121
|
+
"claim_refs": [
|
|
122
|
+
"claim-001"
|
|
123
|
+
],
|
|
124
|
+
"limitations": [
|
|
125
|
+
"<来源实际支持的版本、套餐、地区及其他限制;不能仅按示例填写>"
|
|
126
|
+
],
|
|
127
|
+
"gap": null
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"competitor_id": "competitor-b",
|
|
131
|
+
"capability_id": "capability-001",
|
|
132
|
+
"status": "unknown",
|
|
133
|
+
"claim_refs": [],
|
|
134
|
+
"limitations": [],
|
|
135
|
+
"gap": {
|
|
136
|
+
"reason": "<公开资料尚未确认支持情况;未搜索到不代表不支持>",
|
|
137
|
+
"next_step": "<明确补充官方资料、试用或访谈的执行计划>"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"artifacts": {
|
|
142
|
+
"matrix": "<slug>-competitive-matrix.md",
|
|
143
|
+
"report": "<slug>-competitive-analysis.md"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# 竞品分析合同
|
|
2
|
+
|
|
3
|
+
本合同在现有 research evidence v1 上增加可选 `competitive_analysis` 扩展。`yss-research` 持有研究模式、证据包和汇总,`competitive-intelligence` 执行专项分析。父级 `search_log`、`evidence_items`、`claims` 是唯一检索、来源与 Claim 台账;竞品扩展引用这些 ID,不另建台账。
|
|
4
|
+
|
|
5
|
+
## 1. 模式与输出
|
|
6
|
+
|
|
7
|
+
普通探索采用 `quick`,在聊天中给出简报和精简功能矩阵,标明未审计;用户未要求落盘时不写文件。深度、严格、可复现、可审计请求以及正式生命周期批准输入采用 `evidence-audited`。深度默认 `output_selection: both`;用户明确只要矩阵或报告时使用 `matrix` 或 `report`,证据审计要求不变。
|
|
8
|
+
|
|
9
|
+
竞品策略研究用 `strategy-evidence`;其中技术能力和协议 Claim 必须满足 `technical-evidence` 的一手来源要求。竞品确定状态引用 `technical-fact` Claim 时,校验器要求至少一项 `primary` 支持证据,独立于父 profile 和 `decision_bearing`;`unknown` 不作确定判断,仍须记录来源缺口与补证计划。不得把已知技术事实改标为 `background` 绕过此要求;是否属于技术能力或协议事实仍须来源语义审核。不要新增 profile 或模式。探索材料作为正式批准输入前须升级为审计包。
|
|
10
|
+
|
|
11
|
+
审计模式始终保留相邻的 `<slug>-research-brief.md` 与 `<slug>-evidence.yaml`。按选择追加 `<slug>-competitive-matrix.md`、`<slug>-competitive-analysis.md`;深度报告不能替代简报。`template-source` 使用 当前工作区仓外的 `maintenance:research/<run-id>/`(用 `scripts/maintenance-path` 解析;证据引用绑定原字节摘要),`project-instance` 沿项目研究 / 证据目录约定。
|
|
12
|
+
|
|
13
|
+
## 2. 可选扩展接口
|
|
14
|
+
|
|
15
|
+
| 字段 | 内容 |
|
|
16
|
+
|---|---|
|
|
17
|
+
| `schema_version` | 固定为 `1` |
|
|
18
|
+
| `output_selection` | `matrix`、`report` 或 `both` |
|
|
19
|
+
| `as_of` | 调研截至日期,`YYYY-MM-DD` |
|
|
20
|
+
| `comparison_scope` | 本次用户、能力、用途、时间范围及非目标 |
|
|
21
|
+
| `competitors` | 对象列表;每项为 `{id, name, type, product, version, edition, region}` |
|
|
22
|
+
| `capabilities` | 能力列表;每项为 `{id, module, name, definition, user_value}` |
|
|
23
|
+
| `assessments` | 全部竞品 × 能力结果;每项为 `{competitor_id, capability_id, status, claim_refs, limitations, gap}` |
|
|
24
|
+
| `artifacts` | 同目录附属文件名:`matrix` / `report`,由输出选择决定必填项 |
|
|
25
|
+
|
|
26
|
+
竞品和能力 ID 稳定且在各自列表唯一;每个竞品 × 能力组合恰有一个 assessment。竞品 `version`、`edition`、`region` 等未确认信息明确写 `unknown`,不能推定适用于所有版本、套餐或地区。能力定义写可观察的功能范围,`user_value` 说明服务的用户任务;不把不同功能因名称相近合并。
|
|
27
|
+
|
|
28
|
+
`claim_refs` 引用父级 Claim ID,`limitations` 为限定条件列表。`gap` 是 `null` 或 `{reason, next_step}`;未知必须给出无法判断的原因和补证步骤,不能用空缺口代替。决定性比较结果使用已审计 Claim;引用措辞应包含适用的产品、版本 / 套餐、地区、日期与能力范围,审核者须核对来源实际支持范围。
|
|
29
|
+
|
|
30
|
+
`artifacts.matrix` 固定命名为 `<slug>-competitive-matrix.md`,`artifacts.report` 固定命名为 `<slug>-competitive-analysis.md`。只允许与证据文件同目录的文件名,不允许绝对路径、子目录、`..` 或符号链接逃逸;渲染和校验均应拒绝不安全路径。
|
|
31
|
+
|
|
32
|
+
未包含扩展的旧 evidence v1 包继续使用原合同与校验行为;不回写历史证据、报告和收尾记录。
|
|
33
|
+
|
|
34
|
+
## 3. 支持状态与证据
|
|
35
|
+
|
|
36
|
+
| `status` | 展示 | 判定要求 |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| `supported` | ✅ 明确支持 | 已审计 Claim 支持定义范围内的能力,记录适用条件 |
|
|
39
|
+
| `partial` | ⚠️ 部分支持 | 已审计 Claim 支持其中一部分;`limitations` 明确缺少的部分或限制 |
|
|
40
|
+
| `absent` | ❌ 明确不支持 | 已审计 Claim 支持该范围内的不支持判断;搜索无结果不能作为依据 |
|
|
41
|
+
| `unknown` | ❓ 未知 | 可没有支持 Claim;`gap.reason` 和 `gap.next_step` 必填 |
|
|
42
|
+
|
|
43
|
+
资料不完整、访问失败、版本未确认或来源冲突,不能直接转换成 `partial` 或 `absent`。先缩窄到可审计的范围,仍无法判断时使用 `unknown`。已审计 Claim 的 `partially-supported` 结果只能在按原合同限定措辞后消费,不能把未覆盖部分当作已确立。
|
|
44
|
+
|
|
45
|
+
反向信号仍记录在父级台账。`none-found` 只说明声明的搜索没有找到反例,不证明竞品缺失能力。支持状态与 Claim 审计状态是不同字段,不能彼此替代。
|
|
46
|
+
|
|
47
|
+
## 4. 阅读材料和受控渲染
|
|
48
|
+
|
|
49
|
+
直接使用 `.template-spec/plan/templates/competitive-matrix-template.md` 和 `.template-spec/plan/templates/competitive-analysis-template.md`。每文件恰有一组完整标记:
|
|
50
|
+
|
|
51
|
+
```markdown
|
|
52
|
+
<!-- YSS-COMPETITIVE:START -->
|
|
53
|
+
[由结构化比较结果生成]
|
|
54
|
+
<!-- YSS-COMPETITIVE:END -->
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
管理区由工具维护,禁止手填比较事实;区外保留人工定位、流程、机会和建议。矩阵管理区生成截至日期、范围、竞品版本 / 套餐 / 地区、能力定义、功能状态表及 Claim / 缺口摘要。`report` 的报告管理区包含完整对比表;`both` 的报告管理区引用同目录完整矩阵,并保留证据摘要。只选择矩阵时不生成报告。
|
|
58
|
+
|
|
59
|
+
从仓库根运行:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
node .agents/skills/yss-research/scripts/render-competitive-outputs.mjs <slug>-evidence.yaml
|
|
63
|
+
node .agents/skills/yss-research/scripts/validate-research-package.mjs <slug>-research-brief.md <slug>-evidence.yaml
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
从技能目录运行时可使用 `node scripts/render-competitive-outputs.mjs` 和 `node scripts/validate-research-package.mjs` 的同一参数。新文件从现有模板创建;刷新已有文件仅替换唯一完整管理区,保留区外字节。旧文件无标记、标记重复或不完整时拒绝覆盖,由所有者另行安排适配;不自动把旧报告认定为当前产物。
|
|
67
|
+
|
|
68
|
+
渲染后的人工正文应消除模板占位项;每项实质结论引用 Claim / 可定位来源,观察、推断、假设和建议分开。默认不生成数字排名;用户明确要求评分时先确认量表、维度 / 权重和依据,未知写不评分,不能作为低分或零分。
|
|
69
|
+
|
|
70
|
+
## 5. 校验与收尾
|
|
71
|
+
|
|
72
|
+
校验先执行完整 JSON Schema,再检查唯一 ID、完整比较覆盖、引用、状态限定、选定文件和受控区一致性。重复或失效 ID、缺失产物、未知缺口未说明、部分支持未限定、确定状态无审计 Claim、表格漂移和不安全路径均返回非零退出码与定位诊断。机械校验不能证明来源语义、采样代表性或推断合理性。
|
|
73
|
+
|
|
74
|
+
模板正式研究按 `.template-spec/process/research-completion.md` 收尾。含竞品扩展时,研究收尾记录条件追加选定矩阵 / 报告和新增校验依赖的 `{ref, digest}`,并纳入 `evidence_refs`。接收端核验当前字节并重跑校验;附属报告、结构化结果、Schema 或渲染逻辑变化后旧验证失效。旧包和旧收尾记录保持读取兼容,不据此宣布新产物已验证。
|
|
75
|
+
|
|
76
|
+
功能矩阵与深度报告只提供研究证据。候选术语交给 `domain-modeling`;机会、MVP / 非目标、优先级和待确认问题交给 Plan、Spec 或其它对应所有者。研究不直接写入 `CONTEXT.md`、Spec、OpenAPI、架构、Ticket 状态或批准,也不设置 `ready-for-agent`。
|