* Include shared chatkit in new app starters
* Format shared chat starter component
* chore(deps): raise shared package floors to published versions
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.
* test(template): select an available Chromium runtime
* style(template): format ChatKit release policy
---------
Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
GHSA-67mh-4wv8-2f99 reached the starter's lockfile through drizzle-kit's
@esbuild-kit loader and showed as a standing Dependabot alert here. An
override gives the loader esbuild ^0.25. The full template check now runs
drizzle-kit generate and fails when lib/db/schema.ts and drizzle/ disagree.
Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy
Co-authored-by: Claude <noreply@anthropic.com>
* templates/app: gitleaks allows NEXT_PUBLIC_* values, which every page prints
A kickoff writes the Loki widget token to .env.production; it is public by
design (data-fc-project in the HTML) and gitleaks' generic-api-key rule would
otherwise turn every seeded repo's secret scan red. Default rules stay on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy
* templates/app: deploy.yml grants actions: read, as Loki's register shim does
On a private repo the shared deploy's CI gate cannot read Actions without it
and passes every deploy unverified.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy
---------
Co-authored-by: Claude <noreply@anthropic.com>
A complete, tested Next.js 16 app — next-intl (en/de/fr, localePrefix
"always", parity test, Swiss spelling), better-auth accounts on Drizzle + pg
(email+password with verification, magic link via mail-kit, passkeys, TOTP
2FA, the shared bitbaum sign-in and OrangeCat as env-gated OIDC with
client_secret_post + PKCE, roles in the app's own users table), nonce CSP with
strict-dynamic and connect-src 'self', limitkit on every auth path keyed on the
proxy's hop, secrets sealed with ai-kit seal, ai-kit complete() example route,
own-model settings, bip-kit roadmap/changelog, /api/health asserting the app
can read its own tables, and CI/deploy/live-check/CodeQL/gitleaks/audit
workflows.
scripts/templates/render-app.sh fills the placeholders;
scripts/templates/test-app-template.sh holds the render to the fleet's own
judges (version-currency gapsFor, verify-floor predicates, cicd-hygiene audit)
on every PR, and the new app-template CI job installs it, runs verify and
drives sign-up/sign-in against a real Postgres.
STACK.md records the owner's 2026-10-11 sign-in decision: every app owns its
accounts and offers every method; it supersedes the 2026-09-11 federate-only
rule. SHARED.md and README point new products at templates/app. The
duplication ratchet skips the starter itself (the one canonical copy).
Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy
Co-authored-by: Claude <noreply@anthropic.com>