feat(copy): tokenize hero CTA + proof-card titles as enforced micro-copy#85
Merged
Conversation
First slice of prx-gwr8. Promotes four micro-copy strings to canonical content/strings.json tokens, each asserted by a @marketing scenario in the new content/marketing.feature. content.mjs --check now enforces both directions — the page can't drift from the token, and the token must appear on the page (copy coverage 7/7). Copy stays readable inline; the token is the source of truth (no templating, no placeholders — the project's Gherkin- coverage model, same as the brand tagline/description). Tokens: cta-read-bet, proof-{guest-room,prx,claude-box}-title. Long body prose (hero lead, the bet, honesty lead) intentionally NOT tokenized — inline markup makes flat tokens the wrong tool; it stays audited via the string-audit catalog. Remaining micro-copy (section eyebrows, existing untokenized labels) follows this same recipe. content/build/structure/semantic/shacl/reader/seo verified green locally. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
First slice of prx-gwr8 — promotes four micro-copy strings to canonical
content/strings.jsontokens, each asserted by a@marketingscenario in the newcontent/marketing.feature.content.mjs --checknow enforces both directions: the page can't drift from the token, and the token must appear on the page (copy coverage 7/7). Copy stays readable inline — the token is the source of truth. This is the project's existing Gherkin-coverage model (same mechanism as the brandtagline/description), so no templating or placeholders.Tokens:
cta-read-bet,proof-{guest-room,prx,claude-box}-title.Scope / rationale (your tokens question)
<strong>/<em>/<a>) makes flat tokens the wrong tool; it stays audited via the string-audit catalog.Verification (native nix)
content.mjs --check(token + coverage gate), build, structure-audit, semantic, SHACL, reader, seo — all green locally.🤖 Generated with Claude Code