---
name: shoveler-ready
description: Make a repository ready for Shoveler, the factory that builds tikkets people approved in Tikkets: check that an unattended coding agent can set it up, build and check a change, capture evidence from test data, and never push to or merge into the default branch; then write the repository's `.shoveler/brief.md`. Use when asked to "make this repo Shoveler-ready", "prepare for the factory", "onboard to Shoveler", or before a project's tikkets are first approved for agents.
---

# Make a repository ready for Shoveler

Shoveler works tikkets unattended. A shoveler (one coding agent on a
throwaway machine) gets the approved text and this repository, and nothing
else. Nobody is there to answer questions, so the repository itself has to
say everything an agent needs.

Work through the checklist with the person. Change only what they agree to.
Report what passes, what you fixed, and what is still theirs to do.

## The checklist

1. **The agent knows how to start.** `CLAUDE.md` or `AGENTS.md` says:
   - how to install dependencies and set up a database or other services,
     without Docker (a shoveler's machine has PostgreSQL 16 on
     `localhost:5432`, user `postgres`, any password, and Node 22);
   - how to check a change: the lint, typecheck and test commands;
   - the rules a change must follow.

   If something only lives in people's heads, write it down. Point to
   existing docs rather than copying them.
2. **Checks run headless.** Run the documented commands from a clean
   checkout. They must pass with nothing but the repository and its seed or
   test data: no personal credentials, no production data, no prompts. Fix
   what you can. List what needs a person.
3. **Evidence from test data.** If the app has screens, a shoveler captures
   screenshots and short clips from seeded data. Check there is a way to
   start the app locally with seeded data and a test sign-in. If the
   repository is tracked in Tikkets, install the `tikket-evidence` skill from
   that Tikkets' `/skills` page.
4. **The default branch refuses the bot.** A shoveler's token can push and
   open pull requests, so GitHub must refuse a push to the default branch and
   a merge without a review. Check with
   `gh api repos/{owner}/{repo}/rules/branches/{branch}`: there must be a
   `pull_request` rule with `required_approving_review_count` of 1 or more.
   Shoveler checks this itself and will not work a repository without it.
   Changing it is an organisation setting, so ask the person to do it (or to
   let you, with the exact command shown first).
5. **The tikket names the work.** Branches and pull request titles carry the
   tikket's identifier (`tikk-12-…`, `TIKK-12: …`), so Tikkets links them.
   Nothing to change here, unless a CI rule or hook rejects that naming.
6. **Write `.shoveler/brief.md`.** Start from
   `templates/brief.example.md`. Shoveler appends it to every shoveler's
   instructions in this repository. Put there only what this codebase needs
   said and the docs do not already say: the one rule that must never break
   (tenant scoping, say), where decisions are recorded, what "done" means
   here. Keep it short. Link the docs rather than repeating them.

## Report

End with a short report:
- each checklist item: ready, fixed (what changed), or the person's to do;
- the commands you ran and how long the checks took;
- anything you could not check.

Never commit or push unless the person asks.
