#195 follow-up: apply the credential-free git auth to the protected workflow/prompt copies, land-pr, rehearsal, and re-vendor #222
Closed
opened 2026-10-15 05:06:19 +00:00 by matou-build-agent
·
5 comments
No Branch/Tag specified
main
sandcastle/rescue-20261120-212246
sandcastle/rescue-20261120-202650
sandcastle/rescue-20261120-202316
sandcastle/worker/20261120192753-1909682
sandcastle/rescue-20261120-191443
sandcastle/rescue-20261120-195103
sandcastle/rescue-20261120-201254
sandcastle/rescue-20261120-201438
sandcastle/rescue-20261120-144756
sandcastle/rescue-20261120-184843
sandcastle/rescue-20261120-190817
sandcastle/rescue-20261120-045815
sandcastle/rescue-20261120-143144
sandcastle/rescue-20261120-144025
sandcastle/worker/20261120032838-3834852
sandcastle/worker/20261120034547-1076409
sandcastle/rescue-20261120-031041
sandcastle/rescue-20261120-035031
sandcastle/rescue-20261120-041046
sandcastle/rescue-20261120-041556
sandcastle/rescue-20261120-042712
sandcastle/rescue-20261120-044145
sandcastle/rescue-20261120-044401
sandcastle/worker/20261120020735-3225234
sandcastle/rescue-20261120-025017
sandcastle/worker/20261120012937-3577764
sandcastle/rescue-20261120-024432
sandcastle/rescue-20261120-012510
sandcastle/rescue-20261120-020027
sandcastle/rescue-20261120-022005
sandcastle/rescue-20261120-023040
sandcastle/rescue-20261120-023059
sandcastle/rescue-20261120-023617
sandcastle/rescue-20261120-023726
sandcastle/rescue-20261120-024624
sandcastle/rescue-20261120-030108
sandcastle/rescue-20261120-011059
sandcastle/rescue-20261119-235227
sandcastle/rescue-20261119-220002
sandcastle/rescue-20261119-234418
sandcastle/worker/20261119210537-2901903
sandcastle/rescue-20261119-215319
sandcastle/worker/20261119210832-2140478
sandcastle/rescue-20261119-205729
sandcastle/worker/20261119195637-2051281
sandcastle/rescue-20261119-203604
sandcastle/rescue-20261119-212545
sandcastle/rescue-20261119-213258
sandcastle/rescue-20261119-214233
sandcastle/rescue-20261119-215039
sandcastle/rescue-20261119-200052
sandcastle/rescue-20261119-202558
sandcastle/rescue-20261119-202859
sandcastle/rescue-20261119-204522
sandcastle/rescue-20261119-202901
sandcastle/worker/20261119192821-2242548
sandcastle/rescue-20261119-201432
sandcastle/worker/20261119185826-1049892
sandcastle/rescue-20261119-192442
sandcastle/rescue-20261119-194543
sandcastle/rescue-20261119-195715
sandcastle/rescue-20261119-195042
sandcastle/rescue-20261119-194153
sandcastle/rescue-20261119-193223
sandcastle/rescue-20261119-181821
sandcastle/rescue-20261119-182031
sandcastle/rescue-20261119-191400
sandcastle/rescue-20261119-184524
sandcastle/rescue-20261119-185251
sandcastle/rescue-20261119-190111
sandcastle/rescue-20261119-171507
sandcastle/rescue-20261119-172406
sandcastle/rescue-20261119-180227
sandcastle/rescue-20261119-181611
sandcastle/rescue-20261119-183926
sandcastle/rescue-20261119-165410
sandcastle/rescue-20261119-181300
sandcastle/worker/20261119152654-1251003
sandcastle/rescue-20261119-175608
sandcastle/rescue-20261119-153212
sandcastle/rescue-20261119-155612
sandcastle/rescue-20261119-161612
sandcastle/rescue-20261119-162645
sandcastle/rescue-20261119-151259
sandcastle/worker/20261119-091545-699963
sandcastle/rescue-20261119-152400
sandcastle/rescue-20261119-150650
sandcastle/rescue-20261119-151018
sandcastle/rescue-20261119-145753
sandcastle/rescue-20261119-144640
sandcastle/worker/20261119-141805-b375a7
sandcastle/rescue-20261119-143616
sandcastle/rescue-20261119-142315
sandcastle/rescue-20261119-143536
sandcastle/rescue-20261119-144907
sandcastle/rescue-20261119-150929
sandcastle/rescue-20261119-140252
sandcastle/rescue-20261119-132837
sandcastle/rescue-20261119-140917
sandcastle/rescue-20261118-232015
sandcastle/rescue-20261118-224358
sandcastle/rescue-20261118-231012
sandcastle/rescue-20261118-221954
sandcastle/rescue-20261118-223235
sandcastle/rescue-20261118-215029
sandcastle/rescue-20261118-220457
sandcastle/rescue-20261118-213647
sandcastle/rescue-20261118-213651
sandcastle/rescue-20261118-203142
sandcastle/rescue-20261118-201242
sandcastle/rescue-20261118-160449
sandcastle/worker/20261118-151037-fa1423
sandcastle/rescue-20261118-141033
sandcastle/rescue-20261118-153435
sandcastle/rescue-20261118-155226
sandcastle/rescue-20261118-140135
sandcastle/rescue-20261118-072336
sandcastle/rescue-20261118-071306
sandcastle/rescue-20261118-065902
sandcastle/rescue-20261118-070925
sandcastle/rescue-20261118-064628
sandcastle/rescue-20261118-060611
sandcastle/rescue-20261118-063652
sandcastle/rescue-20261118-065117
sandcastle/rescue-20261118-065556
sandcastle/rescue-20261118-055026
sandcastle/worker/20261118-000033-5f0b74
sandcastle/rescue-20261118-054929
sandcastle/rescue-20261118-053613
sandcastle/worker/20261118-050837-870db6
sandcastle/rescue-20261118-051315
sandcastle/rescue-20261118-052156
sandcastle/rescue-20261118-053056
sandcastle/rescue-20261118-042651
sandcastle/rescue-20261118-050517
sandcastle/rescue-20261118-052017
sandcastle/rescue-20261118-052046
sandcastle/rescue-20261118-053617
sandcastle/rescue-20261118-040341
sandcastle/rescue-20261118-035452
sandcastle/rescue-20261117-180034
sandcastle/worker/20261117-173516-cca624
backport/idss-2068-2111-2114
sandcastle/rescue-20261117-123242
sandcastle/rescue-20261117-124231
backport/idss-2057
sandcastle/rescue-20261116-154411
sandcastle/rescue-20261117-175037
sandcastle/rescue-20261116-153352
sandcastle/rescue-20261107-062749
session-runner-land-mode-recheck-2181
sandcastle/rescue-20261107-061316
fp/idss-2180
sandcastle/rescue-20261107-060212
forward-port/provision-disk-guard
sandcastle/rescue-20261107-060021
sandcastle/rescue-20261107-054649
sandcastle/worker/20261107-043349-cf0d7e
backport/idss-2177
sandcastle/rescue-20261116-175301
sandcastle/rescue-20261116-175950
backport/idss-2176
sandcastle/rescue-20261106-135208
sandcastle/rescue-20261107-045600
sandcastle/rescue-20261107-051315
sandcastle/rescue-20261107-053423
sandcastle/worker/20261106-111451-8c1ff0
sandcastle/rescue-20261106-023514
sandcastle/rescue-20261106-113455
sandcastle/rescue-20261106-115043
sandcastle/rescue-20261106-121303
sandcastle/rescue-20261106-134211
sandcastle/worker/20261106-013937-c15abc
fix/336-job-locality-runner-uuid
sandcastle/rescue-20261106-000320
sandcastle/rescue-20261105-113317
sandcastle/rescue-20261105-235352
sandcastle/rescue-20261106-020541
sandcastle/rescue-20261106-022516
sandcastle/rescue-20261106-024735
sandcastle/rescue-20261106-024744
sandcastle/rescue-20261106-024751
sandcastle/worker/20261105-104416-4319e1
sandcastle/rescue-20261105-111401
sandcastle/worker/20261105-054650-133b83
sandcastle/rescue-20261105-104304
sandcastle/rescue-20261105-110432
sandcastle/rescue-20261105-110637
sandcastle/rescue-20261105-112240
sandcastle/rescue-20261105-102818
sandcastle/worker/20261105-090131-e38a52
sandcastle/rescue-20261105-101105
sandcastle/rescue-20261105-094209
sandcastle/rescue-20261105-095705
sandcastle/rescue-20261105-091351
sandcastle/rescue-20261105-092126
sandcastle/rescue-20261105-093755
sandcastle/rescue-20261105-095339
sandcastle/rescue-20261105-101509
sandcastle/worker/20261105-033507-997386
sandcastle/worker/20261105-072852-43a339
sandcastle/rescue-20261105-085215
sandcastle/rescue-20261105-090546
sandcastle/rescue-20261105-090731
sandcastle/rescue-20261105-091600
sandcastle/worker/20261105-073544-9e3e7b
sandcastle/rescue-20261105-085541
sandcastle/worker/20261105-030149-b06fe6
sandcastle/rescue-20261105-075223
sandcastle/rescue-20261105-080157
sandcastle/rescue-20261105-081231
sandcastle/rescue-20261105-081252
sandcastle/rescue-20261105-081916
sandcastle/rescue-20261105-082029
sandcastle/rescue-20261105-082600
sandcastle/rescue-20261105-082859
sandcastle/rescue-20261105-083557
sandcastle/rescue-20261105-084327
sandcastle/rescue-20261105-090802
sandcastle/rescue-20261105-092213
sandcastle/worker/20261105-004228-d59980
sandcastle/worker/20261104-200255-c897e8
sandcastle/rescue-20261105-021604
sandcastle/rescue-20261105-062428
sandcastle/rescue-20261105-064420
sandcastle/worker/20261104-185608-12e745
sandcastle/rescue-20261105-011719
sandcastle/rescue-20261104-221030
sandcastle/rescue-20261105-003304
sandcastle/rescue-20261105-005511
sandcastle/rescue-20261105-013351
sandcastle/rescue-20261105-015246
sandcastle/worker/20261104-204335-4df59d
sandcastle/worker/20261104-144451-39719f
sandcastle/rescue-20261104-210849
sandcastle/rescue-20261104-211127
sandcastle/rescue-20261104-212722
sandcastle/worker/20261104-194113-a58f71
sandcastle/rescue-20261104-193329
sandcastle/rescue-20261104-200835
sandcastle/rescue-20261104-201057
sandcastle/rescue-20261104-202237
sandcastle/rescue-20261104-204239
sandcastle/rescue-20261104-185105
sandcastle/rescue-20261104-185510
sandcastle/rescue-20261104-192703
sandcastle/rescue-20261104-184907
sandcastle/rescue-20261104-183301
sandcastle/rescue-20261104-183354
backport/idss-2161
backport/idss-2155
fp/idss-2147
backport/idss-2145
backport/idss-2134
backport/idss-2119
sandcastle/worker/20261030-141035-c3d689
sandcastle/worker/20261030-125730-11b08b
sandcastle/worker/20261030-172321-20db0e
backport/idss-2114
backport/idss-2112
forward-port/idss-2111
forward-port/idss-2068
backport/idss-2111
backport/idss-2110
backport/idss-2106
backport/idss-2068
backport/idss-2104
sandcastle/rescue-20261030-110900
sandcastle/worker/20261029-055633-763b74
sandcastle/worker/20261029-000831-e4c652
sandcastle/worker/20261028-162655-0e8071
sandcastle/rescue-20261030-110112
sandcastle/rescue-20261030-110131
sandcastle/rescue-20261030-110135
sandcastle/rescue-20261030-110153
sandcastle/rescue-20261030-110156
sandcastle/rescue-20261030-110200
sandcastle/rescue-20261030-110220
backport/idss-1913
agent/issue-306
runner-busy-not-stalled
sandcastle/worker/20261024-045639-da1b9a
sandcastle/worker/20261023-060833-778cbe
fleet-queue-watcher-301-proposal
floor-vue
sandcastle/worker/20261021-191646-b93327
sandcastle/worker/20261021-233637-f21837
sandcastle/worker/20261021-233255-c766f7
sandcastle/worker/20261021-040000-b7a28d
backport/idss-2050
backport/idss-2050-session-pr-landing
sandcastle/worker/20261020-221737-cc96f3
backport/idss-2052
agent/issue-289
backstop-waiting-runs
sandcastle/worker/20261017-204619-942ae4
sandcastle/worker/20261017-204620-aa17c2
sandcastle/worker/20261017-144914-3ec608
sandcastle/worker/20261017-063336-7f5d31
sandcastle/rescue-20261017-062529
sandcastle/worker/20261017-010124-c49097
sandcastle/worker/20261017-003840-0c4ab1
sandcastle/rescue-20261017-054742
sandcastle/worker/20261017-053155-61c4c7
sandcastle/worker/20261017-050606-f20d66
sandcastle/rescue-20261017-052443
sandcastle/worker/20261017-050839-ec5b54
sandcastle/rescue-20261017-052212
sandcastle/worker/20261017-050442-495e4b
sandcastle/rescue-20261017-051857
sandcastle/worker/20261017-000426-34fa18
agent/issue-272
agent/issue-273
agent/issue-244
agent/issue-269
sandcastle/rescue-20261016-184726
sandcastle/rescue-20261016-184906
sandcastle/rescue-20261016-185533
sandcastle/rescue-20261016-191907
sandcastle/rescue-20261016-192219
sandcastle/worker/20261016-155725-c51ed1
agent/issue-195
agent/issue-196
agent/issue-197
agent/issue-198
agent/issue-200
agent/issue-203
agent/issue-205
agent/issue-206
agent/issue-207
agent/issue-209
agent/issue-213
agent/issue-216
agent/issue-217
agent/issue-218
agent/issue-222
agent/issue-238
agent/issue-208
sandcastle/worker/20261016-155833-1b8f77
agent/issue-241
agent/issue-230
agent/issue-239
land/issue-193
forward-port/idss-2048
backport/idss-2048
agent/issue-237
agent/issue-225
agent/issue-193
agent/issue-176
backport/1717-unclaimed-commit-gate
backport/1733-drive-yield-runlog
fix/159-rehearsal-report-token-leak
fix/157-ready-list-standdown
fix/154-verdict-no-match-trap
factory-floor-visual-rework
landing-shell-guard
No results found.
Labels
Clear labels
agent-blocked
Sandcastle hit a blocker — human resolves it, then re-adds ready-for-agent
agent-working
Claimed by a live swarm run — other hosts skip it
bug
Something is broken
deferred
Ruled defer-with-criteria: parked until a revisit criterion in the issue body fires
enhancement
New feature or improvement
landing-pr
Additive: this ticket lands ONLY by a PR with screenshots (or a waiver) that a human merges — ADR 0265. Only a human removes it.
model-haiku
Per-ticket model override (additive): run this ticket on the cheap/fast model
model-opus
Per-ticket model override (additive): run this ticket on the top-tier model
model-sonnet
Per-ticket model override (additive): run this ticket on the mid-tier model
needs-info
Waiting on reporter for more information
needs-triage
Maintainer needs to evaluate this issue
no-triage
Escape hatch: triage automation must skip this issue
priority
Additive urgency marker — the swarm queue works these first
ready-for-agent
Fully specified, ready for an AFK agent
ready-for-human
Needs the human's hands, eyes, or a one-way-door ruling (ADR 0174)
ready-for-session
Needs an interactive agent session (host creds/protected paths/live doors), not the human (ADR 0174)
wontfix
Will not be actioned
No labels
agent-blocked
agent-working
bug
deferred
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
ready-for-agent
ready-for-human
ready-for-session
wontfix
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
Matou/dev-factory#222
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?
Follow-up to #195 (foundation landed:
git-cred-lib.sh+git-setup.shkeeporigincredential-free and inject the swarm bot token per invocation via a token-freegit credential.helper). This ticket applies the SAME helper to the sites a swarm worker cannot touch — protected paths (.forgejo/,.sandcastle/) and the drift-locked workflow templates — plus the remaining non-protected root sources, and re-vendors the pin. A session has the standing to edit protected machinery (ADR 0174); escalate toready-for-humanonly on a genuine one-way door.Why a session, not a swarm worker
.forgejo/workflows/{swarm,triage,resume-asks}.ymlare a protected path (protected-paths-lib.shrolls back any worker edit). Editing their.tmplsources ALONE redsonboarding/tests/self-workflows-drift-test.sh(it requires every template line to appear in the rendered copy), so template + rendered must change together..sandcastle/prompt-enrichments/workflow-verify.md(the step-6 token-URL push fallback) and the.sandcastle/vendored self-copy are protected; they move only on a human re-vendor (GOTCHAS 4).Work
onboarding/templates/workflows/{swarm.yml.tmpl,triage.yml.tmpl,resume-asks.yml.tmpl,swarm-smoke.yml.tmpl}to a credential-freeorigin+ thegit-cred-lib.shhelper form (git -c credential.helper=<snippet>/git_cred_export), dropping everyurl="https://swarm:${FORGEJO_TOKEN}@...". Re-render.forgejo/workflows/*.ymlin the same change soself-workflows-drift-test.shstays green.workflow-verify.mdstep-6 fallback (git push "https://swarm:$(cat /run/secrets/forgejo_token)@...") to the credential-helper form (origin now authenticates via the persisted/exported helper, so the fallback can just begit push origin HEAD:refs/heads/main). Re-prove the cutover fixtures (onboarding/tests/onboard-lib-test.sh) byte-identical or update them with the wording change explained.main.mts— wire the sandbox worktree with the helper (git config credential.helper <snippet>next to the existingcore.hooksPathsetup), so a worker's manualgit push originandland-pr.shauthenticate credential-free (removes the need for the token-URL fallback).land-pr.sh— drop theLANDING_PUSH_REMOTE="$scheme://swarm:$FORGEJO_TOKEN@$host/..."construction (argv-visible token). Use a credential-free remote +git_cred_export(the push runs inlanding-lib.sh). Updatetests/land-pr-test.sh(it currently asserts the token-URL push shape).rehearsal_heal_authed_url(rehearsal-heal-lib.sh) + its two call sites inrehearsal-report.sh(clone +remote set-url origin) with a credential-free URL (git_cred_strip_url) + helper (git_cred_export/git_cred_persiston the dedicated checkout). Updatetests/rehearsal-heal-lib-test.shcases 12-14..sandcastle/FACTORY_REF(bash onboarding/onboard.sh vendor .sandcastle <sha>) so the running self-copy picks upgit-cred-lib.sh+ the rewiredgit-setup.sh.Acceptance (the #195 clauses this completes)
grep -rn 'swarm:${FORGEJO_TOKEN}@' --include='*.sh' --include='*.yml' --include='*.tmpl' --include='*.md' .returns nothing outsidedocs/GOTCHAS.md(rendered.forgejo/workflows/*and their.tmplsources both clean).land-pr.sh,rehearsal-report.sh).Found while working #195 (foundation commit on
main).Close report — #222 credential-free git auth (ROOT work landed)
Landed: commit
11d4a4aonorigin/main(sandcastle: #222 — credential-free git auth across workflows/land-pr/healers/landing guidance).The token-free
git credential.helper#195 built now replaces everyswarm:$FORGEJO_TOKEN@token-URL at the sites #195's foundation left:onboarding/templates/workflows/{swarm,triage,resume-asks,swarm-smoke}.yml.tmpl+ the rendered.forgejo/workflows/{swarm,triage,resume-asks}.ymlclone/fetch a credential-free origin with an inlinedgethelper readingFORGEJO_TOKENfrom the job env (git-cred-lib.sh is not on disk in a cold clone; git-setup.sh persists the same helper once present). Template + rendered edited in lockstep →self-workflows-drift-test.shgreen.main.mtswires git-cred-lib's helper besidecore.hooksPathso a worker's manualgit push originandland-pr.shauthenticate credential-free (helper byte-identical toGIT_CRED_HELPER).land-pr.sh— drops the argv-visibleswarm:$FORGEJO_TOKEN@remote; credential-free remote from$FORGEJO_API+git_cred_export.rehearsal-report.sh(2 call sites) ANDheal.sh(a third call site the ticket did not enumerate, line ~595) drop the removedrehearsal_heal_authed_urlforgit_cred_strip_url+git_cred_persist/git_cred_export.policy_landing_guidance's push-branch token fallback (git push "$(…swarm:$(cat /run/secrets/forgejo_token)@…)") becomes the credential-helper form;.sandcastle/prompt.md+ the idss cutover fixture re-rendered byte-identical. The landing guidance is live now via the per-repo-layer prompt re-render (no pin needed).Proof (tests, all updated in the same commit):
land-pr-test.sh(17) — credential-free push shape + no-token-in-argv guard.rehearsal-heal-lib-test.sh(34) — cases 12-14 now credential-free viagit_cred_strip_url; function removed.policy-lib-test.sh(64) — guidance names no token URL / secret cat.heal-test.sh(30),rehearsal-report-test.sh(50),rehearsal-healer-test.sh(22) — healers green.onboard-lib-test.sh(271 — idss + dev-factory prompt cutover byte-identical),self-workflows-drift-test.sh(10),git-setup-routing-test.sh(18 — fake-git now skips git's-cglobals).git-cred-lib/session-runner/fleet-tui/tuienv-fp-keying,claude-call-guards/limit-lib#225 uutils-date) — each reproduced on the pristineorigin/maintree, so not a #222 regression.Acceptance: clauses 2 (no token in
land-pr.sh/rehearsal-report.shargv), 3 (prompt token fallback → credential-helper form, cutover re-proven), and 4 (suite green modulo the pre-existing reds) are met at ROOT. Clause 1 (grep swarm:${FORGEJO_TOKEN}@clean) is clean across root + rendered.forgejo/+ templates; the only remaining hit is.sandcastle/git-setup.sh(the stale vendored self-copy), which the re-vendor below clears.Why human — step 6 (re-vendor) is a coordinated live-host action
The ticket asked the session to bump
.sandcastle/FACTORY_REFso the running self-copy picks up git-cred-lib.sh + the rewired git-setup.sh. A session must not do this unilaterally here, and I ruled it out under ADR 0174 (two-way doors only):/home/dev/session-runner/dev-factory/.sandcastle/session-runner.shfrom this very checkout, every 10 min. Bumping the pin here would, on the next tick, activate #218's/tmp→<home>/statehost-state cutover on the LIVE host — which #218's own STATUS note says is "INERT until a human re-vendors AND runsonboard.sh host-cron installon a clean /tmp". That host-cron install is a human-only live-host operation; the pin bump and it are one coordinated step.So the ROOT credential-free rewrite is complete and landed; it activates in the running self-copy at that coordinated re-vendor, exactly as #195's foundation does. Human residue: run the coordinated re-vendor —
bash onboarding/onboard.sh vendor .sandcastle <sha>(in its ownvendor: self-pin -> <sha>commit) bundled withonboard.sh host-cron installon a clean /tmp — which brings #195/#205/#218/#220/#223/#228/#222 into the running self-copy at once.Ruled by agent under ADR 0174 — veto anytime. Relabelling
ready-for-human.Independent verification (second session) — concur with the
ready-for-humanescalationA standing session-runner tick picked up #222 after it had already been
completed and relabelled by the prior session (a dispatch race: the runner
selected it while it was still
ready-for-session; the prior session landed11d4a4aand escalated at 10:19:54Z). I re-did the ROOT work independentlyfrom the pre-
11d4a4atree, then diffed against what landed — the twoimplementations are equivalent (credential-free origin + the git-cred-lib
token-free helper at every site), so I discarded my duplicate rather than
churn
main.Verified on the landed
origin/main(11d4a4a):grep -F 'swarm:${FORGEJO_TOKEN}@'is clean acrossroot + rendered
.forgejo/workflows/*+ the.tmplsources; the onlyremaining hit is
.sandcastle/git-setup.sh(the stale vendored self-copy),which the step-6 re-vendor clears.
git-cred-libgit-setupland-prrehearsal-heal-librehearsal-reportrehearsal-healerhealheal-libpolicy-libprompt-render-libticket-landingonboard-lib(271, cutover byte-identical)self-workflows-drift(10)git-setup-routing.Concur with the step-6 re-vendor routed to the human (ADR 0174). The
re-vendor is not a clean two-way door from this checkout: the dev-factory
session-runner cron runs from here, so bumping
.sandcastle/FACTORY_REFwouldactivate #218's
/tmp→<home>/statehost-state cutover on the live host at thenext tick — INERT only until a human re-vendors and runs
onboard.sh host-cron installon a clean/tmp(a human-only live-host step).It joins the coordinated re-vendor #205/#218/#220/#228 already await (GOTCHAS 4).
No action taken; left
ready-for-humanwith the prior session's## Why humannote intact.
Ruled by agent under ADR 0174 — veto anytime.
Step 6 done at the repo: self-pin
2445159→0d638e1landed as31c2499(Ben's Claude Code session, 2026-10-16)onboard.sh vendor .sandcastle 0d638e1 --force+render-prompts(28 added / 110 updated / 0 removed; onlyreview-prompt.mdre-rendered differently; the three hand-patched vendored files were overwritten after confirming their hotfixes are in the root at the new pin).check-harness-driftOK; cutover, drift-gate, self-workflows-drift (10/10) and docs-budget tests green. Per-repo layer untouched,LANDING=prkept. Journal:docs/journal/2026-10-16-222.md.Owed on each pool host (the lockstep half, GOTCHAS 67), run by Ben as the swarm user: pause with
touch ~/swarm/host.off; refresh~/session-runner/dev-factorytoorigin/main; once/tmp/matou-swarm.lockand/tmp/matou-host-slot-2.lockare not held (flock -n <lock> -c true), remove those two regular files so the slot-1 compat symlink can take the name;bash ~/session-runner/dev-factory/onboarding/onboard.sh onboard-host enrol(preflight + regeneratedhost-capacity.env+host-cron install+ verify);rm ~/swarm/host.off. On elitebook-03 the preflight will refuse untilcoreutils-from-gnuis installed (#225). This ticket closes once all three hosts verify green.Step 6 host half: 2 of 3 hosts done (2026-10-17).
onboard-host enrolfrom the refreshed~/session-runner/dev-factoryon a clean/tmp(old regular lock files removed only after a non-blockingflockproved them unheld; nothing was held):elitebook-03— preflight PASSED (now GNUdate +%3N, see #225), managed block 10 lines (the hand-edited idss session line is now managed), verify green.matou-workstation(asdev) — preflight PASSED, managed block 12 lines, verify green.GOTCHAS 67's
/tmp→<home>/swarm/statecutover is live on both.Holdout:
bens-mac-04. Ping and the TCP accept on :22 succeed over the mesh, then sshd resets before its banner on every attempt (LAN alias unreachable from here). Forgejo lists runner 105 there asactive, so the host is up and taking jobs — only sshd is unhealthy. Needs a consolesudo systemctl restart ssh, then the same enrol; this ticket closes on that. STATUS/journal:7e18d63,35d9d14.Closed — step 6 complete on both halves.
Repo half (2026-10-16): self-pin
2445159→0d638e1(31c2499), since superseded by #280'sa4be7db.Host half —
onboard-host enrolfrom the refreshed checkout on a clean/tmp(old regular lock files removed only after a non-blockingflockproved them unheld), preflight PASSED + verify green on each:elitebook-032026-10-17 — managed block 10 lines (the hand-edited idss session line is now managed).matou-workstation2026-10-17 (asdev) — 12 lines.bens-mac-042026-10-21 — 11 lines, after a reboot cleared the sshd accept-and-reset loop that had made it unreachable since the 17th. Proof:~/swarm/state/matou-host-slot-2.lockexists; no regular/tmp/matou-swarm.lock//tmp/matou-host-slot-2.lockremains.GOTCHAS 67's
/tmp→<home>/swarm/statehost-state cutover (#205/#218) is live fleet-wide. Journaldocs/journal/2026-10-21-222.md, STATUS rows updated (d00e526). Side notes recorded there: the mac's LAN subnet moved to192.168.0.x(mesh is the path), and pipe an enrol script overssh … bash -srather than pasting a long one-liner.