Skip to content

feat(studio): busy kitchen and order book; fix delayed delivery approval - #179

Merged
egagofur merged 2 commits into
mainfrom
feat/studio-busy-kitchen
Nov 24, 2026
Merged

egagofur merged 2 commits into
mainfrom
feat/studio-busy-kitchen

Conversation

@egagofur

Copy link
Copy Markdown
Owner

What

Busy kitchen in Studio

  • Other unfinished Runs of the selected project (main Run and worktree Runs, up to five) work as commis chefs in a back kitchen, seen through a wide pass window in the back wall. Each one has its own steel island behind its station: a hob at Cook, a board elsewhere.
  • Hovering a chef names the Run and its step; clicking switches to that Run. A station label shows ×N when several Runs are at the same step.
  • Order book: click the book at the Order station, the Order book button, or press O. It opens a leather-bound ledger of recent Runs, newest first, each stamped from its last Judge verdict (Passed, Served, Sent back, Cooking, Escalated, Void). Live worktree Runs are listed first. New read-only GET /api/projects/:id/runs.
  • Kitchen wording:
    • The Run card is a pinned paper order ticket.
    • The activity card is a chalkboard ("On the stove", "Ready at the pass"), with the AEL stage under it.
    • The header counts kitchens, chefs cooking and orders that need you.
  • Diners: they have the bot's capsule eyes and blink. The hover name cards are gone; names stay for screen readers.

Delivery approval delay (fix)

  • The agent recorded approval only in its final deliver call, after commit, push and PR. For those minutes Studio and the notification still showed the Run as waiting.
  • deliver --run <id> --approve --by <name> without a destination now records the approval at once and can be repeated: approval nodes plus delivery.json with approvedAt. loop-deliver tells the agent to run it the moment the human says yes.
  • Before this change, that call approved the nodes and then failed asking for --destination.

Testing

  • npm test: 917/919 pass. The 2 failures are setup tests that also fail on a clean main on this machine; they depend on the hosts installed locally.
  • check:skills, doctor, eval and audit:package pass. measure: T1 is at 17834 chars, within the 50% budget.
  • New tests:
    • Run history endpoint (verdicts, current Run, 405/404).
    • Order book render and escaping.
    • Crew selection and spot layout.
    • Back-kitchen island placement.
    • Diner blink.
    • Kitchen board copy.
    • Early approval reaching the same gated outcome as the long form.
  • Browser check with a fixture project (6 active Runs, 4 in history):
    • Desktop 1440px and phone 375px.
    • Hover tooltip, clicking the book, O, and the order book on both sizes.

Not in this PR

  • The unrelated local DOT adapter edits (adapters/dot/*, tests/dot-no-auto-close.test.js).

🤖 Generated with Claude Code

egagofur and others added 2 commits November 24, 2026 18:19
…ding

Other unfinished Runs of the selected project work as commis chefs in a
back kitchen seen through a pass window, each at its own steel island;
hover names the Run, click switches to it, and station labels show xN.
The order book (click the book, the button or O) is a leather ledger of
recent Runs stamped from their last Judge verdict, served by the new
read-only GET /api/projects/:id/runs. The Run card is an order ticket,
the activity card a chalkboard, and the header counts kitchens, chefs
and orders. Diners get the bot's capsule eyes and blink; their hover
cards are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The agent recorded approval only in its final deliver call, after
commit, push and PR, so Studio and notifications kept waiting for
minutes. deliver --approve --by <name> without a destination now
records it at once (approval nodes, delivery.json with approvedAt) and
is repeatable; the delivery stage tells the agent to run it first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@egagofur
egagofur merged commit 2ed901f into main Nov 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant