Files
CatoandClaude 6a966ac6ae fix(sessions): the session walk says what tab-inject does, and tab-inject says when a task waits (#1674)
Traced 2026-11-12. On the cloud builder tab-inject queues a task that the
claim gate holds while an earlier run of the project is open (so it never
types into an agent mid-task), but it answered only ok, and the walk said a
running session gets the prompt typed into it. A prompt for a plain shell
was queued and answered 200, then refused by the runner.

- tab-inject: a task held behind an open run answers heldBehind (runId,
  startedAt, label) and a message, read with findQueueBlockers, the gate's
  own predicate; a prompt for a shell is 403 before anything is queued
- LOOP-WALK: 'give it a task' says it waits its turn; 'type into it' says
  how to send a message mid-task (bracketed paste, then Enter); open-tabs
  names are lowercase; the shell refusals are the real statuses
- scripts/test/session-walk-truth pins the routes and the text together


Claude-Session: https://claude.ai/code/session_019MDtmtCjm3CvrFm3kYaTgy

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 14:08:47 +01:00
..

Loki foundation — product redesign (Cato, 2026-09-16)

Public name: Cato only. Do not put legal names on GitHub, hire pages, or public UI.

Loki’s bar: easiest place to build things and most powerful — agent-agnostic, model-agnostic, flexible; pick the best providers. Failures always explain cause + exact next action (never bare Queued / Retry / Starting). Agents and Loki itself must never go silent while work is in flight — always show status and what happens next (same bar as human UX).

Aspiration (locked): develop everything inside Loki. No Kitty or Zellij required. Loki Terminal should reach Zellij-class quality over time; Kitty is optional overflow only. Client feedback → Implement → immediate Watch / Terminal / Loki chat paths is the core loop — keep docs, roadmap, and tests aligned with it until it works live, then keep it working.

This folder is the SSOT for a multi-PR program. Ship in the order in IMPLEMENT-ORDER.md. Each slice has its own brief; do not boil the ocean in one PR. When Cato restates the loop, update these docs in the same change set — do not let aspirations drift.

Start with LOKI-WORKS.md. It is the acceptance contract for the feedback-to-live loop, truthful status, collaboration, model independence, Loki chat, and shared packages.

Doc What
LOKI-WORKS.md Definition of working: one-click feedback-to-live, trust, roles, model independence, chat, packages, and production acceptance
HARNESS-SIMPLIFICATION.md Explicit failures, local-runner prompt, provider hot-swap, Terminal+Loki rail, kill stale identity
RUN-STATUS-SSOT.md Queued / Starting / Working / Needs you / Done / Failed — one alive bit for Feedback ↔ Terminal
AI-PROVIDERS-TAB.md AI tab: subscriptions, login, tokens, last interaction
ROBOTS-TAB.md Robots tab foundation (2 vacuums now; humanoids later / optional split)
CHROME-UX.md Header/footer/nav like OrangeCat quality; kill Frankenstein sidebar
IMPLEMENT-ORDER.md PR sequence + acceptance walks + non-negotiable loop

Related live pain (2026-09-16): Implement → silent status / inject fail without watch chooser; Claude/Grok PTY inject without generate; “This computer” without “open Fleet Runner”; Loki Terminal empty while Kitty is busy (different session world); no account menu in header; minimized left rail horizontal scroll; operators left wondering if anything is happening.