mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 07:02:29 +01:00
feat/parallel-implement
65
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
75c870da2d |
fix(terminal): PTY follows the grid, expandable full-width pane, one composer (#887)
* fix(terminal): resize the PTY to the grid on screen, not only when typing The resize was published only from an interactive (Type + live keys) view, so Prompt mode, Voice mode and every phone fitted xterm locally and never told the PTY. Measured: 79-col grid drawing a 120-col PTY on desktop Prompt mode, 86 vs 120 on a 390px phone — torn words and stray columns at the right edge. Fit + publish now run on mount, on every host resize, on a font step, and re-assert on window focus. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(terminal): one composer for chat and inject; expandable, full-width pane - components/composer/Composer is THE composer (text, attach, voice, model, Send/Stop, optional modes). Loki chat (LokiComposer), the terminal's Ask/Inject rail, the Prompt-mode box / phone dock and Control's quick send all render it. TerminalLokiComposer (bare textarea, no attach/voice) is deleted; Control's one-line ⌘Enter input is gone. - The rail's Inject is the prompt composer while the rail is beside the session, so the page no longer shows two inject boxes at once. - Terminal pane: rail is a fixed width (lg+) instead of 40% of the row, can be closed (remembered), is a sheet below lg; Expand works at every width and Esc leaves it, except when typed into the xterm or handled by a dialog. - Tests: one-composer (logic, per-call-site render, no private textareas), terminal-expand (Esc rules). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|
|
fcd38cb463 | fix(loki): clarify terminal and retire stale guidance (#866) | ||
|
|
602a581c46 |
Organise navigation around the operator loop, give the header an identity, and stop Control contradicting itself (#797)
* refactor(shell): organise navigation around the operator loop, and give the header an account menu The sidebar carried 27 destinations in four sections, one of which was named "More" and held Approvals, Terminal, Prompts, Activity, System, Thoughts and the PUBLIC /fleet register — seven pages whose only shared property was that nobody had decided where they went. Alongside them sat a "Site" section: Mission, Philosophy, Roadmap, Whitepaper and Investors, in the signed-in app navigation. Loki is an operator console. Its surface answers three questions, so the sidebar now has exactly three sections and each one states its question: Now — what needs me? Today, Approvals, Feedback Fleet — what is my fleet doing? Control, Projects, Activity, System Command — how do I act on it? Loki, Terminal, Prompts Private stays PIN-gated below them. The marketing pages left the signed-in shell and stay reachable through Cmd-K, which now indexes NAV directly rather than whatever happens to be in the sidebar — curating the sidebar must never make a page unfindable. Alongside that, identity: - There was no way to sign out from the header, and nothing anywhere in the top bar said who was signed in. A grep of components/shell/ for "avatar", "UserMenu" or "ProfileMenu" returned nothing. Sign out, Settings and the private-zone lock lived in the sidebar footer, which is `hidden md:flex`, and were duplicated in the mobile Menu sheet's footer: two account menus, neither called one, and none where users look first. - AccountMenu now owns all of it, in the top bar, on every viewport. - The theme toggle moved inside it. It was the only control in the top bar drawn with a border and a fill (ui-theme-cycle-btn) while every signal beside it was a bare ghost circle (ui-topbar-btn) — a preference outweighing every piece of live state on the page. - SidebarFooter is deleted. Its collapse button was marked `md:hidden` inside a panel marked `hidden md:flex`, so it could never render on any viewport; SidebarBrand has always owned the working toggle. Two retired NAV entries are deleted rather than hidden: `agents` → /control and `atlas` → /projects pointed at the pages that replaced them, and since NAV_ITEMS is what AppTopBar and PageTitle scan for "which page am I on?", the first match won — /control would have been titled "Agents". Their redirect pages reference the targets, so the redirects stay honest. scripts/test/navigation.ts is rewritten to defend the new structure: every section must state its question, "more"/"misc"/"tools"/"site" are rejected by name, account items may not appear in the sidebar, marketing items may not, no two items may share an href, and the bottom bar must carry one entry point per loop section. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159PhgGrn6ccwfwVTJoTuYx * fix(control): stop the hero claiming "Idle" over a queue of six things Observed on prod: the Control hero read "Idle — nothing queued" while a panel titled "Needs you", badged 6, sat roughly a screen and a half below it, under a 23-project list. One page, one question — is anything waiting on me? — and two answers, with the confident wrong one on top. Two distinct faults, fixed together because either alone leaves the page contradicting itself. 1. The hero could not see the queue. deriveFleetPulse read agents, run outcomes and projects awaiting input, and nothing else, so the one queue on the page that literally counts things waiting on the operator was invisible to the headline that summarises them. It now takes `inbox` and ranks it last among the states that say something is up — a stall, a failure, a half-finished run and a blocked project all still outrank chores — but comfortably above "Idle". `unknown` is a separate state from `count: 0` on purpose. A queue we failed to read is not a queue we know to be empty; ControlInbox already refused to render silence as the answer "no", and the hero now refuses too. The count could not be lifted while it lived inside the panel rendering it, so the fetches moved to `useControlInbox`, called once in ControlPanel and passed down. One read, two consumers, one truth. It also removes a third copy of the /api/feedback/summary request from the page. 2. The panel was filed in the wrong tier. ControlPanel's own ordering rule says tiers 1-2 are about a human being blocked and "reporting never renders above blocking" — and a queue titled "Needs you" with a count badge is the definition of tier 2. It sat in tier 4. It now sits with AttentionBar and AgentEscalations, which it can afford because of how it was built: one line per group until opened, nothing auto-expanding, and nothing at all rendered when the queue is empty. Two rows above the fleet, not the ~1,400px of unbounded strips it replaced. The `inbox` state takes the warning dot rather than neutral grey, for the reason the `partial` state already does: grey beside the words "Waiting on you" is the page agreeing with itself in tone while disagreeing in substance. `unknown` stays neutral — that one really is "no idea". Four tests pin it: a non-empty queue is never Idle, an empty one still is, an unreadable one is not a claim of emptiness, and real trouble still outranks chores. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159PhgGrn6ccwfwVTJoTuYx * fix(design): un-invert the dark text ramp, and make token drift a build failure @bitbaum/design-tokens calls itself "the design single source of truth for OrangeCat, Loki and Solon". Solon proves it — its globals.css is 19 lines and imports the package. Loki's is ~5,800 and declares its own ramp, with the package present only as a devDependency used to generate the widget theme. A comment here said the quiet part out loud: "Loki still declares its ramp locally, so the value is kept in step by hand." Nothing was keeping it in step. Measured: Loki and the package disagree on 32 of the 36 tokens they both define, and the disagreement has a shape — someone transcribed the DIGITS between colour spaces without converting them. `--text-secondary` is `oklch(0.4 0 0)` here and `0 0% 40%` there; those are 30 of 255 apart. light: surfaces agree within 5/255; the TEXT ramp is 20-30 apart dark: text agrees within 7/255; the SURFACE ramp is 17-30 apart (Loki's ground is #010101, the fleet's is #121212) Comparing them exposed a real bug, which this commit fixes. Loki's documented ramp is primary → secondary → tertiary → muted, each quieter than the last. The light block follows it (0.1 → 0.4 → 0.58 → 0.72). The DARK block was written in the order primary/secondary/muted/tertiary with values descending in THAT order — so `--text-muted` sat at 0.65 while `--text-tertiary` sat at 0.59, and text marked muted rendered BRIGHTER than text marked tertiary. The two quietest tiers in the system, inverted, on the theme that is the default. The two values are swapped rather than retuned, so no new colour enters the system and the contrast range is unchanged. The rest is a gate, not a migration. Some of the divergence is deliberate: Loki is an operator console that sits beside a terminal, its near-black ground is a product decision, its borders are translucent overlays rather than opaque greys, and its typeface is Geist where the fleet's is Inter + Instrument Serif. Adopting the package wholesale would restyle every surface and every glyph of a running product in one unreviewable step. So scripts/test/token-drift.ts requires every difference to be DECLARED. A divergence listed in DIVERGENCES is a decision somebody signed; one that is not listed fails the build. Tokens that currently agree are pinned, so agreement cannot quietly lapse. It also asserts the text ramp descends in both themes, and complains if a token listed as divergent has since converged — which is how the list shrinks, one reviewable token at a time. It is picked up automatically by scripts/test-unit.ts (which globs scripts/test/*.ts), so it runs in `verify` and in CI without further wiring. Verified to bite: re-introducing the ramp inversion and silently retuning a pinned token each exit 1. Docs corrected to match the shell as it now is: CLAUDE.md claimed ThemeToggle ships in 8 places and described a "Today/Control/Projects + Loki + More" mobile nav; responsive-design.md described sidebar sections "Work / Private / Site" with account actions in two different footers. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159PhgGrn6ccwfwVTJoTuYx * refactor(shell): stop two navigation surfaces answering a question already answered Loki ran six navigation surfaces at once — sidebar, top bar, the Profile/Chat/Control/Terminal strip, the mobile bottom bar, the Menu sheet and the command palette. On a phone at /control, four were on screen together and three were answering "where am I?". Two of them now stand down where they add nothing. FleetSurfaceGuide renders only with an active project. Its whole claim is that the four tabs are views of ONE project and that moving between them preserves it — but `fleetSurfaceHref(surface, null)` falls back to /projects, /loki, /control and /terminal, which are four sidebar entries. So with no project it was rendering the sidebar a second time, above every Control, Terminal and Projects page, preserving nothing. A navigation surface that carries no information the others lack is not a shortcut; it is a fifth nav system charging rent. AppTopBar drops its mobile page label on pages the bottom bar already names. Below md the bar shows Today / Loki / Control as labelled, highlighted tabs, so on those three the top bar's title was the third simultaneous answer after the bottom tab and the page's own heading. It still speaks on all 15 other destinations, where the bottom bar can only show "Menu" and genuinely cannot say. scripts/test/nav-surfaces.ts pins both, and pins them against the config rather than against a screenshot: it derives the projectless hrefs from fleetSurfaceHref and asserts each is a real sidebar destination (the premise the first fix rests on), checks every tab carries the project when there is one, and checks the label suppression uses the same isCurrentPath the bottom bar does — otherwise it would silently never fire. It also holds the Menu sheet to having no account footer, now that AccountMenu owns those actions. Verified to bite: reverting the strip gate fails the suite. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159PhgGrn6ccwfwVTJoTuYx * fix(ci): pre-push ran the wrong suite for scripts/test/ The hook classifies changed paths into three arms and runs the gates each one can break. `scripts/test/` was in the `_ops` arm, and that was backwards in both directions at once: • test:ops runs `scripts/hetzner/test-*.sh` and nothing else — verified: all 18 scripts it invokes are under scripts/hetzner/. No file under scripts/test/ can affect its result, so editing a unit test ran eighteen Hetzner shell suites for nothing. • scripts/test/ holds the 218 .ts files that ARE the unit suite (scripts/test-unit.ts globs the directory). The unit suite runs in the `_app` arm, which scripts/test/ did not trigger. So a broken unit test added under scripts/test/ passed pre-push: the hook never ran the suite that file is a member of. Now: `scripts/test/*.ts` → `_app` (tsc, lint, design, desktop, test:unit, test:home). `scripts/test/*gate.sh` → `_register`, the arm that actually runs the deploy-ref / not-behind / client-ledger / deploy-ready gates; they had no arm that ran them before either. `_ops` keeps hetzner and site-template. scripts/test/pre-push-routing.ts pins it by deriving both sides rather than restating them: it parses the hook's own `touches '<regex>' && _arm=1` lines, reads the scripts test:ops actually invokes out of package.json, and asserts each path reaches the arm that covers it. The failure mode this guards is invisible — a gate running the wrong suite still prints a wall of green. Disclosure, because it matters for how this commit is read: this also unblocks pushing this branch. test:ops fails 4 of 92 checks in a container running as root (the .env-repair cases assert file ownership against a systemd unit's User=), and that is not caused by this branch — confirmed by running it on a clean worktree of origin/main, where it fails identically, 88 passed / 4 failed. The routing above is a defect on its own merits and the fix is the same one either way; the side effect is stated rather than left to be noticed. Those 4 ops failures remain, unaddressed by this branch, on main. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159PhgGrn6ccwfwVTJoTuYx * chore(design): ratchet the dead ui-* rules in globals.css check-loki-classes.mjs holds `ui-loki-*` to zero in both directions — a class used but undefined, and a class defined but unused. The other ~1,000 `ui-*` rules had never been checked at all, and 35 of them are referenced by nothing. That matters more here than in most codebases. This repo's Layer 3 contract is that every recurring visual pattern gets a named class, so the class IS the decision. Someone looking for "how do we draw a metric card" finds .ui-control-metric-card, -value, -label and .ui-control-metrics-grid sitting in globals.css and reasonably concludes that is the house style. Nothing has used them in months. Dead CSS in a system built on that premise does not read as dead; it reads as load-bearing, and the next person builds to match it. It is a ratchet, not a hard zero, for the reason the dead-exports ratchet already is one: 35 rules is real work to remove safely, and a check that fails on day one is a check that gets switched off on day two. The number may not rise, and each deletion lowers it for good — the script fails in BOTH directions, so cleaning up without lowering the baseline is also an error and the gained ground cannot be given back. Dynamic class names are honoured: `ui-dot-${kind}` appears in source as the literal `ui-dot-`, so a token ending in a hyphen marks every matching rule used. Without that the check reports ~77 false orphans, which is how a lint earns being ignored. Eight such prefixes are in play. Also deletes .ui-mobile-nav-sheet-footer, which the previous commit orphaned when the Menu sheet's account footer moved into AccountMenu. Verified in both directions: adding an unreferenced rule fails with "rose to 36", and deleting a genuinely dead one fails with "fell to 34 — lower the baseline". The first attempt at that second test was itself wrong and is worth recording: deleting `.ui-btn-pill {` changed nothing, because the class is also targeted by a compound selector 2,500 lines further down. The checker was right and the test was wrong — which is exactly the sort of thing a rule counted by hand gets wrong. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159PhgGrn6ccwfwVTJoTuYx --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
f1d35e5d93 | feat(fleet): expose canonical public development profiles (#737) | ||
|
|
f7c4e35fdc |
feat(builder): a project can pin its work to the hosted runner — no Claude credential needed (#718)
builder_pref gains a third value, 'hosted'. A project pinned to it never touches a runner PTY: the dispatch goes straight to the hosted runner (Hermes in its own clone on the box, on the providers the box already holds keys for — Copilot, Gemini, Groq), and the hosted runner closes the tracked run with the pull request as evidence, so the outcome reaches the thread that asked, like any other run. Why now: the box's Claude Code credential died silently and every self-dispatch hung, while Hermes on the same box answered fine. The unattended path should not depend on a person's Claude subscription at all. - statuses.ts: HOSTED_BUILDER_PREF / BUILDER_PREFS (channels stay what they were — nothing claims 'hosted' from a queue); API enum widened. - inject-core: hosted branch before the channel pin; run id travels in the hosted_dispatch payload. - hosted-runner: closeHostedRun() through updateOrchestrationRun (outcome turn, ledger, escalation bookkeeping all fire); delivered stamp at claim. - Control → project profile → Runs on: third choice with its explanation. - docs/development/cloud-local-workflows.md: the tier in the SSOT table. Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
95c40a9cd8 |
refactor: rename the product from FleetCrown to Loki (#695)
The product, its assistant, the repo, the host and every unit on the box now share one name. 638 files, ~3,000 mentions: UI copy, config, env keys (FLEETCROWN_* -> LOKI_*), systemd units (fleetcrown-* -> loki-*), docs, articles, the deploy workflow other repos reuse, and nine file names. - Three article slugs carried the old name and had been shared; permanent redirects keep those links alive (next.config.ts). - test-no-retired-name.sh now also forbids the old product name across the whole repo, so the rename cannot creep back through templates and examples. - ASSISTANT_STACK collapses the product and the assistant into one entry, because they are now the same name. Infra was cut over ahead of this merge: /opt/loki, loki-* units, the `loki` database and role, loki.orangecat.ch (old host 308s to it; /api, /widget, /embed keep proxying), GitHub repos bitbaum/loki and bitbaum/loki-releases. The Resend sending domain stays fleetcrown.orangecat.ch until the new domain is verified in DNS. Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
6e6ca0bc7a |
docs(cloud-primary): nothing left that describes the old substrate — docs, marketing, comments, focus_tab (#631)
* docs(cloud-primary): nothing left that describes the old substrate — docs, marketing, comments, focus_tab The cloud-primary series (#615 routing, #618 OrangeCat auto-kickoff, #624 Fleet Runner 0.8.19, #630 web PTY-only) changed what the product IS. This sweep makes every surface that describes it say so, so neither an agent reading the repo nor a person reading the site is told about zellij tabs, presence-based routing, a cold-start restore, or a handoff that "starts nothing". Inventory-driven (≈105 doc lines, ≈30 user-facing strings, ≈22 code comments, 2 repo-level items), not a grep-and-replace: User-facing - /download prerequisites: the "Zellij — bundled" card is gone; copy says each agent runs in a terminal Fleet Runner owns. - Quickstart, license page, executor copy (cloud is the default; "This computer" is a per-project choice under Runs on), marketing pillars, whitepaper (owned-PTY design, "where a project runs is a decision, not a guess", ZSH typing-guard section deleted), Control terminal panel strings (components renamed LiveTerminalPanel / LiveTerminalRows), peek drawer copy, GitHub release notes for 0.8.19, repo description + topics. Agent-facing - README, CLAUDE.md, AGENTS-adjacent SSOTs: cloud-local-workflows.md now states the stored routing rule; priority plan closes B6; multitenancy plan routes by builder_pref; HANDOFF.md staleness table + terminals section; the 2026-09-10 cold-start handoff gets a dated "superseded" section; the two shipped proposals (fleet-runner-pty-ownership, desktop-app) carry a status banner; home/README describes the eight modules that exist; desktop/README describes 0.8.19; roadmap seed marks the migration done; box-runner unit and log drop FLEETCROWN_RUNNER_PTY; 22 code comments. Code (one coherent retirement) - focus_tab is removed from the pending-command contract, the desktop validator and poller, enqueueTabCommand's type, the validator test and the failure classifier (START_SESSION | RETRY). The runner had rejected it since 0.8.19; now it cannot be enqueued at all. Verified: tsc, eslint, 148/148 unit files, 130/130 home self-tests, check:desktop (typecheck + build). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WSNERoZZqW2TgqbAGHSQZf * chore(desktop): 0.8.20 — the focus_tab retirement touches desktop/, so it ships as a release The release-drift gate is right: a desktop change without a bump goes red on main once the next tag is minted. 0.8.19's changelog date is corrected to the release's real publishedAt. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WSNERoZZqW2TgqbAGHSQZf --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
a1aed85daa |
fix(cold-start): a brief becomes a repo and a live site through the normal path (#569)
* fix(cold-start): the starter ships a lockfile, so its first Deploy can install selfhost-deploy.yml refuses to install without a lockfile and installs with --frozen-lockfile; the Next starter declared pnpm and shipped no lock, so every fresh site failed before building. The lock is resolved once by scripts/templates/refresh-starter-lock.ts into a generated asset and seeded with the starter (one Git tree call, no pnpm on the app box). scripts/test/starter-lock.ts fails on drift, missing standalone output, a missing packageManager, or starter docs that point at npm. Seeding failures are recoverable: provision on a linked but bare repo re-seeds it instead of refusing with 409. The starter embeds the project-scoped feedback widget from its first commit. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w * fix(cold-start): liveUrl means a Deploy on the current commit and a public 200 Registration persisted liveUrl because register-site.sh exited 0 with --no-deploy. Now: strict setup, then a workflow dispatch; GET reports pending/failed/live and the UI polls it. describeSiteDeployment (pure, tested) treats a queued run or a just-sent dispatch as starting, closing the race where the first poll after dispatch read as "no deployment exists". A status the client cannot read is shown as a failure, not swallowed. The deploy workflow resolves a freshly registered slug from the box register and proves the checkout belongs to the caller; deploy.sh builds with the same package manager that installed; register-site.sh runs release siblings, locks the register, fails without a deploy secret, and seeds a runtime env. check:deploy-ready no longer reads a box-registered checkout as laptop drift. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w * fix(feedback): Implement addresses the project id, never a same-named tab Feedback and kickoff dispatch resolve user_projects by stable entity id; a renamed project or a same-named sibling can no longer redirect a run, and the hosted fallback is off for actions tied to a tracked run. Batch Implement only advances when a run was accepted. Fix prompts require the normal ship path and live evidence; Resolve stays with the operator. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w * docs: FleetCrown builds independently; tab names are transport, not identity Product copy and agent docs describe FleetCrown as an independent product with optional OrangeCat linking that is not publication consent. Control drops the Focus terminal chip (Open terminal stays). Adds the cold-start handoff. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0118cLNxoB3dt2w74vU1PH6w --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
03141d39c1 |
fix(cold-start): close GPT audit gaps for kickoff, feedback, OC, docs (#550)
Stop kickoff after a failed repo step; keep the operator's exact brief; mark feedback Queued only with a real run id; link Check live to the reported page; never backfill OC wall history from before publish consent; document eligible-only cloud builder and the new-site vs provision starter split. Co-authored-by: Cato <catomean@users.noreply.github.com> |
||
|
|
a48e7c52dd |
docs(billing): the docs still described a rail that was deleted yesterday (#514)
#508 removed the Stripe rail. Four living docs kept describing it, and one of them is named in CLAUDE.md as an SSOT — so the wrong answer was the documented answer. - `development/cloud-local-workflows.md` listed `Stripe billing | STRIPE_*` in the env-gated feature table. Replaced with the rail that exists: `ORANGECAT_PAY_URL_{PERSONAL,PRO,TEAM}`, names checked against lib/oc-pay.ts. - `sustainability-gates.md` Gate 3 argued from a `quantity: 1` hardcode in `src/app/api/stripe/checkout/route.ts`. The gate did not go stale, it HARDENED: that route is gone and the BTC rail is a static per-plan URL with no quantity concept, so there is no seat number left in the purchase path to correct. Per-seat Team is now a build, not a config change. - `oc-rail-monetization-scope.md` claimed the Stripe webhook "already calls" updateUserBilling and that /pricing has an isStripeReady() seam to reuse. The write survives (via /api/orangecat/entitlement, plus scripts/grant-plan.ts); the seam does not — the BTC CTA is the default case now, not one to add. - `development/user-flow-audit.md` asserted `/api/stripe/portal` returns 503. It returns 404. CH01-CH04 and the CH04 runbook tested four deleted endpoints; retired with a pointer to what replaced them. `scripts/grant-plan.ts` said it performs "the SAME write the Stripe webhook does" — updated to name the entitlement route instead. Two findings that were not about Stripe: `docs/self-improvement-plan.md` enumerated three `insertPromptHistory` call sites. There are four — `api/control/tab-inject` was missing — and all three line numbers had drifted (270→397, 452→514, 80→138). Following that list would have shipped the runId linking with one dispatch path still unlinked. Line numbers dropped in favour of "grep the symbol"; same for `src/auth.ts:234` in the OC scope doc, which now points at line 268's unrelated code. `src/config/demo.ts` still denied `/api/checkout` under its "money" heading long after #508 deleted that route — a deny rule for a route on no disk, which made the billing section of the sandbox policy look staffed. demo-sandbox.ts already had the reverse check for DEMO_SAFE_FAMILIES ("a family listed as safe that no longer exists is dead reassurance"); the denied lists had no equivalent, which is why that entry survived. Added the mirror check — it caught `/api/checkout` on its first run — and mutation-proved it with a fake prefix. 262 assertions. Also measured and did NOT gate: doc path references (314) and `pnpm run` commands (77) both came back clean once false positives were removed, and the dominant pattern is prose naming a file precisely to record its REMOVAL, which grep cannot tell from rot. A gate there would fire on the correct docs and stay silent on the wrong ones. CLAUDE.md's own four flagged paths were all correct, and all 22 routes in its Views table exist. verify green (13 steps, exit 0). Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P Co-authored-by: Claude Opus 5 <noreply@anthropic.com> |
||
|
|
6b653c36d6 |
docs: sync docs with actual stack (#487)
The repo moved to pnpm 11.25.0 (packageManager, pnpm-lock.yaml, CI and deploy all pnpm) but 17 docs still taught npm commands. Sync every current-instruction command to pnpm (`npm run` → `pnpm run`, `npm install` → `pnpm install`, `npx tsx` → `pnpm exec tsx`, and `db:apply-box -- <file>` loses the `--` separator under pnpm). Deliberately kept: npm inside desktop/ (own package-lock.json, installed via `npm ci` in desktop-release.yml and check-desktop.sh — excluded from the pnpm workspace); `npm i -g openclaw` (box-global install); dated historical audit/log entries that record runs made under npm. Also in docs/infrastructure/self-host-cd.md: the pipeline diagram said `npm ci` where selfhost-deploy.yml detects npm/pnpm per lockfile, and the `node-version` fallback is 24 (doc said default 20); documented the `package-manager` override input. Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
1647fe7987 |
fix(sweep): a test that rotted behind a wrong excuse, and a box spec off by 2x (#480)
Three follow-ups from sweeping the earlier findings. Two of the four I had
carried forward did NOT survive checking and are dropped: /api/control/dispatch
is a real route, so the docs referencing it are correct; and
scripts/test/push-notifications.ts exists. Verifying first is why this commit
is smaller than the list that prompted it.
1. THE TEST NOBODY RAN, FOR A REASON THAT WAS NEVER TRUE
scripts/test/push-notifications.ts read scripts/agent-hook-bridge.sh, which was
deleted on 2026-06-11 in
|
||
|
|
736fc7865b |
Rebuild the phone experience, and make the numbers on it mean something (#393)
* feat(public): rebuild the marketing site for the phone it is read on The public surface was designed at desktop width and shipped to phones unchanged. On a 390px screen the header alone was 220px — a quarter of the viewport — with "PERSONAL SYSTEMS" wrapped onto two lines and the primary CTA clipped off the right edge on every page. Everything below it inherited desktop floors: a 52px headline min that broke "Run your fleet. From anywhere." into three lines with a wrecked rag, 20px body copy six lines deep, 200px card floors, and 96px section padding that read as the page having ended. Header. Sticky at every width, 56px on a phone: compact brand lockup, one always-visible CTA that cannot wrap, one menu button. Theme cycle and Sign in move into the drawer — four controls do not fit a 390px row, and the CTA was the one that lost. The drawer is now a real sheet: conversion actions first, 56px rows with descriptions, appearance in the footer. It is mounted by PublicHeaderActions rather than PublicSurface, because the shell is pulled into client bundles by AuthShell and cannot call auth(). Type and rhythm. Display sizes are viewport-relative with phone-sized floors and unchanged desktop ceilings. New ui-public-section / -section-gap / -container* primitives replace ad-hoc py-24 + max-w-* px-6 across every page. The homepage is 4,564px instead of 5,466; releases 10,338 instead of 12,255. Content. "Download runner" is a dead end on a phone — Fleet Runner is a .deb / .dmg / .exe. The hero offers the tour instead below sm, and /download leads with a handoff panel (open the web app, copy the install link) with the desktop flow one deliberate tap away. That detection also fixes a real bug: an Android UA contains "linux" and an iPhone UA contains "Mac", so phones were being offered an 80 MB Debian package or an Apple Silicon disk image. Fixed along the way, all confirmed in a headless browser at 320 and 390: - The footer used text-white/* after the surface became theme-aware — every heading and the copyright line were invisible on the Light theme. - Bare GitHub URLs on the legal pages overflowed a 320px viewport, and .ui-public-surface clips, so the tail was gone rather than scrollable. - Auth inputs were 14px, which makes Safari zoom the page on focus. - Standalone links ignored the pointer:coarse floor: min-height does nothing to an inline box, so "Forgot password?" measured 16px tall. - The hero fleet console truncated every project to "Life OS + AI agent …". Zero horizontal overflow and zero sub-44px standalone targets across 22 public routes at both widths; prose links stay inline per WCAG 2.5.5. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbuhKUVJRFzLufKyPLjHKN * fix(app): make the accent tokens visible, and the shell usable on a phone Two findings from driving the authenticated app through a real headless browser at 320 and 390 CSS px. **`text-accent` was invisible in both themes.** `--accent` / `--accent-foreground` are shadcn's accent SURFACE pair: `--accent` is a background tone, oklch(0.14) in dark and oklch(0.96) in light — one step from the page background either way. Thirty-one call sites used it as ink. Measured contrast: 1.0 in dark, 1.03 in light. What that hid was not decoration but the first screen a new user sees — the Control onboarding CTAs "No install needed →", "Download for your OS →", "Start →" and "Import →" were painted the same colour as their own cards. `border-accent` failed identically as a card hover highlight (four places), and `bg-accent` as the selected-repo checkbox fill, so a ticked box looked unticked. Now `text-accent-text` / `border-accent-primary` / `bg-accent-warm + text-on-accent`, measured back at 9.3:1 in dark and 20.6:1 in light. `check:design` gains an eighth check so the bare token cannot return, and docs/branding-design.md names the trap: a token that reads like a colour may be half of a surface pair — check its lightness against what it will sit on. **Shell fixes at phone width:** - The email-verification banner packed a sentence, two buttons and a dismiss into one 358px row, so the message truncated to "Verify your email for …" — losing the word ("optional") that decides whether to care. Message and actions now stack below `sm`. It renders on every authenticated route. - Settings gave the username field a 26-character host prefix, leaving ~120px for the part being edited and overflowing its own border. The phone gets `/u/` alone, and the input is 16px so Safari stops zooming on focus. - A bech32 wallet address on /money has no break opportunity and ran off a 320px viewport. - `ui-link-muted` is inline-flex, so the pointer:coarse floor can reach it — min-height does nothing to an inline box, which is why card-header actions like "View details →" measured 16px tall. Verified across 17 authenticated routes at 320 and 390: no horizontal overflow, and every remaining sub-44px target is a link inside a sentence, exempt under WCAG 2.5.5. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbuhKUVJRFzLufKyPLjHKN * fix(shell): flow-page headers, 16px inputs, and phone-only palette chrome Third pass over the phone experience, from the same headless-browser sweep. **Flow pages said everything twice and put the exit in the wrong place.** /control/new-from-scratch rendered an h1 "Start a new project", then a stranded "← Back to Control" row, then a card whose h2 read "Start a new project" and repeated the same intro paragraph — three headings deep before the first field, on the viewport with the least room for any of them. PageLayout gains a `back` slot that renders above the title, where a back affordance is looked for; the three Control flow pages use it and the duplicated heading is gone. **Inputs under 16px make Safari zoom the page.** Every field a phone user types into is now `text-base sm:text-sm`: the app's shared `ui-input` and `ui-input-compact` (search boxes, every inline edit), the command palette input (which autofocuses the moment the panel opens, so the zoom was unavoidable), the terminal's phone composer — the one field an operator sends agent input through, where the zoom pushed the terminal out from under the key deck — and the settings username field. Desktop density is unchanged from `sm` up. **Smaller things:** the command palette's keyboard-hint footer ("↑ ↓ navigate, ⏎ open, ⌘K toggle") is `hidden md:flex` — three shortcuts nobody can press, costing a line of the list the panel exists to show; and the reset-password "Request a new one" link is a real 44px target rather than a 16px inline one. Re-measured after the change: 22 public routes and 17 authenticated routes at 320 and 390 CSS px, no horizontal overflow anywhere, and every remaining sub-44px target is a link inside a sentence. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbuhKUVJRFzLufKyPLjHKN * polish(public): lead the phone with the entry point it can actually take Two last passes over the marketing surface at phone width. "Run locally" is the first of the three GET STARTED cards, which is right on a desktop — the visitor is plausibly sitting at the machine that would run the agents. On a phone it is the one entry point they cannot take, so the list opened on a dead end. It is `order-last` below `md` and the hosted control plane leads there; the grid restores config order at `md`. The footer's link columns paired an 8px gap with the 44px rows the pointer:coarse floor gives every link, so each column read as a list with holes punched in it. The gap is desktop-only now, and the links use `ui-public-link-standalone` so the floor actually reaches them — as an `inline` box, `ui-public-link` was ignoring the min-height it was granted. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbuhKUVJRFzLufKyPLjHKN * fix(brand): drop the public wordmark below 360px instead of overlapping it At 320 CSS px — the narrowest width this app claims to support — the header's "FleetCrown" wordmark, the "Get started" pill and the menu button do not fit on one row, and the pill was drawn over the word rather than pushing it aside (the CTA is shrink-0, the wordmark had nothing telling it to yield). Below 360px the wordmark is hidden and the spiral carries the brand alone; it also truncates now, so no future label can overlap its neighbour. Measured across 320 / 360 / 375 / 390 / 414 / 430: a 65px header at every width, no overlap and no overflow. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbuhKUVJRFzLufKyPLjHKN * fix(people): show people on the people page /people is a contact list on which you could not see a contact. Measured at 390 x 844 with five people in the book, the first person card started 980px down — 1.16 screens — and everything above it was chrome: 164px search / sort / Add, three stacked full-width rows 482px PeopleBookPanel: a four-product glossary, three import recipes, three action buttons 96px health filter chips, wrapped onto two rows The book panel is the bulk of it, and it rendered unconditionally — a user with three hundred contacts scrolled past "FleetCrown is the book. Loki talks to it. OpenClaw is the WhatsApp/Telegram workspace… Hermes is a task CLI" on every single visit. Two of its three import recipes are desktop export flows (contacts.google.com → Export → Google CSV; File → Export vCard) that a phone cannot perform, presented as instructions the reader is apparently failing to follow. It is now a collapsed disclosure below the list, expanded by default only when the book is empty — the one moment when filling it IS the page rather than setup you already did. On a phone it also says which of the recipes need a computer. The control row is one row instead of three (Sort keeps its label from sm up and drops to its icon below it), and the health chips are a single scrolling row like every other filter row in the app. First contact: 980px → 308px. Four people now fit on the first screen. Also on /prompts, found by measuring every control label in the app for a wrapped line: "New prompt" was the only genuinely wrapped button in the product. Its header was `flex items-center justify-between` with no gap and a shrinkable button, so on a 358px row the label broke across two lines inside a 92px pill pressed against the sentence beside it — the same defect as the public header CTA. Now gap-3, shrink-0 and whitespace-nowrap. And UserPromptsSection.tsx carried a literal NUL byte, used as a separator in a dedup key. It made the file read as binary to grep, diff and editors — including to ripgrep, which is what check:design runs on, so the file was silently excluded from the gate. Writing it as a unicode escape instead (byte-identical at runtime) immediately surfaced a real hover:border-accent violation the gate had never been able to see. Fixed too. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbuhKUVJRFzLufKyPLjHKN * fix(mobile): quickstart's device split, empty stat rows, one tier of project actions The last three findings from the phone sweep. **Quickstart tells you which steps your device can do.** The homepage sends phone visitors here ("See how it works"), and the page opens with "1. Decide: web or desktop?" then spends steps 3–5 on installing a binary, an agent CLI and a project path — terminal work, on a page reached from a phone. The steps are a genuine sequence so the numbering stays; what was missing is that three of them need a computer and four do not. A device map at the top now says so and anchors into each step, and the three desktop steps carry the marker on their own headings. A reader on a phone can now do 1–2 and know exactly what is waiting at their machine. **A row of zeros summarises nothing.** /habits and /goals opened with three stat cards reading 0 / 0 / — above an empty panel that said the same thing again, under a header that already offered "New Habit". Four statements of "you have none", filling the phone fold. The stat row is hidden until there is something to summarise, so the empty state is the single answer. StatRow also left an orphan: three cards in a two-column phone grid put the third half-width beside a gap. `:last-child:nth-child(odd)` spans the odd card out across the row — correct for three (2 + 1-wide) and for four (2 + 2), with no per-page rule. It fixes /money and /memory at the same time. **The project header claimed one visual tier and rendered four.** Its own comment says "everything here is a quiet ghost link", but LiveUrlField drew a bordered secondary button, OrangeCatPublishButton an unlabelled cat icon, and ProjectSharePanel a second bordered button — so on a phone, where the row wraps to two lines, it read as four unrelated controls rather than one set, with the sole bordered button reading as the page's primary action (it is not; that is Kickoff, further down). All five are ghost links with labels now, and the cat glyph has a word next to it. Re-measured: 22 public and 17 authenticated routes at 320 and 390, no horizontal overflow; every remaining sub-44px target is a link inside a sentence. tsc, eslint, check:design (8 checks) and 106 unit tests pass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbuhKUVJRFzLufKyPLjHKN * fix(clarity): give the numbers and the glyphs a noun A score with no unit, a chip with no noun and a control whose only explanation is a hover tooltip all read as magic on a phone, so people learn to ignore them. Six fixes, all in that class. - Health chip: was ten unlabelled ticks and a bare "6/10", explainable only by hovering a `title` that a touch screen never renders. Now reads "Health ●●●●●● 6/10 · 4 to do" and taps open the ten named checks — a bottom sheet below sm, an anchored popover above it. The failing rows carry the action that earns the point, so they are no longer truncated. - "Status" vs "Stage": one field, two words, sitting two chips apart — the editor said "+ status", the health check said "Stage declared". The app already spends "status" on CI, run and agent status. Unified on "Stage"; the bare value chip now carries the noun ("Stage Production"). The attr key is untouched — this is vocabulary, not schema. - Health signals: "No broken" / "No open broken recorded." was built by lowercasing a badge label, producing a sentence with the noun missing. Written per signal now (clearLabel) instead of derived. - Prompt stats: "82% · 12 runs" made the reader guess the numerator. Now "82% success · 12 runs". - Notifications pill: rendered a button that could only fail when the deployment has no VAPID key, and its hover text named the environment variable to a person who cannot set it. Hidden in that state, like an unsupported browser. - Icon-only buttons: the shared delete trigger (nine call sites, one of them "Forget this entity") and the Loki dispatch arrow had `title` as their only accessible name. Both now carry aria-label. Verified: tsc, eslint, design-system (8 checks), and the touch sweep — hover-only meanings 69 → 52, of which 34 are the two conventional top-bar icons repeated once per route. * fix(clarity): stop pages explaining themselves in the schema's words Second pass of the same sweep, on the three pages that read most like internal state printed to a screen. /money - The three summary tiles rendered with zero subscriptions: "— / 0 active subscriptions", "0 / all confirmed", "— / other currencies". A third of a phone screen spent saying "nothing here", above an empty list with no way in. The summary now appears only once there is something to summarise, and the empty list carries a real empty state that says what the page will do for you, plus the Add button. - "Non-CHF /mo" printed the very same USD/EUR/GBP figures the burn tile already joins — the same money twice, under a label that reads like a different number. Replaced with "Next charge", the date and name of the soonest one due, which is the reason to open a money page. - The footnote explaining the row arrow and the unverified chip showed with no rows and no chips on screen. Now conditional, like the header Add button, which was duplicating the empty state's. - The founder-only OrangeCat note named the database table the relation lives in and then printed a bech32 address with no label. /memory - "Entities 11 / Relations 0 / Types 2" was the schema's vocabulary in three full icon-header cards. Now compact tiles that say what they count: things remembered, connections, kinds. - "Fleet knowledge (RAG)" told a user to set EMBEDDINGS_BASE_URL on the server, or to run a script on the box — instructions for whoever deploys this, shown to whoever uses it. Retitled "Context from your other projects" and rewritten to the one fact a user needs: on or off, and what that means for a dispatch. - Entity distribution printed the type badge and the type name next to each other: "person person". - "Forget everything" is irreversible and was a 14px-tall inline link (min-height is inert on an inline box); its confirm named the knowledge graph and the RAG index for one thing the reader knows as what Loki remembers. /system - Gateway and Uptime were two full cards with icon headers carrying one short fact each — two screenfuls before the first reading with any detail. Both answer "how is the host doing", so they are two rows of one card now. Verified: tsc, eslint, design-system (8 checks), and the authenticated 390px sweep — 17 routes, zero horizontal overflow. The four remaining sub-44px targets are inline prose links (WCAG 2.5.5 exempt). * feat(health): make the score a worklist you can drive to 10/10 The last pass made the number explainable. It still was not useful. "Mission stated ✗ — state the mission in Context" leaves you to find the tab, find the field and type; that is most of the work, and a number you cannot move is a number you learn to skip. So the panel performs the write. - Every check now carries the write that earns it (ProjectHealthFix in the SSOT: an attr, the description column, the live_url column, or clearing a signal flag). The panel opens the right field in place and saves through the API that owns it — no navigation, no hunting. - Every check states its exact rule next to it. Including the one rule nobody could guess: definition of done must name something an agent can run and report, so it now prints the keyword list it is tested against. The list is the SSOT and the regex is built from it, so the rule shown and the rule applied cannot drift. - The score moves as you go, optimistically, then reconciles on refresh. A score that only moves after a round trip reads as nothing happening. - Outstanding checks lead; earned ones fold away behind a count. Two bugs this surfaced, both the same shape — `useState(prop)` reads its argument once, on mount, so a value written from anywhere else landed in the database, came back down on router.refresh(), and was ignored: - The stage chip went on offering "+ stage" for a stage already set. - Live URL was worse than cosmetic: the check reads the production_url attr OR the live_url column, so writing the attr earned the point while the page's own field, which reads only the column, still said "Add live URL". The fix now writes the column, and the field re-seeds. A point you can earn while the page disagrees is worse than one you cannot earn. Verified by driving it in a real browser at 390px: a project went 5 → 6 → 7 → 8 → 9 → 10 from the panel alone, one check at a time, and the header followed each write (stage chip reads "Stage development", the quick link flipped from "Add live URL" to "Live"). Panel geometry clean at 390 and 320, fix buttons 310×44. tsc, eslint, design-system (8 checks), and the 17-route authenticated sweep at 390 and 320: zero horizontal overflow. * feat(health): let the model draft the gaps, without overwriting your work The worklist made every point earnable by hand. This adds the fast path I held back last time, once the thing that made it unsafe was fixed. The blocker was applyProjectProfile: it always overwrote. Pointing a "fill the gaps" button at it would have silently replaced a mission and a next step someone had written with the model's version — a worse outcome than leaving the point unearned. - applyProjectProfile takes { onlyMissing }, off by default, so kickoff is unchanged: there the user has just edited the brief and means for the profile to be rewritten from it. With it on, a field that already holds an answer is skipped. - "Already answered" is hasAnswer(), the same predicate computeProjectHealth uses. Any other test and a fill could overwrite a field the score had already counted, or skip one it had not. - POST .../brief accepts onlyMissing and says so when there is nothing left to fill, rather than reporting the generic extraction failure. In the panel, above the manual list: - The button names its work before it runs — "Draft 3 from the brief" — and the note names the three fields and the guarantee. The checks the brief cannot answer (where the code lives, where it is deployed, whether a flagged problem is really fixed) are facts only the person has; AI_FILLABLE_CHECKS lists them rather than inferring, so the button can never quietly do less than it implied. - No brief, or nothing fillable outstanding, and the button is absent — there is nothing to fill from. Verified: the overwrite protection is tested directly against the database — a field holding "MINE — do not touch" survives a fill that targets it, an empty field beside it is written, and a default call still overwrites so kickoff is untouched. In the browser at 390px the button renders "Draft 3 from the brief" at 310x44, the note reads correctly, the definition-of-done rule prints its full keyword list, and with no model key configured the failure surfaces in the panel and re-enables the button instead of hanging. tsc, eslint, design-system (8 checks), 150 home/ tests, and the 17-route sweep: zero horizontal overflow. * chore: commit the AGENTS.md block next dev regenerates Not hand-written: `next dev` appends this marked block on every start (node_modules/next/dist/server/lib/generate-agent-files.js), and next.config does not set `agentRules: false`. Left uncommitted it dirties the tree for every contributor the first time they run the dev server, so it belongs in the repo like any other generated file. Turn it off in next.config if the fleet would rather not carry it. --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
2c8a91aa00 |
control: rank the page instead of adding to it (#372)
* terminal: make the phone terminal something you can work in The report was two problems wearing one complaint. INERT. A soft keyboard has no arrows, no Esc, no Tab and no Ctrl — exactly the keys an agent TUI asks its questions with. You could read "Set up auto mode? [✔] Also scan shell history · ◄ Mixed ► · Continue" on your phone and had no way to answer it. TerminalKeyDeck is that missing half of the keyboard: a joined d-pad, Esc, Enter, and a scrollable lane of Space, Tab, the Ctrl codes, page keys and the digits agent CLIs number their permission choices with. Bytes are SSOT in config/terminal-keys.ts and go straight through transport.sendKey. Arrows and Backspace repeat on hold; Enter and the control codes deliberately do not. Keys fire on pointerdown with preventDefault so a tap never dismisses the keyboard. TOO BIG. Title, subtitle, source strip, tab strip, source select, session select, agent button, mode select, honesty chip, font stepper — 331px of controls above a terminal left with four visible lines. All of it setup, none of it read while an agent works. It is now one header row (session name, live dot, full screen) with everything else one tap behind it in TerminalSessionSheet. The terminal keeps ~496px of an 844px screen. Also: typing goes through a real textarea with autocorrect off instead of the xterm canvas (no focus fights, no "cd ~/sec"), with a visible ⏎ toggle for typing into a TUI's own filter without submitting; useKeyboardInset pads by what visualViewport says the keyboard covers, so the deck sits on the keys rather than behind them; font size and stream state are hoisted out of TerminalView so the sheet and header can drive them. Verified at 320 and 390 CSS px against the real compiled stylesheet: no horizontal overflow, every keycap ≥44px. npm run verify green. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01USTVtDg75MU5BREr1GWXs2 * control: one inbox instead of two strips, and a button size axis Three fixes to the same complaint — that Control reads as "random black buttons badly aligned, the whole page all over the place." ONE INBOX. FleetWidgetCoverageStrip and FleetFeedbackStrip were two unbounded full-width panels stacked mid-page, one of them auto-expanded on mount. On a 390px phone that measured ~1,400px of scroll — eight "Enable & install" buttons and five feedback rows — sitting between the fleet status and the projects the operator came for. They are not two features; they are one queue of small things a human has to say yes to. ControlInbox groups it, counts it, caps it at three rows, and collapses it. Nothing auto-expands, and per-project feedback is fetched only when opened. ALIGNMENT. Every inbox row is [ text ][ fixed action rail ], so the buttons share one right edge down the column. The old rows sized their action group to their content, which is why each of the eight installs found a different edge — and put a 36px filled button in an items-center row beside two 12px underlined links. A SIZE AXIS. The button set had variants but no sizes, so every time something needed to be smaller than ui-btn-primary somebody wrote a new variant that baked a size into a fill: ui-btn-save (accent, rounded, text-xs), ui-btn-submit (accent, rounded-lg, py-3), ui-btn-ready-primary (warm, rounded-lg), ui-btn-lg (accent, rounded-xl). Four filled buttons, three radii, two accent colours, all "primary" somewhere. ui-btn-sm is geometry only, so `ui-btn-primary ui-btn-sm` is a small primary that still looks like one. (ui-btn-xs could not do this: it sets border and muted text and is defined after ui-btn-primary, so composing them yields an outline.) Also: a row action is never a primary. The first build here gave every row a filled primary, which turned eight black slabs into three orange ones and changed nothing. Filled is now reserved for the action that acts on a whole group; rows are outlines. And the hero stops painting the marketing backdrop's 48px data grid (--public-grid-stroke) behind live counters — on the light theme it read as a checkerboard through the text. Build versions ("cloud v0.8.12 · app v0.8.12") move off the phone's first line to sm+ and the tooltip: sync age is status, build numbers are diagnostics. Verified at 320 and 390 CSS px against the compiled stylesheet with a coarse pointer: no horizontal overflow, every target >= 44px, all action rails share one right edge. npm run verify green. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01USTVtDg75MU5BREr1GWXs2 * control: hero answers one question; screenshots become sendable work THE HERO. It carried five things at once — runner line with build versions, refresh and new-project buttons, "Fleet autopilot" with its live pulse, the Pause-fleet control, a four-chip counter row, and a two-sentence paragraph explaining autopilot. All true, and it still failed: a card that answers five questions answers none of them first, and its largest highest-contrast control was Pause fleet, an action a builder takes roughly never. It now answers one question — is anything waiting on me? — in the largest text on the page, names the projects, and offers exactly one button that goes to the first of them. "2 projects need you" used to be a count you then went hunting for; it is now a destination. Everything else is ranked, not deleted: counters and builder state drop to a quiet foot line, autopilot and refresh move into a sheet, and the mode is still legible because the pulse says "Paused" when it is. The layout rules are written for the PHONE and relaxed at sm:, which is the actual repair. Every rule on the old Control started at sm: (640px) — above every phone — so a 390px device never got a designed layout, it got the fallback: flex-col, full width, nothing aligned to anything. SHEETS ARE A PRIMITIVE NOW. The terminal's session sheet and Control's settings sheet are the same idea a day apart — the controls a surface needs but should not wear. ui-term-sheet-* becomes ui-sheet-*, shared. PICTURES. A coding agent in a PTY cannot read pixels, so an attached screenshot is not forwarded — it is DESCRIBED (the vision preflight Loki already had) and the description is folded into the prompt as text. That is what makes this a feature rather than an upload button that silently drops the file. Folding happens server-side in lib/composer-attachments, called from /api/inject, /api/control/tab-inject and /api/orchestration/run, because a client that forgets to enrich sends a prompt referring to a screenshot nobody looked at, and that failure is silent. Both dispatch composers — Control and Terminal — now take images and text files by picker or paste, show real thumbnails (every phone screenshot is called IMG_<timestamp>.jpg, so the name identifies nothing and the picture identifies it instantly), and send with no words at all: a screenshot IS the instruction. Voice was already wired on both; this closes the pair. Staging logic left the Loki composer for useAttachments — object-URL lifetimes, dedupe, limits, paste-to-attach — so the three surfaces cannot drift on what an attachment is. Verified at 320 and 390 CSS px with a coarse pointer: no horizontal overflow, every target >= 44px, hero 225px tall. npm run verify green. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01USTVtDg75MU5BREr1GWXs2 * control: make the card legible without hover, and stop history rows duplicating Two things a phone cannot do that this page assumed it could. HOVER. OutcomeStreak was five bare glyphs — `~ ~ ✗ ~ ~` — whose meaning existed only in a title tooltip, sitting directly beside the project name. On the surface the fleet is most often read from there is no hover, so the first thing a card said about a project was a cipher that could not be asked. The glyphs stay; they are now accompanied by the sentence they encode ("1 of last 5 failed"), so the row is legible on first sight and precise on second. TRUNCATION. "Paste from history" deduped by full prompt text while DISPLAYING 60 characters, so two prompts differing only past character 60 rendered as two pixel-identical rows — a list that looks broken. It now dedupes by what the row will actually say, keeps the busier of a colliding pair, and caps at three: a convenience does not get to be the tallest thing in the card. Also fixes a real bug in useAttachments: addFiles called setNote inside a setAttachments updater — a side effect in a reducer, which React is entitled to run twice. The remaining count comes from a ref instead. Docs: responsive-design.md gains a Control section stating the four rules this page kept breaking (phone rules are the base, not the sm: variant; the hero answers one question; small tasks are one queue not many strips; row actions are never primaries; nothing relies on hover to be legible), plus sections for the shared sheet primitive and the voice/pictures path. npm run verify green. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01USTVtDg75MU5BREr1GWXs2 * control: fix three defects found reviewing my own diff All three are mine, from the two commits before this one. THE HERO COUNTED THINGS IT COULD NOT NAME. The headline used `attentionCount + failedCount` while the names and the button came from attentionProjects alone. A fleet with two failed dispatches and no blocked projects therefore announced "2 projects need you", named none of them, and offered no button — the exact failure this card was rewritten to remove. Failed dispatches now get their own headline and their own destination (scroll to the attention list) instead of being folded into a count of projects they are not. `attentionCount` is dropped: it was attentionProjects.length by another name. QUEUE SILENTLY DROPPED SCREENSHOTS. Send counts attachments, so the Queue button next to it was enabled with one staged — but the prompt queue persists text, so queueing with words dropped the picture, and queueing with only a picture did nothing at all. The queue cannot carry an attachment, so the button now refuses out loud and says why. A 20px TOUCH TARGET WITH A COMMENT CLAIMING OTHERWISE. The attachment remove badge is 20px and its comment asserted the touch floor gave it a real hit area — but the class was never added to the floor's selector list, so the claim was false and the target stayed 20px. Added to the list, which is what makes the comment true. npm run verify green. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01USTVtDg75MU5BREr1GWXs2 * control: three layout defects only real rendering could show Rendered the actual components (mock props, no DB) instead of hand-written harness markup. Three defects the harness could not have caught, all mine. THE MOST URGENT STATE RENDERED QUIETEST. staleClass (opacity-60) was applied to the headline, so an offline builder — which is exactly when the fleet says "Stalled" — drew that word at 60% opacity: the single most alarming state on the card was its faintest text. Dimming is the right way to say "this number may be out of date" about the COUNTERS and the wrong thing to do to the answer. The caveat is now a sentence in warning colour under the headline, and the headline is always full strength. THE STATUS DOT FLOATED BESIDE NOTHING. `items-center` on the headline put the dot at the vertical centre of the whole block, so as soon as the headline wrapped — which at 320px is most of them, "2 projects need you" is two lines there — it sat in the gap between lines. It now rides the first line and stays there however many follow. THE SYNC AGE BECAME A SECOND COLUMN. Folding it into the builder span to save a foot line made it a FLEX ITEM of that span, so at 320px, where "Cloud + this computer online" wraps, the age floated beside the wrapped label as a broken-looking second column. It is prose inside one text node now, and the foot is still two lines rather than three. Also: SlidersHorizontal → Settings2 for the sheet trigger. Sliders read as "filters"; a gear reads as settings, which is what it opens. Verified by rendering all four hero states (needs-you, building, failed dispatches, stalled-and-offline) at 320 and 390 with a coarse pointer: no overflow, every target >= 44px, and the version string confirmed display:none at 390 / block at 700 rather than merely absent from textContent. npm run verify green. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01USTVtDg75MU5BREr1GWXs2 --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
d5d7896638 |
terminal: make the phone terminal something you can work in (#358)
The report was two problems wearing one complaint. INERT. A soft keyboard has no arrows, no Esc, no Tab and no Ctrl — exactly the keys an agent TUI asks its questions with. You could read "Set up auto mode? [✔] Also scan shell history · ◄ Mixed ► · Continue" on your phone and had no way to answer it. TerminalKeyDeck is that missing half of the keyboard: a joined d-pad, Esc, Enter, and a scrollable lane of Space, Tab, the Ctrl codes, page keys and the digits agent CLIs number their permission choices with. Bytes are SSOT in config/terminal-keys.ts and go straight through transport.sendKey. Arrows and Backspace repeat on hold; Enter and the control codes deliberately do not. Keys fire on pointerdown with preventDefault so a tap never dismisses the keyboard. TOO BIG. Title, subtitle, source strip, tab strip, source select, session select, agent button, mode select, honesty chip, font stepper — 331px of controls above a terminal left with four visible lines. All of it setup, none of it read while an agent works. It is now one header row (session name, live dot, full screen) with everything else one tap behind it in TerminalSessionSheet. The terminal keeps ~496px of an 844px screen. Also: typing goes through a real textarea with autocorrect off instead of the xterm canvas (no focus fights, no "cd ~/sec"), with a visible ⏎ toggle for typing into a TUI's own filter without submitting; useKeyboardInset pads by what visualViewport says the keyboard covers, so the deck sits on the keys rather than behind them; font size and stream state are hoisted out of TerminalView so the sheet and header can drive them. Verified at 320 and 390 CSS px against the real compiled stylesheet: no horizontal overflow, every keycap ≥44px. npm run verify green. Claude-Session: https://claude.ai/code/session_01USTVtDg75MU5BREr1GWXs2 Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
e314835acb |
feat(bip): adopt bip-kit, public theme SSOT, BiP docs & essays (#333)
* refactor(thoughts): adopt bip-kit — the essay parser is now the published package The inline block union, frontmatter parser, and parseThoughtBlocks in thoughts-content.ts were the origin of the open-source `bip-kit` package; now that it is on npm, FleetCrown consumes it instead of keeping the fork (~120 lines deleted, FleetCrown becomes the flagship dependent). Adoption also gains the two block types the package grew after extraction: GFM tables and allowlisted YouTube/Vimeo embeds — rendered with a new table case and ThoughtVideoEmbed (allowlist enforced by bip-kit; anything off-list stays a plain link, never an iframe). scripts/test/bip-seam.ts pins the seam: the re-exports delegate for real, and every committed essay parses into renderer-known block types, so a bip-kit upgrade that changed semantics fails in CI, not on the live site. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * feat(bip): public theme SSOT, BiP docs, and essay dogfood on bip-kit Stop forcing .dark on PublicSurface; expose THEME_OPTIONS on marketing nav; theme-aware Mermaid; document the triad and bip-kit funnel; ship seam essays with tables/diagrams plus thoughts route smoke/not-found. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: t <t@t.t> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
16098aeebb |
fix(mobile): a phone that reads the name you typed and the session you asked for (#324)
Reported from a phone: /loki and /terminal were unusable, and the work did not appear to happen. Both halves were real. It did not work. "…what is left to do with Orange Cat…" resolved to no project and came back as a nine-chip picker that did not contain the project just named. Two bugs lined up: project matching was `text.includes(slug)`, so the registered `orangecat` never matched a typed "Orange Cat"; and looksLikeDispatchTask treated any sentence over 16 chars containing " for " as work, so a question was routed to an agent instead of answered. - project-mention.ts is now the one matcher (four call sites each had their own copy). Contiguous token runs, so "Orange Cat"/"orange-cat"/"OrangeCat" all resolve, while "going" still does not match a project named `go`. - Naming a project we do not have says so, in the operator's own words, instead of listing nine others. - The picker gained a filter and "Just answer" — a question that arrived without a project is still a question. It was awful. Loki centred the composer in ~1000px of empty grey, out of thumb reach, and kept its opener chips through the whole conversation. /terminal stacked 331px of desktop chrome above four visible lines of a terminal whose text arrived torn mid-word. - Loki docks the composer to the thumb zone on phones and fills the space above it with the threads you were last in. - /terminal hides the desktop stack below md for one two-row control bar; the link bar collapses to a single line. - xterm auto-fits its font until 80 columns fit (the width agent TUIs draw for) instead of tearing that output into a 44-column grid, with an A−/A+ stepper and a live column readout. TERMINAL_MIN_COLS 40 → 60 so a phone never reshapes a session a laptop is working in. And the dangerous one: /terminal?tab=orangecat found no such session, silently attached to sbb-lost-found, and left the bar below promising "keystrokes go straight to the session". A miss now attaches to nothing until the operator picks. Covered by scripts/test/project-mention.ts and the extended terminal-viewport suite; both run in test:unit. Claude-Session: https://claude.ai/code/session_019imtHmWBrC94hVK1EMTpzi Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
9bd4501ec6 |
fix(desktop-release): Windows now actually publishes on tag + gated code-signing hook (#100)
Two things blocking a real Mac/Windows Fleet Runner build: 1. BUG: the release job matrix runs 'windows-2022' but the publish case matched 'windows-latest' — so on a real fleet-runner-v* tag the Windows branch never matched and Windows was never published. Fixed the case arm. 2. Added a GATED code-signing hook: the build step now passes CSC_LINK / CSC_KEY_PASSWORD (macOS), WIN_CSC_LINK / WIN_CSC_KEY_PASSWORD (Windows), and the APPLE_* notarization vars through from repo secrets. Unset → empty → unsigned build, exactly as today (no break to the ship-now path); set → signed. 3. docs/development/desktop-signing.md — the turnkey runbook: ship unsigned NOW (push a tag → build+publish → mirror → flip comingSoon→ready), or ship signed (add the listed secrets + the mac notarize/entitlements config given inline). Certificates + minting a public release are yours (credentials + distribution decision); everything that doesn't need them is done. Co-authored-by: x <x@x> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> |
||
|
|
6b1225f113 |
docs: record /pricing in changelog, master plan, user-flow audit
Pricing page shipped + verified live at 320/375/1280px, Stripe-dark CTAs correct (all start free, no dead buttons). Master plan Phase 1.2 page-half marked done; remaining is founder connecting Stripe. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
0dd31f19f5 |
chore(devops): gate deploy.yml behind DEPLOY_VIA_CI switch
Make the CI-deploy workflow safe to merge to main while its prerequisites (HETZNER_SSH_KEY secret, local hook disabled) aren't in place yet: the deploy job now also requires repo variable DEPLOY_VIA_CI == 'true'. Unset → dormant, so merging changes nothing until you flip the switch. Apply guide updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
ca2150fc08 |
chore(devops): draft dedicated-fcrunner migration (thorough #1)
The stronger version of the blast-radius fix, beyond the InaccessiblePaths drop-in: run the box-runner as an unprivileged `fcrunner` that owns only its own dir instead of `ubuntu` (which owns every app's files). - scripts/hetzner/migrate-box-runner-to-fcrunner.sh: creates fcrunner, copies the agent runtime (.claude auth + credentials.json, the claude CLI in .local, .npm, .gitconfig, runner token) from /home/ubuntu → /home/fcrunner (NOT .ssh), chowns the runner dir, and installs a systemd drop-in (User=fcrunner + HOME/PATH repointed + InaccessiblePaths hiding ALL of /home/ubuntu and every co-tenant /opt/<app>). --dry-run / --revert. Idempotent. Prints the claude-auth verification + creds-copy fallback. - deploy-hetzner.sh + install-box-runner.sh now honor FLEETCROWN_RUNNER_OWNER (default ubuntu, so no change until you migrate) — otherwise the per-deploy runner chown would silently revert ownership to ubuntu. - Apply guide updated with the migration steps + the coupling reminder. Still NOT applied. bash -n clean; dry-run verified against the box. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
cc4c58fcbf |
chore(devops): prepare blast-radius containment (#1) + CI-gated deploy (#2)
Both prepared, NOT applied. Inert until you act — see docs/development/devops-prep-apply-guide.md. #1 — box-runner blast radius: - scripts/hetzner/harden-box-runner.sh installs a systemd drop-in that makes the co-tenant /opt/<app> dirs, /opt/backups, and /home/ubuntu/.ssh kernel- inaccessible to the runner AND every agent PTY it spawns. Keeps User=ubuntu (the claude CLI lives in /home/ubuntu, so no user migration needed). Safe: the runner only touches its own dir + fresh clones under /home/ubuntu/dev, never a co-tenant /opt (verified in box-workspace.ts). --dry-run / --revert supported. - install-box-runner.sh bakes the same InaccessiblePaths into the unit for fresh installs. #2 — CI-gated deploy: - .github/workflows/deploy.yml runs ONLY after CI succeeds on main, builds (schema-only Postgres service), and ships via deploy-hetzner.sh --no-build so the flock/rollback/verify logic carries over. A red CI → no deploy. Needs a HETZNER_SSH_KEY secret; the local push-deploy hook must be disabled to avoid double deploys (documented). - scripts/setup-branch-protection.sh (opt-in, separate) requires the CI check before merge — rejects direct pushes to main, so only for a PR-based flow. bash -n + deploy.yml structural checks clean; drop-in dry-run verified. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
7656e45247 |
chore(dogfood): auto-load SMOKE_PRIVATE_PIN from .env.local on push
Pre-push prod dogfood and headless dogfood scripts source .env.local so git push runs the full prod suite without exporting the PIN manually. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
53014acaca |
test(dogfood): M04/ST02/CH04 probes and fix settings Account tab
Extend authenticated smoke to 115 probes (billing SSOT, Stripe webhook validation, ME02 chunk count) and UI dogfood for money links + settings Account tab; update user-flow-audit grades. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
5304ebef88 |
feat(api): memory rag-stats probe and Fleet Runner dogfood
Expose GET /api/memory/rag-stats for ME02 smoke, add local-builder open-tabs/peek probes when Fleet Runner is connected, and skip machine dogfood cleanly when only the cloud builder is online. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
7abcb56ad6 |
fix(lint): drop unused APP_URL from agent install route
Extend Loki dogfood to verify the Terminal This computer shell after dispatch, and grade X05 as partial when Fleet Runner is not connected. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
ef7f04bef0 |
test(dogfood): run authenticated smoke in prod push checks
Extend the opt-in pre-push prod dogfood path to include authenticated smoke, verify goal-card dispatch when a builder is online, and document manual runbooks for third-party flows. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
7863ea8d2e |
chore(hooks): optional prod UI dogfood on push when PIN set
Run ui-flow-dogfood on every push with SMOKE_PRIVATE_PIN; run loki dogfood only when the builder is online (or DOFOOD_LOKI_ON_PUSH=1). Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
71ee0263ee |
test(dogfood): UI flows for People, habits, goals, prompts
Add headless Playwright dogfood covering Ask Loki from card, habit heatmap, goal Control prefill, prompt fork, and Run with Loki modal. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
f3a2364b6c |
test(smoke): settings, cron, and agent-token API probes
Extend authenticated smoke to 112 probes covering profile, notifications, fleet lifecycle, beacon, agent tokens, scheduled jobs, and frontier validation without mutating open proposals. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
de1db42ceb |
test(smoke): execution API probes and headless Loki dogfood CI
Add X01–X09 API probes to authenticated smoke (97 total), print-session-token helper, dogfood:loki:ci with JWT mint, and grade execution flows in the audit doc. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
e3a92f8f81 |
test(smoke): add private-zone CRUD probes to authenticated smoke
Round-trip POST/PATCH/DELETE for people, goals, habits, events, subscriptions, and prompts when SMOKE_PRIVATE_PIN is set. Updates user-flow-audit checkboxes (89/89 on prod). Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
f887f220b6 |
feat(qa): flow audit SSOT, honesty labels, and prod smoke harness
Add user-flow-audit checklist, authenticated smoke with PIN unlock, builder presence API, executor honesty chips on Control/Loki/Terminal, setup auto sign-in, workspace gate on hosted, and fleetcrown brand-storage migration. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
033b780326 | feat(control): complete terminal and orchestration trust pass | ||
|
|
a491e9e487 |
feat(loki,control): unified builder UX and move-forward dispatch
Browser-first onboarding and executor-copy SSOT; Loki imperatives and move-forward route to the same builder queue as Control with cloud-first Terminal links; fleet-kick queues when offline; deploy script syncs box-runner. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
480294fa15 |
feat(control,loki): subset loops and screenshot dispatch
Add Build/Pause selected on Control, multi-project command fan-out in Loki, and route scoped screenshots to dispatch with vision preflight instead of chat. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
9f0d170484 |
feat(control): fleet-kick on Start building and fix nudge-idle cron
Start building now batch-dispatches next_best on eligible idle projects (capped at three concurrent) and Loki accepts develop-all phrasing; restore the daily idle nudge for users with autopilot on after the mode collapse. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
5ac16ea023 |
feat(loki): consolidate on /loki as single command surface
Route shell FAB and loki:open to /loki with composer prefill; retire the chat-only modal. Add fleet list/create NL fast paths, project picker chips for ambiguous dispatches, and a db helper to inspect recent conversations. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
507cc661d9 |
refactor(control): Phase 3 prompt vocabulary SSOT
Clarify Saved prompts vs Up next vs Recent dispatches vs Paste from history via config/control-labels.ts; align activity stats and composer hints. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
f62565e9b8 |
feat(control): ship Phase 1 fleet play/pause hero UX
Prominent ui-control-hero autopilot card with Building/Paused status, large Start/Pause CTA, per-project toggles, rail override chips, and refresh sync. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
308f32c833 |
chore(projects): retire swiss-longevity-hub and link Bitbaum runtime
Merge SLH into surf-your-life on prod, drop orphaned box DB, remove SLH from hetzner manifest, and wire Bitbaum user_projects dir for local dispatch. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
4a47546273 |
docs: note reparaturbonus-zh profile backfill complete
All 19 prod projects now have build-contract attrs after enrich run. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
3b94efbb67 |
chore(db): retire stale prod projects and add cleanup tooling
Merge Cockpit and empty dupes into canonical entities, delete infra/stub rows, and ship retire-stale-projects.ts plus merge helpers for future hygiene. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
36d1802469 |
chore(profiles): backfill prod build-contract attrs from local repos
Re-ran enrich-prod-profiles against Hetzner — 16 projects now have architecture/conventions/DoD. Add Groq retry for transient fetch failures. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
ba7ac4b328 |
fix(mobile): full-screen overlays and project drawer tap targets
Hide bottom nav and top bar while drawers/modals are open; improve project profile header layout, tab bar, and card action sizes. Add mobile pages audit script. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
6dd74f2c2b |
feat(terminal,loki): mobile full-screen terminal and develop handoff
Expand/collapse on phones gives xterm usable height; Loki dispatches route "let's develop" through next_best and link to watch the agent. Profile drawer follows action-first hierarchy with filtered activity noise. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
215a4fe3ea |
fix(projects): merge duplicate entities and simplify fleet overview
Resolve case-insensitive duplicate project rows in Postgres, prevent recurrence in entity creation, and redesign the Projects page hierarchy (search-first, compact list, attention cards, activity redaction). Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
32cbb19fd3 |
feat(shell): unify theme control and improve mobile navigation
Replace three theme buttons with one cycle control in the top bar, sidebar, and mobile menu; restructure the mobile Menu sheet to mirror sidebar sections. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
023c513f88 |
fix(ui): make all app surfaces usable and polished on mobile
Mobile chrome tokens and viewport panes replace ad-hoc height math on Loki, Terminal, and workspace routes; modals, drawers, composer, and Control rail stack correctly on narrow screens. Docs and changelog updated. Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|
|
e83d8179aa |
fix(runner): v0.8.5 — reliable live terminal peek on My machine
Root cause of blank /terminal live view: dual runner instances racing (stale Singleton lock cleared while old process lived), peek_start blocking on zellij execSync for non-PTY tabs, and streams stuck on zellij after PTY launch. - peek-streamer: defer zellij first tick so peek_start acks immediately; remove v0.8.4 diagnostics - poller: stopPeek before startPeek so PTY streams upgrade when agent launches - index: terminate stale runner PIDs on lock acquire; process.exit(0) on lock failure - zellij: execSync timeouts on focus/dump-screen (prevents poller hang) - docs: /terminal My machine workflow and version requirements Co-authored-by: Cursor <cursoragent@cursor.com> |