diagnostics: support redacted diagnose output files#1688
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 20, 2026, 10:35 PM ET / 02:35 UTC. Summary Reproducibility: not applicable. this is a feature PR for a new CLI output-file path, not a bug report with a failing current-main reproduction path. Source review confirms current main does not expose the requested Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the narrow CLI/export change with its real CLI proof and focused tests if maintainers accept the new diagnose flags and safe metadata fields. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a feature PR for a new CLI output-file path, not a bug report with a failing current-main reproduction path. Source review confirms current main does not expose the requested Is this the best way to solve the issue? Yes: the implementation is narrow and keeps the existing diagnostics pipeline redacting JSON before writing it. The remaining question is maintainer acceptance of the new public CLI flags, not an identified code defect. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3f3e2f4a112a. 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
|
|
Added real CLI proof to the PR body. What I ran on the PR branch:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Summary
codexbar diagnose --redact --output <path>support for writing the already-redacted provider diagnostic JSON to a fileplatformandappVersionfields in provider diagnostic exports for issue triageReal CLI proof
Ran the PR branch locally with a fake
SYNTHETIC_API_KEYvalue to verify the output-file path detects API auth without writing the raw token: