diff --git a/agents/gander/work/queue-196/BUILD.md b/agents/gander/work/queue-196/BUILD.md index 693840d15..ce3dde23e 100644 --- a/agents/gander/work/queue-196/BUILD.md +++ b/agents/gander/work/queue-196/BUILD.md @@ -102,3 +102,5 @@ changes are planned before the batch. M1-M29 remain prepared and unexecuted. 2026-10-21 sage-2063: driver uses only node --check for syntax validity; runtime test failures count as kills, and the r2 driver records GNU timeout process-group TERM/KILL exits so blocked descendants cannot survive. No rerun before next clear. 2026-10-21 r2 stop 2: base killer invocations 14/0 under 30 seconds each; M23-M27 killed, M28 survived due rebase making its generic mutation target the earlier SSO insertion. No M29 or golden suite run. Every restored hash and Git status clean; leftover process sweep count 0. Slot returned to Sage in gander-0035. Full per-step counts, base/mutant times and kill table in r2/run2/. Awaiting ruling before any fix or rerun; third stop goes to Mos. + +2026-10-21 sage-2072 product test: added the merge-scoped SSO/socket conversion case without --send, asserting pointer argv order, rendered unit argv order, status agreement and no secret-file reads. Removing socket from sso_for_target is its planned RED case (M28b). Focused RED/GREEN remains pending the busy gate: Herb's suite was active at the preflight, so no test started. Runtime code unchanged. Mos mos-1197 owner-subject ruling recorded in queue-252/BUILD-NOTES.md. diff --git a/agents/gander/work/queue-252/BUILD-NOTES.md b/agents/gander/work/queue-252/BUILD-NOTES.md index a62689135..0f767505a 100644 --- a/agents/gander/work/queue-252/BUILD-NOTES.md +++ b/agents/gander/work/queue-252/BUILD-NOTES.md @@ -25,3 +25,9 @@ Next review is the manifest. No claim of implementation or live enablement. - N5: Extend readProcess's explicit environment allowlist for the Console nonce and subject metadata keys. Test missing/mismatched keys and distinct namespaces; J5 must reach that check. No token or cookie enters that environment or logs. + +Mos ruling mos-1197, relayed by sage-2072 (2026-10-21T19:04:12Z): on dragon-lin, +console.sso contains only Jason's sub, so one configured subject is one owner. +No second subject is added without Jason. Host .54 is covered by #430. There +is no Jason question now. This supersedes N1's proposed amendment question +above; N2-N5 remain implementation items for the code round. diff --git a/packages/cli/tests/stack-release.test.mjs b/packages/cli/tests/stack-release.test.mjs index 77d84c86a..acc5d4b86 100644 --- a/packages/cli/tests/stack-release.test.mjs +++ b/packages/cli/tests/stack-release.test.mjs @@ -2300,3 +2300,22 @@ test('row196 explicit socket conversion refuses inherited TCP before stop and ro r=await run(long,'activate',C1,'acme','--tester-socket'); assert.equal(r.code,3,r.out+r.err);assert.match(r.err,/tester-socket-path/);assert.deepEqual(startsStops(long,before),[]); }); + +// Row196 merge guard: without --send, SSO insertion must still precede the socket flag. +test('row196 SSO socket conversion pins pointer and unit argv order without send',async t=>{ + const e=await mk(t);await seedPreview(e,{copy:B});await ssoConfig(e); + const file=join(COPIES,C1,'packages/webui/src/cli.mjs'),original=readFileSync(file,'utf8'); + chmodSync(file,0o644);writeFileSync(file,original+'\n// MOSAIC_TESTER_SOCKET_V1\n// --tester-socket\n');chmodSync(file,0o444); + t.after(()=>{chmodSync(file,0o644);writeFileSync(file,original);chmodSync(file,0o444);}); + const module=join(COPIES,C1,'packages/bus/src/interpreter.mjs'); + chmodSync(dirname(module),0o755); + writeFileSync(module,'export const inspectInterpreter=()=>({path:"/usr/bin/python3",sha256:"fixture"});export const verifyInterpreterReceipt=()=>true;\n');chmodSync(module,0o444);chmodSync(dirname(module),0o555); + t.after(()=>{chmodSync(dirname(module),0o755);rmSync(module);chmodSync(dirname(module),0o555);}); + const r=await prun(e,'activate',C1,'acme','--sso','--tester-socket');assert.equal(r.code,0,r.out+r.err); + const want=['--port',e.port,'--business','acme','--sso','--tester-socket']; + assert.deepEqual(pointer(e).console,want); + assert.ok(conExec(e).endsWith(` --checkout ${repo} ${want.join(' ')}`),conExec(e)); + assert.doesNotMatch(conExec(e),/ --send(?: |$)|--tester-port|--public-host|--proof-header/); + const status=await prun(e,'status','acme');assert.equal(status.code,0,status.out+status.err);assert.match(status.out,/unit flags: match the pointer/); + await noLeak(e); +});