Repository navigation
fix(repair): keep truncated slugs idempotent - #688
Conversation
Co-authored-by: Cameron Beeley <[email protected]>
|
Codex review: needs real behavior proof before merge. Reviewed July 18, 2026, 10:54 PM ET / July 19, 2026, 02:54 UTC. Summary Reproducibility: yes. from source: current main can produce a trailing dash when truncation lands on the replacement dash, and re-normalizing that output removes it. The linked report supplies the concrete boundary input. Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Keep the small post-slice trim and focused regression coverage, then attach observable after-fix matrix output demonstrating the original failing boundary and repeated normalization result. Do we have a high-confidence way to reproduce the issue? Yes from source: current main can produce a trailing dash when truncation lands on the replacement dash, and re-normalizing that output removes it. The linked report supplies the concrete boundary input. Is this the best way to solve the issue? Yes. Re-trimming only trailing dashes after the existing length cap preserves the established normalization and fallback behavior without widening the API. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 78d244f2a087. 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
|
Co-authored-by: Cameron Beeley <[email protected]>
Summary
Thanks @anagnorisis2peripeteia for the report and original diagnosis.
Proof
pnpm run buildnode --test test/repair/text-utils.test.tsCloses #572