Files

2.8 KiB

Row 304 / Vikunja 590 / Gitea #1811

Owner Rocko; reviewer Dewey; gate owner Sage. Base c16e943b90. Brief docs/plans/2026-10-23_gate-env-rows.md first section, approved exact one-line old-test change under mos-1442 point 1 / sage-3362.

265 is queued and has no active build, so 304 goes first. Slot requested; no Node, test, queue claim or push before Sage CLEAR.

Before the edit, run the unchanged whole claude-session.test.mjs with fixture-only HOME, CLAUDE_CONFIG_DIR and scripted API under an underscore TMPDIR and a hyphen TMPDIR. Expected: underscore 9/1 only at the unrestricted memory control (:298), hyphen 10/0. Record both raw results here. Stop for Sage if the installed CLI's mapping differs from [^A-Za-z0-9] -> '-'.

Only then replace /[/.]/g with /[^A-Za-z0-9]/g on the slug line. Every assertion and every other test line stays byte-identical. No product change. Acceptance is whole file green under mktemp, underscore, and space TMPDIR (if the CLI accepts space); old-regex mutant must fail the :298 assertion under underscore. Run scope and claim wait for Sage's slot grant.

Use short fixture TMPDIRs under /mnt/storage/scratch/tmp, process groups, explicit TAP and bounded runs. No Docker, browser, suites or live state. Keep token/config paths and real provider access out of every fixture.

Evidence, sage-3366 (mos-1442 point 1)

queue next selected304; claim rev3521, rc0. Base test unchanged until both mapping probes finished. Correct restricted-check citation: :293, not :291.

Run TMPDIR Exit Pass/fail/skip
baseline-underscore /mnt/storage/scratch/tmp/rk304_OV81Op 1 9/1/0
baseline-hyphen /mnt/storage/scratch/tmp/rk304-UnWJbm 0 10/0/0
fixed-mktemp /mnt/storage/scratch/tmp/rk304yw6LWT 0 10/0/0
fixed-underscore /mnt/storage/scratch/tmp/rk304_MyhpSs 0 10/0/0
fixed-space /mnt/storage/scratch/tmp/rk304 i5d7HA 0 10/0/0
M1-old-regex /mnt/storage/scratch/tmp/rk304_595gfj 1 9/1/0

Baseline underscore and M1 both fail only the named unrestricted positive control at claude-session.test.mjs:298:10, ERR_ASSERTION, missing MARKER-MEMORY. Hyphen baseline is green. This confirms the expected installed-CLI mapping. Space is accepted and passes after the fix. All3 fixed whole-file runs30/0/0; baseline hyphen10/0/0; M1 one assertion kill (whole file9/1/0).0cancellations, 0skips throughout. Tests11:05:01Z-11:05:36Z, no unexpected red or retry. Every other source byte, including all assertions, is unchanged, recorded in assertion-preservation.json. Fixed test sha2567690a4a945e45f5606633d36a3db9a160892be9d125d40351cd848f5bf3ea9c9. Cwd node/chromium/claude sweep empty; no Docker/browser/suite/live activity. Sage's separate gate and Dewey's review still required; no gate claimed here.