Repository navigation
Deployment
How changes reach main and how a plugin is released. There is no staging: users install straight from the default branch on GitHub, so main is production, and deploying to staging does not apply (repo-deploy: none).
The comments above are the settings the augur-build repo skill reads (/repo submit, /repo publish); its checks come from code-checks on Development. The steps below say the same thing for people.
Every git write below needs the user's approval; invoking /submit or /publish (or /repo submit, /repo publish) is that approval.
Commit the work, open a pull request against main, and merge it once CI passes. Merging is part of Submit, so a submitted change is live.
- The lefthook hooks MUST be installed (
pnpm --dir repo install;git -C repo config --get core.hooksPathprints nothing) and the banned-strings list MUST exist; see Development#setup. MUST NOT commit with--no-verify. - Run
pnpm --dir repo quality,pnpm --dir repo proofs(Proofs), andclaude plugin validate repo --strict. Any failure: stop. - Work on a branch
<type>/<N>-<slug>frommain(feat,fix,chore,docs), or<type>/<slug>when the work has no issue. - Commit with a Conventional Commits message, ending with
Closes #N(orRefs #Nfor part of an issue) when an issue exists. An issue is optional: work the user asked for directly is submitted without one, and Submit MUST NOT create an issue just to link it. Creating an issue needs the user's explicit approval (.claude/rules/git-safety.md). - Push the branch:
git -C repo push -u origin <branch>. The pre-push hook scans every commit being pushed. - Open a PR:
gh pr create --repo simpleapps-com/augur-plugins --base main --body-file tmp/pr-body.txt. - Wait for the Validate check:
gh pr checks <N> --repo simpleapps-com/augur-plugins --watch. Any failure: stop and leave the PR open. - Merge:
gh pr merge <N> --repo simpleapps-com/augur-plugins --squash --delete-branch. - Switch
repo/back tomainand fast-forward it toorigin/main. - Clean up: delete the local branch (
git -C repo branch -D <branch>, since a squash merge leaves git calling it unmerged), and only once its tip equals the merged PR's last commit (gh pr view <N> --json headRefOid); thengit -C repo fetch --prune origin, and remove thetmp/message files. Running Submit is the approval for this delete..claude/settings.jsonallowsBash(git -C repo:*)(owner, 2026-11-22), so the cleanup commands (branch -D,fetch --prune,worktree remove) run without a prompt; the rule only skips the prompt, and git writes still follow.claude/rules/git-safety.md: only on the user's command. Cleanup is always the agent's job: it MUST NOT leave a merged branch or atmp/file of its own behind, MUST report any stash or worktree it finds (removing one is the user's call), and it clears any older merged branches it finds the same way. A local branch whose tip differs from its PR holds unpushed work: keep it and report it. - Report the PR URL, the Validate status, the merge commit, and what was cleaned up.
First commit only. While the remote has no commits, there is no main for a PR to target. The first commit goes directly on main and is pushed with git -C repo push -u origin main; steps 3 and 6 are skipped. GitHub then treats main as the default branch.
Release a plugin by bumping its version; there are no tags or GitHub releases. Submit already merged the changes, so new installs have them; the bump is what delivers them to existing installs.
Pre-flight, per plugin changed since its last release:
- Current version: the
versioninplugins/<name>/.claude-plugin/plugin.jsononmain - New version:
YYYY.M.seqfor the current year and month (no leading zero on the month);seqis 1 for the plugin's first release that month, otherwise one more than the last (Plugin-Format#versioning) - Changes:
git -C repo log --oneline <last version-bump commit>..origin/main -- plugins/<name>. None: skip the plugin - CI: the latest Validate run on
mainis green. Otherwise: stop
Steps:
- Set the new
versionin each released plugin'splugin.json. MUST NOT set it inmarketplace.json. - Commit as
chore(release): <name> <version>, one line per plugin when several ship together. - Push, open a PR, merge, and clean up as in Deployment#submit, deleting the
chore/release-*branch. The version bump is the release: existing installs update only whenversionchanges. - After merge, walk the release checks on each surface.