fix: make the footer script dependency read contract-based (render-once D6)#2041
Merged
Conversation
✅ Deploy Preview for gethinode-demo ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Read module dependencies from the union of the page Scratch and Store (mod-utils v6.6.0 dual-writes both) and materialize .Content before the read in the optional bundle, which is the only consumer. The guard makes the post-body read a contract instead of an ordering accident; .Content is cached, so it is cheap. The critical/functional calls render in the head and must not touch .Content. Part of render-once slice D6 (design 2026-07-15, section 4.4). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
markdumay
force-pushed
the
fix/render-once-d6-defer-module-css
branch
from
July 16, 2026 16:04
6d1457f to
2e53e7e
Compare
markdumay
enabled auto-merge
July 16, 2026 16:09
Collaborator
Author
|
🎉 This PR is included in version 3.2.11 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Render-once program — slice D6, shipped subset (HELD for maintainer review)
Part of the Hinode render-once implementation program (design:
gethinode.com
docs/superpowers/specs/2026-07-15-content-render-once-design.md§4.4/§6-D6).Changes
optionalbundle's module-dependency read now (a) materializes.Contentfirst ({{ $_ := .Content }}, cached — contract instead of ordering accident) and(b) reads the Scratch ∪ Store union (mod-utils ≥6.6.0 dual-writes). The critical/functional
head-side calls deliberately do NOT touch
.Content(pre-flip that would shift UID numberingbuild-wide).
pinned back; attribution in the program register evidence).
Design outcomes recorded (maintainer decisions 2026-07-16)
templates.Deferhead-CSS block is structurally impossible: deferred outputsplices unminified into minified pages, and
resources.PostProcess(stylesheet.html, everyproduction build) is forbidden inside deferred templates. The head consumer fix moves to D8 as
a
.Contentguard + union read (byte-neutral post-flip).RelPermalink+Store, so a deferredOpenGraph block would stamp the last pager's URL on all pager pages. The paginator Store
plumbing is retired in D9.
Gate evidence
Stock ×2 + candidate ×2: 0 ERROR, 98/26/24, WARN set identical; run-vs-run and
candidate-vs-stock ⊆ the 3-file RSS allowlist; no-description pages byte-identical.
Independently re-verified by the program driver.
pnpm testgreen.🤖 Generated with Claude Code