Skip to content
SSFSKIMPublic

About

Per-project CI configuration, an on-demand Hetzner runner pool, and a Mac mini lane for SSFSKIM's repos

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ci-kit

CI for SSFSKIM's repos without the MacBook: a per-repo config (.github/ci-kit.yml) and reusable workflow, an agent CLI (ci-gate), a runner pool for private repos (one ephemeral GCE or EC2 VM per job), a Mac lane (the Mac mini and a second Mac), and a host janitor.

Status: being built. The living spec: docs/doperpowers/specs/2026-10-15-ci-kit-design.md.

Use it

  • Adopt it in a repo: two files, which ci-gate init drafts; see docs/adopting.md.
  • Run private gates on the pool: docs/pool.md.
  • Verify a commit: ci-gate from a worktree.
  • In Claude Code: claude plugin install ci-kit@doperpowers puts ci-gate on every session's PATH, tells sessions in adopted repos to verify with it, and adds the ci-kit:adopt skill ("set up CI for this repo"). Outside Claude Code, ./install.sh from a long-lived checkout links ci-gate into ~/.local/bin.

Test history identity

history/repos.json separates each repository's current repo (GitHub API target) from its stable alias (store directory and collect.mjs --repo selection key). Omitted aliases default to the full repo name. MAWS's alias is explicitly SSFSKIM/MAWS: transferring it changes only repo, retaining the existing SSFSKIM/MAWS/ history and the command node history/collect.mjs --repo SSFSKIM/MAWS --store <dir>. The sandbox's scheduled collector checks out ci-kit main, so merged changes need no separate collector deployment.

Layout

Path What it is
.github/workflows/gates.yml the reusable workflow: plan, one job per gate, verdict
plan/ the planner: config validation (config.mjs), selection (select.mjs), globs, the CLI (plan.mjs)
bin/ci-gate, cli/ ci-gate: arguments, git side, run watching; ci-gate init (cli/init.mjs); the gate ledger's context lines, ci-gate status and ci-gate known (cli/ledger.mjs)
.claude-plugin/, hooks/, skills/adopt/ the Claude Code plugin: manifest, the session-start note for adopted repos, the adoption skill
vendor/yaml/ the planner's YAML parser (yaml 2.9.1 from npm, its dist/*.js, package.json and LICENSE), vendored so the planner and ci-gate init run from a plain checkout or the plugin cache with no install
lib/github.mjs, lib/github-app.mjs the small GitHub REST client (gh's login or the App's tokens)
pool/, pool-ensure/ shared GCE/EC2 runner image, container environment, bake preparation and config; ensure is a compatibility no-op; runbook in docs/pool.md
history/ the test-history collector: reads each gate job's JUnit report (junit.mjs), builds its run line, counts and hashes against the day's base (record.mjs, store.mjs), with its provenance (provenance.mjs); the gate ledger's job lines (ledger.mjs, jobs.mjs, mirror.mjs) and the hand-run Mac gate's (manual-gate.mjs); run daily by ci-kit-sandbox's test-history.yml into that repo's test-history branch, whose marker its store-guard.yml watches (spec, ledger)
gce/, ec2/, .github/workflows/pool-guard.yml the multi-cloud launcher, image bakes, VM lifecycle and independent EC2 guard
.github/ci-kit.yml, .github/workflows/ci.yml the kit's own gates (it dogfoods itself)
test/ npm test (node --test; no network)

About

Per-project CI configuration, an on-demand Hetzner runner pool, and a Mac mini lane for SSFSKIM's repos

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages