Onboarding checklist so new agents respect the repo
A new agent session that skips onboarding behaves like a new hire without orientation. The usual failure is not “the model is bad”.
A new agent session that skips onboarding behaves like a new hire without orientation. The usual failure is not “the model is bad”. It is a broken environment, missing rules, or improvised commands that diverge from CI.
The goal is a first-hour path that proves the basics: bootstrap works, rules are loaded, smoke tests pass, and the PR pipeline is real.
When to stop and onboard (instead of starting real work)

When this fits vs when it does not
Onboard first if any of these is true:
- The agent has not run the repo’s canonical bootstrap.
- Nobody has loaded rules files and architecture notes for this repo.
- Secrets and access are not provisioned safely.
- You cannot run a smoke test that matches CI.
Start real tasks only after you can prove the pipeline end to end.
Workflow: clone, rules, smoke, tiny PR, then real work

Onboard
- Clone or fetch the right branch. Use the documented method.
- Run the canonical bootstrap. Do not invent commands. If the repo has a script, that script is the source of truth.
- Load rules and project memory notes. No secrets in chat. Read the docs that describe how secrets are provisioned.
- Run a smoke test. One command that proves the toolchain is correct.
- Open a tiny PR. A docs typo or a trivial tested change is enough. The point is to prove hooks, templates, and CI wiring.
- Only then start real tasks. Add a path allowlist and a definition of done for every agent session.
Treat onboarding failures as documentation bugs. Fix the checklist the same day.
Checklist: the minimum proof you need
- Canonical bootstrap command is documented and runnable.
- Rules files and project memory notes were loaded at session start.
- Smoke test passed locally (or in CI if local is not possible).
- Tiny PR proved PR templates, hooks, and CI wiring.
- Secrets were provisioned safely (no copy-paste into agent logs).
Three traps that waste days

Failure modes to catch early
- Improvised commands. “It worked for me” steps that do not match CI.
- Fix: make bootstrap a script and treat it as the canonical path.
- Secret paste. Tokens copied into chat, terminal logs, or screenshots.
- Fix: keep secrets human-gated. Use dummy examples in docs.
- Skipping the tiny PR. You find out about PR templates and policies only after a big change is ready.
- Fix: always prove the PR path with a trivial change first.
Bottom line
Onboarding is quality control for every later agent session. Prove bootstrap, rules, smoke tests, and the PR pipeline first. If you also maintain repo memory notes, pair this with project memory cards so new sessions start from curated truth, not guesswork.
Share