From 44c6e306b17884594cf0fa33aa25ff680038f0fb Mon Sep 17 00:00:00 2001 From: Jaime Still Date: Sun, 29 Nov 2026 20:16:46 -0500 Subject: [PATCH 1/4] Upgrade the pins to their latest marathon 0.25.0, chrome-headless-shell 158.0.8127.88 (checksum and size from web-app-sdk's entry), @types/node 26.6.11, eslint 10.16.0, eslint-plugin-boundaries 7.4.5, marked 18.3.0, and jdx/mise-action v5.4.0 in both workflows. Recorded under Unreleased in CHANGELOG.md: marked as the package's own dependency, the rest as the repository's tooling. --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- CHANGELOG.md | 3 + mise.toml | 6 +- package.json | 8 +- pnpm-lock.yaml | 140 +++++++++++++++++----------------- 6 files changed, 82 insertions(+), 79 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b853207..5474646 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v7.0.1 - - uses: jdx/mise-action@v5.3.0 + - uses: jdx/mise-action@v5.4.0 - name: mise run install run: mise run install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdd5893..c8fb8ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: exit 1 fi - - uses: jdx/mise-action@v5.3.0 + - uses: jdx/mise-action@v5.4.0 - name: mise run install run: mise run install diff --git a/CHANGELOG.md b/CHANGELOG.md index 76d20a3..a8bfdba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ All notable changes to `@standards-lab/web-components` are documented here. The ### Changed - The repository's tooling takes marathon 0.24.0, pnpm 12.23.0, and typescript-eslint 8.74.0. +- `marked` is at 18.3.0. +- The repository's tooling takes marathon 0.25.0, chrome-headless-shell 158.0.8127.88, + `@types/node` 26.6.11, ESLint 10.16.0, eslint-plugin-boundaries 7.4.5, and jdx/mise-action v5.4.0. ## [0.2.0] - 2026-11-22 diff --git a/mise.toml b/mise.toml index e596acc..fd25091 100644 --- a/mise.toml +++ b/mise.toml @@ -4,7 +4,7 @@ task.run_auto_install = false [tools] -"github:standards-lab/claude-plugins" = { version = "0.24.0", version_prefix = "marathon/v" } +"github:standards-lab/claude-plugins" = { version = "0.25.0", version_prefix = "marathon/v" } actionlint = "1.7.12" node = "26.13.1" pnpm = "12.23.0" @@ -12,12 +12,12 @@ shellcheck = "0.11.0" "github:microsoft/typescript-go" = { version = "7.0.2", version_prefix = "typescript/v", bin_path = "package/lib" } [tools."http:chrome-headless-shell"] -version = "158.0.8127.36" +version = "158.0.8127.88" version_list_url = "https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json" version_json_path = ".channels.Stable.version" [tools."http:chrome-headless-shell".platforms] -linux-x64 = { url = "https://storage.googleapis.com/chrome-for-testing-public/{{ version }}/linux64/chrome-headless-shell-linux64.zip", checksum = "sha256:2d3a23017323c54fd457a678e4351f895c4076d8050e39d5aa6247f93448b73a", size = "132087165" } +linux-x64 = { url = "https://storage.googleapis.com/chrome-for-testing-public/{{ version }}/linux64/chrome-headless-shell-linux64.zip", checksum = "sha256:63401333cc587645bfaeea7f0c90958b327d249251e23954a47f30112ca23d5b", size = "132091593" } [tasks.preflight] description = "Fail naming mise run install when a tool the tasks need is missing" diff --git a/package.json b/package.json index d5500fa..b0c09ce 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "lit": "3.3.3", - "marked": "18.2.1" + "marked": "18.3.0" }, "peerDependencies": { "@standards-lab/web-foundation": "^0.4.0", @@ -27,10 +27,10 @@ "@standards-lab/web-foundation": "github:standards-lab/web-foundation#v0.4.0", "@standards-lab/web-icons": "github:standards-lab/web-icons#v0.1.0", "@standards-lab/web-tooling": "github:standards-lab/web-tooling#v0.1.0", - "@types/node": "26.6.6", - "eslint": "10.15.0", + "@types/node": "26.6.11", + "eslint": "10.16.0", "eslint-import-resolver-typescript": "4.4.5", - "eslint-plugin-boundaries": "7.4.4", + "eslint-plugin-boundaries": "7.4.5", "eslint-plugin-import-x": "4.18.1", "globals": "17.14.0", "prettier": "3.10.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f575c47..622a43d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,15 +12,15 @@ importers: specifier: 3.3.3 version: 3.3.3 marked: - specifier: 18.2.1 - version: 18.2.1 + specifier: 18.3.0 + version: 18.3.0 devDependencies: '@eslint-community/eslint-plugin-eslint-comments': specifier: 4.8.1 - version: 4.8.1(eslint@10.15.0(supports-color@7.2.0)) + version: 4.8.1(eslint@10.16.0(supports-color@7.2.0)) '@eslint/js': specifier: 10.0.1 - version: 10.0.1(eslint@10.15.0(supports-color@7.2.0)) + version: 10.0.1(eslint@10.16.0(supports-color@7.2.0)) '@standards-lab/web-foundation': specifier: github:standards-lab/web-foundation#v0.4.0 version: https://codeload.github.com/standards-lab/web-foundation/tar.gz/67b3b6cd1a60dc4ce420039a2b584961f68d201f @@ -31,20 +31,20 @@ importers: specifier: github:standards-lab/web-tooling#v0.1.0 version: https://codeload.github.com/standards-lab/web-tooling/tar.gz/24363f36750fe287250ac8b48310b6e02f22f794 '@types/node': - specifier: 26.6.6 - version: 26.6.6 + specifier: 26.6.11 + version: 26.6.11 eslint: - specifier: 10.15.0 - version: 10.15.0(supports-color@7.2.0) + specifier: 10.16.0 + version: 10.16.0(supports-color@7.2.0) eslint-import-resolver-typescript: specifier: 4.4.5 - version: 4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0) + version: 4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0) eslint-plugin-boundaries: - specifier: 7.4.4 - version: 7.4.4(@typescript-eslint/parser@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0) + specifier: 7.4.5 + version: 7.4.5(@typescript-eslint/parser@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0) eslint-plugin-import-x: specifier: 4.18.1 - version: 4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0) + version: 4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0) globals: specifier: 17.14.0 version: 17.14.0 @@ -56,7 +56,7 @@ importers: version: 6.0.3 typescript-eslint: specifier: 8.74.0 - version: 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + version: 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) packages: @@ -68,8 +68,8 @@ packages: resolution: {integrity: sha512-60eG2+BU+S6nFlNR0T4nRQn8BWdHLCB6STRa15eEWgKpNPTWrtrY5xekU9CY7DfnTmKOL901MR2ZHUsOjSCmbg==} engines: {node: '>=18.18'} - '@boundaries/policies@1.0.3': - resolution: {integrity: sha512-0PzaCmNaJQjJ9Sypdn3GXdIZ05qKedYiIglt+g3XAzFYa0ngcz59YxMgyxY4Z+Cn+Hn/MCAFCAJ5o8iOcn52yw==} + '@boundaries/policies@1.1.0': + resolution: {integrity: sha512-7Pef8ePwieXjrgTwByM5zTyevB16XVbC/ioA59D19Fp6FFBN/vusDeFq20aTsf36KGjItiIsfqW7EuWMfyutsg==} engines: {node: '>=18.18'} '@cacheable/memory@2.2.0': @@ -94,8 +94,8 @@ packages: resolution: {integrity: sha512-R76UKbvsqI68DJJVTVyqFKqU98CN4+B+acxNfEA2IFarSzP0SjtKf/3+fFiXzTyv5Fj3PxLkGHe2wnVWWMxobQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/config-array@0.23.6': - resolution: {integrity: sha512-WrTH7nioI9QPY4NZGnsywmecswJdgeq4BCM76qok9VgjTO29ZgUzUvcuJLVPYVQM4uDbaPBU0M33R9DIxI8X3w==} + '@eslint/config-array@0.23.7': + resolution: {integrity: sha512-Ix1tmZjA7/OmE7ROAfORe83hVnqlDzLpZVHFjHQt5mvLm1U03qMexpaxKqFIL362QV32SoPaZqmKQr3tdqFY2w==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} '@eslint/config-helpers@0.7.0': @@ -188,8 +188,8 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/node@26.6.6': - resolution: {integrity: sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==} + '@types/node@26.6.11': + resolution: {integrity: sha512-uUyQ2XLEz+EXh34lmS3GhKrkqn/8FU7KUiKRpk347At2bmnMVWss45yz8b4FG/tUtmV1tV/+TVkITItPROyeeQ==} '@types/trusted-types@2.0.7': resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} @@ -503,8 +503,8 @@ packages: eslint-import-resolver-webpack: optional: true - eslint-plugin-boundaries@7.4.4: - resolution: {integrity: sha512-gZxRGJH9JFIOdjx5MRCW/dYB6T6JVA9tdP58k6t2U7JHq18Ww0PVXpBnCzPitxfrP1BvaIdkSAao1UAgkSsC5Q==} + eslint-plugin-boundaries@7.4.5: + resolution: {integrity: sha512-YcDg+QJnasniSCrpZA3QZsqI74ZJXsN9XfxwkeBot48QJ7AegnsVV8yTN5TESrUnrDUyEpSu9D8XjU16FNAmWw==} engines: {node: '>=18.18'} peerDependencies: eslint: '>=6.0.0' @@ -534,8 +534,8 @@ packages: resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - eslint@10.15.0: - resolution: {integrity: sha512-+5Wg4p+ze3sG1WErYgUO/3H1IQIfFBymVUA0Fo/XTeBOLS6UQIUekpSJ8sdRkn7O7wjh84b55w/roqavH2aScg==} + eslint@10.16.0: + resolution: {integrity: sha512-Xu3PRLG/wCaZWZ20gkExUcNqL2mWWsXTR+Lln3Sof4Y9WuA678fH9hrlQ8B6UNwbTnsKdDdBYOd2jxtycXVTGQ==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} hasBin: true peerDependencies: @@ -688,8 +688,8 @@ packages: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} - marked@18.2.1: - resolution: {integrity: sha512-ii4bxCTCqqwpT86XZWgJNs+ZnAIZksmLGYMViWA7PDIXYIeNo1x6cDdX3JOip9NM/cI6p8z57FxliACboTruMA==} + marked@18.3.0: + resolution: {integrity: sha512-ed8zmPXlBb3UfGXN5iHMQyMhFpdqLgoV5umUXx/Q1R+FW3q8VpqpyoKUwlENL9appo2UMvNLURDVaT3AMOryGA==} engines: {node: '>= 20'} hasBin: true @@ -864,7 +864,7 @@ snapshots: is-core-module: 2.18.0 picomatch: 4.0.7 - '@boundaries/policies@1.0.3': + '@boundaries/policies@1.1.0': dependencies: '@boundaries/config': 1.0.3 '@boundaries/elements': 3.3.4 @@ -882,20 +882,20 @@ snapshots: hashery: 1.5.1 keyv: 5.6.0 - '@eslint-community/eslint-plugin-eslint-comments@4.8.1(eslint@10.15.0(supports-color@7.2.0))': + '@eslint-community/eslint-plugin-eslint-comments@4.8.1(eslint@10.16.0(supports-color@7.2.0))': dependencies: escape-string-regexp: 4.0.0 - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) ignore: 7.0.16 - '@eslint-community/eslint-utils@4.10.1(eslint@10.15.0(supports-color@7.2.0))': + '@eslint-community/eslint-utils@4.10.1(eslint@10.16.0(supports-color@7.2.0))': dependencies: - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.3': {} - '@eslint/config-array@0.23.6(supports-color@7.2.0)': + '@eslint/config-array@0.23.7(supports-color@7.2.0)': dependencies: '@eslint/object-schema': 3.0.5 debug: 4.4.3(supports-color@7.2.0) @@ -911,9 +911,9 @@ snapshots: dependencies: '@types/json-schema': 7.0.15 - '@eslint/js@10.0.1(eslint@10.15.0(supports-color@7.2.0))': + '@eslint/js@10.0.1(eslint@10.16.0(supports-color@7.2.0))': optionalDependencies: - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) '@eslint/object-schema@3.0.5': {} @@ -966,21 +966,21 @@ snapshots: '@types/json-schema@7.0.15': {} - '@types/node@26.6.6': + '@types/node@26.6.11': dependencies: undici-types: 8.9.0 '@types/trusted-types@2.0.7': {} - '@typescript-eslint/eslint-plugin@8.74.0(@typescript-eslint/parser@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': + '@typescript-eslint/eslint-plugin@8.74.0(@typescript-eslint/parser@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': dependencies: '@eslint-community/regexpp': 4.12.3 - '@typescript-eslint/parser': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + '@typescript-eslint/parser': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) '@typescript-eslint/scope-manager': 8.74.0 - '@typescript-eslint/type-utils': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) - '@typescript-eslint/utils': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + '@typescript-eslint/type-utils': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + '@typescript-eslint/utils': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) '@typescript-eslint/visitor-keys': 8.74.0 - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) ignore: 7.0.16 natural-compare: 1.4.0 ts-api-utils: 2.5.0(typescript@6.0.3) @@ -989,14 +989,14 @@ snapshots: - '@typescript/native' - supports-color - '@typescript-eslint/parser@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': + '@typescript-eslint/parser@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': dependencies: '@typescript-eslint/scope-manager': 8.74.0 '@typescript-eslint/types': 8.74.0 '@typescript-eslint/typescript-estree': 8.74.0(supports-color@7.2.0)(typescript@6.0.3) '@typescript-eslint/visitor-keys': 8.74.0 debug: 4.4.3(supports-color@7.2.0) - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) typescript: 6.0.3 transitivePeerDependencies: - '@typescript/native' @@ -1020,13 +1020,13 @@ snapshots: dependencies: typescript: 6.0.3 - '@typescript-eslint/type-utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': + '@typescript-eslint/type-utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': dependencies: '@typescript-eslint/types': 8.74.0 '@typescript-eslint/typescript-estree': 8.74.0(supports-color@7.2.0)(typescript@6.0.3) - '@typescript-eslint/utils': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + '@typescript-eslint/utils': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) debug: 4.4.3(supports-color@7.2.0) - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) ts-api-utils: 2.5.0(typescript@6.0.3) typescript: 6.0.3 transitivePeerDependencies: @@ -1052,13 +1052,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': + '@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3)': dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0(supports-color@7.2.0)) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.16.0(supports-color@7.2.0)) '@typescript-eslint/scope-manager': 8.74.0 '@typescript-eslint/types': 8.74.0 '@typescript-eslint/typescript-estree': 8.74.0(supports-color@7.2.0)(typescript@6.0.3) - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) typescript: 6.0.3 transitivePeerDependencies: - '@typescript/native' @@ -1219,10 +1219,10 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0): + eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0): dependencies: debug: 4.4.3(supports-color@7.2.0) - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) eslint-import-context: 0.1.9(unrs-resolver@1.13.0) get-tsconfig: 4.14.3 is-bun-module: 2.0.0 @@ -1230,44 +1230,44 @@ snapshots: tinyglobby: 0.2.17 unrs-resolver: 1.13.0 optionalDependencies: - eslint-plugin-import-x: 4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0) + eslint-plugin-import-x: 4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0) transitivePeerDependencies: - supports-color - eslint-module-utils@2.14.0(@typescript-eslint/parser@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0): + eslint-module-utils@2.14.0(@typescript-eslint/parser@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0): dependencies: debug: 3.2.7(supports-color@7.2.0) optionalDependencies: - '@typescript-eslint/parser': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) - eslint: 10.15.0(supports-color@7.2.0) + '@typescript-eslint/parser': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + eslint: 10.16.0(supports-color@7.2.0) eslint-import-resolver-node: 0.3.9(supports-color@7.2.0) - eslint-import-resolver-typescript: 4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0) + eslint-import-resolver-typescript: 4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0) transitivePeerDependencies: - supports-color - eslint-plugin-boundaries@7.4.4(@typescript-eslint/parser@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0): + eslint-plugin-boundaries@7.4.5(@typescript-eslint/parser@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0): dependencies: '@boundaries/config': 1.0.3 '@boundaries/elements': 3.3.4 - '@boundaries/policies': 1.0.3 + '@boundaries/policies': 1.1.0 chalk: 4.1.2 - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) eslint-import-resolver-node: 0.3.9(supports-color@7.2.0) - eslint-module-utils: 2.14.0(@typescript-eslint/parser@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0) + eslint-module-utils: 2.14.0(@typescript-eslint/parser@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0): + eslint-plugin-import-x@4.18.1(@typescript-eslint/utils@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint-import-resolver-node@0.3.9(supports-color@7.2.0))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0): dependencies: '@typescript-eslint/types': 8.73.0 cjs-module-lexer: 2.3.0 comment-parser: 1.4.9 debug: 4.4.3(supports-color@7.2.0) es-module-lexer: 3.0.5 - eslint: 10.15.0(supports-color@7.2.0) + eslint: 10.16.0(supports-color@7.2.0) eslint-import-context: 0.1.9(unrs-resolver@1.13.0) is-glob: 4.0.3 minimatch: 11.0.9 @@ -1275,7 +1275,7 @@ snapshots: stable-hash-x: 0.2.0 unrs-resolver: 1.13.0 optionalDependencies: - '@typescript-eslint/utils': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + '@typescript-eslint/utils': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) eslint-import-resolver-node: 0.3.9(supports-color@7.2.0) transitivePeerDependencies: - supports-color @@ -1291,11 +1291,11 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@10.15.0(supports-color@7.2.0): + eslint@10.16.0(supports-color@7.2.0): dependencies: - '@eslint-community/eslint-utils': 4.10.1(eslint@10.15.0(supports-color@7.2.0)) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.16.0(supports-color@7.2.0)) '@eslint-community/regexpp': 4.12.3 - '@eslint/config-array': 0.23.6(supports-color@7.2.0) + '@eslint/config-array': 0.23.7(supports-color@7.2.0) '@eslint/config-helpers': 0.7.0 '@eslint/core': 1.2.1 '@eslint/plugin-kit': 0.7.3 @@ -1461,7 +1461,7 @@ snapshots: dependencies: p-locate: 5.0.0 - marked@18.2.1: {} + marked@18.3.0: {} minimatch@11.0.9: dependencies: @@ -1553,13 +1553,13 @@ snapshots: dependencies: prelude-ls: 1.2.1 - typescript-eslint@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3): + typescript-eslint@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.74.0(@typescript-eslint/parser@8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) - '@typescript-eslint/parser': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + '@typescript-eslint/eslint-plugin': 8.74.0(@typescript-eslint/parser@8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3))(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + '@typescript-eslint/parser': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) '@typescript-eslint/typescript-estree': 8.74.0(supports-color@7.2.0)(typescript@6.0.3) - '@typescript-eslint/utils': 8.74.0(eslint@10.15.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) - eslint: 10.15.0(supports-color@7.2.0) + '@typescript-eslint/utils': 8.74.0(eslint@10.16.0(supports-color@7.2.0))(supports-color@7.2.0)(typescript@6.0.3) + eslint: 10.16.0(supports-color@7.2.0) typescript: 6.0.3 transitivePeerDependencies: - '@typescript/native' From c7d8437afae5905b080f2cc70493dab985c698a1 Mon Sep 17 00:00:00 2001 From: Jaime Still Date: Sun, 29 Nov 2026 20:26:45 -0500 Subject: [PATCH 2/4] Take the agent-separation task layout, and rename demo to examples The check is mise-tasks/check, a file task that runs the step scripts in scripts/check/ in order (eslint, format, shell, workflows, lints, types-src, types-test, then the build, then types-browser, unit, browser), stopping at the first failure. Each step script runs scripts/preflight.sh itself, so the hidden preflight task and the inline lint:*, types:*, test:* tasks are gone. Under MISE_ENV=agent, which the Claude settings now set, mise.agent.toml adds .agent/mise-tasks/, one check: task per step; types-browser, unit, and browser depend on build. scripts/lint-marathon.sh moves to scripts/check/lints.sh. The person's tasks are build, check, currency, examples, install, and screenshots. build runs the preflight before the build script. screenshots becomes a file task, mise-tasks/screenshots (raw, after build), since it now runs the browser preflight before the capture. The tools check .agent/: tsconfig.test.json includes .agent/**/*.ts but not .agent/state, ESLint ignores .agent/state/ and gives .agent/ Node's globals, and shellcheck covers scripts/, mise-tasks/, and .agent/. .gitignore and .prettierignore list .agent/state/ in place of .claude/briefs/. demo/ is examples/ (git mv), with examples.css in @layer examples, scripts/examples.js behind mise run examples, and the browser tier, its support modules, and the screenshots description reading examples/. STANDARDS.md states the layout's task rule, pointing at agent-separation.md; README, docs, and CHANGELOG follow. --- .agent/mise-tasks/check/browser | 6 ++ .agent/mise-tasks/check/eslint | 5 ++ .agent/mise-tasks/check/format | 5 ++ .agent/mise-tasks/check/lints | 5 ++ .agent/mise-tasks/check/shell | 5 ++ .agent/mise-tasks/check/types-browser | 6 ++ .agent/mise-tasks/check/types-src | 5 ++ .agent/mise-tasks/check/types-test | 5 ++ .agent/mise-tasks/check/unit | 6 ++ .agent/mise-tasks/check/workflows | 5 ++ .claude/settings.json | 3 + .gitignore | 2 +- .prettierignore | 2 +- CHANGELOG.md | 8 ++ README.md | 13 ++-- STANDARDS.md | 8 +- docs/components.md | 8 +- docs/development.md | 24 ++++-- docs/testing.md | 14 ++-- eslint.config.js | 7 +- {demo => examples}/artifact-viewer.html | 2 +- {demo => examples}/chat-thread.html | 2 +- {demo => examples}/components.html | 0 {demo => examples}/composer.html | 2 +- {demo => examples}/document-list.html | 2 +- {demo => examples}/documents.js | 2 +- {demo => examples}/drawer.html | 2 +- {demo => examples}/entry.html | 2 +- {demo => examples}/event-log.html | 2 +- demo/demo.css => examples/examples.css | 2 +- {demo => examples}/glyphs.js | 2 +- {demo => examples}/pagination.html | 2 +- {demo => examples}/search-results.html | 2 +- {demo => examples}/settings.html | 2 +- {demo => examples}/shortcuts.html | 2 +- {demo => examples}/specimen.js | 0 {demo => examples}/stage-timeline.html | 2 +- {demo => examples}/status-badge.html | 2 +- {demo => examples}/upload-dropzone.html | 2 +- mise-tasks/check | 16 ++++ mise-tasks/screenshots | 12 +++ mise.agent.toml | 4 + mise.toml | 79 +------------------- scripts/check/browser.sh | 7 ++ scripts/check/eslint.sh | 6 ++ scripts/check/format.sh | 7 ++ scripts/{lint-marathon.sh => check/lints.sh} | 6 +- scripts/check/shell.sh | 10 +++ scripts/check/types-browser.sh | 7 ++ scripts/check/types-src.sh | 6 ++ scripts/check/types-test.sh | 7 ++ scripts/check/unit.sh | 7 ++ scripts/check/workflows.sh | 6 ++ scripts/{demo.js => examples.js} | 8 +- scripts/screenshots.config.ts | 10 +-- test/browser/components.test.ts | 8 +- test/browser/shortcut-dialogs.test.ts | 4 +- test/browser/support/probe.js | 4 +- test/browser/support/restyle.js | 2 +- test/browser/support/served.ts | 2 +- test/browser/support/types.js | 2 +- test/browser/themes.test.ts | 4 +- tsconfig.test.json | 6 +- 63 files changed, 258 insertions(+), 148 deletions(-) create mode 100755 .agent/mise-tasks/check/browser create mode 100755 .agent/mise-tasks/check/eslint create mode 100755 .agent/mise-tasks/check/format create mode 100755 .agent/mise-tasks/check/lints create mode 100755 .agent/mise-tasks/check/shell create mode 100755 .agent/mise-tasks/check/types-browser create mode 100755 .agent/mise-tasks/check/types-src create mode 100755 .agent/mise-tasks/check/types-test create mode 100755 .agent/mise-tasks/check/unit create mode 100755 .agent/mise-tasks/check/workflows rename {demo => examples}/artifact-viewer.html (99%) rename {demo => examples}/chat-thread.html (99%) rename {demo => examples}/components.html (100%) rename {demo => examples}/composer.html (98%) rename {demo => examples}/document-list.html (99%) rename {demo => examples}/documents.js (98%) rename {demo => examples}/drawer.html (98%) rename {demo => examples}/entry.html (98%) rename {demo => examples}/event-log.html (99%) rename demo/demo.css => examples/examples.css (99%) rename {demo => examples}/glyphs.js (87%) rename {demo => examples}/pagination.html (98%) rename {demo => examples}/search-results.html (99%) rename {demo => examples}/settings.html (99%) rename {demo => examples}/shortcuts.html (99%) rename {demo => examples}/specimen.js (100%) rename {demo => examples}/stage-timeline.html (98%) rename {demo => examples}/status-badge.html (97%) rename {demo => examples}/upload-dropzone.html (99%) create mode 100755 mise-tasks/check create mode 100755 mise-tasks/screenshots create mode 100644 mise.agent.toml create mode 100755 scripts/check/browser.sh create mode 100755 scripts/check/eslint.sh create mode 100755 scripts/check/format.sh rename scripts/{lint-marathon.sh => check/lints.sh} (61%) create mode 100755 scripts/check/shell.sh create mode 100755 scripts/check/types-browser.sh create mode 100755 scripts/check/types-src.sh create mode 100755 scripts/check/types-test.sh create mode 100755 scripts/check/unit.sh create mode 100755 scripts/check/workflows.sh rename scripts/{demo.js => examples.js} (66%) diff --git a/.agent/mise-tasks/check/browser b/.agent/mise-tasks/check/browser new file mode 100755 index 0000000..edc7483 --- /dev/null +++ b/.agent/mise-tasks/check/browser @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +#MISE description="Run the check's browser step, the browser tier on the build in the pinned chrome-headless-shell, after build" +#MISE depends=["build"] +# Runs scripts/check/browser.sh, one step of the check. +set -euo pipefail +exec scripts/check/browser.sh "$@" diff --git a/.agent/mise-tasks/check/eslint b/.agent/mise-tasks/check/eslint new file mode 100755 index 0000000..f5877ef --- /dev/null +++ b/.agent/mise-tasks/check/eslint @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run the check's ESLint step over the code" +# Runs scripts/check/eslint.sh, one step of the check. +set -euo pipefail +exec scripts/check/eslint.sh "$@" diff --git a/.agent/mise-tasks/check/format b/.agent/mise-tasks/check/format new file mode 100755 index 0000000..7bf2baf --- /dev/null +++ b/.agent/mise-tasks/check/format @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run the check's format step, Prettier's check of the code, the JSON, and the stylesheets" +# Runs scripts/check/format.sh, one step of the check. +set -euo pipefail +exec scripts/check/format.sh "$@" diff --git a/.agent/mise-tasks/check/lints b/.agent/mise-tasks/check/lints new file mode 100755 index 0000000..7ab0712 --- /dev/null +++ b/.agent/mise-tasks/check/lints @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run the check's lints step, marathon's lint-context and lint-references, both" +# Runs scripts/check/lints.sh, one step of the check. +set -euo pipefail +exec scripts/check/lints.sh "$@" diff --git a/.agent/mise-tasks/check/shell b/.agent/mise-tasks/check/shell new file mode 100755 index 0000000..99f63b1 --- /dev/null +++ b/.agent/mise-tasks/check/shell @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run the check's shell step, shellcheck over the scripts, the file tasks, and the agent area's shell scripts" +# Runs scripts/check/shell.sh, one step of the check. +set -euo pipefail +exec scripts/check/shell.sh "$@" diff --git a/.agent/mise-tasks/check/types-browser b/.agent/mise-tasks/check/types-browser new file mode 100755 index 0000000..522cfb4 --- /dev/null +++ b/.agent/mise-tasks/check/types-browser @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +#MISE description="Run the check's browser type-check, tsc over the browser cases' in-page modules against the build's declarations, after build" +#MISE depends=["build"] +# Runs scripts/check/types-browser.sh, one step of the check. +set -euo pipefail +exec scripts/check/types-browser.sh "$@" diff --git a/.agent/mise-tasks/check/types-src b/.agent/mise-tasks/check/types-src new file mode 100755 index 0000000..566682f --- /dev/null +++ b/.agent/mise-tasks/check/types-src @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run the check's source type-check, tsc over the sources" +# Runs scripts/check/types-src.sh, one step of the check. +set -euo pipefail +exec scripts/check/types-src.sh "$@" diff --git a/.agent/mise-tasks/check/types-test b/.agent/mise-tasks/check/types-test new file mode 100755 index 0000000..e563e63 --- /dev/null +++ b/.agent/mise-tasks/check/types-test @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run the check's test type-check, tsc over the Node-side tests, the scripts' TypeScript, and the agent area" +# Runs scripts/check/types-test.sh, one step of the check. +set -euo pipefail +exec scripts/check/types-test.sh "$@" diff --git a/.agent/mise-tasks/check/unit b/.agent/mise-tasks/check/unit new file mode 100755 index 0000000..9d60c0c --- /dev/null +++ b/.agent/mise-tasks/check/unit @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +#MISE description="Run the check's unit step, the unit tier on the lint and a pack of the build, after build" +#MISE depends=["build"] +# Runs scripts/check/unit.sh, one step of the check. +set -euo pipefail +exec scripts/check/unit.sh "$@" diff --git a/.agent/mise-tasks/check/workflows b/.agent/mise-tasks/check/workflows new file mode 100755 index 0000000..e5057a2 --- /dev/null +++ b/.agent/mise-tasks/check/workflows @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Run the check's workflows step, actionlint over the GitHub Actions workflows" +# Runs scripts/check/workflows.sh, one step of the check. +set -euo pipefail +exec scripts/check/workflows.sh "$@" diff --git a/.claude/settings.json b/.claude/settings.json index aaeedaf..2ba2aee 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,5 +1,8 @@ { "plansDirectory": "./.claude/plans", + "env": { + "MISE_ENV": "agent" + }, "permissions": { "allow": [ "Bash(mise run:*)", diff --git a/.gitignore b/.gitignore index 7c41b64..42cb7b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ .claude/plans/ -.claude/briefs/ +.agent/state/ mise.local.toml diff --git a/.prettierignore b/.prettierignore index 228e0b9..60bbbab 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,5 +7,5 @@ !*.json !*.css .claude/plans/ -.claude/briefs/ +.agent/state/ node_modules diff --git a/CHANGELOG.md b/CHANGELOG.md index a8bfdba..9d68ac9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,14 @@ All notable changes to `@standards-lab/web-components` are documented here. The - `marked` is at 18.3.0. - The repository's tooling takes marathon 0.25.0, chrome-headless-shell 158.0.8127.88, `@types/node` 26.6.11, ESLint 10.16.0, eslint-plugin-boundaries 7.4.5, and jdx/mise-action v5.4.0. +- The repository's tasks take the agent-separation layout: `check` is a file task in `mise-tasks/` + that runs the step scripts in `scripts/check/` in order, stopping at the first failure; the + `lint`, `types`, `test`, and `preflight` tasks are gone, and under `MISE_ENV=agent`, which the + Claude settings set, `mise.agent.toml` adds a `check:` task for each step. `.gitignore` + lists `.agent/state/` in place of `.claude/briefs/`, and the tools check `.agent/`. +- The example pages, the components page and the specimen pages, move to `examples/`, which + `mise run examples` serves and the screenshots capture; their stylesheet is `examples.css`, in + the `examples` layer. ## [0.2.0] - 2026-11-22 diff --git a/README.md b/README.md index 7b9089e..fe74bd9 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,11 @@ the foundation's `page.css`: - `./*.css`: each component's sheet, which its module imports itself. [docs/components.md](https://github.com/standards-lab/web-components/blob/main/docs/components.md) -documents each module in full, and its demo and specimen pages. +documents each module in full, and its example pages. ### Settings and Help -The components bind no key, so the page binds S and ? itself, as `demo/components.html` does. Two +The components bind no key, so the page binds S and ? itself, as `examples/components.html` does. Two glyph buttons in the header's `.header-actions` open the dialogs with `command="show-modal"`, and the foundation's `keys.js` binds each to its key through `data-keys`. Help is a `.dialog-fit` dialog holding `sl-shortcuts`, and Settings is a `.dialog-wide` dialog holding `sl-settings`; each @@ -165,7 +165,7 @@ fills the glyphs' markers: ``` The Help heading takes focus as its dialog opens; the Settings heading doesn't, so `sl-settings` -focuses its first row. `demo/settings.html` and `demo/shortcuts.html` carry the pattern too. +focuses its first row. `examples/settings.html` and `examples/shortcuts.html` carry the pattern too. ## Development @@ -175,7 +175,7 @@ Tasks run through [mise](https://mise.jdx.dev): mise run install # the pinned tools, and node_modules with the foundation, the icons, and the tooling at their tags; reads the network mise run check # lint, lint-context, lint-references, types, build, and both test tiers; reads no network mise run build # src/ into dist/ -mise run demo # serve the components demo page and the specimen pages on dist/ +mise run examples # serve the example pages, the components page and the specimen pages, on dist/ mise run screenshots # capture each specimen page at the defaults, zen, regular, and mono, light and dark, in tiles, inline in kitty mise run screenshots --palette github # the same, in the palette named; the facet flags combine mise run screenshots --space compact # the same, in the space named @@ -200,8 +200,9 @@ and profiles, and web-tooling's documents them. The check never runs it. The check lints with ESLint, Prettier, shellcheck, actionlint, and marathon's lint-context and -lint-references. CI runs `mise run install` and the check on each pull request to main and each -push to it. +lint-references. It runs the step scripts in `scripts/check/` in turn and stops at the first that +fails; an agent (`MISE_ENV=agent`) also has a `check:` task for each. CI runs +`mise run install` and the check on each pull request to main and each push to it. [docs/development.md](https://github.com/standards-lab/web-components/blob/main/docs/development.md) gives the reasoning behind the configuration and the scripts. diff --git a/STANDARDS.md b/STANDARDS.md index 217298c..3c40236 100644 --- a/STANDARDS.md +++ b/STANDARDS.md @@ -17,6 +17,9 @@ The architecture pages that apply, in the architecture repository: - `architecture/principles/validation-first.md`: a component checks what it is given, a content type, a JSON text, a URL in Markdown, before it renders it. - `architecture/principles/comments.md`: the five kinds of comment. +- `architecture/principles/agent-separation.md`: the agent area in `.agent/`, the task layout in + `mise-tasks/` and `.agent/mise-tasks/`, the agent profile in `mise.agent.toml`, and + `MISE_ENV=agent` in the Claude settings' `env`. ## Design @@ -60,4 +63,7 @@ The architecture pages that apply, in the architecture repository: - The browser tier tests `dist/`, and no server transforms what it serves. - Tests are TypeScript run under Node's type stripping, erasable syntax only, type-checked by `tsconfig.test.json`; browser-served fixtures stay `.js`. -- A mise task runs one script or one command, and `check` is a depends list. +- A one-line task stays inline in `mise.toml`, a multi-line one is a file task in `mise-tasks/`, + and the check's steps are scripts in `scripts/check/`, which `mise-tasks/check` runs in order + and each agent task in `.agent/mise-tasks/check/` wraps + (`architecture/principles/agent-separation.md`). diff --git a/docs/components.md b/docs/components.md index b6ddb6c..f3e83bd 100644 --- a/docs/components.md +++ b/docs/components.md @@ -169,12 +169,12 @@ the tests measure as they do. - `./*.css`: each component's sheet, which its module imports itself. -## Demo +## Examples -`demo/components.html` puts the status badge, the entry, and the pagination on one page, with its +`examples/components.html` puts the status badge, the entry, and the pagination on one page, with its import map, and the [Settings and Help pattern](../README.md#settings-and-help) in its header, which -the settings and shortcuts pages carry too. `demo/glyphs.js` fills the pages' web-icons markers. -Each component has a specimen page, `demo/.html`, for `status-badge`, `entry`, `pagination`, +the settings and shortcuts pages carry too. `examples/glyphs.js` fills the pages' web-icons markers. +Each component has a specimen page, `examples/.html`, for `status-badge`, `entry`, `pagination`, `artifact-viewer`, `chat-thread`, `composer`, `upload-dropzone`, `stage-timeline`, `event-log`, `search-results`, `document-list`, `drawer`, `settings`, and `shortcuts`. A specimen page shows every state of its component, labelled, then again in a section 20rem wide, and, for a component diff --git a/docs/development.md b/docs/development.md index 8ffd600..67276b7 100644 --- a/docs/development.md +++ b/docs/development.md @@ -14,17 +14,27 @@ tags, so `scripts/preflight.sh` looks for each in `node_modules` beside lit and Chrome for Testing publishes no checksums, so each chrome-headless-shell bump takes the sha256 and size from the download by hand. mise caches a download by its checksum, so a version bumped without its own sha256 installs the old build; preflight compares the installed browser's version with the -pin and fails, naming the sha256, when they differ. +pin and fails, naming the sha256, when they differ. Each step of the check and each task that runs a +tool, through `scripts/preflight.sh`, fails naming `mise run install` when a tool it needs is +missing. -`types:browser` depends on `build`: the browser cases' in-page modules read the declarations the -build ships. `types:test` doesn't: the tests import nothing from `dist/`. +## Tasks and their configuration + +`mise-tasks/check` runs the step scripts in `scripts/check/` in turn, the linters, the source and +test type-checks, the build, then the steps that read `dist/`, and stops at the first that fails. +Under `MISE_ENV=agent`, which the Claude settings set, `mise.agent.toml` adds a `check:` task +in `.agent/mise-tasks/check/` for each step script, so an agent runs one step alone; one that reads +`dist/` depends on `build`. + +The browser type-check reads `dist/`: the browser cases' in-page modules read the declarations the +build ships. The test type-check doesn't: the tests import nothing from `dist/`. ## TypeScript -- `tsconfig.json` builds `src/` into `dist/`, and `mise run types` checks the same sources with - `--noEmit`. The foundation is read as a consumer reads it, through the install of the peer at the - top level, here its devDependency: its shipped `.d.ts`, and the ambient `"*.css"` declaration its - `./css` types subpath holds. +- `tsconfig.json` builds `src/` into `dist/`, and the check's source type-check checks the same + sources with `--noEmit`. The foundation is read as a consumer reads it, through the install of + the peer at the top level, here its devDependency: its shipped `.d.ts`, and the ambient `"*.css"` + declaration its `./css` types subpath holds. - `tsconfig.test.json` checks the Node-side tests and their helpers, which `node --test` runs under Node's type stripping, and the screenshots description, which the tooling's bin loads under the same stripping: the base's strictness and erasable syntax, on Node's module resolution and its diff --git a/docs/testing.md b/docs/testing.md index 6ac6260..a58a247 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -11,14 +11,14 @@ the behavior and layout each one holds to. and `release.test.ts` checks a `pnpm pack` of the `dist/` that `mise run build` writes, as it stands and in scratch copies with one fault each. - The browser tier runs on `dist/` in the pinned chrome-headless-shell, on the pages under - `test/fixtures/` and the specimen pages under `demo/`. `test/browser/support/served.ts` is what - the browser tier, `mise run demo`, and the screenshots description all serve, so the list is kept + `test/fixtures/` and the specimen pages under `examples/`. `test/browser/support/served.ts` is what + the browser tier, `mise run examples`, and the screenshots description all serve, so the list is kept once. Of the served packages, lit's own dependencies (lit-html, lit-element, and `@lit/reactive-element`) sit beside it in pnpm's store and the server brings them with it; the foundation and the icons are the installs the components' `dist/` imports by name, reached as a consumer reaches them. - `test/browser/support/types.js` is run by no page: tsc checks it with the in-page modules against - the same `dist/`, so a declaration that narrows what a consumer may write fails `types:browser`. + the same `dist/`, so a declaration that narrows what a consumer may write fails the check's browser type-check. ## Every browser case @@ -46,16 +46,16 @@ the behavior and layout each one holds to. - Each case on `test/fixtures/components.html` runs once on the lean entry, `page.css` with no profile set, and once in each profile combination on the full entry, `page-full.css` with `register-full.js`. -- `themes.test.ts` reads the specimen pages from `demo/` as it reads the profiles, so a page a +- `themes.test.ts` reads the specimen pages from `examples/` as it reads the profiles, so a page a component adds is covered with no edit. One case pins that the registry lists at least the four - built-in colors, so an empty read can't pass with nothing checked. `demo/components.html` is left + built-in colors, so an empty read can't pass with nothing checked. `examples/components.html` is left out: it links only the lean entry, so it shows one profile. - Text in a fully transparent color shows nothing, as a hidden mark does, so it takes no color token. - The stage timeline and the shortcuts list hold no control, so the focus ring cases skip their pages; a case pins that each renders nothing focusable, so a control one gains must get a ring case. -- `shortcut-dialogs.test.ts` runs on the demo pages that carry the Settings and Help pattern, so +- `shortcut-dialogs.test.ts` runs on the example pages that carry the Settings and Help pattern, so the README's markup is held to working with the components. ## Components @@ -166,5 +166,5 @@ the behavior and layout each one holds to. - A value import of a declaration file is caught in each value form, an inline `type` specifier among them, since `verbatimModuleSyntax` keeps that import. - The allowed imports use names that hold dots, which a rule must tell from `.` and `..` segments. -- The `lint` mise task runs ESLint with `-c` on the repository's config, whose patterns then match from the +- The check's ESLint step runs ESLint with `-c` on the repository's config, whose patterns then match from the tree, the working directory, and whose plugins load from the repository's `node_modules`. diff --git a/eslint.config.js b/eslint.config.js index 32fe84f..027d115 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -67,7 +67,7 @@ const declarations = { }; export default defineConfig([ - { ignores: ["dist/"] }, + { ignores: ["dist/", ".agent/state/"] }, { files: code, extends: [js.configs.recommended, tseslint.configs.recommended] }, { files: code, @@ -88,7 +88,10 @@ export default defineConfig([ }, { files: code, languageOptions: { globals: globals.browser } }, { files: code, rules: { "no-restricted-syntax": ["error", ...cssImports] } }, - { files: ["test/**/*.ts", "scripts/**"], languageOptions: { globals: globals.node } }, + { + files: ["test/**/*.ts", "scripts/**", ".agent/**"], + languageOptions: { globals: globals.node }, + }, { files: ["src/**"], plugins: { boundaries, "import-x": importX }, diff --git a/demo/artifact-viewer.html b/examples/artifact-viewer.html similarity index 99% rename from demo/artifact-viewer.html rename to examples/artifact-viewer.html index ba6039a..8da2367 100644 --- a/demo/artifact-viewer.html +++ b/examples/artifact-viewer.html @@ -5,7 +5,7 @@ artifact viewer specimen - +