Skip to content

feat(aws): generation builds from the pinned release asset, not the fetch lottery (#1511) - #1514

Merged
lex00 merged 1 commit into
mainfrom
feat/1511-spec-pin-release-asset
Aug 5, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/1511-spec-pin-release-asset

Conversation

@lex00

@lex00 lex00 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

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

…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
@lex00
lex00 merged commit 9077e28 into main Aug 5, 2026
5 checks passed
@lex00
lex00 deleted the feat/1511-spec-pin-release-asset branch August 5, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant