Repository navigation
Bound check failures and elapsed-time updates - #1748
Conversation
Architecture-Review: unchanged; the command data flow and delivery roles still apply. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 68705f1ec93f566cef7270a52b89f0a1ac8e4cff, 28.5s: approve (0 critical, 0 important, 1 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
| for line in lines | ||
| ) | ||
| if len(preview) > limit: | ||
| preview = b"[...]\n" + preview[6 - limit:] |
There was a problem hiding this comment.
suggestion: Magic offset in the final byte slice depends on the marker length
preview[6 - limit:] is correct only because b"[...]\n" is exactly 6 bytes. It also breaks if limit is 6 or less (a zero or positive start index), although the default 1536 is safe. Suggested fix: bind the marker to a name, e.g. marker = b"[...]\n", and slice with preview[len(marker) - limit:] so the length and the slice can't drift apart.
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero delta review by claude on 5d924132195d46b7abd156961597fed203f3a20e, 6.5s: approve (0 critical, 0 important, 0 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Bound check failures and elapsed-time updates
Context and goal
Closes #1086
Closes #1084
Acceptance
Transcript size
Notes
Replaces #1463.
Validation
Recorded for
5d924132195duv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review