V47 Gate 10: Repair promoted-family rewrite ordering#245
Merged
geraldarthurdavis merged 1 commit intoJun 12, 2026
Merged
Conversation
Fix the V47 promoted-family rewrite in
prepare-bitcode-spec-family-promotion.mjs: earlier substring rules
('until V47 promotion', 'V47 draft work') rewrote text before the longer
exact draft-posture rules could match, leaving two orphaned
"V46 remains active canon" fragments that failed the promoted spec-family
stale-phrase scan during the promote step (which correctly failed closed
before committing). Add orphan-specific rewrites plus a final catch-all so
no "V46 remains active canon" fragment can survive promotion.
Validated with a full local promote-step simulation: spec-family promotion
preparation, pointer flip, runtime promotion preparation, promoted
spec-family check, promoted PROVEN regeneration (16 runs, fullyProven=true),
canonical inputs for V47, and canon posture drift V47/V48 all pass; draft
state restored afterward. Regenerate the promotion readiness artifact
against the repaired script digest; check:v47-gate10 passes including the
promotion dry-run.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second (and per full local simulation, final) repair surfaced by the promotion workflow's fail-closed validation on #243: the promote step's spec-family rewrite left two orphaned "V46 remains active canon" fragments because substring rules ran before the longer exact rules that targeted the same sentences.
fullyProven=true) ✓ → canonical inputs V47 ✓ → canon posture drift V47/V48 ✓. Draft state fully restored afterward; only the script fix ships.check:v47-gate10passes including the promotion dry-run.Merging this updates
version/v47and re-triggers the promotion workflow on #243, which should now complete the pointer flip.🤖 Generated with Claude Code