Commit Graph
485 Commits
Author SHA1 Message Date
catomean a2b42292be chore: name runtime secrets in .env.example (bus factor) 2026-10-21 20:24:40 +02:00
Cato fbd417295e feat: render assistant replies with shared visual answer engine (#121) 2026-10-21 14:23:36 +02:00
CatoandClaude b80a206714 feat(host): Vita is served at vita.orangecat.ch; old host redirects its pages (#120)
Pages on vitareba.orangecat.ch 308 to vita.orangecat.ch with path and query.
/api/* is never moved: cron timers do not follow redirects, subscribed
calendars poll it, and auth callbacks answer on the host that set the cookie.
PORTAL_URL and SITE_URL fall back to the new host.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 16:35:28 +02:00
dependabot[bot] 2f3db25f07 chore(deps): bump the minor-and-patch group with 5 updates (#118)
Bumps the minor-and-patch group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) | `0.45.3` | `0.45.4` |
| [zod](https://github.com/colinhacks/zod) | `4.6.5` | `4.6.7` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.4` | `26.6.5` |
| [prettier](https://github.com/prettier/prettier) | `3.9.9` | `3.9.10` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.3` | `5.0.4` |


Updates `drizzle-orm` from 0.45.3 to 0.45.4
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/compare/0.45.3...0.45.4)

Updates `zod` from 4.6.5 to 4.6.7
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.6.5...v4.6.7)

Updates `@types/node` from 26.6.4 to 26.6.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `prettier` from 3.9.9 to 3.9.10
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.9...3.9.10)

Updates `vitest` from 5.0.3 to 5.0.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.4/packages/vitest)

---
updated-dependencies:
- dependency-name: drizzle-orm
  dependency-version: 0.45.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/node"
  dependency-version: 26.6.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.9.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 5.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-17 14:55:50 +02:00
CatoandClaude e9994c9823 chore(brand): replace remaining VitaReBa display uses with Vita (#117)
Rename the brand in everything a reader sees: download filenames
(vita-data-export.json, vita.ics), the package name, the company.ts
register comment (Vita GmbH), CI and test comments, and test fixtures
for the sender display name and ICS calendar name.

Kept on purpose: the HIN mailbox, the vitareba.* domains, the deploy
app / Postgres role names, and the booking ICS UID suffix (@vitareba),
which subscribed calendars match on — changing it would duplicate every
existing booking.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-15 09:07:26 -07:00
Cato f153f0d6f8 docs: point agents at fleet AGENTS.md (#116)
A cloud session has no ~/.claude/CLAUDE.md, so it never saw the org rules.
Those stay in bitbaum/fleet AGENTS.md (packages by default, searchkit,
chatkit, names, identity). This file only points there.
2026-10-14 05:28:58 -07:00
dependabot[bot] 7f0e4f396c chore(deps): bump the minor-and-patch group with 8 updates (#114)
Bumps the minor-and-patch group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [@bitbaum/ai-kit](https://github.com/bitbaum/ai-kit) | `1.18.0` | `1.20.1` |
| [next](https://github.com/vercel/next.js) | `16.3.8` | `16.4.0` |
| [next-intl](https://github.com/amannn/next-intl) | `4.14.8` | `4.14.9` |
| [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) | `8.23.0` | `8.23.1` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.3` | `26.6.4` |
| [eslint](https://github.com/eslint/eslint) | `10.11.0` | `10.12.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `16.3.7` | `16.4.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.2` | `5.0.3` |


Updates `@bitbaum/ai-kit` from 1.18.0 to 1.20.1
- [Commits](https://github.com/bitbaum/ai-kit/compare/v1.18.0...v1.20.1)

Updates `next` from 16.3.8 to 16.4.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.3.8...v16.4.0)

Updates `next-intl` from 4.14.8 to 4.14.9
- [Release notes](https://github.com/amannn/next-intl/releases)
- [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/next-intl/compare/v4.14.8...v4.14.9)

Updates `pg` from 8.23.0 to 8.23.1
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.23.1/packages/pg)

Updates `@types/node` from 26.6.3 to 26.6.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 10.11.0 to 10.12.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.11.0...v10.12.0)

Updates `eslint-config-next` from 16.3.7 to 16.4.0
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.4.0/packages/eslint-config-next)

Updates `vitest` from 5.0.2 to 5.0.3
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest)

---
updated-dependencies:
- dependency-name: "@bitbaum/ai-kit"
  dependency-version: 1.20.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: next
  dependency-version: 16.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: next-intl
  dependency-version: 4.14.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: pg
  dependency-version: 8.23.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/node"
  dependency-version: 26.6.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint-config-next
  dependency-version: 16.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-10 04:00:23 -07:00
dependabot[bot] ad4b2841e9 chore(deps): bump next from 16.3.7 to 16.3.8 (#113)
Bumps [next](https://github.com/vercel/next.js) from 16.3.7 to 16.3.8.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.3.7...v16.3.8)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 16.3.8
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 10:11:18 -07:00
dependabot[bot] b5fcc4b811 chore(deps): bump the minor-and-patch group across 1 directory with 10 updates (#112)
Bumps the minor-and-patch group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@bitbaum/ai-kit](https://github.com/bitbaum/ai-kit) | `1.11.0` | `1.18.0` |
| [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) | `0.45.2` | `0.45.3` |
| [next](https://github.com/vercel/next.js) | `16.3.5` | `16.3.7` |
| [next-intl](https://github.com/amannn/next-intl) | `4.14.5` | `4.14.8` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.1` | `26.6.3` |
| [drizzle-kit](https://github.com/drizzle-team/drizzle-orm) | `0.31.10` | `0.31.11` |
| [eslint](https://github.com/eslint/eslint) | `10.10.0` | `10.11.0` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `16.3.5` | `16.3.7` |
| [prettier](https://github.com/prettier/prettier) | `3.9.7` | `3.9.9` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.1` | `5.0.2` |



Updates `@bitbaum/ai-kit` from 1.11.0 to 1.18.0
- [Commits](https://github.com/bitbaum/ai-kit/compare/v1.11.0...v1.18.0)

Updates `drizzle-orm` from 0.45.2 to 0.45.3
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/compare/0.45.2...0.45.3)

Updates `next` from 16.3.5 to 16.3.7
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.3.5...v16.3.7)

Updates `next-intl` from 4.14.5 to 4.14.8
- [Release notes](https://github.com/amannn/next-intl/releases)
- [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/next-intl/compare/v4.14.5...v4.14.8)

Updates `@types/node` from 26.6.1 to 26.6.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `drizzle-kit` from 0.31.10 to 0.31.11
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/compare/drizzle-kit@0.31.10...drizzle-kit@0.31.11)

Updates `eslint` from 10.10.0 to 10.11.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.10.0...v10.11.0)

Updates `eslint-config-next` from 16.3.5 to 16.3.7
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.3.7/packages/eslint-config-next)

Updates `prettier` from 3.9.7 to 3.9.9
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.7...3.9.9)

Updates `vitest` from 5.0.1 to 5.0.2
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest)

---
updated-dependencies:
- dependency-name: "@bitbaum/ai-kit"
  dependency-version: 1.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: drizzle-orm
  dependency-version: 0.45.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: next
  dependency-version: 16.3.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: next-intl
  dependency-version: 4.14.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/node"
  dependency-version: 26.6.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: drizzle-kit
  dependency-version: 0.31.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint-config-next
  dependency-version: 16.3.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.9.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 5.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 10:07:38 -07:00
Catoandfleet-reconciler 6defd5b8ad chore(deps): raise shared package floors to published versions (#110)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-09-23 16:46:44 -07:00
dependabot[bot] 736987e10f chore(deps): bump the minor-and-patch group with 13 updates (#108)
Bumps the minor-and-patch group with 13 updates:

| Package | From | To |
| --- | --- | --- |
| [@bitbaum/ai-kit](https://github.com/bitbaum/ai-kit) | `1.4.0` | `1.10.0` |
| [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `10.73.0` | `10.74.0` |
| [next](https://github.com/vercel/next.js) | `16.3.4` | `16.3.5` |
| [next-intl](https://github.com/amannn/next-intl) | `4.14.2` | `4.14.5` |
| [react](https://github.com/react/react/tree/HEAD/packages/react) | `19.2.8` | `19.3.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.2.18` | `19.3.0` |
| [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom) | `19.2.8` | `19.3.0` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.2.7` | `19.3.0` |
| [zod](https://github.com/colinhacks/zod) | `4.5.4` | `4.6.5` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.5.0` | `26.6.1` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `16.3.4` | `16.3.5` |
| [prettier](https://github.com/prettier/prettier) | `3.9.6` | `3.9.7` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.0` | `5.0.1` |


Updates `@bitbaum/ai-kit` from 1.4.0 to 1.10.0
- [Commits](https://github.com/bitbaum/ai-kit/compare/v1.4.0...v1.10.0)

Updates `@sentry/nextjs` from 10.73.0 to 10.74.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.74.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.73.0...10.74.0)

Updates `next` from 16.3.4 to 16.3.5
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.3.4...v16.3.5)

Updates `next-intl` from 4.14.2 to 4.14.5
- [Release notes](https://github.com/amannn/next-intl/releases)
- [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/next-intl/compare/v4.14.2...v4.14.5)

Updates `react` from 19.2.8 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react)

Updates `@types/react` from 19.2.18 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 19.2.8 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react-dom)

Updates `@types/react-dom` from 19.2.7 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `zod` from 4.5.4 to 4.6.5
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.5.4...v4.6.5)

Updates `@types/node` from 26.5.0 to 26.6.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 19.2.18 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.2.7 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint-config-next` from 16.3.4 to 16.3.5
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.3.5/packages/eslint-config-next)

Updates `prettier` from 3.9.6 to 3.9.7
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.6...3.9.7)

Updates `vitest` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.1/packages/vitest)

---
updated-dependencies:
- dependency-name: "@bitbaum/ai-kit"
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@sentry/nextjs"
  dependency-version: 10.74.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: next
  dependency-version: 16.3.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: next-intl
  dependency-version: 4.14.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: react-dom
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react-dom"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: zod
  dependency-version: 4.6.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/node"
  dependency-version: 26.6.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react-dom"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint-config-next
  dependency-version: 16.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.9.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 5.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-23 13:38:32 -07:00
CatoandClaude 8d347796dd fix(nav): show the desktop nav at 1220px, where it actually fits (#109)
Found by the fleet UI audit once it started rendering more than one width
(bitbaum/fleet PR 119). The audit reported "ANMELDEN" 19px past the right edge
at 834px. Measuring the rest of the range showed 834 was the mildest point in
it, not the worst:

    768px   the page scrolls sideways by 49px
    834px   "ANMELDEN" 19px past the right edge
   1000px   the CTA 117px past it
   1100px   17px past it
   1101px   118px past it
   1220px   fits

The nav switched to its desktop layout at 768 and did not fit until 1220, so
it was broken across that whole range — on every tablet and on a 1152 or 1194
laptop. The cliff at 1101 is the `min-width: 768px and max-width: 1100px`
block switching off: that rule shrank padding and type to buy room back, which
bought about 100px, which was not enough at any width in its range.

So the switch moves to 1220 and that tightening block goes. Compacting a nav
until it fits is a fight with the content; showing the menu that already
exists is not. The `.nav` page gutter keeps its own 768 breakpoint — it is
spacing, not a layout switch, and it was only sharing the media query.

Nothing is lost between 768 and 1219: the mobile menu carries the section
links, the blog, and NavAuthActions with sign-in and the CTA — the same set it
has always served below 768.

Verified in a production build. At 390 / 768 / 834 / 1000 / 1100 / 1101 /
1219 / 1220 / 1280 / 1440 nothing in the nav crosses the viewport edge, and
the hamburger and the desktop links are exact inverses across 1219/1220.

verify clean: format, lint (one pre-existing unused-arg warning, unchanged),
typecheck, 1340 tests across 90 files. Build succeeds.

One note for whoever reads design-discipline.test.ts next: its raw-colour
regex matched "#119" in a CSS comment referencing a pull request, and read it
as a hex colour. Reworded here rather than changing the gate, but a hex in a
comment is not a raw colour in a stylesheet.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-21 05:56:56 -07:00
CatoandClaude Opus 5 43ec32868f chore(mailmap): make Cato the canonical identity, not the retired one (#107)
The canonical name on the LEFT of every entry was the retired display name, so
every commit -- new ones authored correctly included -- rendered under that
retired name in git log, git shortlog and GitHub's contributor views. It is
backwards: the retired forms map TO the current identity, never the reverse.

Every existing right-hand mapping is kept and a few missing ones added, so
history still collapses to one person rather than fragmenting: shortlog goes
from 4 distinct authors to 3 over an unchanged 535 commits.

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

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 06:35:50 -07:00
CatoandClaude Opus 5 858c6d2dfb chore(email): the sender display name is Vita, not the retired VitaReBa (#106)
`RESEND_FROM` in the env template still carried "VitaReBa" as the display name —
the product name the clinic has retired. The clinic's own live title is
"Vita · Metabolische Psychiatrie & Systemische Longevity · Zürich", and the repo
already agrees everywhere it matters: `lib/config/company.ts` has been
`name: "Vita GmbH"` / `shortName: "Vita"` for a while, and DEFAULT_FROM_EMAIL is
built from it. The template was the last copy still disagreeing with that source
of truth — and it is the copy an operator pastes into a real `.env`, so it is
the one that would have put the dead name in front of patients.

Display name only. The address stays `onboarding@resend.dev`: the comment
directly above it explains that the sandbox sender is deliberate until
vitareba.ch is verified in Resend, and that is not this change's call to make.


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

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 01:14:19 -07:00
CatoandClaude Fable 5.1 f1c60c61e8 chore: rename FleetCrown to Loki (#104)
The product was renamed on 2026-09-14: bitbaum/loki, loki.orangecat.ch,
LOKI_* env keys, loki-* units. This repo referenced the old name in
6 files changed, 12 insertions(+), 12 deletions(-).
Email addresses at the old sending domain stay until the new domain is
verified in Resend.


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

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 16:26:31 -07:00
dependabot[bot] 0361a2aa77 chore(deps-dev): bump vitest from 4.1.11 to 5.0.0 (#103)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.11 to 5.0.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.0/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-12 04:08:08 -07:00
dependabot[bot] 9cd74acbf8 chore(deps): bump the minor-and-patch group with 4 updates (#102)
Bumps the minor-and-patch group with 4 updates: [@bitbaum/mail-kit](https://github.com/bitbaum/mail-kit), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) and [eslint](https://github.com/eslint/eslint).


Updates `@bitbaum/mail-kit` from 0.1.0 to 0.1.1
- [Commits](https://github.com/bitbaum/mail-kit/compare/v0.1.0...v0.1.1)

Updates `@types/node` from 26.4.1 to 26.5.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react-dom` from 19.2.5 to 19.2.7
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint` from 10.9.1 to 10.10.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.9.1...v10.10.0)

---
updated-dependencies:
- dependency-name: "@bitbaum/mail-kit"
  dependency-version: 0.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/node"
  dependency-version: 26.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-12 04:02:53 -07:00
dependabot[bot] 73be81ada2 chore(deps): bump actions/cache from 4 to 6 (#101)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-12 03:54:39 -07:00
b1f78fb12d chore(deps): ai-kit ^0.15.0 -> ^1.4.0 (#100)
This repo was pinned to an old ai-kit not through neglect but by semver: a
caret range on a pre-1.0 version cannot cross a minor, so `^0.15.0` resolved
below the next minor and every release since was unreachable. Dependabot ran
weekly the whole time and was correct to route each 0.x minor to its own PR —
right policy, wrong outcome, for a package whose minors were additive.

ai-kit is now 1.x, so this is the last manual bump here: `^1.x` admits every
later minor and they arrive grouped with the routine updates.

Verified: install resolves 1.4.0 and `tsc --noEmit` is clean with no code
changes. Every ai-kit symbol this repo imports was checked against the 1.4.0
export surface beforehand.

1.4.0 also closes a fabrication path worth knowing about if this repo ever
passes `tools` to `complete()`: three of the seven models in the default
chain can only emit a tool call as text, and a native-only read handed their
narration back as a finished answer. Both protocols are read now.

Co-authored-by: Cato <georgy.butaev@revamp-it.ch>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-12 02:49:35 -07:00
CatoandClaude Opus 5 4efbb6429b fix(ai): report the model that ANSWERED, and correct an overstated comment I wrote (#99)
Two corrections, both mine.

1. THE PROBE NAMED THE CONFIGURATION, NOT THE RESPONDER. It reported
   `process.env.AI_MODEL` as `servedBy`, so with the comma-separated list
   this repo now supports it printed
   "openai/gpt-oss-120b,openai/gpt-oss-20b" — the setting, not the model
   that answered. That is a claim about something never observed, in the
   one route whose whole job is to observe.

   aiChat now returns `model` (from complete()'s resolved link) and the
   probe reports that. It matters beyond tidiness: when the first id rots
   the chain falls to the second, and "which one served" is exactly the
   fact you want at that moment.

2. THE DOC COMMENT OVERSTATED THE LAW. It said pointing patient data at
   the fleet's freeChain() "would be a data protection breach".
   lib/config/regulation.ts is the authority and it says otherwise: the
   `cloud-ai-processing` block is GATED, not blocked. Health data is GDPR
   Art. 9 and Swiss Criminal Code Art. 321 — the strictest rules this
   product touches — and the lawful path through them is the one this app
   already implements: explicit, timestamped, withdrawable per-patient
   consent (the Art. 49(1)(a) derogation) plus a warning on every output
   naming the line the data crossed.

   So the endpoint is a DEPLOYMENT decision, taken by whoever runs the
   clinic and answers for it. freeChain() is still not used here — not
   because it is unlawful, but because it would silently override that
   decision with a fleet-wide default the operator never made.

The distinction is not academic: stated as a breach, the feature stays
dark forever waiting for a provider nobody is procuring. Stated
correctly, it is a choice the operator can make today with consent and a
warning — which is what the ledger's house rule ("build it anyway,
disable it at the exact moment it would run, and say which law did it")
was written for.

verify green — lint, typecheck, 1340 tests.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-10 12:17:35 -07:00
CatoandClaude Opus 5 7fab75f893 ci(auto-merge): correct the reason this repo passes a PAT (#98)
The comment added a few hours ago says GITHUB_TOKEN cannot merge a PR that
touches .github/workflows. That is contradicted by this fleet's own history:
github-actions[bot] merged datacat#253 and ai-kit#42 today, and both change a
workflow file. I asserted it from the reusable workflow's docstring without
checking, then found the counter-evidence while looking for something else.

Two stalled PRs were offered as proof and neither survives either. ai-kit#11
opened 2026-08-29 and this repo's sweep was not added until 2026-09-04, so for
most of that PR's life nothing was sweeping at all. aoz-housing#122 is still
unexplained — I merged it before diagnosing it, which destroyed the evidence.

The THROUGHPUT reason is unaffected and is why the line stays. A dispatch made
with GITHUB_TOKEN triggers no workflows — the same rule the deploy reconciler
exists for — so after a merge the re-armed CI run's completion fires no
workflow_run and nothing wakes the sweep for the next PR. It waits for the
cron, which GitHub throttles: fleetcrown's sweeps land 50-65 minutes apart
against a */10 schedule. A PAT-created dispatch does emit workflow_run.

The wrong claim is recorded in the file rather than quietly deleted, so the
next reader does not re-derive it from the same docstring I did.

No behaviour change: an undefined secret still resolves to empty and the
reusable workflow still falls back to github.token.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 15:56:34 +00:00
CatoandClaude Opus 5 eabd50ae30 feat(health): /api/health/ai — prove the provider answers, without touching patient data (#97)
Every AI route here is behind a session AND a patient-consent gate: the
insight route, both admin briefs, the thread assistant. So "does the
provider answer?" could only be checked by signing in and running a real
analysis over a real patient's record. That is a bad way to test a
deploy, and it meant the answer was usually "nobody knows".

  GET /api/health/ai            free.
  GET /api/health/ai?probe=1    a real call. 200 or 503. Needs the secret.

THE PROBE CARRIES NO PATIENT DATA, and that matters more here than
anywhere else in the fleet. It asks a fixed, meaningless question about
the colour of the sky — no digest, no profile, no identifiers. It
exercises the transport and the credentials, which is all a liveness
check ever needs, and it is safe to run unattended on a schedule
precisely because there is nothing personal in it. A test asserts the
request body contains none of patient/digest/checkin/assessment/goal/
medication.

IT REACHES THE OPERATOR'S ENDPOINT, not a fleet default. `ask` (ai-kit
0.15.0) calls `aiChat`, so the probe goes to whatever AI_BASE_URL names —
the endpoint chosen against lib/config/regulation.ts for EU/CH residency.
A probe built on ai-kit's freeChain() would talk to Groq and OpenRouter,
which is exactly what this app must not do. A test pins that every
request went to the configured host.

"Not configured" and "the vendor refused" are reported differently: they
want different fixes, and collapsing them sends someone to check a key
that is fine.

ROUTE-AUTH INVARIANT: app/api/route-auth-invariant.test.ts caught this
route immediately — it sits under the public /api/health prefix and
imports no guard from lib/auth/guards. It authenticates itself with
AI_PROBE_SECRET (constant-time compare, inside ai-kit), because its
callers are uptime monitors and deploy scripts, which have no user to be.
Added to SELF_AUTHENTICATING with that reasoning, as that list demands.

verify green — lint, typecheck, 1340 tests.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 08:30:11 -07:00
CatoandClaude Opus 5 b90fbbcab6 ci(auto-merge): hand the sweep a PAT so workflow PRs stop stalling (#96)
GITHUB_TOKEN cannot merge a PR that touches .github/workflows. The sweep tries,
the merge API refuses, it logs "leaving for the next sweep", and repeats — while
still exiting 0. So the failure is invisible: every run reports success and the
PR simply never merges.

That is not hypothetical. ai-kit #11 (bump actions/checkout) sat green, CLEAN
and MERGEABLE for nine days; aoz-housing #122 (bump actions/upload-artifact)
for nine more. Both had to be merged by hand today. Every Dependabot
`github_actions` bump in the fleet is in this class, permanently.

A PAT fixes a second thing that costs more: THROUGHPUT. A dispatch made with
GITHUB_TOKEN emits no workflow_run, so after each merge nothing wakes the sweep
to take the next PR — it waits for the cron, and GitHub throttles scheduled
workflows to roughly hourly regardless of what the cron says. Observed in
fleetcrown: sweeps ~50-65 minutes apart against a */10 schedule. A PAT-created
dispatch does emit workflow_run, so the queue drains at CI speed instead.

The reusable workflow has always supported this — GH_TOKEN is
`secrets.token || github.token`. This just passes it.

SAFE BEFORE THE SECRET EXISTS: an undefined secret resolves to empty, and the
fallback picks github.token. So this changes nothing until FLEET_PAT is created
as an organisation secret, and needs no second pass afterwards.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 15:10:50 +00:00
CatoandClaude Opus 5 f7a0de4462 ci: cache Next's build output so CI stops recompiling from scratch (#95)
Next keeps its compiler output in .next/cache and nothing restored it here, so
every CI run recompiled the whole app — and the deploy then compiled it again.

Measured across the fleet on 2026-09-07: of eight repos, exactly one cached
this in CI. 14 repos build cold; this is one of them.

Keyed on the lockfile so a dependency change invalidates it. The bare
restore-key is last on purpose: a stale cache still beats no cache, and Next
validates its own entries rather than trusting them.

Ratcheted fleet-wide by fleet/scripts/ci/cicd-hygiene-audit.sh, and both golden
CI templates now ship this step so new repos start warm.


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

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-07 13:42:21 +00:00
CatoandClaude Opus 5 fdc4519f97 refactor(ai): the fleet engine owns the request; the operator still owns the provider (#94)
aiChat's fetch had no timeout at all, so a provider that accepted the
connection and never answered held a clinician's request open
indefinitely. It also caught 429 and reported "AI provider error (429)",
having read the body, logged it, and thrown it away — the three kinds of
429 share a status code and want opposite responses, and only that body
tells them apart.

complete() (ai-kit 0.9.0) brings a per-link deadline, the 429 taxonomy,
and every link's failure in the error rather than only the last. The
empty-200 check this file already had is now the engine's; it stays.

WHAT DELIBERATELY DID NOT CHANGE: where the data goes. The fleet's
freeChain() is Groq then OpenRouter — both US-hosted, neither under a
DPA with this clinic — so adopting the shared engine must not touch
provider selection. AI_BASE_URL/AI_API_KEY/AI_MODEL remain the only
endpoint, chosen by the operator against lib/config/regulation.ts.

A test asserts every request goes to the configured host. If it ever
fails, that is a data protection breach, not a test that needs updating.

AI_MODEL now accepts a comma-separated list, so a rotted model id has
somewhere to fall — every entry served by the SAME endpoint, so a longer
list changes nothing about residency.

The chain is built PER CALL, not at module scope: Next evaluates
module-level code during the build, where these vars are absent, and a
chain frozen there would stay permanently empty on a deployment whose
configuration is fine. Tested by loading the module with nothing set and
configuring afterwards.

Verified by mutation: dropping the second model turns exactly the test
that names it red. verify green — lint, typecheck, 1331 tests.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 22:28:09 +00:00
CatoandClaude Opus 5 35158e70b0 chore(identity): .mailmap resolves every past commit to Cato (#93)
Six author identities existed in this repo's history — G, Mao Nakamoto, g-but,
two noreply addresses and a DESKTOP hostname — and the existing .mailmap
canonicalised them onto "Mao Nakamoto", which is the retired name.

A mailmap fixes the displayed author of every commit already made, in git log
and on GitHub, without rewriting a single hash. That matters here because five
PRs merged earlier today were signed with the retired name before the git
config was corrected, and rewriting merged history to fix a display string
would be wildly disproportionate.

Two rules were needed rather than one. Commits authored as "G" carry the
CANONICAL email, so an email-only line cannot match them — mailmap rewrites by
commit email, and theirs is already the target. Those need a name+email rule.
Verified rather than assumed: `git log --use-mailmap` over the last 40 commits
went from 5 "G" + 4 "Cato" to 32 "Cato" and 8 dependabot.

fleetcrown, botsmann and evig have no .mailmap at all and still display raw
author names; same file follows there.


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

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-05 15:47:07 +00:00
dependabot[bot] 6bc775b16f chore(deps): bump the minor-and-patch group with 6 updates (#92)
Bumps the minor-and-patch group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `10.71.0` | `10.73.0` |
| [next](https://github.com/vercel/next.js) | `16.3.3` | `16.3.4` |
| [next-intl](https://github.com/amannn/next-intl) | `4.13.7` | `4.14.2` |
| [zod](https://github.com/colinhacks/zod) | `4.4.3` | `4.5.4` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.3.0` | `26.4.1` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `16.3.3` | `16.3.4` |


Updates `@sentry/nextjs` from 10.71.0 to 10.73.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.73.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.71.0...10.73.0)

Updates `next` from 16.3.3 to 16.3.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.3.3...v16.3.4)

Updates `next-intl` from 4.13.7 to 4.14.2
- [Release notes](https://github.com/amannn/next-intl/releases)
- [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/next-intl/compare/v4.13.7...v4.14.2)

Updates `zod` from 4.4.3 to 4.5.4
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.4.3...v4.5.4)

Updates `@types/node` from 26.3.0 to 26.4.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint-config-next` from 16.3.3 to 16.3.4
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.3.4/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-version: 10.73.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: next
  dependency-version: 16.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: next-intl
  dependency-version: 4.14.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: zod
  dependency-version: 4.5.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/node"
  dependency-version: 26.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint-config-next
  dependency-version: 16.3.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-05 10:59:47 +00:00
ab2c2b0397 refactor(email): migrate transport to @bitbaum/mail-kit (#91)
Replace the bespoke Resend-SDK transport in lib/email/index.ts with the
fleet's shared @bitbaum/mail-kit. The app keeps its public seam
(sendEmail/isEmailConfigured/SendResult) and clinic defaults (reply-to
clinic inbox, DEFAULT_FROM_EMAIL fallback); the sandbox-sender and
placeholder-key guards now live in mail-kit. Email-queue cron sends pass
an idempotency key so a retried run cannot double-send. Removes the
resend dependency.


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-05 10:08:09 +00:00
c5417b1b7e docs: the two facts CLAUDE.md got wrong about this repo (#90)
Both were in the file every session reads first, so both were being inherited.

**The clinician's name.** The Mission block said "Manuel Schabus". The shipped
SSOT `lib/config/team.ts:19` says Manuel Riegner — initials "MR" — and so does
the live site. CLAUDE.md was the only non-fixture occurrence of the wrong name.
The `ics.test.ts` fixtures keep "Schabus" deliberately: a fixture naming a real
person is worse than one that does not.

**The styling.** The stack line said "Tailwind v4", which sends an agent to
write Tailwind utilities. Measured on this commit: 40 `.module.css` files
(~9,200 lines), 1,281 module class references, and **zero Tailwind utility
classes anywhere** — all 15 literal `className` strings in the codebase are
global classes defined in globals.css. Tailwind is imported and contributes
nothing: no `tailwind.config.*`, no `@theme` block. Its DEFAULT palette is
therefore live and unguarded, so `text-teal-500` would render #14b8a6 rather
than --teal #2a7a8a and no test would catch it. Now stated, with the enforcing
tests named.

AGENTS.md said components use "standard Tailwind utilities" — the same claim,
and it would have contradicted the new section. Corrected to match.

Also records that CSS Modules has no exception entry in fleet/STACK.md, which
blesses Tailwind and documents every other deliberate departure. Reading as
drift when it may be a decision is the state that gets re-litigated every
session; flagged as open rather than resolved either way here.

A third suspected staleness — locales listed as de/en/fr/it — was NOT real on
main. That reading came from a stale branch; main already says de/en/fr and
matches i18n/routing.ts. No change made.

pnpm verify: 88 files, 1321 tests, green.


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 09:01:57 +00:00
c84bf110e9 feat(schema): the practice is a row, seeded from COMPANY and asserted equal (#89)
`COMPANY` is a const, and 0 of 24 tables carry an org column — so "the clinic"
is a literal you must fork, not a value you can vary. That is the same shape
this repo already corrected twice one level down: `COMPANY.clinicianName` and
the hand-authored per-email scheduling map both stopped being true the moment
there were two of the thing they named.

Adds `organizations`, seeded with this deployment's practice (migration 0016),
and `getOrganization()` so reading the practice is a function call rather than
a module constant. The ~109 existing `COMPANY.x` reads are correct for a
single-practice deployment and are deliberately untouched: surfaces convert
one at a time when a second practice arrives. That is the difference between
a later refactor and a later rewrite, which is the whole point.

`COMPANY` stays the source of the seed rather than the reverse, because the
manifest, OG image and sitemap render at build time with no database — a
clinic whose name exists only in a row cannot render its own favicon.

Two expressions of one fact is the arrangement that rots, and this repo has an
instance that did: `--muted` was darkened for WCAG AA on 2026-04-15 and
`COLOR_MUTED` in lib/config/theme.ts only caught up on 2026-04-28, shipping
the contrast-failing grey in every OG image, manifest and email for 13 days.
That file still says "update both manually" and still has no test. This one
has one, and it needs no database — the seed is parsed out of the migration.

Proved by mutation, not by passing: a drifted value fails the matching field,
and deleting `ON CONFLICT` fails the idempotency assertion. The first draft of
that second case reported "no tests" instead, because the parser was keyed to
the clause it was testing — a gate whose breakage looks like silence is not a
gate, so it now terminates on the statement's own semicolon.

No tenancy column, by decision: separate database per deployment cannot leak
between practices, whereas `org_id` on 24 tables makes every WHERE clause
load-bearing for confidentiality, and user-isolation.test.ts guards patient
isolation, not practice isolation. Recorded in CLAUDE.md.

pnpm verify: 88 files, 1321 tests, green.


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 08:33:45 +00:00
b1e71369f0 docs: sync docs with actual stack (#88)
Fix drift proven against repo/fleet ground truth:
- README + CLAUDE.md deploy: not "pull + pnpm build + restart on the box" —
  push to main triggers deploy.yml → fleetcrown selfhost-deploy.yml
  (CI-green gate, build, rsync, atomic symlink swap, restart, health check,
  auto-rollback)
- README uploads: not "served by Caddy under /uploads/*" — files are read
  back only through the authenticated GET /api/documents/[id]/file
- CLAUDE.md locales: de/en/fr (it was removed; no it.json exists)
- CLAUDE.md arch tree: app/(auth) does not exist (auth pages live under
  app/[locale]/(auth)); sections/ is 16 files, not 14; add the two cron
  routes (orphaned-files, calendar-sync) the table below already lists
- CLAUDE.md DB tables list: add measurements, clinicianProfiles,
  clinicianApplications, careTeam, clinicianCalendars, calendarBusy,
  notifications, assessmentLeads
- CLAUDE.md contact: lib/config/company.ts says vitareba@hin.ch, not
  manuel@surfyourlife.org
- CLAUDE.md verify gate: also runs format:check
- CLAUDE.md verdict tier name: "Optimised Neurotype"
- AGENTS.md audit command: no src/ dir — grep app/ components/ lib/


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-04 16:43:45 +00:00
448e514977 docs: the README claimed a domain that does not resolve (#87)
vitareba.ch has no DNS record; the app serves at vitareba.orangecat.ch.
CLAUDE.md and lib/config/company.ts already say so precisely — the README
was the one surface still stating the intended domain as fact, which sent
the 2026-08-31 fleet sweep's health check to a dead host.


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-01 06:09:40 +00:00
dab991e5b3 chore(ci): CI and .nvmrc follow the box to Node 24 (#86)
The box ran Node 20 four months past EOL; it moved to 24.20.0 today with
every service health-verified. CI validating on 20 now validates against
a runtime nothing uses.


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 16:10:56 +00:00
4c2a156a33 chore(deps): currency sweep — eslint 10, CI actions v7 (#85)
- eslint ^9 → ^10 (10.9.1); CI actions were already v7-era, untouched
- pin settings.react.version in eslint.config.mjs: eslint-config-next ships
  'detect', which calls context.getFilename() — removed in ESLint 10 —
  and threw on every linted file


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 11:59:27 +00:00
d538a775b0 fix(nav): the admin overflow sheet was the one surface that stayed silent (#84)
The sidebar and the bottom bar both set aria-current. The "More" sheet did
not — so the destinations that happened to land behind the overflow were
precisely the ones a screen-reader user could not locate themselves in.
`isActive` and `pathname` were already in scope; the call was simply missing.

Two more defects on the same surface, both of which the rest of the app
already gets right:

- `.moreSheetItem` came out near 41px tall — 0.65rem of padding around
  0.85rem text at this root size. `.bottomNavItem` states `min-height: 44px`
  explicitly; the overflow sheet is the same kind of touch surface, so it now
  says the minimum instead of arriving near it by arithmetic.

- Hover and focus were one rule ending in `outline: none`, so keyboard focus
  was indicated by a 7%-white wash and nothing else: the weakest possible
  signal, on the surface where a keyboard user most needs to know where they
  are. Focus now gets a real ring; hover keeps the wash.

Found by a fleet-wide navigation audit across 20 repos, which found the same
one-straggler shape in aoz-housing, fleetcrown and evig — four teams applying
a rule correctly on every surface but one.

Typecheck clean; 1306 tests pass.


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 07:29:45 +00:00
GandClaude Opus 5 3e059f0818 chore: add a formatter (#83)
* chore: add a formatter, matching the style this repo already writes

singleQuote=false was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.

Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.

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

* style: format with prettier (304 files)

Mechanical. No behaviour change. This SHA is listed in
.git-blame-ignore-revs so `git blame` skips it.

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

* chore: teach git blame to skip the reformat

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

* style: format the two files the reformat pass missed

prettier --check flagged app/shared.module.css and lib/domain/clinicians.test.ts
on a branch whose whole point was that everything had been formatted. Re-running
the same command with the same version fixes both, so the rollout's write step
did not finish what it reported.

The rollout now runs --check straight after --write and refuses to open a PR
unless it comes back clean, so a partial reformat fails at the source instead of
in CI.

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 10:48:01 +00:00
dependabot[bot] 1cf56a3f76 chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 (#80)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-29 07:48:42 +00:00
dependabot[bot] 874cfd631a chore(deps): bump next-auth from 5.0.0-beta.30 to 5.0.0-beta.32 (#79)
Bumps [next-auth](https://github.com/nextauthjs/next-auth) from 5.0.0-beta.30 to 5.0.0-beta.32.
- [Release notes](https://github.com/nextauthjs/next-auth/releases)
- [Commits](https://github.com/nextauthjs/next-auth/compare/next-auth@5.0.0-beta.30...next-auth@5.0.0-beta.32)

---
updated-dependencies:
- dependency-name: next-auth
  dependency-version: 5.0.0-beta.32
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-29 07:43:44 +00:00
GandClaude Opus 5 721c30a177 fix(cron): say which thing is actually broken (#82)
/api/cron/emails returned {"error":"Database unavailable"} while the database
was fine — psql connects with the app's own DATABASE_URL and the schema has 25
tables. The route hardcoded one of the workflow's two possible errors, so an
email-configuration failure was reported as a database failure.

The log line beside it made the same mistake in the other direction: it said
"RESEND_API_KEY not configured" while the key was present, 36 characters and
correctly prefixed re_. isEmailConfigured() is false for TWO reasons, and the
second one — a sandbox sender, which is exactly the case the guard was written
for — announced the first.

Both now name the reason that applies. The guard itself is correct and stays:
refusing to mark a queue sent when the sender reaches nobody is the whole point
of it.

The underlying condition is unchanged and is an operator decision: RESEND_FROM
is a sandbox address, so no patient email can be delivered until a verified
domain is set.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 09:40:49 +02:00
dependabot[bot] 5bca6a6d1e chore(deps): bump the minor-and-patch group across 1 directory with 18 updates (#77)
Bumps the minor-and-patch group with 18 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@auth/drizzle-adapter](https://github.com/nextauthjs/next-auth) | `1.11.1` | `1.11.3` |
| [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) | `10.66.0` | `10.71.0` |
| [next](https://github.com/vercel/next.js) | `16.2.3` | `16.3.3` |
| [next-intl](https://github.com/amannn/next-intl) | `4.9.1` | `4.13.7` |
| [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) | `8.21.0` | `8.23.0` |
| [@types/pg](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg) | `8.20.0` | `8.23.1` |
| [react](https://github.com/react/react/tree/HEAD/packages/react) | `19.2.4` | `19.2.8` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.2.14` | `19.2.18` |
| [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom) | `19.2.4` | `19.2.8` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.2.3` | `19.2.5` |
| [recharts](https://github.com/recharts/recharts) | `3.8.1` | `3.10.1` |
| [resend](https://github.com/resend/resend-node) | `6.11.0` | `6.22.1` |
| [threadkit](https://github.com/maonakamoto/threadkit) | `0.1.0` | `0.1.1` |
| [zod](https://github.com/colinhacks/zod) | `4.3.6` | `4.4.3` |
| [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.2.2` | `4.3.3` |
| [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) | `16.2.3` | `16.3.3` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.2.2` | `4.3.3` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.1.4` | `4.1.11` |



Updates `@auth/drizzle-adapter` from 1.11.1 to 1.11.3
- [Release notes](https://github.com/nextauthjs/next-auth/releases)
- [Commits](https://github.com/nextauthjs/next-auth/compare/@auth/drizzle-adapter@1.11.1...@auth/drizzle-adapter@1.11.3)

Updates `@sentry/nextjs` from 10.66.0 to 10.71.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/10.71.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/10.66.0...10.71.0)

Updates `next` from 16.2.3 to 16.3.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/compare/v16.2.3...v16.3.3)

Updates `next-intl` from 4.9.1 to 4.13.7
- [Release notes](https://github.com/amannn/next-intl/releases)
- [Changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/next-intl/compare/v4.9.1...v4.13.7)

Updates `pg` from 8.21.0 to 8.23.0
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.23.0/packages/pg)

Updates `@types/pg` from 8.20.0 to 8.23.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pg)

Updates `react` from 19.2.4 to 19.2.8
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.2.8/packages/react)

Updates `@types/react` from 19.2.14 to 19.2.18
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 19.2.4 to 19.2.8
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.2.8/packages/react-dom)

Updates `@types/react-dom` from 19.2.3 to 19.2.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `recharts` from 3.8.1 to 3.10.1
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v3.8.1...v3.10.1)

Updates `resend` from 6.11.0 to 6.22.1
- [Release notes](https://github.com/resend/resend-node/releases)
- [Changelog](https://github.com/resend/resend-node/blob/canary/CHANGELOG.md)
- [Commits](https://github.com/resend/resend-node/compare/v6.11.0...v6.22.1)

Updates `threadkit` from 0.1.0 to 0.1.1
- [Commits](https://github.com/maonakamoto/threadkit/compare/v0.1.0...v0.1.1)

Updates `zod` from 4.3.6 to 4.4.3
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.3.6...v4.4.3)

Updates `@tailwindcss/postcss` from 4.2.2 to 4.3.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/@tailwindcss-postcss)

Updates `@types/pg` from 8.20.0 to 8.23.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pg)

Updates `@types/react` from 19.2.14 to 19.2.18
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.2.3 to 19.2.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `eslint-config-next` from 16.2.3 to 16.3.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](https://github.com/vercel/next.js/commits/v16.3.3/packages/eslint-config-next)

Updates `tailwindcss` from 4.2.2 to 4.3.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/tailwindcss)

Updates `vitest` from 4.1.4 to 4.1.11
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.11/packages/vitest)

---
updated-dependencies:
- dependency-name: "@auth/drizzle-adapter"
  dependency-version: 1.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@sentry/nextjs"
  dependency-version: 10.71.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@tailwindcss/postcss"
  dependency-version: 4.3.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/pg"
  dependency-version: 8.23.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/pg"
  dependency-version: 8.23.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react"
  dependency-version: 19.2.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/react"
  dependency-version: 19.2.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: eslint-config-next
  dependency-version: 16.3.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: next
  dependency-version: 16.3.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: next-intl
  dependency-version: 4.13.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: pg
  dependency-version: 8.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: react
  dependency-version: 19.2.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: react-dom
  dependency-version: 19.2.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: recharts
  dependency-version: 3.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: resend
  dependency-version: 6.22.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: tailwindcss
  dependency-version: 4.3.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: threadkit
  dependency-version: 0.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: vitest
  dependency-version: 4.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: zod
  dependency-version: 4.4.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-29 07:39:01 +00:00
dependabot[bot] 8e565eb028 chore(deps): bump actions/checkout from 4 to 7 (#76)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-29 07:21:45 +00:00
GandClaude Opus 5 497be4847f chore: declare node >=20, the version the box actually runs (#81)
Was: undeclared.

Eighteen of thirty repos declared no Node version at all, and the twelve
that did used five spellings of the same intent - >=18, >=20, >=20.0.0,
>=22, >=22.19.0. The box runs 20.20.2, so >=22 was a claim nothing could
satisfy and nothing would have caught.

One spelling, matching the machine that runs it, turns an invisible
mismatch into a loud one.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 09:07:35 +02:00
dependabot[bot] 318bf4b4b9 chore(deps): bump pnpm/action-setup from 4 to 6 (#75)
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4 to 6.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v4...v6)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-29 07:07:11 +00:00
dependabot[bot] 390618a559 chore(deps-dev): bump @types/node from 20.19.39 to 26.3.0 (#78)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.39 to 26.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-29 06:46:31 +00:00
dependabot[bot] 5fde1adb28 chore(deps): bump actions/setup-node from 4 to 7 (#74)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 7.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-29 06:39:46 +00:00
GandClaude Opus 5 934cbc298e chore: add a dependency watcher (#73)
23 of 30 repos in the fleet had none. The symptom looks like neglect and
is not: aoz-housing had 100 commits in August, features landing daily, and
was still on Next 14 / React 18 / Tailwind 3 — because nothing ever OPENED
the upgrade PR. Version drift here is the absence of a mechanism.

npm directory: /. Minor and patch grouped so the sweep spends one
cycle on them; majors stay separate because they deserve reading.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 06:24:54 +00:00
1b6ff4c078 feat(feedback): wire up the FleetCrown feedback widget (#72)
Env-gated (NEXT_PUBLIC_FC_WIDGET_TOKEN) script tag added to the root layout,
matching the pattern every new site gets from scripts/site-template. This
site predates the template and never got it. The widget is how the owner
reports what they want changed without emailing anyone — see
bitbaum/fleetcrown docs/architecture/feedback-widget.md.


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 16:56:47 +00:00
GandClaude Opus 5 ff65668a10 docs(ci): the sweep lives in bitbaum/fleet, not dotfiles (#71)
The `uses:` line is already correct. What was stale is the prose next to
it, which told the reader the policy lives in bitbaum/dotfiles and to go
change it THERE. That file no longer exists in dotfiles — the sweep moved
to bitbaum/fleet on 2026-08-28, because a repo holding someone's .bashrc
is not where a fleet's deploy policy belongs.

A comment that misroutes a fix is worse than a missing one: it sends the
next person to edit a repo where the change would reach nobody, which is
the precise failure the shared sweep exists to prevent.

Files: .github/workflows/auto-merge.yml


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 14:02:19 +02:00
GandClaude Opus 5 cc3b3b688c chore(ci): call the auto-merge sweep from bitbaum/fleet (#70)
The fleet automation moved out of dotfiles on 2026-08-28; the dotfiles path
is now a forwarding shim. This points the caller at the sweep's real home.
One line; the reusable workflow's interface is unchanged.


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 10:41:02 +02:00
GandClaude Opus 5 c3010fa552 chore: retire the maonakamoto handle (#69)
The account was renamed to `catomean` and the repos then moved to the
`bitbaum` org, so `maonakamoto` now names nothing: github.com/maonakamoto
and maonakamoto.github.io both return 404, and @maonakamoto no longer
resolves as a user.

Three different targets, because these are not the same reference:
  repo links  -> bitbaum/<repo>   (the repos live in the org)
  the person  -> catomean        (profile links, @mentions, CODEOWNERS)
  pages site  -> bitbaum.github.io

Deliberately NOT changed:
  .mailmap keeps the old noreply address as an ALIAS. It is what maps
  historical commits onto the current identity; deleting it would
  silently unmap them. Only the canonical side moved to catomean.
  Files that explain the outage by naming the old account keep it,
  since the name is the content.

Files: .mailmap


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

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 08:25:34 +00:00