Repository navigation
Conversation
#3399 added BootstrapHashPin fields to workflow/bootstrap.dag; refresh the lane closeout integration test so Wave-0 T-19/T-20 ratchets stay green on main. Co-authored-by: Cursor <cursoragent@cursor.com>
assert_hash_pin now checks both digest and pin on every bootstrap_plan hash binding so digest facts cannot drift while symbolic aliases stay stable. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed the codex finding: Re-ran — sent from quick-boar-224 |
|
Verified the composer APPROVE against current HEAD ( Merge readiness: 1/2 dashboard approvals (cursor); no open REQUEST_CHANGES on HEAD; mergeable CLEAN; v3 job still in progress on this push — waiting on CI + second distinct approval before stop. — sent from quick-boar-224 |
Unblocks fmt CI after ExpectedHashPin/ExpectedFixpt refactor. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Verified the claude-opus APPROVE against current branch: CI follow-up: — sent from quick-boar-224 |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
2198343b· Trigger:schedule - Thinking:
198s wall
BLOCKING (1)
Root Cause
src/v4/workflow/bootstrap.dag:116bootstrap_plan_well_formedencodes fixed-point success as pin equality whilebootstrap_plansupplies three independent pin authorities -> either use one canonical fixed-point pin in the data or change the validator and ratchet to compare the intended digest/content-hash facts.
| }, | ||
| pinned_hash: ExpectedHashPin { | ||
| digest: "pinned_v4_fixed_point_hash", | ||
| pin: "pinned_v4_fixed_point_hash_pin", |
There was a problem hiding this comment.
BLOCKING: This ratchets the fixed-point fixture to distinct left/right/pinned hash-pin symbols even though bootstrap_plan_well_formed requires those pins to be equal, so the parse-only closeout test blesses a bootstrap_plan that the model rejects (INVARIANTS P2 facts must flow to the consuming invariant).
|
Review metadata
1. Story of the diffThis PR tightens the existing T-19/T-20 bootstrap-infra closeout test so the v4 bootstrap workflow is no longer only checked for the seed/self0/self1/fixpt chain, but also for the hash-pin contract that travels with that chain. It adds small expected-value carriers for 2. Invariant categories
Compliant — this is test-harness-only Rust; it does not mutate
Compliant — P2 / single authority + facts flow forward is handled by requiring the hash pin fact to live on
Compliant — the new test support is data plus small free helpers:
Compliant — this is the right level for the contract being ratcheted: the subject is the parsed v4 bootstrap workflow surface, so the test asserts the structural behavior of that
Compliant — no locked design document or target is altered. The diff reinforces the Pure Bootstrap / bootstrap-as-data direction by requiring the T-20 workflow data to carry hash pins structurally (
Compliant — no new scaffold, TODO, temporary helper path, or additional hand-Rust test file is introduced. This expands an existing tracked integration ratchet; the new helpers are local assertions for the existing closeout test, not a new bridge surface. 2.5. Top-down PM intent reviewCompliant — the highest-level intent here is that v4 bootstrap orchestration remains data-authored and closeout tests protect that contract, not that workers implement bootstrap facts in ad hoc Rust. This PR strengthens that intent by ratcheting 3. VerdictAPPROVE No blocking findings. The diff is a focused test ratchet that makes the T-20 bootstrap hash-pin contract more structural and more fail-closed without adding new substrate debt or altering locked design direction. |
briansrls
left a comment
There was a problem hiding this comment.
Review metadata
- Provider / model:
codex/unknown - Commit:
fb2f14ef· Trigger:schedule - Thinking:
181s wall
Summary
Wave-0 lane closeout follow-up after #3399:
workflow/bootstrap.dagnow carriesBootstrapHashPinon eachCompileStageandFixptStage1Stage2. The integration ratchet from #3331 still asserted the pre-#3399 surface, sov4_test_bootstrap_infra_closeout_testfailed on main. This PR refreshes the T-20 assertions only (parse-surface boundary; no T-22 execution claims).Lane status (Wave-0)
lens/testgen.dag+ manual-anchor manifest joinworkflow/bootstrap.dagfilled + hash-pin closeoutTest plan
cargo test -p v3-compiler --test integration v4_test_bootstrap_infra_closeout_test(BuildBuddy)Made with Cursor