rehearsal-4: gateway-image build.sh demands HEAD's agent in the registry — resolve the newest PUBLISHED sha instead #654
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
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
Matou/idss#654
Loading…
Add table
Add a link
Reference in a new issue
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?
Found 2026-08-22 preparing the first image build (#646 follow-up, #652 pre-arming item 2).
scripts/gateway-image/build.shpins the agent forgit rev-parse HEADand dies "publish first" when the Forgejo generic registry lacks that exact sha. But CI's publish guard (9550609, ADR 0185) only publishes when the agent artifact CHANGED, so any docs/STATUS-only commit on top (e.g.dfac837) makesmainunbuildable until the next agent-affecting commit. Today's workaround: detached checkout of8585a95.Fix direction (two-way door): resolve the pin as the newest registry version that is an ancestor of HEAD (
git merge-base --is-ancestor), or acceptAGENT_SHA=<full>as an explicit override; name the snapshot after HEAD's short sha still (the image config is HEAD's), and record BOTH shas inagent-pin.json. Keep the dirty-tree refusal. Add an offline test with a fake registry listing (thelatest-test.shshape).Bonus:
build.shleavesnix/gateway-image/agent-pin.jsonmodified after a run — either commit it as part of the build ritual (documented) or write it to a build dir.swarm-claim host=matou-dev-server-01 run=8676
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #654 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope