Working agreements for our 1-3 person AI-assisted team. Six docs (vibe coding, Claude Code, git workflow, skills/planning, code style, handoff) plus four templates (CLAUDE.md, README, PR description, handoff checklist). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
122 lines
4.1 KiB
Markdown
122 lines
4.1 KiB
Markdown
# 06 — Handoff
|
|
|
|
Task packages, deliverables, and how we hand work between team members
|
|
or to external consumers.
|
|
|
|
## Why this matters
|
|
|
|
Handoff failures cost more than the original work. A package that's
|
|
"obviously how it works" to the author is a half-day of confusion for
|
|
the recipient. Treat handoff as part of the deliverable, not as
|
|
afterthought packaging.
|
|
|
|
## Two kinds of handoff
|
|
|
|
1. **Internal** — passing work to another team member (or future-you).
|
|
Usually a branch, a PR, or a half-finished prototype.
|
|
2. **External** — shipping a versioned artifact to a partner, customer,
|
|
or downstream pipeline. Usually a zip, a dataset, or a release.
|
|
|
|
Both use the checklist in `templates/HANDOFF_CHECKLIST.template.md`. The
|
|
external case has a higher bar.
|
|
|
|
## Task packages
|
|
|
|
When we ship a task package (e.g. `praxis-sample-5.zip`,
|
|
`task-assistant-v0.2-handoff-*.zip`), it must contain:
|
|
|
|
```
|
|
<package>/
|
|
├── README.md ← what this is, who it's for, how to use it
|
|
├── CHANGELOG.md ← what changed since the last version
|
|
├── VERIFICATION.md ← counts, checksums, sanity checks
|
|
├── manifest.json ← machine-readable metadata
|
|
├── data/ ← the actual deliverable
|
|
└── scripts/ ← only what's needed to use the package
|
|
```
|
|
|
|
`manifest.json` minimum fields:
|
|
|
|
```json
|
|
{
|
|
"name": "praxis-sample-5",
|
|
"version": "0.5.0",
|
|
"generated_at": "2026-05-18T17:00:00Z",
|
|
"source_commit": "<full sha>",
|
|
"source_repo": "<git remote url>",
|
|
"record_count": 1234,
|
|
"schema_version": "1.0"
|
|
}
|
|
```
|
|
|
|
If you can't fill a field, leave it as `null` and explain in the README.
|
|
Never make one up.
|
|
|
|
## Internal handoff (branch / PR)
|
|
|
|
Before handing off:
|
|
|
|
- PR description is current. The summary describes what shipped, not
|
|
what was attempted.
|
|
- The "test plan" section in the PR template is filled in honestly. If
|
|
you didn't test something, say so — don't bury it.
|
|
- Any AI-assisted decisions that surprised you go in a `## Notes for
|
|
reviewer` section. "Claude tried X first, that didn't work because Y,
|
|
here's the working approach" saves the reviewer a re-derivation.
|
|
- Local-only state (env vars, scratch data) is documented or scripted.
|
|
"Works on my machine" is not a handoff.
|
|
|
|
The recipient should be able to:
|
|
|
|
1. `git checkout` the branch
|
|
2. Read the PR description
|
|
3. Run the test plan
|
|
4. Form an opinion
|
|
|
|
— without messaging you. If they have to message you, the handoff is
|
|
incomplete.
|
|
|
|
## External handoff (versioned artifact)
|
|
|
|
Higher bar. In addition to the task package contents above:
|
|
|
|
- **Reproducibility.** Someone with access to the source repo can
|
|
rebuild the artifact from the commit hash in `manifest.json`. Test
|
|
this at least once before the first release.
|
|
- **Verification report.** A machine-checkable report (JSON or
|
|
similar) showing the artifact passed our pre-ship checks. Include
|
|
what was checked and the result.
|
|
- **Provenance.** If the artifact was generated using AI assistance,
|
|
note the model and any human-in-the-loop steps. Not for ceremony —
|
|
for debugging when something looks wrong six months from now.
|
|
- **License & attribution.** Even for internal partners. Be explicit
|
|
about what they can and can't do with the data.
|
|
|
|
## What NOT to ship
|
|
|
|
- Files larger than ~500 MB without a conversation about delivery
|
|
channel.
|
|
- Anything containing real PII unless that was explicitly the deal.
|
|
- `.env`, secrets, API keys, internal hostnames.
|
|
- "Final final v3" filenames. Use the version field. If it's `final`,
|
|
it's `v1.0`.
|
|
- A package without a README. Even a one-line README beats none.
|
|
|
|
## Receiving a handoff
|
|
|
|
When you're on the receiving end:
|
|
|
|
1. Read the README first, fully. Resist the urge to start running
|
|
scripts.
|
|
2. Run the verification report. If it doesn't pass, stop and message
|
|
the sender before doing anything else.
|
|
3. Note any surprise — naming, missing files, version mismatch — and
|
|
send it back to the sender within a day. Drift gets worse with
|
|
silence.
|
|
|
|
## Templates
|
|
|
|
- `templates/HANDOFF_CHECKLIST.template.md` — fill out per handoff,
|
|
ships in the package.
|
|
- `templates/PR_DESCRIPTION.template.md` — for internal handoff via PR.
|