Repository navigation
feat(aws): generation builds from the pinned release asset, not the fetch lottery (#1511) - #1514
Merged
Merged
Conversation
…etch 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 now lives as a content-addressed asset on the dedicated `aws-spec-pin` GitHub release — public download, nothing binary in git, ever. fetchSchemaZip loads it first (verified local copy under ~/.chant/spec-pin/, else the asset URL), refuses any content that does not digest to AWS_SPEC_PIN exactly (naming both digests; a bad copy is never cached), and falls back to the live fetch only for force, the accept flow, or an unreachable asset. The accept flow (CHANT_ACCEPT_AWS_SPEC=1) now bypasses the 24h cache — it must sample upstream, which is how the #1506 accept silently re-accepted morning content — and uploads the new asset via gh, degrading to printing the exact upload command when gh is absent or unauthenticated. The f05366bc asset (the #1506 accept) is uploaded. Verified cold-cache: rm -rf ~/.chant/spec-pin, then CHANT_RELEASE_GATE=1 prepack — all six checks pass with zero drift messages, and the verified copy reappears. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HDqbe9YwXqqpF7VxFp1Drx
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 now lives as a content-addressed asset on the
dedicated
aws-spec-pinGitHub release — public download, nothing binaryin git, ever. fetchSchemaZip loads it first (verified local copy under
~/.chant/spec-pin/, else the asset URL), refuses any content that does
not digest to AWS_SPEC_PIN exactly (naming both digests; a bad copy is
never cached), and falls back to the live fetch only for force, the
accept flow, or an unreachable asset. The accept flow
(CHANT_ACCEPT_AWS_SPEC=1) now bypasses the 24h cache — it must sample
upstream, which is how the #1506 accept silently re-accepted morning
content — and uploads the new asset via gh, degrading to printing the
exact upload command when gh is absent or unauthenticated.
The f05366bc asset (the #1506 accept) is uploaded. Verified cold-cache:
rm -rf ~/.chant/spec-pin, then CHANT_RELEASE_GATE=1 prepack — all six
checks pass with zero drift messages, and the verified copy reappears.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01HDqbe9YwXqqpF7VxFp1Drx