feat(docs): add code format flag#705
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 7, 2026, 12:55 AM ET / 04:55 UTC. Summary Reproducibility: not applicable. as a bug reproduction: this is a feature PR. Source inspection confirms current main lacks the flag, while the PR body reports live E2E validation for the new behavior. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge
Security Review detailsBest possible solution: Land the shared Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: this is a feature PR. Source inspection confirms current main lacks the flag, while the PR body reports live E2E validation for the new behavior. Is this the best way to solve the issue? Yes. Adding the flag to shared AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against cce9e510db65. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
--codeto the shared Docs format flags, applying the existing Courier New + grey background code style.--codewith--font-familyor--bg-color, because those fields are owned by the code style.Closes #685.
Proof
go test ./internal/cmd -run 'TestDocsFormatFlags|TestDocsFormatCmdMatchAll'go test ./internal/cmd/...make docs-commandsmake ciautoreview --mode localclean, no accepted/actionable findingsclawdbot@gmail.com: created scratch Doc1Uir0CrHQoOCW13kRLtOZcR0VRlIja43XcLzsYjk5QVM, verified raw Docs API styling for bothdocs format --codeand plain-textdocs write --code, verified conflicts for--font-familyand--bg-color, then trashed the Doc and verifiedtrashed:true.