Pre-Flight — WP-144 Phase B — 2026-12-05

Filled-in copy of docs/reference/pre-flight for WP-144, scoped to Phase B only (classify the fork’s non-engine changes). Phases C, D and E each get their own pre-flight; Phase C also needs its EC first. Verdict at the bottom.


Pre-flight intent

Validating readiness for WP-144 Phase B. Not splitting, reverting or rewriting anything on the fork. Verdict only.

Dependency check

Prereq State Notes
WP-144 Phase A (cleanup) Exit met 2026-12-05 §Phase A, PRs #390 and #393.
Fork #80 (WP-145) Merged 2026-12-05 (1dfbfb7375) Jeff’s call was to finish it before the split; it’s in the tip Phase B reads.
Open fork PRs against scooby-engine None Re-checked at this pre-flight: the only open fork PR is #12 (against master, carries across by agreement). Carmen’s #77, #79 and #81 merged into carmen.

WP-144 has no prerequisite WP in WORK_INDEX beyond Phase A’s in-flight work, which is met.

Repo + fork state

How Phase B counts

Scope lock

Allowed paths (this repo):

docs/reference/pre-flight-WP-144-2026-12-05.md
docs/work-packets/WP-144-classics-split.md
docs/work-packets/WP-144-phase-b-classification.md
docs/work-packets/WORK_INDEX.md

Forbidden:

Exit check before each commit: git diff --cached --name-only matches the list above. Stage explicit paths; never git add -A.

Risks

Risk Likelihood Impact Mitigation
A commit put in the wrong bucket, so Phase C reverts something the engine or the app needs med high Every call cites the diff read. “Unsure” with a reason where the diff doesn’t settle it. Phase C still builds both branches.
Counting against the wrong base, so the table misses or adds commits med high State the base (2982fe324b) and both tips; reconcile with the 2026-12-03 count of 118 of 228.
A merge commit hiding a non-engine change low med git diff-tree --cc on every merge in the range.
An engine hook missed, so the engine-only branch doesn’t build low high Check every header the engine includes from outside engines/terraglyph/ exists in upstream/master, and grep the engine for every symbol and config key the non-engine commits add. Phase C step 3’s build is the final check.
The fork moves during Phase B low med Re-read the tip before landing; record it. Phase A’s rule re-runs the inventory before Phase C step 1.
Touching the shared fork checkout low high Read-only commands only; git status on the base clone before and after.

Verdict

Reviewer: Claude (Phase B session), for Jeff Date: 2026-12-05

A READY verdict authorizes Phase B only. It does not authorize any change to the fork; Phase C needs its own EC and pre-flight.

After execution — lessons learned

Lesson: name the engine’s old paths in any count of “non-engine” commits. The first pass counted every commit outside engines/terraglyph/, which took in the engine’s work from before the engines/scooby/ rename and gave 118 instead of 32. A count that says what it treats as engine, as this pre-flight’s §How Phase B counts does, is reproducible; one that doesn’t isn’t.

Lesson: leave the upstream sync merge out of per-commit loops. Listing each PR merge’s commits with git rev-list p1..p2 walked thousands of upstream commits through the sync merge d1a26e76e6 and ran for minutes; skipping that one merge made it instant.