Security¶
How this monorepo isolates administrative and publishing credentials from package contributors.
The full reference covering the threat model, privilege boundaries, cross-forge guarantees, and setup steps lives in the workshop guide: Security and secret isolation.
How this repository isolates credentials¶
livery self-hosts livery-workshop, so its CI uses the same isolation
model as every consumer repository:
- Tier 1 (isolated privileged):
FORGE_ADMIN_TOKEN(in the protectedgovernenvironment) andPYPI_TOKEN/ OIDC (in the protectedpypienvironment) run inside isolatedpython3 -Ijobs that install onlylivery-workshopand its transitive workspace dependencies fromuv.lock. They never runsetup.sh, never loadtasks.py, never fold.repo.env, and never install other packages underpackages/*/. - Tier 2 (trusted-branch workspace):
FORGE_TOKEN(in the protectedbotenvironment fornightly.yml) is protected from unmerged pull requests, not from code merged intopackages/*/. Any contributor who can merge package code can read Tier 2 credentials. - Tier 3 (PR-reachable / repo-scoped): Disallowed. Root
.repo.envmaps to non-secretvars.*in CI, andfm security.checkflags any repository-level secret on GitHub or PR-wired secret as a failure.
Root [owners] in workshop.toml guards every workflow file, lockfile,
root script, .repo.env, and every member of livery-workshop's
transitive workspace dependency closure in .github/CODEOWNERS.
Verifying the repository¶
Run fm security.check (or fm doctor) to verify CODEOWNERS coverage,
workflow isolation, branch protection, protected environments, and secret
placement. Place credentials into their protected environments with
fm workflow.secret.set <NAME>.