When an engineer runs multiple coding-agent threads at once, CI latency determines how fast each thread can close. Moab’s subminute CI architecture reduced a multi-million-line monorepo from a three-hour timeout to a median under sixty seconds by applying four levers: parallel jobs, aggressive caching, right-sized runners, and waste elimination, while refusing to skip unit tests with predictive selection [1]. Kit previously had no CI performance rule, no workflow hygiene checks, no timeout-minutes on its shipped workflow templates, and a single serialized job in its own pull-request workflow [2].

Kit PR #315 encodes those principles at three layers [2]. First, it adds a downstream contextual rule (ci-performance.md) routed from the universal contract, covering DAG parallelism, historical-timing test sharding (Longest Processing Time with hash fallback), shallow pull-request checkouts, cache trust isolation, runner boot profiling, and waste elimination without skipping unit tests. Second, it adds a deterministic .github/workflows/ audit to kit check --project that blocks pull-request workflows missing concurrency (group plus cancel-in-progress: true or an expression) and executable jobs missing a positive timeout-minutes, while emitting non-blocking advisories for pull-request fetch-depth: 0 checkouts and single-job workflows stacking four or more sequential check steps. Third, it adds timeout-minutes to Kit’s shipped auto-assign.yml and Mint release starter templates, adds a ## CI Performance budget section to docs/references/testing.md, directs kit init toward parallel pull-request workflows, and splits Kit’s own .github/workflows/ci.yml into concurrent lint, test, and project-check jobs while removing redundant standalone go vet.

The core design tradeoff is enforcing structural invariants rather than generating language-specific CI templates. Hard-coding Python, Node, and Go workflow generators would violate Kit’s language-neutral boundary and drift quickly. Pairing a pointer-loaded contextual rule with deterministic YAML audits keeps the CLI small while catching missing timeouts and pull-request cancellation automatically. Splitting audit findings into blocking hygiene checks and non-blocking advisories avoids false failures on legitimate full-history pull-request jobs or tiny workflows where splitting costs more in runner boot time than it saves.

The strongest objection to making fast CI a harness default is that shorter feedback loops can raise throughput without raising quality: agents can iterate faster on low-value parallel branches, or teams can hit subminute targets by dropping test coverage. Faster CI only compounds engineering output when the tests stay intact and review remains the merge gate. Keeping full unit suites mandatory while cutting queue wait, redundant checks, and serial bottlenecks turns speed into tighter diagnosis rather than noisier churn.

Pre-PR and PR review caught four real GitHub Actions edge cases before merge: job-level timeout-minutes accepts positive floating-point values (unlike GitHub’s step-level timeout-minutes, which requires positive integers), reusable workflow caller jobs (uses:) forbid timeout-minutes yet support job-level concurrency, cleanup workflows triggered solely on pull_request: types: [closed] should not be forced to cancel in-progress teardowns, and YAML anchors and aliases (*alias) must be resolved before checking mapping keys or timeout values. Fixing those cases and splitting the YAML helpers kept every handwritten Go file under Kit’s 300-line limit.

Local gofmt, make vet, golangci-lint, go test -count=1 ./..., make build, kit check --project, and actionlint passed, including unit and integration tests for blocking and advisory workflow audits and cross-generation rule installation. On GitHub Actions, PR #315’s merged head passed in 15s (project-check), 22s (lint), and 30s (test), and the updated release workflow tagged and published v3.0.68 [2]. What remains untested is reconciling existing downstream polyglot repositories against the new audit and exercising the updated Mint release template on a live repository.


[1] Moab Engineering, Subminute CI, four levers for keeping CI under a minute at scale
[2] Kit #315, CI performance rules, workflow hygiene audits, and parallel CI