task: Update generated README to document Codex CLI - #36
Conversation
…Code Add Coding Tools section documenting both Claude Code and Codex CLI, including auth options (OPENAI_API_KEY, ChatGPT login) and usage (interactive TUI, --full-auto). Rename permissions section to cover both tools. Update Settings Sync and Customization sections.
BjRo
left a comment
There was a problem hiding this comment.
Go Code Review
Summary
Clean, well-scoped documentation-only change. The template updates are factually accurate (cross-referenced against existing devcontainer.json, Dockerfile, and codex config templates). Test coverage is thorough -- 4 new tests plus 2 updated tests covering the new section, renamed section, settings sync, and the containerEnv forwarding correction. All tests pass.
Two minor observations, neither blocking.
Verdict
LGTM
Automated review by Go Review Agent
| "OPENAI_API_KEY", | ||
| "ChatGPT", | ||
| "codex", | ||
| "codex --full-auto", |
There was a problem hiding this comment.
SUGGESTION: The bare "codex" check is a weak assertion -- it matches "Codex CLI" (via substring of the uppercase variant... actually no, strings.Contains is case-sensitive so "codex" does not match "Codex"). It does match "codex --full-auto" though, so it is fully redundant with line 336. Consider either removing this entry or anchoring it to the rendered backtick form (e.g., "`codex`") to verify the standalone command reference independently of the --full-auto variant.
This is cosmetic -- the test suite is correct as-is.
| "codex --full-auto", | ||
| "persist across container rebuilds", | ||
| } | ||
| for _, s := range checks { |
There was a problem hiding this comment.
SUGGESTION: "persist across container rebuilds" is a loose prose assertion that could silently pass or fail based on minor rewording. This is fine for a documentation template (the content is static and controlled), just noting the coupling is tighter than the structural assertions used elsewhere in this file (e.g., domain table checks). No action needed.
Codex Code ReviewNote: The Codex CLI review tool failed to connect to the OpenAI API (connection timeout after 5 retries). This review was performed manually instead. SummaryThis PR updates the generated README template ( FindingsSUGGESTION: Tests lack
|
- Anchor bare "codex" substring check to backtick-rendered form "`codex`" to avoid redundancy with the "codex --full-auto" check - Add t.Parallel() to four new pure-render test functions - Add Claude Code authentication note to README template for parity with Codex CLI authentication docs
Codex Code ReviewSummaryRe-review of PR #36 after rework. This PR updates the generated README template to document Codex CLI alongside Claude Code. All three previous SUGGESTION-level findings have been addressed:
Verification
FindingsNo new findings. The rework is clean and complete. VerdictAPPROVED -- All previous review feedback has been addressed. No remaining issues. Automated review by Codex Review Agent |
BjRo
left a comment
There was a problem hiding this comment.
Go Code Review (Post-Rework)
Summary
Rework cleanly addresses all three findings from the first review:
- Anchored bare substring check:
"codex"changed to"`codex`"inTestREADME_CodingToolsSection, matching the backtick-wrapped command reference in the template. This distinguishes the standalone command assertion from thecodex --full-autovariant. - Added
t.Parallel(): All four new test functions now callt.Parallel(). - Added Claude Code authentication note: The Claude Code subsection in
README.md.tmplnow has an**Authentication**line mirroring the Codex CLI auth documentation, improving symmetry.
No new issues introduced. Template content is factually accurate. Tests pass.
Verdict
LGTM
Automated review by Go Review Agent
Codex Code ReviewThe change is small and the tests pass, but the new README now makes an unconditional claim about Codex's runtime permissions that is not true when the existing shared Codex config volume is reused. That documentation mismatch is the only blocking issue I found. Review comment:
Automated review by Codex Review Agent |
* feat: Update generated README to document Codex CLI alongside Claude Code Add Coding Tools section documenting both Claude Code and Codex CLI, including auth options (OPENAI_API_KEY, ChatGPT login) and usage (interactive TUI, --full-auto). Rename permissions section to cover both tools. Update Settings Sync and Customization sections. * chore: Update bean agentbox-thmk pipeline state * fix: Address PR review feedback for agentbox-thmk - Anchor bare "codex" substring check to backtick-rendered form "`codex`" to avoid redundancy with the "codex --full-auto" check - Add t.Parallel() to four new pure-render test functions - Add Claude Code authentication note to README template for parity with Codex CLI authentication docs * chore: Mark rework bean agentbox-hj35 as completed * chore: Finalize bean agentbox-thmk pipeline state
Summary
Test plan
go test ./...passesgolangci-lint run ./...passesBean: agentbox-thmk
🤖 Generated with Claude Code