Agent auth smoke results and remaining runtime deviations #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status
Agent fail-closed auth work has been implemented and verified.
Completed
internal/auth/auth.go: protected routes now return401whenZLH_AGENT_TOKENis unset.internal/http/agent_test.go: added route auth tests for/status,/ready,/config, lifecycle endpoints, files, backups, mods, update, metrics, and code-server endpoints.Verification
go test ./...: PASSZLH_AGENT_TOKEN=live-token: PASS401for protected HTTP routes and/console/stream.200,400,404, or503, but not401.PASS
/status,/ready,/config,/start,/stop,/restart/game/files/*,/game/backups/*,/game/mods/*/agent/update,/metrics/process/dev/codeserver/start,/dev/codeserver/stop,/dev/codeserver/restartRemaining deviations
restoreArchiveorstartServerReadyfails.serverCmd/serverPTY; no persisted PID/PTY reattach path was found for game processes after Agent restart.Notes
logs/backup_restore.logandstate/update.jsonwere already dirty before verification./agent/updatesmoke touchedstate/update.json; pre-existing dirty files were not reverted.Next steps