codexspec 0.7.25__tar.gz → 0.7.27__tar.gz

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.
Files changed (144) hide show
  1. {codexspec-0.7.25 → codexspec-0.7.27}/PKG-INFO +7 -1
  2. {codexspec-0.7.25 → codexspec-0.7.27}/README.md +6 -0
  3. {codexspec-0.7.25 → codexspec-0.7.27}/pyproject.toml +1 -1
  4. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/__init__.py +1 -1
  5. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/commands/installer.py +28 -28
  6. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/commit_runtime.py +6 -1
  7. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/analyze.md +1 -1
  8. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/auto-dev.md +1 -1
  9. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/blueprint.md +1 -1
  10. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/checklist.md +1 -1
  11. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/clarify.md +1 -1
  12. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/commit-staged.md +1 -1
  13. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/config.md +62 -9
  14. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/constitution.md +1 -1
  15. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/debug.md +1 -1
  16. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/design-to-plan.md +1 -1
  17. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/distill.md +1 -1
  18. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/evolve.md +1 -1
  19. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/generate-spec.md +1 -1
  20. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/implement-tasks.md +1 -1
  21. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/onboard.md +1 -1
  22. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/plan-to-tasks.md +1 -1
  23. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/pr.md +1 -1
  24. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/quick.md +1 -1
  25. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/release-notes.md +1 -1
  26. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/reverse-spec.md +1 -1
  27. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/review-code.md +1 -1
  28. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/review-design.md +1 -1
  29. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/review-plan.md +1 -1
  30. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/review-spec.md +1 -1
  31. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/review-tasks.md +1 -1
  32. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/spec-to-design.md +1 -1
  33. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/specify.md +1 -1
  34. {codexspec-0.7.25 → codexspec-0.7.27}/templates/commands/tasks-to-issues.md +1 -1
  35. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/de.json +28 -28
  36. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/en.json +28 -28
  37. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/es.json +28 -28
  38. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/fr.json +28 -28
  39. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/ja.json +28 -28
  40. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/ko.json +28 -28
  41. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/pt-BR.json +28 -28
  42. {codexspec-0.7.25 → codexspec-0.7.27}/templates/translations/zh-CN.json +28 -28
  43. {codexspec-0.7.25 → codexspec-0.7.27}/.gitignore +0 -0
  44. {codexspec-0.7.25 → codexspec-0.7.27}/LICENSE +0 -0
  45. {codexspec-0.7.25 → codexspec-0.7.27}/codexspec-icon.svg +0 -0
  46. {codexspec-0.7.25 → codexspec-0.7.27}/codexspec-logo-dark.svg +0 -0
  47. {codexspec-0.7.25 → codexspec-0.7.27}/codexspec-logo-light.svg +0 -0
  48. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/bash/check-i18n-completeness.sh +0 -0
  49. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/bash/check-i18n-structure.sh +0 -0
  50. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/bash/check-prerequisites.sh +0 -0
  51. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/bash/common.sh +0 -0
  52. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/bash/create-new-feature.sh +0 -0
  53. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/bash/review-context.sh +0 -0
  54. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/powershell/check-prerequisites.ps1 +0 -0
  55. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/powershell/common.ps1 +0 -0
  56. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/powershell/create-new-feature.ps1 +0 -0
  57. {codexspec-0.7.25 → codexspec-0.7.27}/scripts/powershell/review-context.ps1 +0 -0
  58. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/automation.py +0 -0
  59. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/blueprint.py +0 -0
  60. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/commands/__init__.py +0 -0
  61. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/commit_guidance.py +0 -0
  62. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/__init__.py +0 -0
  63. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/app.js +0 -0
  64. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/ar.json +0 -0
  65. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/de.json +0 -0
  66. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/en.json +0 -0
  67. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/es.json +0 -0
  68. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/fr.json +0 -0
  69. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/hi.json +0 -0
  70. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/it.json +0 -0
  71. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/ja.json +0 -0
  72. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/ko.json +0 -0
  73. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/pt.json +0 -0
  74. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/ru.json +0 -0
  75. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/zh-CN.json +0 -0
  76. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/i18n/zh-TW.json +0 -0
  77. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/index.html +0 -0
  78. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/assets/styles.css +0 -0
  79. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/domain.py +0 -0
  80. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/lease.py +0 -0
  81. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/models.py +0 -0
  82. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/records.py +0 -0
  83. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/server.py +0 -0
  84. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/session.py +0 -0
  85. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/terminal.py +0 -0
  86. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/distill_review/transaction.py +0 -0
  87. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/i18n.py +0 -0
  88. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/idea.md +0 -0
  89. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/__init__.py +0 -0
  90. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/cli.py +0 -0
  91. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/discovery.py +0 -0
  92. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/metadata.py +0 -0
  93. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/release.py +0 -0
  94. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/render.py +0 -0
  95. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/upgrade.py +0 -0
  96. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/installations/worker.py +0 -0
  97. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/integrations/__init__.py +0 -0
  98. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/integrations/base.py +0 -0
  99. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/integrations/claude.py +0 -0
  100. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/integrations/codex.py +0 -0
  101. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/merge_commits.py +0 -0
  102. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/profile.py +0 -0
  103. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/review_maintenance.py +0 -0
  104. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/review_standards.py +0 -0
  105. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/specs_context.py +0 -0
  106. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/staged_commits.py +0 -0
  107. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/translator.py +0 -0
  108. {codexspec-0.7.25 → codexspec-0.7.27}/src/codexspec/worktrees.py +0 -0
  109. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/checklist-template.md +0 -0
  110. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/constitution-template.md +0 -0
  111. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/design-template.md +0 -0
  112. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/plan-template-detailed.md +0 -0
  113. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/plan-template-simple.md +0 -0
  114. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/requirements-template.md +0 -0
  115. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/spec-template-detailed.md +0 -0
  116. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/spec-template-simple.md +0 -0
  117. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/tasks-template-detailed.md +0 -0
  118. {codexspec-0.7.25 → codexspec-0.7.27}/templates/docs/tasks-template-simple.md +0 -0
  119. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/change-review.md +0 -0
  120. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/common.md +0 -0
  121. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/dimensions/business-semantics.md +0 -0
  122. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/dimensions/concurrency.md +0 -0
  123. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/dimensions/logic.md +0 -0
  124. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/dimensions/maintainability.md +0 -0
  125. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/dimensions/performance.md +0 -0
  126. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/dimensions/robustness.md +0 -0
  127. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/dimensions/security.md +0 -0
  128. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/frameworks/react.md +0 -0
  129. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/index.md +0 -0
  130. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/c.md +0 -0
  131. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/cpp.md +0 -0
  132. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/csharp.md +0 -0
  133. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/go.md +0 -0
  134. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/java.md +0 -0
  135. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/javascript.md +0 -0
  136. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/kotlin.md +0 -0
  137. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/php.md +0 -0
  138. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/python.md +0 -0
  139. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/ruby.md +0 -0
  140. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/rust.md +0 -0
  141. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/shell.md +0 -0
  142. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/swift.md +0 -0
  143. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/languages/typescript.md +0 -0
  144. {codexspec-0.7.25 → codexspec-0.7.27}/templates/review-code/quality-assessment.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: codexspec
3
- Version: 0.7.25
3
+ Version: 0.7.27
4
4
  Summary: CodexSpec - A Requirements-First SDD toolkit for Claude Code
5
5
  Project-URL: Homepage, https://github.com/Zts0hg/codexspec
6
6
  Project-URL: Repository, https://github.com/Zts0hg/codexspec
@@ -168,6 +168,12 @@ Customize project principles with `constitution` when needed. Confirm the final
168
168
  requirements summary, then continue using the returned feature directory and
169
169
  workspace. See [Core Workflow](#core-workflow) for the remaining commands.
170
170
 
171
+ Explore two complete open-source examples built feature by feature with CodexSpec:
172
+ the [Todo List](https://github.com/Zts0hg/codexspec-example-todo) (English) and
173
+ [Personal Bookkeeping](https://github.com/Zts0hg/codexspec-example-bookkeeping)
174
+ (Simplified Chinese). Each repository includes its feature specifications, a
175
+ chronological development guide, and a runnable application.
176
+
171
177
  Using the Codex desktop app? [Ask Codex to install and initialize your project](#install-with-the-codex-desktop-app).
172
178
 
173
179
  ## Installation
@@ -123,6 +123,12 @@ Customize project principles with `constitution` when needed. Confirm the final
123
123
  requirements summary, then continue using the returned feature directory and
124
124
  workspace. See [Core Workflow](#core-workflow) for the remaining commands.
125
125
 
126
+ Explore two complete open-source examples built feature by feature with CodexSpec:
127
+ the [Todo List](https://github.com/Zts0hg/codexspec-example-todo) (English) and
128
+ [Personal Bookkeeping](https://github.com/Zts0hg/codexspec-example-bookkeeping)
129
+ (Simplified Chinese). Each repository includes its feature specifications, a
130
+ chronological development guide, and a runnable application.
131
+
126
132
  Using the Codex desktop app? [Ask Codex to install and initialize your project](#install-with-the-codex-desktop-app).
127
133
 
128
134
  ## Installation
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codexspec"
3
- version = "0.7.25"
3
+ version = "0.7.27"
4
4
  description = "CodexSpec - A Requirements-First SDD toolkit for Claude Code"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -80,7 +80,7 @@ from .worktrees import (
80
80
  )
81
81
 
82
82
  # Version info
83
- __version__ = "0.7.25"
83
+ __version__ = "0.7.27"
84
84
  __author__ = "CodexSpec Team"
85
85
 
86
86
  # Constitution file path constants
@@ -55,83 +55,83 @@ def get_commands_metadata() -> list[CommandMetadata]:
55
55
  {
56
56
  "name": "constitution",
57
57
  "display_name": "/codexspec:constitution",
58
- "description": "创建或更新项目宪法,定义开发原则和规范",
58
+ "description": "制定或更新项目开发原则,写入 constitution.md 并检查相关文档的一致性。",
59
59
  "category": "core",
60
60
  "file_name": "constitution.md",
61
61
  },
62
62
  {
63
63
  "name": "specify",
64
64
  "display_name": "/codexspec:specify",
65
- "description": "讨论、确认并固化权威的需求记录",
65
+ "description": "澄清功能目标、范围和约束,将确认的需求整理为 requirements.md。",
66
66
  "category": "core",
67
67
  "file_name": "specify.md",
68
68
  },
69
69
  {
70
70
  "name": "blueprint",
71
71
  "display_name": "/codexspec:blueprint",
72
- "description": "讨论并维护共享产品蓝图中的已确认需求",
72
+ "description": "规划多个功能,将确认的需求写入共享蓝图,并管理供 auto-dev 执行的待开发内容和顺序。",
73
73
  "category": "core",
74
74
  "file_name": "blueprint.md",
75
75
  },
76
76
  {
77
77
  "name": "generate-spec",
78
78
  "display_name": "/codexspec:generate-spec",
79
- "description": "将已确认的需求编写为可追溯的 spec.md",
79
+ "description": "将已确认需求编写为 spec.md,明确功能行为、异常处理和验收标准。",
80
80
  "category": "core",
81
81
  "file_name": "generate-spec.md",
82
82
  },
83
83
  {
84
84
  "name": "spec-to-design",
85
85
  "display_name": "/codexspec:spec-to-design",
86
- "description": "将已确认的规格转换为可追溯的设计文档(架构/组件/关键设计决策)",
86
+ "description": "根据 spec.md 编写 design.md,定义组件、接口及关键技术决策。",
87
87
  "category": "core",
88
88
  "file_name": "spec-to-design.md",
89
89
  },
90
90
  {
91
91
  "name": "design-to-plan",
92
92
  "display_name": "/codexspec:design-to-plan",
93
- "description": "将已确认的设计转换为可追溯的实现计划",
93
+ "description": "将 design.md 转化为 plan.md,安排实现阶段、执行顺序和验证步骤。",
94
94
  "category": "core",
95
95
  "file_name": "design-to-plan.md",
96
96
  },
97
97
  {
98
98
  "name": "plan-to-tasks",
99
99
  "display_name": "/codexspec:plan-to-tasks",
100
- "description": "将已批准的计划展开为可追溯、可执行的任务",
100
+ "description": "将 plan.md 拆分为 tasks.md,明确具体工作、依赖和验证方法,并列出可测试任务的测试场景。",
101
101
  "category": "core",
102
102
  "file_name": "plan-to-tasks.md",
103
103
  },
104
104
  {
105
105
  "name": "review-spec",
106
106
  "display_name": "/codexspec:review-spec",
107
- "description": "审查规格的忠实度、内部质量与计划就绪度",
107
+ "description": "审查 spec.md 的需求覆盖和验收标准,判断是否可进入设计阶段。",
108
108
  "category": "core",
109
109
  "file_name": "review-spec.md",
110
110
  },
111
111
  {
112
112
  "name": "review-design",
113
113
  "display_name": "/codexspec:review-design",
114
- "description": "审查设计的忠实度、可行性与规划就绪度",
114
+ "description": "审查 design.md 的需求覆盖与技术可行性,判断是否可制定实现计划。",
115
115
  "category": "core",
116
116
  "file_name": "review-design.md",
117
117
  },
118
118
  {
119
119
  "name": "review-plan",
120
120
  "display_name": "/codexspec:review-plan",
121
- "description": "审查计划的忠实度、可行性与实现就绪度",
121
+ "description": "审查 plan.md 的实现步骤、顺序和需求覆盖,判断是否可拆分任务。",
122
122
  "category": "core",
123
123
  "file_name": "review-plan.md",
124
124
  },
125
125
  {
126
126
  "name": "review-tasks",
127
127
  "display_name": "/codexspec:review-tasks",
128
- "description": "审查任务的忠实度、可执行性、依赖关系与验证",
128
+ "description": "审查 tasks.md 的任务覆盖、依赖和验证方法,判断是否可开始实现。",
129
129
  "category": "core",
130
130
  "file_name": "review-tasks.md",
131
131
  },
132
132
  {
133
133
  "name": "implement-tasks",
134
- "description": "按 TDD 流程执行任务实现",
134
+ "description": "按 tasks.md 实现功能,执行测试与独立审查,并修复经核实的问题。",
135
135
  "display_name": "/codexspec:implement-tasks",
136
136
  "category": "core",
137
137
  "file_name": "implement-tasks.md",
@@ -139,7 +139,7 @@ def get_commands_metadata() -> list[CommandMetadata]:
139
139
  {
140
140
  "name": "auto-dev",
141
141
  "display_name": "/codexspec:auto-dev",
142
- "description": "按顺序自主开发共享蓝图中的所有待实现需求",
142
+ "description": "按蓝图顺序自动开发已确认需求,完成从规格到实现、验证和提交的流程。",
143
143
  "category": "core",
144
144
  "file_name": "auto-dev.md",
145
145
  },
@@ -147,63 +147,63 @@ def get_commands_metadata() -> list[CommandMetadata]:
147
147
  {
148
148
  "name": "clarify",
149
149
  "display_name": "/codexspec:clarify",
150
- "description": "解决需求歧义,并将 requirements.md 与 spec.md 同步",
150
+ "description": "通过问答澄清遗漏、歧义和矛盾,将确认结果同步到 requirements.md 和 spec.md。",
151
151
  "category": "enhanced",
152
152
  "file_name": "clarify.md",
153
153
  },
154
154
  {
155
155
  "name": "analyze",
156
156
  "display_name": "/codexspec:analyze",
157
- "description": "分析 SDD 工件间的端到端可追溯性与一致性",
157
+ "description": "核对需求到任务的文档一致性,自动修复可由已确认需求确定的下游问题。",
158
158
  "category": "enhanced",
159
159
  "file_name": "analyze.md",
160
160
  },
161
161
  {
162
162
  "name": "checklist",
163
163
  "display_name": "/codexspec:checklist",
164
- "description": "生成需求质量检查清单",
164
+ "description": "生成需求质量检查清单,检查完整性、清晰度与场景覆盖,而非测试代码。",
165
165
  "category": "enhanced",
166
166
  "file_name": "checklist.md",
167
167
  },
168
168
  {
169
169
  "name": "tasks-to-issues",
170
170
  "display_name": "/codexspec:tasks-to-issues",
171
- "description": "将任务转换为 GitHub Issues",
171
+ "description": "将 tasks.md 中的任务创建为 GitHub Issue,附上相关文件、依赖及已有验收标准。",
172
172
  "category": "enhanced",
173
173
  "file_name": "tasks-to-issues.md",
174
174
  },
175
175
  {
176
176
  "name": "distill",
177
177
  "display_name": "/codexspec:distill",
178
- "description": "从交互中萃取可复用的跨特性知识到 .codexspec/profile/",
178
+ "description": "从工作交互中提取可复用经验,存入项目知识库,或审阅、修订和合并已有记录。",
179
179
  "category": "enhanced",
180
180
  "file_name": "distill.md",
181
181
  },
182
182
  {
183
183
  "name": "evolve",
184
184
  "display_name": "/codexspec:evolve",
185
- "description": "将 profile 沉淀编译为命令/技能并通过评审 PR 贡献回上游",
185
+ "description": "将已验证并认可的通用项目知识整理成命令或技能,经你确认后向上游提交 PR。",
186
186
  "category": "enhanced",
187
187
  "file_name": "evolve.md",
188
188
  },
189
189
  {
190
190
  "name": "onboard",
191
191
  "display_name": "/codexspec:onboard",
192
- "description": "扫描现有代码库冷启动项目 profile(提取 conventions 与 constraints)",
192
+ "description": "扫描已有代码,将项目约定和明确限制记录到知识库,限制类记录经你审阅后保存。",
193
193
  "category": "enhanced",
194
194
  "file_name": "onboard.md",
195
195
  },
196
196
  {
197
197
  "name": "reverse-spec",
198
198
  "display_name": "/codexspec:reverse-spec",
199
- "description": "存量代码反向生成 spec/design,并与已确认基线对账(只报漂移,不自动修改)",
199
+ "description": "从已有代码生成架构概览或模块规格与设计;已有确认基线时报告差异。",
200
200
  "category": "enhanced",
201
201
  "file_name": "reverse-spec.md",
202
202
  },
203
203
  {
204
204
  "name": "debug",
205
205
  "display_name": "/codexspec:debug",
206
- "description": "系统化根因排查(四阶段:复现→定位根因→单一修复),可独立调用或由 implement-tasks 升级进入",
206
+ "description": "复现报错或异常现象,定位根本原因,再进行最小修复并验证结果。",
207
207
  "category": "enhanced",
208
208
  "file_name": "debug.md",
209
209
  },
@@ -211,21 +211,21 @@ def get_commands_metadata() -> list[CommandMetadata]:
211
211
  {
212
212
  "name": "commit-staged",
213
213
  "display_name": "/codexspec:commit-staged",
214
- "description": "从暂存更改生成提交信息(含会话上下文感知)",
214
+ "description": "仅根据暂存改动生成提交信息并执行已授权的提交;-p 只预览,不执行提交。",
215
215
  "category": "git",
216
216
  "file_name": "commit-staged.md",
217
217
  },
218
218
  {
219
219
  "name": "pr",
220
220
  "display_name": "/codexspec:pr",
221
- "description": "生成 PR/MR 描述",
221
+ "description": "根据分支差异生成 GitHub PR 或 GitLab MR 的标题、说明与验证指引。",
222
222
  "category": "git",
223
223
  "file_name": "pr.md",
224
224
  },
225
225
  {
226
226
  "name": "release-notes",
227
227
  "display_name": "/codexspec:release-notes",
228
- "description": "从 git 历史生成发布说明:更新 CHANGELOG.md + 用户向发布正文(不决定版本)",
228
+ "description": "根据 Git 历史增补 CHANGELOG.md 并生成发布说明,不执行发布。",
229
229
  "category": "git",
230
230
  "file_name": "release-notes.md",
231
231
  },
@@ -233,7 +233,7 @@ def get_commands_metadata() -> list[CommandMetadata]:
233
233
  {
234
234
  "name": "review-code",
235
235
  "display_name": "/codexspec:review-code",
236
- "description": "将所选变更作为严格缺陷门禁进行审查,或使用 --audit 审计路径",
236
+ "description": "审查 Git 改动并判断是否可合并;--audit 用于评估现有代码质量。",
237
237
  "category": "review",
238
238
  "file_name": "review-code.md",
239
239
  },
@@ -241,14 +241,14 @@ def get_commands_metadata() -> list[CommandMetadata]:
241
241
  {
242
242
  "name": "config",
243
243
  "display_name": "/codexspec:config",
244
- "description": "交互式管理 CodexSpec 项目配置 (.codexspec/config.yml)",
244
+ "description": "交互式设置语言、自动化和 worktree 等项目选项;--view 只查看配置。",
245
245
  "category": "utility",
246
246
  "file_name": "config.md",
247
247
  },
248
248
  {
249
249
  "name": "quick",
250
250
  "display_name": "/codexspec:quick",
251
- "description": "为小型变更运行精简的 Requirements-First SDD 流程",
251
+ "description": "确认小范围需求后,自动完成规格、计划、任务、实现与审查。",
252
252
  "category": "utility",
253
253
  "file_name": "quick.md",
254
254
  },
@@ -18,6 +18,7 @@ from pathlib import Path
18
18
  from typing import Any, Sequence
19
19
 
20
20
  GIT_TIMEOUT_SECONDS = 600
21
+ GIT_COMMIT_TIMEOUT_SECONDS = 3600
21
22
  _FALLBACK_LOCAL_ENV_VARS = {
22
23
  "GIT_ALTERNATE_OBJECT_DIRECTORIES",
23
24
  "GIT_COMMON_DIR",
@@ -83,6 +84,7 @@ class GitRunner:
83
84
  input_text: str | None = None,
84
85
  index_file: Path | None = None,
85
86
  reflog_action: str | None = None,
87
+ timeout_seconds: int = GIT_TIMEOUT_SECONDS,
86
88
  ) -> subprocess.CompletedProcess[str]:
87
89
  environment = self.environment()
88
90
  if reflog_action is not None:
@@ -93,6 +95,7 @@ class GitRunner:
93
95
  ["git", "-C", str(repository), *args],
94
96
  input=input_text,
95
97
  env=environment,
98
+ timeout_seconds=timeout_seconds,
96
99
  )
97
100
  if check and result.returncode != 0:
98
101
  detail = result.stderr.strip() or result.stdout.strip()
@@ -105,6 +108,7 @@ def _run_git_with_timeout(
105
108
  *,
106
109
  input: str | None = None,
107
110
  env: Mapping[str, str] | None = None,
111
+ timeout_seconds: int = GIT_TIMEOUT_SECONDS,
108
112
  ) -> subprocess.CompletedProcess[str]:
109
113
  try:
110
114
  # Text-mode stdin rewrites LF to CRLF on Windows, changing prepared
@@ -113,7 +117,7 @@ def _run_git_with_timeout(
113
117
  command,
114
118
  capture_output=True,
115
119
  check=False,
116
- timeout=GIT_TIMEOUT_SECONDS,
120
+ timeout=timeout_seconds,
117
121
  input=input.encode("utf-8") if input is not None else None,
118
122
  env=env,
119
123
  )
@@ -343,6 +347,7 @@ def guarded_commit(
343
347
  input_text=message,
344
348
  index_file=index_file,
345
349
  reflog_action="merge " + " ".join(merge_heads) if merge_hook else None,
350
+ timeout_seconds=GIT_COMMIT_TIMEOUT_SECONDS,
346
351
  )
347
352
  commit = git.run(repository, "rev-parse", "HEAD").stdout.strip()
348
353
  if git.run(repository, "rev-parse", "HEAD^{tree}").stdout.strip() != expected_tree:
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Analyze end-to-end traceability and consistency across SDD artifacts
2
+ description: Check consistency from requirements through tasks and automatically fix downstream issues supported by confirmed requirements.
3
3
  argument-hint: "[feature directory]"
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Autonomously develop every pending requirement in the shared blueprint
2
+ description: Develop confirmed blueprint requirements in order, from specification to verified implementation and commits.
3
3
  argument-hint: ""
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Discuss and maintain confirmed requirements in the shared product blueprint
2
+ description: Plan multiple features in a shared blueprint, recording confirmed requirements and organizing pending work for auto-dev.
3
3
  argument-hint: "Describe a new requirement, or identify a pending requirement to replace, delete, or move"
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Generate a custom quality checklist for validating requirements completeness, clarity, and consistency
2
+ description: Create a checklist for requirement completeness, clarity and scenario coverage, rather than testing code.
3
3
  scripts:
4
4
  sh: .codexspec/scripts/check-prerequisites.sh --json
5
5
  ps: .codexspec/scripts/check-prerequisites.ps1 -Json
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Resolve requirement ambiguities and synchronize requirements.md with spec.md
2
+ description: Resolve gaps, ambiguity and contradictions through focused questions, then synchronize confirmed decisions into requirements.md and spec.md.
3
3
  argument-hint: "[spec.md, requirements.md, or feature directory]"
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Analyze staged git changes and generate Conventional Commits compliant commit messages strictly from the staged diff
2
+ description: Generate a message strictly from staged changes and execute the authorized commit; use -p to preview without committing.
3
3
  argument-hint: "[-p] Use -p to only preview the message without committing"
4
4
  allowed-tools: Bash(git diff:*), Bash(git status:*), Bash(git rev-parse:*), Bash(git write-tree:*), Bash(codexspec _commit-staged-helper:*), Bash(python3:*), Bash(python:*), Bash(py:*)
5
5
  forbidden-tools: Bash(git add:*), Bash(git reset:*), Bash(git checkout:*), Bash(git restore:*), Bash(git stash:*), Bash(git rm:*)
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Manage CodexSpec project configuration interactively
2
+ description: Interactively configure languages, automation, worktrees and other project options; use --view to inspect settings only.
3
3
  argument-hint: "[--view] View current configuration without modification"
4
4
  ---
5
5
 
@@ -165,30 +165,83 @@ To create a new configuration, run `/codexspec:config` without arguments.
165
165
 
166
166
  ### Step 3: Interactive Mode (Configuration Exists)
167
167
 
168
- If configuration exists and no `--view` flag, present the management menu using the host agent's structured-question tool (e.g., `AskUserQuestion` or `request_user_input`):
168
+ If configuration exists and no `--view` flag, read the configuration from the invoking
169
+ checkout and show the overview below **before** asking what to do. This display is
170
+ read-only: do not create or route to a worktree merely to show it. Do not show raw
171
+ YAML before the tables. Use `language.interaction` for headings, explanations, and
172
+ choices; retain configuration field names and values verbatim.
173
+
174
+ Compute each current setting from the YAML according to its own effective-value
175
+ rule, even when the field is absent. Do not copy only the stored lines into the
176
+ table. An unknown YAML key does not create an overview row. If the file cannot be
177
+ read or parsed, follow Error Handling instead of inventing current values.
178
+
179
+ #### Project metadata table
180
+
181
+ Render this table first. Metadata current values are stored values, not runtime
182
+ fallbacks. If a metadata key is absent, show not set as its current value. The
183
+ creation date is the date of initialization, not a fixed calendar-date default.
184
+
185
+ | Field | Meaning | Default or creation rule | Current value |
186
+ |---|---|---|---|
187
+ | `version` | Configuration format version | Initialized as `1.0` | {stored value or not set} |
188
+ | `project.ai` | AI integration selected for the project | `codexspec init` defaults to `claude`; `--ai` can select another integration | {stored value or not set} |
189
+ | `project.created` | Project configuration creation date | Generated on the creation date | {stored value or not set} |
190
+
191
+ #### Adjustable settings table
192
+
193
+ Render this table second. Replace each placeholder with the effective current
194
+ value; do not display a missing key as if its default were explicitly stored.
195
+
196
+ | Field | Meaning | Default or fallback rule | Current value |
197
+ |---|---|---|---|
198
+ | `language.output` | Base language for fallback | `en` | {effective value} |
199
+ | `language.interaction` | Conversation and CLI output language | Explicit value → `language.output` → `en` | {effective value} |
200
+ | `language.document` | Generated artifact language | Explicit value → `language.output` → `en` | {effective value} |
201
+ | `language.commit` | Git commit message language | Explicit value → `language.output` → `en` | {effective value} |
202
+ | `workflow.auto_next` | Automatically advance after a passing SDD stage | `false`; only literal `true` enables | {effective value} |
203
+ | `workflow.auto_distill` | Automatically distill knowledge after wrap-up commands | `true`; only literal `false` disables | {effective value} |
204
+ | `workflow.auto_maintenance` | Automatically apply substantiated incremental maintenance during repairs | `true` when absent; an explicit value must be a YAML boolean | {effective value or invalid value} |
205
+ | `workflow.worktrees` | Isolate ordinary work in Git worktrees | `true`; only literal `false` disables | {effective value} |
206
+ | `review.decided_by` | Who decides whether an out-of-context review finding applies | `reviewer`; valid values: `reviewer`, `ask` | {effective value or invalid value} |
207
+
208
+ Apply these rules explicitly: interaction/document/commit: explicit value → language.output → en;
209
+ workflow.auto_next: only literal true enables; workflow.auto_distill: only literal false disables;
210
+ workflow.auto_maintenance: absent means true; workflow.worktrees: only literal false disables;
211
+ review.decided_by: absent means reviewer. If an explicit `workflow.auto_maintenance`
212
+ value is not a YAML boolean, or `review.decided_by` is not `reviewer` or `ask`, mark
213
+ that current value invalid and explain the correction; do not silently replace it
214
+ with a default. Do not add `language.templates` to either table.
215
+
216
+ #### Choose an action
217
+
218
+ After both tables, offer the three actions below using the host agent's
219
+ structured-question tool (for example, `AskUserQuestion` or `request_user_input`)
220
+ when available. If it is unavailable, show the same three choices in text and ask
221
+ the user to select one. Do not ask before displaying the tables.
169
222
 
170
223
  ```json
171
224
  {
172
225
  "questions": [{
173
- "question": "Configuration file found. What would you like to do?",
226
+ "question": "What would you like to do with the configuration?",
174
227
  "header": "Config Action",
175
228
  "options": [
176
- {"label": "View current config", "description": "Display the current configuration settings"},
177
- {"label": "Modify config", "description": "Change specific configuration values"},
229
+ {"label": "Modify config", "description": "Change a configuration setting"},
178
230
  {"label": "Reset to defaults", "description": "Reset all settings to default values"},
179
- {"label": "Cancel", "description": "Exit without making changes"}
231
+ {"label": "View only", "description": "Finish without making changes"}
180
232
  ]
181
233
  }]
182
234
  }
183
235
  ```
184
236
 
185
- > **Note**: The field schema above follows the `AskUserQuestion` convention. Under `request_user_input`, each question additionally requires an `id` (snake_case) and accepts 2–3 options — follow the host tool's actual schema rather than copying this example verbatim.
237
+ > **Note**: Follow the host tool's actual question schema. Codex
238
+ > `request_user_input` requires an `id` and accepts 2–3 options.
186
239
 
187
240
  Then handle each option:
188
241
 
189
- #### Option: View current config
242
+ #### Option: View only
190
243
 
191
- Display the configuration as in Step 2, then exit.
244
+ View only: exit without writing or creating a worktree.
192
245
 
193
246
  #### Option: Modify config
194
247
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
2
+ description: Define or update project principles in constitution.md and check related documents for consistency.
3
3
  argument-hint: |
4
4
  [quick|deep | project principles] (optional)
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Debug a failure to its root cause before proposing any fix
2
+ description: Reproduce a reported failure, trace its root cause, then apply and verify a minimal fix.
3
3
  argument-hint: "[error text | failing test | file:line | plain-language symptom]"
4
4
  allowed-tools: Read, Grep, Glob, Bash, Edit, Write
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Convert a confirmed design into a traceable implementation plan
2
+ description: Turn design.md into plan.md with implementation phases, execution order and verification steps.
3
3
  argument-hint: "[design.md, spec.md, or feature directory]"
4
4
  handoffs:
5
5
  - agent: claude
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Distill reusable, cross-feature knowledge from an interaction into the project profile
2
+ description: Capture reusable lessons from interactions in the project profile, or review, revise and consolidate existing records.
3
3
  argument-hint: "[interaction segment or context to distill]"
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Compile vetted project-profile knowledge into a reusable command/skill and contribute it upstream via a reviewed PR
2
+ description: Turn vetted, broadly useful project knowledge into commands or skills; open an upstream PR after your approval.
3
3
  argument-hint: "[what to evolve, or a profile area]"
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Compile confirmed requirements into a traceable spec.md
2
+ description: Turn confirmed requirements into spec.md with feature behavior, error handling and acceptance criteria.
3
3
  argument-hint: "[requirements.md or feature directory]"
4
4
  handoffs:
5
5
  - agent: claude
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Execute implementation tasks with conditional TDD workflow (TDD for code, direct implementation for docs/config)
2
+ description: Implement tasks.md, run tests and independent review, and repair verified issues.
3
3
  argument-hint: "[tasks_path] | [spec_path plan_path tasks_path]"
4
4
  handoffs:
5
5
  - agent: claude
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Cold-start the project profile by scanning an existing codebase for conventions and constraints
2
+ description: Scan existing code to record conventions and explicit constraints in the project profile, saving constraints after your review.
3
3
  argument-hint: "[path]"
4
4
  allowed-tools: Read, Grep, Glob, Bash(git:*), Bash(ls/cat/find:*), Edit, Write
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Expand an approved plan into traceable, executable tasks
2
+ description: Break plan.md into tasks.md with concrete work, dependencies and verification, including scenarios for testable tasks.
3
3
  argument-hint: "[tasks feature directory, plan.md, or spec.md]"
4
4
  handoffs:
5
5
  - agent: claude
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Generate structured Pull Request (GitHub) or Merge Request (GitLab) descriptions based on git diff and optional spec.md integration
2
+ description: Draft GitHub PR or GitLab MR titles, descriptions and verification guidance from branch differences.
3
3
  allowed-tools: Bash(git branch:*), Bash(git diff:*), Bash(git log:*), Bash(git remote:*), Bash(git rev-parse:*), Bash(ls:*), Bash(cat:*)
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Run a compact requirements-first SDD flow for a small change
2
+ description: Confirm a small, bounded requirement, then automate specification, planning, tasks, implementation and review.
3
3
  argument-hint: "Describe a small requirement"
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Generate release notes from git history — maintain a Keep a Changelog CHANGELOG.md entry and emit a user-facing release body, without deciding versions or mutating git state
2
+ description: Add a CHANGELOG.md entry and draft release notes from Git history, without publishing a release.
3
3
  allowed-tools: Bash(git branch:*), Bash(git tag:*), Bash(git describe:*), Bash(git log:*), Bash(git diff:*), Bash(git rev-parse:*), Bash(git remote:*), Bash(ls:*), Bash(cat:*), Read, Edit, Write
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Reverse-derive spec/design from existing code, then reconcile code against the confirmed baseline
2
+ description: Derive an architecture overview or module spec and design from existing code; report differences when a confirmed baseline exists.
3
3
  argument-hint: "[path]"
4
4
  allowed-tools: Read, Grep, Glob, Bash, Edit, Write
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Review a selected change as a strict defect gate, or audit paths with --audit
2
+ description: Review Git changes for merge readiness; use --audit to assess existing code quality.
3
3
  argument-hint: |
4
4
  [defect-gate selectors | --audit [paths...]] (all arguments optional)
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Review design fidelity, feasibility, and planning readiness
2
+ description: Review design.md for requirement coverage and technical feasibility, judging readiness for implementation planning.
3
3
  argument-hint: "[design.md or feature directory]"
4
4
  handoffs:
5
5
  - agent: claude
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Review plan fidelity, feasibility, and implementation readiness
2
+ description: Review plan.md for implementation steps, ordering and requirement coverage, judging readiness for task breakdown.
3
3
  argument-hint: "[plan.md or feature directory]"
4
4
  handoffs:
5
5
  - agent: claude
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Review spec fidelity, internal quality, and planning readiness
2
+ description: Review spec.md for requirement coverage and verifiable acceptance criteria, judging readiness for design.
3
3
  argument-hint: "[spec.md or feature directory]"
4
4
  handoffs:
5
5
  - agent: claude