A person traces a line between a live screen and marked-up source documents on a dark desk.
The wrong tree can be internally perfect and externally irrelevant.

Parallel agent work produces a strange kind of confidence. Every lane can be clean in isolation while the system as a whole has moved. One worktree contains the live performance fix. Another contains the new page architecture. A third has the generated files. Testing any one of them proves only that one story is coherent.

§1What failed

The assumption was simple: the nearest clean checkout was the source. It built, linked, and rendered correctly. But production contained newer material from another lane. A release from the clean tree would have deleted live content while passing every local check.

§2What broke the confidence

§3The protocol now

  1. Observe the live result and record hashes, routes, and asset versions.
  2. Identify the active deploy artifact.
  3. Match the artifact to a revision.
  4. Inspect every worktree touching the same surfaces.
  5. Create one clean integration lane.
  6. Re-run the full build and browser checks there.
THE PRE-MORTEM QUESTION

If this clean tree shipped now, which live facts would disappear?

§4The guardrail now

Tests follow orientation. A green suite is accepted only after the tested tree is matched to the live artifact and the concurrent-work inventory is recorded. Generated files and shared cache versions are treated as release state, not branch-local trivia.

Steal this

  • Test ownership before correctness.
  • Compare live content against the candidate source.
  • Inventory concurrent work before editing shared surfaces.
  • Integrate first; weaken no test to make a stale tree pass.
  • Download the live-truth checklist.