codexspec 0.7.26__tar.gz → 0.7.28__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.26 → codexspec-0.7.28}/PKG-INFO +7 -1
  2. {codexspec-0.7.26 → codexspec-0.7.28}/README.md +6 -0
  3. {codexspec-0.7.26 → codexspec-0.7.28}/pyproject.toml +1 -1
  4. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/__init__.py +1 -1
  5. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/commit_runtime.py +6 -1
  6. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/session.py +6 -3
  7. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/transaction.py +6 -3
  8. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/config.md +61 -8
  9. {codexspec-0.7.26 → codexspec-0.7.28}/.gitignore +0 -0
  10. {codexspec-0.7.26 → codexspec-0.7.28}/LICENSE +0 -0
  11. {codexspec-0.7.26 → codexspec-0.7.28}/codexspec-icon.svg +0 -0
  12. {codexspec-0.7.26 → codexspec-0.7.28}/codexspec-logo-dark.svg +0 -0
  13. {codexspec-0.7.26 → codexspec-0.7.28}/codexspec-logo-light.svg +0 -0
  14. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/bash/check-i18n-completeness.sh +0 -0
  15. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/bash/check-i18n-structure.sh +0 -0
  16. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/bash/check-prerequisites.sh +0 -0
  17. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/bash/common.sh +0 -0
  18. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/bash/create-new-feature.sh +0 -0
  19. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/bash/review-context.sh +0 -0
  20. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/powershell/check-prerequisites.ps1 +0 -0
  21. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/powershell/common.ps1 +0 -0
  22. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/powershell/create-new-feature.ps1 +0 -0
  23. {codexspec-0.7.26 → codexspec-0.7.28}/scripts/powershell/review-context.ps1 +0 -0
  24. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/automation.py +0 -0
  25. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/blueprint.py +0 -0
  26. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/commands/__init__.py +0 -0
  27. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/commands/installer.py +0 -0
  28. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/commit_guidance.py +0 -0
  29. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/__init__.py +0 -0
  30. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/app.js +0 -0
  31. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/ar.json +0 -0
  32. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/de.json +0 -0
  33. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/en.json +0 -0
  34. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/es.json +0 -0
  35. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/fr.json +0 -0
  36. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/hi.json +0 -0
  37. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/it.json +0 -0
  38. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/ja.json +0 -0
  39. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/ko.json +0 -0
  40. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/pt.json +0 -0
  41. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/ru.json +0 -0
  42. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/zh-CN.json +0 -0
  43. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/i18n/zh-TW.json +0 -0
  44. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/index.html +0 -0
  45. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/assets/styles.css +0 -0
  46. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/domain.py +0 -0
  47. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/lease.py +0 -0
  48. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/models.py +0 -0
  49. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/records.py +0 -0
  50. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/server.py +0 -0
  51. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/distill_review/terminal.py +0 -0
  52. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/i18n.py +0 -0
  53. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/idea.md +0 -0
  54. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/__init__.py +0 -0
  55. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/cli.py +0 -0
  56. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/discovery.py +0 -0
  57. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/metadata.py +0 -0
  58. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/release.py +0 -0
  59. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/render.py +0 -0
  60. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/upgrade.py +0 -0
  61. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/installations/worker.py +0 -0
  62. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/integrations/__init__.py +0 -0
  63. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/integrations/base.py +0 -0
  64. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/integrations/claude.py +0 -0
  65. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/integrations/codex.py +0 -0
  66. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/merge_commits.py +0 -0
  67. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/profile.py +0 -0
  68. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/review_maintenance.py +0 -0
  69. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/review_standards.py +0 -0
  70. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/specs_context.py +0 -0
  71. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/staged_commits.py +0 -0
  72. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/translator.py +0 -0
  73. {codexspec-0.7.26 → codexspec-0.7.28}/src/codexspec/worktrees.py +0 -0
  74. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/analyze.md +0 -0
  75. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/auto-dev.md +0 -0
  76. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/blueprint.md +0 -0
  77. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/checklist.md +0 -0
  78. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/clarify.md +0 -0
  79. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/commit-staged.md +0 -0
  80. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/constitution.md +0 -0
  81. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/debug.md +0 -0
  82. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/design-to-plan.md +0 -0
  83. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/distill.md +0 -0
  84. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/evolve.md +0 -0
  85. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/generate-spec.md +0 -0
  86. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/implement-tasks.md +0 -0
  87. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/onboard.md +0 -0
  88. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/plan-to-tasks.md +0 -0
  89. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/pr.md +0 -0
  90. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/quick.md +0 -0
  91. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/release-notes.md +0 -0
  92. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/reverse-spec.md +0 -0
  93. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/review-code.md +0 -0
  94. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/review-design.md +0 -0
  95. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/review-plan.md +0 -0
  96. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/review-spec.md +0 -0
  97. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/review-tasks.md +0 -0
  98. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/spec-to-design.md +0 -0
  99. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/specify.md +0 -0
  100. {codexspec-0.7.26 → codexspec-0.7.28}/templates/commands/tasks-to-issues.md +0 -0
  101. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/checklist-template.md +0 -0
  102. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/constitution-template.md +0 -0
  103. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/design-template.md +0 -0
  104. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/plan-template-detailed.md +0 -0
  105. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/plan-template-simple.md +0 -0
  106. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/requirements-template.md +0 -0
  107. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/spec-template-detailed.md +0 -0
  108. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/spec-template-simple.md +0 -0
  109. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/tasks-template-detailed.md +0 -0
  110. {codexspec-0.7.26 → codexspec-0.7.28}/templates/docs/tasks-template-simple.md +0 -0
  111. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/change-review.md +0 -0
  112. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/common.md +0 -0
  113. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/dimensions/business-semantics.md +0 -0
  114. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/dimensions/concurrency.md +0 -0
  115. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/dimensions/logic.md +0 -0
  116. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/dimensions/maintainability.md +0 -0
  117. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/dimensions/performance.md +0 -0
  118. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/dimensions/robustness.md +0 -0
  119. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/dimensions/security.md +0 -0
  120. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/frameworks/react.md +0 -0
  121. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/index.md +0 -0
  122. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/c.md +0 -0
  123. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/cpp.md +0 -0
  124. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/csharp.md +0 -0
  125. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/go.md +0 -0
  126. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/java.md +0 -0
  127. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/javascript.md +0 -0
  128. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/kotlin.md +0 -0
  129. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/php.md +0 -0
  130. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/python.md +0 -0
  131. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/ruby.md +0 -0
  132. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/rust.md +0 -0
  133. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/shell.md +0 -0
  134. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/swift.md +0 -0
  135. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/languages/typescript.md +0 -0
  136. {codexspec-0.7.26 → codexspec-0.7.28}/templates/review-code/quality-assessment.md +0 -0
  137. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/de.json +0 -0
  138. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/en.json +0 -0
  139. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/es.json +0 -0
  140. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/fr.json +0 -0
  141. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/ja.json +0 -0
  142. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/ko.json +0 -0
  143. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/pt-BR.json +0 -0
  144. {codexspec-0.7.26 → codexspec-0.7.28}/templates/translations/zh-CN.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: codexspec
3
- Version: 0.7.26
3
+ Version: 0.7.28
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.26"
3
+ version = "0.7.28"
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.26"
83
+ __version__ = "0.7.28"
84
84
  __author__ = "CodexSpec Team"
85
85
 
86
86
  # Constitution file path constants
@@ -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:
@@ -219,9 +219,12 @@ class SessionStore:
219
219
  os.fsync(directory)
220
220
  finally:
221
221
  try:
222
- os.unlink(temporary, dir_fd=directory)
223
- except FileNotFoundError:
224
- pass
222
+ os.close(descriptor)
223
+ finally:
224
+ try:
225
+ os.unlink(temporary, dir_fd=directory)
226
+ except FileNotFoundError:
227
+ pass
225
228
 
226
229
  def _write_runtime(self, name: str, content: bytes) -> None:
227
230
  with self._runtime_directory(create=True) as directory:
@@ -487,9 +487,12 @@ class ProfileTransaction:
487
487
  os.fsync(directory)
488
488
  finally:
489
489
  try:
490
- os.unlink(temporary_name, dir_fd=directory)
491
- except FileNotFoundError:
492
- pass
490
+ os.close(descriptor)
491
+ finally:
492
+ try:
493
+ os.unlink(temporary_name, dir_fd=directory)
494
+ except FileNotFoundError:
495
+ pass
493
496
 
494
497
  def _write_target(
495
498
  self,
@@ -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
 
File without changes
File without changes