From a0c4bcc517a2e39fa28439e567d362edb306d19c Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Thu, 22 Oct 2026 13:00:18 -0500 Subject: [PATCH] duckworth: row 276 fold check of the exit-status plan (duckworth-0183) --- agents/duckworth/work/row276/EARLY-LOOK-plan.md | 17 +++++++++++++++++ docs/SESSIONS.md | 1 + 2 files changed, 18 insertions(+) diff --git a/agents/duckworth/work/row276/EARLY-LOOK-plan.md b/agents/duckworth/work/row276/EARLY-LOOK-plan.md index a7a62c5d8..cd96f9b7b 100644 --- a/agents/duckworth/work/row276/EARLY-LOOK-plan.md +++ b/agents/duckworth/work/row276/EARLY-LOOK-plan.md @@ -47,3 +47,20 @@ and fail. - N5. The brief's two named mutants (drop talk supervision, drop one diagnostic's outer bound) are in the plan. The N1 capture/tools and N2 setuid-header items from DEFERRED are extra scope. Keep each one's DEFERRED closure text exact at the manifest. + +## Fold check (duckworth-0183, gander-0134) + +PLAN.md:9-13, as Gander sent it, meets B1. Only supervisor 0 counts as a pass. A trailer reading 0 +under supervisor 87 still returns 87. The trailer is read only on the inner-command reason and only +for display. A missing or bad trailer shows 87 with the fixed reason. The planned tests cover a +forged 0 before a real 7 and a forged 0 after a real 7. N1-N4 are folded. + +Carry to the build (notes): +- C1. The private WORK file that holds the display code must be in a directory the dropped uid + can't write. Otherwise the stack user picks the code root prints. +- C2. If the code is 0 and the supervisor gave 87, show 87, not "exited 0". +- C3. Test the grammar's edges: 256, 999, a leading zero, a sign, and a trailer line with no final + newline. Each must give display 87. +- C4. F6, F7 and F10 now need supervisor 0 before their stdout counts. That tightens them, and F4's + stderr now comes after its stdout. Name both changes in BUILD.md and check no F4 assertion depends + on the interleaving. diff --git a/docs/SESSIONS.md b/docs/SESSIONS.md index 6e9eae045..dee8304f9 100644 --- a/docs/SESSIONS.md +++ b/docs/SESSIONS.md @@ -1512,3 +1512,4 @@ are never rewritten or removed; corrections are new entries. 2026-10-22T17:32Z | Duckworth (Opus 5.5) | row 206 r2 C1/C2 check d4fbce501 on 275 r3 957a9bfe0 (launchpad-0034) | C1/C2 met, APPROVE carries; C3 post-253 sweep; duckworth-0175 | 2026-10-22T17:47Z | Duckworth (Opus 5.5) | row 206 C3 check 670658dd1 on 275 3410df7c3 / 253 48e450ce8 (launchpad-0039) | C3 met, blobs identical, approve carries; duckworth-0179 | 2026-10-22T17:57Z | Duckworth (Opus 5.5) | row 276 early look on PLAN.md exit-status choice (gander-0133) | B1 trailer must not decide pass/fail (F3/F4 rc), N1-N5; duckworth-0182 | +2026-10-22T18:00Z | Duckworth (Opus 5.5) | row 276 fold check of PLAN.md (gander-0134) | B1 met; C1-C4 carry to build; duckworth-0183 |