universal-dev-standards 5.0.0-rc.8 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/uds.js +5 -3
- package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +178 -0
- package/bundled/ai/standards/agent-dispatch.ai.yaml +69 -0
- package/bundled/ai/standards/ai-command-behavior.ai.yaml +45 -0
- package/bundled/ai/standards/api-design-standards.ai.yaml +192 -0
- package/bundled/ai/standards/branch-completion.ai.yaml +82 -0
- package/bundled/ai/standards/change-batching-standards.ai.yaml +195 -0
- package/bundled/ai/standards/database-standards.ai.yaml +220 -0
- package/bundled/ai/standards/error-codes.ai.yaml +37 -2
- package/bundled/ai/standards/git-worktree.ai.yaml +77 -0
- package/bundled/ai/standards/logging.ai.yaml +21 -2
- package/bundled/ai/standards/model-selection.ai.yaml +81 -0
- package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +184 -0
- package/bundled/ai/standards/systematic-debugging.ai.yaml +73 -0
- package/bundled/ai/standards/verification-evidence.ai.yaml +84 -0
- package/bundled/ai/standards/workflow-enforcement.ai.yaml +253 -0
- package/bundled/core/acceptance-criteria-traceability.md +293 -0
- package/bundled/core/agent-dispatch.md +149 -0
- package/bundled/core/ai-command-behavior.md +239 -0
- package/bundled/core/api-design-standards.md +938 -0
- package/bundled/core/branch-completion.md +158 -0
- package/bundled/core/change-batching-standards.md +257 -0
- package/bundled/core/checkin-standards.md +43 -6
- package/bundled/core/database-standards.md +828 -0
- package/bundled/core/error-code-standards.md +228 -2
- package/bundled/core/forward-derivation-standards.md +54 -2
- package/bundled/core/git-worktree.md +131 -0
- package/bundled/core/model-selection.md +153 -0
- package/bundled/core/pipeline-integration-standards.md +230 -0
- package/bundled/core/systematic-debugging.md +156 -0
- package/bundled/core/testing-standards.md +49 -39
- package/bundled/core/verification-evidence.md +172 -0
- package/bundled/core/workflow-enforcement.md +132 -0
- package/bundled/locales/zh-CN/CLAUDE.md +2 -2
- package/bundled/locales/zh-CN/README.md +4 -4
- package/bundled/locales/zh-CN/SECURITY.md +92 -0
- package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +301 -0
- package/bundled/locales/zh-CN/core/acceptance-test-driven-development.md +47 -0
- package/bundled/locales/zh-CN/core/accessibility-standards.md +124 -0
- package/bundled/locales/zh-CN/core/agent-dispatch.md +113 -0
- package/bundled/locales/zh-CN/core/ai-agreement-standards.md +103 -0
- package/bundled/locales/zh-CN/core/ai-command-behavior.md +247 -0
- package/bundled/locales/zh-CN/core/api-design-standards.md +946 -0
- package/bundled/locales/zh-CN/core/behavior-driven-development.md +48 -0
- package/bundled/locales/zh-CN/core/branch-completion.md +112 -0
- package/bundled/locales/zh-CN/core/change-batching-standards.md +265 -0
- package/bundled/locales/zh-CN/core/checkin-standards.md +43 -5
- package/bundled/locales/zh-CN/core/context-aware-loading.md +106 -0
- package/bundled/locales/zh-CN/core/database-standards.md +836 -0
- package/bundled/locales/zh-CN/core/deployment-standards.md +80 -0
- package/bundled/locales/zh-CN/core/error-code-standards.md +2 -2
- package/bundled/locales/zh-CN/core/forward-derivation-standards.md +493 -0
- package/bundled/locales/zh-CN/core/git-worktree.md +101 -0
- package/bundled/locales/zh-CN/core/model-selection.md +112 -0
- package/bundled/locales/zh-CN/core/performance-standards.md +104 -0
- package/bundled/locales/zh-CN/core/pipeline-integration-standards.md +238 -0
- package/bundled/locales/zh-CN/core/project-context-memory.md +124 -0
- package/bundled/locales/zh-CN/core/requirement-engineering.md +49 -0
- package/bundled/locales/zh-CN/core/security-standards.md +100 -0
- package/bundled/locales/zh-CN/core/systematic-debugging.md +106 -0
- package/bundled/locales/zh-CN/core/test-governance.md +116 -0
- package/bundled/locales/zh-CN/core/testing-standards.md +392 -156
- package/bundled/locales/zh-CN/core/verification-evidence.md +118 -0
- package/bundled/locales/zh-CN/core/virtual-organization-standards.md +104 -0
- package/bundled/locales/zh-CN/core/workflow-enforcement.md +132 -0
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +27 -1
- package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +9 -1
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +37 -9
- package/bundled/locales/zh-CN/docs/USER-MANUAL.md +652 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +1 -1
- package/bundled/locales/zh-CN/integrations/openspec/AGENTS.md +29 -4
- package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +143 -72
- package/bundled/locales/zh-CN/skills/ac-coverage-assistant/SKILL.md +126 -0
- package/bundled/locales/zh-CN/skills/api-design-assistant/SKILL.md +100 -0
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +119 -0
- package/bundled/locales/zh-CN/skills/ci-cd-assistant/SKILL.md +82 -0
- package/bundled/locales/zh-CN/skills/commands/ac-coverage.md +97 -0
- package/bundled/locales/zh-CN/skills/commands/api-design.md +94 -0
- package/bundled/locales/zh-CN/skills/commands/atdd.md +163 -0
- package/bundled/locales/zh-CN/skills/commands/audit.md +77 -0
- package/bundled/locales/zh-CN/skills/commands/bdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/brainstorm.md +87 -0
- package/bundled/locales/zh-CN/skills/commands/changelog.md +63 -0
- package/bundled/locales/zh-CN/skills/commands/check.md +219 -0
- package/bundled/locales/zh-CN/skills/commands/checkin.md +61 -0
- package/bundled/locales/zh-CN/skills/commands/ci-cd.md +77 -0
- package/bundled/locales/zh-CN/skills/commands/commit.md +81 -0
- package/bundled/locales/zh-CN/skills/commands/config.md +207 -0
- package/bundled/locales/zh-CN/skills/commands/coverage.md +74 -0
- package/bundled/locales/zh-CN/skills/commands/database.md +78 -0
- package/bundled/locales/zh-CN/skills/commands/derive-all.md +58 -0
- package/bundled/locales/zh-CN/skills/commands/derive-atdd.md +54 -0
- package/bundled/locales/zh-CN/skills/commands/derive-bdd.md +53 -0
- package/bundled/locales/zh-CN/skills/commands/derive-tdd.md +54 -0
- package/bundled/locales/zh-CN/skills/commands/derive.md +78 -0
- package/bundled/locales/zh-CN/skills/commands/dev-workflow.md +119 -0
- package/bundled/locales/zh-CN/skills/commands/discover.md +86 -0
- package/bundled/locales/zh-CN/skills/commands/docgen.md +67 -0
- package/bundled/locales/zh-CN/skills/commands/docs.md +65 -0
- package/bundled/locales/zh-CN/skills/commands/durable.md +87 -0
- package/bundled/locales/zh-CN/skills/commands/guide.md +52 -0
- package/bundled/locales/zh-CN/skills/commands/incident.md +92 -0
- package/bundled/locales/zh-CN/skills/commands/init.md +272 -0
- package/bundled/locales/zh-CN/skills/commands/methodology.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/metrics.md +73 -0
- package/bundled/locales/zh-CN/skills/commands/migrate.md +92 -0
- package/bundled/locales/zh-CN/skills/commands/pr.md +80 -0
- package/bundled/locales/zh-CN/skills/commands/refactor.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/release.md +62 -0
- package/bundled/locales/zh-CN/skills/commands/requirement.md +54 -0
- package/bundled/locales/zh-CN/skills/commands/reverse-bdd.md +47 -0
- package/bundled/locales/zh-CN/skills/commands/reverse-sdd.md +51 -0
- package/bundled/locales/zh-CN/skills/commands/reverse-tdd.md +51 -0
- package/bundled/locales/zh-CN/skills/commands/reverse.md +63 -0
- package/bundled/locales/zh-CN/skills/commands/review.md +50 -0
- package/bundled/locales/zh-CN/skills/commands/scan.md +76 -0
- package/bundled/locales/zh-CN/skills/commands/sdd-retro.md +40 -0
- package/bundled/locales/zh-CN/skills/commands/sdd.md +379 -0
- package/bundled/locales/zh-CN/skills/commands/security.md +75 -0
- package/bundled/locales/zh-CN/skills/commands/tdd.md +111 -0
- package/bundled/locales/zh-CN/skills/commands/update.md +337 -0
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +1 -2
- package/bundled/locales/zh-CN/skills/database-assistant/SKILL.md +97 -0
- package/bundled/locales/zh-CN/skills/dev-workflow-guide/SKILL.md +145 -0
- package/bundled/locales/zh-CN/skills/durable-execution-assistant/SKILL.md +84 -0
- package/bundled/locales/zh-CN/skills/incident-response-assistant/SKILL.md +107 -0
- package/bundled/locales/zh-CN/skills/metrics-dashboard-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/migration-assistant/SKILL.md +77 -0
- package/bundled/locales/zh-CN/skills/pr-automation-assistant/SKILL.md +90 -0
- package/bundled/locales/zh-CN/skills/security-assistant/SKILL.md +79 -0
- package/bundled/locales/zh-CN/skills/security-scan-assistant/SKILL.md +72 -0
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +73 -10
- package/bundled/locales/zh-CN/skills/spec-driven-dev/guide.md +267 -122
- package/bundled/locales/zh-TW/CLAUDE.md +2 -2
- package/bundled/locales/zh-TW/README.md +4 -4
- package/bundled/locales/zh-TW/SECURITY.md +92 -0
- package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +301 -0
- package/bundled/locales/zh-TW/core/acceptance-test-driven-development.md +47 -0
- package/bundled/locales/zh-TW/core/accessibility-standards.md +84 -0
- package/bundled/locales/zh-TW/core/agent-dispatch.md +89 -0
- package/bundled/locales/zh-TW/core/ai-agreement-standards.md +87 -0
- package/bundled/locales/zh-TW/core/ai-command-behavior.md +247 -0
- package/bundled/locales/zh-TW/core/api-design-standards.md +946 -0
- package/bundled/locales/zh-TW/core/behavior-driven-development.md +63 -0
- package/bundled/locales/zh-TW/core/branch-completion.md +76 -0
- package/bundled/locales/zh-TW/core/change-batching-standards.md +265 -0
- package/bundled/locales/zh-TW/core/checkin-standards.md +39 -5
- package/bundled/locales/zh-TW/core/context-aware-loading.md +86 -0
- package/bundled/locales/zh-TW/core/database-standards.md +836 -0
- package/bundled/locales/zh-TW/core/deployment-standards.md +66 -0
- package/bundled/locales/zh-TW/core/error-code-standards.md +230 -4
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +62 -2
- package/bundled/locales/zh-TW/core/git-worktree.md +104 -0
- package/bundled/locales/zh-TW/core/model-selection.md +83 -0
- package/bundled/locales/zh-TW/core/performance-standards.md +84 -0
- package/bundled/locales/zh-TW/core/pipeline-integration-standards.md +238 -0
- package/bundled/locales/zh-TW/core/project-context-memory.md +79 -0
- package/bundled/locales/zh-TW/core/requirement-engineering.md +79 -0
- package/bundled/locales/zh-TW/core/security-standards.md +74 -0
- package/bundled/locales/zh-TW/core/systematic-debugging.md +95 -0
- package/bundled/locales/zh-TW/core/test-governance.md +88 -0
- package/bundled/locales/zh-TW/core/testing-standards.md +309 -86
- package/bundled/locales/zh-TW/core/verification-evidence.md +94 -0
- package/bundled/locales/zh-TW/core/virtual-organization-standards.md +88 -0
- package/bundled/locales/zh-TW/core/workflow-enforcement.md +132 -0
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +27 -1
- package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +9 -1
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +37 -9
- package/bundled/locales/zh-TW/docs/USER-MANUAL.md +652 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +1 -1
- package/bundled/locales/zh-TW/integrations/openspec/AGENTS.md +29 -4
- package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +142 -71
- package/bundled/locales/zh-TW/skills/ac-coverage-assistant/SKILL.md +127 -0
- package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/api-design-assistant/SKILL.md +97 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/ci-cd-assistant/SKILL.md +79 -0
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/commands/ac-coverage.md +95 -0
- package/bundled/locales/zh-TW/skills/commands/api-design.md +92 -0
- package/bundled/locales/zh-TW/skills/commands/atdd.md +167 -0
- package/bundled/locales/zh-TW/skills/commands/audit.md +75 -0
- package/bundled/locales/zh-TW/skills/commands/bdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/brainstorm.md +91 -0
- package/bundled/locales/zh-TW/skills/commands/changelog.md +67 -0
- package/bundled/locales/zh-TW/skills/commands/check.md +223 -0
- package/bundled/locales/zh-TW/skills/commands/checkin.md +65 -0
- package/bundled/locales/zh-TW/skills/commands/ci-cd.md +75 -0
- package/bundled/locales/zh-TW/skills/commands/commit.md +85 -0
- package/bundled/locales/zh-TW/skills/commands/config.md +211 -0
- package/bundled/locales/zh-TW/skills/commands/coverage.md +78 -0
- package/bundled/locales/zh-TW/skills/commands/database.md +76 -0
- package/bundled/locales/zh-TW/skills/commands/derive-all.md +62 -0
- package/bundled/locales/zh-TW/skills/commands/derive-atdd.md +58 -0
- package/bundled/locales/zh-TW/skills/commands/derive-bdd.md +54 -0
- package/bundled/locales/zh-TW/skills/commands/derive-tdd.md +55 -0
- package/bundled/locales/zh-TW/skills/commands/derive.md +79 -0
- package/bundled/locales/zh-TW/skills/commands/dev-workflow.md +120 -0
- package/bundled/locales/zh-TW/skills/commands/discover.md +87 -0
- package/bundled/locales/zh-TW/skills/commands/docgen.md +68 -0
- package/bundled/locales/zh-TW/skills/commands/docs.md +66 -0
- package/bundled/locales/zh-TW/skills/commands/durable.md +85 -0
- package/bundled/locales/zh-TW/skills/commands/guide.md +51 -0
- package/bundled/locales/zh-TW/skills/commands/incident.md +90 -0
- package/bundled/locales/zh-TW/skills/commands/init.md +273 -0
- package/bundled/locales/zh-TW/skills/commands/methodology.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/metrics.md +71 -0
- package/bundled/locales/zh-TW/skills/commands/migrate.md +90 -0
- package/bundled/locales/zh-TW/skills/commands/pr.md +78 -0
- package/bundled/locales/zh-TW/skills/commands/refactor.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/release.md +63 -0
- package/bundled/locales/zh-TW/skills/commands/requirement.md +61 -0
- package/bundled/locales/zh-TW/skills/commands/reverse-bdd.md +54 -0
- package/bundled/locales/zh-TW/skills/commands/reverse-sdd.md +58 -0
- package/bundled/locales/zh-TW/skills/commands/reverse-tdd.md +58 -0
- package/bundled/locales/zh-TW/skills/commands/reverse.md +70 -0
- package/bundled/locales/zh-TW/skills/commands/review.md +57 -0
- package/bundled/locales/zh-TW/skills/commands/scan.md +74 -0
- package/bundled/locales/zh-TW/skills/commands/sdd-retro.md +47 -0
- package/bundled/locales/zh-TW/skills/commands/sdd.md +362 -0
- package/bundled/locales/zh-TW/skills/commands/security.md +73 -0
- package/bundled/locales/zh-TW/skills/commands/tdd.md +115 -0
- package/bundled/locales/zh-TW/skills/commands/update.md +326 -0
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +2 -6
- package/bundled/locales/zh-TW/skills/database-assistant/SKILL.md +94 -0
- package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +140 -0
- package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/documentation-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/durable-execution-assistant/SKILL.md +81 -0
- package/bundled/locales/zh-TW/skills/error-code-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/git-workflow-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/incident-response-assistant/SKILL.md +104 -0
- package/bundled/locales/zh-TW/skills/logging-guide/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/metrics-dashboard-assistant/SKILL.md +64 -0
- package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +74 -0
- package/bundled/locales/zh-TW/skills/pr-automation-assistant/SKILL.md +87 -0
- package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/security-assistant/SKILL.md +76 -0
- package/bundled/locales/zh-TW/skills/security-scan-assistant/SKILL.md +69 -0
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +74 -14
- package/bundled/locales/zh-TW/skills/spec-driven-dev/guide.md +243 -98
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +1 -4
- package/bundled/locales/zh-TW/skills/testing-guide/SKILL.md +1 -5
- package/bundled/skills/README.md +11 -0
- package/bundled/skills/ac-coverage-assistant/SKILL.md +127 -0
- package/bundled/skills/ai-collaboration-standards/SKILL.md +10 -0
- package/bundled/skills/ai-friendly-architecture/SKILL.md +10 -0
- package/bundled/skills/ai-instruction-standards/SKILL.md +10 -0
- package/bundled/skills/api-design-assistant/SKILL.md +119 -0
- package/bundled/skills/atdd-assistant/SKILL.md +7 -0
- package/bundled/skills/bdd-assistant/SKILL.md +7 -0
- package/bundled/skills/brainstorm-assistant/SKILL.md +7 -0
- package/bundled/skills/checkin-assistant/SKILL.md +7 -0
- package/bundled/skills/ci-cd-assistant/SKILL.md +97 -0
- package/bundled/skills/code-review-assistant/SKILL.md +7 -0
- package/bundled/skills/commands/README.md +70 -0
- package/bundled/skills/commands/ac-coverage.md +135 -0
- package/bundled/skills/commands/api-design.md +86 -0
- package/bundled/skills/commands/atdd.md +69 -0
- package/bundled/skills/commands/audit.md +69 -0
- package/bundled/skills/commands/bdd.md +101 -0
- package/bundled/skills/commands/brainstorm.md +45 -0
- package/bundled/skills/commands/changelog.md +34 -0
- package/bundled/skills/commands/check.md +52 -1
- package/bundled/skills/commands/checkin.md +46 -0
- package/bundled/skills/commands/ci-cd.md +69 -0
- package/bundled/skills/commands/commit.md +79 -0
- package/bundled/skills/commands/config.md +48 -0
- package/bundled/skills/commands/coverage.md +53 -0
- package/bundled/skills/commands/database.md +70 -0
- package/bundled/skills/commands/derive-all.md +40 -0
- package/bundled/skills/commands/derive-atdd.md +33 -0
- package/bundled/skills/commands/derive-bdd.md +39 -0
- package/bundled/skills/commands/derive-tdd.md +40 -0
- package/bundled/skills/commands/derive.md +47 -0
- package/bundled/skills/commands/dev-workflow.md +104 -7
- package/bundled/skills/commands/discover.md +39 -0
- package/bundled/skills/commands/docgen.md +35 -0
- package/bundled/skills/commands/docs.md +40 -0
- package/bundled/skills/commands/durable.md +79 -0
- package/bundled/skills/commands/incident.md +84 -0
- package/bundled/skills/commands/init.md +55 -0
- package/bundled/skills/commands/methodology.md +72 -0
- package/bundled/skills/commands/metrics.md +65 -0
- package/bundled/skills/commands/migrate.md +84 -0
- package/bundled/skills/commands/pr.md +72 -0
- package/bundled/skills/commands/refactor.md +51 -0
- package/bundled/skills/commands/release.md +60 -0
- package/bundled/skills/commands/requirement.md +38 -0
- package/bundled/skills/commands/reverse-bdd.md +34 -0
- package/bundled/skills/commands/reverse-sdd.md +42 -0
- package/bundled/skills/commands/reverse-tdd.md +40 -0
- package/bundled/skills/commands/reverse.md +41 -0
- package/bundled/skills/commands/review.md +39 -0
- package/bundled/skills/commands/scan.md +68 -0
- package/bundled/skills/commands/sdd-retro.md +48 -0
- package/bundled/skills/commands/sdd.md +220 -0
- package/bundled/skills/commands/security.md +67 -0
- package/bundled/skills/commands/tdd.md +101 -0
- package/bundled/skills/commands/update.md +61 -0
- package/bundled/skills/commit-standards/SKILL.md +8 -2
- package/bundled/skills/database-assistant/SKILL.md +118 -0
- package/bundled/skills/dev-workflow-guide/SKILL.md +53 -7
- package/bundled/skills/dev-workflow-guide/workflow-phases.md +24 -0
- package/bundled/skills/durable-execution-assistant/SKILL.md +116 -0
- package/bundled/skills/forward-derivation/SKILL.md +7 -0
- package/bundled/skills/incident-response-assistant/SKILL.md +132 -0
- package/bundled/skills/methodology-system/SKILL.md +24 -2
- package/bundled/skills/metrics-dashboard-assistant/SKILL.md +109 -0
- package/bundled/skills/migration-assistant/SKILL.md +119 -0
- package/bundled/skills/pr-automation-assistant/SKILL.md +114 -0
- package/bundled/skills/project-discovery/SKILL.md +7 -0
- package/bundled/skills/refactoring-assistant/SKILL.md +7 -0
- package/bundled/skills/release-standards/SKILL.md +7 -0
- package/bundled/skills/requirement-assistant/SKILL.md +7 -0
- package/bundled/skills/reverse-engineer/SKILL.md +7 -0
- package/bundled/skills/security-assistant/SKILL.md +105 -0
- package/bundled/skills/security-scan-assistant/SKILL.md +96 -0
- package/bundled/skills/spec-driven-dev/SKILL.md +84 -4
- package/bundled/skills/spec-driven-dev/guide.md +156 -22
- package/bundled/skills/tdd-assistant/SKILL.md +7 -0
- package/bundled/skills/test-coverage-assistant/SKILL.md +11 -0
- package/bundled/skills/testing-guide/SKILL.md +23 -0
- package/package.json +1 -1
- package/src/commands/check.js +154 -8
- package/src/commands/config.js +231 -104
- package/src/commands/init.js +23 -3
- package/src/commands/update.js +250 -25
- package/src/config/ai-agent-paths.js +16 -0
- package/src/config/workflow-definitions.js +184 -0
- package/src/core/constants.js +6 -0
- package/src/flows/init-flow.js +23 -6
- package/src/i18n/messages.js +51 -3
- package/src/installers/integration-installer.js +67 -2
- package/src/installers/manifest-installer.js +1 -0
- package/src/installers/standards-installer.js +3 -2
- package/src/prompts/init.js +50 -3
- package/src/reconciler/manifest-migrator.js +2 -2
- package/src/reconciler/plan-executor.js +11 -0
- package/src/utils/integration-generator.js +327 -14
- package/src/utils/workflow-gate.js +292 -0
- package/standards-registry.json +160 -5
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# Branch Completion Workflow
|
|
2
|
+
|
|
3
|
+
> **Language**: English | [繁體中文](../locales/zh-TW/core/branch-completion.md)
|
|
4
|
+
|
|
5
|
+
**Version**: 1.0.0
|
|
6
|
+
**Last Updated**: 2026-03-20
|
|
7
|
+
**Applicability**: All projects using Git branching workflows
|
|
8
|
+
**Scope**: universal
|
|
9
|
+
**Inspired by**: [Superpowers](https://github.com/obra/superpowers) — finishing-a-development-branch (MIT)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Define a standardized workflow for completing development branches, including prerequisite checks, four completion options, and safe discard procedures. This standard prevents premature merges, forgotten branches, and accidental data loss.
|
|
16
|
+
|
|
17
|
+
定義分支完成的標準化工作流,包含前置檢查、四個完成選項與安全丟棄流程。防止過早合併、遺忘分支與意外資料遺失。
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Glossary
|
|
22
|
+
|
|
23
|
+
| Term | Definition |
|
|
24
|
+
|------|-----------|
|
|
25
|
+
| Branch Completion | The process of finishing work on a feature/fix branch |
|
|
26
|
+
| Prerequisites | Conditions that must be met before a branch can be considered complete |
|
|
27
|
+
| Discard Confirmation | A safety mechanism requiring explicit input before deleting work |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Core Principle — Test Before Talk
|
|
32
|
+
|
|
33
|
+
> **All tests must pass before any completion option is considered.**
|
|
34
|
+
|
|
35
|
+
所有測試必須通過,才能討論完成選項。
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Prerequisites
|
|
40
|
+
|
|
41
|
+
Before a branch can be completed, ALL of the following must pass:
|
|
42
|
+
|
|
43
|
+
| Check | Command (example) | Required |
|
|
44
|
+
|-------|-------------------|----------|
|
|
45
|
+
| All tests pass | `pnpm test` | Yes |
|
|
46
|
+
| Lint passes | `pnpm lint` | Yes |
|
|
47
|
+
| Type check passes | `pnpm tsc --noEmit` | Yes |
|
|
48
|
+
| No uncommitted changes | `git status --porcelain` | Yes |
|
|
49
|
+
|
|
50
|
+
If any prerequisite fails, the branch is **not ready for completion**. Fix the issues first.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Four Completion Options
|
|
55
|
+
|
|
56
|
+
### Option 1: Merge Locally(本地合併)
|
|
57
|
+
|
|
58
|
+
Merge the branch into the target branch on your local machine.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
git checkout main
|
|
62
|
+
git merge --no-ff feature/my-feature
|
|
63
|
+
git branch -d feature/my-feature
|
|
64
|
+
# If worktree exists:
|
|
65
|
+
git worktree remove .worktrees/my-feature
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**When to use**: Small changes, solo work, no review needed.
|
|
69
|
+
|
|
70
|
+
### Option 2: Create Pull Request(建立 PR)
|
|
71
|
+
|
|
72
|
+
Push the branch and create a pull request for review.
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
git push -u origin feature/my-feature
|
|
76
|
+
gh pr create --title "feat: add my feature" --body "..."
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**When to use**: Team projects, changes needing review, CI/CD pipelines.
|
|
80
|
+
|
|
81
|
+
### Option 3: Keep As-Is(保持現狀)
|
|
82
|
+
|
|
83
|
+
Keep the branch without merging or creating a PR.
|
|
84
|
+
|
|
85
|
+
- Record the branch state and reason for deferral
|
|
86
|
+
- Set a reminder to revisit
|
|
87
|
+
|
|
88
|
+
**When to use**: Work in progress, waiting for dependencies, exploring alternatives.
|
|
89
|
+
|
|
90
|
+
### Option 4: Discard(丟棄)
|
|
91
|
+
|
|
92
|
+
Delete the branch and all its changes.
|
|
93
|
+
|
|
94
|
+
**Safety requirement**: The user must **explicitly confirm** by typing the branch name.
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
⚠️ You are about to discard branch 'feature/my-feature'.
|
|
98
|
+
This will permanently delete all uncommitted and committed changes on this branch.
|
|
99
|
+
Type the branch name to confirm: feature/my-feature
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
# After confirmation:
|
|
104
|
+
git checkout main
|
|
105
|
+
git branch -D feature/my-feature
|
|
106
|
+
# If worktree exists:
|
|
107
|
+
git worktree remove .worktrees/my-feature
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**When to use**: Abandoned experiments, superseded approaches.
|
|
111
|
+
|
|
112
|
+
丟棄操作需要使用者明確確認(輸入分支名稱),防止誤刪。
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Decision Flow
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
Prerequisites pass?
|
|
120
|
+
├── No → Fix issues first
|
|
121
|
+
└── Yes → Choose completion option:
|
|
122
|
+
├── 1. Merge locally
|
|
123
|
+
├── 2. Create PR
|
|
124
|
+
├── 3. Keep as-is
|
|
125
|
+
└── 4. Discard (requires confirmation)
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Worktree Integration
|
|
131
|
+
|
|
132
|
+
If the branch has an associated worktree, the worktree must be cleaned up as part of the completion process:
|
|
133
|
+
|
|
134
|
+
| Completion Option | Worktree Action |
|
|
135
|
+
|------------------|----------------|
|
|
136
|
+
| Merge locally | Remove worktree after merge |
|
|
137
|
+
| Create PR | Keep worktree until PR is merged |
|
|
138
|
+
| Keep as-is | Keep worktree |
|
|
139
|
+
| Discard | Remove worktree immediately |
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Rules
|
|
144
|
+
|
|
145
|
+
| ID | Trigger | Action | Priority |
|
|
146
|
+
|----|---------|--------|----------|
|
|
147
|
+
| BC-001 | User selects Discard | Require branch name confirmation | Critical |
|
|
148
|
+
| BC-002 | Branch has associated worktree | Clean up worktree on completion | High |
|
|
149
|
+
| BC-003 | Prerequisites not met | Block completion, show failing checks | High |
|
|
150
|
+
| BC-004 | Branch idle for 14+ days | Notify user to complete or discard | Medium |
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## References
|
|
155
|
+
|
|
156
|
+
- **Superpowers**: [finishing-a-development-branch](https://github.com/obra/superpowers) (MIT)
|
|
157
|
+
- **Git Flow**: Branch lifecycle management
|
|
158
|
+
- **Trunk-Based Development**: Short-lived branches pattern
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
# Change Batching Standards
|
|
2
|
+
|
|
3
|
+
> **Language**: English | [繁體中文](../locales/zh-TW/core/change-batching-standards.md)
|
|
4
|
+
|
|
5
|
+
**Applicability**: All software projects using automated development pipelines
|
|
6
|
+
**Scope**: universal
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Change Batching Standards define how pending changes should be accumulated, evaluated, and merged into atomic commits. This standard addresses the gap between making individual changes and committing them, providing rules for when and how to batch multiple related changes into cohesive units.
|
|
13
|
+
|
|
14
|
+
## References
|
|
15
|
+
|
|
16
|
+
| Standard/Source | Content |
|
|
17
|
+
|----------------|---------|
|
|
18
|
+
| SWEBOK v4.0 Chapter 6 | Software Configuration Management |
|
|
19
|
+
| ISO/IEC 12207 | Configuration Management Process |
|
|
20
|
+
| Continuous Delivery (Jez Humble) | Small batch sizes principle |
|
|
21
|
+
| Lean Software Development | Batch size optimization |
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Pending Changes State Machine
|
|
26
|
+
|
|
27
|
+
### State Definitions
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
┌─────────┐ threshold met ┌─────────┐ merge success ┌─────────┐
|
|
31
|
+
│ PENDING │───────────────────▶│ READY │────────────────────▶│ MERGED │
|
|
32
|
+
│ 等待中 │ │ 就緒 │ │ 已合併 │
|
|
33
|
+
└─────────┘ └─────────┘ └─────────┘
|
|
34
|
+
▲ │ │
|
|
35
|
+
│ reset │ merge failure │
|
|
36
|
+
│ ▼ ▼
|
|
37
|
+
│ ┌─────────┐ ┌──────────┐
|
|
38
|
+
└────────────────────────│ FAILED │ │ ARCHIVED │
|
|
39
|
+
│ 失敗 │ │ 已歸檔 │
|
|
40
|
+
└─────────┘ └──────────┘
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### State Transitions
|
|
44
|
+
|
|
45
|
+
| From | To | Trigger | Action |
|
|
46
|
+
|------|----|---------|--------|
|
|
47
|
+
| PENDING | PENDING | New change added | Increment counters, re-evaluate thresholds |
|
|
48
|
+
| PENDING | READY | Threshold met | Prepare merge batch, run pre-merge validation |
|
|
49
|
+
| READY | MERGED | Merge succeeds | Create commit, clear batch, archive |
|
|
50
|
+
| READY | FAILED | Merge fails | Log failure, preserve changes |
|
|
51
|
+
| FAILED | PENDING | Reset | Re-queue changes, clear failure state |
|
|
52
|
+
| MERGED | ARCHIVED | Post-commit | Record batch metadata for audit |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Threshold Strategies
|
|
57
|
+
|
|
58
|
+
### Threshold Types
|
|
59
|
+
|
|
60
|
+
| Strategy | Parameter | Default | Description |
|
|
61
|
+
|----------|-----------|---------|-------------|
|
|
62
|
+
| **Count** | `maxChanges` | 5 | Merge after N individual changes accumulated |
|
|
63
|
+
| **Score** | `maxScore` | 10 | Merge when cumulative change score ≥ M |
|
|
64
|
+
| **Time** | `maxAge` | 30m | Merge when oldest pending change exceeds TTL |
|
|
65
|
+
| **Manual** | — | — | Merge only on explicit user request |
|
|
66
|
+
|
|
67
|
+
### Change Scoring
|
|
68
|
+
|
|
69
|
+
Each change is assigned a score based on complexity:
|
|
70
|
+
|
|
71
|
+
| Change Type | Score | Example |
|
|
72
|
+
|------------|-------|---------|
|
|
73
|
+
| Trivial | 1 | Typo fix, whitespace, comment update |
|
|
74
|
+
| Minor | 2 | Single function change, variable rename |
|
|
75
|
+
| Standard | 3 | New function, modified logic flow |
|
|
76
|
+
| Complex | 5 | Multi-file change, API modification |
|
|
77
|
+
| Critical | 8 | Schema change, breaking change |
|
|
78
|
+
|
|
79
|
+
### Threshold Configuration
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"batching": {
|
|
84
|
+
"strategy": "count",
|
|
85
|
+
"maxChanges": 5,
|
|
86
|
+
"maxScore": 10,
|
|
87
|
+
"maxAge": "30m",
|
|
88
|
+
"fallbackStrategy": "time"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Composite Thresholds
|
|
94
|
+
|
|
95
|
+
Multiple thresholds can be combined with OR logic (first threshold met triggers merge):
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
Merge when: changes ≥ 5 OR score ≥ 10 OR age ≥ 30m
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Merge Rules
|
|
104
|
+
|
|
105
|
+
### Priority Order
|
|
106
|
+
|
|
107
|
+
1. **Same-spec affinity**: Changes referencing the same SPEC-ID merge together first
|
|
108
|
+
2. **Same-file grouping**: Changes to the same file(s) merge together
|
|
109
|
+
3. **Dependency order**: Changes with dependencies merge in dependency order
|
|
110
|
+
4. **Chronological**: Within same priority, merge in creation order
|
|
111
|
+
|
|
112
|
+
### Conflict Resolution
|
|
113
|
+
|
|
114
|
+
| Conflict Type | Resolution Strategy | Fallback |
|
|
115
|
+
|--------------|-------------------|----------|
|
|
116
|
+
| Same line, same file | Latest change wins | Manual resolution |
|
|
117
|
+
| Overlapping functions | Semantic merge if possible | Manual resolution |
|
|
118
|
+
| Dependency conflict | Resolve dependency first | Reject batch, split |
|
|
119
|
+
|
|
120
|
+
### Pre-Merge Validation
|
|
121
|
+
|
|
122
|
+
Before merging a batch, validate:
|
|
123
|
+
|
|
124
|
+
| Check | Required | Description |
|
|
125
|
+
|-------|----------|-------------|
|
|
126
|
+
| All tests pass | Yes | Run test suite against merged state |
|
|
127
|
+
| No lint errors | Yes | Run linter on merged files |
|
|
128
|
+
| No conflicts | Yes | Verify clean merge without conflicts |
|
|
129
|
+
| AC coverage maintained | Recommended | AC coverage not decreased |
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Atomicity Guarantees
|
|
134
|
+
|
|
135
|
+
### All-or-Nothing Principle
|
|
136
|
+
|
|
137
|
+
A batch merge MUST be atomic:
|
|
138
|
+
|
|
139
|
+
- **Success**: ALL changes in the batch are committed together
|
|
140
|
+
- **Failure**: NO changes from the batch are committed; all revert to PENDING
|
|
141
|
+
|
|
142
|
+
### Atomicity Rules
|
|
143
|
+
|
|
144
|
+
| Rule | Description |
|
|
145
|
+
|------|-------------|
|
|
146
|
+
| **Single commit** | Each merged batch produces exactly one commit |
|
|
147
|
+
| **No partial merge** | If any change in the batch fails validation, the entire batch is rejected |
|
|
148
|
+
| **Rollback support** | Failed merges MUST restore all changes to PENDING state |
|
|
149
|
+
| **Isolation** | Batch merge MUST NOT affect changes outside the batch |
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Rollback Mechanism
|
|
154
|
+
|
|
155
|
+
### Failure Handling
|
|
156
|
+
|
|
157
|
+
When a batch merge fails:
|
|
158
|
+
|
|
159
|
+
1. **Log failure**: Record which changes were in the batch and what failed
|
|
160
|
+
2. **Preserve changes**: All changes return to PENDING state
|
|
161
|
+
3. **Diagnose**: Identify the failing change(s)
|
|
162
|
+
4. **Options**:
|
|
163
|
+
- Fix the failing change and retry
|
|
164
|
+
- Remove the failing change and merge the rest
|
|
165
|
+
- Split the batch into smaller groups
|
|
166
|
+
|
|
167
|
+
### Rollback Triggers
|
|
168
|
+
|
|
169
|
+
| Trigger | Action | Automatic? |
|
|
170
|
+
|---------|--------|-----------|
|
|
171
|
+
| Test failure | Reject entire batch | Yes |
|
|
172
|
+
| Lint error | Reject entire batch | Yes |
|
|
173
|
+
| Merge conflict | Reject and notify | Yes |
|
|
174
|
+
| Build failure | Reject entire batch | Yes |
|
|
175
|
+
| Manual rejection | Return to PENDING | No |
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## Batch Commit Message Format
|
|
180
|
+
|
|
181
|
+
Batched commits SHOULD use a structured message format:
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
<type>(<scope>): <summary of batch>
|
|
185
|
+
|
|
186
|
+
Changes included:
|
|
187
|
+
- <change 1 description>
|
|
188
|
+
- <change 2 description>
|
|
189
|
+
- <change 3 description>
|
|
190
|
+
|
|
191
|
+
Spec: SPEC-XXX (if applicable)
|
|
192
|
+
Batch: N changes, score M
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### Example
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
feat(auth): implement login validation and error handling
|
|
199
|
+
|
|
200
|
+
Changes included:
|
|
201
|
+
- Add email format validation
|
|
202
|
+
- Add password strength check
|
|
203
|
+
- Add error message display
|
|
204
|
+
- Add rate limiting for failed attempts
|
|
205
|
+
|
|
206
|
+
Spec: SPEC-001
|
|
207
|
+
Batch: 4 changes, score 11
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## Anti-Patterns
|
|
213
|
+
|
|
214
|
+
| Anti-Pattern | Impact | Correct Approach |
|
|
215
|
+
|--------------|--------|------------------|
|
|
216
|
+
| Infinite accumulation | Massive, unreviewable commits | Set reasonable thresholds |
|
|
217
|
+
| Mixing unrelated changes | Hard to review, hard to revert | Group by spec or feature |
|
|
218
|
+
| Partial commits | Broken intermediate states | Enforce atomicity |
|
|
219
|
+
| Ignoring failures | Broken code enters codebase | Always validate before merge |
|
|
220
|
+
| No rollback plan | Lost changes on failure | Preserve changes on failure |
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## Best Practices
|
|
225
|
+
|
|
226
|
+
### Do's
|
|
227
|
+
|
|
228
|
+
- ✅ Set explicit thresholds for automatic batching
|
|
229
|
+
- ✅ Group changes by specification or feature
|
|
230
|
+
- ✅ Validate the entire batch before committing
|
|
231
|
+
- ✅ Use atomic commits (all-or-nothing)
|
|
232
|
+
- ✅ Preserve changes on failure
|
|
233
|
+
- ✅ Log batch decisions for audit
|
|
234
|
+
|
|
235
|
+
### Don'ts
|
|
236
|
+
|
|
237
|
+
- ❌ Accumulate changes indefinitely
|
|
238
|
+
- ❌ Mix unrelated changes in one batch
|
|
239
|
+
- ❌ Commit partial batches
|
|
240
|
+
- ❌ Ignore validation failures
|
|
241
|
+
- ❌ Lose changes on merge failure
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Related Standards
|
|
246
|
+
|
|
247
|
+
- [Check-in Standards](checkin-standards.md) — Quality gates for commits
|
|
248
|
+
- [Pipeline Integration Standards](pipeline-integration-standards.md) — Pipeline automation
|
|
249
|
+
- [Commit Message Guide](commit-message-guide.md) — Commit message format
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## Version History
|
|
254
|
+
|
|
255
|
+
| Version | Date | Changes |
|
|
256
|
+
|---------|------|---------|
|
|
257
|
+
| 1.0.0 | 2026-03-18 | Initial version — state machine, threshold strategies, atomicity guarantees |
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
> **Language**: English | [繁體中文](../locales/zh-TW/core/checkin-standards.md)
|
|
4
4
|
|
|
5
|
-
**Version**: 1.
|
|
6
|
-
**Last Updated**: 2026-
|
|
5
|
+
**Version**: 1.5.0
|
|
6
|
+
**Last Updated**: 2026-03-18
|
|
7
7
|
**Applicability**: All software projects using version control
|
|
8
8
|
**Scope**: partial
|
|
9
9
|
**Industry Standards**: SWEBOK v4.0 Chapter 6
|
|
@@ -78,6 +78,11 @@ pip install -r requirements.txt && python -m py_compile src/**/*.py
|
|
|
78
78
|
- Coverage percentage not decreased
|
|
79
79
|
- Critical paths are tested
|
|
80
80
|
|
|
81
|
+
- [ ] **AC coverage verified** (if using specification-driven workflow)
|
|
82
|
+
- All Acceptance Criteria have corresponding tests (see [Acceptance Criteria Traceability](acceptance-criteria-traceability.md))
|
|
83
|
+
- AC coverage meets project threshold (default: 80% for check-in)
|
|
84
|
+
- No previously covered AC regressed to uncovered
|
|
85
|
+
|
|
81
86
|
**Project-Specific Test Commands**:
|
|
82
87
|
```bash
|
|
83
88
|
# Example: .NET project
|
|
@@ -189,11 +194,11 @@ dotnet list package --vulnerable
|
|
|
189
194
|
- Breaking changes noted
|
|
190
195
|
- Setup instructions current
|
|
191
196
|
|
|
192
|
-
- [ ] **CHANGELOG updated (
|
|
193
|
-
-
|
|
197
|
+
- [ ] **CHANGELOG updated (pre-release only)**
|
|
198
|
+
- CHANGELOG is updated during release preparation, not per commit
|
|
199
|
+
- For user-facing changes: entry added to `[Unreleased]` section before release
|
|
194
200
|
- Breaking changes marked with **BREAKING** prefix
|
|
195
|
-
-
|
|
196
|
-
- Note: Internal refactoring, test-only, docs-only changes typically don't need CHANGELOG entries
|
|
201
|
+
- See [changelog-standards.md](changelog-standards.md) for timing per workflow
|
|
197
202
|
|
|
198
203
|
**Documentation Formats**:
|
|
199
204
|
```
|
|
@@ -398,6 +403,7 @@ During development workflow execution, the following events should trigger check
|
|
|
398
403
|
| Change Accumulation | Files ≥5 or lines ≥200 | Suggest |
|
|
399
404
|
| Consecutive Skips | Skipped check-in 3 times | Warning |
|
|
400
405
|
| Work Complete | Uncommitted changes before finishing | Strongly Recommend |
|
|
406
|
+
| Batch Threshold | Pending changes reach configured threshold | Suggest |
|
|
401
407
|
|
|
402
408
|
### Reminder Behavior
|
|
403
409
|
|
|
@@ -430,6 +436,33 @@ During development workflow execution, the following events should trigger check
|
|
|
430
436
|
└────────────────────────────────────────────────┘
|
|
431
437
|
```
|
|
432
438
|
|
|
439
|
+
### Batch Threshold Trigger
|
|
440
|
+
|
|
441
|
+
When using automated pipelines with change batching (see [Change Batching Standards](change-batching-standards.md)):
|
|
442
|
+
|
|
443
|
+
- **Count threshold**: Trigger when accumulated changes ≥ configured `maxChanges`
|
|
444
|
+
- **Score threshold**: Trigger when cumulative change score ≥ configured `maxScore`
|
|
445
|
+
- **Time threshold**: Trigger when oldest pending change exceeds configured `maxAge`
|
|
446
|
+
- **Behavior**: Batch threshold triggers a check-in suggestion, not automatic commit (unless `autoCheckin` is enabled)
|
|
447
|
+
|
|
448
|
+
### Automated Check-in
|
|
449
|
+
|
|
450
|
+
When `autoCheckin` is enabled in pipeline configuration (see [Pipeline Integration Standards](pipeline-integration-standards.md)):
|
|
451
|
+
|
|
452
|
+
| Precondition | Required | Description |
|
|
453
|
+
|-------------|----------|-------------|
|
|
454
|
+
| All tests pass | Yes | Full test suite passes including new tests |
|
|
455
|
+
| Lint clean | Yes | No lint errors in changed files |
|
|
456
|
+
| AC coverage met | Yes | AC coverage meets project threshold |
|
|
457
|
+
| No conflicts | Yes | Clean merge with target branch |
|
|
458
|
+
| Batch validated | Yes (if batching) | All changes in batch validated together |
|
|
459
|
+
|
|
460
|
+
**Safety Rules**:
|
|
461
|
+
- Automated check-in MUST NOT push to protected branches
|
|
462
|
+
- Automated check-in MUST create a proper commit message (not "auto-commit")
|
|
463
|
+
- Automated check-in MUST be auditable (log who/what/when)
|
|
464
|
+
- Users can always override with manual commit
|
|
465
|
+
|
|
433
466
|
### Skip Tracking
|
|
434
467
|
|
|
435
468
|
When user chooses "commit later":
|
|
@@ -953,6 +986,7 @@ git commit -m "feat(module-c): add export to CSV feature"
|
|
|
953
986
|
|
|
954
987
|
| Version | Date | Changes |
|
|
955
988
|
|---------|------|---------|
|
|
989
|
+
| 1.5.0 | 2026-03-18 | Added: AC coverage verification, batch threshold trigger, automated check-in rules |
|
|
956
990
|
| 1.4.0 | 2026-01-16 | Added: Bug Fix Testing Evaluation section with decision matrix |
|
|
957
991
|
| 1.3.0 | 2026-01-05 | Added: SWEBOK v4.0 Chapter 6 (Software Configuration Management) to References |
|
|
958
992
|
| 1.2.5 | 2025-12-16 | Clarified: CHANGELOG update is for user-facing changes only, added to [Unreleased] section |
|
|
@@ -972,6 +1006,9 @@ git commit -m "feat(module-c): add export to CSV feature"
|
|
|
972
1006
|
- [Commit Message Guide](commit-message-guide.md)
|
|
973
1007
|
- [Code Review Checklist](code-review-checklist.md)
|
|
974
1008
|
- [Deployment Standards](deployment-standards.md) - Quality gates feed into deployment readiness
|
|
1009
|
+
- [Acceptance Criteria Traceability](acceptance-criteria-traceability.md) - AC coverage verification
|
|
1010
|
+
- [Change Batching Standards](change-batching-standards.md) - Batch threshold triggers
|
|
1011
|
+
- [Pipeline Integration Standards](pipeline-integration-standards.md) - Automated check-in
|
|
975
1012
|
|
|
976
1013
|
---
|
|
977
1014
|
|