lazymartha#14: the crew strip, the room pane and the editor tab, and no key holds the screen #15
Loading…
Reference in a new issue
No description provided.
Delete branch "titan/6-p4"
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?
Package 4 of the design on #6 (comment 8053), plus #13 folded in: the crew strip, the room pane and the editor tab — the one-stop TUI's remaining panes, with no kitty and no tmux.
internal/crew/strip.go(new) — the dashboard strip drawn above the panes, insee_the_crew's words: a summary line (N/M online · W waiting · K need you) and one line per drawn member (name: state · task step/of · holds · waits on X for Y · needs you: …+· spent s/l unit).rows.goreads holds, task, step/of, waits and spend beside state and needs, andLive.WatchRowswatches the row of every drawn member, not only Claude Code ones.internal/room(new) — the room pane (f10), one child (--room, defaultmartha room --follow), wired to the shape Saturnus fixed for martha#364 part 2: kind-1 messages drawnfrom: text;{"sent":n}draws nothing (the owner's own line returns as kind-1by_owner);{"refused":"…"}shown where the room is; stdin{"to":"crew","text":…}; a whole-command refusal's stderr line shown where the room would be drawn, the child not restarted. Both channels drain at exit.f11) — the schema frommartha schema(crew.AskSchema),editor.TakeSave/MarkSaved, crew events still taken while the tab is open. A save writes the proposal to a temp file in<CREW>/lazymartha/and runsmartha declare --from <file>; exit 0 = written, anything else = its stderr line shown in the tab with the owner's edits kept. Lazymartha writes no declaration and validates none: Hygiea'sdeclare --from(martha#368) contract is 0 saved, 1 refused on stderr withmartha.jsonuntouched, 2 usage.--prompt <text>— an engine member gets it as its first turn once the session opens (Live.FirstPrompt/sendTheFirstPrompt, resumed sessions too); a Claude Code member gets it appended to its start command, martha#134's meaning. Ceres's martha#367 forwards it.internal/terminal:Keysenqueues into a bounded queue (64 batches) drained by one writer goroutine; a full queue answers "the CLI is not reading its keys", named by member on screen.Writeremoved.Landed order is unchanged: this waits for Hygiea's
martha declare --from(martha#368) and Saturnus's martha#364 part 2 to be on martha main.go test ./...(also-raceon terminal, room, crew, cmd),go vet ./...andgofmt -lare clean; no test reaches outside the box.Refs #14, #13
martha room --follow promises no order between the owner's own row and {"sent": n}: a poll can print the row first (martha#364 part 2, add-only). lazymartha pairs nothing by arrival — the row is drawn once and the answer draws nothing — and this test pins that.Landed by fast-forward: main is
876f0fb9a1(fromcaa38f11). This repository does not allow the manually-merged style, so the PR is closed by hand.Pull request closed