Repository navigation
test: split prompt proof label policy coverage - #327
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 18, 2026, 9:05 PM ET / 01:05 UTC. Summary Reproducibility: not applicable. This PR reorganizes tests rather than reporting a runtime bug. The relevant validation is the targeted Node test command plus pnpm run check, and GitHub shows pnpm check succeeded for the PR head. 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. Rank-up moves:
Next step before merge
Security Review detailsBest possible solution: Land the focused test split after ordinary maintainer review, keeping coverage grouped by prompt, proof-nudge, and label policy areas. Do we have a high-confidence way to reproduce the issue? Not applicable; this PR reorganizes tests rather than reporting a runtime bug. The relevant validation is the targeted Node test command plus pnpm run check, and GitHub shows pnpm check succeeded for the PR head. Is this the best way to solve the issue? Yes; extracting these policy clusters into focused test files is the narrow maintainable solution because it reduces the monolithic suite without changing production code. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a811372b8fd0. Label changesLabel 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
|
|
Landed after maintainer verification. Proof:
Landed commit: |
Summary
test/review-prompt-policy.test.tstest/proof-nudge-policy.test.tstest/pr-label-policy.test.tstest/clawsweeper.test.tsLOC
test/review-prompt-policy.test.ts: 492 linestest/proof-nudge-policy.test.ts: 647 linestest/pr-label-policy.test.ts: 975 linestest/clawsweeper.test.ts: 14,904 lines after extractionTests
node --test test/review-prompt-policy.test.ts test/proof-nudge-policy.test.ts test/pr-label-policy.test.tspnpm run check