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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
- 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
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>
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.
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>
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>
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>