Commit Graph
34 Commits
Author SHA1 Message Date
abkslm 1a21d9f0dc Merge nucleic/dapper-pebble-egret-bzty into dev 2026-07-29 17:30:35 -07:00
abkslm ef60a9ab7a Merge nucleic/eager-glass-civet-f3ph into dev 2026-07-29 04:03:22 -07:00
abkslm 20c2c31cf3 Merge nucleic/frosty-ember-raven-da8d into dev 2026-07-27 20:43:17 -07:00
abkslm 7182673446 Merge nucleic/zesty-ancient-koala-i9if into dev 2026-07-27 18:31:14 -07:00
abkslm 2c1b830619 Merge nucleic/lucid-north-weasel-ofmy into dev 2026-07-27 17:58:16 -07:00
abkslm 816b8b5213 Merge nucleic/rustic-meadow-koala-wtwq into dev 2026-07-27 02:26:30 -07:00
abkslm c412fc9493 Merge nucleic/brisk-yarn-dingo-50se into dev 2026-07-26 21:33:53 -07:00
abkslm a0b09825df Merge nucleic/brisk-yarn-dingo-50se into dev 2026-07-26 20:50:09 -07:00
abkslm eb85458882 Merge nucleic/brisk-slate-viper-tkai into dev 2026-07-22 22:03:55 -07:00
abkslm ce9ea47c9e Merge nucleic/keen-north-koala-zpmk into dev 2026-07-22 20:33:48 -07:00
abkslm a286c51ff1 Merge nucleic/keen-north-koala-zpmk into dev 2026-07-22 19:39:59 -07:00
abkslm 4d1bce32b6 Merge nucleic/keen-north-koala-zpmk into dev 2026-07-22 19:22:04 -07:00
abkslm f1a5e0ba5b Merge nucleic/rustic-north-dingo-xlub into dev 2026-07-22 14:28:48 -07:00
abkslm b03dfb2c94 Merge nucleic/dapper-feather-lynx-w4wa into dev 2026-07-22 04:47:03 -07:00
abkslm 00a3908abb Merge nucleic/dapper-feather-lynx-w4wa into dev 2026-07-22 04:29:01 -07:00
abkslm db7c66b659 Merge nucleic/dapper-feather-lynx-w4wa into dev 2026-07-22 03:45:22 -07:00
abkslm d01b736b86 Merge nucleic/dusky-thistle-lynx-iplb into dev 2026-07-21 21:20:26 -07:00
abkslm 0c81858bca Merge nucleic/ivory-velvet-yak-ghon into dev 2026-07-21 01:38:57 -07:00
abkslm 3681039c5d Merge nucleic/ivory-velvet-yak-ghon into dev 2026-07-21 01:17:07 -07:00
abkslm 0989770f46 Merge nucleic/lucid-lunar-wren-wxyw into dev 2026-07-21 00:54:30 -07:00
abkslm 9371e629a4 Merge nucleic/mellow-opal-wren-obc4 into dev 2026-07-20 00:23:05 -07:00
abkslmandClaude Opus 4.8 3510cb5799 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 0832ff53d8 Merge nucleic/eager-ancient-heron-p5em into dev 2026-07-18 19:00:14 -07:00
abkslm dcc9016a6b Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 14:51:02 -07:00
abkslm e994f0f4bf Merge nucleic/olive-ember-seal-q7vk into dev 2026-07-18 14:35:57 -07:00
abkslm 0d3f0f4ce6 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 14:31:25 -07:00
abkslm d50b9a1611 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 13:13:42 -07:00
abkslm 7f48369b31 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 12:45:36 -07:00
abkslm 98432fdfd0 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 12:23:09 -07:00
abkslm cfe28d5397 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 05:19:31 -07:00
abkslm f3d0d630be Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 04:59:43 -07:00
abkslm e9d8e6e16c Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 04:18:09 -07:00
abkslm 73996cd25d Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 04:01:56 -07:00
abkslm 784a0c0692 Merge nucleic/sleek-thistle-egret-fyej into dev 2026-07-18 03:59:22 -07:00