#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

Follow-up to #195 (foundation landed: git-cred-lib.sh + git-setup.sh keep origin credential-free and inject the swarm bot token per invocation via a token-free git 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 to ready-for-human only on a genuine one-way door.

Why a session, not a swarm worker

  • .forgejo/workflows/{swarm,triage,resume-asks}.yml are a protected path (protected-paths-lib.sh rolls back any worker edit). Editing their .tmpl sources ALONE reds onboarding/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

  1. Workflow templates + rendered copies — rewrite the cold-bootstrap in onboarding/templates/workflows/{swarm.yml.tmpl,triage.yml.tmpl,resume-asks.yml.tmpl,swarm-smoke.yml.tmpl} to a credential-free origin + the git-cred-lib.sh helper form (git -c credential.helper=<snippet> / git_cred_export), dropping every url="https://swarm:${FORGEJO_TOKEN}@...". Re-render .forgejo/workflows/*.yml in the same change so self-workflows-drift-test.sh stays green.
  2. Prompt enrichment — rewrite workflow-verify.md step-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 be git 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.
  3. main.mts — wire the sandbox worktree with the helper (git config credential.helper <snippet> next to the existing core.hooksPath setup), so a worker's manual git push origin and land-pr.sh authenticate credential-free (removes the need for the token-URL fallback).
  4. land-pr.sh — drop the LANDING_PUSH_REMOTE="$scheme://swarm:$FORGEJO_TOKEN@$host/..." construction (argv-visible token). Use a credential-free remote + git_cred_export (the push runs in landing-lib.sh). Update tests/land-pr-test.sh (it currently asserts the token-URL push shape).
  5. Rehearsal healer — replace rehearsal_heal_authed_url (rehearsal-heal-lib.sh) + its two call sites in rehearsal-report.sh (clone + remote set-url origin) with a credential-free URL (git_cred_strip_url) + helper (git_cred_export/git_cred_persist on the dedicated checkout). Update tests/rehearsal-heal-lib-test.sh cases 12-14.
  6. Re-vendor — bump .sandcastle/FACTORY_REF (bash onboarding/onboard.sh vendor .sandcastle <sha>) so the running self-copy picks up git-cred-lib.sh + the rewired git-setup.sh.

Acceptance (the #195 clauses this completes)

  • grep -rn 'swarm:${FORGEJO_TOKEN}@' --include='*.sh' --include='*.yml' --include='*.tmpl' --include='*.md' . returns nothing outside docs/GOTCHAS.md (rendered .forgejo/workflows/* and their .tmpl sources both clean).
  • No push command places the token in argv (land-pr.sh, rehearsal-report.sh).
  • The prompt-skeleton/enrichment token fallback uses the credential-helper form (cutover fixtures re-proven).
  • Full offline suite green.

Found while working #195 (foundation commit on main).

Follow-up to #195 (foundation landed: `git-cred-lib.sh` + `git-setup.sh` keep `origin` credential-free and inject the swarm bot token per invocation via a token-free `git 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 to `ready-for-human` only on a genuine one-way door. ## Why a session, not a swarm worker - `.forgejo/workflows/{swarm,triage,resume-asks}.yml` are a protected path (`protected-paths-lib.sh` rolls back any worker edit). Editing their `.tmpl` sources ALONE reds `onboarding/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 1. **Workflow templates + rendered copies** — rewrite the cold-bootstrap in `onboarding/templates/workflows/{swarm.yml.tmpl,triage.yml.tmpl,resume-asks.yml.tmpl,swarm-smoke.yml.tmpl}` to a credential-free `origin` + the `git-cred-lib.sh` helper form (`git -c credential.helper=<snippet>` / `git_cred_export`), dropping every `url="https://swarm:${FORGEJO_TOKEN}@..."`. Re-render `.forgejo/workflows/*.yml` in the same change so `self-workflows-drift-test.sh` stays green. 2. **Prompt enrichment** — rewrite `workflow-verify.md` step-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 be `git 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. 3. **`main.mts`** — wire the sandbox worktree with the helper (`git config credential.helper <snippet>` next to the existing `core.hooksPath` setup), so a worker's manual `git push origin` and `land-pr.sh` authenticate credential-free (removes the need for the token-URL fallback). 4. **`land-pr.sh`** — drop the `LANDING_PUSH_REMOTE="$scheme://swarm:$FORGEJO_TOKEN@$host/..."` construction (argv-visible token). Use a credential-free remote + `git_cred_export` (the push runs in `landing-lib.sh`). Update `tests/land-pr-test.sh` (it currently asserts the token-URL push shape). 5. **Rehearsal healer** — replace `rehearsal_heal_authed_url` (`rehearsal-heal-lib.sh`) + its two call sites in `rehearsal-report.sh` (clone + `remote set-url origin`) with a credential-free URL (`git_cred_strip_url`) + helper (`git_cred_export`/`git_cred_persist` on the dedicated checkout). Update `tests/rehearsal-heal-lib-test.sh` cases 12-14. 6. **Re-vendor** — bump `.sandcastle/FACTORY_REF` (`bash onboarding/onboard.sh vendor .sandcastle <sha>`) so the running self-copy picks up `git-cred-lib.sh` + the rewired `git-setup.sh`. ## Acceptance (the #195 clauses this completes) - `grep -rn 'swarm:${FORGEJO_TOKEN}@' --include='*.sh' --include='*.yml' --include='*.tmpl' --include='*.md' .` returns nothing outside `docs/GOTCHAS.md` (rendered `.forgejo/workflows/*` and their `.tmpl` sources both clean). - No push command places the token in argv (`land-pr.sh`, `rehearsal-report.sh`). - The prompt-skeleton/enrichment token fallback uses the credential-helper form (cutover fixtures re-proven). - Full offline suite green. Found while working #195 (foundation commit on `main`).
Author
Member

Close report — #222 credential-free git auth (ROOT work landed)

Landed: commit 11d4a4a on origin/main (sandcastle: #222 — credential-free git auth across workflows/land-pr/healers/landing guidance).

The token-free git credential.helper #195 built now replaces every swarm:$FORGEJO_TOKEN@ token-URL at the sites #195's foundation left:

  1. Workflow cold-bootstrap — onboarding/templates/workflows/{swarm,triage,resume-asks,swarm-smoke}.yml.tmpl + the rendered .forgejo/workflows/{swarm,triage,resume-asks}.yml clone/fetch a credential-free origin with an inlined get helper reading FORGEJO_TOKEN from 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.sh green.
  2. Sandbox worktree — main.mts wires git-cred-lib's helper beside core.hooksPath so a worker's manual git push origin and land-pr.sh authenticate credential-free (helper byte-identical to GIT_CRED_HELPER).
  3. land-pr.sh — drops the argv-visible swarm:$FORGEJO_TOKEN@ remote; credential-free remote from $FORGEJO_API + git_cred_export.
  4. Both healers — rehearsal-report.sh (2 call sites) AND heal.sh (a third call site the ticket did not enumerate, line ~595) drop the removed rehearsal_heal_authed_url for git_cred_strip_url + git_cred_persist/git_cred_export.
  5. Landing guidance — 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 via git_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 -c globals).
  • Full offline suite green but for the 6 pre-existing reds (git-cred-lib/session-runner/fleet-tui/tui env-fp-keying, claude-call-guards/limit-lib #225 uutils-date) — each reproduced on the pristine origin/main tree, so not a #222 regression.

Acceptance: clauses 2 (no token in land-pr.sh/rehearsal-report.sh argv), 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_REF so 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):

  • The dev-factory session-runner cron runs /home/dev/session-runner/dev-factory/.sandcastle/session-runner.sh from this very checkout, every 10 min. Bumping the pin here would, on the next tick, activate #218's /tmp→<home>/state host-state cutover on the LIVE host — which #218's own STATUS note says is "INERT until a human re-vendors AND runs onboard.sh host-cron install on a clean /tmp". That host-cron install is a human-only live-host operation; the pin bump and it are one coordinated step.
  • This is the same reason #205/#218/#220/#228 already defer the full pin bump to one coordinated human re-vendor (GOTCHAS 4: a human bumps the pin). #220's own landing note states it explicitly.

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 own vendor: self-pin -> <sha> commit) bundled with onboard.sh host-cron install on 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.

## Close report — #222 credential-free git auth (ROOT work landed) **Landed:** commit `11d4a4a` on `origin/main` (`sandcastle: #222 — credential-free git auth across workflows/land-pr/healers/landing guidance`). The token-free `git credential.helper` #195 built now replaces every `swarm:$FORGEJO_TOKEN@` token-URL at the sites #195's foundation left: 1. **Workflow cold-bootstrap** — `onboarding/templates/workflows/{swarm,triage,resume-asks,swarm-smoke}.yml.tmpl` + the rendered `.forgejo/workflows/{swarm,triage,resume-asks}.yml` clone/fetch a credential-free origin with an inlined `get` helper reading `FORGEJO_TOKEN` from 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.sh` green. 2. **Sandbox worktree** — `main.mts` wires git-cred-lib's helper beside `core.hooksPath` so a worker's manual `git push origin` and `land-pr.sh` authenticate credential-free (helper byte-identical to `GIT_CRED_HELPER`). 3. **`land-pr.sh`** — drops the argv-visible `swarm:$FORGEJO_TOKEN@` remote; credential-free remote from `$FORGEJO_API` + `git_cred_export`. 4. **Both healers** — `rehearsal-report.sh` (2 call sites) AND `heal.sh` (a **third** call site the ticket did not enumerate, line ~595) drop the removed `rehearsal_heal_authed_url` for `git_cred_strip_url` + `git_cred_persist`/`git_cred_export`. 5. **Landing guidance** — `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 via `git_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 `-c` globals). - Full offline suite green but for the 6 pre-existing reds (`git-cred-lib`/`session-runner`/`fleet-tui`/`tui` env-fp-keying, `claude-call-guards`/`limit-lib` #225 uutils-`date`) — each reproduced on the pristine `origin/main` tree, so not a #222 regression. **Acceptance:** clauses 2 (no token in `land-pr.sh`/`rehearsal-report.sh` argv), 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_REF` so 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): - The dev-factory **session-runner cron runs `/home/dev/session-runner/dev-factory/.sandcastle/session-runner.sh` from this very checkout**, every 10 min. Bumping the pin here would, on the next tick, activate **#218's `/tmp`→`<home>/state` host-state cutover on the LIVE host** — which #218's own STATUS note says is *"INERT until a human re-vendors AND runs `onboard.sh host-cron install` on a clean /tmp"*. That host-cron install is a human-only live-host operation; the pin bump and it are one coordinated step. - This is the same reason #205/#218/#220/#228 already **defer the full pin bump to one coordinated human re-vendor** (GOTCHAS 4: *a human bumps the pin*). #220's own landing note states it explicitly. 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 own `vendor: self-pin -> <sha>` commit) **bundled with `onboard.sh host-cron install` on 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`.
Author
Member

Independent verification (second session) — concur with the ready-for-human escalation

A 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 landed
11d4a4a and escalated at 10:19:54Z). I re-did the ROOT work independently
from the pre-11d4a4a tree, then diffed against what landed — the two
implementations 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):

  • Acceptance clause 1 — grep -F 'swarm:${FORGEJO_TOKEN}@' is clean across
    root + rendered .forgejo/workflows/* + the .tmpl sources; the only
    remaining hit is .sandcastle/git-setup.sh (the stale vendored self-copy),
    which the step-6 re-vendor clears.
  • Clauses 2-4 — all 14 #222-touched tests green on the landed tree:
    git-cred-lib git-setup land-pr rehearsal-heal-lib rehearsal-report
    rehearsal-healer heal heal-lib policy-lib prompt-render-lib
    ticket-landing onboard-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_REF would
activate #218's /tmp→<home>/state host-state cutover on the live host at the
next tick — INERT only until a human re-vendors and runs
onboard.sh host-cron install on 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-human with the prior session's ## Why human
note intact.

Ruled by agent under ADR 0174 — veto anytime.

## Independent verification (second session) — concur with the `ready-for-human` escalation A 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 landed `11d4a4a` and escalated at 10:19:54Z). I re-did the ROOT work independently from the pre-`11d4a4a` tree, then diffed against what landed — the two implementations 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`): - **Acceptance clause 1** — `grep -F 'swarm:${FORGEJO_TOKEN}@'` is clean across root + rendered `.forgejo/workflows/*` + the `.tmpl` sources; the only remaining hit is `.sandcastle/git-setup.sh` (the stale vendored self-copy), which the step-6 re-vendor clears. - **Clauses 2-4** — all 14 #222-touched tests green on the landed tree: `git-cred-lib` `git-setup` `land-pr` `rehearsal-heal-lib` `rehearsal-report` `rehearsal-healer` `heal` `heal-lib` `policy-lib` `prompt-render-lib` `ticket-landing` `onboard-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_REF` would activate #218's `/tmp`→`<home>/state` host-state cutover on the live host at the next tick — INERT only until a human re-vendors **and** runs `onboard.sh host-cron install` on 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-human` with the prior session's `## Why human` note intact. _Ruled by agent under ADR 0174 — veto anytime._
Owner

Step 6 done at the repo: self-pin 2445159 → 0d638e1 landed as 31c2499 (Ben's Claude Code session, 2026-10-16)

onboard.sh vendor .sandcastle 0d638e1 --force + render-prompts (28 added / 110 updated / 0 removed; only review-prompt.md re-rendered differently; the three hand-patched vendored files were overwritten after confirming their hotfixes are in the root at the new pin). check-harness-drift OK; cutover, drift-gate, self-workflows-drift (10/10) and docs-budget tests green. Per-repo layer untouched, LANDING=pr kept. 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-factory to origin/main; once /tmp/matou-swarm.lock and /tmp/matou-host-slot-2.lock are 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 + regenerated host-capacity.env + host-cron install + verify); rm ~/swarm/host.off. On elitebook-03 the preflight will refuse until coreutils-from-gnu is installed (#225). This ticket closes once all three hosts verify green.

## Step 6 done at the repo: self-pin `2445159` → `0d638e1` landed as `31c2499` (Ben's Claude Code session, 2026-10-16) `onboard.sh vendor .sandcastle 0d638e1 --force` + `render-prompts` (28 added / 110 updated / 0 removed; only `review-prompt.md` re-rendered differently; the three hand-patched vendored files were overwritten after confirming their hotfixes are in the root at the new pin). `check-harness-drift` OK; cutover, drift-gate, self-workflows-drift (10/10) and docs-budget tests green. Per-repo layer untouched, `LANDING=pr` kept. 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-factory` to `origin/main`; once `/tmp/matou-swarm.lock` and `/tmp/matou-host-slot-2.lock` are 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 + regenerated `host-capacity.env` + `host-cron install` + verify); `rm ~/swarm/host.off`. On elitebook-03 the preflight will refuse until `coreutils-from-gnu` is installed (#225). This ticket closes once all three hosts verify green.
Owner

Step 6 host half: 2 of 3 hosts done (2026-10-17). onboard-host enrol from the refreshed ~/session-runner/dev-factory on a clean /tmp (old regular lock files removed only after a non-blocking flock proved them unheld; nothing was held):

  • elitebook-03 — preflight PASSED (now GNU date +%3N, see #225), managed block 10 lines (the hand-edited idss session line is now managed), verify green.
  • matou-workstation (as dev) — preflight PASSED, managed block 12 lines, verify green.

GOTCHAS 67's /tmp → <home>/swarm/state cutover 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 as active, so the host is up and taking jobs — only sshd is unhealthy. Needs a console sudo systemctl restart ssh, then the same enrol; this ticket closes on that. STATUS/journal: 7e18d63, 35d9d14.

**Step 6 host half: 2 of 3 hosts done (2026-10-17).** `onboard-host enrol` from the refreshed `~/session-runner/dev-factory` on a clean `/tmp` (old regular lock files removed only after a non-blocking `flock` proved them unheld; nothing was held): - `elitebook-03` — preflight PASSED (now GNU `date +%3N`, see #225), managed block 10 lines (the hand-edited idss session line is now managed), verify green. - `matou-workstation` (as `dev`) — preflight PASSED, managed block 12 lines, verify green. GOTCHAS 67's `/tmp` → `<home>/swarm/state` cutover 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 as `active`, so the host is up and taking jobs — only sshd is unhealthy. Needs a console `sudo systemctl restart ssh`, then the same enrol; this ticket closes on that. STATUS/journal: `7e18d63`, `35d9d14`.
Owner

Closed — step 6 complete on both halves.

Repo half (2026-10-16): self-pin 2445159 → 0d638e1 (31c2499), since superseded by #280's a4be7db.

Host half — onboard-host enrol from the refreshed checkout on a clean /tmp (old regular lock files removed only after a non-blocking flock proved them unheld), preflight PASSED + verify green on each:

  • elitebook-03 2026-10-17 — managed block 10 lines (the hand-edited idss session line is now managed).
  • matou-workstation 2026-10-17 (as dev) — 12 lines.
  • bens-mac-04 2026-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.lock exists; no regular /tmp/matou-swarm.lock / /tmp/matou-host-slot-2.lock remains.

GOTCHAS 67's /tmp → <home>/swarm/state host-state cutover (#205/#218) is live fleet-wide. Journal docs/journal/2026-10-21-222.md, STATUS rows updated (d00e526). Side notes recorded there: the mac's LAN subnet moved to 192.168.0.x (mesh is the path), and pipe an enrol script over ssh … bash -s rather than pasting a long one-liner.

**Closed — step 6 complete on both halves.** Repo half (2026-10-16): self-pin `2445159` → `0d638e1` (`31c2499`), since superseded by #280's `a4be7db`. Host half — `onboard-host enrol` from the refreshed checkout on a clean `/tmp` (old regular lock files removed only after a non-blocking `flock` proved them unheld), preflight PASSED + verify green on each: - `elitebook-03` 2026-10-17 — managed block 10 lines (the hand-edited idss session line is now managed). - `matou-workstation` 2026-10-17 (as `dev`) — 12 lines. - `bens-mac-04` 2026-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.lock` exists; no regular `/tmp/matou-swarm.lock` / `/tmp/matou-host-slot-2.lock` remains. GOTCHAS 67's `/tmp` → `<home>/swarm/state` host-state cutover (#205/#218) is live fleet-wide. Journal `docs/journal/2026-10-21-222.md`, STATUS rows updated (`d00e526`). Side notes recorded there: the mac's LAN subnet moved to `192.168.0.x` (mesh is the path), and pipe an enrol script over `ssh … bash -s` rather than pasting a long one-liner.
ben 2026-10-21 15:10:26 +00:00
Sign in to join this conversation.
No milestone
No project
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
No description provided.