Repository navigation
Conversation
…fetch lottery (#1511) The registry serves one mutable "latest" artifact; on 2026-08-05 four distinct contents were observed in a day, two contradicting each other about GlueWorkflow and StackFleetAssociation. prepack refetches at publish time, so the surface gate compared artifacts built from whichever variant that fetch hit — v0.41.1 and v0.41.2 both stranded aws on npm exactly this way. The accepted content is now committed, content-addressed: spec-archive/<digest12>.zip at the package root (outside files:, so the npm tarball never carries it). fetchSchemaZip loads it first, verifies the extracted content digests to AWS_SPEC_PIN exactly (a mismatched archive throws, naming both digests), and only falls back to the live fetch for force, the accept flow, or a checkout with no archive. The accept flow (CHANT_ACCEPT_AWS_SPEC=1) now bypasses the 24h cache — it must sample upstream, not the cache, which is how the #1506 accept silently re-accepted morning content — and writes the new archive beside the printed pin block so both land in one commit. Verified: CHANT_RELEASE_GATE=1 prepack passes all six checks with zero drift messages — no network involved. Costs ~2.8MB of repo history per accept; the deferred unpin is filed separately. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HDqbe9YwXqqpF7VxFp1Drx
Contributor
Author
|
Closing unmerged: committing the 2.8MB archive into git history was the wrong storage choice. The deterministic-build contract (only content whose digest a human accepted, verified at load) returns in a follow-up that keeps the bytes out of git entirely. Main was never touched by this branch. |
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.
The registry serves one mutable "latest" artifact; on 2026-08-05 four
distinct contents were observed in a day, two contradicting each other
about GlueWorkflow and StackFleetAssociation. prepack refetches at
publish time, so the surface gate compared artifacts built from whichever
variant that fetch hit — v0.41.1 and v0.41.2 both stranded aws on npm
exactly this way.
The accepted content is now committed, content-addressed:
spec-archive/.zip at the package root (outside files:, so the
npm tarball never carries it). fetchSchemaZip loads it first, verifies
the extracted content digests to AWS_SPEC_PIN exactly (a mismatched
archive throws, naming both digests), and only falls back to the live
fetch for force, the accept flow, or a checkout with no archive. The
accept flow (CHANT_ACCEPT_AWS_SPEC=1) now bypasses the 24h cache — it
must sample upstream, not the cache, which is how the #1506 accept
silently re-accepted morning content — and writes the new archive beside
the printed pin block so both land in one commit.
Verified: CHANT_RELEASE_GATE=1 prepack passes all six checks with zero
drift messages — no network involved. Costs ~2.8MB of repo history per
accept; the deferred unpin is filed separately.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01HDqbe9YwXqqpF7VxFp1Drx