Skip to content

Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.

chore(ci): harden GitHub Actions workflows (#271)

Thomas Chauchefoind23f9ef113b6
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 0000000..cb2d92b
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1 @@
+* @cathrynlavery
diff --git a/.github/ci/node/.gitignore b/.github/ci/node/.gitignore
new file mode 100644
index 0000000..c2658d7
--- /dev/null
+++ b/.github/ci/node/.gitignore
@@ -0,0 +1 @@
+node_modules/
diff --git a/.github/ci/node/package-lock.json b/.github/ci/node/package-lock.json
new file mode 100644
index 0000000..c77a5ec
--- /dev/null
+++ b/.github/ci/node/package-lock.json
@@ -0,0 +1,149 @@
+{
+ "name": "diagram-design-ci",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "diagram-design-ci",
+ "devDependencies": {
+ "@anthropic-ai/claude-code": "2.1.229"
+ }
+ },
+ "node_modules/@anthropic-ai/claude-code": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.229.tgz",
+ "integrity": "sha512-6HNg2iBe5DFvOxxdWTxdVaxg7buVvZMEpa+etJp3acBNatXXGdMBbqd3xjgPvqAoCz2ifQ/n5HSBd+xY8RBKfw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "SEE LICENSE IN README.md",
+ "bin": {
+ "claude": "bin/claude.exe"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ },
+ "optionalDependencies": {
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.229",
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.229",
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.229",
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.229",
+ "@anthropic-ai/claude-code-linux-x64": "2.1.229",
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.229",
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.229",
+ "@anthropic-ai/claude-code-win32-x64": "2.1.229"
+ }
+ },
+ "node_modules/@anthropic-ai/claude-code-darwin-arm64": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-darwin-arm64/-/claude-code-darwin-arm64-2.1.229.tgz",
+ "integrity": "sha512-6/YkhbYifwrym4TnGHDjgJxrUhOSncK9hf8k0l95If97Fl3xjMGJ9RRhIzPo3n82xIkc2I75ToQ1lHRP8CDboQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@anthropic-ai/claude-code-darwin-x64": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-darwin-x64/-/claude-code-darwin-x64-2.1.229.tgz",
+ "integrity": "sha512-QpAUV9nqDMz1NsMd4nI6gn2c2khSdTAugVKfPoFQbxX+kVZVxE1kpvvfzRNu3bSGSV+kl712dOjH5zhn5FatlQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@anthropic-ai/claude-code-linux-arm64": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-linux-arm64/-/claude-code-linux-arm64-2.1.229.tgz",
+ "integrity": "sha512-YYQcKKmc13q2looQ3iho0ZUroFYhnUXTXx4hGljeVghXAU/4f4pPkLbRR8ICafc98iA/W0/SvKXxpcP1V48Jgg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@anthropic-ai/claude-code-linux-arm64-musl": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-linux-arm64-musl/-/claude-code-linux-arm64-musl-2.1.229.tgz",
+ "integrity": "sha512-/oCy14VyZiRSTqRDR37aps5f6qPcV40aiWZVRErnj6bcQ6cuNkM0Gh4Jl/m0EAV+rshAw9suvlMtxa9WBZTMjA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@anthropic-ai/claude-code-linux-x64": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-linux-x64/-/claude-code-linux-x64-2.1.229.tgz",
+ "integrity": "sha512-YaENNcgyLJ8xjH1cdNTCAC7jLUzDTRISMQikArsvpBcEM32no6jmGgpVj61YQAOZedyUTLYxbKyq4TYGj7o2Vw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@anthropic-ai/claude-code-linux-x64-musl": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-linux-x64-musl/-/claude-code-linux-x64-musl-2.1.229.tgz",
+ "integrity": "sha512-vjFzyLObQg8rhHmqqKt0AdbAySUzzsRbPE2FbhozMqHzhaA/ClotX1kUFU5mAAN5wdfoJ+D505HqMrs3fIJZgw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@anthropic-ai/claude-code-win32-arm64": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-win32-arm64/-/claude-code-win32-arm64-2.1.229.tgz",
+ "integrity": "sha512-BfIRhE9AwGEYYL/Lm9WDKp4Z2KqXGm9AY1vUVeUi9JYoDXfsZm0MECovd83SzaX7CCXVyJ5rcEYepg3r8ASgOA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@anthropic-ai/claude-code-win32-x64": {
+ "version": "2.1.229",
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code-win32-x64/-/claude-code-win32-x64-2.1.229.tgz",
+ "integrity": "sha512-vZXu2GKE+ei47JmR37yIE66JmZfyoIhBvkoAAwjWj/dUTztV+GnLZORG9kKCHxwTIN2Wa9A77LowJ0/CIJ06Sg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "SEE LICENSE IN LICENSE.md",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ }
+ }
+}
diff --git a/.github/ci/node/package.json b/.github/ci/node/package.json
new file mode 100644
index 0000000..8be28a9
--- /dev/null
+++ b/.github/ci/node/package.json
@@ -0,0 +1,7 @@
+{
+ "name": "diagram-design-ci",
+ "private": true,
+ "devDependencies": {
+ "@anthropic-ai/claude-code": "2.1.229"
+ }
+}
diff --git a/.github/ci/python/pyproject.toml b/.github/ci/python/pyproject.toml
new file mode 100644
index 0000000..1558d93
--- /dev/null
+++ b/.github/ci/python/pyproject.toml
@@ -0,0 +1,11 @@
+[project]
+name = "diagram-design-ci"
+version = "0.0.0"
+requires-python = "==3.12.*"
+dependencies = [
+ "pillow==12.1.1",
+ "playwright==1.62.0",
+]
+
+[tool.uv]
+package = false
diff --git a/.github/ci/python/uv.lock b/.github/ci/python/uv.lock
new file mode 100644
index 0000000..73fab2e
--- /dev/null
+++ b/.github/ci/python/uv.lock
@@ -0,0 +1,95 @@
+version = 1
+revision = 3
+requires-python = "==3.12.*"
+
+[[package]]
+name = "diagram-design-ci"
+version = "0.0.0"
+source = { virtual = "." }
+dependencies = [
+ { name = "pillow" },
+ { name = "playwright" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "pillow", specifier = "==12.1.1" },
+ { name = "playwright", specifier = "==1.62.0" },
+]
+
+[[package]]
+name = "greenlet"
+version = "3.5.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/3e/6e/0091f175ccd02b02bc8811bbcbcc6ac2e980be116e3b2f7a736ca322bf84/greenlet-3.5.6.tar.gz", hash = "sha256:8e67c43bdfc88d5fee6db0d3e40175b362fc95fb85f0412d233b9b203c53a575", size = 207653, upload-time = "2026-09-14T15:42:51.806Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/72/18/3fc6d951466ae9a2a688edcddde3b2e388da0a8244e0caf7117bbeb0eb95/greenlet-3.5.6-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:a5876d0a60355af98d535c47f6cd6eb0f8a432396dab26845d380b92f8412422", size = 295668, upload-time = "2026-09-14T14:22:33.241Z" },
+ { url = "https://files.pythonhosted.org/packages/27/89/366d2af5061eeefa5012f510d95a99c8620dcc457609838db4d538820318/greenlet-3.5.6-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e85880b538e59a59f55117b81f208a6660ad5ac328aad9305f812d9b8bc67a0f", size = 611700, upload-time = "2026-09-14T15:12:01.962Z" },
+ { url = "https://files.pythonhosted.org/packages/54/1c/07f133f865fd58ae593dd2bbec3144acaee9b04ffe2eb48c6e121747ceef/greenlet-3.5.6-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f0ba7c2a329d650628f4c8572fd1db29f0a59dd70a3e3e0710dcf18a35cce9d8", size = 624223, upload-time = "2026-09-14T15:20:42.459Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/f2/844dc823ff2752ad049caa6b59d57e4572f9c445934b02d3518f4c67197c/greenlet-3.5.6-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ee7d9da3bf493909cf811a3f038840cb34fab5ae2956b8a263919f6e289ab188", size = 629529, upload-time = "2026-09-14T15:25:06.354Z" },
+ { url = "https://files.pythonhosted.org/packages/66/6a/1594f3869c57c149abdb380492529e04d4c0229b5e4d79572c5bd0aaa673/greenlet-3.5.6-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:975736b002ed080d124cf81a79cb7e05cb26d6b3f5c7a7b651c0fcce70353aa1", size = 621404, upload-time = "2026-09-14T14:35:59.027Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/42/b1f8dbc89a53b9e77859fc1ad1627d106fc361daa3ea4bdf43a91ebb4338/greenlet-3.5.6-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:71890d5247020c25c21a6b65202782bfc281d4e6e244842419d30e3492bb6dcc", size = 432385, upload-time = "2026-09-14T15:28:37.369Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/f5/33e5c9e48178b9259fd000f8f45caa4a65036f65d3d0c06a602f570f025d/greenlet-3.5.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0616b8f878098c5681fd8f0dc92d887551717402342a70f0abcbfea5f5ad8a44", size = 1584998, upload-time = "2026-09-14T15:10:06.653Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/31/9b4e140bc24d0ad7927ebd651f5608b0acc2334d061748c3b6ad19085cfa/greenlet-3.5.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3dbb4596a6a4e5d47121a33ff20533a81e60f302d9e67b69909a8bc21a43f0a7", size = 1647568, upload-time = "2026-09-14T14:35:49.787Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/71/d79f1791f824f8ff15c2978746640467ae932a2365e0201069f7f272395f/greenlet-3.5.6-cp312-cp312-win_amd64.whl", hash = "sha256:7ac4abb3877c43af320392c664774eef6fa2cc063c79a55fc02d844a3cbe7395", size = 324203, upload-time = "2026-09-14T14:22:54.504Z" },
+ { url = "https://files.pythonhosted.org/packages/63/af/42aca4d56e8cb321912203069d8d34734cb288222f10ad2ae102718cc577/greenlet-3.5.6-cp312-cp312-win_arm64.whl", hash = "sha256:301102a49120b095e72a7838792b41233975fc1c155daec6d98f81c00c9280e0", size = 308310, upload-time = "2026-09-14T14:24:03.008Z" },
+]
+
+[[package]]
+name = "pillow"
+version = "12.1.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1f/42/5c74462b4fd957fcd7b13b04fb3205ff8349236ea74c7c375766d6c82288/pillow-12.1.1.tar.gz", hash = "sha256:9ad8fa5937ab05218e2b6a4cff30295ad35afd2f83ac592e68c0d871bb0fdbc4", size = 46980264, upload-time = "2026-02-11T04:23:07.146Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/07/d3/8df65da0d4df36b094351dce696f2989bec731d4f10e743b1c5f4da4d3bf/pillow-12.1.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ab323b787d6e18b3d91a72fc99b1a2c28651e4358749842b8f8dfacd28ef2052", size = 5262803, upload-time = "2026-02-11T04:20:47.653Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/71/5026395b290ff404b836e636f51d7297e6c83beceaa87c592718747e670f/pillow-12.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:adebb5bee0f0af4909c30db0d890c773d1a92ffe83da908e2e9e720f8edf3984", size = 4657601, upload-time = "2026-02-11T04:20:49.328Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/2e/1001613d941c67442f745aff0f7cc66dd8df9a9c084eb497e6a543ee6f7e/pillow-12.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bb66b7cc26f50977108790e2456b7921e773f23db5630261102233eb355a3b79", size = 6234995, upload-time = "2026-02-11T04:20:51.032Z" },
+ { url = "https://files.pythonhosted.org/packages/07/26/246ab11455b2549b9233dbd44d358d033a2f780fa9007b61a913c5b2d24e/pillow-12.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aee2810642b2898bb187ced9b349e95d2a7272930796e022efaf12e99dccd293", size = 8045012, upload-time = "2026-02-11T04:20:52.882Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/8b/07587069c27be7535ac1fe33874e32de118fbd34e2a73b7f83436a88368c/pillow-12.1.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a0b1cd6232e2b618adcc54d9882e4e662a089d5768cd188f7c245b4c8c44a397", size = 6349638, upload-time = "2026-02-11T04:20:54.444Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/79/6df7b2ee763d619cda2fb4fea498e5f79d984dae304d45a8999b80d6cf5c/pillow-12.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7aac39bcf8d4770d089588a2e1dd111cbaa42df5a94be3114222057d68336bd0", size = 7041540, upload-time = "2026-02-11T04:20:55.97Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/5e/2ba19e7e7236d7529f4d873bdaf317a318896bac289abebd4bb00ef247f0/pillow-12.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ab174cd7d29a62dd139c44bf74b698039328f45cb03b4596c43473a46656b2f3", size = 6462613, upload-time = "2026-02-11T04:20:57.542Z" },
+ { url = "https://files.pythonhosted.org/packages/03/03/31216ec124bb5c3dacd74ce8efff4cc7f52643653bad4825f8f08c697743/pillow-12.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:339ffdcb7cbeaa08221cd401d517d4b1fe7a9ed5d400e4a8039719238620ca35", size = 7166745, upload-time = "2026-02-11T04:20:59.196Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/e7/7c4552d80052337eb28653b617eafdef39adfb137c49dd7e831b8dc13bc5/pillow-12.1.1-cp312-cp312-win32.whl", hash = "sha256:5d1f9575a12bed9e9eedd9a4972834b08c97a352bd17955ccdebfeca5913fa0a", size = 6328823, upload-time = "2026-02-11T04:21:01.385Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/17/688626d192d7261bbbf98846fc98995726bddc2c945344b65bec3a29d731/pillow-12.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:21329ec8c96c6e979cd0dfd29406c40c1d52521a90544463057d2aaa937d66a6", size = 7033367, upload-time = "2026-02-11T04:21:03.536Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/fe/a0ef1f73f939b0eca03ee2c108d0043a87468664770612602c63266a43c4/pillow-12.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:af9a332e572978f0218686636610555ae3defd1633597be015ed50289a03c523", size = 2453811, upload-time = "2026-02-11T04:21:05.116Z" },
+]
+
+[[package]]
+name = "playwright"
+version = "1.62.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "greenlet" },
+ { name = "pyee" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/6c/5b/ca2abcf3aa69f9fb510215e3064f30b57fe57657c8d04ede45bb966d5606/playwright-1.62.0-py3-none-macosx_10_13_x86_64.whl", hash = "sha256:d8da938f3748841a8754f2e1f0216902c1c8f8ae3720de8b32ccf8e6913a7c4f", size = 43732091, upload-time = "2026-07-31T17:00:44.178Z" },
+ { url = "https://files.pythonhosted.org/packages/af/1a/0bfbe9904350961f4dbb713f04342e40d548c5fc26c8157bd13617c81492/playwright-1.62.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:db755ab27db21a04186f1fe8169888e42356086e439b1059b923ef417f0b6034", size = 42510842, upload-time = "2026-07-31T17:00:48.596Z" },
+ { url = "https://files.pythonhosted.org/packages/66/dc/c0486b407ad0699a250f6bbe3066fca95344009a99ca66e88ca175c69dc1/playwright-1.62.0-py3-none-macosx_11_0_universal2.whl", hash = "sha256:5108bd5b3e87169ddf269feee097da5893af7f8aea4634dfc840518d64c1f1da", size = 43732093, upload-time = "2026-07-31T17:00:52.218Z" },
+ { url = "https://files.pythonhosted.org/packages/43/6b/b24aebc2b04bffcb342bccf96e287c78b363e1615bed5cea97500cc0393a/playwright-1.62.0-py3-none-manylinux1_x86_64.whl", hash = "sha256:ba33bae6a13b3d9d354c751cb618af357d20fe1d57767cbcce52079bbef17ad3", size = 47748926, upload-time = "2026-07-31T17:00:56.438Z" },
+ { url = "https://files.pythonhosted.org/packages/36/43/b4b18bdc87e1949568fffdcde3ff9a0456266b2d0c6d4432cc34d89ea6eb/playwright-1.62.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:db2d76613a57ad844362ce42f7d0c2fa26b19a4f7a46d4f76b891c631e6e5aff", size = 47441423, upload-time = "2026-07-31T17:01:00.404Z" },
+ { url = "https://files.pythonhosted.org/packages/81/22/af5d926fc2c32a339eec00a443644bc40ab9db1dd2dd9017873c59773c0c/playwright-1.62.0-py3-none-win32.whl", hash = "sha256:e5614fa89355d7081457680324bb219f79f69c423c5cb6fa250e30b0d8aebf1c", size = 38164450, upload-time = "2026-07-31T17:01:04.187Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/a9/4160c1033c07af98bf841ad079457dd78408a5ee0dd56cbfe50b8b6a1c22/playwright-1.62.0-py3-none-win_amd64.whl", hash = "sha256:92c0d98ed04eb35af557b709875edba415b1f548bdb22ddb5bb3e1e6c835c2f1", size = 38164458, upload-time = "2026-07-31T17:01:08.459Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/ec/06b55d619a7082a766aa04f2c6bb31435c87f02930087d8a0517119408fa/playwright-1.62.0-py3-none-win_arm64.whl", hash = "sha256:ea8d3055aa9d5a9f1832ac82517bd8b42c78fac7ebcbebb0107116735c8cb6a1", size = 34208868, upload-time = "2026-07-31T17:01:11.818Z" },
+]
+
+[[package]]
+name = "pyee"
+version = "13.0.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/8b/04/e7c1fe4dc78a6fdbfd6c337b1c3732ff543b8a397683ab38378447baa331/pyee-13.0.1.tar.gz", hash = "sha256:0b931f7c14535667ed4c7e0d531716368715e860b988770fc7eb8578d1f67fc8", size = 31655, upload-time = "2026-02-14T21:12:28.044Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a0/c4/b4d4827c93ef43c01f599ef31453ccc1c132b353284fc6c87d535c233129/pyee-13.0.1-py3-none-any.whl", hash = "sha256:af2f8fede4171ef667dfded53f96e2ed0d6e6bd7ee3bb46437f77e3b57689228", size = 15659, upload-time = "2026-02-14T21:12:26.263Z" },
+]
+
+[[package]]
+name = "typing-extensions"
+version = "4.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
+]
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..cdfef37
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,47 @@
+version: 2
+
+updates:
+ - package-ecosystem: github-actions
+ directory: /
+ schedule:
+ interval: monthly
+ time: "09:00"
+ timezone: Etc/UTC
+ groups:
+ ci-dependencies:
+ patterns: ["*"]
+ commit-message:
+ prefix: "chore(ci)"
+ open-pull-requests-limit: 10
+ cooldown:
+ default-days: 7
+
+ - package-ecosystem: uv
+ directory: /.github/ci/python
+ schedule:
+ interval: monthly
+ time: "09:00"
+ timezone: Etc/UTC
+ groups:
+ ci-dependencies:
+ patterns: ["*"]
+ commit-message:
+ prefix: "chore(ci)"
+ open-pull-requests-limit: 10
+ cooldown:
+ default-days: 7
+
+ - package-ecosystem: npm
+ directory: /.github/ci/node
+ schedule:
+ interval: monthly
+ time: "09:00"
+ timezone: Etc/UTC
+ groups:
+ ci-dependencies:
+ patterns: ["*"]
+ commit-message:
+ prefix: "chore(ci)"
+ open-pull-requests-limit: 10
+ cooldown:
+ default-days: 7
diff --git a/.github/workflows/auto-bump.yml b/.github/workflows/auto-bump.yml
index e822282..2802a33 100644
--- a/.github/workflows/auto-bump.yml
+++ b/.github/workflows/auto-bump.yml
@@ -26,7 +26,7 @@ jobs:
timeout-minutes: 10
permissions:
contents: read
- pull-requests: read
+ pull-requests: read # gh api reads release labels from merged pull requests
outputs:
should_bump: ${{ steps.guard.outputs.should_bump }}
source_sha: ${{ steps.guard.outputs.source_sha }}
@@ -74,16 +74,17 @@ jobs:
id: part
env:
GH_TOKEN: ${{ github.token }}
+ REPOSITORY: ${{ github.repository }}
SOURCE_SHA: ${{ steps.guard.outputs.source_sha }}
shell: bash
run: |
set -euo pipefail
last_bump=$(python3 scripts/plugin_version_history.py last-bump "$SOURCE_SHA")
- part=patch
+ part="patch"
while IFS= read -r commit; do
labels=$(gh api \
- "repos/${{ github.repository }}/commits/${commit}/pulls" \
+ "repos/${REPOSITORY}/commits/${commit}/pulls" \
--jq '[.[].labels[].name] | join(" ")')
case " $labels " in
*" release:major "*)
@@ -346,7 +347,7 @@ jobs:
- name: Push the validated bump to protected main
if: steps.fresh.outputs.matches == 'true'
env:
- AUTO_BUMP_TOKEN: ${{ secrets.AUTO_BUMP_TOKEN }}
+ AUTO_BUMP_TOKEN: ${{ secrets.AUTO_BUMP_TOKEN }} # zizmor: ignore[secrets-outside-env] exposed only to the final validated push step
shell: bash
run: |
set -euo pipefail
diff --git a/.github/workflows/ci-configuration.yml b/.github/workflows/ci-configuration.yml
new file mode 100644
index 0000000..e77d752
--- /dev/null
+++ b/.github/workflows/ci-configuration.yml
@@ -0,0 +1,30 @@
+name: CI Configuration
+
+on:
+ push:
+ branches: [ main ]
+ paths: [ ".github/**" ]
+ pull_request:
+ branches: [ main ]
+ paths: [ ".github/**" ]
+
+permissions:
+ contents: read
+
+jobs:
+ validate:
+ name: Validate CI configuration
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
+ with:
+ persist-credentials: false
+
+ - name: Audit GitHub Actions
+ uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
+ with:
+ advanced-security: false
+ persona: auditor
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 54ec848..e106e66 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout repository history
- uses: actions/checkout@v7
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
env:
GIT_CONFIG_COUNT: "1"
GIT_CONFIG_KEY_0: "core.autocrlf"
@@ -31,15 +31,18 @@ jobs:
persist-credentials: false
- name: Set up Python
- uses: actions/setup-python@v7
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: "3.12"
- name: Set up Node.js
- uses: actions/setup-node@v7
+ uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "22"
+ - name: Install Node CI dependencies
+ run: npm ci --prefix .github/ci/node
+
- name: Test plugin package tooling
run: python3 scripts/test-plugin-package.py
@@ -57,8 +60,10 @@ jobs:
# would report their versions as edits made by the PR.
- name: Forbid manifest version changes in pull requests
shell: bash
+ env:
+ EVENT_NAME: ${{ github.event_name }}
run: |
- if [ "${{ github.event_name }}" = "pull_request" ]; then
+ if [ "${EVENT_NAME}" = "pull_request" ]; then
if ! git rev-parse -q --verify HEAD^2 >/dev/null; then
echo "expected the pull request merge commit at HEAD" >&2
exit 1
@@ -69,7 +74,7 @@ jobs:
fi
- name: Validate Claude marketplace package without warnings
- run: npx --yes @anthropic-ai/[email protected] plugin validate . --strict
+ run: .github/ci/node/node_modules/.bin/claude plugin validate . --strict
python39-compat:
name: Python 3.9 Compatibility
@@ -78,12 +83,12 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v7
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up Python 3.9
- uses: actions/setup-python@v7
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: "3.9"
@@ -104,7 +109,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v7
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
env:
GIT_CONFIG_COUNT: "1"
GIT_CONFIG_KEY_0: "core.autocrlf"
@@ -113,10 +118,17 @@ jobs:
persist-credentials: false
- name: Set up Python
- uses: actions/setup-python@v7
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: ${{ matrix.python-version }}
+ - name: Set up uv
+ if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
+ uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
+ with:
+ version: latest-known
+ enable-cache: false
+
- name: Verify accessible SVG contract
if: always()
id: a11y
@@ -253,21 +265,12 @@ jobs:
id: screenshots_tests
run: python scripts/test-verify-screenshot-freshness.py
- - name: Install Pillow for README thumbnail verification
- if: always() && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
- env:
- PILLOW_VERSION: "12.1.1"
- shell: bash
- run: |
- pip install "Pillow==${PILLOW_VERSION}"
- python -c "import PIL; print('Pillow', PIL.__version__)"
-
- name: Verify README thumbnails
if: always() && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
id: readme_thumbs
run: |
- python scripts/test-build-readme-thumbs.py
- python scripts/build-readme-thumbs.py --check
+ uv run --locked --project .github/ci/python python scripts/test-build-readme-thumbs.py
+ uv run --locked --project .github/ci/python python scripts/build-readme-thumbs.py --check
- name: Verify packaged self-check
if: always()
@@ -480,7 +483,7 @@ jobs:
# lint-render.py's oracle is pixels, so the browser is part of the contract:
# pin Playwright exactly, and let that pin choose the Chromium build. Bump
- # both together, deliberately, by editing PLAYWRIGHT_VERSION.
+ # both together through the uv lockfile.
#
# One platform only. Antialiasing and font fallback differ per OS, so running
# a pixel comparison across the whole matrix would compare six oracles rather
@@ -488,13 +491,10 @@ jobs:
# matrix legs still run every source-level gate.
- name: Install Playwright Chromium
if: always() && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
- env:
- PLAYWRIGHT_VERSION: "1.62.0"
shell: bash
run: |
- pip install "playwright==${PLAYWRIGHT_VERSION}"
- playwright install --with-deps chromium
- python -c "import importlib.metadata as m; print('playwright', m.version('playwright'))"
+ uv run --locked --project .github/ci/python playwright install --with-deps chromium
+ uv run --locked --project .github/ci/python python -c "import importlib.metadata as m; print('playwright', m.version('playwright'))"
# The export snippet's browser contract, enforced where Playwright and
# Chromium are already installed (stalled load, normal load, and
@@ -506,7 +506,7 @@ jobs:
run: |
# Playwright is installed on this leg, so a SKIP means the browser
# contract silently went unverified -- treat it as a failure.
- out="$(python scripts/test-export-wait.py)"
+ out="$(uv run --locked --project .github/ci/python python scripts/test-export-wait.py)"
echo "$out"
case "$out" in
SKIP:*) echo "::error::export-wait tests skipped despite Playwright being installed" && exit 1 ;;
@@ -518,12 +518,12 @@ jobs:
- name: Verify render linter checks
if: always() && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
id: render_selftest
- run: python scripts/lint-render.py --self-test
+ run: uv run --locked --project .github/ci/python python scripts/lint-render.py --self-test
- name: Run render linter
if: always() && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
id: render
- run: python scripts/lint-render.py --all
+ run: uv run --locked --project .github/ci/python python scripts/lint-render.py --all
- name: Verify generated icon assets
if: always()
@@ -538,79 +538,81 @@ jobs:
- name: Generate CI execution summary table
if: always()
shell: bash
- run: |
- echo "### πŸ“Š CI Verification Summary (${{ matrix.os }}, Python ${{ matrix.python-version }})" >> $GITHUB_STEP_SUMMARY
- echo "| Verification Gate | Outcome |" >> $GITHUB_STEP_SUMMARY
- echo "|---|---|" >> $GITHUB_STEP_SUMMARY
- echo "| SVG Accessibility Contract | ${{ steps.a11y.outcome == 'success' && 'βœ… Passed' || (steps.a11y.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Semantic Pattern Documentation | ${{ steps.semantic_docs.outcome == 'success' && 'βœ… Passed' || (steps.semantic_docs.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Animated Example Structure | ${{ steps.animated_example.outcome == 'success' && 'βœ… Passed' || (steps.animated_example.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Animated Example Skin | ${{ steps.animated_lint.outcome == 'success' && 'βœ… Passed' || (steps.animated_lint.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Shipped Motion HTML | ${{ steps.shipped_motion.outcome == 'success' && 'βœ… Passed' || (steps.shipped_motion.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| URL SVG Normalization | ${{ steps.url_icons.outcome == 'success' && 'βœ… Passed' || (steps.url_icons.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Devicon Normalization | ${{ steps.devicon.outcome == 'success' && 'βœ… Passed' || (steps.devicon.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Mojibake Repair Utility | ${{ steps.mojibake.outcome == 'success' && 'βœ… Passed' || (steps.mojibake.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Color Palette & Skin Linter | ${{ steps.skin.outcome == 'success' && 'βœ… Passed' || (steps.skin.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Skin Token Contrast | ${{ steps.contrast.outcome == 'success' && 'βœ… Passed' || (steps.contrast.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Quantitative Polar Chart | ${{ steps.polar.outcome == 'success' && 'βœ… Passed' || (steps.polar.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Heatmap Monotone Ramp & Grid | ${{ steps.heatmap.outcome == 'success' && 'βœ… Passed' || (steps.heatmap.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Heatmap Checker | ${{ steps.heatmap.outcome == 'success' && 'βœ… Passed' || (steps.heatmap.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Sequence Diagram Grammar | ${{ steps.oauth.outcome == 'success' && 'βœ… Passed' || (steps.oauth.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Semantic-Motion Verifier Tests | ${{ steps.semantic_motion_tests.outcome == 'success' && 'βœ… Passed' || (steps.semantic_motion_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Sequence-OAuth Verifier Tests | ${{ steps.oauth_tests.outcome == 'success' && 'βœ… Passed' || (steps.oauth_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Draw.io Import Extractor | ${{ steps.drawio.outcome == 'success' && 'βœ… Passed' || (steps.drawio.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Mermaid Import Extractor | ${{ steps.mermaid.outcome == 'success' && 'βœ… Passed' || (steps.mermaid.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Excalidraw Import Extractor | ${{ steps.excalidraw.outcome == 'success' && 'βœ… Passed' || (steps.excalidraw.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Optional Motion Contract | ${{ steps.motion.outcome == 'success' && 'βœ… Passed' || (steps.motion.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Doctor Diagnostics Contract | ${{ steps.doctor.outcome == 'success' && 'βœ… Passed' || (steps.doctor.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Doctor Diagnostics Tests | ${{ steps.doctor_tests.outcome == 'success' && 'βœ… Passed' || (steps.doctor_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Docs & Routing Sync | ${{ steps.docs_sync.outcome == 'success' && 'βœ… Passed' || (steps.docs_sync.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Canonical Screenshot Freshness | ${{ steps.screenshots.outcome == 'success' && 'βœ… Passed' || (steps.screenshots.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Screenshot Freshness Checker | ${{ steps.screenshots_tests.outcome == 'success' && 'βœ… Passed' || (steps.screenshots_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| README Thumbnail Freshness | ${{ steps.readme_thumbs.outcome == 'success' && 'βœ… Passed' || (steps.readme_thumbs.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Packaged Self-Check | ${{ steps.self_check.outcome == 'success' && 'βœ… Passed' || (steps.self_check.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Standalone SVG Export | ${{ steps.export_svg.outcome == 'success' && 'βœ… Passed' || (steps.export_svg.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Label Geometry | ${{ steps.geometry.outcome == 'success' && 'βœ… Passed' || (steps.geometry.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Label Geometry Checker | ${{ steps.geometry_tests.outcome == 'success' && 'βœ… Passed' || (steps.geometry_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Block Registry | ${{ steps.block_registry.outcome == 'success' && 'βœ… Passed' || (steps.block_registry.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Block Registry Checker | ${{ steps.block_registry_tests.outcome == 'success' && 'βœ… Passed' || (steps.block_registry_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Treemap Area & Label Fit | ${{ steps.treemap.outcome == 'success' && 'βœ… Passed' || (steps.treemap.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Treemap Checker | ${{ steps.treemap_tests.outcome == 'success' && 'βœ… Passed' || (steps.treemap_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Marimekko Width, Height & Area | ${{ steps.marimekko.outcome == 'success' && 'βœ… Passed' || (steps.marimekko.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Marimekko Checker | ${{ steps.marimekko_tests.outcome == 'success' && 'βœ… Passed' || (steps.marimekko_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Dumbbell Domain & Contrast | ${{ steps.dumbbell.outcome == 'success' && 'βœ… Passed' || (steps.dumbbell.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Dumbbell Checker | ${{ steps.dumbbell_tests.outcome == 'success' && 'βœ… Passed' || (steps.dumbbell_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Slopegraph Shared Scale | ${{ steps.slopegraph.outcome == 'success' && 'βœ… Passed' || (steps.slopegraph.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Slopegraph Checker | ${{ steps.slopegraph_tests.outcome == 'success' && 'βœ… Passed' || (steps.slopegraph_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Streamgraph Stack & Baseline | ${{ steps.streamgraph.outcome == 'success' && 'βœ… Passed' || (steps.streamgraph.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Streamgraph Checker | ${{ steps.streamgraph_tests.outcome == 'success' && 'βœ… Passed' || (steps.streamgraph_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Sankey Flow Conservation | ${{ steps.sankey.outcome == 'success' && 'βœ… Passed' || (steps.sankey.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Sankey Checker | ${{ steps.sankey_tests.outcome == 'success' && 'βœ… Passed' || (steps.sankey_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Waterfall Running-Total Conservation | ${{ steps.waterfall.outcome == 'success' && 'βœ… Passed' || (steps.waterfall.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Waterfall Checker | ${{ steps.waterfall_tests.outcome == 'success' && 'βœ… Passed' || (steps.waterfall_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Service Blueprint Visibility Line & Grid | ${{ steps.service_blueprint.outcome == 'success' && 'βœ… Passed' || (steps.service_blueprint.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Service Blueprint Checker | ${{ steps.service_blueprint_tests.outcome == 'success' && 'βœ… Passed' || (steps.service_blueprint_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Ridgeline Shared Amplitude | ${{ steps.ridgeline.outcome == 'success' && 'βœ… Passed' || (steps.ridgeline.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Ridgeline Checker | ${{ steps.ridgeline_tests.outcome == 'success' && 'βœ… Passed' || (steps.ridgeline_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Bubble Position & Area | ${{ steps.bubble.outcome == 'success' && 'βœ… Passed' || (steps.bubble.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Bubble Checker | ${{ steps.bubble_tests.outcome == 'success' && 'βœ… Passed' || (steps.bubble_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Bump Chart Rank Grid | ${{ steps.bump.outcome == 'success' && 'βœ… Passed' || (steps.bump.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Bump Checker | ${{ steps.bump_tests.outcome == 'success' && 'βœ… Passed' || (steps.bump_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Beeswarm Positions & Packing | ${{ steps.beeswarm.outcome == 'success' && 'βœ… Passed' || (steps.beeswarm.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Beeswarm Checker | ${{ steps.beeswarm_tests.outcome == 'success' && 'βœ… Passed' || (steps.beeswarm_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Architecture Delta Snapshots & Ledger | ${{ steps.architecture_delta.outcome == 'success' && 'βœ… Passed' || (steps.architecture_delta.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Architecture Delta Checker | ${{ steps.architecture_delta_tests.outcome == 'success' && 'βœ… Passed' || (steps.architecture_delta_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Architecture Containment Scopes | ${{ steps.architecture_containment.outcome == 'success' && 'βœ… Passed' || (steps.architecture_containment.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Architecture Containment Checker | ${{ steps.architecture_containment_tests.outcome == 'success' && 'βœ… Passed' || (steps.architecture_containment_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Exploded Examples Match Builder | ${{ steps.exploded_build.outcome == 'success' && 'βœ… Passed' || (steps.exploded_build.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Exploded Axonometric Geometry | ${{ steps.exploded.outcome == 'success' && 'βœ… Passed' || (steps.exploded.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Exploded Axonometric Checker | ${{ steps.exploded_tests.outcome == 'success' && 'βœ… Passed' || (steps.exploded_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Axonometric Plan Examples Match Builder | ${{ steps.axo_plan_build.outcome == 'success' && 'βœ… Passed' || (steps.axo_plan_build.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Axonometric Plan Geometry & Tags | ${{ steps.axo_plan.outcome == 'success' && 'βœ… Passed' || (steps.axo_plan.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Axonometric Plan Checker | ${{ steps.axo_plan_tests.outcome == 'success' && 'βœ… Passed' || (steps.axo_plan_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Tone Claim vs Ramp Polarity | ${{ steps.skin_polarity.outcome == 'success' && 'βœ… Passed' || (steps.skin_polarity.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Skin Polarity Checker | ${{ steps.skin_polarity_tests.outcome == 'success' && 'βœ… Passed' || (steps.skin_polarity_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Primitive Icons & Documentation | ${{ steps.icons.outcome == 'success' && 'βœ… Passed' || (steps.icons.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Render Linter Self-Test | ${{ steps.render_selftest.outcome == 'success' && 'βœ… Passed' || (steps.render_selftest.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Rendered Layout (paint oracle) | ${{ steps.render.outcome == 'success' && 'βœ… Passed' || (steps.render.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
- echo "| Export Snippet Stalled-Load Fallback | ${{ steps.export_wait.outcome == 'success' && 'βœ… Passed' || (steps.export_wait.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
+ run: | # zizmor: ignore[template-injection] values resolve only from fixed matrices and step outcomes
+ # Separate rows keep the summary definition mechanically reviewable.
+ # shellcheck disable=SC2129
+ echo "### πŸ“Š CI Verification Summary (${{ matrix.os }}, Python ${{ matrix.python-version }})" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Verification Gate | Outcome |" >> "$GITHUB_STEP_SUMMARY"
+ echo "|---|---|" >> "$GITHUB_STEP_SUMMARY"
+ echo "| SVG Accessibility Contract | ${{ steps.a11y.outcome == 'success' && 'βœ… Passed' || (steps.a11y.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Semantic Pattern Documentation | ${{ steps.semantic_docs.outcome == 'success' && 'βœ… Passed' || (steps.semantic_docs.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Animated Example Structure | ${{ steps.animated_example.outcome == 'success' && 'βœ… Passed' || (steps.animated_example.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Animated Example Skin | ${{ steps.animated_lint.outcome == 'success' && 'βœ… Passed' || (steps.animated_lint.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Shipped Motion HTML | ${{ steps.shipped_motion.outcome == 'success' && 'βœ… Passed' || (steps.shipped_motion.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| URL SVG Normalization | ${{ steps.url_icons.outcome == 'success' && 'βœ… Passed' || (steps.url_icons.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Devicon Normalization | ${{ steps.devicon.outcome == 'success' && 'βœ… Passed' || (steps.devicon.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Mojibake Repair Utility | ${{ steps.mojibake.outcome == 'success' && 'βœ… Passed' || (steps.mojibake.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Color Palette & Skin Linter | ${{ steps.skin.outcome == 'success' && 'βœ… Passed' || (steps.skin.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Skin Token Contrast | ${{ steps.contrast.outcome == 'success' && 'βœ… Passed' || (steps.contrast.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Quantitative Polar Chart | ${{ steps.polar.outcome == 'success' && 'βœ… Passed' || (steps.polar.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Heatmap Monotone Ramp & Grid | ${{ steps.heatmap.outcome == 'success' && 'βœ… Passed' || (steps.heatmap.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Heatmap Checker | ${{ steps.heatmap.outcome == 'success' && 'βœ… Passed' || (steps.heatmap.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Sequence Diagram Grammar | ${{ steps.oauth.outcome == 'success' && 'βœ… Passed' || (steps.oauth.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Semantic-Motion Verifier Tests | ${{ steps.semantic_motion_tests.outcome == 'success' && 'βœ… Passed' || (steps.semantic_motion_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Sequence-OAuth Verifier Tests | ${{ steps.oauth_tests.outcome == 'success' && 'βœ… Passed' || (steps.oauth_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Draw.io Import Extractor | ${{ steps.drawio.outcome == 'success' && 'βœ… Passed' || (steps.drawio.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Mermaid Import Extractor | ${{ steps.mermaid.outcome == 'success' && 'βœ… Passed' || (steps.mermaid.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Excalidraw Import Extractor | ${{ steps.excalidraw.outcome == 'success' && 'βœ… Passed' || (steps.excalidraw.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Optional Motion Contract | ${{ steps.motion.outcome == 'success' && 'βœ… Passed' || (steps.motion.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Doctor Diagnostics Contract | ${{ steps.doctor.outcome == 'success' && 'βœ… Passed' || (steps.doctor.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Doctor Diagnostics Tests | ${{ steps.doctor_tests.outcome == 'success' && 'βœ… Passed' || (steps.doctor_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Docs & Routing Sync | ${{ steps.docs_sync.outcome == 'success' && 'βœ… Passed' || (steps.docs_sync.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Canonical Screenshot Freshness | ${{ steps.screenshots.outcome == 'success' && 'βœ… Passed' || (steps.screenshots.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Screenshot Freshness Checker | ${{ steps.screenshots_tests.outcome == 'success' && 'βœ… Passed' || (steps.screenshots_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| README Thumbnail Freshness | ${{ steps.readme_thumbs.outcome == 'success' && 'βœ… Passed' || (steps.readme_thumbs.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Packaged Self-Check | ${{ steps.self_check.outcome == 'success' && 'βœ… Passed' || (steps.self_check.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Standalone SVG Export | ${{ steps.export_svg.outcome == 'success' && 'βœ… Passed' || (steps.export_svg.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Label Geometry | ${{ steps.geometry.outcome == 'success' && 'βœ… Passed' || (steps.geometry.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Label Geometry Checker | ${{ steps.geometry_tests.outcome == 'success' && 'βœ… Passed' || (steps.geometry_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Block Registry | ${{ steps.block_registry.outcome == 'success' && 'βœ… Passed' || (steps.block_registry.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Block Registry Checker | ${{ steps.block_registry_tests.outcome == 'success' && 'βœ… Passed' || (steps.block_registry_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Treemap Area & Label Fit | ${{ steps.treemap.outcome == 'success' && 'βœ… Passed' || (steps.treemap.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Treemap Checker | ${{ steps.treemap_tests.outcome == 'success' && 'βœ… Passed' || (steps.treemap_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Marimekko Width, Height & Area | ${{ steps.marimekko.outcome == 'success' && 'βœ… Passed' || (steps.marimekko.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Marimekko Checker | ${{ steps.marimekko_tests.outcome == 'success' && 'βœ… Passed' || (steps.marimekko_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Dumbbell Domain & Contrast | ${{ steps.dumbbell.outcome == 'success' && 'βœ… Passed' || (steps.dumbbell.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Dumbbell Checker | ${{ steps.dumbbell_tests.outcome == 'success' && 'βœ… Passed' || (steps.dumbbell_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Slopegraph Shared Scale | ${{ steps.slopegraph.outcome == 'success' && 'βœ… Passed' || (steps.slopegraph.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Slopegraph Checker | ${{ steps.slopegraph_tests.outcome == 'success' && 'βœ… Passed' || (steps.slopegraph_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Streamgraph Stack & Baseline | ${{ steps.streamgraph.outcome == 'success' && 'βœ… Passed' || (steps.streamgraph.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Streamgraph Checker | ${{ steps.streamgraph_tests.outcome == 'success' && 'βœ… Passed' || (steps.streamgraph_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Sankey Flow Conservation | ${{ steps.sankey.outcome == 'success' && 'βœ… Passed' || (steps.sankey.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Sankey Checker | ${{ steps.sankey_tests.outcome == 'success' && 'βœ… Passed' || (steps.sankey_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Waterfall Running-Total Conservation | ${{ steps.waterfall.outcome == 'success' && 'βœ… Passed' || (steps.waterfall.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Waterfall Checker | ${{ steps.waterfall_tests.outcome == 'success' && 'βœ… Passed' || (steps.waterfall_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Service Blueprint Visibility Line & Grid | ${{ steps.service_blueprint.outcome == 'success' && 'βœ… Passed' || (steps.service_blueprint.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Service Blueprint Checker | ${{ steps.service_blueprint_tests.outcome == 'success' && 'βœ… Passed' || (steps.service_blueprint_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Ridgeline Shared Amplitude | ${{ steps.ridgeline.outcome == 'success' && 'βœ… Passed' || (steps.ridgeline.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Ridgeline Checker | ${{ steps.ridgeline_tests.outcome == 'success' && 'βœ… Passed' || (steps.ridgeline_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Bubble Position & Area | ${{ steps.bubble.outcome == 'success' && 'βœ… Passed' || (steps.bubble.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Bubble Checker | ${{ steps.bubble_tests.outcome == 'success' && 'βœ… Passed' || (steps.bubble_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Bump Chart Rank Grid | ${{ steps.bump.outcome == 'success' && 'βœ… Passed' || (steps.bump.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Bump Checker | ${{ steps.bump_tests.outcome == 'success' && 'βœ… Passed' || (steps.bump_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Beeswarm Positions & Packing | ${{ steps.beeswarm.outcome == 'success' && 'βœ… Passed' || (steps.beeswarm.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Beeswarm Checker | ${{ steps.beeswarm_tests.outcome == 'success' && 'βœ… Passed' || (steps.beeswarm_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Architecture Delta Snapshots & Ledger | ${{ steps.architecture_delta.outcome == 'success' && 'βœ… Passed' || (steps.architecture_delta.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Architecture Delta Checker | ${{ steps.architecture_delta_tests.outcome == 'success' && 'βœ… Passed' || (steps.architecture_delta_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Architecture Containment Scopes | ${{ steps.architecture_containment.outcome == 'success' && 'βœ… Passed' || (steps.architecture_containment.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Architecture Containment Checker | ${{ steps.architecture_containment_tests.outcome == 'success' && 'βœ… Passed' || (steps.architecture_containment_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Exploded Examples Match Builder | ${{ steps.exploded_build.outcome == 'success' && 'βœ… Passed' || (steps.exploded_build.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Exploded Axonometric Geometry | ${{ steps.exploded.outcome == 'success' && 'βœ… Passed' || (steps.exploded.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Exploded Axonometric Checker | ${{ steps.exploded_tests.outcome == 'success' && 'βœ… Passed' || (steps.exploded_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Axonometric Plan Examples Match Builder | ${{ steps.axo_plan_build.outcome == 'success' && 'βœ… Passed' || (steps.axo_plan_build.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Axonometric Plan Geometry & Tags | ${{ steps.axo_plan.outcome == 'success' && 'βœ… Passed' || (steps.axo_plan.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Axonometric Plan Checker | ${{ steps.axo_plan_tests.outcome == 'success' && 'βœ… Passed' || (steps.axo_plan_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Tone Claim vs Ramp Polarity | ${{ steps.skin_polarity.outcome == 'success' && 'βœ… Passed' || (steps.skin_polarity.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Skin Polarity Checker | ${{ steps.skin_polarity_tests.outcome == 'success' && 'βœ… Passed' || (steps.skin_polarity_tests.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Primitive Icons & Documentation | ${{ steps.icons.outcome == 'success' && 'βœ… Passed' || (steps.icons.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Render Linter Self-Test | ${{ steps.render_selftest.outcome == 'success' && 'βœ… Passed' || (steps.render_selftest.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Rendered Layout (paint oracle) | ${{ steps.render.outcome == 'success' && 'βœ… Passed' || (steps.render.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
+ echo "| Export Snippet Stalled-Load Fallback | ${{ steps.export_wait.outcome == 'success' && 'βœ… Passed' || (steps.export_wait.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> "$GITHUB_STEP_SUMMARY"
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index 29cc633..820abfd 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -5,10 +5,7 @@ on:
branches: [ main ]
workflow_dispatch:
-permissions:
- contents: read
- pages: write
- id-token: write
+permissions: {}
concurrency:
group: pages
@@ -17,25 +14,33 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
+ permissions:
+ contents: read # checkout reads the gallery sources
+ pages: read # configure-pages reads the existing Pages configuration
steps:
- name: Checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
+ with:
+ persist-credentials: false
- name: Configure Pages
- uses: actions/configure-pages@v6
+ uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
- name: Upload gallery artifact
- uses: actions/upload-pages-artifact@v5
+ uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
with:
path: skills/diagram-design/assets
deploy:
needs: build
runs-on: ubuntu-latest
+ permissions:
+ pages: write # deploy-pages creates the Pages deployment
+ id-token: write # Pages verifies its branch and environment claims
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
- uses: actions/deploy-pages@v5
+ uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5
diff --git a/.github/zizmor.yml b/.github/zizmor.yml
new file mode 100644
index 0000000..f7515d0
--- /dev/null
+++ b/.github/zizmor.yml
@@ -0,0 +1,5 @@
+rules:
+ anonymous-definition:
+ disable: true
+ concurrency-limits:
+ disable: true
diff --git a/.maintainer-policy.json b/.maintainer-policy.json
index 5121d05..7926716 100644
--- a/.maintainer-policy.json
+++ b/.maintainer-policy.json
@@ -37,7 +37,7 @@
"python3 scripts/test-maintainer-policy.py",
"python3 scripts/test-build-openai-plugin-zip.py",
"python3 scripts/verify-plugin-package.py --require-no-bump origin/main",
- "npx --yes @anthropic-ai/[email protected] plugin validate . --strict",
+ "npm ci --prefix .github/ci/node && .github/ci/node/node_modules/.bin/claude plugin validate . --strict",
"python3 scripts/test-lint-a11y.py",
"python3 scripts/verify-semantic-motion.py --markdown-only",
"python3 scripts/verify-semantic-motion.py --example-only",
diff --git a/scripts/test-maintainer-policy.py b/scripts/test-maintainer-policy.py
index 1d71db4..53e42d5 100644
--- a/scripts/test-maintainer-policy.py
+++ b/scripts/test-maintainer-policy.py
@@ -16,10 +16,11 @@ rules:
inside ``$(...)`` or an ``if`` branch. ``python`` is spelled ``python3``
locally.
- Shell glue is not a gate: the commands in ``SHELL_GLUE`` install or print
- tools (``pip install``, ``playwright install``, ``python -c``, ``echo``) or
+ tools (``playwright install``, ``python -c``, ``echo``) or
steer control flow (``if``/``then``/``else``/``fi``, ``[``, ``git
rev-parse``, ``exit``). The list is read off the run lines ci.yml has.
-- A line starting with ``npx`` is one gate (the Claude plugin validator).
+- A line starting with ``npx`` or the locked local Claude executable is one
+ gate (the Claude plugin validator).
- A ``git diff ... --exit-code`` line checks what the command before it in
the same step generated, so it joins that command with ``&&`` (the
build-icons freshness gate). Backslash continuations are joined first.
@@ -118,6 +119,7 @@ SHELL_GLUE = (
("esac",),
("[",),
("git", "rev-parse"),
+ ("npm", "ci"),
("pip", "install"),
("python", "-m", "pip", "install"),
("playwright", "install"),
@@ -135,11 +137,13 @@ RUN_KEY = re.compile(r"^(?P<prefix>\s*(?:-\s+)?)run:\s*(?P<value>.*?)\s*$")
PYTHON_SCRIPT = re.compile(
r"(?<![\w./-])python3?\s+(?P<script>[\w./-]+\.py)(?P<args>(?:[ \t]+[^\s;&|()<>]+)*)"
)
+UV_RUN = re.compile(r"\buv run --locked --project \.github/ci/python\s+")
def normalize(command: str) -> str:
"""Canonical form of a policy entry: CI spelling, version gate collapsed."""
command = " ".join(command.split())
+ command = re.sub(r"^npm ci --prefix \.github/ci/node && ", "", command)
command = re.sub(r"^python(?=\s)", "python3", command)
return VERSION_GATE if command == LOCAL_VERSION_GATE else command
@@ -252,13 +256,14 @@ def ci_gates(workflow: str) -> tuple[set[str], list[str]]:
for block in run_blocks(workflow):
commands: list[str] = []
for line in logical_lines(block):
+ line = UV_RUN.sub("", line)
if line.startswith("git diff") and "--exit-code" in line:
if commands:
commands[-1] = f"{commands[-1]} && {line}"
else:
commands.append(line)
continue
- if line.startswith("npx "):
+ if line.startswith(("npx ", ".github/ci/node/node_modules/.bin/claude ")):
commands.append(line)
continue
commands.extend(match.group(0) for match in PYTHON_SCRIPT.finditer(line))
@@ -473,6 +478,18 @@ CASE_GUARDED_STEP = """
echo "$out" | grep -q "All export-wait cases passed"
"""
+UV_PREFIXED_STEP = """
+ - name: Verify browser-backed export
+ run: |
+ uv run --locked --project .github/ci/python playwright install --with-deps chromium
+ uv run --locked --project .github/ci/python python scripts/test-export-svg-standalone.py
+"""
+
+LOCKED_CLAUDE_STEP = """
+ - name: Validate Claude marketplace package with locked executable
+ run: .github/ci/node/node_modules/.bin/claude plugin validate . --strict
+"""
+
UNMAPPED_STEP = """
- name: Verify something with a shell script
run: bash scripts/check-something.sh
@@ -600,6 +617,23 @@ def self_test() -> list[str]:
SYNTHETIC_POLICY_COMMANDS + ["python3 scripts/test-export-wait.py"],
None,
),
+ (
+ "uv-prefixed gate registered",
+ synthetic_ci(UV_PREFIXED_STEP),
+ SYNTHETIC_POLICY_COMMANDS
+ + ["python3 scripts/test-export-svg-standalone.py"],
+ None,
+ ),
+ (
+ "locked Claude executable registered",
+ synthetic_ci(LOCKED_CLAUDE_STEP),
+ SYNTHETIC_POLICY_COMMANDS
+ + [
+ "npm ci --prefix .github/ci/node && "
+ ".github/ci/node/node_modules/.bin/claude plugin validate . --strict"
+ ],
+ None,
+ ),
(
"pull requests stop running the version gate",
synthetic_ci().replace(old_version_step, PUSH_ONLY_VERSION_STEP + "\n"),
diff --git a/scripts/test-plugin-package.py b/scripts/test-plugin-package.py
index 0a1ae9a..fab3922 100755
--- a/scripts/test-plugin-package.py
+++ b/scripts/test-plugin-package.py
@@ -5,6 +5,7 @@ from __future__ import annotations
import importlib.util
import json
+import os
import shutil
import subprocess
import sys
@@ -720,6 +721,7 @@ def test_ci_version_gate_executes() -> None:
[bash, "--noprofile", "--norc", "-eo", "pipefail", str(step)],
cwd=root,
capture_output=True,
+ env={**os.environ, "EVENT_NAME": "pull_request"},
text=True,
)