4.0

Anatomy

Fixed bands around one scrolling body. Facts sit under the title; the workflow gets its own band only when the thread has one. Everything the owner must act on is in the request dock directly above the composer, so the answer is always in the same place.

Earlier messages load as you scroll
from task LD-139
Replace the password login in luckydo-next with passkeys. Keep the session cookie format.
Claude · 14:02
Plan: add a WebAuthn ceremony module, swap the login route, keep session.ts untouched.
read src/auth/login.ts
run · script, 6 actions · 140 ms 1 result
pnpm test auth 38 passed · show output
Claude · live
The registration ceremony works end to end. Checking which routes still call the password path.
runscript · only the final result enters Claude’s context
const hits = await call("github-luckydo.search_code", { q: "passwordLogin" });
const users = await call("trinity-test.list_fixture_users", { limit: 20 });
await call("loom.schedule", { in: "20m", message: "re-check CI" });
return { routes: hits.length, users: users.length };
github-luckydo.search_code Read · allowed
trinity-test.list_fixture_users Read · running on milk
loom.schedule Reversible write · will be allowed
Mid-turn context1 unread message from Waystone: accept v7 frames · trinity-test reloaded
Queued for next turn: “Also delete the old /reset-password route.”EditSend Now (Interrupt)
Bands mockup note

1 Toolbar. State pill, title, and the facts as a subtitle: project · machine · preset. Verbs: Stop turn, Move, Snooze, Archive, Info.

2 Tabs + path chip. Transcript, Changes, Files swap the body in place (⌘D toggles Changes). The chip says how content is reaching this Mac. A thread that belongs to a task shows the task’s id beside it (4.13).

3 Workflow band. Only when a workflow is on: round n of cap, each step with its preset.

4 Body. Tool calls are one line each (all the hub keeps). A run script is expanded while it runs or waits for a confirmation, one line afterwards.

5 Dock + composer. Requests, queued messages, then the composer.

Path chip values
Local socket Live via milk · end-to-end Live via forge · backup relay Messages only · no direct path Summary only Hub unreachable · local copy
4.1

Running · interrupting

Default send while the agent works is Queue (delivered next turn). Interrupt is a deliberate second button, never the default key. Stop turn cancels the turn but keeps the thread. Snooze is not offered on a running thread: it is an inbox verb.

Claude · live
Wiring the assertion path into the session middleware
Stop, don’t touch session.ts. I changed my mind about the cookie
Interrupt & Send ⌥⌘↩ Queue ⌘↩
Claude · 14:40
Wiring the assertion path into the session mid
You stopped this turn at 14:40 · session context kept
4.2

Code-mode: a script stopped at a confirmation

A run script stops at the first action that needs confirmation and returns what it has so far. The card stays expanded so the owner sees what already ran and what is waiting; the request itself is in the dock, like any other. from Neon

Claude · 15:01
Release notes are drafted. The script stopped before sending the announcement.
runstopped at action 2 of 3
const draft = await call("github-luckydo.create_release_draft", { tag: "v2.4.0-rc1" });
await call("google-personal.gmail_send", { to: team, subject, body: draft.notes });
await call("loom.message", { thread: "Release checklist", text: "rc1 announced" });
github-luckydo.create_release_draft Reversible write · allowed
google-personal.gmail_send Outward or irreversible · waiting for you
loom.message not reached · the script returned early

Send an email Outward or irreversible

to:      team@luckydo.dev
subject: luckydo-next 2.4.0-rc1 is ready for playtest
body:    Hi all, rc1 is on staging. Notes: …   show all 14 lines
Instance
google-personal · remote, secret on milk
Why it asks
The action declares this tier. LuckyDo asks before outward or irreversible actions.
Refuse…Allow Once
Afterwards: one line from Neon
run · script, 3 actions · 1 confirmed by you 1 result · show script

Once the turn completes the script collapses to the same one-line record the hub keeps. The script body is read from the machine on demand.

Mid-turn context rows
Mid-turn context2 unread messages from other threads
Mid-turn contexttrinity-test reloaded by “Archivum index rebuild”
Mid-turn contexttrinity-test failed to reload: exited 1. Tools

Every endpoint response carries this field. The transcript shows it only when it had something to say.

Why the approval is not inside the script card. Answers are first-wins by request. A card in the scrolling transcript would go stale the moment the phone answered; the dock has exactly one live copy.

4.3

Needs you · confirmation requests

The buttons are always Refuse… and Allow Once. Neither is styled as a default, Return approves nothing, and there is no key equivalent, because silence is not consent. There is no “allow for this thread”: to stop being asked, change which tiers ask on the project. Each card names its tier in design.md’s words and says where that tier came from.

Claude · 14:33
Root cause was an unseeded jitter in the retry backoff. Fixed; 200 consecutive runs pass. Ready to push.

Push to a shared remote Outward or irreversible

git push origin fix/sync-retry
# 2 commits · 3 files · +41 −12 · runs on milk
Why it asks
Claude’s own shell request. The judge (Jev) read it as “publishes commits to a remote”.
Policy
LuckyDo asks before outward or irreversible actions. Project boundary
Refuse… Review Changes ⌘DAllow Once

Run a shell command Unsure, so it asks

./scripts/reseed-fixtures.sh --all
Why it asks
The judge (Jev) could not tell whether this is reversible. Unsure, or no judge, always asks.
Refuse…Allow Once

Edit inside .git/ Needs confirmation

write .git/hooks/pre-commit   # +14 lines
Why it asks
Edits in the checkout are reversible writes. Hooks are code execution, so edits under .git/ ask.
Refuse…Show DiffAllow Once

Change the project boundary Outward or irreversible

loom project edit LuckyDo --add-machine tower
Why it asks
Only the owner changes a boundary. Adding tower widens the trust domain: agents on any LuckyDo machine can change tools that later run there.
Refuse…Open BoundaryAllow Once
4.4

Two or more requests at once

An endpoint call returns “approval pending” at once, so an agent can ask again before the first answer arrives, or ask a question while an approval waits. The dock shows them oldest first: one open, the rest as one-line rows that expand in place. Each is decided on its own; there is no “allow all”.

Claude · 14:36
Pushed nothing yet. While that waits I’d also like to reseed the fixtures, and I have one question.
3 requests · oldest first1 of 3

Push to a shared remote Outward or irreversible

git push origin fix/sync-retry
Refuse… Review ChangesAllow Once
Run a shell command ./scripts/reseed-fixtures.sh --allUnsure, so it asks
Claude is asking keep the seeded RNG behind a flag?Question
Rules
Order is the order the hub received them. Deciding one opens the next.
Any row can be opened out of order. Only one is open at a time, so the dock never takes more than about half the pane.
Each request has its own record. An answer from iPhone or voice retires that one row here and leaves the others.
A typed reply answers the open question if there is one; it never counts as an approval.
The inbox row and notification say “3 requests” and show the most careful tier among them.
Fix flaky Waystone sync test
3 requests: a push, a shell command and a question.
Outward3 requestsLuckyDomilk
4.5

After deciding: refuse, approved, answered elsewhere, lost

Refuse… opens the reason inline in the same card. An approved endpoint call runs on the daemon and its result arrives as the message that wakes the agent, so the transcript shows the approval as an event. The losing client sees who answered first.

Refuse: push to a shared remote

Open a PR instead, don’t push to the branch others are using

Optional. The reason is delivered to the agent with the refusal.

BackRefuse
You allowed git push origin fix/sync-retry once · 14:35 from this Mac
git push origin fix/sync-retry running on milk…
Answered from iPhone at 14:35: “TOML only”
Allowed by voice at 14:35 · spoken yes, matched your voice
You refused the push: “Open a PR instead…”
4.6

A machine with no judge

When a turn ends with no explicit signal, the daemon asks its judge whether the turn ended on a question. With no judge on the machine the answer is always “your turn”, so a workflow advances only on explicit signals: a verdict, ask, a message awaiting a reply, or the owner. The card says so once and offers the two things the hub would have done.

Claude · 15:20
Dumped 14 item tables to out/items/. The March build renamed two columns; I mapped them by position and noted it in NOTES.md.

Turn ended · tower has no judge

Loom couldn’t ask whether this ended on a question or a blocker, so it stopped here. Nothing is wrong. Read the last message and choose.

Reply…Finish Without RetroContinue to Retro

Turn ended · tower has no judge

No workflow on this thread, so the only question is whether it is finished.

Reply…Mark Done

Not styled as a confirmation. These buttons are navigation in a workflow, not consent to an action, so they may be ordinary buttons; they still have no default.

4.7

Done · for review vs. simply done · untrusted

A per-project setting decides which. “For review” puts a review dock on the thread; “simply done” shows a quiet footer. Both lead with the rolling summary, since that is what the hub always has.

Summary written on milk · 13:40
Rebuilt the Archivum index with a streaming merge. 4.1× faster on the 2 GB fixture. Review passed on round 3 after two changed verdicts (allocation in hot loop; missing fsync).
loom/archivum-index-rebuild14 files · +612 −3803 commits, nothing uncommitted

Ready for your review

Review ChangesAsk for ChangesMark Reviewed & Archive ⇧⌘R
Claude · 7:02
7 need a reply, 2 invoices, 1 calendar change.
1. Dana re: lease renewal. Wants an answer by Friday.
2. Gerrit digest: 3 changes waiting on you…
Done at 7:02. Started by schedule “Daily briefing”.Archive E
4.8

Failed

Failure always carries its reason and a way to resume. The review-cap case is the common one. A failed thread is never retried by itself; if it belongs to a task, the task stays In progress, marked failed, and offers Retry (4.13).

Review rounds
Round 8changedRace in importer teardown
Round 9changedFixed race; test_bulk still flaky
Round 10changedTwo tests still flaky under load

Review cap reached (10 rounds)

Temper stops here so a thread can’t loop forever. The work is kept.

ChangesSwitch Workflow…Resume for 5 More Rounds
4.9

Offline · machine stopped reporting

The state is called Offline everywhere: pill, lists and machine page. Nothing reclaims an offline thread automatically. The pane explains what is and isn’t readable (that depends on the machine’s retention) and makes the cost of moving explicit.

Claude · 13:41 · from hub
Reworded 14 of 31 error messages so far; continuing with the importer CLI…
Last completed message · anything after 13:41 is only on forge

Don’t want to wait?

The hub has this thread’s messages, so it can continue on another machine. Uncommitted work on forge stays on forge.

Wake forgeMove Without Uncommitted Work…
Summary 12:07
Updating the commit-msg hook to the new Change-Id format across four repos; two done, verifying the third.

Transcript, diffs and attachments are on basalt only.
This thread can’t be moved or searched while basalt is unreachable, and files can’t be attached.

4.10

Waiting · Queued

Waiting names exactly what the thread expects, with a link. Queued shows the claim rule and why no machine has claimed it.

Claude · 14:10
v7 framing is implemented behind a flag. I’ve asked the Waystone thread to accept v7 frames before I flip the default.
Sent a message to “Waystone: accept v7 frames”
Waiting for a reply from Waystone: accept v7 frames Running on macbook
Also wakes if that thread fails or is archived, or at 16:00 (its own schedule).
Dump the item tables from the current game client build and diff against last month’s.
Placement
Requires
game-client ida fixed tags
Candidates
tower: asleep · wake-on-LAN sent from milk at 14:02, no answer
Catch-all
milk doesn’t have these tags

Still queued: tower can’t be woken

Wake AgainChange Placement…Notify Me When It Starts
4.11

Borrowing: a parent waiting on a child

A thread that needs a fixed tag it lacks starts a child on the machine that has it and receives the result. The parent is an ordinary waiting thread whose dock names the child, why it exists and what would wake it. The child says whom it works for. A child’s result goes to its parent, not to the inbox; it reaches the inbox only if it fails or asks the owner something.

Claude · 14:01
I need the handler for opcode 0x4A2 from the client binary. milk has no IDA, so I started a child thread on tower, which does.
Started “Disassemble opcode 0x4A2” on tower to borrow ida
Waiting for a borrowed result from Disassemble opcode 0x4A2 Queued · tower asleep
tower is asleep, so the child has not started. milk sent wake-on-LAN at 14:02. This thread wakes when the child replies, fails or is archived; tower going offline does not wake it.
Wake towerOpen ChildGive Up on Child…
from the parent thread
Find the handler for opcode 0x4A2 and return its struct layout with field offsets.
Claude · live
Located the dispatch table. Decompiling the handler

In lists. A child is shown indented under its parent in Active, with a mark. In the Info inspector both appear under Linked threads (see 5.1).

4.12

Loading, scroll-back, relay failover, empty

The transcript is windowed. Hub-retained messages appear at once; the direct connection then upgrades them with output. Failover between relays is shown but never blocks reading.

Loading earlier messages from milk…
Claude · 14:33
Root cause was an unseeded jitter in the retry backoff…

Select a thread

⌘N new thread · ⌘K jump to anything · ⌘1 inbox

4.13

A thread and its task

A thread can belong to one task, and says so: a chip beside the path chip opens the task, and the opening message names where the goal came from. The task follows the thread, so nothing in a thread sets a status directly. Accepting reviewed work moves the task from Review to Done. Stopping the thread returns it to Backlog, so the queue does not start it again. Retry on a failed task starts a new thread that is given the summaries of the earlier ones. Follow-up work found in a Temper review becomes new tasks, each linked to the task it came from.

Started by auto-queue · 13:58 · a slot was free, and this was the top Ready task that was not blocked
from task LD-139 · title and description
Port luckydo-next auth to passkeys
Replace the password login in luckydo-next with passkeys. Keep the session cookie format.
Claude · live
Plan: add a WebAuthn ceremony module, swap the login route, keep session.ts untouched
Retry · started by you 14:40 · thread 3 of task LD-131
from task LD-131 · title and description
Stride importer: make CI green
The importer suite passes locally and fails about one run in five on CI…
Earlier threadsGiven 2 summaries, not transcripts: thread 1 failed before its first turn (not signed in on forge) · thread 2 hit the review cap with two tests still flaky
Claude · live
Thread 2 fixed the teardown race on loom/stride-ci-green. Starting from that branch and looking only at test_bulk_import
Summary written on milk · 13:40
Rebuilt the Archivum index with a streaming merge. 4.1× faster on the 2 GB fixture. Review passed on round 3.
Follow-up tasks made in review land in Backlog in LuckyDo
LD-146 Archivum: bound memory in the streaming merge
round 2 · reviewer measured 1.9 GB peak · Backlog

Ready for your review

Accepting moves task LD-127 from Review to Done. Asking for changes puts it back In progress.

Review ChangesAsk for ChangesMark Reviewed & Archive ⇧⌘R
A Temper review making a follow-up task
Review · round 2 · Codex · fresh session
verdict: changed Removed an allocation in the hot loop. The merge still buffers a whole segment per input; that is separate work.
loom.task.create · Reversible write · allowed LD-146
Made task LD-146 “Archivum: bound memory in the streaming merge” · follow-up of LD-127 · Backlog
Done at 9:12. Home does not mark work for review, so task HOME-9 went straight to Done.