Repository navigation
feat: ship a harness for coding agents, with uikit:colors - #1643
Merged
Merged
Conversation
pnpm passes a --version flag to pnpm add, which prints pnpm's own version and changes nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
0.0.0-snapshot.388f62a is Glaze 3.0.1 plus harness/ (tenphi/glaze#113): no library change, the palette resolves as before. Replace it with the Glaze release before merging. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
harness/ ships in the package for projects that use harnesspm. It extends @tenphi/glaze, so Glaze's colors rule, docs, theme skill and tools reach UI Kit's consumers, and patches the rule's 'Where colors come from' section for apps on UI Kit's palette. It adds one always-on UI Kit rule, the docs index prepare-docs writes at pack time (guides, components and Tasty pages; Glaze's pages come with Glaze's own index), and uikit:tokens, which lists palette tokens by their Tasty names with values in all four schemes and contrast against their base, through Glaze's measuring module. src/harness.test.ts guards what harnesspm's check would, since harnesspm is not in CI yet. A 'harness' kind in the CI planner runs the specs and the canary for it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
uikit:tokens lists the legacy aliases (#dark, #danger-text, …) as rows pointing to the token each stands for, with its values, so an agent reading old code finds the real token instead of making a new color. UI Kit's color guidance moves into its own rule, renamed uikit:rules/usage, and the Glaze patch only replaces Glaze's conflicting section. The docs index lists each page once and groups the root components on their own. A package test runs the tool from the tarball and checks every index link, and the docs say that Glaze's tools need @tenphi/glaze trusted too. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
The alias rows covered every name getColorTokens() defines by value or reference, so #current-fill, #clear, #pink and the #fixed-* tokens were called legacy and agents were told to replace them. Each row now only shows what the alias resolves to; the rule points to the Usage guide for which aliases are legacy. A literal value follows --format, and the tool and the spec read their source through one sourceFrom() helper, which the tarball test covers with an alias lookup. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
The UI Kit rule now points agents to the Usage guide for which aliases are legacy, so its table lists every one colors.ts defines: the theme text-soft, hover and desaturated names and the numbered purple ones, with the purple rows resolving to their own tokens. uikit:tokens describes the context hook current-fill as showing its default. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: fd5d31d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
📦 NPM canary releaseDeployed canary version 0.0.0-canary-55b897f. |
Contributor
🧪 Storybook is successfully deployed!
|
Contributor
🏋️ Size limit report
Compared against main at 7fa7e8a — run 43466713316, 2026-11-13T16:50:14Z. Third-party packages✅ No third-party package entered or left the bundle, and none grew more than 10 KB past its approved size. To see which modules changed, download the size-limit-statoscope-report artifact from this run and open report.html. |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Both releases ship their harness. Glaze 3.1.0 replaces the canary and exports its measuring module as @tenphi/glaze/harness/measure. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
- extends @tenphi/tasty too, and patch "Checking styles" in its rule so tasty:styles loads UI Kit's config through dist/components/Root.js. - uikit:tokens imports @tenphi/glaze/harness/measure instead of a path. - The package no longer ships docs/tasty and docs/glaze; the docs index lists UI Kit's pages only, since Tasty and Glaze bring their own. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
tenphi
marked this pull request as ready for review
November 12, 2026 16:04
The harness's `docs` points at `src/`, and the package ships the Storybook pages (`src/**/*.docs.mdx`) and the Modern Form guides there, so harnesspm indexes them as they are. prepare-docs.mjs, cleanup-docs.mjs and the prepack/postpack hooks are gone, and so are the generated docs/components, docs/*.md and docs/llms.txt. The Modern Form guides move next to ModernForm.docs.mdx, which embeds one. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
The patched "Checking styles" section named only UI Kit's Root.js, so an agent in an app that configures Tasty further (Cube Cloud) would miss the app's config. It now adds --setup for each app module that calls configure(), and says to run the tool from the package in a monorepo. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
tasty:styles now renders with the copy of Tasty the --setup modules configure, resolves package paths from the current package, and warns when the setups configure two copies. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
Both releases fix what this repo had worked around: - harnesspm 0.4 writes a managed block Prettier leaves as it is, so the prettier-ignore wrapper is gone. - With `CI=true`, the install's sync no longer rewrites committed files, so the lint job runs `harnesspm sync --check` instead of the `git status --porcelain` step. - harnesspm keeps a `CLAUDE.md` import next to every nested `AGENTS.md` now; the six existing files stay as they are. - The lock no longer records UI Kit's own version, so a release no longer makes it stale. - eslint-plugin-tasty 1.19.1 runs `tasty-lint:check` and the edit hook with `.oxlintrc.json` and honors `oxlint-disable` comments: on Button.tsx it now reports what oxlint reports (0 problems, 6 before). The repo patch keeps only UI Kit's exception spelling. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
`uikit:tokens <part> --on <token>` measures each listed token on another surface, in light, dark and both high-contrast schemes, with Glaze's `measurePair` on the palette's values in each scheme. A token with a floor against its own base is held to the same floor and metric there, so ✓ means it still meets it on that surface; a token without a floor shows its WCAG ratio and the best WCAG level it reaches. A translucent token or alias is not measured, and a translucent surface is refused. The row is left out on the token's own base, which the "vs" row already measures. `--json` carries the measurements as `on`. The rule mentions `--on`, the spec covers the floor, a token without one, a translucent alias and the table, and the packed-build test runs it from the tarball. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
The tool lists only color tokens, while Tasty tokens also cover sizes, spaces and presets, so the name says what it looks up. It is plural because `glaze:color` already resolves one standalone color. - The script is `uikit:colors` (`uikit:scripts/colors`, `colors.mjs`), and its description mentions `--on`. - The rule and the repo patch say "a color token". - The managed block and the lock follow through `harnesspm sync`. The tool is unreleased, so nothing else refers to the old name. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7Ed6WF7j8cpXBKzCuV
harnesspm 0.4.1 also checks the frontmatter of docs pages in `harnesspm check`. UI Kit's harness passes it. `harnesspm sync` updated the lock and the version in the AGENTS.md managed block. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
`settle()` awaited every running animation with `Promise.all`. When a style change cancels a transition and starts another, the cancelled one's `finished` rejects with "AbortError: The user aborted a request.", so the spec failed, as it did twice in CI on "with keyboard focus on the selected segment". It also read styles before the replacing transition ended. Now it waits for each running animation with `Promise.allSettled` and checks again until none runs, as `LayoutPanelTransition` already does. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
UI Kit's harness indexes `docs: "../src"`, and harnesspm hashes every file in a docs folder, so the spec fix changed the `uikit:docs` hash. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
harnesspm 0.4.2 hashes a docs unit by its llms.txt and its .md and .mdx pages only (tenphi/harnesspm#15). UI Kit's harness indexes `docs: "../src"`, so before, every change to a component or test file made the lock stale and failed `harnesspm sync --check` in CI. `harnesspm sync` rewrote the `uikit:docs` hash once, and harnesspm's own docs and skills hashes for the new version. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Gr8S7GamurMRrRt4fBQ4Zy
This was referenced Nov 16, 2026
Merged
This branch was successfully deployed
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.
Describe changes
UI Kit now ships a harness for coding agents in
harness/, inside the npm package, for projects that use harnesspm. It passes on the harnesses of Tasty, Glaze and, when the project installs it, the Tasty lint plugin. It adapts Tasty's and Glaze's with a patch each, and adds a tool built on Glaze's public measuring module. Everything is config: no build step writes harness files.It pins
@tenphi/glaze3.1.0 and@tenphi/tasty3.19.1, the releases that ship their harnesses (tenphi/glaze#113, tenphi/tasty#459, tenphi/tasty#462). Neither release changes library code, so styles and the palette resolve exactly as before.@tenphi/eslint-plugin-tasty^1.19.0 is a new optional peer (tenphi/eslint-plugin-tasty#158).extends@tenphi/tastyand@tenphi/glaze: Tasty's styles rule, docs index andtasty:styles; Glaze's colors rule, docs index,glaze-themeskill andglaze:inspect/glaze:color/glaze:contrast. They reach apps that never depend on Tasty or Glaze directly.extendsan optional peer@tenphi/eslint-plugin-tasty. A project that installs the plugin gets itstasty-lintharness: a rule to lint the styles an agent changes, a page for everytasty/*rule,tasty-lint:check, and a Claude Code hook that lints each file the agent edits. harnesspm 0.2.0+ skips a missing optional peer quietly, so projects without the plugin see nothing.patchtasty:styles '<json>' --setup @cube-dev/ui-kit/dist/components/Root.js, plus--setup <file>for each app module that callsconfigure(); in a monorepo, run it from the package.uikit:rules/usageForm.useControllerfor new forms, Tasty with UI Kit's tokens, colors are#namepalette tokens, never raw values.docs: "../src"src/**/*.docs.mdx) plus the Modern Form guides, and harnesspm indexes them by their#titles: 127 pages, for the installed version. No docs build:prepare-docs.mjs,cleanup-docs.mjsand theprepack/postpackhooks are gone.uikit:colors@tenphi/glaze/harness/measure. With--on <token>, it also measures them on another surface, held to each token's own floor. It lists only colors, while Tasty tokens also cover sizes and presets, hence the name;glaze:coloralready names Glaze's one-color tool. It was calleduikit:tokensin the agent runs below.How it looks in an app that depends only on
@cube-dev/ui-kit🧹 The lint plugin's harness through UI Kit
Checked end to end on the packed build with harnesspm 0.3.0 and the plugin 1.19.0 from npm:
syncprints no warning; notasty-lintsection;harnesspm doctor: ✅ ready.tasty.config.ts:extends: '@cube-dev/ui-kit')tasty-lint:rules/usage, its docs index (45 rule pages) andtasty-lint:check. Trusted,.claude/settings.local.jsongets thePostToolUsehook.tasty-lint:check src/Card.tsxreports a raw#ff6600in a file that importstastyfrom@cube-dev/ui-kit, through UI Kit'simportSources. Fed a Claude CodeWriteevent for that file, the hook exits 2 with the problem and its rule page, in 0.8 s.The tool and the hook run the plugin through ESLint's API, so they need
eslintinstalled, also in a project that lints with Oxlint. The Usage guide says so.tasty:styleswith UI Kit's and the app's configSince Tasty 3.19.1 the tool renders with the copy of Tasty the
--setupmodules configure, and resolves package paths from the current package. In a pnpm monorepo shaped like Cube Cloud (three packages on this build, each with its ownconfigure()):consolex = var(--gap),@dark,@hc, …) + console's (cw = 12px,@wide)admincw = 10px, anadmin-panelrecipe)legacy@tenphi/tasty(3.19.1 gotRoot.js, 3.18.0 got the app's setup), and the app runs both copies tooharnesspm wrote the shared UI Kit, Tasty and Glaze units once, in the root
AGENTS.md, as spec 3.6 says.uikit:colors--on <token>measures each token on another surface, in every scheme, with Glaze'smeasurePairon the palette's values there. A token with a floor against its base is held to the same floor, so ✓ means it still meets it on that surface. A token without a floor shows its WCAG ratio and the best level it reaches (—below AA-large). A translucent token or alias is not measured, and a translucent surface is refused.🤖 Live agent runs
Headless Claude Code, in a fresh app with the packed build, with tasks that never mention harnesspm or the tools:
tasty()component instead of restyling the protectedBadgeandTag;uikit:colors(thenuikit:tokens);dsl.mdfrom Tasty's own index;tasty:styles --setup @cube-dev/ui-kit/dist/components/Root.js.warningfirst, used only palette tokens, and measured its pair withglaze:contrastin all four schemes.tasty/*problem back to the agent, which handled it.Other changes
package.json:filesaddsharness,src/**/*.docs.mdxand the Modern Form guides. It drops the generateddocs/components,docs/*.mdanddocs/llms.txt, and the copies indocs/tastyanddocs/glaze. Thedocs/tastyanddocs/glazesymlinks are gone: this repo reads Tasty's and Glaze's docs through harnesspm too (see below).@tenphi/eslint-plugin-tasty: an optional peer^1.19.0, and the devDependency moves from^1.14.0to^1.19.1.@tenphi/harnesspm^0.4.2is a devDependency too, forpnpm check:harnessand the repo's own harness. UI Kit's own oxlint run reports the same 533 warnings and no errors as on 1.14.0.docs/tosrc/components/form/Form/, next toModernForm.docs.mdx, which embeds the guide. Links intoscripts/(never shipped) now point to GitHub.harnesskind; thedocs-guidekind follows the guides to their new path.AGENTS.md: the harness section (with the optional peer), the Tasty and Glaze docs sections, and theupdate-tasty/update-glazenote (npm_config_version=X.Y.Z pnpm run update-glaze). The harness section and the note now live indocs/rules/harness.mdanddocs/rules/commands.md(see below).Tabs/segmentedandToggleGroup/joined: theirsettle()helper waited on every animation withPromise.all. A transition that a later style change cancels rejects itsfinishedwithAbortError: The user aborted a request., which failed "with keyboard focus on the selected segment" twice in CI on this PR, in a spec the PR does not otherwise touch. It also read styles before the replacing transition ended.settle()now waits withPromise.allSettledand checks again until nothing runs, asLayoutPanelTransitionalready does. Test-only, so no changeset.🏠 harnesspm in UI Kit's own repo (folded from #1655)
Agents that work on UI Kit now get the harnesses of Tasty, Glaze and the Tasty lint plugin from the installed versions, through harnesspm, as consumers do. UI Kit's own
harness/is the project layer here, so contributors see what consumers see, plus four patches for this repo. This part changes nothing consumers get: it leavesfilesalone, andpreparedoes not run on a registry install.harnesspm init, run as a person:prepareis nowhusky install && harnesspm sync, plusharnesspm.json,harnesspm.lock.jsonand a rootCLAUDE.mdwith@AGENTS.md.harnesspm.jsontrusts@tenphi/tasty,@tenphi/glazeand@tenphi/eslint-plugin-tasty(ours), sotasty:styles,glaze:*,tasty-lint:checkand the lint-on-edit hook run here.uikit:colorscomes from the project layer, which is trusted already.harnesspm/patches/. Each shipped text is right for consumers and misleads only here, wheredist/is missing or stale, UI Kit is the palette, and lint runs on Oxlint:uikit:rules/usage, Stylinguikit:colorsdist/. Patched:pnpm probe tokens --filter <part>glaze:rules/colors, both sectionsglaze:inspectsrc/tokens/palette.ts.glaze:inspectcan't load it (imports without extensions, andgetPalette()builds it), so diffpnpm probe tokens --jsonin all four schemes and runpnpm test -- src/tokens.glaze:colorandglaze:contraststay.tasty:rules/usage, Checking stylestasty:styles … --setup @cube-dev/ui-kit/dist/components/Root.jspnpm probe styles '<json>'tasty-lint:rules/usage, Exceptionseslint-disable-next-line(Oxlint's form works too)// oxlint-disable-next-line tasty/<rule> -- <reason>. Since eslint-plugin-tasty 1.19.1,tasty-lint:checkand the edit hook read.oxlintrc.jsonand honoroxlint-disablecomments: onButton.tsxthey report what oxlint reports, 0 problems (1.19.0 reported 6).docs/tastyanddocs/glazesymlinks are gone.AGENTS.mdpoints at the two docs indexes in the managed block, anddocs/rules/review.mdandprobe.mdlink pages through harnesspm's stable paths (node_modules/.harnesspm/pkgs/@tenphi/…).update-tasty/update-glazekeep the version bump, then runharnesspm sync, becausepnpm addruns noprepare.CLAUDE.mdfiles. With a rootCLAUDE.md, Claude Code reads onlyCLAUDE.mdfiles and skips nestedAGENTS.md(docs). So each of the five folders with anAGENTS.mdgets aCLAUDE.mdwith@AGENTS.md. Since harnesspm 0.4.0,syncwrites these imports itself andsync --checkreports a missing one.prettier-ignorewrapper, which is gone.pnpm install --frozen-lockfile, the lint job runspnpm exec harnesspm sync --check. Since harnesspm 0.4.0, the install'ssyncleaves committed files alone underCI=true, so--checkcatches a PR that forgot to sync. (With 0.3.0 the install rewrote them first and--checkpassed anyway, so this PR used agit status --porcelainstep until 0.4.0.) The lock no longer records UI Kit's own version, so a release no longer makes it stale. Since harnesspm 0.4.2, theuikit:docshash covers only the docs pages, so a change to a component or test file undersrc/no longer makes the lock stale either; a.docs.mdxchange still does. The planner readsharnesspm.json,harnesspm.lock.jsonandharnesspm/asrepo-notes, andCLAUDE.mdfiles asnotes.acceptEditsonly, it made the padding edit and the lint hook fired (no new problem). Then it stopped:pnpm installandpnpm probeneed approval here.pnpm install,pnpm rebuild esbuild,pnpm probe *andpnpm exec oxlint *allowed (20 tool calls, 87 s), it usedpnpm probe tokens(the UI Kit patch) and measured 8 pairs withglaze:contrast(Glaze's rule). It made the edit, with the hook firing again, checked the CSS withpnpm probe renderand linted withpnpm exec oxlint(the lint patch): clean. It kept the disabled color, with a measured reason (no palette text token beats#surfaceon that fill in dark mode, 4.55:1), and proposed changing the fill instead. It never opened a docs index or Tasty'sai-agents.md, and never used theglaze-themeskill, the color lookup ortasty:styles.Verified in #1655:
pnpm lint,pnpm test:types,pnpm check:harness, the planner and harness tests, the full suite,harnesspm sync --check, andharnesspm doctor(✅ ready). The findings for harnesspm and the lint plugin are listed there.📏 AGENTS.md slimmed for Codex
Codex joins
AGENTS.mdfiles only up toproject_doc_max_bytes, 32 KiB by default, and cuts off the rest (docs). UI Kit's text alone was 40.9 KiB before this PR, so Codex stopped inside "Tasty and Glaze Documentation" and missed the rest of UI Kit's rules and the whole managed block. Now the sections only some tasks need live indocs/rules/pages with their text, andAGENTS.mdkeeps one line per page that says when to read it.pnpm exec harnesspm status:storybook,build,test,test:once,probe,fix, andaudit-docs,audit-defaultsandgenerate:tasty-config, which a component change must run)docs/rules/commands.mddocs/rules/commands.mddocs/rules/harness.mddocs/rules/linear.mddocs/rules/ci.mddocs/rules/coding.md. A short summary stays, with the:has(~ X)rule, so theAGENTS.md → Stylingcomments inListBoxstill hold.docs/rules/storybook.mdhas all three in full, and its line in "Rules" says to read it before you add or change a story.What stays always-on: what the repo is, Before You Start, the rules index, Entropy, browser support, changesets, imports, React Compiler, the probe and the screen reader, project structure, the everyday commands, Tasty and Glaze docs, stack, i18n, TypeScript & Exports and testing.
docs/rules/review.md(3 Styling links →coding.md), theimplementskill (5 Linear links, Snapshot Budget, Bundle Size, CI), thecreate-ticketskill,CONTRIBUTING.mdand the PR template now point at the new pages.src/is untouched.docs/rules/is alreadyrepo-notes, so the new pages run onlyLint, types & diagnostics.pnpm lint,pnpm exec prettier --checkon the changed Markdown,pnpm check:harness,harnesspm sync --checkandharnesspm doctor(✅ ready), the planner and harness tests (63), the full suite (pre-push), and a check that every relative link and anchor inAGENTS.md,CONTRIBUTING.md,docs/rules/and the two skills resolves.Checklist
Other information
Verification
pnpm test:once: the full suite passes.pnpm test:typesandpnpm lintpass.pnpm build, pack (no pack-time script) andpnpm test:package: incl.src/shipping only doc pages, and Tasty'stasty:styleswith the--setupthe patch names, on the packed build.src/harness.test.tschecks both patches against the headings of the pinned Tasty and Glaze rules, and that everyextendsentry is a dependency or an optional peer.AGENTS.mdwithout the wrapper;CI=true pnpm exec harnesspm sync --checkandharnesspm doctorpass;tasty-lint:checkandpnpm exec oxlintagree onButton.tsx; the planner (55) and harness (8) tests pass.uikit:colors --on: 4 new specs insrc/harness.test.ts(the floor carried over and checked againstmeasurePair, a token without a floor, a translucent alias, the table), andpackage-tests/artifacts.test.tsxruns it from the tarball. After the rename,harnesspm why uikit:scripts/colorsnamescolors.mjs, and the managed block,sync --checkanddoctoragree.harnesspm checknow also reports docs pages with invalid frontmatter, and all of UI Kit's 127 pages pass it.CI=true pnpm exec harnesspm sync --check, and an edit to a.docs.mdxpage still fails it.syncrewrote theuikit:docshash once, and harnesspm's own docs and skills hashes; Glaze's and Tasty's stayed.harnesspm check,harnesspm doctor(✅ ready), the planner and harness tests (67),pnpm lintand the full suite (216 files, 5715 tests) pass.settle()fix: a Chromium probe on a transition that a later style change replaces shows the old helper rejecting with that exactAbortErrorand reading a mid-transition color, and the new one resolving after the replacement ends, on the final color. Both specs pass with the compiler on and off, and CI's failing shard (--shard=2/2, compiler off) passes locally. The CI failure itself did not reproduce locally, also under CPU load: it depends on CI's timing. With the fix, all four browser shards passed in CI.Before merging — the hold for telemetry is over: harnesspm 0.2.0 shipped opt-in telemetry and a rule template for agent reports (tenphi/harnesspm#3), and 0.3.0 added
harnesspm doctor(tenphi/harnesspm#5). harnesspm 0.4.0 (tenphi/harnesspm#9) and eslint-plugin-tasty 1.19.1 (tenphi/eslint-plugin-tasty#160) fixed what this PR had worked around, and the PR now uses them. harnesspm 0.4.1 (tenphi/harnesspm#10) makessyncwarn instead of fail on a docs page with invalid frontmatter, which matters for a package that ships its Storybook pages as docs. harnesspm 0.4.2 (tenphi/harnesspm#15) hashes a docs unit by its pages only: with 0.4.1, every UI Kit PR that changed a file undersrc/would have failedharnesspm sync --checkuntil it re-synced the lock, and parallel PRs would have conflicted on that line.Notes
uikit:colorsneeds@cube-dev/ui-kittrusted,tasty:stylesneeds@tenphi/tasty, Glaze's tools need@tenphi/glaze, andtasty-lint:checkand its hook need@tenphi/eslint-plugin-tasty./docs/<id>--docs); the index lists every page by title.docs/folder by hand readsrc/**/*.docs.mdxnow. The changeset says so.Follow-ups
yarn probeas a script of a project harness (renderand--srcover whattasty:stylesanduikit:colorsdon't).uikit:tokens. Update it when UI Kit publishes its harness, as harnesspm'sAGENTS.mdalready asks.ItemTable.stories.tsx(the keyboard-focus story'splay) awaits cell animations withPromise.alltoo, so a cancelled transition can fail that story the same way. Not changed here.Generated by Claude Code