The tracker's restore points name the Semaphore task that took them (THE-14) #65
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-tracker!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/THE-14-restore-points-name-the-task"
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?
paperclip:THE-14
Summary
THE-14 says "nothing is deployed by hand". Every restore point a merge's deploy takes on 142 reads
by hand, by an unnamed user: a Semaphore task has no Forgejo run number, soscripts/snapshot.shfell through to its hand-run words. The deploy is automated and the Guest's own record does not say so.scripts/snapshot.shelif: with no Forgejo run number the description endsby ${DEPLOY_RUN}. A Forgejo run still wins over it, and with neither the words stayby hand, by <user>scripts/semaphore-deploy.shmake prodthe labelthe Semaphore deploy task <id>. The id isSEMAPHORE_TASK_DETAILS_ID, which Semaphore 2.19.16 sets for a shell templatescripts/tests/semaphore-deploy.test.sh,gate.test.sh,run.shprod's sub-make, and the description a snapshot is handeddocs/reference/deploy.mdIt is the change infra-secrets has carried since #59 (
77b1268). Nothing else moves: no Stack, no role, noMakefileline.Evidence
predeploy-*, each endingby hand, by an unnamed user(commits24b330c,ba57570,cc42ce8). On 144, which has this change, the three endby the Semaphore deploy task 35,37and38mise exec -- make check, fresh clone of3abc34dok, no FAILgate-test58,deploy-test'ssemaphore-deploy93,env-test(run.sh): 0 FAILED. Eight assertions are newby; the hand fallback loses its user; the label is not handed toprod; the label drops the task's id; the label's name is misspelt;prod's sub-make wrapped inenv -u DEPLOY_RUNmain's scriptsNot run, and the merge is the evidence: that a live task on 142 carries
SEMAPHORE_TASK_DETAILS_ID(it does on 144, three times), and the merge's own restore point readingby the Semaphore deploy task <id>.Merge Danger
Door: two-way. The change is a label and one branch in two scripts, and a revert is an ordinary pull request. The deploy the merge starts is not undone by a revert, but it applies what
mainalready holds.Blast Radius: the one sentence a restore point carries, and the task body that names it. A mistake in
snapshot.shwould turnsnapshot, the deploy's first step, red and stop the deploy before anything changes; the new cases pin that path.What the merge deploys: the next real deploy of 142 since task 29 on 15 Nov. Run 145 on 1 Dec went red at its first request, before any task started (
curl: (35) wrong version number: THE-106's https switch merged ahead of Semaphore's TLS listener). The listener answers now, and secrets' tasks 35, 37 and 38 went through the same path, so this merge is also the tracker's first deploy over https.Order: none with another pull request.
Prose in this body is agent-written (Hermes).
Refs: THE-14
Review started (round 1/5) on
3abc34db46— reading the diff now.minos-review: repo=olympus/infra-tracker pr=65 head=3abc34db4643de9777ceeb889b8f379a3c73a746 round=1/5 verdict=merge
Recommendation: merge
Spec source: THE-14 (Paperclip), fetched live this round (
GET /api/issues/THE-14→ 200; report document rev 37, 2026-12-01 ~20:21Z). THE-14's description does not name restore-point attribution. The requirement is in its report (revs 27, 35, 37): the tracker's script passes no label, so its restore points readby hand, by an unnamed user. The PR body states the same.Standards sources:
AGENTS.md§Pull requests (body sections present),AGENTS.md§Toolchain (make checkrun viamise exec),docs/adr/(no ADR touched). No other repo conventions found.Charter: no escalation trigger. No Stack file changed; no ADR; no branch protection. CI gate boundary unchanged:
.forgejo/workflows/checks.yaml, jobstatic, Makefile targetcheck, all untouched.Standards
docs/reference/deploy.md:85-87the Semaphore deploy task <id>. WithSEMAPHORE_TASK_DETAILS_IDunset the label isthe Semaphore deploy taskand the description endsby the Semaphore deploy task.(scripts/semaphore-deploy.sh:136; the id-less case is pinned atscripts/tests/semaphore-deploy.test.sh:415). Also, a hand run withUSERunset readsan unnamed user(scripts/snapshot.sh:124). Say the id is optional.Spec
scripts/snapshot.sh:117-119;scripts/tests/run.sh:483-488scripts/tests/run.shgreen (mutant M7, rc 0).run.sh:487unsetsGITHUB_RUN_NUMBERin every Semaphore case, and the oneGITHUB_RUN_NUMBER=77case (run.sh:433) never setsDEPLOY_RUN. Live impact today: none found, since the label is set only inside a Semaphore task (scripts/semaphore-deploy.sh:136), which has no Forgejo run number. Fix: add one case with both set, expecting therun 77:description.Scope: the tracker's restore points now name the task, as THE-14 rev 37 asks. Forge and silo still carry the hand fallback; they are out of this change (named, not charged).
Blockers
None.
What I verified, and how
git ls-remote origin refs/pull/65/head3abc34d= dispatch. Description unchanged at post time (updated_at20:43:23Z, read twice).make checkis greenmise exec -- make checkin a worktree at3abc34dprod: semaphore-deploy red. M3 id dropped: red. M4env -u DEPLOY_RUNat prod's sub-make: gate red. M5 label losesby: run.sh red. M6 hand fallback loses user: run.sh red. M7 precedence swap: run.sh green (P1).mise execcarries the labelDEPLOY_RUN='the Semaphore deploy task 29' SEMAPHORE_TASK_DETAILS_ID=29 mise exec -- envmise, so this is the only check against the real tool.77b1268scripts/semaphore-deploy.sh:102) and sameelif(scripts/snapshot.sh:119). Holds in shape.SEMAPHORE_API_TOKEN=stubis a pre-existing test stub.git diff --checkgit diff --stat 6e043ec...3abc34ddocs/reference/deploy.md(the claim),scripts/snapshot.sh(reads the label),scripts/semaphore-deploy.sh(hands it to prod), 3 test files (pins). No other file. Other docs (README.md,GLOSSARY.md) describe the restore point without attribution wording, so none contradicts the change.Could not verify
by the Semaphore deploy task <id>SEMAPHORE_TASK_DETAILS_ID24b330c,ba57570,cc42ce8)checks.yamlSummary
Total: 0 blockers, 1 advisory (below the three-advisory trip), so the recommendation is merge. The nit does not count. Delete it and the verdict stands.