Repository navigation
Closed
Labels
polishSmall follow-up in the polish backlog; never blocks a spec (Jake, 2026-11-04)ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
#2286, the J308 polish batches. One builder owns this file area and opens one pull request for every issue below. Size: M.
What to build
Fix each issue below, as its triage comment says. Each issue's own text and triage comment are the brief; this list is the short form.
- Preserve exact integer param digits in loop plan (follow-up for #792, R4) #1040 (Preserve exact integer param digits in loop plan): Carry the original integer text (the reader's
Json::Numbertext) intoPlanParam::Intinstead of going throughValue, and add CLI regressions for prompt substitution and the check preamble. - Export accepts integer params the plan reads back as floats (polish for #989, R1) #1756 (Export accepts integer params the plan reads back as floats): Refuse integer preamble tokens outside i64::MIN..=u64::MAX as
cf-export-preamble, and add 18446744073709551616 and -9223372036854775809 to the refused cases. - Leap second accepted at any minute in loop timestamps (polish for #994, R2) #1757 (Leap second accepted at any minute in loop timestamps): Accept second 60 only when the UTC time is 23:59:60, and add a refused mid-day :60 case to
timestamps_follow_rfc3339_in_both_directions. - Run the sparse export regression under a memory limit (polish for #987, R2) #1771 (Run the sparse export regression under a memory limit): Run the assertion in a Linux child process under a 256 MiB address-space limit, so an unbounded read fails the test.
- Verify the child environment is scrubbed (polish for #1819, R3) #1963 (Verify the child environment is scrubbed): Run a synthetic child through
scrubwith a controlled parent environment. Assert the thread, project and legacy names are gone and the server address stays. Keep the non-UTF-8 case. - Check the launch deadline between PATH candidates (polish for #2144, R4) #2181 (Check the launch deadline between PATH candidates): Check the deadline at the start of each candidate attempt and return the existing timeout error once it has passed. Add a test with many denied candidates and a small budget.
Owned paths
crates/adapters/cloudroom/src/loop_files.rstests/cli-agent/loop_plan.rscrates/cli/src/loop_export.rscrates/adapters/cloudroom/src/process.rs
Relies on: nothing
Links
none
Acceptance criteria
- Every issue listed above is fixed as its triage comment says, or the pull request names it under Gaps with the reason and asks on this ticket.
- Nothing outside the owned paths changes, except the fleet's standing supporting edits, each named in the pull request.
- The pull request's body has one
Closesline for this ticket and one for each issue it fixes.
Proof
For each behaviour fix, a test that fails on main first and passes after (red run kept). Doc-only and wording fixes need no test: say so per issue (no new test: <why>).
Closes when merged
Closes #1040
Closes #1756
Closes #1757
Closes #1771
Closes #1963
Closes #2181
Metadata
Metadata
Assignees
Labels
polishSmall follow-up in the polish backlog; never blocks a spec (Jake, 2026-11-04)ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 22, 2026
launch-fleet: started (the J308 lead's direct start under the J87 planner; Opus 5.5 Medium builder, J255)
jparker2006 commentedon Nov 22, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5
skills: build-ticket@0.2.1
step: Fixed review R1; CI is green at the new head.
time: 2026-11-22T11:58:14Z
pr: #2316
jparker2006 commentedon Nov 22, 2026
Question for #1771 (builder, #2316)
Found: the triaged fix (rerun the sparse-collision test in
crates/cli/src/loop_export.rsas a Linux child under a 256 MiBulimit -v) trips the protected guardtests/proof/p08a_allowlist_static.rs(only_the_adapter_can_start_a_process_and_only_from_the_allowlist): product sources outside the permitted list may not start a process, and inline#[cfg(test)]code counts. CI went red on exactly that at b19671b. I have reverted that change; the guard is not touched.Options:
tests/cli-agent/loop_export.rsand add an end-to-end regression there:openwiz loop exportagainst a 1 GiB sparse collidinga.md, with theopenwizbinary run underulimit -v 262144. The test tree is outside the guard's scan, and this proves the bound at the user path.tests/cli-agent/loop_plan.rs(already owned), which is the wrong file for an export test.My pick: 1. Until an answer, #2316 carries option 3: #1771 is listed under Gaps and has no
Closesline.#2291: green: keep the static process guard; the scrub test drives a …
jparker2006 commentedon Nov 22, 2026
F4 supporting edit granted (planner), for #2291:
tests/cli-agent/loop_export.rsOnly the new sparse-export memory-limit test for #1771; add its
Closesline back.#2291: red against a mutant: #1771 the sparse export collision runs u…
#2291: green: all six polish proofs pass, #1771 included
jparker2006 commentedon Nov 22, 2026
agent: reviewer
state: done
harness: Codex
model: Sol 6.2
skills: review-ticket@0.3.0
step: Posted approval after verifying the exact integer round-trip fix.
time: 2026-11-22T12:00:19Z
pr: #2316
#2291: red: R1 export refuses the exact integer preamble plan writes
#2291: green: R1 export accepts every integer preamble plan writes, s…