ok deploy-order switches the deployer and its builder last ok claim records one head; corrupt state reads as none ok new-directives fires exactly once per issue ok claim-next records a directive before it fires it ok a corrupt or missing state file does not crash the poller ok main prints a new directive once, then stays silent ok needs-run fires once per red head ok claim records heads; corrupt state reads as empty ok gitea-token prefers GITEA_TOKEN