Skip to content

hosts + HD agent: in-band auth, ownership-checked pipeline, verified agent download, Linux restart, CI fixes - #21

Merged
thomasbek3 merged 1 commit into
masterfrom
round2/B
Sep 7, 2026
Merged

thomasbek3 merged 1 commit into
masterfrom
round2/B

Conversation

@thomasbek3

Copy link
Copy Markdown
Owner

Round-2 review fixes (Codex 2, 4, 5, 6, 14; Grok 6, 13; Claude 7, 8, 9, 12 server side). Also lets release.sh cut a same-day follow-up tag. Full suite green: 49 JS, 19 HD-agent, 27 orgo, 7 texting-style, installer/bind/agent-installer scripts, manifest check.

🤖 Generated with Claude Code

…ified agent download, Linux restart on upgrade, CI fixes

hiperf-agent.py: Exp-Golomb reader fixed (suffix from 0 plus offset), so
non-IDR I-slices classify correctly. Auth accepts a first-frame
{"type":"auth","token"} within 5 s; ?token= still works but logs a
deprecation. Every await-then-mutate in start/stop/_spawn_pipeline checks
(ws, gen) ownership; a stale spawn kills what it created. 19 new tests in
computer-viewer/tests/test-hiperf-agent.py.

hiperf-mac/linux/windows: the downloaded hiperf-agent.py is staged and its
SHA-256 checked against MANIFEST.sha256 at the same ref (local checkout
manifest as offline fallback) before it replaces the installed agent.

connect-linux/hiperf-linux: enable, then restart if active else start, and
print the effective listener; enable --now never restarted a live unit so
upgrades kept the old bind. test-bind.sh covers it with shimmed systemctl.

connect-windows.ps1: TightVNC MSI and UltraVNC zip pinned by SHA-256
(Get-FileHash before use); Amyuni's unversioned zip is gated on the
WHQL-signed catalog's Authenticode signature (the exe itself is unsigned).
PowerShell edits are unexecuted here; CI now parses all four .ps1 files on
windows-latest.

CI + release.sh: xargs -0 -n 1 bash -n (the batched form only parsed the
first file); the HD agent tests run on all OSes. install.sh also installs
hiperf-linux.sh and the two Windows scripts. release.sh accepts a same-day
follow-up tag vYYYY.MM.DD.N. Manifest regenerated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@thomasbek3
thomasbek3 merged commit cf9cd83 into master Sep 7, 2026
6 checks passed
@thomasbek3
thomasbek3 deleted the round2/B branch September 7, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant