Files
loki/docs/foundation
CatoandClaude Fable 5.1 bbcf43fed3 feat(runs): one delivery track everywhere — the chat card draws the same track as Watch (#1240)
* feat(runs): one delivery track everywhere — the chat card draws the same track as Watch

The chat card under a dispatch had its own list (run-milestones: picked up →
pushed → PR → checks) and Watch had the delivery track, built from
different facts, so moving between the two screens meant reading two
stories about one change.

- lib/run-track-load: the one loader every run surface calls — events,
  the runner's snapshot, what was asked, the branch or pull request on
  GitHub while the run lives, the commits and checks behind it
  (lib/repo-progress, was run-milestones-fetch), and after the run the
  fix ledger through merge, deploy and Loki's look. Owner-only for anything
  that reaches GitHub or the budget; never from a timer.
- The Watch route and both live-status routes the chat card polls carry
  `track`; RunMilestones and the follow line are gone.
- lib/run-track: commits ride the working stage as facts ("Pushed: …", in
  the builder's words); a red check is the merged stage in the needs-you
  state, a green one "Checks passed — merging", before the ledger catches
  up; the pull request's number and title come from the repository too.
- components/projects/RunTrack: `collapsible` — a settled track in a chat
  thread folds to its one sentence and opens on a tap.
- components/projects/RunLook: the page before and after, side by side,
  under the track in chat and on Watch (the before picture #1238 keeps).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNLstupcdvsPfTjy8yjR67

* refactor(run-follow): drop followRun — every surface reads the ledger through loadRunTrack now

The dead-exports ratchet caught it: nothing referenced the follow-only
wrapper once the live-status routes moved to lib/run-track-load.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TNLstupcdvsPfTjy8yjR67

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 14:57:11 +02: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.