Skip to content

Self-host M2: Spine coverage gap — inventory 606→611 (regen drift) #2066

Description

@PurHur

Problem

php script/bootstrap-inventory.php now reports 611 vm.php-path files on master (May 2026 regen), while compiler_lib_spine_smoke still bundles 606 require_once units and public docs footnote 606/606. check-wave3-roadmap-sync.php fails until spine footnotes match inventory (#1802).

#2050 tracked 603→606; that batch largely landed — the remaining gap is +5 inventory files after inventory regen, not the old 603 count.

Without a focused tracker, M2 work scatters across #1492 / #1768 instead of a finish-line checklist.

Goal

php script/bootstrap-inventory.php --check          # 611 files, 0 blockers
php script/check-selfhost-spine-coverage-sync.php   # exit 0 (deferred table documented)
BOOTSTRAP_LIB_SPINE_SMOKE=1 make bootstrap-selfhost-lib-spine-smoke
php script/check-wave3-roadmap-sync.php             # spine footnotes 606/611

Scope

  1. Run php script/check-selfhost-spine-coverage-sync.php --verbose — list missing paths vs deferred (bin/vm.php, lib/AOT/Linker.php, …)
  2. Add require_once to test/selfhost/compiler_lib_spine_smoke/main.php via script/bootstrap-selfhost-next-includes.php (or extend spineSubstitutes / spineNativeLinkDeferred with issue links)
  3. Regenerate docs/bootstrap-inventory.md, docs/roadmap-wave3.md, docs/self-host-target.md, docs/pages/development-status.md footnotes
  4. Fix any native link/JIT stubs uncovered (Self-host M3: compile-driver real lowering symbol batch tracker #1768 symbol batches)

Acceptance criteria

./script/ci-fast.sh   # wave3 + spine coverage sync green
BOOTSTRAP_LIB_SPINE_SMOKE=1 ./script/bootstrap-selfhost-lib-spine-smoke.sh

Docker:

./script/docker-ci-local.sh -- php script/check-selfhost-spine-coverage-sync.php

No GitHub Actions (#394 ✅).

Dependencies

Links

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions