Skip to content

Phase 5b: Part II becomes data — six chapters, five new block kinds - #11

Merged
NeoVand merged 1 commit into
mainfrom
phase5b-part2
Jul 2, 2026
Merged

Phase 5b: Part II becomes data — six chapters, five new block kinds#11
NeoVand merged 1 commit into
mainfrom
phase5b-part2

Conversation

@NeoVand

@NeoVand NeoVand commented Jul 2, 2026

Copy link
Copy Markdown
Owner

What this does

Continues the block-schema migration (#10): all six Part II chapters — How steep, exactly?, Which way is downhill?, One step of descent, The learning rate γ, The bend of the bowl, Scheduling the learning rate — now live as typed block arrays in src/content/chapters/, transcribed verbatim.

Schema growth (each maps cleanly to a print environment):

  • recipe — the imperative blockquote ("Nudge. Measure the response. Divide.")
  • list — the ▸-marker bullet lists
  • display gains center
  • conceptOverlay — the full-bleed concept box (the gradient-field figure that briefly broke last week is now a first-class block)
  • proof — recursive: proof-register paragraphs, centred displays, its own figures; the renderer seals the last paragraph with the ∎ automatically
  • widget — interactive islands with no direct print analogue; the schedule gallery is the first (the race will follow)
  • Rich gains {blue:…}/{red:…} ink spans for the app's two marker arrows
  • GuideBlocks takes a demo override for chapters whose CTA isn't their chapterPreset (ch-schedule keeps its "Watch Lion orbit, then land" Lion experiment)

Figures untouched: the ten Part II visuals (secant sweep, both WebGL 3-D figures, the downhill arrow field, the vector concept, the proof cosine, the γ triptych, bend + regime figures, the schedule grid) moved as-is into the chapter shell's snippets — same compute, same scope, same pixels.

Verified

  • Rendered text of all nine migrated chapters is byte-for-byte identical to main in both themes (33,164 chars dark / 33,186 light, captured live via git stash)
  • Computed-style spot checks on every new kind — overlay grid columns/padding, recipe border, knob-bullet markers, proof-box formula margins — the check added after last week's specificity regression
  • 194 tests green, svelte-check 0 errors/0 warnings, build clean

Part III + IV (optimizer cards as blocks, the race as a widget) and the zoo/reference chapters come next; then the figure compute/render split and the emitter.

🤖 Generated with Claude Code

The walking-downhill part (derivative, gradient, step, learning rate,
curvature, schedules) migrates from markup to block arrays, verbatim.

Schema growth, all print-ready:
- recipe (the imperative blockquote), list (knob-bullets), display
  gains center, conceptOverlay (the full-bleed gradient-field box),
  proof (recursive: proof-register paragraphs, centred displays, its
  own figures — the renderer seals the last paragraph with the ∎),
  widget (interactive islands; the schedule gallery is the first)
- Rich gains {blue:...}/{red:...} ink spans for the app's two arrows
- GuideBlocks takes a demo override for CTAs that aren't the slug's
  chapterPreset (ch-schedule's Lion experiment keeps its label)

The ten Part II visuals (secant sweep, slices/gradient WebGL, downhill
field, vector concept, proof cosine, γ triptych, bend, regime dots,
schedule grid) moved unchanged into the chapter shell's snippets, so
their styles keep HelpModal's scope and their compute stays put.

Verified: rendered text of all NINE migrated chapters byte-identical
to main in both themes (33,164 / 33,186 chars); computed-style spot
checks on the new kinds (overlay grid, recipe rule, knob-bullet
markers, proof margins); 194 tests, svelte-check clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploying gradient-lab with  Cloudflare Pages  Cloudflare Pages

Latest commit: 77f5115
Status: ✅  Deploy successful!
Preview URL: https://09a4f1e1.gradient-lab.pages.dev
Branch Preview URL: https://phase5b-part2.gradient-lab.pages.dev

View logs

@NeoVand
NeoVand merged commit 8db3d36 into main Jul 2, 2026
2 checks passed
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