You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post-iteration-5 fixes: pure-Python rule for Numerical, Writer empty-edits no longer regenerates, stderr surfaced to Director
Iteration 5 surfaced three failure modes that iteration 6 confirms fixed:
- Numerical agent emitted (N choose k) and similar math pseudocode, causing
SyntaxError in every sandbox run. Output contract now requires VALID
PYTHON 3.11+ that runs as-is, with explicit anti-examples (binom,
ket-bra, ^-as-xor, bare unicode greeks) and a "keep code field empty
rather than ship a SyntaxError" rule.
- _publish would silently fall back to the legacy Jinja template renderer
when the Writer returned an empty edits array, overwriting a
placeholder-rich paper with filler prose every "no-edit" round. Diff
mode is now the steady-state path: empty edits = paper unchanged.
- Sandbox failures only surfaced stdout to the next iteration's Director;
agents that wrote crashing code never saw the SyntaxError line. Now
failed runs include a stderr tail with an explicit "fix the offending
line" prompt.
Verified on iteration 6: Analytical2 ship_d a parity test that ran exit=0
("奇宇称矩阵元数值上 ~10^-30"), Numerical-2 OOM-killed (RLIMIT_AS doing its
job), Writer no-op preserved the iter-5 paper byte-for-byte.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments