onboard-simlisted
Install: claude install-skill bks-lab/open-bridge
# onboard-sim — adversarial onboarding-safety simulation
Proves an invariant the unit test can't: **a realistic naive first-time-user
session, walking the real onboarding → commit → push path, cannot leak private
data to a public upstream.** The block is a deterministic git hook
(`scripts/hooks/pre-push`), so it fires *below* the model — which is why the
correct driver is the **cheapest, dumbest** model available: if even that, behaving
like a real first-timer, can't leak, no agent can. Cost and speed are the bonus;
the model-independence is the actual claim.
## Why a simulation (not just the unit test)
`scripts/tests/test-push-guard.sh` checks the hook's block/allow/bypass contract
in isolation. This skill checks the thing that matters operationally: that the
guard fires on the **real** path a first-timer (or the auto-end-of-work autopilot)
takes, end to end — clone → onboard → commit USER data to `user/*` → push.
## Leak-safe by construction
The sandbox's "public upstream" is a **local bare repo**. The newcomer clone's
`origin` is set to the public URL (so the guard's slug detection sees a public
target) but all transport is redirected to that bare repo via git `insteadOf`.
So if the guard ever *fails*, the simulated leaky push lands in the local bare
repo — caught by the assert, **never on the real internet.** Testing for a leak
cannot cause one.
## How it runs (4 phases)
1. **Build** — `assets/build-sandbox.sh <open-bridge-checkout> [sandbox-dir]`
prints the san