Skip to content

Trust: refresh gen-0 spine sidecar — stamp ≠ spine SHA; link falls back to Zend (prelinked/bootstrap-gen0) #28998

Description

@PurHur

Category

Foundation · Pillar 1 trust / gen-0 spine sidecar · (re-#8703, re-#8704, re-#22642)

Problem

On tip (d0b2bc4585, 2026-08-08), php script/check-selfhost-spine-sidecar-sync.php fails and make bootstrap-selfhost-link refuses the committed native gen-0 driver, falling back to Zend gen-0.

Observed:

check-selfhost-spine-sidecar-sync: FAILED — stamp 36ffcf016da85a32f68aa7b65e5b06bfc01c431a ≠ spine entry SHA-1 981dcf5da393817801b877c670f6a64d38f34380
  Spine SSOT: test/selfhost/compiler_lib_spine_smoke/main.php
  Stamp:      prelinked/bootstrap-gen0/.m3_compiler_lib_sidecar.sha

bootstrap-lowering-freshness: stale native compile driver … — refusing reuse (#21855)
bootstrap-compile-invoke: compiled driver(s) failed — falling back to Zend gen-0 (#2842)
bootstrap-selfhost-link: OK (via Zend)

bootstrap-gen0-staleness: stale — committed gen-0 driver bytes are from cc281e13c (2026-08-08);
  23 commit(s) have changed lowering sources since

./script/release-readiness.sh --json still reports user_release_ready: yes / north-star5-fast: ok (waives sidecar sync under fast path), so this is an honesty gap: green release-readiness while native gen-0 cannot compile the selfhost link without Zend.

PHP implementation target

Repro

php script/check-selfhost-spine-sidecar-sync.php
php script/bootstrap-gen0-staleness.php
./script/docker-exec.sh -- bash -lc 'make bootstrap-selfhost-link'   # note Zend fallback lines

Done when

  • php script/check-selfhost-spine-sidecar-sync.php exits 0
  • php script/bootstrap-gen0-staleness.php reports fresh (or only residual argv-driver debt documented)
  • make bootstrap-selfhost-link succeeds without falling back to Zend gen-0 (or with BOOTSTRAP_M5_NO_ZEND=1)
  • make bootstrap-gen0-driver-functional-smoke still OK
  • No fingerprint restamp without a matching build receipt (provenance: verified-fresh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolingTooling / CI / docsbugSomething isn't workingimplementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claimphase-0:FoundationPhase 0 – foundation & DevEx

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions