fix(execute): the helper and the executor give red proof no list

Operator decisions 30 and 31 (14.10); review findings 11ee78c5 and d01df508.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-10-14 12:32:29 +02:00
commit a70f082f6e
Signed by: ktg
SSH key fingerprint: SHA256:JakMjO6FTBBzN0Bhfj9saOoEjaFxlSdYuZQQpM/lF9Q
6 changed files with 224 additions and 43 deletions

View file

@ -191,10 +191,12 @@ test('review: no sixth round, attempts never reset, a step at 5 is never built a
assert.match(c, /A step at `fix_rounds` 5 is never built again/);
});
test('review: the helper appends its report, and passes tests as one comma-separated list', () => {
test('review: the helper appends its report, and gives red proof no --tests', () => {
const agent = read(AGENT);
assert.match(agent, /APPEND it to `report_path`/);
assert.match(agent, /ONE comma-separated argument/);
const gate = agent.split('\n').find((l) => l.includes('red-proof.mjs --red-only'));
assert.ok(gate, 'the helper has its red-proof --red-only line');
assert.ok(!gate.includes('--tests'), `the helper's red-proof line passes --tests: ${gate}`);
assert.match(agent, /A step with no `Test first:`/);
});