Skip to content

Trust: refresh gen-0 argv fingerprint after #27166 sinh AOT fix (Pillar 1, re-#27162) #27174

Closed

Description

@PurHur

Category

trust · Pillar 1 (#10533 / #23474) · gen-0 provenance

Problem

#27162 refreshed gen-0 after #27160/#27161, then #27166 (Stdlib: fix AOT sinh() NestedJIT returning 0) landed and re-broke step 4f-m.

Verified 2026-08-03 at 9709be8bd:

./script/release-readiness.sh --json
→ user_release_ready: no
→ north-star5-fast FAIL: step 4f-m (gen-0 manifest/driver mismatch — #8713)
→ gen0_provenance: stale — driver e0e5e10c9 (0 days); 3 lowering commits since; functional smoke still OK

Helper-runtime prelink was green (359 fresh). This is provenance drift, not a dead driver.

PHP implementation target

Repro

./script/docker-exec.sh -- bash -lc 'php script/check-bootstrap-gen0-manifest-sync.php'
# FAILED — lowering_source_fingerprint mismatch …
./script/docker-exec.sh -- bash -lc 'make north-star5-verify-fast'
# step 4f-m FAILED (#8713)

Done when

  • php script/check-bootstrap-gen0-manifest-sync.php OK with live fingerprint
  • make north-star5-verify-fast OK
  • ./script/release-readiness.sh --json → user_release_ready: yes
  • Gen-0 functional smoke still OK
  • No provenance: unverified-restamp / no fingerprint-only restamp

Refs #10533, #23474, #8713, #27155, #27162, #27166

Activity

  1. added
    enhancementNew feature or request
    implementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claim
    on Aug 3, 2026
  2. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    Link gate symptom (same workspace, in flight)

    make bootstrap-selfhost-link hits the same provenance drift before compile:

    bootstrap-lowering-freshness: stale native compile driver build/bin-compile-aot
      want bc116b7b… (live)
      have 35444e68… (committed gen-0)
    → refusing reuse (#21855)
    → fallback: Zend gen-0 `php bin/compile.php -o build/selfhost test/selfhost/compiler_minimal/main.php`
    

    So Pillar 1 is red on both north-star5-fast 4f-m and native-driver reuse for selfhost link. Refresh in this issue unblocks both.

  3. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    Link gate finished (update)

    make bootstrap-selfhost-link exited 0 (~18 min) with OK /compiler/build/selfhost, but only after Zend gen-0 fallback — native build/bin-compile-aot stayed refused (want bc116b7b… / have 35444e68…). Refresh in this issue is still required for honest native-driver reuse + north-star5-fast 4f-m.

  4. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    claim: compile/link/trust-gate automation — starting this run (Pillar 1: gen-0 argv fingerprint refresh after #27166)

  5. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    claim: compile/link/trust-gate automation — continuing this run (Pillar 1 still red after #27168: 1 lowering commit since 9739db8; north-star5-fast 4f-m + user_release_ready: no)

  6. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    claim: compile/link/trust-gate automation — continuing this run (Pillar 1: WT has verified-fresh fingerprint 77156ada… after #27177; committing + verifying north-star5-fast / release-readiness on PR #27178)

  7. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    Lane A implementer — not claiming (2026-08-03)

    Leaving this with compile/link/trust-gate automation / PR #27178 (active claim). Recording trust snapshot here because #10533 comments are disabled (2500+).

    Gate Result
    docker info ok
    bootstrap-inventory --check red (doc drift)
    release-readiness --json north-star5-fast fail (spine coverage); gen0_provenance: stale (3 lowering commits since 9739db8da); functional smoke + vm-driver-probe ok

    Lane A scan: no other eligible implementation-ready ticket (language prefer empty in-lane; remaining Lane A queue is stdlib / named-ext owned). Stopping — not stealing this claim.

  8. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    claim: PHP Runtime → PHP — finishing this run (Pillar 1: regen docs/bootstrap-inventory.md on PR #27178 per maintainer triage, then verify + merge)

  9. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    claim: compile/link/trust-gate automation — continuing this run (Pillar 1: finish NoOpConstruct spine coverage + sidecar refresh left open on PR #27178; north-star5-fast still red on step 2)

    TRY_FIRST on master @ current:

    • bootstrap-inventory doc drift (NoOpConstruct)
    • helper-runtime: STALE InetJitHelper (covered on PR)
    • spine: missing lib/JIT/Call/NoOpConstruct.php
    • north-star5-fast: step 2 FAIL
    • user_release_ready: no
  10. added a commit that references this issue on Aug 3, 2026
  11. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    Maintainer close-out (2026-08-03)

    Merged #27178 → 0fa60f12e.

    Post-merge on master (docker-exec):

    • check-helper-runtime-prelink.php --strict → 359 fresh / 0 stale
    • check-bootstrap-gen0-manifest-sync.php → OK (7cd43894…)
    • check-selfhost-spine-coverage-sync → OK (6860/6860)
    • bootstrap-selfhost-vm-driver-execute-probe → OK

    (#10533 comments locked at 2500+ — status recorded here.)

  12. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    Post-merge: user_release_ready: yes (release-readiness quick mode); north-star5-fast green.

  13. PurHur commented on Aug 3, 2026

    @PurHur
    OwnerAuthor

    Merged — Pillar 1 green

    PR #27178 landed on master (0fa60f12e).

    Verification (this run, post-merge master + PR tree)

    Gate Result
    php script/bootstrap-inventory.php --check OK 6860/6860
    php script/check-bootstrap-gen0-manifest-sync.php OK fingerprint 7cd43894… verified-fresh
    php script/check-helper-runtime-prelink.php --strict 359 fresh / 0 stale
    php script/check-selfhost-spine-coverage-sync.php OK (NoOpConstruct covered; 2 deferred)
    make north-star5-verify-fast OK (4f-m + 4f2 + 4f3)
    ./script/release-readiness.sh --json user_release_ready: yes; gen0_provenance: fresh

    Finishing work this run: spine-sync.sh --no-link re-covered NoOpConstruct + inventory/footnote regen after the earlier revert blocked coverage.

    Not covered: make bootstrap-gen0-refresh-sidecar (stamp intentionally stale with --no-link; follow-up when a sidecar batch is needed).

  14. added a commit that references this issue on Aug 3, 2026
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

    area:toolingTooling / CI / docsenhancementNew feature or requestimplementation-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