diff --git a/scripts/verify-public-release.mjs b/scripts/verify-public-release.mjs index 93b9acd..0ee86d6 100644 --- a/scripts/verify-public-release.mjs +++ b/scripts/verify-public-release.mjs @@ -1168,9 +1168,10 @@ async function verifyPublicRoutes(baseUrl, options = {}) { assertIncludes( home.text, [ - "Judgment before components.", - "Guide interface design with your AI agent.", - "JudgmentKit gives your AI agent interaction guidance, implementation checks, and repair instructions.", + "The judgment layer for AI-generated UI", + "Stop AI from building the wrong interface.", + "A design system tells an agent how interface elements should look and behave. JudgmentKit tells it which interface the user’s work requires, what should stay hidden, and what must be repaired.", + "
Use JudgmentKit’s design system—or bring your own.
", "Keep the interface in the language of the work.", 'class="homepage-scene"', 'class="family-problem-row"', diff --git a/site/build-site.mjs b/site/build-site.mjs index 4f9f84d..df11f34 100755 --- a/site/build-site.mjs +++ b/site/build-site.mjs @@ -5906,9 +5906,10 @@ export function renderHomepage({ homepageFilmEnabled = HOMEPAGE_FILM_ENABLED } =Judgment before components.
-JudgmentKit gives your AI agent interaction guidance, implementation checks, and repair instructions.
+The judgment layer for AI-generated UI
+A design system tells an agent how interface elements should look and behave. JudgmentKit tells it which interface the user’s work requires, what should stay hidden, and what must be repaired.
+Use JudgmentKit’s design system—or bring your own.
…
`. | +| Guide interface design with your AI agent. | docs/product-claims-and-evidence.md:17–19; VISION.md:31 | Preserved footer copy; guidance and checks, with the caller’s agent retaining execution. | +| JudgmentKit gives your AI agent interaction guidance, implementation checks, and repair instructions. | docs/product-claims-and-evidence.md:17–19; src/index.mjs:23229–23257 | Preserved homepage metadata describing returned guidance and review results. | | See a screen repaired; Explore examples | /value/; /examples/ | Selected curated repair artifacts and illustrative examples, not live generation. | | Risks to check; Keep the interface in the language of the work. | docs/agent-usage-contract.md:42; README.md:11–13 | A review instruction, not a claim that every table, form or button is wrong. | | Internal record labels; The user has to translate database terms into their own work. | docs/agent-usage-contract.md:42; tests/ui-generation-handoff.test.mjs:4525–4541 | Names the mismatch when source vocabulary obscures the intended activity. | @@ -26,4 +31,4 @@ The Value page labels selected curated refund artifacts and declared contract ch Docs uses “First use” without a measured time estimate. Its Quickstart states that hosted requests leave the machine and points to the existing [authorization and privacy guidance](../packages/agent-skill/judgmentkit-hosted-mcp/SKILL.md#authorization-and-privacy) for sanitized, local or self-hosted inputs. The remaining instructions distinguish contract acceptance from observed user task completion. Artifact Inspector remains proposed and `review_required` where trusted interactive attestation is unavailable. -The hero retains one eyebrow, one heading, one supporting sentence and exactly two actions. The lower page retains one three-item problem row and one five-step workflow. Historical reports, captured examples, reference specimens, artwork and CSS remain unchanged. The adversarial audit and corrections are recorded in the task’s `copy-adversarial/judgmentkit-audit.md`. +The hero retains one eyebrow, one heading, one lead, one emphasized support line and exactly two actions. The lower page retains one three-item problem row and one five-step workflow. Historical reports, captured examples, reference specimens, artwork and CSS remain unchanged. The adversarial audit and corrections are recorded in the task’s `copy-adversarial/judgmentkit-audit.md`. diff --git a/tests/site-local-server.test.mjs b/tests/site-local-server.test.mjs index 0865ba3..806dce5 100644 --- a/tests/site-local-server.test.mjs +++ b/tests/site-local-server.test.mjs @@ -714,7 +714,7 @@ try { ); assert.match(main, /^\s*Use JudgmentKit’s design system—or bring your own.
")); +assert.ok(homepage.includes('name="description" content="JudgmentKit gives your AI agent interaction guidance, implementation checks, and repair instructions."'), "preserve the existing metadata during the requested masthead-only restoration"); assert.ok(homepage.includes('')); assert.doesNotMatch(homepageMain, /choose the right interface|before the work ships|one short loop|Where AI goes wrong/); -assert.equal((homepageHeroCopy.match(/