Commit Graph
50 Commits
Author SHA1 Message Date
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>
2026-08-21 00:56:51 +00:00
GandClaude 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>
2026-08-18 09:14:17 +00:00
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>
2026-07-27 18:57:15 +02:00
Mao NakamotoandClaude Opus 4.8 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>
2026-07-08 23:18:07 +02:00
Mao NakamotoandClaude Opus 4.8 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>
2026-07-07 20:49:36 +02:00
Mao NakamotoandClaude Opus 4.8 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>
2026-07-07 20:49:36 +02:00
Mao NakamotoandClaude Opus 4.8 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>
2026-07-07 20:49:36 +02:00
Mao NakamotoandCursor 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>
2026-07-05 01:57:59 +02:00
Mao NakamotoandCursor 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>
2026-07-05 01:49:15 +02:00
Mao NakamotoandCursor 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>
2026-07-04 22:15:12 +02:00
Mao NakamotoandCursor 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>
2026-07-04 22:00:53 +02:00
Mao NakamotoandCursor 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>
2026-07-04 21:23:38 +02:00
Mao NakamotoandCursor 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>
2026-07-04 21:01:16 +02:00
Mao NakamotoandCursor 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>
2026-07-04 20:56:20 +02:00
Mao NakamotoandCursor 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>
2026-07-04 20:50:51 +02:00
Mao NakamotoandCursor 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>
2026-07-04 20:18:58 +02:00
Mao NakamotoandCursor 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>
2026-07-04 20:01:35 +02:00
Mao NakamotoandCursor 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>
2026-07-04 19:35:25 +02:00
Mao Nakamoto 033b780326 feat(control): complete terminal and orchestration trust pass 2026-06-30 14:53:06 +02:00
Mao NakamotoandCursor 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>
2026-06-29 22:58:32 +02:00
Mao NakamotoandCursor 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>
2026-06-29 19:45:42 +02:00
Mao NakamotoandCursor 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>
2026-06-29 18:58:10 +02:00
Mao NakamotoandCursor 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>
2026-06-29 14:45:06 +02:00
Mao NakamotoandCursor 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>
2026-06-29 08:53:36 +02:00
Mao NakamotoandCursor 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>
2026-06-28 11:09:33 +02:00
Mao NakamotoandCursor 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>
2026-06-28 10:39:39 +02:00
Mao NakamotoandCursor 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>
2026-06-28 10:05:39 +02:00
Mao NakamotoandCursor 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>
2026-06-28 09:59:27 +02:00
Mao NakamotoandCursor 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>
2026-06-27 20:05:23 +02:00
Mao NakamotoandCursor 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>
2026-06-27 17:30:17 +02:00
Mao NakamotoandCursor 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>
2026-06-27 16:22:30 +02:00
Mao NakamotoandCursor 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>
2026-06-27 12:13:43 +02:00
Mao NakamotoandCursor 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>
2026-06-27 09:52:29 +02:00
Mao NakamotoandCursor 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>
2026-06-27 09:23:26 +02:00
Mao NakamotoandCursor 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>
2026-06-18 00:08:34 +02:00
Mao NakamotoandClaude Opus 4.8 4485b5e882 fix(control): kill launch friction, dedupe offline banner, finish daemon retirement
Phase 1 of the reliability/UX cleanup:
- Launch modal: model choice is no longer mandatory. Launch enables as soon as a
  CLI/agent is picked; model field is optional (defaults to the agent's default,
  labeled as such). Choosing the CLI is enough. (control-panel-modals.tsx)
- Offline banner: one source of truth. RunnerStatusBanner owns the full "offline
  — commands queue until it reconnects" alert; ControlFleetStatus is now a
  compact status indicator and project-intent-panel a short inline hint — no more
  triple-rendered banner. (ControlFleetStatus.tsx, project-intent-panel.tsx)
- Daemon retirement finished: purged stale user systemd units
  (fleetcrown-daemon, beacon-window, an obsolete cockpit-* dir) and rewrote
  misleading docs/comments (cloud-local-workflows.md, home/watcher.ts,
  home/emit.ts) that still described the deleted bash daemon as live. Kept the
  intentional 410 route + historical essays.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 23:32:51 +02:00
Mao NakamotoandClaude Opus 4.8 334b1bd404 docs: correct stale infra/brand drift to current reality
Bring docs + config in line with what's actually deployed (self-hosted
Hetzner, Postgres 'fleetcrown', no Vercel/Neon):

- .env.example: 'Production (Vercel)' -> self-hosted Hetzner; drop the
  removed-in-c6bc058 Neon fallback line (NEON_* is no longer read);
  cockpit-app -> fleetcrown-app; cockpit DB -> fleetcrown in example URL
- docker-compose.yml: local-dev Postgres db/user cockpit -> fleetcrown
  (matches the box DB name; was internally inconsistent)
- docs/debt-reduction-roadmap.md + scripts/fleet: dead /home/g/dev/cockpit/
  paths -> /home/g/dev/fleetcrown/ (repo was renamed; links were broken)
- scrub real-name/email leaks from committed content: 'George' -> 'a solo
  founder' in the kill-switch essay; real test email -> generic in the
  one-click dev plan (pseudonym hygiene)

Preserved all legitimate historical mentions (migration docs, thoughts
essays describing the exit from Vercel/Neon).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 20:00:25 +02:00
Mao NakamotoandClaude Opus 4.8 391c592e70 docs(infra): Ivy co-location runbook + migrate-openclaw.sh
Sequenced runbook for moving OpenClaw/Ivy onto the (now CX43, 16GB) box —
co-located, hardened (non-root user, pg_hba deny, loopback gateway), with the
off-box heartbeat that makes co-location safe. migrate-openclaw.sh automates
the mechanical parts (stop→package→transfer→restore→perms) and gates the
credentialed/judgment steps (gateway install, venv rebuild, WhatsApp re-pair).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 18:19:47 +02:00
Mao NakamotoandClaude Opus 4.8 c6bc058cb4 chore: purge Vercel / Neon / managed-Supabase across the codebase
Self-hosted on Hetzner is the only reality now; the leftover references were
stale at best and a security hole at worst. Thorough sweep across code, config,
scripts, docs, and comments (84+ files). Self-hosted supabase.orangecat.ch is
kept; historical migration records stay accurate.

Functional / security fixes:
- cron-auth: prod detection was process.env.VERCEL (unset on the box!), so the
  fail-closed 'CRON_SECRET unset -> 503' gate never fired in production. Now
  keys on NODE_ENV=production. (security)
- auth trustHost: dropped the dead process.env.VERCEL===1 branch.
- AppFooter: read the baked-in build SHA instead of VERCEL_GIT_COMMIT_SHA/ENV.
- project bootstrap: removed 'neon projects create' + the Vercel deploy brief;
  DB option is now self-hosted Postgres, deploy guidance is the self-hosted flow.
- db-url: removed the legacy NEON_DATABASE_URL* fallbacks (+ updated its test).

Infra / removals:
- deleted .github/workflows/vercel-deploy.yml and scripts/db/dump-from-{neon,supabase}.sh.
- stripped NEON_* env fallbacks from db dump/restore/sync scripts.

User-facing:
- desktop offline overlay no longer blames a 'Vercel hiccup'; privacy page +
  PRIVACY_POLICY subprocessors now say Hetzner self-hosted / self-hosted Postgres.

Plus ~50 comment/doc rewrites (Vercel -> the cloud host/the box; Neon -> Postgres).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 10:46:43 +02:00
Mao NakamotoandClaude Fable 5 0a8b7cc795 feat(brief): 429 retry + owner-action next_step prompt; prod profile backfill script
- extractProjectProfile absorbs one Groq 429 with a 20s backoff (free-tier
  bursts shouldn't fail a user-facing fill)
- next_step prompt now demands the owner's next build/business action, not
  reader install instructions (dry-run leaked README quickstarts)
- scripts/enrich-prod-profiles.ts: backfill prod profiles from local repo
  README+CLAUDE.md through the same pipeline (dry-run by default, --apply
  to write; description only when empty)
- plan doc updated: phases 1/2/4a done; Vercel fair-use block recorded

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 13:30:19 +02:00
Mao NakamotoandClaude Fable 5 8db6028f6e feat(control): play/pause autopilot + AI-filled project profiles
One-click development UX:
- AutomationPolicyControl: fleet-wide Build all / Pause all button (was a
  select) — the one primary action on /control, pulsing dot while building
- ProjectAutopilotToggle: per-project Building/Paused play-pause (was a
  dropdown); toggling back to the inherited mode clears the override

No-forms context intake:
- lib/project-brief: Groq extraction of description/mission/vision/customers/
  stack/status/next_step from free-form text, applied to the entities +
  attributes SSOT
- POST /api/projects/[id]/brief: free-form text -> filled profile
- POST /api/projects/[id]/enrich: repo README + CLAUDE.md -> filled profile
  (entities.git_url with attrs.repo fallback, user GitHub token for private)
- ProjectBriefFill on the project overview tab: 'Describe it' textarea +
  'Fill from repo' one-click
- getGithubToken deduped out of three routes into lib/github-token (rule of 3)
- ProjectData gains first-class gitUrl (removes the dataAny escape hatch)

Thoughts: 'The Play Button Is the Product' — the vision piece behind this.
Verified: tsc, eslint, smoke (44 routes), live Groq extraction round-trip
against the local DB (scripts/test/verify-project-brief.ts).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 13:19:57 +02:00
Mao NakamotoandCursor b1c4a3eb74 fix(control): stabilize autopilot injection and fleet observability
Align stop-hook, beacon, and UI dispatch gates so autopilot respects per-project pause, choice wire format, and typing blocks; add control audit trail, Fleet Doctor, and updated cloud-local docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 02:28:06 +02:00
Georgy Butaev e30c842869 feat(desktop) + fix(design,lint): project selection + auto-sync + Sync to Web (ck_* token); canonical injectIntoTab + real appendEvent bridge.dispatch/worker.started in Fleet Runner runtime (replaces fake in-memory); hardened zellij.ts (session resolution + -- write-chars); ui-public-download-* + --public-accent (zero design violations); full cockpit->fleetcrown rebrand in desktop/scripts/docs/thoughts/marketing/home; update desktop README + docs/desktop-app.md with capabilities + gaps (in-memory vs real log)
- desktop build clean, tsc clean, lint 0, home/ 89/89
- advances desktop-2/3: dispatches now produce durable events in ~/.fleetcrown/events.jsonl with proper runId/sentinel so stop-hooks and web control plane treat them as first-class
- still no embedded watcher (idle via co-running home/watcher.ts for now)

Refs: desktop-app.md phases, Cockpit.roadmap T1/T2, prior landing 2d98638
2026-06-02 14:54:51 +02:00
Georgy Butaev b08ac4da14 feat(desktop): project selection + auto-sync on connect + Sync to Web (agent token to /runtime-state); switch to canonical injectIntoTab; ui-public-download-* classes (zero design violations); forward custom prompts as queueHead; clean lint; broad docs/marketing/scripts updates for FleetCrown desktop runtime 2026-06-02 12:17:12 +02:00
g-butandCursor ee5314a5b4 fix(autopilot): keep loop running after agent stop without hooks
Session-handoff watchdog fires when status:ready is fresh; Stop hook runs
autopilot first and queues inject via /api/inject with bearer fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-30 21:01:38 +02:00
g-but 31dd2690ef feat(control): Phase 0 polish - compact Live Zellij + Launch defaults with inline Install buttons, registry-driven models, functional New from picker, better offline language. Plus grok full parity in registry + daemon reflection paths.
This is the UI the user is asking to see live + the reflection fixes for direct terminal use (Cockpit tab showing correct agent).

Part of the approved zellij-control + terminal-reflection plan.
2026-05-26 18:03:41 +02:00
g-but 94d50da677 fix(agent): advertise hosted installer command 2026-05-26 13:26:21 +02:00
g-butandCursor ec6f423b0f feat(infra): Postgres portability, Oracle cutover scripts, and DB kill-switch essay
Vendor-neutral DATABASE_URL helpers, dump/restore/sync tooling, and one-command
Oracle migration after a single console VM step. Publishes the studio-stack
thoughts article and hardens build (dynamic layout, resilient sitemap).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-23 11:24:20 +02:00
g-butandCursor d1db4e292e feat(control): add live Zellij workspace panel with full tab sync
Control buried fleet state behind config metrics and only showed an open-tab count on cloud. Push the full Zellij tab list from the daemon, store it in runtime_snapshots, and lead the page with a workspace table showing agent, state, and current activity per tab.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 19:10:09 +02:00
g-butandCursor 6fb9c199b2 feat: harden cloud onboarding with agent CLI, private zone, and cron DB
Add @cockpit/agent init, server-side PIN enforcement for private APIs,
Postgres-backed cron jobs, daemon auto-continue sync, and cloud/local docs
so SaaS users get a clear path from browser signup to local dispatch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 15:20:03 +02:00