Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat(guards): register the Windows glance widget check so /guards lists it

nirholasc6cd90334e65
diff --git a/data/guards.json b/data/guards.json
index 1fe45cd6e..60406fc4b 100644
--- a/data/guards.json
+++ b/data/guards.json
@@ -1,5 +1,5 @@
{
- "updated": "2026-09-08",
+ "updated": "2026-09-09",
"summary": "Every mechanical guard that protects this repository, and the stage each one runs in. This file is the single source of truth: scripts/audit-guards.mjs proves every entry is real and every stage claim is true, docs/guards.md explains them, and /guards renders them.",
"stages": [
{
@@ -835,6 +835,28 @@
"expect": "no longer reads"
}
},
+ {
+ "id": "check-windows-widget",
+ "script": "scripts/check-windows-widget.mjs",
+ "npm": "check:windows-widget",
+ "title": "The Windows 11 glance widget still satisfies the board's contract",
+ "protects": "The widgets member in vite.config.js, the glance service worker, the two glance endpoints and the Adaptive Card all agree with each other: every field the board requires is present, the declared icons and screenshots exist at the sizes claimed, the worker handles all six board lifecycle events, fetches the card rather than handing the host its URL, registers the refresh interval the manifest advertises, and the card expands in the board's own templating engine for every state with no unbound expressions and no dead button targets.",
+ "why": "The widgets board is the one surface nothing in this repository can open: it needs Windows 11, Edge, and the PWA installed. A broken slot renders as nothing at all rather than as an error, so every defect here is silent twice over, invisible locally and invisible to the user. Four have already reached that state while every other check stayed green: the worker passing the host a template URL where the card belonged, no periodic sync ever registered, a slot pinned before the worker activated staying empty, and a card written with JavaScript array paths that the board's expression engine refuses to parse. That last one is why this runs the real engine instead of reading the template with our own idea of a path: `${stats.0.label}` resolves in JavaScript and is a syntax error in Adaptive Expression Language, and the engine throws away the whole card rather than skipping the one binding, so a single dotted index empties the widget.",
+ "stages": [
+ "gate"
+ ],
+ "needs": "none",
+ "proof": {
+ "kind": "mutation",
+ "summary": "A screenshot the manifest advertises to the widget picker is gone from the tree.",
+ "violation": {
+ "delete": [
+ "public/screenshots/glance-widget.png"
+ ]
+ },
+ "expect": "is declared but"
+ }
+ },
{
"id": "check-awesome",
"script": "scripts/build-awesome.mjs",
diff --git a/docs/guards.md b/docs/guards.md
index 8897577d0..7a7cff6be 100644
--- a/docs/guards.md
+++ b/docs/guards.md
@@ -113,6 +113,7 @@ Run `npm run audit:guards` to print the current count and per-stage breakdown. T
| iOS app icon | `npm run check:ios-icons` | The committed iOS icon and launch images are exactly what the current brand mark produces, and the icon carries no alpha channel. |
| macOS app icon | `npm run check:macos-icon` | The ten committed Mac icon sizes and their Contents.json are exactly what the current brand mark produces. |
| Apple glance widget | `npm run check:apple-widget` | Both Xcode projects that build the Agent glance widget are consistent, every shared Swift source belongs to the targets that need it, and the Swift client still agrees with `api/glance/mine.js` on the endpoint, the headers, the states, the sizes and the token shape. |
+| Windows glance widget | `npm run check:windows-widget` | The widgets member in `vite.config.js`, the glance service worker, the two glance endpoints and the Adaptive Card all agree: every field the board requires is present, the declared icons and screenshots exist at the sizes claimed, the worker handles all six board lifecycle events and registers the advertised refresh, and the card expands in the board's own templating engine with no unbound expressions and no dead button targets. |
### Routing and pages
diff --git a/public/guards.json b/public/guards.json
index 1fe45cd6e..60406fc4b 100644
--- a/public/guards.json
+++ b/public/guards.json
@@ -1,5 +1,5 @@
{
- "updated": "2026-09-08",
+ "updated": "2026-09-09",
"summary": "Every mechanical guard that protects this repository, and the stage each one runs in. This file is the single source of truth: scripts/audit-guards.mjs proves every entry is real and every stage claim is true, docs/guards.md explains them, and /guards renders them.",
"stages": [
{
@@ -835,6 +835,28 @@
"expect": "no longer reads"
}
},
+ {
+ "id": "check-windows-widget",
+ "script": "scripts/check-windows-widget.mjs",
+ "npm": "check:windows-widget",
+ "title": "The Windows 11 glance widget still satisfies the board's contract",
+ "protects": "The widgets member in vite.config.js, the glance service worker, the two glance endpoints and the Adaptive Card all agree with each other: every field the board requires is present, the declared icons and screenshots exist at the sizes claimed, the worker handles all six board lifecycle events, fetches the card rather than handing the host its URL, registers the refresh interval the manifest advertises, and the card expands in the board's own templating engine for every state with no unbound expressions and no dead button targets.",
+ "why": "The widgets board is the one surface nothing in this repository can open: it needs Windows 11, Edge, and the PWA installed. A broken slot renders as nothing at all rather than as an error, so every defect here is silent twice over, invisible locally and invisible to the user. Four have already reached that state while every other check stayed green: the worker passing the host a template URL where the card belonged, no periodic sync ever registered, a slot pinned before the worker activated staying empty, and a card written with JavaScript array paths that the board's expression engine refuses to parse. That last one is why this runs the real engine instead of reading the template with our own idea of a path: `${stats.0.label}` resolves in JavaScript and is a syntax error in Adaptive Expression Language, and the engine throws away the whole card rather than skipping the one binding, so a single dotted index empties the widget.",
+ "stages": [
+ "gate"
+ ],
+ "needs": "none",
+ "proof": {
+ "kind": "mutation",
+ "summary": "A screenshot the manifest advertises to the widget picker is gone from the tree.",
+ "violation": {
+ "delete": [
+ "public/screenshots/glance-widget.png"
+ ]
+ },
+ "expect": "is declared but"
+ }
+ },
{
"id": "check-awesome",
"script": "scripts/build-awesome.mjs",