Skip to content

docs: add Codex config and optimize Claude Code for LLM commits - #837

Merged
max-sixty merged 2 commits into
mainfrom
commit-codex
Jan 24, 2026
Merged

max-sixty merged 2 commits into
mainfrom
commit-codex

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Summary

  • Add OpenAI Codex CLI as an option for LLM commit message generation using gpt-5.1-codex-mini with low reasoning effort
  • Update Claude Code config with optimization flags (MAX_THINKING_TOKENS=0, --tools '', --disable-slash-commands, --setting-sources '', --system-prompt '') for faster text-only output
  • Add bench-llm-commits task to Taskfile for comparing tool performance

Test plan

  • Verify docs render correctly on the site
  • Run task bench-llm-commits to verify benchmark task works (requires at least one tool installed)

🤖 Generated with Claude Code

max-sixty and others added 2 commits January 24, 2026 12:31
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Add OpenAI Codex CLI as an option for LLM commit message generation.
Configure with gpt-5.1-codex-mini model, low reasoning effort, and
read-only sandbox. Uses jq to parse JSON output.

Update Claude Code config with optimization flags that disable tools,
skills, settings, and system prompt for faster text-only output.

Add bench-llm-commits task to Taskfile for comparing tool performance.

Co-Authored-By: Claude <noreply@anthropic.com>
@max-sixty
max-sixty merged commit cbe65a6 into main Jan 24, 2026
21 checks passed
@max-sixty
max-sixty deleted the commit-codex branch January 24, 2026 20:56
max-sixty pushed a commit that referenced this pull request Aug 23, 2026
…#3867)

The Codex setup section in the LLM-commits docs describes the pinned
model as "the fast mini model", but the command it sits under pins
`gpt-5.6-luna` — which is not a `-mini` model. The prose was written in
#837 when the pin was a mini variant and was left behind when #3430
bumped `gpt-5.4-mini` → `gpt-5.6-luna`. This rewords the sentence to
describe what the command actually pins, following #3430's own framing
of `gpt-5.6-luna` as "the fast/low-cost variant of the current
recommended (5.6) family".

`docs/src/content/docs/llm-commits.md` is the primary (non-command doc,
per the sync taxonomy in `docs/CLAUDE.md`); the two mirrors under
`skills/` and `plugins/` were regenerated by `cargo test --test
integration test_docs_are_in_sync`, which now passes. The branch was
rebased onto `main` after #3866 relocated the docs tree, so the edit
lands at the post-#3866 path rather than the old `docs/content/` one.

No regression test: the change is a single prose sentence with no
behavior behind it. The sync test already pins the mirrors to the
primary, which is the only mechanical invariant here.

<details><summary>Nightly sweep context</summary>

Found during the rolling survey (bucket 23/28), reviewing
`skills/worktrunk/reference/llm-commits.md`.

Provenance:

```
$ git log --oneline -1 -S 'Uses the fast mini model' -- docs/content/llm-commits.md
cbe65a6 docs: add Codex config and optimize Claude Code for LLM commits (#837)
$ git log --oneline -1 -S 'gpt-5.6-luna' -- docs/content/llm-commits.md
c532d2d docs(llm-commits): bump Codex commit-generation model to gpt-5.6-luna (#3430)
```

A repo-wide `grep -i mini` turned up no other stale reference to the old
pin — the model string itself is consistent across `src/cli/mod.rs`,
`dev/config.example.toml`, `Taskfile.yaml`, and
`src/output/commit_generation.rs`; only this one sentence describes it.

</details>

Co-authored-by: worktrunk-bot <254187624+worktrunk-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant