ci: approval-gated fast path on Blacksmith runners

Merged
KH
10d ago
+189-0

Adds .github/workflows/fast-path.yml, a manually dispatched, approval-gated fast path for urgent fixes.

Runs: the same checks as ci.yml: pnpm -r run build, lint, typecheck and test (Node 26.5.0).

Publishes: nothing to npm. publish.yml, publish-persona.yml and publish-internal-personas.yml all use npm trusted publishing (OIDC) bound to those files. A pnpm pack tarball for every non-private package under packages/ (with workspace:* rewritten) is uploaded as the workflow artifact workforce-npm-<sha>. No version bump, commit, git tag or dist-tag change.

Gate: the first job runs in the fast-path environment, which requires Khaliq's approval; every other job depends on it, so nothing runs (and no secrets or artifacts are touched) until he approves. Anyone, people or agents, can dispatch it with a ref (branch, tag or SHA; PR branches are fine) and a required reason. The ref is resolved to one SHA in the gated job and every later job checks out that SHA.

Runners: Blacksmith, outside the backed-up GitHub-hosted queue.

Normal CI is unchanged: no existing workflow is modified.

User-controlled inputs reach shell steps only through env:. Top-level permissions are contents: read. Validated with actionlint.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.