codexspec 0.5.17__tar.gz → 0.5.18__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 (62) hide show
  1. {codexspec-0.5.17 → codexspec-0.5.18}/PKG-INFO +1 -1
  2. {codexspec-0.5.17 → codexspec-0.5.18}/pyproject.toml +1 -1
  3. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/commit-staged.md +4 -12
  4. {codexspec-0.5.17 → codexspec-0.5.18}/.gitignore +0 -0
  5. {codexspec-0.5.17 → codexspec-0.5.18}/LICENSE +0 -0
  6. {codexspec-0.5.17 → codexspec-0.5.18}/README.md +0 -0
  7. {codexspec-0.5.17 → codexspec-0.5.18}/codexspec-icon.svg +0 -0
  8. {codexspec-0.5.17 → codexspec-0.5.18}/codexspec-logo-dark.svg +0 -0
  9. {codexspec-0.5.17 → codexspec-0.5.18}/codexspec-logo-light.svg +0 -0
  10. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/bash/check-i18n-completeness.sh +0 -0
  11. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/bash/check-i18n-structure.sh +0 -0
  12. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/bash/check-prerequisites.sh +0 -0
  13. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/bash/common.sh +0 -0
  14. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/bash/create-new-feature.sh +0 -0
  15. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/powershell/check-prerequisites.ps1 +0 -0
  16. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/powershell/common.ps1 +0 -0
  17. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/powershell/create-new-feature.ps1 +0 -0
  18. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/python/.claude/settings.local.json +0 -0
  19. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/python/README.md +0 -0
  20. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/python/claude_ctl.py +0 -0
  21. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/python/claude_monitor.py +0 -0
  22. {codexspec-0.5.17 → codexspec-0.5.18}/scripts/python/notify_telegram.py +0 -0
  23. {codexspec-0.5.17 → codexspec-0.5.18}/src/codexspec/__init__.py +0 -0
  24. {codexspec-0.5.17 → codexspec-0.5.18}/src/codexspec/commands/__init__.py +0 -0
  25. {codexspec-0.5.17 → codexspec-0.5.18}/src/codexspec/commands/installer.py +0 -0
  26. {codexspec-0.5.17 → codexspec-0.5.18}/src/codexspec/i18n.py +0 -0
  27. {codexspec-0.5.17 → codexspec-0.5.18}/src/codexspec/idea.md +0 -0
  28. {codexspec-0.5.17 → codexspec-0.5.18}/src/codexspec/translator.py +0 -0
  29. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/analyze.md +0 -0
  30. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/checklist.md +0 -0
  31. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/clarify.md +0 -0
  32. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/config.md +0 -0
  33. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/constitution.md +0 -0
  34. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/generate-spec.md +0 -0
  35. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/implement-tasks.md +0 -0
  36. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/plan-to-tasks.md +0 -0
  37. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/pr.md +0 -0
  38. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/quick.md +0 -0
  39. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/review-plan.md +0 -0
  40. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/review-python-code.md +0 -0
  41. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/review-react-code.md +0 -0
  42. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/review-spec.md +0 -0
  43. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/review-tasks.md +0 -0
  44. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/spec-to-plan.md +0 -0
  45. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/specify.md +0 -0
  46. {codexspec-0.5.17 → codexspec-0.5.18}/templates/commands/tasks-to-issues.md +0 -0
  47. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/checklist-template.md +0 -0
  48. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/constitution-template.md +0 -0
  49. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/plan-template-detailed.md +0 -0
  50. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/plan-template-simple.md +0 -0
  51. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/spec-template-detailed.md +0 -0
  52. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/spec-template-simple.md +0 -0
  53. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/tasks-template-detailed.md +0 -0
  54. {codexspec-0.5.17 → codexspec-0.5.18}/templates/docs/tasks-template-simple.md +0 -0
  55. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/de.json +0 -0
  56. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/en.json +0 -0
  57. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/es.json +0 -0
  58. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/fr.json +0 -0
  59. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/ja.json +0 -0
  60. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/ko.json +0 -0
  61. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/pt-BR.json +0 -0
  62. {codexspec-0.5.17 → codexspec-0.5.18}/templates/translations/zh-CN.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codexspec
3
- Version: 0.5.17
3
+ Version: 0.5.18
4
4
  Summary: CodexSpec - A Spec-Driven Development (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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "codexspec"
3
- version = "0.5.17"
3
+ version = "0.5.18"
4
4
  description = "CodexSpec - A Spec-Driven Development (SDD) toolkit for Claude Code"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Analyze staged git changes and generate Conventional Commits compliant commit messages with session context awareness
2
+ description: Analyze staged git changes and generate Conventional Commits compliant commit messages strictly from the staged diff
3
3
  argument-hint: "[-p] Use -p to only preview the message without committing"
4
4
  allowed-tools: Bash(git diff --staged:*), Bash(git diff --cached:*), Bash(git status:*), Bash(git commit:*)
5
5
  forbidden-tools: Bash(git add:*), Bash(git reset:*), Bash(git checkout:*), Bash(git restore:*), Bash(git stash:*), Bash(git rm:*)
@@ -105,6 +105,8 @@ Before analyzing changes, verify the staged state:
105
105
 
106
106
  ### Change Analysis
107
107
 
108
+ **Source of truth**: The staged diff is the *only* authoritative input for the commit message. Do NOT infer intent, motivation, or scope from prior conversation turns, earlier session messages, or any discussion unrelated to what is actually staged. If the diff alone is insufficient to write a clear and accurate message, ABORT and ask the user for clarification rather than guessing.
109
+
108
110
  1. Execute `git diff --staged` to retrieve staged changes.
109
111
 
110
112
  2. Analyze the changes and generate a commit message that strictly follows **Conventional Commits** specification:
@@ -113,7 +115,7 @@ Before analyzing changes, verify the staged state:
113
115
  - If the project has a `CLAUDE.md` with custom commit conventions, follow those instead
114
116
  - **DO NOT** include any AI attribution in the commit message
115
117
  - Do not add `Co-Authored-By` lines or any references to AI tools/agents
116
- - The commit message should focus solely on describing the changes
118
+ - The commit message should focus solely on describing the changes present in the staged diff
117
119
 
118
120
  3. **If preview mode (`-p`)**: Display the generated commit message and stop.
119
121
 
@@ -128,16 +130,6 @@ If `git commit` fails due to a pre-commit hook modifying files:
128
130
  3. Retry the commit with the same message
129
131
  4. If it still fails or the situation is unclear, ABORT and inform the user
130
132
 
131
- ## Session Context Awareness
132
-
133
- When analyzing changes, consider the current session context:
134
-
135
- - What the user has been working on in this session
136
- - The purpose and goals discussed in the conversation
137
- - Any related specifications, plans, or tasks mentioned
138
-
139
- This context helps generate more meaningful commit messages that reflect the "why" behind the changes, not just the "what".
140
-
141
133
  ## Important Notes
142
134
 
143
135
  - In execute mode (default), execute `git commit` directly after generating the message
File without changes
File without changes
File without changes