glimmung-native migration: drop GHA self-hosted runner, add SSH-over-Tailscale flow #180
No reviewers
Labels
No labels
4-29
bug
documentation
duplicate
enhancement
flow improvement
good first issue
help wanted
invalid
investigating
issue-agent
issue-agent-blocked
issue-agent-complete
issue-agent-pr-open
issue-agent-runner-nelsonlaptop
issue-agent-runner-nelsonpc
issue-agent-runner-nelsonpc-user
issue-agent-running
needs-verification
next to do
question
queue
recon
relics-stats-onboarding
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens!180
Loading…
Reference in a new issue
No description provided.
Delete branch "glimmung-native-migration"
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?
Summary
Completes the spirelens migration onto Glimmung-managed
k8s_jobphases as locked in #179. The verify loop continues to run on the warm Slay the Spire 2 install on the gaming laptop, but the cluster-side orchestrator pod now reaches it over a per-run ephemeral Tailscale tailnet using a short-TTL OpenSSH user certificate minted by Glimmung's remote-host execution primitives (nelsong6/glimmung#632 — merged + deployed).Deletions (per glimmung migration policy — no compat, no soak)
.github/workflows/issue-agent.yaml.github/workflows/sts2-host-smoke.yml(host probe folded intoenv-prep.sh'sprobe-ssh+probe-mod-setsteps).github/workflows/opentofu-issue-agent-screenshot-storage.yml+ the entireinfra/opentofu/issue-agent-screenshot-storage/module. Per-project screenshot blob is obsolete; verify.sh uploads into the sharedromaineglimmungartifactsaccount (ambience's pattern)..github/scripts/publish-issue-agent-screenshots.ps1(upload moves cluster-side).Additions
scripts/glimmung-native/{lib,env-prep,test-plan,implement,verify,env-destroy}.sh— the cluster-side phase scripts. Each branches on$GLIMMUNG_STEP_SLUG;lib.shcontains the shared dispatcher, lease-callback wrappers (ssh-cert,tailscale-authkey), tailscaled bring-up, SSH/scp wrappers, and per-run keypair generation.docs/glimmung-workflow.md— the registration spec the operator POSTs toglimmung.romaine.life/v1/workflows. Mirrors ambience's phase shape exactly (env-prep → llm-work → llm-verify → evidence-gate → cleanup_early → touchpoint → touchpoint_gate → cleanup_final).In-place env-var rename (no compat shim)
.github/scripts/{prepare-issue-agent-job,run-issue-agent-phases,restart-sts2}.ps1switch from GHA env vars to glimmung env vars:GITHUB_RUN_IDGLIMMUNG_RUN_IDGITHUB_RUN_ATTEMPTGLIMMUNG_ATTEMPT_INDEXGITHUB_REPOSITORYGLIMMUNG_PROJECT_REPORUNNER_TEMPGLIMMUNG_WORKING_DIRGITHUB_WORKSPACEGLIMMUNG_REPO_ROOTgrep -rnconfirms no GHA env-var stragglers under.github/scripts/.AGENTS.md
D:\repos\STS2MCPreference (confirmed gone in #179 Section 4).Operator follow-ups (not in this PR)
nelsontofu/spirelens/issue-agent-screenshot-storage.tfstate.POST /v1/workflowsusing the JSON indocs/glimmung-workflow.md.tag:spirelens-hosttag is applied (#179 laptop step L2/L6). Without it, env-prep'sresolve-host-ipaborts withhost_unavailableand the run queues until next manual sign-in.C:\actions-runner-card-utility-stats*on the laptop (#179 step L9).Test plan
bash -n scripts/glimmung-native/*.shclean.grep -rn GITHUB_RUN_ID|GITHUB_RUN_ATTEMPT|GITHUB_REPOSITORY|RUNNER_TEMP|GITHUB_WORKSPACEagainst.github/scripts/returns nothing.env-prepphase emitsssh_endpoint,tailnet_ip,working_dir,bridge_ready. Verify against the corresponding Run row in Glimmung.verification.jsonlands in the Run's evidence + screenshots appear underromaineglimmungartifacts/artifacts/spirelens/<run_ref>/sts2-screenshots/.🤖 Generated with Claude Code