deepseek-harness/packages/code-runtime/code-runtime-python/tests
Chinesezjc 371303822f test(code-runtime-python): give the first-fragment cap a discriminating case; dedupe the note
The review's warning: the one-byte overflow case ran through the CHILD ledger
(print path), so the host's first-fragment cap (logBudget - 1) never executed,
and the sub-2-byte guard test does not discriminate logBudget from
logBudget - 1 (a reverted cap still trips the guard). The frame is now forged
on fd 3, so a reverted cap of logBudget admits it and flushes it at settlement
— verified to turn the test red.

The review's dedupe suggestion: the split-billing arithmetic was stated in both
notes; the settlement note's Decision paragraph now links to the fd-3 protocol
note's wire-contract section (one home per fact), paired and re-recorded.
2026-08-31 15:04:43 +08:00
..
boot-write-failure.spec.ts test(code-runtime-python): cover the boot-ack gate's re-entry guard and run-write failure 2026-08-31 15:00:33 +08:00
protocol-mirror.e2e.ts docs(code-runtime-python): name the roster aliases by subset direction, align metering prose 2026-08-07 15:37:19 +08:00
protocol.spec.ts docs(code-runtime-python): trim metering prose and cover encodeJsonPlain depth 2026-08-07 13:27:54 +08:00
residual-detach.spec.ts docs(code-runtime-python): sync README with the shipped backend 2026-08-31 14:20:00 +08:00
runtime.spec.ts test(code-runtime-python): give the first-fragment cap a discriminating case; dedupe the note 2026-08-31 15:04:43 +08:00