- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Suite release / reused-checks (push) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / check-package (push) Has been skipped
Suite release / finalize (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite release / deliver-prune (push) Has been skipped
Suite release / check-manifest (push) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / reserve (push) Has been skipped
Suite release / deliver (push) Has been skipped
Suite release / scope (push) Successful in 8s
Suite release / module (push) Successful in 20s
Written by merge-queue for romaine-life/strip-protocol#7, which was tested with this repository before it landed (RLMQ-6). Anvil-Prebuilt: romaine-life/strip-protocol@461bfb83e8 |
||
| go.mod | ||
| go.sum | ||
| hide_other.go | ||
| hide_windows.go | ||
| README.md | ||
| spawn.go | ||
| spawn_test.go | ||
spawn
Starts a Claude session from a brief in a new background tmux window: what /new-window and a
follow-up's session both do (tmux-strip spawn, claude-pane open,
AGT-65). The window runs at-claude, which
every Claude window is (HOMECFG-246),
with the brief as its first prompt, read from a file saved under ~/.claude-spawn and never
typed. Below Medium integrity, as a Low claude's tools run, tmux refuses a new window, so the
session's at-claude host opens it instead (at-claude open-window).
SaveBrief(home, stem, prompt, now): writes the brief and returns its path.Open(tmux, window): opens the window running at-claude on that brief.
It reads the caller's integrity through
strip-protocol. It was agent-tools'
spawn package until shared packages got repositories of their own
(AGT-85,
AHT-258); tmux-strip and claude-pane import it.
Using it
require forgejo.romaine.life/romaine-life/spawn v0.1.0
Testing
go test ./..., with a fake tmux; no window opens.
Shipping
A library: the release-module topic in
pipeline-templates' fleet.json
tags each merge that changes the code, and every fleet repository whose go.mod requires it
gets a take-up. Forgejo pushes it to its public GitHub copy, which proxy.golang.org serves to
builds outside CI.