server-monitor-manager/tests
Ochenstarik c1e47684e6 fix(verification): verify releases the way an operator does
PR #40 correctly publishes the keyless signing certificate and makes
verify_archive require manifest, signature and certificate together. Three
things around it were inconsistent.

The release-verification scripts fetched assets with `gh release download`.
The workspace-isolation step deliberately removes `.git` so that the install
comes from the release rather than the source tree, and `gh` resolves the
repository from that git context — the tool fought the isolation it runs
inside, which is what broke the first runs. An operator has neither `gh` nor a
token, so the scripts now use public `curl`, `sha256sum` and `cosign` only.
`verify-assets.sh` keeps `gh`: it runs before isolation and only lists assets.

The monitor check addressed a user and a home directory that do not exist.
The bootstrap creates `ochenstarik-monitor` with `/var/lib/ochenstarik-monitor`;
the script used `ochenstarik-smm-monitor` under the Control state directory, so
that section could never have passed. It now also asserts that the forced
command is pinned in `authorized_keys` before running it, and quotes the
command instead of splitting it on whitespace.

The expected asset list did not include the new certificate, so a correct
release would have been reported as unexpected.

Also: a negative case for an archive published without its certificate, removal
of drafting comments that quoted the task text, and documentation of the three
signature files, since `verify-release` now requires them beside the archive and
the documented download list stopped being sufficient.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 13:16:27 +07:00
..
acceptance [verified] Fix monitor snapshot contract and release compatibility 2026-08-10 17:24:07 +07:00
bootstrap test(release): add certificate fixture material 2026-08-13 14:37:31 +07:00
contracts [verified] Fix monitor snapshot contract and release compatibility 2026-08-10 17:24:07 +07:00
fixtures fix(release): replace alpha8 network compatibility test (#38) 2026-08-13 13:22:48 +07:00
release-verification fix(verification): verify releases the way an operator does 2026-08-15 13:16:27 +07:00
ServerMonitorManager.Control.Tests [verified] Fix monitor snapshot contract and release compatibility 2026-08-10 17:24:07 +07:00
ServerMonitorManager.Desktop.Security.Tests fix(release): publish keyless signing certificate 2026-08-13 14:29:16 +07:00
windows feat(control): reconcile links from factual state (#16) 2026-08-09 12:53:49 +07:00