universal-dev-standards 5.17.0 → 6.1.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 +13 -135
- package/bundled/ai/options/commit-message/bilingual.ai.yaml +19 -1
- package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +13 -4
- package/bundled/ai/standards/accessibility-standards.ai.yaml +1 -1
- package/bundled/ai/standards/ai-response-navigation.ai.yaml +15 -2
- package/bundled/ai/standards/api-design-standards.ai.yaml +27 -4
- package/bundled/ai/standards/behavior-snapshot.ai.yaml +86 -9
- package/bundled/ai/standards/checkin-standards.ai.yaml +3 -3
- package/bundled/ai/standards/code-review.ai.yaml +2 -2
- package/bundled/ai/standards/context-aware-loading.ai.yaml +3 -3
- package/bundled/ai/standards/data-migration-testing.ai.yaml +79 -3
- package/bundled/ai/standards/deprecation-standards.ai.yaml +10 -2
- package/bundled/ai/standards/developer-memory.ai.yaml +4 -3
- package/bundled/ai/standards/documentation-writing-standards.ai.yaml +1 -1
- package/bundled/ai/standards/flow-based-testing.ai.yaml +2 -2
- package/bundled/ai/standards/forward-derivation-standards.ai.yaml +26 -2
- package/bundled/ai/standards/frontend-design-standards.ai.yaml +33 -3
- package/bundled/ai/standards/full-coverage-testing.ai.yaml +34 -2
- package/bundled/ai/standards/git-worktree.ai.yaml +3 -3
- package/bundled/ai/standards/logging.ai.yaml +97 -3
- package/bundled/ai/standards/mock-boundary.ai.yaml +48 -2
- package/bundled/ai/standards/model-provenance.ai.yaml +297 -0
- package/bundled/ai/standards/model-selection.ai.yaml +11 -2
- package/bundled/ai/standards/observability-standards.ai.yaml +10 -0
- package/bundled/ai/standards/performance-standards.ai.yaml +46 -1
- package/bundled/ai/standards/pii-classification.ai.yaml +15 -1
- package/bundled/ai/standards/pipeline-security-gates.ai.yaml +10 -0
- package/bundled/ai/standards/privacy-standards.ai.yaml +2 -2
- package/bundled/ai/standards/project-context-memory.ai.yaml +2 -2
- package/bundled/ai/standards/push-standards.ai.yaml +14 -3
- package/bundled/ai/standards/refactoring-standards.ai.yaml +68 -3
- package/bundled/ai/standards/requirement-engineering.ai.yaml +42 -3
- package/bundled/ai/standards/resource-cost-boundary.ai.yaml +279 -0
- package/bundled/ai/standards/reverse-engineering-standards.ai.yaml +55 -2
- package/bundled/ai/standards/security-testing.ai.yaml +13 -2
- package/bundled/ai/standards/self-review-protocol.ai.yaml +15 -10
- package/bundled/ai/standards/skill-standard-alignment-check.ai.yaml +37 -2
- package/bundled/ai/standards/user-journey-testing.ai.yaml +107 -0
- package/bundled/ai/standards/verification-evidence.ai.yaml +88 -5
- package/bundled/ai/standards/verification-oracle.ai.yaml +278 -0
- package/bundled/ai/standards/versioning.ai.yaml +32 -38
- package/bundled/core/acceptance-criteria-traceability.md +15 -5
- package/bundled/core/accessibility-standards.md +8 -4
- package/bundled/core/ai-friendly-architecture.md +1 -1
- package/bundled/core/ai-response-navigation.md +31 -3
- package/bundled/core/anti-sycophancy-prompting.md +1 -1
- package/bundled/core/api-design-standards.md +92 -7
- package/bundled/core/audit-trail.md +119 -0
- package/bundled/core/behavior-snapshot.md +94 -7
- package/bundled/core/browser-compatibility-standards.md +15 -2
- package/bundled/core/checkin-standards.md +10 -3
- package/bundled/core/code-review-checklist.md +10 -2
- package/bundled/core/container-image-standards.md +97 -0
- package/bundled/core/context-aware-loading.md +2 -2
- package/bundled/core/cost-budget-test.md +1 -1
- package/bundled/core/cross-flow-regression.md +3 -2
- package/bundled/core/data-contract.md +104 -0
- package/bundled/core/data-migration-testing.md +90 -0
- package/bundled/core/data-pipeline.md +113 -0
- package/bundled/core/deprecation-standards.md +16 -2
- package/bundled/core/developer-memory.md +13 -8
- package/bundled/core/documentation-writing-standards.md +2 -2
- package/bundled/core/error-code-standards.md +4 -3
- package/bundled/core/feature-discovery-standards.md +191 -0
- package/bundled/core/flaky-test-management.md +1 -1
- package/bundled/core/flow-based-testing.md +3 -3
- package/bundled/core/forward-derivation-standards.md +33 -5
- package/bundled/core/frontend-design-standards.md +93 -4
- package/bundled/core/full-coverage-testing.md +72 -0
- package/bundled/core/git-worktree.md +4 -4
- package/bundled/core/guides/performance-guide.md +1 -1
- package/bundled/core/guides/security-guide.md +1 -1
- package/bundled/core/health-check-standards.md +2 -2
- package/bundled/core/iac-design-principles.md +97 -0
- package/bundled/core/incident-response.md +119 -0
- package/bundled/core/license-compliance.md +2 -0
- package/bundled/core/logging-standards.md +78 -2
- package/bundled/core/mock-boundary.md +54 -2
- package/bundled/core/model-provenance.md +181 -0
- package/bundled/core/model-selection.md +27 -2
- package/bundled/core/multi-environment-e2e-testing.md +195 -0
- package/bundled/core/packaging-standards.md +1 -0
- package/bundled/core/performance-standards.md +96 -2
- package/bundled/core/pii-classification.md +148 -0
- package/bundled/core/pipeline-security-gates.md +22 -2
- package/bundled/core/postmortem-standards.md +2 -0
- package/bundled/core/prd-standards.md +91 -0
- package/bundled/core/privacy-standards.md +14 -3
- package/bundled/core/product-metrics-standards.md +100 -0
- package/bundled/core/project-context-memory.md +8 -2
- package/bundled/core/prompt-regression.md +1 -1
- package/bundled/core/push-standards.md +82 -0
- package/bundled/core/refactoring-standards.md +44 -3
- package/bundled/core/replay-test.md +1 -1
- package/bundled/core/requirement-engineering.md +2 -2
- package/bundled/core/resource-cost-boundary.md +180 -0
- package/bundled/core/reverse-engineering-standards.md +66 -2
- package/bundled/core/runbook.md +113 -0
- package/bundled/core/schema-evolution.md +105 -0
- package/bundled/core/secret-management-standards.md +110 -0
- package/bundled/core/security-testing.md +26 -2
- package/bundled/core/self-review-protocol.md +15 -10
- package/bundled/core/skill-standard-alignment-check.md +53 -0
- package/bundled/core/slo-sli.md +109 -0
- package/bundled/core/smoke-test.md +1 -1
- package/bundled/core/tech-debt-standards.md +1 -1
- package/bundled/core/test-data-standards.md +2 -2
- package/bundled/core/user-journey-testing.md +102 -0
- package/bundled/core/user-story-mapping.md +96 -0
- package/bundled/core/verification-evidence.md +170 -10
- package/bundled/core/verification-oracle.md +167 -0
- package/bundled/core/versioning.md +133 -109
- package/bundled/locales/COVERAGE.md +94 -77
- package/bundled/locales/zh-CN/CHANGELOG.md +94 -6
- package/bundled/locales/zh-CN/CLAUDE.md +1 -1
- package/bundled/locales/zh-CN/MAINTENANCE.md +42 -661
- package/bundled/locales/zh-CN/README.md +25 -12
- package/bundled/locales/zh-CN/SECURITY.md +2 -2
- package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +2 -2
- package/bundled/locales/zh-CN/ai/options/commit-message/bilingual.ai.yaml +6 -1
- package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +4 -6
- package/bundled/locales/zh-CN/core/accessibility-standards.md +1 -1
- package/bundled/locales/zh-CN/core/adversarial-test.md +226 -0
- package/bundled/locales/zh-CN/core/agent-behavior-discipline.md +187 -0
- package/bundled/locales/zh-CN/core/ai-response-navigation.md +32 -6
- package/bundled/locales/zh-CN/core/anti-sycophancy-prompting.md +1 -1
- package/bundled/locales/zh-CN/core/api-design-standards.md +1 -1
- package/bundled/locales/zh-CN/core/behavior-snapshot.md +335 -0
- package/bundled/locales/zh-CN/core/browser-compatibility-standards.md +239 -0
- package/bundled/locales/zh-CN/core/cd-deployment-strategies.md +135 -0
- package/bundled/locales/zh-CN/core/chaos-injection-tests.md +130 -0
- package/bundled/locales/zh-CN/core/checkin-standards.md +1 -1
- package/bundled/locales/zh-CN/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-CN/core/container-security.md +535 -0
- package/bundled/locales/zh-CN/core/context-aware-loading.md +1 -1
- package/bundled/locales/zh-CN/core/contract-testing-standards.md +191 -0
- package/bundled/locales/zh-CN/core/cost-budget-test.md +86 -0
- package/bundled/locales/zh-CN/core/cross-flow-regression.md +200 -0
- package/bundled/locales/zh-CN/core/data-migration-testing.md +217 -0
- package/bundled/locales/zh-CN/core/deployment-standards.md +328 -9
- package/bundled/locales/zh-CN/core/deprecation-standards.md +1 -1
- package/bundled/locales/zh-CN/core/developer-memory.md +2 -2
- package/bundled/locales/zh-CN/core/disaster-recovery-drill.md +87 -0
- package/bundled/locales/zh-CN/core/documentation-structure.md +1 -1
- package/bundled/locales/zh-CN/core/documentation-writing-standards.md +1 -1
- package/bundled/locales/zh-CN/core/error-code-standards.md +2 -2
- package/bundled/locales/zh-CN/core/feature-manifest-standard.md +222 -0
- package/bundled/locales/zh-CN/core/flaky-test-management.md +87 -0
- package/bundled/locales/zh-CN/core/flow-based-testing.md +284 -0
- package/bundled/locales/zh-CN/core/forward-derivation-standards.md +3 -4
- package/bundled/locales/zh-CN/core/frontend-design-standards.md +1 -1
- package/bundled/locales/zh-CN/core/full-coverage-testing.md +269 -0
- package/bundled/locales/zh-CN/core/git-worktree.md +1 -1
- package/bundled/locales/zh-CN/core/governance-layer.md +160 -0
- package/bundled/locales/zh-CN/core/guides/performance-guide.md +515 -0
- package/bundled/locales/zh-CN/core/guides/security-guide.md +494 -0
- package/bundled/locales/zh-CN/core/knowledge-graph-memory.md +128 -0
- package/bundled/locales/zh-CN/core/license-compliance.md +131 -0
- package/bundled/locales/zh-CN/core/llm-output-validation.md +192 -0
- package/bundled/locales/zh-CN/core/logging-standards.md +205 -7
- package/bundled/locales/zh-CN/core/mock-boundary.md +161 -0
- package/bundled/locales/zh-CN/core/model-selection.md +28 -5
- package/bundled/locales/zh-CN/core/mutation-testing.md +106 -0
- package/bundled/locales/zh-CN/core/no-cicd-deployment.md +219 -0
- package/bundled/locales/zh-CN/core/packaging-standards.md +77 -5
- package/bundled/locales/zh-CN/core/pipeline-security-gates.md +146 -0
- package/bundled/locales/zh-CN/core/policy-as-code-testing.md +203 -0
- package/bundled/locales/zh-CN/core/privacy-standards.md +1 -1
- package/bundled/locales/zh-CN/core/project-context-memory.md +1 -1
- package/bundled/locales/zh-CN/core/prompt-regression.md +88 -0
- package/bundled/locales/zh-CN/core/property-based-testing.md +87 -0
- package/bundled/locales/zh-CN/core/release-quality-manifest.md +207 -0
- package/bundled/locales/zh-CN/core/release-readiness-gate.md +193 -0
- package/bundled/locales/zh-CN/core/replay-test.md +102 -0
- package/bundled/locales/zh-CN/core/requirement-engineering.md +1 -1
- package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +46 -1
- package/bundled/locales/zh-CN/core/rollback-standards.md +120 -0
- package/bundled/locales/zh-CN/core/sast-advanced.md +309 -0
- package/bundled/locales/zh-CN/core/secure-op.md +328 -0
- package/bundled/locales/zh-CN/core/security-testing.md +113 -0
- package/bundled/locales/zh-CN/core/self-review-protocol.md +172 -0
- package/bundled/locales/zh-CN/core/server-ops-security.md +507 -0
- package/bundled/locales/zh-CN/core/smoke-test.md +79 -0
- package/bundled/locales/zh-CN/core/spec-driven-development.md +39 -3
- package/bundled/locales/zh-CN/core/supply-chain-attestation.md +131 -0
- package/bundled/locales/zh-CN/core/verification-evidence.md +252 -41
- package/bundled/locales/zh-CN/core/versioning.md +1 -1
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +36 -7
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +71 -53
- package/bundled/locales/zh-CN/docs/MIGRATION-v6.md +88 -0
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +2 -2
- package/bundled/locales/zh-CN/docs/USER-MANUAL.md +14 -14
- package/bundled/locales/zh-CN/docs/specs/system/memory-adoption-strategy.md +105 -0
- package/bundled/locales/zh-CN/docs/user/FAQ.md +132 -0
- package/bundled/locales/zh-CN/docs/user/GETTING-STARTED.md +144 -0
- package/bundled/locales/zh-CN/docs/user/GLOSSARY.md +178 -0
- package/bundled/locales/zh-CN/docs/user/README.md +70 -0
- package/bundled/locales/zh-CN/docs/user/TROUBLESHOOTING.md +190 -0
- package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +1 -1
- package/bundled/locales/zh-CN/integrations/github-copilot/README.md +1 -1
- package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +3 -3
- package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +3 -3
- package/bundled/locales/zh-CN/methodologies/guides/sdd-guide.md +836 -0
- package/bundled/locales/zh-CN/options/changelog/auto-generated.md +166 -0
- package/bundled/locales/zh-CN/options/changelog/keep-a-changelog.md +140 -0
- package/bundled/locales/zh-CN/options/code-review/automated-review.md +214 -0
- package/bundled/locales/zh-CN/options/code-review/pair-programming.md +166 -0
- package/bundled/locales/zh-CN/options/code-review/pr-review.md +167 -0
- package/bundled/locales/zh-CN/options/commit-message/bilingual.md +10 -3
- package/bundled/locales/zh-CN/options/documentation/api-docs.md +191 -0
- package/bundled/locales/zh-CN/options/documentation/markdown-docs.md +150 -0
- package/bundled/locales/zh-CN/options/documentation/wiki-style.md +131 -0
- package/bundled/locales/zh-CN/options/project-structure/kotlin.md +144 -0
- package/bundled/locales/zh-CN/options/project-structure/php.md +168 -0
- package/bundled/locales/zh-CN/options/project-structure/ruby.md +156 -0
- package/bundled/locales/zh-CN/options/project-structure/rust.md +136 -0
- package/bundled/locales/zh-CN/options/project-structure/swift.md +165 -0
- package/bundled/locales/zh-CN/options/testing/contract-testing.md +237 -0
- package/bundled/locales/zh-CN/options/testing/industry-pyramid.md +200 -0
- package/bundled/locales/zh-CN/options/testing/istqb-framework.md +144 -0
- package/bundled/locales/zh-CN/options/testing/performance-testing.md +251 -0
- package/bundled/locales/zh-CN/options/testing/security-testing.md +192 -0
- package/bundled/locales/zh-CN/skills/README.md +89 -126
- package/bundled/locales/zh-CN/skills/ac-coverage/SKILL.md +5 -7
- package/bundled/locales/zh-CN/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/agents/code-architect.md +263 -0
- package/bundled/locales/zh-CN/skills/agents/doc-writer.md +410 -0
- package/bundled/locales/zh-CN/skills/agents/reviewer.md +357 -0
- package/bundled/locales/zh-CN/skills/agents/spec-analyst.md +410 -0
- package/bundled/locales/zh-CN/skills/agents/test-specialist.md +368 -0
- package/bundled/locales/zh-CN/skills/ai-collaboration-standards/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +3 -4
- package/bundled/locales/zh-CN/skills/audit-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +1 -2
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +115 -17
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/guide.md +37 -12
- package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/ci-cd-assistant/SKILL.md +50 -0
- package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +5 -5
- package/bundled/locales/zh-CN/skills/commands/ac-coverage.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/atdd.md +3 -3
- package/bundled/locales/zh-CN/skills/commands/bdd.md +2 -2
- package/bundled/locales/zh-CN/skills/commands/brainstorm.md +26 -17
- package/bundled/locales/zh-CN/skills/commands/{review.md → code-review.md} +4 -4
- package/bundled/locales/zh-CN/skills/commands/derive-all.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/derive-atdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/derive-bdd.md +2 -3
- package/bundled/locales/zh-CN/skills/commands/derive-tdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/derive.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/dev-workflow.md +2 -2
- package/bundled/locales/zh-CN/skills/commands/methodology.md +4 -4
- package/bundled/locales/zh-CN/skills/commands/pr.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/tdd.md +1 -1
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/contract-test-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/dev-methodology/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/dev-methodology/create-methodology.md +456 -0
- package/bundled/locales/zh-CN/skills/dev-methodology/guide.md +6 -6
- package/bundled/locales/zh-CN/skills/dev-methodology/runtime.md +296 -0
- package/bundled/locales/zh-CN/skills/dev-workflow-guide/SKILL.md +5 -5
- package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/e2e-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/incident-response-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/journey-test-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/logging-guide/SKILL.md +169 -142
- package/bundled/locales/zh-CN/skills/migration-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/observability-assistant/guide.md +1 -1
- package/bundled/locales/zh-CN/skills/pr-automation-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/project-discovery/guide.md +2 -2
- package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/runbook-assistant/guide.md +1 -1
- package/bundled/locales/zh-CN/skills/security-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/skill-builder/SKILL.md +3 -3
- package/bundled/locales/zh-CN/skills/slo-assistant/guide.md +1 -1
- package/bundled/locales/zh-CN/skills/spec-derivation/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/spec-derivation/guide.md +8 -9
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/sweep/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-CN/skills/testing-guide/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/testing-guide/testing-theory.md +2298 -0
- package/bundled/locales/zh-CN/skills/workflows/README.md +451 -0
- package/bundled/locales/zh-TW/CHANGELOG.md +94 -6
- package/bundled/locales/zh-TW/CLAUDE.md +1 -1
- package/bundled/locales/zh-TW/MAINTENANCE.md +51 -4
- package/bundled/locales/zh-TW/README.md +25 -12
- package/bundled/locales/zh-TW/SECURITY.md +2 -2
- package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +2 -2
- package/bundled/locales/zh-TW/ai/options/commit-message/bilingual.ai.yaml +6 -1
- package/bundled/locales/zh-TW/ai/standards/versioning.ai.yaml +8 -48
- package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +4 -6
- package/bundled/locales/zh-TW/core/accessibility-standards.md +1 -1
- package/bundled/locales/zh-TW/core/adversarial-test.md +226 -0
- package/bundled/locales/zh-TW/core/agent-behavior-discipline.md +187 -0
- package/bundled/locales/zh-TW/core/ai-response-navigation.md +32 -6
- package/bundled/locales/zh-TW/core/anti-sycophancy-prompting.md +1 -1
- package/bundled/locales/zh-TW/core/api-design-standards.md +91 -9
- package/bundled/locales/zh-TW/core/audit-trail.md +110 -0
- package/bundled/locales/zh-TW/core/behavior-snapshot.md +335 -0
- package/bundled/locales/zh-TW/core/browser-compatibility-standards.md +1 -0
- package/bundled/locales/zh-TW/core/cd-deployment-strategies.md +135 -0
- package/bundled/locales/zh-TW/core/chaos-injection-tests.md +130 -0
- package/bundled/locales/zh-TW/core/checkin-standards.md +1 -1
- package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-TW/core/container-image-standards.md +93 -0
- package/bundled/locales/zh-TW/core/container-security.md +535 -0
- package/bundled/locales/zh-TW/core/cost-budget-test.md +86 -0
- package/bundled/locales/zh-TW/core/cross-flow-regression.md +1 -0
- package/bundled/locales/zh-TW/core/data-contract.md +101 -0
- package/bundled/locales/zh-TW/core/data-migration-testing.md +217 -0
- package/bundled/locales/zh-TW/core/data-pipeline.md +105 -0
- package/bundled/locales/zh-TW/core/deployment-standards.md +363 -25
- package/bundled/locales/zh-TW/core/deprecation-standards.md +17 -4
- package/bundled/locales/zh-TW/core/developer-memory.md +2 -2
- package/bundled/locales/zh-TW/core/disaster-recovery-drill.md +87 -0
- package/bundled/locales/zh-TW/core/documentation-writing-standards.md +1 -1
- package/bundled/locales/zh-TW/core/error-code-standards.md +2 -2
- package/bundled/locales/zh-TW/core/feature-manifest-standard.md +222 -0
- package/bundled/locales/zh-TW/core/flaky-test-management.md +87 -0
- package/bundled/locales/zh-TW/core/flow-based-testing.md +284 -0
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +3 -4
- package/bundled/locales/zh-TW/core/frontend-design-standards.md +1 -1
- package/bundled/locales/zh-TW/core/full-coverage-testing.md +250 -0
- package/bundled/locales/zh-TW/core/git-worktree.md +1 -1
- package/bundled/locales/zh-TW/core/guides/performance-guide.md +515 -0
- package/bundled/locales/zh-TW/core/guides/security-guide.md +494 -0
- package/bundled/locales/zh-TW/core/iac-design-principles.md +90 -0
- package/bundled/locales/zh-TW/core/incident-response.md +111 -0
- package/bundled/locales/zh-TW/core/license-compliance.md +131 -0
- package/bundled/locales/zh-TW/core/llm-output-validation.md +192 -0
- package/bundled/locales/zh-TW/core/logging-standards.md +208 -4
- package/bundled/locales/zh-TW/core/mock-boundary.md +161 -0
- package/bundled/locales/zh-TW/core/model-provenance.md +173 -0
- package/bundled/locales/zh-TW/core/model-selection.md +28 -5
- package/bundled/locales/zh-TW/core/mutation-testing.md +106 -0
- package/bundled/locales/zh-TW/core/no-cicd-deployment.md +219 -0
- package/bundled/locales/zh-TW/core/packaging-standards.md +77 -5
- package/bundled/locales/zh-TW/core/performance-standards.md +84 -5
- package/bundled/locales/zh-TW/core/pii-classification.md +102 -0
- package/bundled/locales/zh-TW/core/pipeline-security-gates.md +146 -0
- package/bundled/locales/zh-TW/core/policy-as-code-testing.md +203 -0
- package/bundled/locales/zh-TW/core/prd-standards.md +88 -0
- package/bundled/locales/zh-TW/core/privacy-standards.md +1 -1
- package/bundled/locales/zh-TW/core/product-metrics-standards.md +96 -0
- package/bundled/locales/zh-TW/core/project-context-memory.md +1 -1
- package/bundled/locales/zh-TW/core/prompt-regression.md +88 -0
- package/bundled/locales/zh-TW/core/property-based-testing.md +87 -0
- package/bundled/locales/zh-TW/core/refactoring-standards.md +43 -6
- package/bundled/locales/zh-TW/core/release-quality-manifest.md +207 -0
- package/bundled/locales/zh-TW/core/replay-test.md +102 -0
- package/bundled/locales/zh-TW/core/requirement-engineering.md +1 -1
- package/bundled/locales/zh-TW/core/resource-cost-boundary.md +175 -0
- package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +64 -5
- package/bundled/locales/zh-TW/core/rollback-standards.md +120 -0
- package/bundled/locales/zh-TW/core/runbook.md +110 -0
- package/bundled/locales/zh-TW/core/sast-advanced.md +309 -0
- package/bundled/locales/zh-TW/core/schema-evolution.md +98 -0
- package/bundled/locales/zh-TW/core/secret-management-standards.md +101 -0
- package/bundled/locales/zh-TW/core/secure-op.md +328 -0
- package/bundled/locales/zh-TW/core/security-testing.md +113 -0
- package/bundled/locales/zh-TW/core/self-review-protocol.md +18 -13
- package/bundled/locales/zh-TW/core/server-ops-security.md +507 -0
- package/bundled/locales/zh-TW/core/slo-sli.md +108 -0
- package/bundled/locales/zh-TW/core/smoke-test.md +79 -0
- package/bundled/locales/zh-TW/core/spec-driven-development.md +19 -11
- package/bundled/locales/zh-TW/core/supply-chain-attestation.md +131 -0
- package/bundled/locales/zh-TW/core/user-journey-testing.md +111 -0
- package/bundled/locales/zh-TW/core/user-story-mapping.md +94 -0
- package/bundled/locales/zh-TW/core/verification-evidence.md +260 -31
- package/bundled/locales/zh-TW/core/verification-oracle.md +159 -0
- package/bundled/locales/zh-TW/core/versioning.md +112 -112
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +36 -7
- package/bundled/locales/zh-TW/docs/DEV-WORKFLOW-MAPPING.md +6 -6
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +71 -53
- package/bundled/locales/zh-TW/docs/MIGRATION-v6.md +88 -0
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +2 -2
- package/bundled/locales/zh-TW/docs/USER-MANUAL.md +14 -14
- package/bundled/locales/zh-TW/docs/specs/system/memory-adoption-strategy.md +105 -0
- package/bundled/locales/zh-TW/docs/user/FAQ.md +132 -0
- package/bundled/locales/zh-TW/docs/user/GETTING-STARTED.md +144 -0
- package/bundled/locales/zh-TW/docs/user/GLOSSARY.md +178 -0
- package/bundled/locales/zh-TW/docs/user/README.md +70 -0
- package/bundled/locales/zh-TW/docs/user/TROUBLESHOOTING.md +190 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +1 -1
- package/bundled/locales/zh-TW/integrations/github-copilot/README.md +1 -1
- package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +3 -3
- package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +3 -3
- package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +523 -26
- package/bundled/locales/zh-TW/options/changelog/auto-generated.md +166 -0
- package/bundled/locales/zh-TW/options/changelog/keep-a-changelog.md +140 -0
- package/bundled/locales/zh-TW/options/code-review/automated-review.md +214 -0
- package/bundled/locales/zh-TW/options/code-review/pair-programming.md +166 -0
- package/bundled/locales/zh-TW/options/code-review/pr-review.md +167 -0
- package/bundled/locales/zh-TW/options/commit-message/bilingual.md +10 -3
- package/bundled/locales/zh-TW/options/documentation/api-docs.md +191 -0
- package/bundled/locales/zh-TW/options/documentation/markdown-docs.md +150 -0
- package/bundled/locales/zh-TW/options/documentation/wiki-style.md +131 -0
- package/bundled/locales/zh-TW/options/project-structure/kotlin.md +144 -0
- package/bundled/locales/zh-TW/options/project-structure/php.md +168 -0
- package/bundled/locales/zh-TW/options/project-structure/ruby.md +156 -0
- package/bundled/locales/zh-TW/options/project-structure/rust.md +136 -0
- package/bundled/locales/zh-TW/options/project-structure/swift.md +165 -0
- package/bundled/locales/zh-TW/options/testing/contract-testing.md +237 -0
- package/bundled/locales/zh-TW/options/testing/industry-pyramid.md +200 -0
- package/bundled/locales/zh-TW/options/testing/istqb-framework.md +144 -0
- package/bundled/locales/zh-TW/options/testing/performance-testing.md +251 -0
- package/bundled/locales/zh-TW/options/testing/security-testing.md +192 -0
- package/bundled/locales/zh-TW/skills/README.md +91 -128
- package/bundled/locales/zh-TW/skills/ac-coverage/SKILL.md +4 -6
- package/bundled/locales/zh-TW/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/agents/code-architect.md +263 -0
- package/bundled/locales/zh-TW/skills/agents/doc-writer.md +410 -0
- package/bundled/locales/zh-TW/skills/agents/reviewer.md +357 -0
- package/bundled/locales/zh-TW/skills/agents/spec-analyst.md +410 -0
- package/bundled/locales/zh-TW/skills/agents/test-specialist.md +368 -0
- package/bundled/locales/zh-TW/skills/ai-collaboration-standards/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +3 -4
- package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +1 -2
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +116 -18
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/guide.md +38 -11
- package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +3 -1
- package/bundled/locales/zh-TW/skills/ci-cd-assistant/SKILL.md +50 -0
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +7 -5
- package/bundled/locales/zh-TW/skills/commands/ac-coverage.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/atdd.md +3 -3
- package/bundled/locales/zh-TW/skills/commands/bdd.md +2 -2
- package/bundled/locales/zh-TW/skills/commands/brainstorm.md +26 -17
- package/bundled/locales/zh-TW/skills/commands/{review.md → code-review.md} +5 -5
- package/bundled/locales/zh-TW/skills/commands/derive-all.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/derive-atdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/derive-bdd.md +2 -3
- package/bundled/locales/zh-TW/skills/commands/derive-tdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/derive.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/dev-workflow.md +2 -2
- package/bundled/locales/zh-TW/skills/commands/methodology.md +4 -4
- package/bundled/locales/zh-TW/skills/commands/pr.md +1 -1
- package/bundled/locales/zh-TW/skills/commands/tdd.md +1 -1
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/contract-test-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/dev-methodology/create-methodology.md +456 -0
- package/bundled/locales/zh-TW/skills/dev-methodology/guide.md +5 -5
- package/bundled/locales/zh-TW/skills/dev-methodology/runtime.md +296 -0
- package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +5 -5
- package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/e2e-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/incident-response-assistant/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/logging-guide/SKILL.md +52 -27
- package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/pr-automation-assistant/SKILL.md +3 -1
- package/bundled/locales/zh-TW/skills/project-discovery/guide.md +2 -2
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/security-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/spec-derivation/guide.md +7 -8
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/sweep/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +3 -1
- package/bundled/locales/zh-TW/skills/testing-guide/SKILL.md +2 -2
- package/bundled/locales/zh-TW/skills/testing-guide/testing-theory.md +2298 -0
- package/bundled/locales/zh-TW/skills/workflows/README.md +451 -0
- package/bundled/skills/README.md +1 -1
- package/bundled/skills/ac-coverage/SKILL.md +17 -7
- package/bundled/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/skills/agents/code-architect.md +1 -1
- package/bundled/skills/agents/doc-writer.md +1 -1
- package/bundled/skills/agents/reviewer.md +2 -2
- package/bundled/skills/agents/spec-analyst.md +1 -1
- package/bundled/skills/agents/test-specialist.md +1 -1
- package/bundled/skills/ai-collaboration-standards/SKILL.md +2 -2
- package/bundled/skills/ai-friendly-architecture/SKILL.md +2 -2
- package/bundled/skills/ai-instruction-standards/SKILL.md +1 -1
- package/bundled/skills/atdd-assistant/SKILL.md +7 -0
- package/bundled/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/skills/atdd-assistant/atdd-workflow.md +6 -8
- package/bundled/skills/audit-assistant/SKILL.md +2 -2
- package/bundled/skills/bdd-assistant/SKILL.md +7 -0
- package/bundled/skills/bdd-assistant/guide.md +1 -2
- package/bundled/skills/brainstorm-assistant/SKILL.md +139 -15
- package/bundled/skills/brainstorm-assistant/guide.md +39 -8
- package/bundled/skills/checkin-assistant/SKILL.md +8 -1
- package/bundled/skills/ci-cd-assistant/SKILL.md +57 -0
- package/bundled/skills/code-review-assistant/SKILL.md +15 -8
- package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +2 -2
- package/bundled/skills/commands/COMMAND-INDEX.json +3 -3
- package/bundled/skills/commands/README.md +2 -2
- package/bundled/skills/commands/ac-coverage.md +1 -1
- package/bundled/skills/commands/atdd.md +2 -2
- package/bundled/skills/commands/bdd.md +2 -2
- package/bundled/skills/commands/brainstorm.md +25 -14
- package/bundled/skills/commands/{review.md → code-review.md} +6 -6
- package/bundled/skills/commands/derive-all.md +1 -1
- package/bundled/skills/commands/derive-atdd.md +1 -1
- package/bundled/skills/commands/derive-bdd.md +2 -3
- package/bundled/skills/commands/derive-tdd.md +1 -1
- package/bundled/skills/commands/derive.md +1 -1
- package/bundled/skills/commands/dev-workflow.md +1 -1
- package/bundled/skills/commands/journey-test.md +45 -0
- package/bundled/skills/commands/methodology.md +4 -4
- package/bundled/skills/commands/pr.md +1 -1
- package/bundled/skills/commands/skill-builder.md +42 -0
- package/bundled/skills/commands/tdd.md +1 -1
- package/bundled/skills/dev-methodology/create-methodology.md +1 -1
- package/bundled/skills/dev-methodology/guide.md +1 -1
- package/bundled/skills/dev-methodology/runtime.md +1 -1
- package/bundled/skills/dev-workflow-guide/SKILL.md +3 -3
- package/bundled/skills/dev-workflow-guide/workflow-phases.md +3 -3
- package/bundled/skills/docs-generator/SKILL.md +3 -3
- package/bundled/skills/incident-response-assistant/SKILL.md +2 -2
- package/bundled/skills/logging-guide/SKILL.md +38 -2
- package/bundled/skills/migration-assistant/SKILL.md +226 -0
- package/bundled/skills/observability-assistant/SKILL.md +74 -0
- package/bundled/skills/pr-automation-assistant/SKILL.md +5 -1
- package/bundled/skills/project-discovery/guide.md +2 -2
- package/bundled/skills/push/SKILL.md +1 -1
- package/bundled/skills/release-standards/SKILL.md +19 -5
- package/bundled/skills/security-assistant/SKILL.md +1 -1
- package/bundled/skills/skill-builder/SKILL.md +1 -1
- package/bundled/skills/spec-derivation/guide.md +3 -4
- package/bundled/skills/spec-driven-dev/SKILL.md +13 -2
- package/bundled/skills/sweep/SKILL.md +1 -1
- package/bundled/skills/tdd-assistant/SKILL.md +8 -1
- package/bundled/skills/testing-guide/SKILL.md +1 -1
- package/bundled/skills/testing-guide/testing-theory.md +1 -1
- package/bundled/skills/workflows/README.md +2 -2
- package/package.json +4 -4
- package/src/commands/audit.js +30 -9
- package/src/commands/config.js +33 -2
- package/src/commands/hitl.js +14 -1
- package/src/commands/init.js +168 -75
- package/src/commands/quickstart.js +1 -2
- package/src/commands/release.js +51 -6
- package/src/commands/run-intent.js +9 -0
- package/src/commands/spec-split.js +27 -2
- package/src/commands/update.js +22 -6
- package/src/config/ai-agent-paths.js +3 -1
- package/src/i18n/messages.js +3 -102
- package/src/missions/MissionManager.js +44 -12
- package/src/utils/build-manifest.js +35 -3
- package/src/utils/friction-detector.js +71 -22
- package/src/utils/health-checker.js +29 -2
- package/src/utils/transaction.js +111 -0
- package/src/utils/version-promote.js +16 -0
- package/standards-registry.json +61 -149
- package/bundled/ai/standards/agent-communication-protocol.ai.yaml +0 -42
- package/bundled/ai/standards/agent-dispatch.ai.yaml +0 -42
- package/bundled/ai/standards/branch-completion.ai.yaml +0 -44
- package/bundled/ai/standards/change-batching-standards.ai.yaml +0 -44
- package/bundled/ai/standards/execution-history.ai.yaml +0 -42
- package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +0 -42
- package/bundled/ai/standards/workflow-enforcement.ai.yaml +0 -44
- package/bundled/ai/standards/workflow-state-protocol.ai.yaml +0 -43
- package/src/commands/flow.js +0 -260
- package/src/commands/start.js +0 -372
- package/src/commands/sweep.js +0 -151
- package/src/commands/workflow.js +0 -681
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File transaction wrapper — backup → apply → verify → rollback.
|
|
3
|
+
*
|
|
4
|
+
* Makes a multi-step, file-mutating operation atomic from the caller's point of
|
|
5
|
+
* view: snapshot the files/dirs the operation may touch, run `apply()`, then
|
|
6
|
+
* `verify()` the result. If `apply()` throws or `verify()` returns false, every
|
|
7
|
+
* tracked path is restored to its pre-apply state and the error is re-thrown
|
|
8
|
+
* (annotated with `rolledBack`). On success the changes are committed (left in
|
|
9
|
+
* place) and the apply() result is returned.
|
|
10
|
+
*
|
|
11
|
+
* Rollback semantics per tracked path:
|
|
12
|
+
* - pre-existing FILE → original content rewritten
|
|
13
|
+
* - pre-existing DIR → left intact (its prior contents are unknown, so we
|
|
14
|
+
* never tear it down; do not track shared dirs you do
|
|
15
|
+
* not fully own)
|
|
16
|
+
* - path created by apply() (file or dir) → removed (dirs recursively)
|
|
17
|
+
*
|
|
18
|
+
* XSPEC-292 §9.2 (T11): CLI transactionality. Used by `init`, `spec-split`, and
|
|
19
|
+
* other commands that perform several dependent writes.
|
|
20
|
+
*
|
|
21
|
+
* @module utils/transaction
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
import {
|
|
25
|
+
existsSync, statSync, readFileSync, writeFileSync, mkdirSync, rmSync
|
|
26
|
+
} from 'node:fs';
|
|
27
|
+
import { dirname } from 'node:path';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @typedef {Object} TransactionHooks
|
|
31
|
+
* @property {() => (any|Promise<any>)} apply Performs the file mutations.
|
|
32
|
+
* @property {(result:any) => (boolean|Promise<boolean>)} [verify]
|
|
33
|
+
* Returns false (or throws) to trigger rollback. Omit to always commit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Run `apply` as a transaction over `paths`.
|
|
38
|
+
*
|
|
39
|
+
* @param {string[]} paths - Absolute paths the operation may create/modify/delete.
|
|
40
|
+
* @param {TransactionHooks} hooks
|
|
41
|
+
* @param {Object} [options]
|
|
42
|
+
* @param {string} [options.label] - Included in the verification error message.
|
|
43
|
+
* @returns {Promise<{result:any, rolledBack:false}>}
|
|
44
|
+
* @throws Re-throws the original error after rolling back. The thrown error has
|
|
45
|
+
* `rolledBack` set to `true` (rollback succeeded) or `false` (rollback also
|
|
46
|
+
* failed, with `rollbackError` attached).
|
|
47
|
+
*/
|
|
48
|
+
export async function withFileTransaction(paths, hooks = {}, options = {}) {
|
|
49
|
+
const { apply, verify } = hooks;
|
|
50
|
+
if (typeof apply !== 'function') {
|
|
51
|
+
throw new TypeError('withFileTransaction requires an apply() function');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// 1. Backup: snapshot current state of every tracked path.
|
|
55
|
+
const snapshot = (paths || []).map((path) => {
|
|
56
|
+
const existed = existsSync(path);
|
|
57
|
+
const isDir = existed && statSync(path).isDirectory();
|
|
58
|
+
return {
|
|
59
|
+
path,
|
|
60
|
+
existed,
|
|
61
|
+
isDir,
|
|
62
|
+
content: existed && !isDir ? readFileSync(path) : null
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const rollback = () => {
|
|
67
|
+
// Restore deepest paths first so children settle before parents.
|
|
68
|
+
for (const entry of [...snapshot].reverse()) {
|
|
69
|
+
if (entry.existed) {
|
|
70
|
+
if (!entry.isDir) {
|
|
71
|
+
mkdirSync(dirname(entry.path), { recursive: true });
|
|
72
|
+
writeFileSync(entry.path, entry.content);
|
|
73
|
+
}
|
|
74
|
+
// Pre-existing directories are intentionally left untouched.
|
|
75
|
+
} else if (existsSync(entry.path)) {
|
|
76
|
+
// Created during apply() → remove it (recursively for directories).
|
|
77
|
+
rmSync(entry.path, { recursive: true, force: true });
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
let result;
|
|
83
|
+
try {
|
|
84
|
+
// 2. Apply.
|
|
85
|
+
result = await apply();
|
|
86
|
+
|
|
87
|
+
// 3. Verify.
|
|
88
|
+
if (typeof verify === 'function') {
|
|
89
|
+
const ok = await verify(result);
|
|
90
|
+
if (ok === false) {
|
|
91
|
+
const err = new Error(
|
|
92
|
+
`Transaction verification failed${options.label ? ` for ${options.label}` : ''}`
|
|
93
|
+
);
|
|
94
|
+
err.code = 'TRANSACTION_VERIFY_FAILED';
|
|
95
|
+
throw err;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
} catch (err) {
|
|
99
|
+
// 4. Rollback.
|
|
100
|
+
try {
|
|
101
|
+
rollback();
|
|
102
|
+
err.rolledBack = true;
|
|
103
|
+
} catch (rollbackErr) {
|
|
104
|
+
err.rolledBack = false;
|
|
105
|
+
err.rollbackError = rollbackErr;
|
|
106
|
+
}
|
|
107
|
+
throw err;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return { result, rolledBack: false };
|
|
111
|
+
}
|
|
@@ -6,6 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
const RC_VERSION_REGEX = /^v?(\d+)\.(\d+)\.(\d+)-rc\.(\d+)$/;
|
|
8
8
|
const SEMVER_REGEX = /^v?(\d+)\.(\d+)\.(\d+)(-[a-zA-Z]+\.\d+)?$/;
|
|
9
|
+
const STABLE_VERSION_REGEX = /^v?(\d+)\.(\d+)\.(\d+)$/;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* True if `version` is a valid stable semver (X.Y.Z, optional leading v),
|
|
13
|
+
* with no pre-release suffix. Used to validate `uds release promote` targets.
|
|
14
|
+
*/
|
|
15
|
+
export function isStableVersion(version) {
|
|
16
|
+
return typeof version === 'string' && STABLE_VERSION_REGEX.test(version);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* True if `version` is any valid semver this tool recognises (stable or RC).
|
|
21
|
+
*/
|
|
22
|
+
export function isValidVersion(version) {
|
|
23
|
+
return typeof version === 'string' && (SEMVER_REGEX.test(version) || RC_VERSION_REGEX.test(version));
|
|
24
|
+
}
|
|
9
25
|
|
|
10
26
|
/**
|
|
11
27
|
* Parse an RC version string into its components.
|
package/standards-registry.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"lastUpdated": "2026-05-13",
|
|
5
5
|
"description": "Standards registry for universal-dev-standards with integrated skills and AI-optimized formats",
|
|
6
6
|
"formats": {
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"standards": {
|
|
59
59
|
"name": "universal-dev-standards",
|
|
60
60
|
"url": "https://github.com/AsiaOstrich/universal-dev-standards",
|
|
61
|
-
"version": "
|
|
61
|
+
"version": "6.1.0"
|
|
62
62
|
},
|
|
63
63
|
"skills": {
|
|
64
64
|
"name": "universal-dev-standards",
|
|
65
65
|
"url": "https://github.com/AsiaOstrich/universal-dev-standards",
|
|
66
66
|
"localPath": "skills",
|
|
67
67
|
"rawUrl": "https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/skills",
|
|
68
|
-
"version": "
|
|
68
|
+
"version": "6.1.0",
|
|
69
69
|
"note": "Skills are now included in the main repository under skills/"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
"skills/commands/reverse-bdd.md",
|
|
412
412
|
"skills/commands/reverse-sdd.md",
|
|
413
413
|
"skills/commands/reverse-tdd.md",
|
|
414
|
-
"skills/commands/review.md",
|
|
414
|
+
"skills/commands/code-review.md",
|
|
415
415
|
"skills/commands/sdd.md",
|
|
416
416
|
"skills/commands/tdd.md",
|
|
417
417
|
"skills/commands/update.md"
|
|
@@ -421,10 +421,10 @@
|
|
|
421
421
|
"skills/refactoring-assistant/guide.md"
|
|
422
422
|
],
|
|
423
423
|
"methodology-system": [
|
|
424
|
-
"skills/methodology
|
|
425
|
-
"skills/methodology
|
|
426
|
-
"skills/methodology
|
|
427
|
-
"skills/methodology
|
|
424
|
+
"skills/dev-methodology/SKILL.md",
|
|
425
|
+
"skills/dev-methodology/guide.md",
|
|
426
|
+
"skills/dev-methodology/runtime.md",
|
|
427
|
+
"skills/dev-methodology/create-methodology.md"
|
|
428
428
|
],
|
|
429
429
|
"reverse-engineer": [
|
|
430
430
|
"skills/reverse-engineer/SKILL.md",
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"skills/reverse-engineer/tdd-analysis.md"
|
|
435
435
|
],
|
|
436
436
|
"forward-derivation": [
|
|
437
|
-
"skills/
|
|
437
|
+
"skills/spec-derivation/SKILL.md",
|
|
438
438
|
"skills/forward-derivation/guide.md"
|
|
439
439
|
],
|
|
440
440
|
"ai-friendly-architecture": [
|
|
@@ -1008,40 +1008,6 @@
|
|
|
1008
1008
|
"skillName": null,
|
|
1009
1009
|
"description": "Standard structure for AI task definitions with 4 required fields (read_first, action, acceptance_criteria, verification)"
|
|
1010
1010
|
},
|
|
1011
|
-
{
|
|
1012
|
-
"id": "workflow-state-protocol",
|
|
1013
|
-
"name": "Workflow State Protocol",
|
|
1014
|
-
"nameZh": "工作流狀態協議",
|
|
1015
|
-
"source": {
|
|
1016
|
-
"human": "core/workflow-state-protocol.md",
|
|
1017
|
-
"ai": "ai/standards/workflow-state-protocol.ai.yaml"
|
|
1018
|
-
},
|
|
1019
|
-
"category": "reference",
|
|
1020
|
-
"skillName": null,
|
|
1021
|
-
"deprecated": true,
|
|
1022
|
-
"deprecatedSince": "5.4.0",
|
|
1023
|
-
"removalVersion": "6.0.0",
|
|
1024
|
-
"canonicalOwner": "adoption-layer",
|
|
1025
|
-
"canonicalPath": "",
|
|
1026
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Workflow state persistence protocol — runtime is now adoption-layer responsibility."
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"id": "workflow-enforcement",
|
|
1030
|
-
"name": "Workflow Enforcement",
|
|
1031
|
-
"nameZh": "工作流程強制執行",
|
|
1032
|
-
"source": {
|
|
1033
|
-
"human": "core/workflow-enforcement.md",
|
|
1034
|
-
"ai": "ai/standards/workflow-enforcement.ai.yaml"
|
|
1035
|
-
},
|
|
1036
|
-
"category": "reference",
|
|
1037
|
-
"skillName": null,
|
|
1038
|
-
"deprecated": true,
|
|
1039
|
-
"deprecatedSince": "5.4.0",
|
|
1040
|
-
"removalVersion": "6.0.0",
|
|
1041
|
-
"canonicalOwner": "adoption-layer",
|
|
1042
|
-
"canonicalPath": "",
|
|
1043
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Machine-enforceable workflow gates — runtime is now adoption-layer responsibility."
|
|
1044
|
-
},
|
|
1045
1011
|
{
|
|
1046
1012
|
"id": "testing",
|
|
1047
1013
|
"name": "Testing Standards",
|
|
@@ -1157,7 +1123,7 @@
|
|
|
1157
1123
|
},
|
|
1158
1124
|
"category": "reference",
|
|
1159
1125
|
"skillName": null,
|
|
1160
|
-
"description": "Mandatory self-review pass on large markdown edits (>50 lines) before commit; catches
|
|
1126
|
+
"description": "Mandatory self-review pass on large markdown edits (>50 lines) before commit; catches 7 categories of internal cross-reference inconsistencies (diagram/step mismatch, changelog reference errors, count drift, stale templates, wrong tool references, placeholder vs rule misalignment, language/terminology consistency)"
|
|
1161
1127
|
},
|
|
1162
1128
|
{
|
|
1163
1129
|
"id": "ai-instruction-standards",
|
|
@@ -1461,23 +1427,6 @@
|
|
|
1461
1427
|
"skillName": null,
|
|
1462
1428
|
"description": "Structured system for capturing, retrieving, and surfacing developer experience insights across conversations and projects"
|
|
1463
1429
|
},
|
|
1464
|
-
{
|
|
1465
|
-
"id": "execution-history",
|
|
1466
|
-
"name": "Execution History Repository Standards",
|
|
1467
|
-
"nameZh": "執行歷史倉庫標準",
|
|
1468
|
-
"source": {
|
|
1469
|
-
"human": "core/execution-history.md",
|
|
1470
|
-
"ai": "ai/standards/execution-history.ai.yaml"
|
|
1471
|
-
},
|
|
1472
|
-
"category": "reference",
|
|
1473
|
-
"skillName": null,
|
|
1474
|
-
"deprecated": true,
|
|
1475
|
-
"deprecatedSince": "5.4.0",
|
|
1476
|
-
"removalVersion": "6.0.0",
|
|
1477
|
-
"canonicalOwner": "adoption-layer",
|
|
1478
|
-
"canonicalPath": "",
|
|
1479
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Execution history L1/L2/L3 protocol — runtime is now adoption-layer responsibility."
|
|
1480
|
-
},
|
|
1481
1430
|
{
|
|
1482
1431
|
"id": "project-context-memory",
|
|
1483
1432
|
"name": "Project Context Memory Standards",
|
|
@@ -1665,23 +1614,6 @@
|
|
|
1665
1614
|
"skillName": "requirement-assistant",
|
|
1666
1615
|
"description": "Template for writing comprehensive requirement documents"
|
|
1667
1616
|
},
|
|
1668
|
-
{
|
|
1669
|
-
"id": "pipeline-integration",
|
|
1670
|
-
"name": "Pipeline Integration Standards",
|
|
1671
|
-
"nameZh": "Pipeline 整合標準",
|
|
1672
|
-
"source": {
|
|
1673
|
-
"human": "core/pipeline-integration-standards.md",
|
|
1674
|
-
"ai": "ai/standards/pipeline-integration-standards.ai.yaml"
|
|
1675
|
-
},
|
|
1676
|
-
"category": "reference",
|
|
1677
|
-
"skillName": null,
|
|
1678
|
-
"deprecated": true,
|
|
1679
|
-
"deprecatedSince": "5.4.0",
|
|
1680
|
-
"removalVersion": "6.0.0",
|
|
1681
|
-
"canonicalOwner": "adoption-layer",
|
|
1682
|
-
"canonicalPath": "",
|
|
1683
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Pipeline 6-stage model — runtime is now adoption-layer responsibility."
|
|
1684
|
-
},
|
|
1685
1617
|
{
|
|
1686
1618
|
"id": "acceptance-criteria-traceability",
|
|
1687
1619
|
"name": "Acceptance Criteria Traceability Standards",
|
|
@@ -1718,6 +1650,18 @@
|
|
|
1718
1650
|
"skillName": null,
|
|
1719
1651
|
"description": "Multi-modal golden-file snapshot format (HTTP/CLI/File/Event adapters) for migration parity verification and refactoring characterization (Gate 0/1 protocol)"
|
|
1720
1652
|
},
|
|
1653
|
+
{
|
|
1654
|
+
"id": "user-journey-testing",
|
|
1655
|
+
"name": "User Journey Testing Standard",
|
|
1656
|
+
"nameZh": "使用者旅程測試標準",
|
|
1657
|
+
"source": {
|
|
1658
|
+
"human": "core/user-journey-testing.md",
|
|
1659
|
+
"ai": "ai/standards/user-journey-testing.ai.yaml"
|
|
1660
|
+
},
|
|
1661
|
+
"category": "skill",
|
|
1662
|
+
"skillName": "journey-test-assistant",
|
|
1663
|
+
"description": "TESTPLAN format for connected, sequential, stateful user journey tests; personas + T-NNN test groups with explicit dependency chains, mapped 1:1 to journey E2E describe()/it() blocks with graceful environment skip"
|
|
1664
|
+
},
|
|
1721
1665
|
{
|
|
1722
1666
|
"id": "feature-discovery-standards",
|
|
1723
1667
|
"name": "Feature Discovery Standards",
|
|
@@ -1742,23 +1686,6 @@
|
|
|
1742
1686
|
"skillName": null,
|
|
1743
1687
|
"description": "E2E test configuration across multiple deployment targets; BASE_URL baked in test config; self-checking runner scripts; environment capability matrix; CI gate mapping; credential handling rules"
|
|
1744
1688
|
},
|
|
1745
|
-
{
|
|
1746
|
-
"id": "change-batching",
|
|
1747
|
-
"name": "Change Batching Standards",
|
|
1748
|
-
"nameZh": "變更批次合併標準",
|
|
1749
|
-
"source": {
|
|
1750
|
-
"human": "core/change-batching-standards.md",
|
|
1751
|
-
"ai": "ai/standards/change-batching-standards.ai.yaml"
|
|
1752
|
-
},
|
|
1753
|
-
"category": "reference",
|
|
1754
|
-
"skillName": null,
|
|
1755
|
-
"deprecated": true,
|
|
1756
|
-
"deprecatedSince": "5.4.0",
|
|
1757
|
-
"removalVersion": "6.0.0",
|
|
1758
|
-
"canonicalOwner": "adoption-layer",
|
|
1759
|
-
"canonicalPath": "",
|
|
1760
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Change batching state machine — runtime is now adoption-layer responsibility."
|
|
1761
|
-
},
|
|
1762
1689
|
{
|
|
1763
1690
|
"id": "migration-template",
|
|
1764
1691
|
"name": "Migration Plan Template",
|
|
@@ -1781,40 +1708,6 @@
|
|
|
1781
1708
|
"skillName": null,
|
|
1782
1709
|
"description": "Four-phase debugging workflow (Root Cause → Pattern Analysis → Hypothesis Testing → Fix) with 3-Strike Rule"
|
|
1783
1710
|
},
|
|
1784
|
-
{
|
|
1785
|
-
"id": "agent-dispatch",
|
|
1786
|
-
"name": "Agent Dispatch & Parallel Coordination",
|
|
1787
|
-
"nameZh": "子代理派遣與並行協調",
|
|
1788
|
-
"source": {
|
|
1789
|
-
"human": "core/agent-dispatch.md",
|
|
1790
|
-
"ai": "ai/standards/agent-dispatch.ai.yaml"
|
|
1791
|
-
},
|
|
1792
|
-
"category": "skill",
|
|
1793
|
-
"skillName": null,
|
|
1794
|
-
"deprecated": true,
|
|
1795
|
-
"deprecatedSince": "5.4.0",
|
|
1796
|
-
"removalVersion": "6.0.0",
|
|
1797
|
-
"canonicalOwner": "adoption-layer",
|
|
1798
|
-
"canonicalPath": "",
|
|
1799
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Agent dispatch protocol — runtime is now adoption-layer responsibility."
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"id": "agent-communication-protocol",
|
|
1803
|
-
"name": "Agent Communication Protocol",
|
|
1804
|
-
"nameZh": "跨專案 Agent 通訊協定",
|
|
1805
|
-
"source": {
|
|
1806
|
-
"human": "core/agent-communication-protocol.md",
|
|
1807
|
-
"ai": "ai/standards/agent-communication-protocol.ai.yaml"
|
|
1808
|
-
},
|
|
1809
|
-
"category": "skill",
|
|
1810
|
-
"skillName": null,
|
|
1811
|
-
"deprecated": true,
|
|
1812
|
-
"deprecatedSince": "5.4.0",
|
|
1813
|
-
"removalVersion": "6.0.0",
|
|
1814
|
-
"canonicalOwner": "adoption-layer",
|
|
1815
|
-
"canonicalPath": "",
|
|
1816
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Agent envelope/handoff protocol — runtime is now adoption-layer responsibility."
|
|
1817
|
-
},
|
|
1818
1711
|
{
|
|
1819
1712
|
"id": "model-selection",
|
|
1820
1713
|
"name": "AI Model Selection Strategy",
|
|
@@ -1839,23 +1732,6 @@
|
|
|
1839
1732
|
"skillName": null,
|
|
1840
1733
|
"description": "Git worktree lifecycle management: setup → baseline → execute → merge → cleanup"
|
|
1841
1734
|
},
|
|
1842
|
-
{
|
|
1843
|
-
"id": "branch-completion",
|
|
1844
|
-
"name": "Branch Completion Workflow",
|
|
1845
|
-
"nameZh": "分支完成工作流",
|
|
1846
|
-
"source": {
|
|
1847
|
-
"human": "core/branch-completion.md",
|
|
1848
|
-
"ai": "ai/standards/branch-completion.ai.yaml"
|
|
1849
|
-
},
|
|
1850
|
-
"category": "reference",
|
|
1851
|
-
"skillName": null,
|
|
1852
|
-
"deprecated": true,
|
|
1853
|
-
"deprecatedSince": "5.4.0",
|
|
1854
|
-
"removalVersion": "6.0.0",
|
|
1855
|
-
"canonicalOwner": "adoption-layer",
|
|
1856
|
-
"canonicalPath": "",
|
|
1857
|
-
"description": "DEPRECATED: Runtime relocated to adoption layer (DEC-049 superseded 2026-05-07). Branch completion workflow — runtime is now adoption-layer responsibility."
|
|
1858
|
-
},
|
|
1859
1735
|
{
|
|
1860
1736
|
"id": "verification-evidence",
|
|
1861
1737
|
"name": "Verification Evidence Standard",
|
|
@@ -1866,7 +1742,7 @@
|
|
|
1866
1742
|
},
|
|
1867
1743
|
"category": "skill",
|
|
1868
1744
|
"skillName": null,
|
|
1869
|
-
"description": "Iron Law: no verification evidence = no completion claim. RED-GREEN cycle for bug fixes"
|
|
1745
|
+
"description": "Iron Law: no verification evidence = no completion claim. RED-GREEN cycle for bug fixes. Evidence validity: a tool can fail silently and its output is indistinguishable from a real result"
|
|
1870
1746
|
},
|
|
1871
1747
|
{
|
|
1872
1748
|
"id": "adr-standards",
|
|
@@ -2262,7 +2138,7 @@
|
|
|
2262
2138
|
"name": "Git Push Safety Gates",
|
|
2263
2139
|
"nameZh": "Git Push 安全閘門標準",
|
|
2264
2140
|
"source": {
|
|
2265
|
-
"human": "
|
|
2141
|
+
"human": "core/push-standards.md",
|
|
2266
2142
|
"ai": "ai/standards/push-standards.ai.yaml"
|
|
2267
2143
|
},
|
|
2268
2144
|
"category": "skill",
|
|
@@ -2350,7 +2226,7 @@
|
|
|
2350
2226
|
"id": "license-compliance",
|
|
2351
2227
|
"name": "License Compliance Standards",
|
|
2352
2228
|
"nameZh": "授權合規標準",
|
|
2353
|
-
"version": "
|
|
2229
|
+
"version": "6.1.0",
|
|
2354
2230
|
"source": {
|
|
2355
2231
|
"human": "core/license-compliance.md",
|
|
2356
2232
|
"ai": "ai/standards/license-compliance.ai.yaml"
|
|
@@ -2358,6 +2234,42 @@
|
|
|
2358
2234
|
"category": "core",
|
|
2359
2235
|
"description": "License tier classification, automated scanning in CI, SBOM generation, attribution notices, violation remediation, ClearlyDefined API, AST PII analysis, and EmbeddingProvider copyright similarity"
|
|
2360
2236
|
},
|
|
2237
|
+
{
|
|
2238
|
+
"id": "verification-oracle",
|
|
2239
|
+
"name": "Verification Oracle Standards",
|
|
2240
|
+
"nameZh": "驗證 Oracle 標準",
|
|
2241
|
+
"version": "6.1.0",
|
|
2242
|
+
"source": {
|
|
2243
|
+
"human": "core/verification-oracle.md",
|
|
2244
|
+
"ai": "ai/standards/verification-oracle.ai.yaml"
|
|
2245
|
+
},
|
|
2246
|
+
"category": "core",
|
|
2247
|
+
"description": "Ground-truth oracle as a first-class artifact, oracle-ability grading, fail-closed verification gate, sustained re-verification (correctness as CI invariant), audit evidence, and self-serve frontier ceiling — the correctness profile of the governance-gate family"
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"id": "model-provenance",
|
|
2251
|
+
"name": "Model Provenance Policy Standards",
|
|
2252
|
+
"nameZh": "模型來源政策標準",
|
|
2253
|
+
"version": "6.1.0",
|
|
2254
|
+
"source": {
|
|
2255
|
+
"human": "core/model-provenance.md",
|
|
2256
|
+
"ai": "ai/standards/model-provenance.ai.yaml"
|
|
2257
|
+
},
|
|
2258
|
+
"category": "core",
|
|
2259
|
+
"description": "Model origin registry (vendor/jurisdiction/origin class), provenance policy schema with local-weights distinction, fail-closed enforcement at every model-selection point, audit evidence, reference policy packs, and unknown-origin fail-closed — the provenance (source) profile of the governance-gate family"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"id": "resource-cost-boundary",
|
|
2263
|
+
"name": "Resource / Cost Boundary Declaration Standards",
|
|
2264
|
+
"nameZh": "資源/成本邊界宣告標準",
|
|
2265
|
+
"version": "6.1.0",
|
|
2266
|
+
"source": {
|
|
2267
|
+
"human": "core/resource-cost-boundary.md",
|
|
2268
|
+
"ai": "ai/standards/resource-cost-boundary.ai.yaml"
|
|
2269
|
+
},
|
|
2270
|
+
"category": "core",
|
|
2271
|
+
"description": "Explicit, machine-readable, fail-closed resource budget declaration for LLM execution units — a token/iteration/retry/cost/wallclock/rate taxonomy, a resource_budget block, a check-resource-budget gate (undeclared warns, runtime breach aborts), and convergence of existing budget mechanisms as reference implementations (cost dimension of boundary materialization)"
|
|
2272
|
+
},
|
|
2361
2273
|
{
|
|
2362
2274
|
"id": "pii-classification",
|
|
2363
2275
|
"name": "PII Classification and Handling Standards",
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Agent Communication Protocol - DEPRECATED STUB
|
|
2
|
-
# Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
3
|
-
# Adoption layer must implement an equivalent runtime; UDS retains only the human-readable concept under core/.
|
|
4
|
-
# Migration: XSPEC-086 Phase 2 (2026-04-27)
|
|
5
|
-
#
|
|
6
|
-
# Human-readable standard: core/agent-communication-protocol.md (remains in UDS)
|
|
7
|
-
# Deprecation schedule: UDS 5.4.0 deprecated → UDS 6.0.0 removed
|
|
8
|
-
|
|
9
|
-
standard:
|
|
10
|
-
id: agent-communication
|
|
11
|
-
meta:
|
|
12
|
-
version: "1.0.1"
|
|
13
|
-
updated: "2026-04-27"
|
|
14
|
-
deprecated: true
|
|
15
|
-
deprecated_since: "5.4.0"
|
|
16
|
-
removal_version: "6.0.0"
|
|
17
|
-
canonical_owner: adoption-layer
|
|
18
|
-
canonical_path: "" # adoption-layer responsibility
|
|
19
|
-
source: core/agent-communication-protocol.md
|
|
20
|
-
description: >
|
|
21
|
-
DEPRECATED: Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
22
|
-
Adoption layer must implement an equivalent runtime.
|
|
23
|
-
|
|
24
|
-
rules:
|
|
25
|
-
- id: deprecation-notice
|
|
26
|
-
trigger: any agent communication operation
|
|
27
|
-
instruction: >
|
|
28
|
-
Runtime details for this standard are now adoption-layer responsibility (runtime moved to adoption layer 2026-04-28).
|
|
29
|
-
For the canonical executable definition, load:
|
|
30
|
-
|
|
31
|
-
The human-readable standard remains at:
|
|
32
|
-
universal-dev-standards/core/agent-communication-protocol.md
|
|
33
|
-
priority: required
|
|
34
|
-
|
|
35
|
-
- id: ACP-001
|
|
36
|
-
trigger: "訊息缺少必要欄位"
|
|
37
|
-
instruction: >
|
|
38
|
-
DEPRECATED — see universal-dev-standards/core/ for human-readable concept; runtime is adoption-layer responsibility
|
|
39
|
-
for the current executable communication protocol.
|
|
40
|
-
|
|
41
|
-
Minimal fallback: Reject messages missing required Envelope fields and report INVALID_ENVELOPE.
|
|
42
|
-
priority: critical
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Agent Dispatch & Parallel Coordination - DEPRECATED STUB
|
|
2
|
-
# Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
3
|
-
# Adoption layer must implement an equivalent runtime; UDS retains only the human-readable concept under core/.
|
|
4
|
-
# Migration: XSPEC-086 Phase 2 (2026-04-27)
|
|
5
|
-
#
|
|
6
|
-
# Human-readable standard: core/agent-dispatch.md (remains in UDS)
|
|
7
|
-
# Deprecation schedule: UDS 5.4.0 deprecated → UDS 6.0.0 removed
|
|
8
|
-
|
|
9
|
-
standard:
|
|
10
|
-
id: agent-dispatch
|
|
11
|
-
meta:
|
|
12
|
-
version: "1.0.1"
|
|
13
|
-
updated: "2026-04-27"
|
|
14
|
-
deprecated: true
|
|
15
|
-
deprecated_since: "5.4.0"
|
|
16
|
-
removal_version: "6.0.0"
|
|
17
|
-
canonical_owner: adoption-layer
|
|
18
|
-
canonical_path: "" # adoption-layer responsibility
|
|
19
|
-
source: core/agent-dispatch.md
|
|
20
|
-
description: >
|
|
21
|
-
DEPRECATED: Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
22
|
-
Adoption layer must implement an equivalent runtime.
|
|
23
|
-
|
|
24
|
-
rules:
|
|
25
|
-
- id: deprecation-notice
|
|
26
|
-
trigger: any agent dispatch operation
|
|
27
|
-
instruction: >
|
|
28
|
-
Runtime details for this standard are now adoption-layer responsibility (runtime moved to adoption layer 2026-04-28).
|
|
29
|
-
For the canonical executable definition, load:
|
|
30
|
-
|
|
31
|
-
The human-readable standard remains at:
|
|
32
|
-
universal-dev-standards/core/agent-dispatch.md
|
|
33
|
-
priority: required
|
|
34
|
-
|
|
35
|
-
- id: AD-003
|
|
36
|
-
trigger: "所有並行代理完成"
|
|
37
|
-
instruction: >
|
|
38
|
-
DEPRECATED — see universal-dev-standards/core/ for human-readable concept; runtime is adoption-layer responsibility
|
|
39
|
-
for the current executable dispatch protocol.
|
|
40
|
-
|
|
41
|
-
Minimal fallback: Run full test suite after all parallel agents complete.
|
|
42
|
-
priority: high
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Branch Completion Workflow - DEPRECATED STUB
|
|
2
|
-
# Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
3
|
-
# Adoption layer must implement an equivalent runtime; UDS retains only the human-readable concept under core/.
|
|
4
|
-
# Migration: XSPEC-086 Phase 2 (2026-04-27)
|
|
5
|
-
#
|
|
6
|
-
# Human-readable standard: core/branch-completion.md (remains in UDS)
|
|
7
|
-
# Deprecation schedule: UDS 5.4.0 deprecated → UDS 6.0.0 removed
|
|
8
|
-
|
|
9
|
-
standard:
|
|
10
|
-
id: branch-completion
|
|
11
|
-
meta:
|
|
12
|
-
version: "1.0.1"
|
|
13
|
-
updated: "2026-04-27"
|
|
14
|
-
deprecated: true
|
|
15
|
-
deprecated_since: "5.4.0"
|
|
16
|
-
removal_version: "6.0.0"
|
|
17
|
-
canonical_owner: adoption-layer
|
|
18
|
-
canonical_path: "" # adoption-layer responsibility
|
|
19
|
-
source: core/branch-completion.md
|
|
20
|
-
description: >
|
|
21
|
-
DEPRECATED: Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
22
|
-
Adoption layer must implement an equivalent runtime.
|
|
23
|
-
|
|
24
|
-
rules:
|
|
25
|
-
- id: deprecation-notice
|
|
26
|
-
trigger: any branch completion operation
|
|
27
|
-
instruction: >
|
|
28
|
-
Runtime details for this standard are now adoption-layer responsibility (runtime moved to adoption layer 2026-04-28).
|
|
29
|
-
For the canonical executable definition, load:
|
|
30
|
-
|
|
31
|
-
The human-readable standard remains at:
|
|
32
|
-
universal-dev-standards/core/branch-completion.md
|
|
33
|
-
|
|
34
|
-
priority: required
|
|
35
|
-
|
|
36
|
-
- id: BC-003
|
|
37
|
-
trigger: "前置條件未滿足"
|
|
38
|
-
instruction: >
|
|
39
|
-
DEPRECATED — see universal-dev-standards/core/ for human-readable concept; runtime is adoption-layer responsibility
|
|
40
|
-
for the current executable branch completion flow.
|
|
41
|
-
|
|
42
|
-
Minimal fallback: Block branch completion when prerequisites (tests, lint,
|
|
43
|
-
type check, no uncommitted changes) are not met.
|
|
44
|
-
priority: high
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Change Batching Standards - DEPRECATED STUB
|
|
2
|
-
# Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
3
|
-
# Adoption layer must implement an equivalent runtime; UDS retains only the human-readable concept under core/.
|
|
4
|
-
# Migration: XSPEC-086 Phase 2 (2026-04-27)
|
|
5
|
-
#
|
|
6
|
-
# Human-readable standard: core/change-batching-standards.md (remains in UDS)
|
|
7
|
-
# Deprecation schedule: UDS 5.4.0 deprecated → UDS 6.0.0 removed
|
|
8
|
-
|
|
9
|
-
standard:
|
|
10
|
-
id: change-batching-standards
|
|
11
|
-
meta:
|
|
12
|
-
version: "1.0.1"
|
|
13
|
-
updated: "2026-04-27"
|
|
14
|
-
deprecated: true
|
|
15
|
-
deprecated_since: "5.4.0"
|
|
16
|
-
removal_version: "6.0.0"
|
|
17
|
-
canonical_owner: adoption-layer
|
|
18
|
-
canonical_path: "" # adoption-layer responsibility
|
|
19
|
-
source: core/change-batching-standards.md
|
|
20
|
-
description: >
|
|
21
|
-
DEPRECATED: Runtime details relocated to adoption layer (runtime moved to adoption layer 2026-04-28).
|
|
22
|
-
Adoption layer must implement an equivalent runtime.
|
|
23
|
-
|
|
24
|
-
rules:
|
|
25
|
-
- id: deprecation-notice
|
|
26
|
-
trigger: any batch change operation
|
|
27
|
-
instruction: >
|
|
28
|
-
Runtime details for this standard are now adoption-layer responsibility (runtime moved to adoption layer 2026-04-28).
|
|
29
|
-
For the canonical executable definition, load:
|
|
30
|
-
|
|
31
|
-
The human-readable standard remains at:
|
|
32
|
-
universal-dev-standards/core/change-batching-standards.md
|
|
33
|
-
|
|
34
|
-
priority: required
|
|
35
|
-
|
|
36
|
-
- id: atomic-commits
|
|
37
|
-
trigger: merging a batch
|
|
38
|
-
instruction: >
|
|
39
|
-
DEPRECATED — see universal-dev-standards/core/ for human-readable concept; runtime is adoption-layer responsibility
|
|
40
|
-
for the current executable batch orchestration rules.
|
|
41
|
-
|
|
42
|
-
Minimal fallback: Enforce all-or-nothing batch merging — either all changes
|
|
43
|
-
commit or none do.
|
|
44
|
-
priority: required
|