You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Correctness cleanups and the missing test/CI baseline #10
Smaller findings from the same review, plus the gap that lets all of this happen quietly.
No tests, no CI
461 lines and zero tests. agy-cli-usage has 42 tests and a CI matrix; this repo has neither, and main has no branch protection. The README itself notes the session-record schema isn't a documented interface — without tests, the next Claude Code release breaks discovery silently.
A first pass needs no network: is_tailnet_address, resolve_target, message-size validation, reply-line construction, and the remote-argv quoting from #6 are all pure functions.
resolve_target() re-filters, making its caller's flag meaningless
It starts with reachable = [s for s in sessions if s["reachable"]], so cmd_send() passing discover(include_unreachable=True) has no effect. Either drop the argument at the call site or use it to say why a target is unreachable — the second is more useful, since "stale record" and "no such session" are different problems.
is_tailnet_address ignores the last two octets
100.64.999.999 returns True. Harmless today because the caller feeds it regex-matched text, but it's a trap for the next caller.
install.sh
for host in $HOSTS is unquoted — word splitting plus glob expansion (--host '*')
Under curl | sh, $0 is sh, so src_dir becomes $PWD and an unrelated cc_peer.py in the current directory gets installed. usage()'s sed -n '2,12p' "$0" breaks on the same path.
CLAUDE.md overstates the symlink
It says copying the skill directory alone is self-contained; the symlink dangles in a fresh clone. Its actual purpose is the opposite — keeping one source of truth. Correct the claim.
Activity