@adia-ai/adia-ui-forge 0.8.8 → 0.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,38 +1,139 @@
1
1
  {
2
- "positives": [
3
- "review this site docs page for consistency",
4
- "does this callout look like plain text to you",
5
- "why is the code background not visible on this page",
6
- "add a new pattern page under site/pages/patterns",
7
- "author a new getting-started guide page",
8
- "write a new architecture explainer page for the docs site",
9
- "create a reference page documenting the MCP tools",
10
- "this demo page needs a tamed static frame like the other pattern pages",
11
- "add a new admin-shell demo to this patterns page without duplicating the taming CSS",
12
- "is this site page consistent with our authoring conventions",
13
- "audit site/pages/guides for the same callout bug we found elsewhere",
14
- "this warning box on the docs page has no background at all",
15
- "what's the shared skeleton every site docs page should follow",
16
- "what token should a new chip-like surface use to stay readable against the page background",
17
- "check the patterns pages for any other unstyled data attributes like data-alert",
18
- "scaffold a new getting-started/theming-dark-mode.html page"
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "name": "adia-site-docs routing accuracy corpus",
4
+ "version": "2.1.0",
5
+ "purpose": "Routing-eval corpus for adia-site-docs. Each phrase declares the skill (expected), a forbidden skill (expected_not, for phrases the source data only ever asserted as \"not this skill\"), or neither. Scored by scripts/skills/run-skill-evals.mjs (TF-IDF token overlap over per-skill description+triggers).",
6
+ "scoring_notes": "Heuristic signal, not ground truth. Treat misroutes as a prompt to tighten the skill description, never as a reason to keyword-stuff it. Real harness routing is LLM-driven.",
7
+ "scope": "adia-site-docs routing \u2014 does this phrase activate adia-site-docs?",
8
+ "phrases": [
9
+ {
10
+ "id": "adia-site-docs-pos-01",
11
+ "phrase": "review this site docs page for consistency",
12
+ "expected": "adia-site-docs"
13
+ },
14
+ {
15
+ "id": "adia-site-docs-pos-02",
16
+ "phrase": "does this callout look like plain text to you",
17
+ "expected": "adia-site-docs"
18
+ },
19
+ {
20
+ "id": "adia-site-docs-pos-03",
21
+ "phrase": "why is the code background not visible on this page",
22
+ "expected": "adia-site-docs"
23
+ },
24
+ {
25
+ "id": "adia-site-docs-pos-04",
26
+ "phrase": "add a new pattern page under site/pages/patterns",
27
+ "expected": "adia-site-docs"
28
+ },
29
+ {
30
+ "id": "adia-site-docs-pos-05",
31
+ "phrase": "author a new getting-started guide page",
32
+ "expected": "adia-site-docs"
33
+ },
34
+ {
35
+ "id": "adia-site-docs-pos-06",
36
+ "phrase": "write a new architecture explainer page for the docs site",
37
+ "expected": "adia-site-docs"
38
+ },
39
+ {
40
+ "id": "adia-site-docs-pos-07",
41
+ "phrase": "create a reference page documenting the MCP tools",
42
+ "expected": "adia-site-docs"
43
+ },
44
+ {
45
+ "id": "adia-site-docs-pos-08",
46
+ "phrase": "this demo page needs a tamed static frame like the other pattern pages",
47
+ "expected": "adia-site-docs"
48
+ },
49
+ {
50
+ "id": "adia-site-docs-pos-09",
51
+ "phrase": "add a new admin-shell demo to this patterns page without duplicating the taming CSS",
52
+ "expected": "adia-site-docs"
53
+ },
54
+ {
55
+ "id": "adia-site-docs-pos-10",
56
+ "phrase": "is this site page consistent with our authoring conventions",
57
+ "expected": "adia-site-docs"
58
+ },
59
+ {
60
+ "id": "adia-site-docs-pos-11",
61
+ "phrase": "audit site/pages/guides for the same callout bug we found elsewhere",
62
+ "expected": "adia-site-docs"
63
+ },
64
+ {
65
+ "id": "adia-site-docs-pos-12",
66
+ "phrase": "this warning box on the docs page has no background at all",
67
+ "expected": "adia-site-docs"
68
+ },
69
+ {
70
+ "id": "adia-site-docs-pos-13",
71
+ "phrase": "what's the shared skeleton every site docs page should follow",
72
+ "expected": "adia-site-docs"
73
+ },
74
+ {
75
+ "id": "adia-site-docs-pos-14",
76
+ "phrase": "what token should a new chip-like surface use to stay readable against the page background",
77
+ "expected": "adia-site-docs"
78
+ },
79
+ {
80
+ "id": "adia-site-docs-pos-15",
81
+ "phrase": "check the patterns pages for any other unstyled data attributes like data-alert",
82
+ "expected": "adia-site-docs"
83
+ },
84
+ {
85
+ "id": "adia-site-docs-pos-16",
86
+ "phrase": "scaffold a new getting-started/theming-dark-mode.html page",
87
+ "expected": "adia-site-docs"
88
+ },
89
+ {
90
+ "id": "adia-site-docs-neg-01",
91
+ "phrase": "review this component's own demo gallery in its .examples.html file",
92
+ "expected_not": "adia-site-docs"
93
+ },
94
+ {
95
+ "id": "adia-site-docs-neg-02",
96
+ "phrase": "fix this gen-ui training exemplar page under site/pages/examples",
97
+ "expected_not": "adia-site-docs"
98
+ },
99
+ {
100
+ "id": "adia-site-docs-neg-03",
101
+ "phrase": "tune the zettel retrieval threshold for the chunk corpus",
102
+ "expected_not": "adia-site-docs"
103
+ },
104
+ {
105
+ "id": "adia-site-docs-neg-04",
106
+ "phrase": "add a new prop to the button-ui primitive",
107
+ "expected_not": "adia-site-docs"
108
+ },
109
+ {
110
+ "id": "adia-site-docs-neg-05",
111
+ "phrase": "cut the next npm release for the 9 @adia-ai packages",
112
+ "expected_not": "adia-site-docs"
113
+ },
114
+ {
115
+ "id": "adia-site-docs-neg-06",
116
+ "phrase": "deploy the docs site to ui-kit.exe.xyz",
117
+ "expected_not": "adia-site-docs"
118
+ },
119
+ {
120
+ "id": "adia-site-docs-neg-07",
121
+ "phrase": "fix this gen-ui training exemplar page",
122
+ "expected_not": "adia-site-docs"
123
+ },
124
+ {
125
+ "id": "adia-site-docs-neg-08",
126
+ "phrase": "add a demo to the patterns page for card-ui",
127
+ "expected_not": "adia-site-docs"
128
+ }
19
129
  ],
20
- "negatives": [
21
- "review this component's own demo gallery in its .examples.html file",
22
- "fix this gen-ui training exemplar page under site/pages/examples",
23
- "tune the zettel retrieval threshold for the chunk corpus",
24
- "add a new prop to the button-ui primitive",
25
- "cut the next npm release for the 9 @adia-ai packages",
26
- "deploy the docs site to ui-kit.exe.xyz",
27
- "fix this gen-ui training exemplar page",
28
- "add a demo to the patterns page for card-ui"
29
- ],
30
- "_measured": {
130
+ "_measured_historical": {
31
131
  "as_of": "2026-07-18",
32
132
  "scorer": "routing_eval.py (nonoun-plugins/forge)",
33
133
  "f1": 0.733,
34
134
  "precision": 0.786,
35
135
  "recall": 0.688,
36
- "exit_code": 0
136
+ "exit_code": 0,
137
+ "note": "measured by the external routing_eval.py (nonoun-plugins/forge) against the pre-conversion positives/negatives shape; historical record only, not regenerated by run-skill-evals.mjs."
37
138
  }
38
139
  }
@@ -0,0 +1,20 @@
1
+ {
2
+ "skill": "adia-ssr",
3
+ "note": "Trigger-routing suite (gh#369). expect=trigger: the skill should fire on the prompt in a fresh session. expect=no-trigger: a near-miss owned elsewhere (owner named per case) or generic knowledge with no AdiaUI skill involved. Cases derived from evals/routing-corpus.json's phrases array (gh#355 vetted corpus) plus the SKILL.md description's own trigger/NOT-fence language. adia-ssr is user-invocable:false but disable-model-invocation:false, so it remains model-invocable and is in G7's scope.",
4
+ "cases": [
5
+ { "id": "t01", "prompt": "Why does text-ui render empty when we server-render it with Astro?", "expect": "trigger" },
6
+ { "id": "t02", "prompt": "Our SSR pass crashes because attachInternals isn't a function under linkedom", "expect": "trigger" },
7
+ { "id": "t03", "prompt": "Does select-ui work under linkedom?", "expect": "trigger" },
8
+ { "id": "t04", "prompt": "table-ui and chart-ui always render empty in our server-rendered HTML even though the data is set", "expect": "trigger" },
9
+ { "id": "t05", "prompt": "Is it safe to call getBoundingClientRect() synchronously in connectedCallback?", "expect": "trigger" },
10
+ { "id": "t06", "prompt": "document.adoptedStyleSheets is undefined and our component library crashes on import under SSR", "expect": "trigger" },
11
+ { "id": "t07", "prompt": "What's the actual root cause of the SSR content-loss bug — container CEs losing their nested children?", "expect": "trigger" },
12
+ { "id": "t08", "prompt": "Can our app finally delete the 110-line browser-API SSR shim now that 0.8.5 is out?", "expect": "trigger" },
13
+ { "id": "n01", "prompt": "Add hydration-aware stamping so connectedCallback stops overwriting existing children", "expect": "no-trigger", "owner": "adia-author" },
14
+ { "id": "n02", "prompt": "Set up Astro's rendering mode and hydration boundaries for our admin app", "expect": "no-trigger", "owner": "adia-host" },
15
+ { "id": "n03", "prompt": "Explain how custom element hydration works in general, independent of any specific framework", "expect": "no-trigger" },
16
+ { "id": "n04", "prompt": "Wire up the a2ui generation pipeline to run inside a server-rendered page", "expect": "no-trigger", "owner": "adia-a2ui" },
17
+ { "id": "n05", "prompt": "Add a new primitive to the component catalog", "expect": "no-trigger", "owner": "adia-author" },
18
+ { "id": "n06", "prompt": "Deploy the latest build to ui-kit.exe.xyz", "expect": "no-trigger", "owner": "adia-deploy" }
19
+ ]
20
+ }
@@ -1,34 +1,119 @@
1
1
  {
2
- "positives": [
3
- "why does text-ui render empty when we server-render it with Astro",
4
- "our SSR pass crashes on attachInternals not being a function",
5
- "does select-ui work under linkedom",
6
- "admin-sidebar snaps collapsed on every server-rendered page load",
7
- "is gh#284 fixed yet, can we drop the attribute-only SSR registration restriction",
8
- "how do we test that a new ResizeObserver guard actually works without installing linkedom",
9
- "new ResizeObserver() throws under our DOM-shim SSR environment",
10
- "table-ui and chart-ui always render empty in our server-rendered HTML even though the data is set",
11
- "what's the actual root cause of the SSR content-loss bug, container CEs losing their nested children",
12
- "can our app finally delete the 110-line browser-API shim now that 0.8.5 is out",
13
- "is it safe to call getBoundingClientRect() synchronously in connectedCallback",
14
- "document.adoptedStyleSheets is undefined and our component library crashes on import"
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "name": "adia-ssr routing accuracy corpus",
4
+ "version": "2.1.0",
5
+ "purpose": "Routing-eval corpus for adia-ssr. Each phrase declares the skill (expected), a forbidden skill (expected_not, for phrases the source data only ever asserted as \"not this skill\"), or neither. Scored by scripts/skills/run-skill-evals.mjs (TF-IDF token overlap over per-skill description+triggers).",
6
+ "scoring_notes": "Heuristic signal, not ground truth. Treat misroutes as a prompt to tighten the skill description, never as a reason to keyword-stuff it. Real harness routing is LLM-driven.",
7
+ "scope": "adia-ssr routing \u2014 does this phrase activate adia-ssr?",
8
+ "phrases": [
9
+ {
10
+ "id": "adia-ssr-pos-01",
11
+ "phrase": "why does text-ui render empty when we server-render it with Astro",
12
+ "expected": "adia-ssr"
13
+ },
14
+ {
15
+ "id": "adia-ssr-pos-02",
16
+ "phrase": "our SSR pass crashes on attachInternals not being a function",
17
+ "expected": "adia-ssr"
18
+ },
19
+ {
20
+ "id": "adia-ssr-pos-03",
21
+ "phrase": "does select-ui work under linkedom",
22
+ "expected": "adia-ssr"
23
+ },
24
+ {
25
+ "id": "adia-ssr-pos-04",
26
+ "phrase": "admin-sidebar snaps collapsed on every server-rendered page load",
27
+ "expected": "adia-ssr"
28
+ },
29
+ {
30
+ "id": "adia-ssr-pos-05",
31
+ "phrase": "is gh#284 fixed yet, can we drop the attribute-only SSR registration restriction",
32
+ "expected": "adia-ssr"
33
+ },
34
+ {
35
+ "id": "adia-ssr-pos-06",
36
+ "phrase": "how do we test that a new ResizeObserver guard actually works without installing linkedom",
37
+ "expected": "adia-ssr"
38
+ },
39
+ {
40
+ "id": "adia-ssr-pos-07",
41
+ "phrase": "new ResizeObserver() throws under our DOM-shim SSR environment",
42
+ "expected": "adia-ssr"
43
+ },
44
+ {
45
+ "id": "adia-ssr-pos-08",
46
+ "phrase": "table-ui and chart-ui always render empty in our server-rendered HTML even though the data is set",
47
+ "expected": "adia-ssr"
48
+ },
49
+ {
50
+ "id": "adia-ssr-pos-09",
51
+ "phrase": "what's the actual root cause of the SSR content-loss bug, container CEs losing their nested children",
52
+ "expected": "adia-ssr"
53
+ },
54
+ {
55
+ "id": "adia-ssr-pos-10",
56
+ "phrase": "can our app finally delete the 110-line browser-API shim now that 0.8.5 is out",
57
+ "expected": "adia-ssr"
58
+ },
59
+ {
60
+ "id": "adia-ssr-pos-11",
61
+ "phrase": "is it safe to call getBoundingClientRect() synchronously in connectedCallback",
62
+ "expected": "adia-ssr"
63
+ },
64
+ {
65
+ "id": "adia-ssr-pos-12",
66
+ "phrase": "document.adoptedStyleSheets is undefined and our component library crashes on import",
67
+ "expected": "adia-ssr"
68
+ },
69
+ {
70
+ "id": "adia-ssr-neg-01",
71
+ "phrase": "add hydration-aware stamping so connectedCallback stops overwriting existing children",
72
+ "expected_not": "adia-ssr"
73
+ },
74
+ {
75
+ "id": "adia-ssr-neg-02",
76
+ "phrase": "set up Astro's rendering mode and hydration boundaries for our admin app",
77
+ "expected_not": "adia-ssr"
78
+ },
79
+ {
80
+ "id": "adia-ssr-neg-03",
81
+ "phrase": "explain how custom element hydration works in general, independent of any specific framework",
82
+ "expected_not": "adia-ssr"
83
+ },
84
+ {
85
+ "id": "adia-ssr-neg-04",
86
+ "phrase": "the icon registry comes back empty because of a workspace-hoisting import.meta.glob path bug",
87
+ "expected_not": "adia-ssr"
88
+ },
89
+ {
90
+ "id": "adia-ssr-neg-05",
91
+ "phrase": "wire up the a2ui generation pipeline to run inside a server-rendered page",
92
+ "expected_not": "adia-ssr"
93
+ },
94
+ {
95
+ "id": "adia-ssr-neg-06",
96
+ "phrase": "add a new primitive to the component catalog",
97
+ "expected_not": "adia-ssr"
98
+ },
99
+ {
100
+ "id": "adia-ssr-neg-07",
101
+ "phrase": "compose the billing settings screen from the catalog",
102
+ "expected_not": "adia-ssr"
103
+ },
104
+ {
105
+ "id": "adia-ssr-neg-08",
106
+ "phrase": "deploy the latest build to ui-kit.exe.xyz",
107
+ "expected": "adia-deploy"
108
+ }
15
109
  ],
16
- "negatives": [
17
- "add hydration-aware stamping so connectedCallback stops overwriting existing children",
18
- "set up Astro's rendering mode and hydration boundaries for our admin app",
19
- "explain how custom element hydration works in general, independent of any specific framework",
20
- "the icon registry comes back empty because of a workspace-hoisting import.meta.glob path bug",
21
- "wire up the a2ui generation pipeline to run inside a server-rendered page",
22
- "add a new primitive to the component catalog",
23
- "compose the billing settings screen from the catalog",
24
- "deploy the latest build to ui-kit.exe.xyz"
25
- ],
26
- "_measured": {
110
+ "_measured_historical": {
27
111
  "as_of": "2026-07-18",
28
112
  "scorer": "routing_eval.py (nonoun-plugins/forge)",
29
113
  "f1": 0.957,
30
114
  "precision": 1.0,
31
115
  "recall": 0.917,
32
- "exit_code": 0
116
+ "exit_code": 0,
117
+ "note": "measured by the external routing_eval.py (nonoun-plugins/forge) against the pre-conversion positives/negatives shape; historical record only, not regenerated by run-skill-evals.mjs."
33
118
  }
34
119
  }