Repository navigation
Contributing
How work gets proposed, built, and shipped — for me and for anyone else touching this public repo. See Vision for why; this page is about process, not direction.
A mostly-automated delivery loop where owners role is approving tickets and approving PRs, not writing code day to day: a draft idea gets refined, estimated and implemented by set of abi83/interns agents and I do the final check and merge, focusing on product vision and strategy. Dev and prod are separate environments; prod only moves forward once new release is ready. Deterministic quality gates (automated tests, linting, type-checking, dependencies audit) help ensure quality, and the agents are held to the same bar as anyone else.
Anyone can open an issue or a PR here, but without owner direct approval issue cannot be processed, PR cannot be closed.
Every issue is one of four types (a type:* label, template at .github/ISSUE_TEMPLATE/): spike (research/decision, no code deliverable — output is a write-up or ADR), bug (something is broken), coding-task (pure implementation work), epic (a bigger idea or set of features).
For tracking issues we are adopting the refine → estimate → code → review pipeline (labels, state machine, the fix-round loop, per-agent tuning in .github/agent-pipeline.yml) are used directly from abi83/interns product.
What's specific to Prepify is the trust boundary: issues I write enter the refinement pipeline automatically; issues opened by anyone else sit untouched until I've looked at them and brought them in myself (see above). Merge is always mine, regardless of who or what opened the PR.
PRs are squash-merged, so the PR title becomes the commit on main — write it as a Conventional Commit (feat:, fix:, refactor:, etc.). The labels are used in the release process.
Keep them short and direct — the same conciseness bar as code and docs. Rationale, background, and root-cause analysis live on the issue; the PR says what changed and what to check.
PR body — three sections, nothing else:
- What changed — bullets, the diff itself
- Before merging — checklist of anything the PR depends on: a new Actions variable or secret, a migration to run, a setting to flip. Create it as part of the work and tick the box.
- After merging — checklist of what to verify once it's live
A Notes section is for a genuine exception (a known follow-up needed, a deliberate deviation), not a routine part of every PR.
Issue body follows its type:* template — don't pad it past what the template asks for.
Something out of scope spotted mid-work — dead code, a stale doc, a second bug — gets offered as a follow-up PR or a ticket in Notes, not folded into the current branch and not left as inline #fixme comment.
A reviewer comment that exposes a real gap (undocumented config, a missing test) gets fixed on the branch, not answered with a reply alone.
We try to keep PRs small and focused, target - up to 500 lines with exceptions up to 1000 for XL tickets.
Always link PR to the issue it implements. Use the #NN shorthand or the full URL to reference the issue in the PR description.
The refine → estimate → ready loop is for work that benefits from being scoped and sized first. It's not a mandatory toll on every change. A small, obvious, self-contained fix — a typo, a wrong constant, a doc correction, a bug with a one-line cause — can go straight to a fix: PR with no ticket. The reviewer pass and the owner merge still apply; only the ticket ceremony is skipped.
Epics are tracking issues, not specs — they hold intent and scope, not a task list written as text. Only I create epics, or an agent creates one when I explicitly ask for it — never on an agent's own initiative while working an unrelated ticket.
Every issue except bugs is a sub-issue of an epic. A coding-task or spike opened without a parent epic is missing a required link, not a valid standalone ticket — bugs are the one type that can stand alone, since a bug is found, not planned into a theme. When an epic is broken down, each piece becomes its own issue and gets attached as a native GitHub sub-issue of the epic (the "Parent issue" relation), so progress is visible on the epic itself rather than living in a checklist that drifts out of sync.
Blocking dependencies between issues (what can't start before what) use GitHub's native "Blocked by" relation, not a plain-text #NN reference in the body. Set it via the web UI, or gh api graphql with the addBlockedBy mutation (issueId + blockingIssueId, both GraphQL node IDs) — gh issue create/gh issue edit have no flag for it. This is a different relation from sub-issues: sub-issue tracks epic membership, "Blocked by" tracks execution order.
- Every Acceptance Criteria checkbox is checked
- Tests written for the change — placeholder until a real testing strategy exists (#78); once it does, this means whatever that strategy calls for
- All automated checks green (build/test/lint in CI — more of these land as #78 progresses)
- PR merged to main
- Wiki updated if the change affects any documented behavior
- For coding-task/bug: the change is verified actually working, not just green in isolation
- For spikes: the decision and its Deliverable are written down somewhere durable (wiki/ADR), not just decided in someone's head
The goal: whichever agent implements a ticket does its best to exercise the real change itself — driving a real browser for UI (start the dev server, click through the actual flow, check console/network), making real API calls for backend changes, running real terraform plan/state show or gcloud calls for infra, actually running a migration against dev and checking the resulting schema — rather than treating green tests/type-checks as proof the feature itself works. Deploying to dev first (not just running locally) is often the most realistic way to verify, especially for anything infra- or environment-dependent.
This is a direction to grow into, not a hard gate yet — the tooling to do this well (agents with browser/API/deploy access on every ticket) isn't fully wired up. Until it is: do as much of the above as the available tooling allows, and say explicitly what wasn't verified and why, rather than silently skipping it or claiming full verification that didn't happen.
State what was actually done or found, and the resulting status, in a comment when closing an issue that didn't close via a normal PR merge — investigated and turned out not reproducible, superseded, decided against, etc. Don't close those silently. If the work produced follow-ups, link them by number — GitHub's sub-issue relation is parent/child only, so a lateral "this investigation led to that follow-up" link stays a plain #NN reference in text.