Commit Graph
19 Commits
Author SHA1 Message Date
abkslm f7755f53b4 Merge nucleic/zesty-ancient-koala-i9if into dev 2026-07-27 18:31:14 -07:00
abkslm 195ac00d0b Merge nucleic/rustic-meadow-koala-wtwq into dev 2026-07-27 02:26:30 -07:00
abkslm 1d6b240dbb Merge nucleic/brisk-yarn-dingo-50se into dev 2026-07-26 21:33:53 -07:00
abkslm 3a3489d276 Merge nucleic/brisk-yarn-dingo-50se into dev 2026-07-26 20:50:09 -07:00
abkslm 24c953d39b Merge nucleic/brisk-slate-viper-tkai into dev 2026-07-22 22:03:55 -07:00
abkslm 7443a7f431 Merge nucleic/dapper-feather-lynx-w4wa into dev 2026-07-22 04:47:03 -07:00
abkslmandClaude Opus 4.8 b13b39e729 nash: accept bash's -c operand ordering; fix test socket paths
`bash -c` does not bind to the token that follows it: short-option parsing
continues and the command string is the first operand, so `bash -c -l <cmd>`
runs `<cmd>` as a login shell. brush's clap CLI instead binds `-c` to the next
token and rejects one shaped like an option, so every command the agent CLI
sent as `-c -l <cmd>` inside naros-agent failed with

    error: a value is required for '-c <COMMAND>' but none was supplied

Since narOS diverts /bin/sh, /bin/bash and /bin/dash to nash, that broke every
command in the container. nash's compat fallback did not cover it either: it
read "-l" as the command, which parses fine as bash, so no fallback fired.

Normalize the argv before clap sees it, hoisting short options that sit between
the `-c` group and its command ahead of that group (`-c -l cmd` -> `-l -c cmd`),
including value-taking ones (`-c -o xtrace cmd`, `-c -oxtrace cmd`). Only short
options are hoisted — bash itself rejects long options once short-option parsing
has begun — and anything not positively identified as an option ends the scan,
so a command string is never mistaken for a flag. Teach nash's dash_c_command()
the same rule so the parse-failure fallback checks the real command.

Also repair the observe test harness, which could not run under a normal macOS
TMPDIR: it named its socket directory with `{:?}` of an Instant (~45 chars),
overflowing sun_path, and never cleaned up, so a recycled pid inherited a stale
socket and failed the bind with AlreadyExists. Route every scratch directory
through a helper that keeps names short, falls back to /tmp when the socket path
would not fit, clears stale state, and drops the directory when the sink dies.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-07-19 20:06:28 -07:00
abkslm bd8081a688 Merge branch 'dev' into nucleic/clever-quartz-marten-uqnx
# Conflicts:
#	os/tests/parity-allowlist.txt
2026-07-19 05:51:19 +00:00
abkslm 25fd6a0565 Merge nucleic/clever-quartz-marten-uqnx into dev 2026-07-18 21:19:16 -07:00
abkslm a63e1a65a0 Nucleic: Build Script Error Investigation 2026-07-18 21:19:15 -07:00
abkslm ac5ac7cecd Merge nucleic/keen-glass-marten-ddlf into dev 2026-07-18 20:31:23 -07:00
abkslmandClaude Fable 5 30c905dcb0 naros: fix agent Dockerfile jq continuation; add corpus overhead harness
The manifest-stamping RUN's multi-line jq filter lacked Dockerfile line
continuations (newlines inside shell quotes do not continue an instruction),
so the first real docker build died with 'unknown instruction: |'. Join the
filter with backslash continuations — the parser strips them, jq receives one
line.

shell/corpus/overhead.py is the M3 <3% wall-clock gate harness: alternating
bash/nash corpus rounds (observation spooling on for nash), median totals.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-19 02:14:32 +00:00
abkslm 490fd75319 Merge nucleic/olive-ember-seal-q7vk into dev 2026-07-18 15:33:08 -07:00
abkslm 5ff6fd8631 Merge nucleic/olive-ember-seal-q7vk into dev 2026-07-18 15:14:54 -07:00
abkslm 19218c7dae Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 14:51:02 -07:00
abkslm d4be5812c7 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 14:31:25 -07:00
abkslm 3a214430e7 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 12:45:36 -07:00
abkslm 917c24e165 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 12:23:09 -07:00
abkslm 1cce71f10b Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 05:19:31 -07:00