Commit Graph
6 Commits
Author SHA1 Message Date
CatoandClaude bf1753a485 feat(register): client work stays private until the client agrees (#1171)
Work built for a real person or organisation, paid or not, is theirs before
it is ours to show. It now reaches a public surface only once consent is
recorded on the project, with how it was given.

- user_projects.client_work / portfolio_consent_at / portfolio_consent_note
  (migration 0097)
- src/lib/register/client-work.ts: the one rule. Explicit answer wins, else
  apps.conf (client kind or third-party owner), else ours
- buildFleetRegister defaults to audience "public" (fails closed) and drops
  unconsented client work; operator views pass "operator". The map carries
  client: { consentedAt } so the bitbaum portfolio can show it apart
- /u/<owner>, the /fleet listing and the landing showcase filter through
  withoutPrivateClientWork
- The static footer lists our own products only: it cannot read consent
- Project page: a Client work entry to mark it, record consent with a note,
  or withdraw it (PATCH clientWork / portfolioConsent)
- Prospect previews are created as client work


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-12 09:39:41 -07:00
CatoandCursor e9fbbeb4f4 test: fixture project no longer borrows a retired name (#981)
The "no site yet" sample project was called Townsism; that name is retired.
Same shape, neutral name.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 06:11:29 -07:00
CatoandClaude 33395d2c91 refactor(ecosystem): Loki is the execution layer, not the engineering one (#801)
"Engineering" named Loki's deepest capability, not the product. Today,
People, Crew, Money, Goals and Habits ship here too, and OrangeCat — whose
dashboard is economic entities — has no surface to receive them. Under the
narrow label those two thirds read as scope creep, and the conclusion drawn
from it, twice in one session, was "move the life-ops half to the Cat".
There is nowhere to move it to.

What actually separates the three products is AUDIENCE, not subject matter:
OrangeCat is public by design, Loki private by default, Solon shared with its
members. Work crosses a boundary when it needs to be seen, paid or decided —
which is the seam Crew already implements, keeping an assignment private here
and mirroring it to OrangeCat as a service only once it is paid.

- fleet map: the `capability` layer becomes `execution`, and Loki's role
  sentence names the people, commitments and spending alongside the agents
- both assistant prompts (chat + tool loop) introduce Loki as the operator's
  execution layer rather than a captain over projects alone
- AGENTS.md / CLAUDE.md state the plane, and why the old word was wrong
- new gate scripts/test/execution-plane.ts pins all three, so the rename
  cannot roll back quietly; picked up automatically by test:unit


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-20 08:43:34 -07:00
CatoandClaude Opus 5 baa8e2e6fb chore(aoz): follow bitbaum/aoz-housing -> bitbaum/aoz-begleitung (#732)
The repo was renamed today. It was the last place the product was still called
Housing: the name row in fleet's registers/retired.json retired "AOZ Housing" as
the PRODUCT name on 2026-09-10, but the repo kept it, and the repo is public.

The deploy name `aoz-wohnen` is deliberately NOT renamed with it. It is an
infrastructure identifier — systemd unit, /opt path, database — nothing on the
box keys on the repo name, and moving it would touch a live site for no visible
gain. apps.conf's comment block already said as much and still does.

The load-bearing change is apps.conf's fourth field. repo-metadata-audit.mjs
keys the register on that path's BASENAME, so while it read /home/g/dev/
aoz-housing the join against GitHub missed and every metadata check for this
repo was silently skipped — the audit went green by not looking at it. The local
checkout was moved to match and its three worktrees repaired (`git worktree
repair`), not pruned: they hold branches.

Two test failures worth keeping, because both were the rename telling the truth:

  - project-mention asserted that "the AOZ housing rebuild" resolves to the
    project. With the slug renamed it does not, and should not. The case exists
    to prove "a slug with a hyphen, typed with a space" matches, so the INPUT
    moved to the current name rather than the expectation being loosened.
  - tab-match asserted a terminal tab literally named "AOZ Housing" matches the
    slug. Same thing: the fixture now uses the name the tab would actually have.

Consequence worth naming: someone who types "aoz housing" at Loki will no longer
be understood. There is an alias mechanism for exactly this shape
(register/build.ts maps the deploy name to the repo), but wiring the retired
name into mention-matching is a product decision, not a rename chore.

Left alone on purpose: scripts/db/retire-stale-projects.ts, whose data row
records the project names the database actually held when that migration ran;
and content/thoughts/*.md, published essays — one of which quotes a filesystem
path observed during a debugging session, so rewriting it would falsify the
anecdote.

The production user_projects row was updated too (name and git_url), because the
database is a second copy of the repo identity and a past rename left 21 rows
pointing at a dead account. New URL proven to resolve: 431bae7.

Tests green: fleet-register 44, project-mention 28, tab-match 10, fleet-map 7,
loki-project-ranking all.


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

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 12:17:25 -07:00
CatoandClaude Fable 5.1 366398d149 fix(fleet): a project with a live URL but no hosting row is live, and dev-log dates are days (#701)
loki and orangecat are served from the main Caddyfile, not apps.conf, so the
map filed both pillars under "not live" next to their own live URLs, and
bitbaum would have grouped them as Not live. liveUrl is the SSOT for served;
the register row only adds kind/owner/since. Dev-log dates are timestamps in
the DB and days on the map.


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

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 18:35:10 -07:00
CatoandClaude Fable 5.1 c2f001a511 feat(fleet): publish the studio map — every project's purpose, layer, state and last movement (#698)
"What do we have, what is each thing for, where does it run, what is happening
on it" was answered by the register (facts) plus 24 hand-written briefs, a
showcase overrides file and an ecosystem config that all restate the register
in prose and drift within days. The assistant could not answer it at all: no
chunk in the knowledge index held the shape of the fleet, so "what projects do
we have" came back as "Not in your data".

- GET /api/fleet/map: the register join, plus per project the purpose line
  from its profile, a layer (the three pillars, product, client, demo, next),
  hosting state and owner, public doors (live, repo, OrangeCat, Solon), the
  dev log's declared next step, and what last moved (open runs, last run
  outcome, last log headline). Public and cached like the register; prices,
  paths and tokens stay out (api-route-auth names the reason).
- src/lib/register/map.ts is pure and unit-tested; load-map.ts is the I/O half,
  shared by the route and the nightly reindex so page and assistant read the
  same map.
- reindex-knowledge embeds one fleet_map overview chunk (owner-scoped): one
  line per project in a fixed order, so the fleet's shape is retrievable.

bitbaum renders this map (its own PR) and publishes it as map.json; Cat on
OrangeCat reads it into its context.


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

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 18:04:18 -07:00