* feat(packages): declare chartkit, the fleet's chart package
Source is bitbaum/substrata packages/chartkit, where it is built and first
adopted (series charts). Declaring it here creates bitbaum/chartkit once the
source lands on substrata's main; until then this stays a draft.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE
* feat(packages): install Chromium before a package's verify when it drives a browser
chartkit's verify runs a label audit in Chromium; the generator and the
template CI ran verify after a bare pnpm install, so the repo would have
been refused for a missing browser. Keyed on the playwright devDependency.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE
---------
Co-authored-by: Claude <noreply@anthropic.com>
templates/package gains release.yml: workflow_dispatch with bump
(patch|minor|major) or an exact version. It refuses unless main's CI
finished green on the commit it starts from, raises package.json with
`npm version --no-git-tag-version`, runs the package's own verify
(rebuilding the committed dist/), commits "release vX.Y.Z", tags it,
pushes both atomically with FLEET_PAT (a GITHUB_TOKEN push starts no
workflow, so publish.yml would never fire on the tag), and writes a
GitHub release with generated notes. Loki's package page starts it.
Existing package repos never received files added to the template after
they were created. scripts/packages/sync-package-template.mjs offers each
declared repo the template files it lacks as one non-draft pull request
on fleet/template-sync — never overwriting a file the repo has, never
pushing the same content twice, and never reopening a set a person
closed. package-repos.yml runs it after creation.
create-package-repos.mjs now exports templateFiles()/checkTemplate(), and
both scripts refuse a template missing a required file (release.yml
included). CI checks the template's workflows parse with valid shell and
runs the new self-test.
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
Co-authored-by: Claude <noreply@anthropic.com>
registers/package-repos.json lists the package repos that must exist. On
merge (and daily as a retry) .github/workflows/package-repos.yml creates
each missing one with FLEET_PAT: it copies the declared source folder,
makes it standalone from templates/package (CI, auto-merge, publish,
Dependabot, licence), runs the package's own verify, and only then creates
bitbaum/<name> and tags v<version>. An existing repo is never touched.
An agent session's GitHub integration may not create org repos, which kept
searchkit inside orangecat's packages/ folder: consumers pinned to commits,
no Dependabot, every release hand-edited into five lockfiles. The first
declaration is searchkit.
The self-test pins the refusals (bad names, a path that escapes its repo,
a package with no verify or no version) and that existing repos are never
targets. Rehearsed locally: the standalone searchkit installs, passes its
own 32 tests, and builds a byte-identical dist/.
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf
Co-authored-by: Claude <noreply@anthropic.com>