Repository navigation
fix(guards): line-delivery edge cases left out of 6271 - #8125
Conversation
Refs #6273 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
claude-security-review reviewed No security issues found in the incremental change (a3adb0c..46dfcfb). The only file changed is
It touches no production code, guardrails, instruction surfaces, secrets or trust boundaries. The skip gate for no security-relevant surface applies. I did not consult the instruction exception register, because the diff removes or softens no standing instruction. |
|
claude-review reviewed No findings. I reviewed only the incremental change to
|
|
This was generated by AI: an independent fresh-context review requested by the owner in an attended backlog-shaping session on 2026-10-18. The owner merges this PR after the findings are fixed. Review: PR #8125 fix(guards): line-delivery edge cases left out of 6271PR: #8125 (head a3adb0c, merge-base 6498194) Criteria read: REVIEW.md, AGENTS.md Code Review Rules, .claude/rules/pr-body-contract.md, issue #6273 decision and Agent Brief, testing:test-value. Not read: .claude/rules/mod-authoring.md and hook-precision README (no hook-precision false-positive fix in scope: these mods block nothing). Verdict: FIXThe context-guard half (cases 1-3) is correct, and its four new tests are red-first: I ran them against the base register.tsx and all four fail (287 pass / 4 fail), then pass at head (291 / 0). The rate-limit-guard half (case 4) does not meet the decision. Its test passes on the unfixed code, so the "red-first test using a throwing ui.log stub" the owner asked for does not exist. Safety (guard behavior)
FindingsIMPORTANT
SUGGESTION
Checked and fine
Coverage: all changed files reviewed. Owner decision (2026-10-18), case 4: remove the |
kyle-sexton
left a comment
There was a problem hiding this comment.
This was generated by AI: independent review requested by the owner in an attended backlog-shaping session on 2026-10-18. Each finding is its own thread so the PR-fix lane can address it. The owner merges this PR after the fixes.
…t write The mod runtime never lets ui.log throw into the module, so the per-item try/catch in rate-limit-guard's flushToasts guarded nothing and its test passed without it. Restore the plain log call and remove that test and its changelog fragment. context-guard: wait on the toast itself instead of a fixed 20 ms timer, and add a test that a failing toast step still runs the snapshot write. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AQ9amjLiLKnwj4WGMRcofR
|
Decision recorded. Question: Do the two open suggestions block (PRRT_kwDOTCGFQM6tpbxq: add a test where the toast step throws; PRRT_kwDOTCGFQM6tpbxs: advisory event ordering)? Options: (a) fix the first, resolve the second, then merge; (b) resolve both and merge. Next: Attended Build adds the test. |
…from main #8125 added three compaction tests that clear the figures after compact() and expected the old zone restatement. With this PR's intent (#7883), a compaction with no figures says the reading is unavailable, so those expectations now name UNAVAILABLE. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7
Refs: #6273
Hold: a human merges this
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
Fix
Verification
The run reports:
Left out: the items under Not verified.
Related
#6273