Skip to content

docs: describe how fctl's web app is designed, component by component - #22

Merged
kalaspuff merged 6 commits into
mainfrom
fctl/974-the-session-viewer-is-already-working-ve
Nov 8, 2026
Merged

kalaspuff merged 6 commits into
mainfrom
fctl/974-the-session-viewer-is-already-working-ve

Conversation

@fctl-sh

@fctl-sh fctl-sh Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds docs/: how fctl's web app is designed, written for the person or agent who builds its next component. It holds the principles behind every screen, each with its reason (say what happens, one palette used for meaning, show the gist with the rest a click away, say a thing once, steady not flickery, motion that's quick and optional, keep the reader's place, phones first-class, accessible by construction, edge cases as design, check it like a person would). Then a page for each part of the app, each covering what it's for, what it shows and how much, its states, behavior, motion, accessibility, copy, edge cases, the traps found building it, file paths in hyperstructure/fctl, and a "building one like it" checklist:

  • The now line, the pill that says what the agent does at this moment: each kind of moment and its words, holding, settling and throttling so it never flickers, rolling steps, gliding width, odometer figures, the thinking mark, background work and Your turn. It's the most detailed page, as a model for live components.
  • The session view: reading in turns, the cover and glance, ask cards and the thread, outcomes, navigation, coming back, the plan, retrospectives at a glance.
  • The transcript: how events become items and runs, how calls are described, live behavior, finding, the composer, the details rail.
  • The changes viewer: diffs, the file list, finding, and how live edits play: written in behind a caret, lines turning red, what changed staying lit, the reader's line held still.
  • The app shell: the sidebar and what it shows, Needs you and the app's badge, folding, the phone drawer, the ⌘K palette, shortcuts, appearance.
  • Lists, rows and pages: rows, status, avatars and pickers, narrowing, states, forms, the Agent Floor, pull requests, project and workspace pages, Settings.
  • Pages that explain: how runners, reviews, schedules and tickets teach and show examples before they're on, and the patterns across them.
  • The UI kit: tokens in use, type, radii, surfaces, themes, focus, forced colors, touch, Safari, and every primitive.
  • Motion: every animation with its timing and what it says, and the patterns behind them.
  • Verifying: how to look at a change before calling it done: the demo world, both engines, themes and sizes, stills, clips, frame-by-frame checks, measurements.

The README and AGENTS.md point to it, and AGENTS.md asks for these pages to change with what they describe. The pages come from the code, its comments, the commits that built it and the notes earlier agents left. Each was checked against the code: specific claims (sizes, timings, keys, copy) were spot-checked, a few errors corrected, and every link and anchor between the pages resolves. They name no people.

Worth confirming

fctl session


Note

Low risk. Documentation only: new markdown pages under docs/ and short pointers in README.md and AGENTS.md, with no code, tokens or exports changed.

What it does. Adds a docs/ folder describing how fctl's web app is designed: the principles behind every screen, then one page per part of the app (the now line, session view, transcript, changes viewer, shell, lists and pages, explanatory pages, UI kit, motion, and how to verify a change). README.md and AGENTS.md now point to it, and AGENTS.md asks that these pages change together with the code they describe.

fctl review's first look at c255a27 · 14 files, +5581 −0 · Review agent settings

@fctl-review

This comment has been minimized.

Comment thread docs/web-app/changes.md Resolved
Comment thread docs/web-app/now-line.md Resolved
Comment thread docs/web-app/changes.md Resolved
Comment thread docs/web-app/kit.md Resolved
Comment thread docs/principles.md Resolved
Comment thread docs/principles.md Resolved
Comment thread docs/web-app/motion.md Resolved
… and does

- References to the drafts' numbered sections are links to the headings.
- The stalled now line quotes stallLabel's words.
- A person's message always shows whole; only fctl's passed-on findings clamp.
- F3 is the changes dialog's own, not in lib/shortcuts.ts.
- violet is in use (a thought's thread), the work loops run 1.1 to 1.8 s, and
  the shimmer's 4 s is a 2 s pass and 2 s at rest.
@kalaspuff
kalaspuff merged commit ea16271 into main Nov 8, 2026
4 checks passed
@kalaspuff
kalaspuff deleted the fctl/974-the-session-viewer-is-already-working-ve branch November 8, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant