Skip to content

the task room is live for the whole life of the work — and a running job's page stops saying finished #100

Closed

Description

@santoshkumarradha

Screenshot evidence (2026-08-31): a subharness hand's room, 32s into running (header main ▸ hand 4 · working · 32s, roster 4 working), draws a three-line dead body — the log path, a background job keeps a log, not a transcript, and task finished — esc to return.

The bug. openRoom's refused-door branch (internal/tui3/room.go:525) sets room.done = true for any id the engine's graph does not hold — the ordinary case for a background job, which is a roster row and never a node (jobrow.go). Every reader of done then speaks the landed vocabulary: the finished foot (room.go:3024) and the finished legend (room.go:3273) over running work.

The gap behind it. A job's whole record is its log, and the room never reads it: the page is static while the work streams into a file. And more broadly, from a task's creation in chat to its answer coming back, every stretch should show something true and moving — the person must never read a page that looks stalled while work runs.

Wanted, in the existing philosophy (deck parity, the emptiness law, person words, roomYetWord's shape, #86's phase words):

  • A job room is a LIVE LOG PAGE while the job runs: the log's tail polled like a far room's journal (~4/s), dim, newest at the bottom, path on top; done follows the row's state; the foot says what is true — running vs finished.
  • A task room's stretches each have their word: queued/just-started (roomYetWord), streaming worker (deck), checking what it left / closing gaps · round N of M (surface: the check and repair passes are visible on the card — phase, round, and the finding #86, already drawn), landed (finished foot + landing note). Verify each transition draws immediately, collapse what is noise, and keep the room's rows the conversation's renderers — no second grammar.

Out of scope: the divide/handoff engine phase words (sizing the work, briefing a worker) — session aforge-v2-77's lane owns those; this issue is the surface's side.

Branch ux/room-live-life → PR into dev.


Drafted with CodeAF · reviewed and owned by the author

Activity

  1. santoshkumarradha commented on Aug 31, 2026

    @santoshkumarradha
    MemberAuthor

    Landed on dev via #106 (squash). A job's page tails its log live (200 lines / 256 KiB from the end, 250ms beat, ANSI stripped), done follows the roster's row instead of the door's refusal, the running foot says this log grows as the job works — esc to return, and the whole queued → working → checking → repairing → landed walk is pinned by roomlife_test.go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions