ONCUE / GUIDE
Repositories
A repository that says how to install, test, and build gives the agent and the reviewer a clear starting point.
Commands are detected
OnCue reads the test, lint, typecheck, build, and dev scripts in package.json, and picks pnpm, yarn, or npm from the lockfile. Commit the lockfile and keep those scripts meaningful.
Or declare them
A repository may add .oncue/project.yaml for predictable setup and checks. This example assumes the scripts exist:
version: 1
commands:
test: pnpm run test
lint: pnpm run lint
typecheck: pnpm run typecheck
build: pnpm run buildA check that passes is only useful when it tests the behavior the task changed.
Secret names, never values
When a task needs development secrets, list their names under secrets.required or secrets.optional. The file holds names only. You save the values in the app, and you see which ones a session will receive before it starts.
A secret you give a session is readable by the agent and by every command it runs. Attach only what the task needs.
Choose where the work starts
Start a session from a branch you choose, and the agent works on a new branch of its own. Or have it work directly on an existing branch: it pushes there and adopts that branch’s open pull request.
OnCue refuses to start a session on, or push to, the default branch or a protected one. Protect your default branch on GitHub as well.