Commit Graph
75 Commits
Author SHA1 Message Date
CatoandClaude Fable 5.1 9c84c929e4 feat(engines): your own key builds when you say so; welcome builds, then the plan's, then your own; capacity you can read (#1347)
* feat(settings): your own key builds, when you say so — a key marked for building reaches your private builder

Track 1, PR 6 of docs/architecture/private-builders.md.

- user_model_keys.for_building (migration 0123), off by default; one
  switch per key in Settings → AI, offered only on keys that can drive an
  agent CLI (config/build-engines.ts: Anthropic → ANTHROPIC_API_KEY for
  Claude Code, OpenAI → Codex, xAI → Grok, Google → Gemini CLI) and only
  to an account with a builder on the cloud.
- scripts/write-tenant-engines.ts (root on the box, from the reconcile
  timer) opens the marked keys with the app's sealing secret and writes
  them to /etc/loki/runners/<short>.env; a unit whose file changed is
  drain-restarted, so the key reaches its next agent without ending a
  session mid-task. No route ever returns an opened key.
- Records: changelog {#your-engine}; roadmap milestones ticked.

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

* fix(settings): the building switch sits in one row with its sentence

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

* feat(engines): welcome builds, then the plan's, then your own — and capacity you can read

Track 2 (2.1, 2.2, 2.5) and Track 4.1 of docs/master-plan-2026-10.md.

- users.build_engine (migration 0124): "own" by default — the person's
  sign-in or a key marked for building, never counted — or "loki": Loki's
  key within WELCOME_BUILDS (3, config/welcome-changes.ts) and the plan's
  PLAN_LIMITS.buildsMonthly (10 / 40 / 100). Every run records which
  engine paid for it (payload.engine); welcome and plan builds are counted
  from that marker. A dispatch past the last build is refused with the way
  forward (code engine-exhausted), and the kickoff screen shows it with
  one tap to Settings. Loki's welcome spending stops for everyone at
  WELCOME_MONTHLY_CAP_CHF (20), at CHF_PER_USD, a hand-set rate.
- The box writes Loki's key (LOKI_BUILD_ENGINE_ANTHROPIC_KEY from the
  app's env) into a tenant's unit only while they chose Loki's engine and
  have builds left; otherwise their own marked keys.
- Settings → AI: "Your engine for building", one Segmented choice with the
  numbers; /api/settings/build-engine. The kickoff's no-builder copy says
  the operator switches a private builder on per account.
- System → Capacity: how long work waited for a builder in the last day
  per channel (median, worst), this month's builds, tokens and cost per
  account, and welcome spend against its cap.
- /pricing and the whitepaper (0.3.3) state the builds a month on Loki's
  engine and the rule. Records: changelog {#welcome-changes}
  {#capacity-card}; roadmap milestones ticked.

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

* style(engines): format resolve.ts the way prettier wants it

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-20 12:55:35 +02:00
CatoandClaude 39474428d7 docs: clear docs-truth drift and retired names (#1322)
- Fix stale paths/links in docs (model-vendors billingUrl, agent adapter
  placeholder, bridge host setup, entitlements not yet created, tokens module).
- hetzner-migration: current hosts (evig, aoz) and a pointer to
  scripts/hetzner/apps.conf as the live app list.
- Archive two point-in-time records (fleet-runner-pty-ownership,
  terminal-parity) into docs/archive with a README; fix inbound refs.
- Thoughts essays: repo aoz-housing is now aoz-begleitung.


Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:05:48 +02:00
CatoandClaude 51d4f0253f feat(thoughts,loki): Loki reads the page — the essay, Share on OrangeCat, and a chat that knows its model (#1125)
- content/thoughts/loki-reads-the-page.md: why a ruler could not see
  what a visitor sees, what the read does (purpose, hierarchy, content,
  fit, function; at most three findings or nothing; once per visit), what
  it costs, and what it still cannot see. Two deep sections, one table,
  one top-down diagram.
- ShareBar leads with OrangeCat: one tap opens OrangeCat's composer
  prefilled (/share?url&title) on the reader's own account. An essay
  about the platform could be shared to X and LinkedIn and not to it.
- The chat's system prompt says what Loki is running on (the operator's
  own key and label, the pinned model, or the shared chain) so "which
  model are you" is one sentence from the prompt — not a 25-second tool
  round ending in "check Settings" (owner, 2026-10-10, on a phone).
  runLokiTurn's system assembly moves to composeSystem to stay under the
  function-length limit.
- CHANGELOG: the read, the model line, Share on OrangeCat.


Claude-Session: https://claude.ai/code/session_011L2dmcydDLYAiNQwK4XcF4

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-10 01:32:11 -07:00
CatoandClaude Fable 5.1 c40abffc50 feat(voice): make no-screen mode pleasant to leave on — studio voice, music bed, earcons, talk-over (#1113)
A voice is a serial channel at ~150 words a minute, and an AI voice that
talks too much is the fastest way to make someone take the headphones out.
This round is the art and science of that channel:

- Studio voice. /api/voice/speak reads short pieces through Groq's Orpheus
  endpoint (lib/voice/tts.ts); lib/voice/speaker.ts cuts a briefing at
  sentence ends (speak-chunks, ≤200 chars), fetches one piece ahead of the
  one playing, decodes into the soundscape, and hands the rest to the
  phone's own voice on any failure (then stops asking for two minutes).
  Six voices + "phone" in config/no-screen.ts.
- Music the phone composes (hooks/use-soundscape.ts, numbers in
  lib/voice/soundscape.ts): six chords in D on detuned sine+triangle pairs
  through a drifting low-pass and a feedback delay, nothing above F#4, level
  0.09 at rest and 0.025 under the voice. No file, no licence, no stream.
- Earcons: rising for finished, falling for failed, a knock for something
  that needs you, a blip when a take is sent, low falling/rising for the
  line dropping and returning. Each under 0.6 s; a test pins that.
- One output: the whole graph leaves through one MediaStream that the
  media-session <audio> plays, so lock-screen controls and screen-off
  playback follow the platform's rules for a track; direct output is the
  fallback (and the public demo's mode). Never both.
- Talk-over: while Loki speaks the analyser keeps running; a burst above
  2.5× the room's bar for 350 ms cancels the voice and hands over the mic.
- Fewer, better sentences (lib/voice/announce.ts, pure, tested):
  coalesced by kind, urgency first, two or three phrasings rotated by a
  counter, "details" on request, and an "only what needs me" mode that
  holds finished runs for one sentence every five minutes. A dropped line
  is said once, and once when it is back.
- Settings on the start screen, kept per device (voice, music, talk-over,
  mode).
- /no-screen: a "Hear twenty seconds of it" demo on the visitor's own phone
  and a section on why it is pleasant.
- Essays, anyone first: a ```deep fence renders as a closed <details>
  (components/thoughts/DeepBlock.tsx); the fleet-in-your-ear essay is
  rewritten that way, style guide updated. ROADMAP + CHANGELOG.


Claude-Session: https://claude.ai/code/session_01YKx4TPejLvFR9Uj4xrTf6Y

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 05:30:30 -07:00
CatoandClaude Fable 5.1 d5c6153b5c feat(voice): no-screen mode — run the fleet by ear (#1109)
One tap at /voice opens the microphone and reads the briefing; from
then on the loop is listen → transcribe → act → speak → listen, with
the phone in a pocket. Twelve spoken commands (status, what's
waiting, approve/reject by number, tell <project> to …, what failed,
pause/resume, say that again, quiet, help, end) go through the seams
the screen already uses — decideAction, injectPrompt, fleet-pause,
askLoki — so the page and the headphones cannot disagree. Between
turns the phone polls /api/voice/snapshot every 20 s and announces
the diff: a run finished or failed, a new approval, the builder
offline or back, a project starting work. Bounded to five per poll.

- config/no-screen.ts: the vocabulary SSOT, read by the parser, the
  spoken help and the public page; the test feeds every example
  phrase through the parser.
- lib/voice/commands.ts: an explicit grammar (pure, 35 checks). A bare
  "yes" is not an approval, a bare "stop" is "be quiet", a sentence
  naming no project is a question.
- lib/voice/briefing.ts: the fleet as sentences, and the snapshot
  diff (pure, 12 checks). lib/voice/fleet-snapshot.ts reads the same
  tables as Control; approvals ride only with the private zone open.
- hooks/use-voice-conversation.ts: say() for unasked lines (now while
  listening, queued while busy, held for one listen after an
  interruption) and idle: "listen" so silence re-arms instead of
  pausing. The Loki page's Talk button is unchanged.
- hooks/use-media-session.ts: a generated silent loop holds the media
  session so the headphone button is the orb tap; next = briefing.
- lib/fleet-pause.ts: resumeFleetProjects, the mirror of pause.
- /no-screen public page (nav, matcher, audit lists, copy-truth), the
  sidebar entry under Command, the demo-sandbox classification.
- content/thoughts/the-fleet-in-your-ear.md with a committed SVG, a
  sequence diagram and the seam table; ROADMAP + CHANGELOG entries.

Not yet verified on a locked iPhone in a pocket; the page, the essay
and the roadmap say so.


Claude-Session: https://claude.ai/code/session_01YKx4TPejLvFR9Uj4xrTf6Y

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 04:26:26 -07:00
CatoandClaude Opus 5.5 9552dea27a refactor(download, whitepaper): the button first; the short version first (#1013)
* refactor(download): the download comes first, under a real h1; the comparison folds below; readable body text

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* refactor(whitepaper): the short version first, a reading time, and diagrams that fit a phone

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 09:34:06 -07:00
CatoandClaude Opus 5.5 f81e33c89a fix(public-copy): pricing, docs, download, whitepaper, README, support and essays say what Loki does today (#997)
- /pricing + plans.ts: no "local-first", no "your own box", no cross-model
  verification; agents = Claude, Codex, Cursor, Antigravity, Grok; free while
  prices are not announced; Pro "Recommended" badge removed.
- /docs/quickstart: OrangeCat-first sign-up, step numbers read from the step
  table, new "Start from an idea" flow (describe -> interview -> Make it happen
  -> repo in the bitbaum org -> <name>.orangecat.ch for supported starters).
- /docs/feedback-widget: current labels (Widget setup, Implement, Synthesize),
  owner notes start a build (40/day per project) while visitor text waits,
  data-fc-avoid / data-fc-place, Chat mode, Watch the fix, /my-feedback, no
  daily digest. Docs index links point at the right pages.
- /download: agent list without OpenClaw, Intel Mac stated.
- Whitepaper: autopilot (not the removed Groq router), cloud builder only for
  eligible accounts, project-keyed handoffs, runner-owned lifecycle, tiers that
  match plans.ts, self-hosting possible but undocumented.
- README: beta, sign-in providers, deploy workflow, Quality Bar list fixed.
- /support: Cato card (pointed at OrangeCat's home page) removed; three parts.
- /setup redirects to /sign-in once any account exists.
- Essays describing the May-Aug architecture carry supersededBy and render a
  dated notice pointing at /whitepaper.

Tests: plans-copy-truth, setup-redirects-when-done, thought-superseded.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 02:33:09 -07:00
CatoandClaude Opus 5 c32ceb1342 fix(public): the pages still sold the product Loki stopped being (#821)
Four things the public surface said that the codebase no longer does.

THE IDENTITY, RETIRED YESTERDAY AND STILL ON SALE

  /philosophy: "Loki is infrastructure for builders running many agents at
  once across multiple projects — not a friendly chat assistant."

  That is the framing #801 removed on 2026-09-20. Its own gate records why:
  the narrow label "named Loki's deepest capability and not the product —
  Today, People, Crew, Money, Goals and Habits ship here too", and under it
  those surfaces read as scope creep, twice prompting "move the life-ops half
  to the Cat". There is nowhere to move it to.

  That rename pinned "the three places it actually lives" — the fleet map, the
  agent's role sentence, the two assistant prompts. All three are things a
  MACHINE reads. The page a stranger reads was not among them, and the public
  copy mentions Crew, Money, Habits and commitments exactly zero times. The
  correction reached the agents and not the humans, which is the wrong way
  round. execution-plane.ts now covers the public copy too.

A CAPABILITY THAT DOES NOT EXIST

  /philosophy: "Open and local models compete equally for your attention and
  your work." The chat chain is freeChain("LOKI") — Groq, OpenRouter, Gemini,
  all hosted — and every agent adapter is a hosted-model CLI. There is no
  Ollama, llama.cpp or LM Studio path anywhere in src. The open-WEIGHT half is
  real (llama, qwen and gpt-oss drive the loop today), so the claim keeps the
  half it earns and states the other as the direction it is.

A WHITEPAPER THAT DISAGREED WITH plans.ts

  v0.3, published 2026-08-12, never recomputed:

    "Pro — for power builders running 10+ active projects"
       PLAN_LIMITS.projects.pro is Infinity; /pricing says "Unlimited".
    "Team — for small groups (up to 10 people)"
       no seat limit exists anywhere in the codebase.

  A reader comparing the two pages got different answers about the same tier,
  and an unenforced limit is a promise to somebody. It also said Loki "is
  offered" as four subscription levels while three of them have no price and
  cannot be bought — it now says which one is purchasable today.

  whitepaper-matches-plans.ts pins the checkable half against PLAN_LIMITS: a
  finite ceiling must be quoted exactly, an unlimited tier must not quote a
  number at all, and no tier may claim a seat limit. Prose about who a tier is
  FOR stays prose.

A LINK THAT ASKED FOR THE WRONG THING

  The footer's "Support Loki", under a heading already reading SUPPORT, asks a
  reader to fund the project. It opens the help desk, whose own H1 is "Get
  help" — so it misled in both directions. It is "Get help" now.

CHECKED AND LEFT ALONE: the ecosystem references. Loki's public copy names
Solon once ("Solon — Governance") and OrangeCat as "Economy"; both match the
PILLARS roles, both sites answer 200, and their own titles are "Solon —
Bitcoin-Native Governance" and "OrangeCat — Your AI economic agent". Nothing
overclaims Solon's maturity.

Mutation: restoring the retired framing fails execution-plane.ts; restoring
either the "10+" ceiling or the seat limit fails whitepaper-matches-plans.ts.
Both ratchets strip comments first, or the note recording what was retired
would fail on itself.

verify: format:check, tsc, lint (0 errors, 2 pre-existing warnings),
check:design (11), check:desktop, test:home 130/130. test:unit 228/230 —
activity-time-zone-stable and telegram-allowlist need a live local server and
fail identically on pristine origin/main.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 04:06:18 -07:00
CatoandClaude Opus 5 a02d31d996 Every public claim matches the code, and two gates can now fail (#802)
* fix(truth): every public claim now matches what the code and the licence say

The /license page forbade what LICENSE grants. #791 relicensed the repo to MIT
and fixed LICENSE, the README and the Terms — but missed the page, which still
said "source-available", listed hosting and repackaging under "you may not",
and promised a replacement licence that had already shipped. On a public repo,
that revoked rights we had granted.

Same shape, five more places:

- Three live /thoughts pages and four front-matters carried "Mao Nakamoto",
  the retired identity, into the rendered byline and the OG social card.
- legal/ named that identity as operator, data controller and IP assignor, and
  assigned the work to bitbaum AG / orangecat GmbH / loki GmbH — none of which
  were ever incorporated. Rewritten as a record of authorship and the MIT
  grant, which is what is actually true.
- The desktop About dialog and the installer copyright metadata shipped
  "© 2026 Mao Nakamoto" in every build. No audit pass had looked there.
- /pricing and the feedback-widget docs said the report loop "closes itself"
  months after close-loop.ts deliberately removed auto-resolve for being
  untrue; resolve is an operator act and has zero call sites.
- /roadmap claimed signed installers under "Shipping now"; no signing secret
  exists and /download says the opposite two pages away.
- /releases claimed "every shipped version" while missing nine, and listed a
  0.8.25 that was never tagged — its "Binaries →" link 404'd. Removed per the
  file's own rule: one entry per tag pushed to loki-releases.
- desktop/README pointed all five install commands at bitbaum/loki, which
  404s; releases publish to loki-releases. Version pin replaced with a glob so
  it cannot rot again.
- DEFAULT_USER_NAME greeted nameless OAuth users as "Mao".

And the two that lied to agents rather than users: CLAUDE.md claimed pre-push
runs the full verify bundle so "green locally means green in CI", and
AGENTS.md claimed pre-commit runs tsc. The hook's own header documents why it
stopped doing both — a docs-only push runs nothing. An agent trusting either
line would skip the verification it needed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(gates): close the two gaps that let deleted things keep passing

Two gates could not fail, and one migration ledger had silently drifted.

MIGRATION JOURNAL — 13 files missing, next db:generate breaks the deploy.
drizzle/ held 78 .sql files; meta/_journal.json had 65 entries. Production
was fine and always had been: apply-schema.sh globs the directory and keeps
its own _deploy_schema_history, so it never reads the journal. But
drizzle-kit does, and its newest snapshot was 0072 — so the next generate
would re-emit 0073-0077, including CREATE TABLE "calendar_busy" with no
IF NOT EXISTS. apply-schema.sh rewrites ADD COLUMN only, and the batch is one
transaction, so the deploy would abort on a change unrelated to it.

Reconciled to 78 via bootstrap-migration-ledger.ts --write-journal, and added
scripts/test/migration-journal-coverage.ts so it cannot drift again: files vs
journal in both directions, plus idx contiguity. Proven by mutation — drop one
entry and it exits 1; restore it and it exits 0.

SMOKE — every authenticated probe passed whether or not the route existed.
The auth middleware answers 401 before routing, and check_route accepted 401
for everything in AUTH_API_ROUTES. Measured: /api/definitely-not-a-real-route
returns 401 exactly like /api/orgs. So the list proved nothing, and
/api/checkout/personal sat in it for 15 days after the Stripe rail was
removed. A 401 now only passes if a route file actually resolves on disk
(dynamic and catch-all segments included); the dead entry is gone, and all
remaining probes resolve.

Also: bumping desktop/package.json to 0.8.29, because the retired-identity fix
in the previous commit touched desktop/src/main/index.ts and desktop-release-
drift.ts correctly refused to let a shipped file change without a release to
carry it. That gate was right and is the model for the two above.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-20 08:40:34 -07:00
CatoandClaude Fable 5.1 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>
2026-09-13 16:13:10 -07:00
CatoandClaude Fable 5.1 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>
2026-09-11 02:41:20 -07:00
4b974062a6 thoughts: Thirteen Days of the Wrong Grey (#498)
A design system with nine CI-enforced CSS invariants documents a tenth rule —
keep lib/config/theme.ts in sync with globals.css — and enforces it with a
comment. Git shows it already broke: --muted was darkened for WCAG AA on
2026-04-15 and COLOR_MUTED caught up on 2026-04-28, so the OG image, PWA
manifest and email templates shipped the contrast-failing grey for 13 days —
precisely the three surfaces that file exists for.

The piece then walks the same duplication chosen deliberately (build-time
surfaces cannot read a database, so clinic identity must exist as a literal
too), the seed-vs-constant guard written for it, and the two ways that guard
nearly lied: a first mutation that produced "no tests" instead of a named
failure because the parser was keyed to the clause it tested, and a postcode
'8008' silently coerced to an integer.

Sourced from vitareba PR #89 and its git history; every figure verified
against the repo rather than recalled.


Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-05 13:44:32 +00:00
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
46cf02285c docs(thoughts,changelog): why an unnamed tab is a mission-level bug (#272)
FleetCrown's mission puts the bottleneck on human direction rather than raw
capability. That makes a terminal tab strip showing five identical "Tab #N"
labels a mission-level defect: the agents one operator can command are bounded
by the agents they can distinguish, so an unnamed tab sends them back to the
physical terminal the command center exists to replace.

- New essay: the three failed passes at the process→tab join (legacy dotfile,
  then live processes matched by name, then the inherited ZELLIJ_PANE_ID),
  why name-matching cannot work for a default-named tab, why dump-layout is a
  dead end, and why the resolver falls silent rather than guess — a badge is a
  target you type into, so a wrong one aims a prompt at the wrong agent.
- CHANGELOG: the 2026-08-14 entry for the #252 set.
- Release timeline: add 0.8.12, and backfill 0.8.11 — it shipped 2026-08-04 and
  was never recorded, which is why /releases and the footer pill claimed 0.8.9
  while operators were running 0.8.11.

tsc 0 · eslint 0 errors · test:unit 75/75

Refs #252

Co-authored-by: t <t@t.t>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 11:25:16 +00:00
d22bc9503e feat: thoughts distribution — RSS, share, newsletter capture, bridge essay, GTM plan (#240)
* feat(thoughts): RSS feed, share buttons, newsletter capture

- /rss.xml route handler (RSS 2.0, all essays, absolute URLs, cache
  headers); /thoughts/rss.xml redirects to it; rel=alternate metadata
  and a visible RSS chip on the Thoughts index
- proxy.ts matcher: rss.xml + api/newsletter added to the public
  allowlist (previously fell through to sign-in)
- ShareBar on essay pages: X intent + LinkedIn share + copy link,
  existing ui-* classes only
- Newsletter capture: newsletter_subscribers table (migration 0053,
  unique normalized email + source + created_at), idempotent insert,
  zod-validated + rate-limited public POST /api/newsletter, signup
  component on the index and essay footers. Capture only, no sending.

(pre-commit hook hung cold in fresh worktree; tsc+eslint+design+unit+home+desktop run manually, all green)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* feat(content): publish the promised bridge essay — The Two Halves, Joined

Closes master-plan item 4.1. Narrates the verified FC-OrangeCat
integration loop (identity, work, witness), honest about what has not
crossed yet (money, external operators). Updates the forward reference
in the-two-halves-of-the-individual-singularity to resolve to it
(and fixes the stale fleetcrown.vercel.app domain).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* docs(gtm): distribution execution plan + social post queue

- docs/gtm-distribution-2026-08.md: master-plan Phase 4 as an operating
  plan — weekly cadence, channel order (RSS/SEO, X+LinkedIn strategy
  essays, HN/lobste.rs deep-dives, OrangeCat cross-sell), the outbound
  GTM agent pipeline (FleetCrown runs its own outbound; nothing external
  sends without founder approval), metrics with targets
- content/social/queue.md: paste-ready X + LinkedIn drafts for 5
  strategy essays + the bridge essay; DRAFTS, founder posts/approves

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: test <test@test>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 18:55:51 +02:00
GandClaude Fable 5 8625659012 fix(design): contrast, progressive disclosure, and honest hierarchy across the public site (#208)
* fix(public): raise failing-contrast tokens and remove dead space

The dark --text-muted token (oklch 0.34 on a 0.07 page) and the white/40
changelog/footer utilities rendered real copy at ~2:1 contrast — a
systemic WCAG failure across pricing, docs, changelog, and footer.
Raise them to legible-but-still-muted values and move the doc subtitle
off text-muted entirely (it is the document's one-line pitch, not
metadata).

Also trim two structural dead-space sources found in the same audit:
- surface cards forced min-h 320px around ~120px of content;
- the 84vh hero fold on /mission pushed ~700px of empty black between
  the statement and its body copy — add a compact fold variant and use
  it there.

All changes live in globals.css so check:design stays authoritative.

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

* refactor(public): canonicalize URLs, de-orphan pages, make Support help-first

- /blog and /changelog served byte-identical copies of /thoughts and
  /releases under different names; they now redirect() to the canonical
  URL, and every nav/footer label matches the destination page's own
  title (nav "Blog" -> "Thoughts", footer links point at /releases).
- /philosophy had no inbound link anywhere; add it to Product >
  Understand. Add Investors to the footer Learn group for the same
  reason.
- Trim the OrangeCat/Solon dropdown descriptions to one sentence each —
  the essay citation belongs on a page, not in a hover.
- The nav item says "Support" but the page opened with donations; lead
  with a Get-help section (docs, GitHub issues, email) and move the
  funding content below its own heading.
- Collapse the 14-site fleet grid in the footer into a <details>
  disclosure so the three product pillars stay primary; links stay in
  the DOM for crawlers.

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

* feat(investors): real fleet numbers + investor CTA; fix whitepaper tier count

The investors page closed with the generic "Begin." sign-up CTA — the
wrong ask for this audience; replace it with a direct founder-contact
CTA (deck on request). The Traction section was one prose wall; break
it into scannable bullets and surface the founder's real fleet metrics
via the same getHeroFleetSnapshot source the homepage hero uses (same
never-fabricate fallback: no data renders nothing).

Whitepaper said "three subscription levels" while /pricing sells four
(Free + three paid) — describe all four honestly, and bump the stale
v0.1 / 2026-05-15 badge to v0.2 with today's date since the content
changed.

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

* feat(whitepaper): anchored table of contents + document heading scale

Fifteen H2 sections of continuous prose with no overview and headings
only one step above body size made the whitepaper hard to navigate or
skim. Derive an anchored ToC from the parsed H2 blocks (ids and links
share one slugify, so they cannot drift) and add a ui-public-prose-doc
variant in globals.css that scales H2/H3 up for long documents while
short thought posts keep the tighter scale.

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

* feat(public): collapse thoughts + changelog walls into recent-first archives

The thoughts index rendered 63 full-abstract cards in one unpaginated
wall and the changelog expanded 20+ patch releases end to end — both
buried everything below the fold. Lead each page with what a visitor
actually came for:

- Thoughts: ten most recent essays with 2-line clamped abstracts, the
  rest grouped into per-year <details> sections. Search and tag chips
  keep filtering across the whole set.
- Releases: only the current minor line (v0.8.x) renders expanded;
  older lines collapse into per-minor <details> groups, and a compact
  version index at the top anchors to entries/groups.

Native <details> disclosure on both — no JS required to open, and every
link stays in the DOM for crawlers. New archive/index styles live in
globals.css.

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

* refactor(home): slim the landing — download band + one merged closer

The homepage embedded the entire DesktopDownload module (platform
picker, web-vs-desktop comparison, three setup steps, prerequisites) —
a wholesale duplicate of /download that made the page endless. Replace
it with a short band: what Fleet Runner is, honest platform status
derived from the same config, one link to /download.

It also closed with two back-to-back sections making the same pitch
("Choose your entry point" / "Not another coding agent"), the latter's
three points repeating the EXECUTION/CONTROL and SURFACE sections
above. Merge them into one closer: the differentiating line, then the
three concrete entry paths.

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

* refactor(roadmap): three honest buckets instead of eleven marker phases

Eleven phases with an invented AFTER/THEN/LATER/CONVERGE vocabulary and
5-8 expanded bullets each read as an internal planning doc, not a
public roadmap. Restructure into three buckets a visitor can parse in
one pass — "Shipping now", "Next", "Research" — with each item as a
one-liner and its detail bullets collapsed into <details>.

Status claims stay honest: nothing moved buckets optimistically (the
Next summary keeps the original sequencing; Research explicitly states
nothing there is available), and the two strategy-essay sections
(agent convergence, stakeholder graph) shrink to a short summary plus
a link to the /thoughts essay that carries the full argument.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-12 13:13:54 +00:00
a32f1b1f03 fix(orchestration): ask agents for the evidence they are graded on — Phase 1 measured, plan corrected (#193)
* docs(roadmap): add the learning phase and the self-improvement plan

FleetCrown grades every agent run against a definition of done and then
forgets the verdict. An audit against the 2026 self-improvement literature
found the loop pointed the wrong way: src/lib/frontier/ ingests arXiv,
Lobsters and HN to propose how the product should evolve, while the
prompt-and-outcome record the fleet generates from its own runs is read by
display surfaces only. Every consumer of prompt_history (activity, digests,
today, export, project-merge) renders it; none learn from it.

The corpus is already the right shape — prompt_history.resolvedPrompt, the
graded orchestration_runs.outcome, and dod-gate's one-sentence `gap` critique
are a (prompt -> textual feedback -> outcome) triple. What blocks it is that
prompt_history has no runId, and the prompt is logged BEFORE the run row
exists in a fire-and-forget call, so the two logs can only be matched by
timestamp proximity under concurrency.

Adds:
- docs/self-improvement-plan.md — phased, every phase with an acceptance AND
  a kill criterion, including one that abandons the effort outright if the
  measurement phase shows failures are infrastructure noise rather than
  instruction quality. Sizes Phase 0 honestly as a column plus a write-ordering
  fix across three call sites, not a one-line migration.
- ROADMAP gains a LEARNING phase (public, capability-level).
- Thoughts essay covering the audit, the fast-loop/slow-loop split, and the
  four documented failure modes (verification horizon, misevolution, context
  collapse, extrinsic metacognition).

Nothing in the loop is built yet and the changelog says so. The standing rule
across every phase: no learned change ever applies itself — the judge stays a
different model lineage from the worker, and a human accepts or dismisses.

Verified individually rather than via the pre-commit hook, which exceeds ten
minutes on a cold worktree: tsc --noEmit clean, eslint clean, design-system
gate ok, 55/55 unit test files pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(orchestration): ask agents for the evidence they are graded on

Phase 1 of the self-improvement plan ran read-only against prod. It needed no
runId FK and no schema change — which was the first thing it corrected. What it
found cancelled the expensive half of the plan and exposed a one-line cause for
the fleet's dominant failure.

Measured over 254 runs (51 graded):
- only 57 are evidence-present; a timeout never writes a handoff at all
- DoD met 3, not met 48 (5.9%)
- 64.6% of every rejection was "work not evidenced", not "work is wrong"
- 48 rejections produced 48 DISTINCT gap sentences — zero repetition

The bar was not the problem. 46 of 51 graded runs ran against "`npm run verify`
passes, with its real output in the handoff (lint:/tsc:/tests:)" — precise and
mechanically checkable. The prompts were the problem: `tests:` was filled 97% of
the time while `tsc:` and `lint:` were filled 3 times in total (zero before
August), because `tests:` appeared in an explicit `field: <hint>` list the agent
could copy and the others were named only inside a paragraph. Agents write the
shape they are shown. The work was being done; the fields it had to land in were
never requested.

- HANDOFF_FIELD_BLOCK is now the single canonical handoff shape, used by every
  close path, and includes the evidence fields.
- evidence-precheck.ts turns the dominant rejection into a deterministic check
  that runs BEFORE the model judge. It can only reject, never approve, and
  defers the moment it cannot decide. Replayed over all 51 graded runs it fires
  on 48, defers on 3, and skips 94% of judge calls.
- It emits a stable gapCode, so the whole rejection history collapses from 48
  snowflake sentences to two categories. Countable gaps are the precondition for
  ever learning from this corpus.

Ordering matters and is enforced: the prompt fix ships WITH the check, because
before today those fields were blank on ~94% of runs and enforcing them would
have punished agents for our instruction bug. scripts/test/handoff-fields.ts
pins the two together — a field the gate can reject you for must be a field the
prompts request, asserted as a field LINE not a substring (verified to fail 8/10
on the pre-fix prompts, so it gates the real bug rather than restating it).

Replay honesty: the pre-check disagreed with the model judge once in 51, on a
run the judge passed with lint: and tsc: both blank against a bar naming them.
That is the direction this gate exists to enforce, so it was not softened.

Consequences recorded in docs/self-improvement-plan.md: GEPA prompt optimisation
is PARKED (no repeating signal to learn from) and the runId FK is DEFERRED (its
only consumer is parked). One read-only query replaced a migration, a
dispatch-path refactor, and an optimiser build.

Verified: tsc clean, eslint clean, design gate ok, 57/57 unit test files.
Post-merge step: `npm run generate:agent-prompts` to refresh the local runner's
JSON menu (server-side dispatch already renders from the TS SSOT).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* docs(thoughts): record what the measurement actually overturned

The essay described a plan written before the query ran. The query changed it,
and an essay arguing for measurement that quietly edits away its own surprising
result would be making the opposite point.

Adds a postscript with the two things that were wrong: the measurement did not
need the schema fix it had been sequenced behind, and the failures were not
vague rubrics but a prompt that never asked for the fields it graded (tests:
filled 97%, tsc:/lint: filled 3 times ever). Also records the second-order
result — 48 rejections produced 48 distinct sentences, which is exactly why the
corpus was unlearnable, and why collapsing them into countable categories
matters more than the bug fix.

Summary/excerpt and reading time updated to match.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 19:14:27 +00:00
80d4a0e964 feat(content): feedback widget product surface — changelog, docs, marketing, Thoughts essay (#124)
The feedback widget is a complete product now; give it the product surface:

- /releases (+/changelog): new PLATFORM_CHANGELOG SSOT in config/changelog.ts
  with a dated milestone entry; page retitled to cover platform + runner
- /docs/feedback-widget: full guide (enable, install via agent, remote
  control, report→fix pipeline, security model) + card on /docs
- Landing PRODUCT_SURFACES: Feedback card ('Your visitors file the work')
  plus Terminal card so the 2-col grid stays balanced — both real surfaces
- Thoughts essay 'The Visitor Is Part of the Fleet Now': the shipped loop
  with four real prod screenshots (widget open on the live customer site,
  the inbox holding real AI-reviewer findings, the setup card with
  install/remove/pause controls, the Control fleet strip) and a token-themed
  pipeline SVG; the contrast story it tells is the one that actually ran
- .gitignore: whitelist public/thoughts/*.png (essay screenshot assets)

Co-authored-by: test <test@test>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-29 12:36:50 +02:00
97d5d6250b docs(thoughts): 'A Working Tree Is a Lock' — the concurrent-checkout + CI-deploy decision record (#117)
Full account of why concurrent agent sessions sharing one git checkout collided,
why the same tree must not also be the deploy artifact, the two isolations built
(per-session worktrees via wt + auto-worktree launcher; CI-owned deploy), the three
latent bugs the first real CI deploy exposed, and an honest ledger of the costs.

Co-authored-by: test <test@test>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-28 11:33:10 +02:00
Mao Nakamoto 399cd6c03a docs(thoughts): render Fleet-stack diagram as inline theme-aware SVG
Mermaid fails to load on the prod standalone build (import("mermaid") never
fetches a chunk — every essay's diagram is an empty box), so use the renderer's
inline-SVG path instead: zero client JS, reads design tokens (theme-aware),
accent (#f97316) marks the two durable layers. Immune to the mermaid defect,
which is tracked separately.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 11:43:44 +02:00
Mao NakamotoandClaude Opus 4.8 e9216fd3a2 docs(thoughts): publish "A Fleet Outlives Its Ships" essay
The worker layer is commoditizing onto one substrate; a single worker
can be neither its own verifier nor its own market — which is exactly
what FleetCrown (capability) and OrangeCat (economy) are built on.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 11:31:48 +02:00
Mao NakamotoandClaude Fable 5 0025e9efe5 docs(thoughts): 'The Economy Remembers What You Have, Not What You Need'
The build↔find initiative captured as an essay: markets index supply and let
demand evaporate in a search box — a bias toward those who already have, living
in one hardcoded list. Grounded in the shipped work (indexing wishlists+projects,
two-sided introduction, Loki economy search, the flywheel), honest that the
economy is nascent (infra proven, not yet busy). Three theme-aware token-driven
SVG diagrams: the asymmetry, pull→push, the flywheel. Distinct from the
complement essay — this is the FIND thesis specifically.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 01:31:47 +02:00
Mao NakamotoandClaude Fable 5 74c5df2e60 feat(thoughts): bespoke SVG diagrams for the two-product essay + crisp SVG rendering
Three hand-crafted diagrams for 'Each Built the Other's Missing Half',
matching the design tokens (near-black surface, muted borders, restrained
green/red/amber): the two missing halves with opposing fill-the-gap arrows,
the tag→settlement→grant pattern mirrored both ways, and the mutual-anchor
image (each self-scoring loop grounded by the other's ground-truth fact).

Renderer: image blocks whose src ends in .svg render at natural aspect,
uncropped, and bypass the optimizer (which can't resize SVG) — photos keep
the 16:9 cover crop. Benefits every future essay that wants diagrams.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 21:24:01 +02:00
Mao NakamotoandClaude Fable 5 cdb21d862b docs(thoughts): 'Each Built the Other's Missing Half' — the two-product complement, proven in code
The complement essay grounded in this week's work: FleetCrown has recurring
pricing and no metering, OrangeCat has metering and no recurring product —
each built the exact half the other lacked, and the pass-product pattern
mirrors cleanly both ways. Ties the complement to the loops-need-anchors
idea: settled money is the ground-truth signal a capability layer can't game.
Distinct from the June vision pieces by making the complement provable rather
than argued; honest that zero payments have crossed yet.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 21:06:42 +02:00
Mao NakamotoandClaude Fable 5 cd08eebfd2 fix(audit): scrub identity/secret leaks, adopt URL+design SSOTs, drop dead code
Audit wave 1 of 3 (six-agent sweep findings):
- secrets/identity: private-zone PIN literal out of 3 scripts (rotate the
  PIN separately — it lives in git history), seed email now env-driven,
  GEORGE_USER_ID renamed, real-name comments neutralized, CODEOWNERS off
  the old org, /home/g fallback replaced with os.homedir(), phone + path
  examples anonymized; DEFAULT_USER_EXTERNAL_ID default now 'self' with
  both DBs migrated (UPDATE entities SET external_id='self')
- URL SSOT: every product-code literal of the app domain now flows through
  APP_URL (desktop menus, runner banner curl, templates, UA, doctor,
  orangecat publish origin); new GITHUB_API_BASE shared by 7 files;
  openclaw gateway fallback imports its constant; ORANGECAT_BASE_FALLBACK
  + LOCAL_DEV_URL single-sourced
- design tokens: --scrim/ui-backdrop (4 raw bg-black/NN backdrops),
  --toggle-knob, --surface-terminal (cross-linked with terminal-theme.ts),
  --text-compact, ui-pin-input + PIN_MAX_DIGITS=12 shared client/server
  (fixes the 20-vs-12 maxLength drift), ui-icon-nudge for the 3px cluster
- dead code: HistoryFeed + loki-prompts deleted whole, 13 more dead
  symbols removed; all console.log verified intentional and kept

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 14:32:38 +02:00
Mao NakamotoandClaude Opus 4.8 703a7141f1 content(thoughts): "Shipped Is Not Witnessed" — the bridge essay (Day 5)
Reportage of the FC↔OC bridge closing end-to-end this week (Days 2–4): the
login that failed on an expired state cookie, the 403 that was an RLS/anon-write
bug not a permissions problem, the fire-and-forget promote that dropped and the
cron that healed it, and the cross-model judge catching a Claude handoff that
lacked deploy evidence. Thesis: shipping is a claim, witnessing is the fact.
Every detail verified — no fabricated timelines or metrics.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 18:55:05 +02:00
Mao NakamotoandClaude Opus 4.8 bae3b3aa4f fix(audit): systemic truth + noise fixes across nine surfaces
Executes the fleet-wide audit's fix list (Part IV):

- Failure brake (S1): evaluateDispatchGates + nudge-idle cron now refuse to
  re-fire a project whose last 3 finished runs all hard-failed. The July
  outage burned a week of daily next_best timeouts per project because
  nothing checked the streak. Auto-releases when a run succeeds or the
  failures age past the recency window.
- Recency window (S3): getRecentOutcomes/ByProjectKeys now bound "recent" to
  72h — Control card ✗ streaks and the dispatch reasoner stop treating a
  week-old outage as live state. SSOT: RECENT_OUTCOMES_WINDOW_MS.
- Activity leak (S2): promptDisplayBody/nonEmptyStripped collapse the
  assembled "# FleetCrown operator dispatch" envelope to its intent label —
  the ~2,000-word pipeline preamble no longer renders as a changelog entry.
- Prompts dedupe (S6): UserPromptsSection collapses exact name+body
  duplicates at render (the smoke session's 6 identical forks walled the page).
- Loki history grouping (S6): ConversationList groups same-title+project
  threads into one row with a ×N badge; active thread always stays visible.
- Builder pill honesty (S5): standing presence chip now says "Builder online"
  — "starting shortly" was a lie while running/idle; post-dispatch copy keeps it.
- Fleet Doctor (System): hosted view renders "not applicable here" instead of
  a permanent amber "needs attention" for checks that can't run here.
- Routing label: "Queued for local runner" → names the truth (either builder
  may claim the queued command).
- Agent-facing briefs (S3/RAG): renderProjectDossierForAgent + reindex script
  filter the bulk-import placeholder description via cleanDescription.
- Thoughts (S9): frontmatter parser strips YAML quotes (fixes literal-quoted
  titles/dates), honors legacy `subtitle:` as summary/excerpt (six "stub"
  essays get their one-liners back), adds frontmatter to the slug-only essay;
  tag filter ranks by frequency and shows top 12 + "+N more" expander.
- Loop-ready badge (S8): only exceptions get a chip (Needs path / Loop
  paused) — a badge on 19/19 projects filtered nothing.

DB (box): purged 19 junk prompt rows (13 smoke + 6 duplicate forks → 1 real),
20 smoke prompt_history rows, 9 Loki test threads (+24 messages).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 17:47:57 +02:00
Mao NakamotoandClaude Opus 4.8 9da64febd9 docs(thoughts): Connect the Dots — cross-project synthesis as the goal
New essay reflecting the north star for Loki: a mind that holds the whole
portfolio at once, finds the synergies that live in the space between projects
(invisible to any single-project agent), and can then build the bridges. Honest
about what's shipped — the breadth+depth+retrieval context layer is real, and
asked the synergy question Loki connected FleetCrown+BiasLens+solon and
datacat+ivy-portal+kivvi with citations — and about the model being a swappable,
upgradable component (the model-agnostic thesis, cashed out). Author Loki,
featured; links the-fleet-remembers / harness / model-agnostic / every-ship.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 00:18:48 +02:00
Mao NakamotoandClaude Opus 4.8 2224b73b47 chore(loki): retire the last Ivy remnants (plant emoji + bylines)
- AskLokiButton FAB: ivy leaf 🌿 → MessageSquare icon, matching Loki's nav
  icon so the assistant reads as one consistent identity everywhere.
- 3 essay bylines author: Ivy → Loki (same assistant, renamed — not rewriting
  history). Zero user-facing "Ivy" now remains.
- Confirmed on the box: no real ivy-gateway unit exists (phantom in an earlier
  root-scope query); the single openclaw-gateway is Loki's only brain.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 23:39:28 +02:00
Mao NakamotoandClaude Opus 4.8 80337589c6 feat(public): execution-locus essay + public-truth fixes
Dogfooding the live product surfaced test data on the public landing and a
stale domain in the download page. Fixes + the strategic essay tying it to the
execution-locus thesis (the response to Anthropic shipping Routines / Remote
Control / Claude Code on the web).

- Thoughts: new essay "Every Ship, One Bridge" — where agent work runs (laptop,
  your box, the provider's cloud) is not who commands it; the captain sits over
  every locus. Honest status: FC commands laptop+box today, not provider-cloud.
- Public projection: getPublicProjects now filters smoke/dogfood artifacts
  (isPublicTestArtifact) so a leaked test row can never surface on the landing
  hero or /u profiles again. The stray smoke-<ts>-gh row was purged from prod.
- marketing-content: web-app label now uses APP_DOMAIN SSOT (was fleetcrown.com,
  an unregistered domain; prod is fleetcrown.orangecat.ch).
- levelsio essay: corrected a dead evergreen domain pointer (vercel.app → live).
- CHANGELOG: 2026-07-08 public-truth pass. CLAUDE.md: de-numbered a drifting
  project count.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 22:17:48 +02:00
Mao Nakamoto a391705dd0 docs: CHANGELOG + Thoughts essay 'The Fleet Remembers' (fleet-knowledge RAG) 2026-06-25 17:46:13 +02:00
GandClaude Opus 4.8 509f2a4189 feat(hosted-runner): wire runHermesTask via hosted_dispatch + positioning one-pager + harness essay (#52)
- hosted_dispatch command type + enqueueHostedDispatchCommand (pending-commands.ts):
  write-class tasks, distinct from read-only hosted_analyze and the local-runner path.
- scripts/hosted-runner.ts: the worker now claims BOTH hosted types and routes —
  hosted_analyze → Groq read-only analysis (Phase 0); hosted_dispatch → runHermesTask
  (Phase 1, orchestrate Hermes in its own sandbox). Verified: dispatch routes to
  Hermes and reports a clean needs-install result (no crash) until the CLI is
  provisioned. The whole path is ready the moment a Hermes credential lands.
- docs/positioning.md: the captain's-bridge one-pager — what we are (orchestration
  layer over runtimes), what we're NOT (a runtime), the layer model, the moat
  (cross-model verification + governance + economy), honest status.
- content/thoughts/the-harness-not-the-prompt.md: essay — leverage moved from
  prompt engineering to harness engineering; FleetCrown is a harness at fleet scale;
  maps our shipped pieces (profile-as-context, cross-model DoD gate, the loop) to
  harness primitives, and names memory as the weakest strut.

(Recovers the box too: the prior Hermes-spike deploy failed on a missing `ws`
dep the fleet's Loki-gateway commit added; npm install fixed local node_modules,
so this build is clean.) tsc=0, eslint=0.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 14:04:23 +02:00
GandClaude Opus 4.8 b303245a11 fix(auth): heal username/name drift + stop leaking the operator's real name; docs(thoughts): The Captain Needs a Ship (#48)
Privacy: the public /u/<username> profile + the greeting were showing the
operator's REAL name — "George" (hardcoded in seed.ts) and username "gbutaev"
(suggestUsername auto-derives a handle from the OAuth profile's real name). The
operator runs pseudonymously (Mao Nakamoto) and never typed either. Fixes:
- seed.ts seeds the pseudonym, never a real name (it surfaces on a public URL).
- The owning user's name/username were corrected to the pseudonym in both DBs.
- jwt callback now self-heals not just an orphaned id but a drifted username/name
  too (compares cached token to the DB), so renaming an account propagates to the
  session and the public profile it links to — instead of stranding the operator
  on a now-dead /u/<old-handle>. token.name is refreshed too (fixes the greeting).

Thoughts: "The Captain Needs a Ship" — the agent-tool landscape (Claude Code,
Grok Build, Hermes, Codex, OpenClaw) is converging on a worker substrate (loop,
verifier, skills, memory, HOSTED execution). FleetCrown's bet is the captain
tier, but it borrows the operator's laptop to run the fleet — the keystone gap
behind every "runner offline" wall. The essay ranks the substrate gaps and why
hosted ephemeral execution is the one that unblocks the rest.

tsc=0, eslint=0, test:auth 13/13.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 13:08:21 +02:00
Mao NakamotoandClaude Opus 4.8 03b21b01e6 content(thoughts): rename the agent "Ivy" → "Loki" in published essays
40 occurrences across the thoughts essays (incl. author bylines and the
from-two-ais-to-one / two-products-or-one convergence narrative). FleetCrown's
agent is now "Loki" throughout; OrangeCat's "Cat" is preserved, so the
convergence story reads "Loki + Cat → one agent."

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 12:39:05 +02:00
GandClaude Opus 4.8 98173c4a8c docs(thoughts): "A Valid ID Is a Claim, Not a Fact" — the orphaned-session lesson (#40)
Documents the auth fix from a session ago as a systems essay: a valid-looking
JWT user id is not proof the user exists (tokens outlive rows), so identity must
be resolved against the database and recovered by verified email. The war story
is the 21 invisible projects. Fits the architecture thread in Thoughts; the
Fleet Runner /releases changelog is the wrong surface for a backend fix.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 10:43:15 +02:00
Mao NakamotoandClaude Opus 4.8 594adb440e docs(thoughts): essay — Reducing Cognitive Load, Toward One Command
Captures the Loki / conversational-command-surface vision as a published thought:
Terminal/Control/Loki as three rungs of one ladder, the composer as a new
front-end over the existing dispatch backend, and "ambiguity asks, never guesses."

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 10:42:41 +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 7a80a80557 docs(thoughts): add "Money Is Energy" — reach piece #2 in the series
First drill-down from the flagship: money as stored capacity to make things
happen; conditional vs unconditional flows as different physics; jobs as an
energy-routing hack that breaks under abundance; giving becomes the main
rail. Grounded in OrangeCat's orders/payment_intents vs contributions split.
Cited gift-economy sources (Grokipedia, Wikipedia, Mauss) + Bitcoin
whitepaper for the energy->money link. Links back to the flagship.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 15:03:53 +02:00
Mao NakamotoandClaude Opus 4.8 1a458d87b9 docs(thoughts): polish flagship — diagrams, bitcoin reframe, governance example
Convergent review fixes (two independent reviews): one bold opening line;
loop + conditional/unconditional-flow mermaid diagrams; concrete governance
policy example ($500 / physical-action escalation); verifier-as-moat called
out explicitly in Layer 3; OrangeCat settlement reframed to lead with the
universal property (programmable, permissionless, always-on) before Bitcoin;
trimmed Part 4 pool/robots redundancy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 15:00:11 +02:00
Mao NakamotoandClaude Opus 4.8 859fdd390a docs(thoughts): add "You Tell It What to Do" — the vision essay
Long-form, dual-audience (plain-words / under-the-hood) essay grounding the
FleetCrown + OrangeCat vision in real code: the agentic dispatch loop,
model-agnostic adapters, governance gates, the human-in-the-loop trajectory
(as few humans as possible), the three cost centers (humans paid, robots
booked, AI metered), and the abundance-economy thesis (ending jobs not work;
conditional vs unconditional money flows, grounded in OrangeCat's orders vs
contributions payment patterns). Verified external citations (ReAct,
Reflexion, Self-Consistency, NIP-47, Lightning/BOLT, LNURL, BIP21, ROS,
Grokipedia, Postgres docs).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:13:01 +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 547b16c33a content(thoughts): One Button — play and pause the fleet (vision essay)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 19:44:24 +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 NakamotoandClaude Opus 4.7 04ed3084d9 docs(thoughts): killing the bash daemon — one local executor by deletion
Position essay documenting the planned consolidation of FleetCrown's
dual local executors (legacy bash daemon + Fleet Runner desktop) onto
Fleet Runner as the sole local executor, by deletion rather than
migration.

Why this exists before the cuts: the founder asked for the Elon-mode
recommendation, accepted it, and asked to "ensure it will work" plus
document the why. Writing the plan as an essay first forces the
stress-test on paper — every responsibility the bash daemon claims
gets questioned for whether it was load-bearing at all, before we
decide which pieces Fleet Runner must absorb.

The plan in the essay (three sessions):
  A. Cuts — stop systemd units, remove ~3000 LoC bash, revert today's
     strategist commits (73b8f0a + 680c7ed), strip Groq composition
     from dispatch/route.ts, collapse auto_inject_mode 5 modes → 2.
  B. Absorption — Fleet Runner gets a filesystem watcher on
     ~/.claude/sessions/*.md, a TS prompt-key resolver against
     ~/.config/agent-prompts.json, and an autopilot trigger.
     Estimated ~150 LoC, well under Elon's 10% add-back rule.
  C. Schema-sync deploy gate — orthogonal but same week; prevents the
     silent prod drift that bit us this morning (~/.claude/projects/
     -home-g-dev-fleetcrown/memory/pattern_silent_schema_drift_prod.md).

The acid test the essay names: a customer downloading Fleet Runner
v0.9.0 today never runs the bash daemon. So why is it running on the
founder's machine? The customer's experience IS the production target.

Essay is auto-indexed by src/lib/thoughts-content.ts (reads
content/thoughts/*.md at request time). Verified live at
http://localhost:3000/thoughts/killing-the-bash-daemon (200).

No code change in this commit — pure documentation. Sessions A, B, C
will be separate commits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-10 19:26:41 +02:00
Mao NakamotoandClaude Opus 4.7 5eb04e2fe1 docs(thoughts): essay on the FleetCrown bootstrap loop, idea → first commit
Deep walk-through of how a user takes a fresh idea to a running agent
dispatch today: signs in, lands on /control, uses /control/new-from-
scratch (cloud path) or the Bootstrap modal (Fleet Runner path), gets
a GitHub repo + FleetCrown project + first dispatch.

Uses a concrete example throughout — a tool that writes first-principles
rebuttals to articles with full source and author transparency
(working title: truthseeker). This essay is itself a reference: it
describes the loop the project will close in its own domain (article →
response with sources) by analogy to the one FleetCrown closes for
projects (idea → working code).

Honest about gaps: cloud path doesn't clone for you (the Bootstrap
modal does, locally); no autonomous scheduler firing next_best on
idle projects yet; no voice-as-input. Calls these out explicitly as
the work ahead, with the scheduler flagged as the single biggest
unlock from "tool you initiate" to "system that operates."

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-05 14:19:19 +02:00
Mao NakamotoandClaude Opus 4.7 c14e61a531 docs(thoughts): two essays — the studio stack + who FleetCrown is for
Both synthesize today's strategic conversation about infrastructure
shape, the levelsio pattern, and FleetCrown's customer.

the-studio-stack-one-box-all-your-projects.md (~3000 words):
  - The shape of indie-builder infrastructure: many small products,
    few users each — the opposite of what cloud services price for.
  - Why managed services multiply painfully at portfolio scale.
  - The studio stack: one Hetzner box, one Postgres process, many
    databases, Vercel for frontends, Caddy in front, R2/B2 for media.
  - Concrete pricing math (€7/mo hosts a 15-project portfolio).
  - The Postgres-one-process-many-databases technical model.
  - Levelsio's public reference architecture.
  - The "ten vendors" discipline.
  - When to scale up (in-place rescale, second box, breakout product).
  - Backups + Tailscale + Cloudflare Tunnel as the hardening trio.
  - Closing: infrastructure ROI is attention back to product work.

the-levelsio-pattern-productized-who-fleetcrown-is-for.md (~2700 words):
  - The May 11 tweet that names the customer.
  - What the manual pattern has, what it's missing.
  - The five thoughts every levelsio-pattern operator has had.
  - What FleetCrown adds (dashboard, dispatch from anywhere, structured
    history, autopilot policy, real-time notifications).
  - Anti-positioning: FleetCrown is not Cursor / Copilot / Devin clones.
  - Who actually buys this: solo founders / freelancers running 5+
    projects with AI agents on remote infrastructure, indie tool prices.
  - What this means for the roadmap (multi-machine fleet, anywhere
    dispatch, history, policy, push). What we explicitly DON'T build
    (team seats, RBAC, enterprise compliance, marketplace).
  - Pricing strategy: flat monthly, not per-agent / per-seat.
  - Marketing voice: "missing dashboard for the workflow you already run."
  - Distribution: Twitter, HN, #buildinpublic — not SEO funnels.
  - Default integrations: Tailscale + CF Tunnel ship as recommended.
  - Closing: the customer was already in the wild, posting screenshots
    of their Hetzner dashboards — read what they say as a job
    description for the product you should be building.

Both are first-person essays from Mao, layered for technical and
non-technical readers per the established voice. Cross-reference the
kill-switch and polling-to-listening articles so the four-essay arc
reads as one coherent story:
  1. The Database Kill Switch (May 22) — why we left Neon
  2. From Polling to Listening (June 4) — the v0.6 rebuild
  3. The Studio Stack (June 4) — the infrastructure pattern
  4. The Levelsio Pattern, Productized (June 4) — the customer

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-04 12:47:30 +02:00
Mao NakamotoandClaude Opus 4.7 2b4bd01ef8 docs(thoughts): "From Polling to Listening" — v0.6 architectural rebuild story
Companion to the kill-switch article (which told the story of WHY we are
leaving Neon). This one is the architectural plan for WHAT we are
building in its place, and why moving the host alone solves the wrong
problem.

Structure (11 sections, ~3200 words, ~18 min read):
1. The Wrong Question, and the Right One — the reader who pushed back
   with "should we not fix the architecture first?"
2. What "Chatty" Actually Means — transactional vs continuous-monitoring
   shapes, polling as the easy/wrong default
3. Why Polling Made Sense, and Why It Stops
4. What Push Looks Like, Concretely — SSE vs WebSocket, the pizza
   shop analogy carries through
5. The Event Bus, Explained Without Vocabulary — Slack channels for
   code analogy, why Postgres LISTEN/NOTIFY is plenty at our scale
6. The Bridge Between Bus and Client — the ~300-line Node service
   that fans NOTIFY out to SSE clients, why it can't live on Vercel
7. Local-First, the Deeper Half — desktop reads from local files
   first, cloud is a sync layer, Linear/Cursor/Obsidian as references
8. The Studio Stack, On One Free Server — both products one Postgres,
   Oracle Free as the chosen host with Hetzner as the calm alternative
9. What v0.6 Will Build, in Plain Language — 5 steps with parenthetical
   technical notes for engineers
10. What This Changes, For You and For Me — user-visible end state +
    studio-visible end state + the personal panic-then-wiser moment
11. The Broader Lesson, For Anyone Building — managed services price for
    average shapes; chatty/stateful/background-process products should
    own their infra AND fix their chattiness

Voice/audience per the brief: explicitly written for both Elon Musk
and the average reader. Technical concepts (egress, polling, push,
event bus, LISTEN/NOTIFY, SSE, local-first) are introduced via concrete
analogies first, then named formally. Engineers get the parenthetical
specifics; non-technical readers can skip them without losing the
argument.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-04 10:22:17 +02:00
Georgy ButaevandClaude Opus 4.7 962cc60fbe docs(brand): finish Cockpit → FleetCrown rebrand sweep across docs/thoughts/legal/src
Carried over Grok's in-progress rebrand of user-visible copy: CONTRIBUTING,
SECURITY, all content/thoughts/* essays, whitepaper, IP assignment memo
(also correcting fleetwave GmbH → fleetcrown GmbH per the earlier user
correction), agent-cli-registry-spec, and three src/ comment/identifier
spots (control route, intent panel doc, refresh-event handler name). No
behavior changes — purely copy + comments. Repository directory remains
"cockpit" for git-history continuity per the legal memo's clarification.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-02 17:07:53 +02:00
Georgy Butaev 899b08ec56 feat(integration): FleetWave real customer setup with OrangeCat
- FleetCrown is customer of OrangeCat (stakeholder 'customer' edge, shared wallet).
- Both + FleetWave as projects/profiles on orangecat.ch for Mao Nakamoto.
- Added integration banner in /money page (visible UX for the customer relationship).
- Updated CLAUDE.md, README, legal/IP memo, marketing-content to reflect current names, FleetWave customer, rebrand.
- Legacy 'cockpit' paths kept per branding-design for transition.
- Data updated live in DB (rename, wallets, relations, new FleetWave project).
- Makes the full stack work for real customer FleetWave; scales to others.

Changes in both cockpit and orangecat for good UX and functioning product.
2026-06-02 16:09:46 +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