Repository navigation
feat(ai): a product's landing page starts from its world - #546
Merged
lorant-one merged 1 commit intoNov 17, 2026
Merged
Conversation
The marketing-hero bundle opens with a "find the world first" step (recipes.md #9): a direction card, three worlds without the name pun or the house default, a first screen that shows the product's work, and the swap test. The template hero is one option, not the default. Rules allow hex in seeds and in a hero scene's artwork (named classes in one scoped sheet), and put that scene outside the ambient-layer budget. Gotchas for a display face that never reaches Heading and a StyleScope that paints no background. The validator's style match no longer runs past a cast style value into a StyleScope config, and accepts a Mascot's color. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
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.
Before: the marketing-hero bundle handed an agent the template hero (text-effect headline, CTA pair, logo cloud, glow) as the gold example and the default. Asked for something "unique", every model drew the same page. Hex was banned everywhere, even in a hero scene's artwork. The validator flagged a
StyleScopeconfig's hex seeds whenever an earlierstylevalue in the file was cast withas CSSProperties.After: the bundle opens with a "Start here: Brand world" step, which is recipes.md #9. It asks for a direction card and three worlds, dropping the name pun and the house default (charcoal, one orange, Fraunces, a tilted card). The first screen shows the product's work, and the page is checked with the swap and category tests. The template hero stays as one option.
How:
recipes.mdfix: resolve TurbopackInternalError - Next.js package not found #9 holds the brand-world step. A task's newfirstfield renders its recipes at the top of the bundle; marketing-hero uses it, addsStyleScope, and gets a new description and quality line.rules.compact.mdandrules.mdallow hex in seeds and in a hero scene's artwork: named classes in one sheet, scoped under the page class. The scene is outside the one-ambient-layer budget.StyleScope.headingFont:heading: "var(--font-heading)"names itself, so headings fall back to the body sans.StyleScope.paint: a StyleScope paints no background, so a light paper card shows dark on dark.hasLiteralColorreads astyle={…}value only up to its own closing brace. The old pattern stopped at the next}}anywhere in the file. It also skips*Seedprops and aMascot'scolor. A test covers both.Checks: the AI harness tests pass (876), the lint gate is at its baseline, and the validator was re-run on the 18 benchmark builds. Its colour flags now come only from real stray hex: a
style={{ color: "#120d0a" }}, and the Tailwind builds' inline SVG.Generated by Claude Code