7 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 f2ada23b82 feat(ci): fleet gets a verify, so the forge merge check can merge it (#573)
GitHub Actions has been off for the org since 2026-11-15, and fleet's main
required two Actions jobs (`verify`, `app-template`) that never came — so no
fleet PR could merge. The forge merge bridge merges any repo that has a
`verify` script; fleet had none.

- package.json + an empty pnpm lockfile: `pnpm run verify` = scripts/ci/verify.sh,
  which runs every `run:` of ci.yml's `verify` and `app-template` jobs, read
  from the YAML — ci.yml stays the one definition. Runs all, exits on the verdict.
- main was RED behind the outage: #570 removed the sweep from the templates but
  three checks still required it. The merge path is now "has a `verify`" (what
  forge/verify runs), with a test that it bites; fleet's own-caller assertions
  became "fleet ships no sweep caller".
- templates/app: next 16.4.1 -> 16.4.6. Next's build refuses the vulnerable
  version, so every product created from the starter failed its first build.
- SWC 1.16 refuses a cache under a group-writable parent (~/.cache on the
  laptop runner): verify points it at the 0700 runtime dir.

verify: 57 passed, 0 failed (incl. the full template render/install/build).

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:55:06 +01:00
Cato ac30b5641f docs(agents): define shared auth ownership (#241)
* docs(agents): define shared auth ownership

* test(docs): detect stale auth package install commands

* docs(agents): prohibit merge policy bypasses
2026-10-26 10:47:24 +00:00
Catoandfleet-reconciler 1b00b16379 feat(template): include current shared ChatKit adapter (#198)
* 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>
2026-10-26 06:45:24 +01:00
Cato 6d637c7f48 Make shared packages the default product foundation (#192)
* Make shared packages the default product foundation

* Support the fleet CI runner Node version
2026-10-24 14:59:48 +02:00
CatoandClaude 0afa30b653 templates/app: patched esbuild for drizzle-kit's legacy loader; drizzle/ drift check (#167)
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>
2026-10-11 13:17:41 -07:00
CatoandClaude Opus 5.5 6c2a700a43 templates/app: gitleaks allowance for NEXT_PUBLIC_*, deploy.yml actions: read (#166)
* 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>
2026-10-11 13:14:17 -07:00
CatoandClaude 131bac3475 templates/app: the one starter every new product is created from (#165)
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>
2026-10-11 12:49:22 -07:00