Start from the decision#
"Here is everything I have" leaves the receiver to work out what it is for. Write one sentence with the choice and its options: "Decide whether to ship the export change today, hold it, or ship it without the scheduler." Everything else in the handoff supports or limits that choice.
Then add five facts. Each answers a question the receiver would otherwise ask:
| Fact | Receiver's question | Typical gap |
|---|---|---|
| Subject | What exactly was this observed on? | A branch name, which moves |
| Observation | What was seen, in which words? | A conclusion with no output behind it |
| Method | How do I see it too? | A command without its directory, data or exit code |
| Gaps | What was not checked? | Silence, which reads as "fine" |
| Next check | What would change the decision? | A list of ideas in no order |
Most artifacts drop something#
The file you send is usually a projection of what you had. A patch drops untracked files. A branch name drops the commit. A review drops the comments that were not submitted. A merged commit drops the link to the one QA tested. None of these produces an error, so the receiver cannot notice the loss from the artifact alone.
The cure is one line of metadata next to the artifact that the receiver can compare: a commit and tree ID, a file count, a hash, a test count. If it matches, the transfer worked. If it does not, the receiver knows before they spend an hour.
Worked example: an export change#
This example is fictional. Ana is leaving at noon, and Ben decides in the afternoon whether the change ships. Her first note:
Export limit is done, tests pass, QA was happy. Branch
export-limit.
Ben cannot decide from it. Which commit did QA see? Which tests ran? Has anyone looked at the scheduler, which calls the same function? Her second note:
- Decide: ship today, hold, or ship without the scheduler.
- Subject:
4c1e9aa, tree4fdcd9b. QA tested that tree on staging at 09:10 UTC. - Observed: 10,001 rows fails with the limit message.
npm testran 418 tests, 0 failed, 2 skipped, exit 0. - Method:
npm testinapi/; staging accountqa-export. - Not checked: scheduled export, German message.
- Next check: run one scheduled export over the limit. If it drops the message, hold or exclude the scheduler.
Ben runs the one check. The scheduler drops the message, so he ships without it. He had no contact with Ana, and he knows what he did not verify.
Both notes took about the same time to write. The second one was assembled from commands Ana had already run.
Test the package#
Open it the way the receiver will: a fresh clone or directory, another account if you can, no shell history. Run the method once. This finds the ignored configuration file, the local branch that was never pushed and the path that exists only on your machine.
A clean run shows that the package is complete enough to repeat the observation. It does not show that the observation means what you think it does. Keep both statements separate in the note, so that a receiver who disagrees can use your evidence without your conclusion.
Choose the guide for what you hand over#
Code that is not merged:
- Uncommitted work: which files a patch or stash leaves behind
- A branch as a file: when a bundle needs commits the receiver lacks
- A patch with its base: a conflict, or the wrong starting point
- Half of a merge conflict: the three versions a commit cannot hold
- A shared branch: a force push after a background fetch
- An unfinished bisect: which answers to trust
- Line endings: a script that fails on the other machine
Code that is merged, reverted or backported:
- The commit QA tested: comparing trees after a squash
- Reland after a revert: the files a second merge skips
- Backports: which fixes are already there
- Git notes: evidence that does not travel
Reviews and pull requests:
- Pending comments: what the next reviewer cannot see
- Half a review: coverage by question
- Two reviewers: who owns the seam
- A rebase after review: showing only what changed
- An abandoned pull request: continue or replace
- Head or merge commit: what CI tested
- A coding agent's change: four checks before review
People and shifts:
- Developer to QA: the list of untested cases
- An open incident: explanations that can lose
For browser evidence, start from a bug report another engineer can act on or replaying what someone else saw.