Skip to content

test(agent-device): an over-limit download never delivers more than 2 GiB - #988

Merged
V3RON merged 2 commits into
mainfrom
bug/807
Oct 25, 2026
Merged

V3RON merged 2 commits into
mainfrom
bug/807

Conversation

@V3RON

@V3RON V3RON commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Closes #807

Status

Implement: done (1/1 green) Review: round 1, 0 blocking Hardware: n/a Gate: merged
Next: nothing

  • The download-limit test asserts the agent's response errors, never ends cleanly and never delivers more than 2147483648 bytes, with no "at least 2 GiB delivered" assertion (edge.test.ts, the "passes 2147483648 bytes" test). Checked: the audit and the code review each let every byte through in host.ts and the new <= 2147483648 assertion failed (2147483649 delivered); deleting the reader cancel failed the cancel assertion.

Assumptions

Review

Spec review: 0 blocking, 0 fixed, 1 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 24.2M.
Runs: 6. Cost USD: 0.9235. Agent seconds: 523.
Assessment: complete

Written by an agent.

@V3RON

V3RON commented Oct 25, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 03a2f08

Runs: 6. Cost USD: 0.9235. Agent seconds: 523.
Tokens input 102, output 19612, cache read 1192139, cache write 176627.
- build implementer: claude-sonnet-5-5 101 s $0.1505
- audit implementer: claude-sonnet-5-5 79 s $0.1142
- review 1 reviewer: claude-sonnet-5-5 186 s $0.1834
- review 1 spec-reviewer spec: claude-sonnet-5-5 18 s $0.0777
- review 1 code-reviewer tests: claude-opus-5-5 128 s $0.3327
- review 1 claims-reviewer claims: claude-sonnet-5-5 11 s $0.065
Finding outcomes: {"nonblocking":1}. Classes: {"assumption unverifiable: no Decision in inputs":1}.
{"findings":[{"id":"R1","role":"spec","class":"assumption unverifiable: no Decision in inputs","outcome":"nonblocking","path":"src/agent-device/edge.test.ts","round":"1"}]}

R1 disposition: nonblocking. The Decision the assumption cites is the "## Decision" comment on #807 (maintainer: test-only fix; at least 2 GiB delivered is not part of the contract); the review inputs read only a triage report.

Written by an agent.

@V3RON

V3RON commented Oct 25, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 25, 2026 08:04
@V3RON
V3RON merged commit ac1dd09 into main Oct 25, 2026
59 checks passed
@V3RON
V3RON deleted the bug/807 branch October 25, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Download-limit test receives fewer than 2 GiB before abort on main

1 participant