Wave 5c — fresh-ui end product: foundation (Run 1) + design system (Run 2) DELIVERED · scaffold revamp deferred to post-5d · READY TO MERGE#30
Merged
rickylabs merged 125 commits intoJun 12, 2026
Conversation
Rescoped per user: plan the intended end product (RFC 06 + whitepaper) — composition system (DTCG/SD v5 tokens, registry v2, platform-first runtime), official design system promoted from playground, CLI generated-app revamp. Plan PROPOSED; 3 implementation runs; hand-off to PLAN-EVAL. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Add .llm/tmp/docs/ extracts for Style Dictionary v5, DTCG 2025.10, @zag-js/preact API, Tailwind CSS v4 @theme, Popover API + anchor positioning, Fresh 2.x islands/partials, shadcn registry schema v3.0, Base UI 1.0 contract, React Aria patterns, and OKLCH ramp derivation. Co-Authored-By: Kimi K2.6 <kimi-k2.6@moondshot.cn>
Write plan-eval.md covering D-1..D-13 with evidence pointers. Plan-Gate checklist PASS. Open-decision sweep: no deferred decision forces rework. Amendments: D-4 (+cssVars/+author), D-11 (scaffold spec in design-appendix). Popover fallback: CSS fixed-position, not OddBird polyfill (drift D-7). Co-Authored-By: Kimi K2.6 <kimi-k2.6@moondshot.cn>
…e, tier matrix) Add design-appendix.md with implementation-grade specs: - A. Scaffolded app full spec: file tree, route table, dynamic contract, starter collection, styles aggregation, playground-parity checklist, glue whitelist. - B. Registry v2 concrete: TypeScript schema draft, 2 worked examples, ui:add resolution algorithm step-by-step. - C. Token pipeline concrete: tokens/ layout, SD v5 config draft with custom @theme bridge format, deno task wiring, tokens-drift gate behavior, phase-1 parity proof method. - D. Runtime tier matrix: per-component engine assignment, migration risk, hook-shape preservation. Popover fallback decision: CSS fixed-position. - E. Runs 2-3 re-slice: 12 and 16 slices respectively, gate-evidence columns. Co-Authored-By: Kimi K2.6 <kimi-k2.6@moondshot.cn>
- Flip plan.md header to LOCKED v2; summarize amendments at top. - D-4: registry schema v2 adds cssVars? and author? fields. - D-2: anchor-positioning fallback = CSS fixed-position (OddBird rejected). - Runs 2-3 re-sliced to table form (<=16 slices each) with gate-evidence. - drift.md: add D-7 (polyfill rejected) and D-8 (schema amended). - worklog.md: record PLAN-EVAL session evidence. Co-Authored-By: Kimi K2.6 <kimi-k2.6@moondshot.cn>
Commit sequence for PLAN-EVAL session: - 0ab2063: aggregate dependency + pattern extracts - 7ecf7ea: plan-eval matrix + decision verdicts - 2c1fa23: design deepening (scaffold spec, registry v2, token pipeline, tier matrix) - dfe7ce2: plan v2 amendments + re-sliced runs 2-3 + LOCK Co-Authored-By: Kimi K2.6 <kimi-k2.6@moondshot.cn>
Owner
Author
PLAN-EVAL Verdict: PASS (v2 LOCKED)PLAN-EVAL session completed for Wave 5c. The proposed plan passes with three amendments. Amendment list (one line each)
Evidence highlights (5 strongest facts)
What implementation runs 5c1–5c3 may now rely on
Plan is LOCKED v2. No further planning needed before run 1 implementation begins. |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Model: GPT-5 Codex
Model: GPT-5 Codex
Model: GPT-5 Codex
Model: GPT-5 Codex
Model: GPT-5 Codex
Model: GPT-5 Codex
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Co-Authored-By: GPT-5 Codex <codex@openai.com>
…-5c2-design-system Run 5c2: Official design system
Union resolution: sdk (5b) and fresh-ui fmt (5c2) both lifted into root gates; only packages/fresh (+cli where applicable) remains excluded. arch:check takes the umbrella's check-doctrine.ts composite. Validated: root check 1431 files / 0 errors; fmt:check 933 / 0 findings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
rickylabs
marked this pull request as ready for review
June 12, 2026 20:45
|
This pull request is too large for Augment to review. The PR exceeds the maximum size limit of 75000 tokens (approximately 300000 characters) for automated code review. Please consider breaking this PR into smaller, more focused changes. |
rickylabs
added a commit
that referenced
this pull request
Jun 12, 2026
Co-Authored-By: Claude Fable 5 <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.
✅ STATUS (2026-06-12): Runs 1–2 COMPLETE & MERGED INTO THIS BRANCH — READY TO MERGE INTO THE UMBRELLA
This PR began as the 5c research + design + 3-run plan (original plan body preserved below). Since then:
registry/theme/artifacts with drift gate), registry v2 manifest/schema, platform-first runtime (native<dialog>, Popover API + CSS anchor positioning),ui:init/ui:addCLI path.ui:addconsumer; living reference routes/design/{tokens,components,composition}; two new fitness gates (check-ds-no-raw-hex.ts,check-ds-color-utilities.ts, both with negative tests); reduced-motion policy across all animated registry CSS; copy-fidelity sweep (content identity modulo CRLF + island import depth); final-form README +docs/l0-conventions.md+docs/theme-authoring.md; root check/lint/fmt clean;deno publish --dry-runPASS incl. slow types.deno.jsonroot-gate conflict resolved as the union (sdk and fresh-ui fmt both lifted into root gates; onlypackages/fresh+cliremain excluded;arch:check→check-doctrine.ts). Validated: root check 1431 files / 0 errors, fmt:check 933 / 0..llm/plans/2026-06-12-fresh-ui-doctrine-plan.md, C-1…C-12 incl. docs-scaffold/doctests and the Zag adoption ADR spike) and the follower-model playbook (.agents/skills/fresh-ui-horizontal/SKILL.md).The full CLI scaffold app — the frontend rewrite with a public-facing, TanStack-starter-level feature showcase — happens after Wave 5d (
@netscript/fresh) merges. Rationale: the scaffolded app must compile all recent improvements together (5a service + 5b sdk + 5c fresh-ui design system + 5d fresh DSL/builders/forms/query/streams) in the most quality-structured and exhaustive way possible; scaffolding it against a pre-5dfreshsurface would bake in a surface we are about to re-architect. The original 5c3 gate ("hard-gates on 5b merge") is superseded: it now gates on 5d merge and will run as its own sub-wave with the doctrine cleanup plan folded in.Consequence: nothing else is pending on this branch → this PR can be merged into
feat/package-quality-wave5-appsnow. Merging it unblocks 5d, which consumes fresh-ui's form seams (5d-5) and the design-system surface.Original plan hand-off (historical)
Generator hand-off for sub-wave 5c, rescoped by the user from "package quality pass over fresh-ui" to: plan the intended end product per RFC 06 + NETSCRIPT-UI-WHITEPAPER — composition system, official NetScript design system, and total revamp of the CLI-generated frontend output.
Artifacts (
.llm/tmp/run/feat-package-quality-wave5-apps--5c-fresh-ui/)research.md— 3-tier current-state inventory (fresh-ui package / playground / CLI templates + legacy generated app) + external research with sources (Base UI 1.0, shadcn CLI 3.0 registry, DTCG 2025.10 + Style Dictionary v5, official@zag-js/preact, Popover API / anchor positioning Baseline status, Tailwind v4 @theme)design.md— the end-product architecture: one distribution chain (DTCG → SD v5 → generated CSS artifacts → registry v2 →ui:init/ui:add→ apps); playground + starter app as two consumers of one registry; platform-first runtime behind Zag-shaped contractsplan.md— 13 decisions (D-1…D-13), 3-run split (5c1 foundation — 16 slices; 5c2 design system; 5c3 scaffold revamp — now deferred to post-5d, see status above), gates incl. two new fitness checksdrift.md— 6 entries incl. two whitepaper amendments (Zag-everywhere → platform-first; literal L0 → contract), the resolved RFC 06 token statement, and the no-ui-primitives-split decisionKey decisions (all held through implementation)
<dialog>, Popover API + anchor positioning) for overlay/disclosure components; official@zag-js/preactonly for machine-class components (post-spike, ADR in doctrine plan C-12); all behind one Zag-shaped prop-getter contract.--ns-*consumer contract invariant. Resolves the RFC 06 deferred statement.netscript ui:init/ui:add(44 items shipped, manifest schema v2).netscript initinstalls from the registry instead of shipping forked templates — deferred to post-5d (see status).@netscript/ui-primitivessplit (drift vs whitepaper, rationale recorded).🤖 Generated with Claude Code