-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
1677 lines (1677 loc) · 56.6 KB
/
Copy pathmanifest.json
File metadata and controls
1677 lines (1677 loc) · 56.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "https://github.com/ConductionNL/nextcloud-vue/raw/main/src/schemas/app-manifest-v2.schema.json",
"version": "0.7.0",
"dependencies": [
"openregister"
],
"menu": [
{
"id": "Chat",
"label": "Chat",
"icon": "MessageTextOutline",
"route": "Chat",
"order": 8
},
{
"id": "AgentCatalog",
"label": "Agents",
"icon": "Creation",
"route": "AgentCatalog",
"order": 10
},
{
"id": "ApprovalInbox",
"label": "Approvals",
"icon": "Check",
"route": "ApprovalInbox",
"order": 15
},
{
"id": "Store",
"label": "Store",
"icon": "StoreOutline",
"route": "Store",
"order": 92,
"section": "footer"
},
{
"id": "AgentMemory",
"label": "Memory",
"icon": "Brain",
"route": "AgentMemory",
"order": 17
},
{
"id": "SkillsCatalog",
"label": "Skills",
"icon": "SchoolOutline",
"route": "SkillsCatalog",
"order": 18
},
{
"id": "Dashboard",
"label": "Dashboard",
"icon": "ViewDashboardOutline",
"route": "Dashboard",
"order": 5
},
{
"id": "Documentation",
"label": "Documentation",
"icon": "BookOpenVariantOutline",
"href": "https://www.conduction.nl/academy",
"section": "footer",
"order": 90
},
{
"id": "FeaturesRoadmapMenu",
"label": "Features & roadmap",
"icon": "MapMarkerPath",
"route": "FeaturesRoadmap",
"section": "footer",
"order": 100
},
{
"id": "TenantOps",
"label": "Tenant ops",
"icon": "ShieldOutline",
"route": "TenantOps",
"section": "settings",
"order": 40
},
{
"id": "EvalDatasets",
"label": "Evaluations",
"icon": "ChartLine",
"route": "EvalDatasets",
"order": 101
},
{
"id": "McpTools",
"label": "MCP tools",
"icon": "Connection",
"route": "McpTools",
"order": 21
},
{
"id": "GuardrailPolicy",
"label": "Guardrail policy",
"icon": "ShieldOutline",
"route": "GuardrailPolicy",
"section": "settings",
"order": 10
},
{
"id": "AlgorithmRegister",
"label": "Algorithm register",
"icon": "OfficeBuilding",
"route": "AlgorithmRegister",
"section": "settings",
"order": 20
},
{
"id": "Compliance",
"label": "Compliance",
"icon": "ClipboardCheckOutline",
"route": "Compliance",
"section": "settings",
"order": 30
},
{
"id": "FlowIndex",
"label": "Flows",
"icon": "Sitemap",
"route": "FlowIndex",
"section": "settings",
"order": 96
},
{
"id": "ReportsMenu",
"label": "Reports",
"icon": "ChartBoxOutline",
"route": "Reports",
"section": "footer",
"order": 95
}
],
"pages": [
{
"id": "Chat",
"route": "/chat",
"type": "custom",
"component": "Chat",
"title": "Chat",
"_note": "Custom page: a streaming chat thread is genuinely custom — SSE token/tool-call consumption with a live assistant bubble, a conversation archive lifecycle driven by Hermiq's payload-marker soft delete, per-message feedback, and an agent-selector empty state are not expressible via the built-in index/detail/dashboard page types (agent-engine-port). Standard nav page — not a dashboard."
},
{
"id": "AgentCatalog",
"route": "/agents",
"type": "index",
"title": "Agents",
"config": {
"register": "hermiq",
"schema": "agent",
"_note": "manifest-driven-pages: converted from type:custom — the read path was already createObjectStore agent/hermiq, read-equivalent to the generic objects endpoint (design.md Decision 5). The former Schedule/Last-run derived columns are dropped, not faked — they require a reverse-FK join (Schedule.agentId -> Agent) OpenRegister's calculation engine does not support (design.md Decision 9); the same status is one click away on AgentDetail's run-operations/run-history widgets.",
"columns": [
{
"key": "name",
"label": "Name"
},
{
"key": "model",
"label": "Model"
}
],
"rowRoute": "AgentDetail",
"headerActions": [
{
"id": "browse-templates",
"label": "Browse templates",
"icon": "Package",
"handler": "navigate",
"route": "Store"
}
]
},
"slots": {
"form-dialog": "AgentFormModal"
}
},
{
"id": "AgentDetail",
"route": "/agents/:id",
"type": "detail",
"title": "Agent",
"config": {
"register": "hermiq",
"schema": "agent",
"_note": "manifest-driven-pages: converted from one opaque type:custom AgentDetail.vue (1570 lines) to a type:detail widget grid (ADR-062: every widget fills its gridHeight exactly, no inner scrollbars, no reserved voids). Six of seven content widgets stay type:custom — Hermiq's AI-governance interactions (dry-run/replay, run-trace observability, tool-catalogue editing, webhook lifecycle) are inherently bespoke, unlike procest/pipelinq's plain-data domain objects (design.md Decision 3). tools is excluded from the data widget and edited only via the Edit-agent header action's existing NcSelect-over-live-catalogue editor (design.md Decision 1). Header actions use config.headerActions: verified at HEAD that CnDetailPage renders config.headerActions via CnActionButtons, while the schema's top-level page.actions[] typed-action array is not yet wired into CnDetailPage's render path — this change follows HEAD over the original REQ-008 wording (flagged for the reviewer). agent-detail-redesign (2026-07-31): the page was overflowing its own grid — the four KPIs were one custom widget crammed into gridHeight 2, so its cards spilled into Skills, while agent-core/skills/run-history reserved 3-10x the height their content used. The KPIs are now four type:stat tiles across the top, agent-scoped by params.agentId = @objectId (the endpoint engine resolves that token on a detail page), which is the SAME four numbers with each one sized to a tile. Every gridHeight below was set from the widget's rendered content height measured in a browser at 12 columns (80px/row), verified against BOTH a 1-field agent and a 23-field one, and re-measured until no widget's scrollHeight exceeded its cell. Four widgets could not be sized at all until their content was bounded, because their content is a variable-length list and no fixed gridHeight can hold one: the instance-wide tool catalogue (~100 rows = 6,600px here), the invocation audit trail, the run history, and the memory entries. Each now scrolls inside its own region with a sticky header (ToolGrantEditor also gained a filter — 100 unfiltered rows behind a scrollbar is not a way to find one tool). ADR-062's 'a widget fills its gridHeight exactly' can only be honoured by an unbounded list if the list scrolls internally. agent-core is the one deliberate exception to measured sizing: it is sized for the 9 fields it DECLARES (5 rows at columns:2, 61px/row measured, + 93px chrome = 398px -> h5) rather than the 154px it currently renders, because it currently renders only 'name' — hermiq's agent schema (36 properties) and openbuild's agent schema (6 properties) share the slug 'agent', GET /api/schemas/agent resolves to openbuild's, and 'name' is their only common property. That is an OpenRegister slug-resolution bug (no register-scoped lookup exists: ?register= is ignored and the nested route 404s), not a layout one, so the cell is sized for the correct content instead of baking the bug into the geometry. AgentFormModal/AgentVersionHistoryDialog/AgentFactsheetDialog self-resolve the current agent id (and, for version history, the owner-only rollback gate) from the route when opened via open-modal, since open-modal action props are static JSON, not resolved against @objectId at HEAD. agent-detail-redesign (2026-08-04): NONE of the geometry above was reaching the screen. Hermiq never shipped gridstack's stylesheet — nc-vue imports it as a side-effect import from an aliased package and webpack tree-shakes those away (the same trap the explicit css/index.css import in src/main.js already worked around, one level up). GridStack >= 11 sets left/top INLINE but takes `position:absolute` on items and `position:relative` on the container from that stylesheet, so every widget on every grid page fell into normal flow: correct widths, no horizontal placement, all 11 cells stacked in one column down the left third of the viewport. Verified in-browser before the fix: gs-x=\"3\" carried `left: calc(3 * var(--gs-column-width))` resolving to 25% while `position` computed to `static`, and all 11 items reported left=371px. procest (gridstack 10, same renderer) positioned correctly, which is what localised it to hermiq. Fixed by an explicit `import 'gridstack/dist/gridstack.min.css'` in src/main.js. THEN the layout was recomposed to procest CaseDetail's shape: an 8-column main column (Configuration, Run operations, Memory) beside a persistent 4-column rail (the four KPI stat tiles stacked, then Skills, then Eval baseline), both closing exactly at row 16, with tool-governance and run-history full-width below. 33 rows -> 28, zero unfilled cells, and zero widgets whose scrollHeight exceeds their cell (re-measured in-browser). tool-governance halved from gridHeight 14 to 8 because its two surfaces are now TABBED inside the widget rather than stacked; its chrome title is off (showTitle:false) and the widget draws its own heading, because with the chrome title on it is a SIBLING of the widget root inside a display:block grid item, so height:100% resolved against the full box and ignored it — a permanent 6px overflow no gridHeight could remove.",
"widgets": [
{
"id": "agent-core",
"type": "data",
"title": "Configuration",
"icon": "Cog",
"content": {
"_note": "content.title, not just the widget's top-level title: `data` is an ownsTitle widget type, so CnDetailPage's widgetDisplayTitle deliberately returns content.title for it and ignores the chrome title (otherwise a seeded title permanently shadows a user's edit and can never be changed). With the title only at the top level this card rendered the generic default header 'Data' instead of 'Configuration'.",
"title": "Configuration",
"columns": 2,
"include": [
"name",
"description",
"type",
"provider",
"model",
"prompt",
"temperature",
"maxTokens",
"active"
]
}
},
{
"id": "agent-kpi-total-runs",
"type": "stat",
"title": "Total runs",
"content": {
"label": "Total runs",
"caption": "recorded",
"icon": "Timeline",
"format": {
"style": "decimal",
"decimals": 0
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics",
"params": {
"agentId": "@objectId"
}
},
"valueField": "totalRuns"
}
},
{
"id": "agent-kpi-success-rate",
"type": "stat",
"title": "Success rate",
"content": {
"label": "Success rate",
"caption": "completed",
"icon": "CheckCircleOutline",
"format": {
"style": "decimal",
"decimals": 0,
"suffix": "%"
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics",
"params": {
"agentId": "@objectId"
}
},
"valueField": "successRate",
"variantWhen": [
{
"op": "gte",
"value": 90,
"variant": "success"
},
{
"op": "lt",
"value": 60,
"variant": "warning"
}
]
}
},
{
"id": "agent-kpi-avg-latency",
"type": "stat",
"title": "Avg latency",
"content": {
"label": "Avg latency",
"caption": "per run",
"icon": "Gauge",
"format": {
"style": "decimal",
"decimals": 1,
"suffix": " s"
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics",
"params": {
"agentId": "@objectId"
}
},
"valueField": "latency.avgSeconds"
}
},
{
"id": "agent-kpi-tokens",
"type": "stat",
"title": "Tokens",
"content": {
"label": "Tokens",
"icon": "ChartBar",
"format": {
"style": "decimal",
"decimals": 0
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics",
"params": {
"agentId": "@objectId"
}
},
"valueField": "tokens.total"
}
},
{
"id": "agent-skills",
"type": "custom",
"title": "Skills",
"icon": "Package",
"_note": "skillInstalls attach/detach against the tenant Skill catalogue — the reverse of an object-list FK-child-collection shape (design.md Decision 3). Resolved via page.slots.widget-agent-skills -> agent-skills."
},
{
"id": "agent-tool-governance",
"type": "custom",
"title": "Tool grants",
"icon": "ShieldCheckOutline",
"_note": "The (cluster, subject, verb) grant matrix over the ADR-063 derived catalogue, clustered by owning app and rowed by schema. Resolved via page.slots.widget-agent-tool-governance -> agent-tool-governance."
},
{
"id": "agent-tool-activity",
"type": "custom",
"title": "Tool activity",
"icon": "History",
"_note": "The EU AI Act art.12/14 tool-invocation audit table. Split out of agent-tool-governance, where it was the second tab: 'what MAY this agent do' and 'what HAS it done' are read at different times by different people, and a tab hides whichever one you are not looking at. Resolved via page.slots.widget-agent-tool-activity -> agent-tool-activity."
},
{
"id": "agent-run-operations",
"type": "custom",
"title": "Run operations",
"icon": "RocketLaunch",
"_note": "Schedule attach/edit, Dry run, Run now, cost estimate, budget status and the webhook trigger all read/write the SAME schedule object and share previewResult/runError state — the manifest grid has no cross-widget state channel, so they stay one widget (design.md Decision 3). Resolved via page.slots.widget-agent-run-operations -> agent-run-operations."
},
{
"id": "agent-memory",
"type": "custom",
"title": "Memory",
"icon": "DatabaseOutline",
"_note": "Wraps the existing AgentMemoryPanel.vue unchanged (char-budget bar, consolidation nudge, entries) — a bespoke surface over a non-OR-collection endpoint (design.md Decision 3, task 2). Resolved via page.slots.widget-agent-memory -> agent-memory."
},
{
"id": "agent-run-history",
"type": "custom",
"title": "Run history",
"icon": "History",
"_note": "Per-row trace expand-and-cache, a dead_letter-only Re-run, and a Replay dry-run + diff preview — object-list's static columns/rowRoute shape has no per-row expand or conditional actions (design.md Decision 2/3). Resolved via page.slots.widget-agent-run-history -> agent-run-history."
},
{
"id": "agent-eval-baseline",
"type": "custom",
"title": "Eval baseline mode",
"icon": "ClipboardCheckOutline",
"_note": "skill-evals: the data widget holding Agent.evalBaselineMode — edited here, with the register property's consequence-explaining description (joint vs per-skill, 2x vs (N+1)x cost) surfaced as an info affordance exactly where the value is changed (spec scenario). Resolved via page.slots.widget-agent-eval-baseline -> agent-eval-baseline."
}
],
"layout": [
{
"id": "5",
"widgetId": "agent-core",
"gridX": 0,
"gridY": 0,
"gridWidth": 8,
"gridHeight": 5,
"showTitle": true
},
{
"id": "1",
"widgetId": "agent-kpi-total-runs",
"gridX": 8,
"gridY": 0,
"gridWidth": 4,
"gridHeight": 2,
"showTitle": false
},
{
"id": "2",
"widgetId": "agent-kpi-success-rate",
"gridX": 8,
"gridY": 2,
"gridWidth": 4,
"gridHeight": 2,
"showTitle": false
},
{
"id": "3",
"widgetId": "agent-kpi-avg-latency",
"gridX": 8,
"gridY": 4,
"gridWidth": 4,
"gridHeight": 2,
"showTitle": false
},
{
"id": "4",
"widgetId": "agent-kpi-tokens",
"gridX": 8,
"gridY": 6,
"gridWidth": 4,
"gridHeight": 2,
"showTitle": false
},
{
"id": "7",
"widgetId": "agent-run-operations",
"gridX": 0,
"gridY": 5,
"gridWidth": 8,
"gridHeight": 6,
"showTitle": true
},
{
"id": "6",
"widgetId": "agent-skills",
"gridX": 8,
"gridY": 8,
"gridWidth": 4,
"gridHeight": 4,
"showTitle": true
},
{
"id": "8",
"widgetId": "agent-memory",
"gridX": 0,
"gridY": 11,
"gridWidth": 8,
"gridHeight": 5,
"showTitle": true
},
{
"id": "11",
"widgetId": "agent-eval-baseline",
"gridX": 8,
"gridY": 12,
"gridWidth": 4,
"gridHeight": 4,
"showTitle": true
},
{
"id": "9",
"widgetId": "agent-tool-governance",
"gridX": 0,
"gridY": 16,
"gridWidth": 12,
"gridHeight": 8,
"showTitle": false
},
{
"id": "11",
"widgetId": "agent-tool-activity",
"gridX": 0,
"gridY": 24,
"gridWidth": 12,
"gridHeight": 5,
"showTitle": false
},
{
"id": "10",
"widgetId": "agent-run-history",
"gridX": 0,
"gridY": 29,
"gridWidth": 12,
"gridHeight": 4,
"showTitle": true
}
],
"headerActions": [
{
"id": "edit-agent",
"label": "Edit agent",
"type": "open-modal",
"target": "agent-form",
"icon": "Pencil",
"props": {
"show": true
}
},
{
"id": "version-history",
"label": "Version history",
"type": "open-modal",
"target": "agent-version-history",
"icon": "History",
"props": {
"show": true
}
},
{
"id": "view-factsheet",
"label": "View compliance factsheet",
"type": "open-modal",
"target": "agent-factsheet",
"icon": "ShieldCheckOutline",
"props": {
"show": true
}
}
],
"sidebar": {
"enabled": false
}
},
"slots": {
"widget-agent-skills": "agent-skills",
"widget-agent-tool-governance": "agent-tool-governance",
"widget-agent-tool-activity": "agent-tool-activity",
"widget-agent-run-operations": "agent-run-operations",
"widget-agent-memory": "agent-memory",
"widget-agent-run-history": "agent-run-history",
"widget-agent-eval-baseline": "agent-eval-baseline"
}
},
{
"id": "ApprovalInbox",
"route": "/approvals",
"type": "custom",
"component": "ApprovalInbox",
"title": "Approvals",
"_note": "Custom page: the reviewer inbox is reviewer-scoped (not owner-scoped OR objects) with guarded approve/deny actions and the org kill-switch — not expressible via the built-in index page type. Standard nav page — not a dashboard."
},
{
"id": "AgentMemory",
"route": "/memory",
"type": "custom",
"component": "AgentMemory",
"title": "Memory",
"_note": "Custom page: agent memory combines the createObjectStore agent collection (picker) with tenant-scoped Memory/Session objects, a char-budget bar, the consolidation nudge + manual consolidate, and OR-search recall — not expressible via the built-in index/detail page types. Standard nav page — not a dashboard."
},
{
"id": "SkillsCatalog",
"route": "/skills",
"type": "index",
"config": {
"register": "hermiq",
"schema": "agentskill",
"_note": "Converted from type:custom to the default index layout. The agentskills.io import/export + install-onto-agent actions are NOT dropped — they move to the skill-row-actions widget behind their existing guarded endpoints (same pattern as agent-template-row-actions). skill-maturity adds the maturityLevel dots column (consumer cell widget 'maturity-dots', App.vue cellWidgets) and the rowRoute onto the SkillDetail scorecard page.",
"rowRoute": "SkillDetail",
"columns": [
{
"key": "name",
"label": "Name"
},
{
"key": "description",
"label": "Description"
},
{
"key": "maturityLevel",
"label": "Maturity",
"widget": "maturity-dots"
},
{
"key": "state",
"label": "State"
},
{
"key": "source",
"label": "Source"
}
]
},
"title": "Skills",
"slots": {
"row-actions": "skill-row-actions",
"form-dialog": "SkillFormModal"
}
},
{
"id": "SkillDetail",
"route": "/skills/:id",
"type": "detail",
"title": "Skill",
"config": {
"register": "hermiq",
"schema": "agentskill",
"_note": "skill-maturity (mirrors EvalDatasetDetail): the durable maturity scorecard home — per-level pass/fail + reasons + evidence timestamps, the owner-guarded Qualify action and the action-gated Attest-L4 form live in the one custom skill-maturity-scorecard widget; qualify/attest are bespoke SkillMaturityController endpoints, not OR object CRUD. skill-evals adds the skill-eval-evidence card (l5 pass rate + mode-labelled delta + trend + Run paired eval). skill-learnings adds the read-only skill-learnings card (rendered learnings.md + l6 activity strip; no edit affordance — no new write channel).",
"widgets": [
{
"id": "skill-provenance",
"type": "custom",
"title": "Origin & review status",
"icon": "ShieldCheckOutline",
"_note": "skill-install-idempotency: where the skill came from, when it was last refreshed from there, why it is quarantined, and whether local learnings are ahead of the source. Resolved via page.slots.widget-skill-provenance -> skill-provenance."
},
{
"id": "skill-maturity-scorecard",
"type": "custom",
"title": "Maturity scorecard",
"icon": "Gauge",
"_note": "Per-level L1–L7 scorecard + Qualify + Attest-L4. Resolved via page.slots.widget-skill-maturity-scorecard -> skill-maturity-scorecard."
},
{
"id": "skill-eval-evidence",
"type": "custom",
"title": "Eval evidence",
"icon": "ClipboardCheckOutline",
"_note": "skill-evals: the L5 eval-evidence card (pass rate, baseline delta with attribution-mode label, trend, last validated, honest empty state) + owner-guarded Run paired eval. Resolved via page.slots.widget-skill-eval-evidence -> skill-eval-evidence."
},
{
"id": "skill-learnings",
"type": "custom",
"title": "Learnings",
"icon": "School",
"_note": "skill-learnings: read-only Learnings card — files['learnings.md'] rendered as sanitised markdown + the levelEvidence.l6 activity strip (candidate count, learnings count, last capture/promotion); honest empty state; deliberately NO editing surface. Resolved via page.slots.widget-skill-learnings -> skill-learnings."
},
{
"id": "skill-draft-review",
"type": "custom",
"title": "Improvement draft",
"icon": "FileSign",
"_note": "skill-self-improvement: the draft review surface — side-by-side diff of proposed vs active, driving learnings entries, scan verdict, eval delta or the verbatim no-eval-evidence flag, and the action-gated Accept / Edit-then-accept / Reject (skill.review-draft, deciding via the linked Approval). Resolved via page.slots.widget-skill-draft-review -> skill-draft-review."
},
{
"id": "skill-version-history",
"type": "custom",
"title": "Versions",
"icon": "History",
"_note": "skill-self-improvement: AuditTrail-backed version history with per-version diff, explicit rollback-as-new-version, the 'published copy is behind' badge (client-side publishedAt < lastAcceptedVersionAt — the catalog row badge in skill-row-actions does the same comparison) with the never-automatic Republish, and the advisory post-acceptance rollback suggestion. Resolved via page.slots.widget-skill-version-history -> skill-version-history."
}
],
"layout": [
{
"id": "provenance",
"widgetId": "skill-provenance",
"gridX": 0,
"gridY": 0,
"gridWidth": 12,
"gridHeight": 4
},
{
"id": "1",
"widgetId": "skill-maturity-scorecard",
"gridX": 0,
"gridY": 4,
"gridWidth": 12,
"gridHeight": 6
},
{
"id": "2",
"widgetId": "skill-eval-evidence",
"gridX": 0,
"gridY": 10,
"gridWidth": 12,
"gridHeight": 5
},
{
"id": "3",
"widgetId": "skill-learnings",
"gridX": 0,
"gridY": 15,
"gridWidth": 12,
"gridHeight": 6
},
{
"id": "4",
"widgetId": "skill-draft-review",
"gridX": 0,
"gridY": 21,
"gridWidth": 12,
"gridHeight": 7
},
{
"id": "5",
"widgetId": "skill-version-history",
"gridX": 0,
"gridY": 28,
"gridWidth": 12,
"gridHeight": 6
}
],
"sidebar": {
"enabled": false
}
},
"slots": {
"widget-skill-maturity-scorecard": "skill-maturity-scorecard",
"widget-skill-eval-evidence": "skill-eval-evidence",
"widget-skill-learnings": "skill-learnings",
"widget-skill-draft-review": "skill-draft-review",
"widget-skill-version-history": "skill-version-history",
"widget-skill-provenance": "skill-provenance"
}
},
{
"id": "Store",
"route": "/store",
"type": "index",
"title": "Store",
"config": {
"register": "hermiq",
"schema": "agenttemplate",
"_note": "hermiq-github-store: the retired AgentTemplateGallery page, renamed 'Store' and repointed from /agent-templates to /store — the underlying local list is UNCHANGED (register:hermiq schema:agenttemplate, same agent-template-row-actions row actions), so agent-template browse/approve/export/instantiate/publish-to-GitHub behaviour is regression-safe. What changes is the below-header agent-template-github-store widget: it now discovers BOTH agent templates AND skills (per-kind filter) — an installed skill is not an agenttemplate row, so it does not appear in THIS table; it surfaces on the separate /skills page instead (design.md Decision 4 — /skills stays separate). Originally converted from type:custom — AgentTemplateController::list() is a bare findAll(['limit'=>200]) with no extra scoping beyond OpenRegister's own RBAC, read-equivalent to the generic objects endpoint (design.md Decision 5). Write actions (Use this template / Approve / Export) stay behind their existing guarded endpoints via the agent-template-row-actions widget — Approve is NEVER a declarative object-op, since it gates through ActionAuthService::requireAction('agenttemplate.approve-quarantined') server-side, a check the generic OR object-patch path does not express (design.md Decision 6).",
"columns": [
{
"key": "name",
"label": "Name"
},
{
"key": "category",
"label": "Category"
},
{
"key": "description",
"label": "Description"
},
{
"key": "state",
"label": "State"
}
],
"headerActions": [
{
"id": "import-template",
"label": "Import template",
"type": "open-modal",
"target": "template-import",
"icon": "TrayArrowDown",
"props": {
"show": true
}
}
]
},
"slots": {
"below-header": "agent-template-github-store",
"row-actions": "agent-template-row-actions"
}
},
{
"id": "Dashboard",
"route": "/",
"type": "dashboard",
"title": "Dashboard",
"config": {
"description": "Run metrics across your agents: success rate, latency and token usage.",
"headerActions": [
{
"id": "new-agent",
"type": "open-form",
"label": "New agent",
"icon": "Plus",
"register": "hermiq",
"schema": "agent",
"onSuccessRoute": "AgentDetail"
},
{
"id": "browse-templates",
"label": "Browse templates",
"icon": "Package",
"handler": "navigate",
"route": "Store"
}
],
"widgets": [
{
"id": "kpi-total-runs",
"type": "stat",
"title": "Total runs",
"content": {
"label": "Total runs",
"caption": "recorded",
"icon": "Timeline",
"route": {
"name": "AgentCatalog"
},
"format": {
"style": "decimal",
"decimals": 0
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics"
},
"valueField": "totalRuns"
}
},
{
"id": "kpi-success-rate",
"type": "stat",
"title": "Success rate",
"content": {
"label": "Success rate",
"caption": "completed",
"icon": "CheckCircleOutline",
"format": {
"style": "decimal",
"decimals": 0,
"suffix": "%"
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics"
},
"valueField": "successRate",
"variantWhen": [
{
"op": "gte",
"value": 90,
"variant": "success"
},
{
"op": "lt",
"value": 60,
"variant": "warning"
}
]
}
},
{
"id": "kpi-avg-latency",
"type": "stat",
"title": "Avg latency",
"content": {
"label": "Avg latency",
"caption": "per run",
"icon": "Gauge",
"format": {
"style": "decimal",
"decimals": 1,
"suffix": " s"
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics"
},
"valueField": "latency.avgSeconds"
}
},
{
"id": "kpi-tokens",
"type": "stat",
"title": "Tokens",
"content": {
"label": "Tokens",
"icon": "ChartBar",
"format": {
"style": "decimal",
"decimals": 0
},
"endpointSource": {
"url": "/apps/hermiq/api/analytics"
},
"valueField": "tokens.total"
}
},
{
"id": "running-flows",
"type": "flow-runs",
"title": "Running flows",
"content": {
"limit": 6,
"pollSeconds": 15,
"rowRoute": "FlowDetail",
"emptyText": "No flows are running"
}
},
{
"id": "analytics-breakdown",
"type": "custom",
"title": "Breakdown"
},
{
"id": "quota-schedules",
"type": "stat",
"title": "Schedules quota",
"content": {
"_note": "dashboard-org-widgets (2026-08-13): was a type:custom QuotaStatWidget.vue, which drew a bare value + label and so did not read as a KPI beside the four stat tiles above it — different component, different visual language. CnStatWidget gained `limitField` (nc-vue 2.2.0-vue3.18) precisely so a quota can be expressed as a capacity pair declaratively, and the custom widget was deleted. `limitField` rather than a hardcoded 100: the ceiling is an appConfig value (TenantOpsService::quotaStatus reads `scheduleQuota`), so duplicating it in the manifest would silently drift the moment an admin changed it. The at-limit warning tint is now CnStatWidget's, derived from value >= limit, replacing the widget's own `atLimit` styling.",
"label": "Schedules",
"icon": "Calendar",
"format": {
"style": "decimal",
"decimals": 0
},
"endpointSource": {
"url": "/apps/hermiq/api/tenant-ops/quota"
},
"valueField": "schedules.count",
"limitField": "schedules.limit"
}
},
{
"id": "quota-agents",
"type": "stat",
"title": "Agents quota",
"content": {
"_note": "Sibling of quota-schedules — see its note. `agents.count` is agents in use ACROSS THE ORG'S SCHEDULES (TenantOpsService counts distinct agentIds on live schedules), not the agent inventory, which is why it can read 0 while agents exist.",
"label": "Agents in use",
"icon": "AccountGroup",
"format": {
"style": "decimal",
"decimals": 0
},
"endpointSource": {
"url": "/apps/hermiq/api/tenant-ops/quota"
},
"valueField": "agents.count",
"limitField": "agents.limit"
}
},
{
"id": "runs-by-agent",
"type": "chart",
"title": "Runs by agent",
"content": {
"chartKind": "bar",
"_note": "statusBreakdown is a DYNAMIC-KEYED MAP ({status: count}), which fits neither of the chart's two endpointSource mapping modes (array-of-points or parallel arrays) — it stays on the existing custom 'analytics-breakdown' widget beside this one. perAgent IS an array of points, so it maps declaratively. `name` is enriched server-side in AnalyticsService: the raw aggregate carries only agentId, and a chart labelled with UUIDs is not readable.",
"endpointSource": {
"url": "/apps/hermiq/api/analytics",
"responsePath": "perAgent",
"labelsPath": "name",
"series": [
{
"name": "Runs",
"path": "runs"
},
{
"name": "Successful",
"path": "success"
}
]
},
"emptyText": "No runs recorded yet"
}
},
{
"id": "recent-agents",
"type": "object-table",
"title": "Agents",
"content": {
"source": {
"register": "hermiq",
"schema": "agent",
"order": {
"updated": "desc"
},
"limit": 7
},
"columns": [
{
"key": "name",
"cellClass": "cn-cell--strong"
},
{
"key": "model",
"cellClass": "cn-cell--muted cn-cell--end"
}
],
"rowRoute": "AgentDetail",
"viewAllRoute": {
"name": "AgentCatalog"
},
"viewAllLabel": "View all",
"hideHeader": true,
"borderless": true,
"emptyText": "No agents yet"
}
}
],
"layout": [
{
"id": "1",
"widgetId": "kpi-total-runs",
"gridX": 0,
"gridY": 0,
"gridWidth": 3,
"gridHeight": 2,
"showTitle": false
},
{
"id": "2",
"widgetId": "kpi-success-rate",
"gridX": 3,
"gridY": 0,
"gridWidth": 3,
"gridHeight": 2,
"showTitle": false
},
{
"id": "3",
"widgetId": "kpi-avg-latency",
"gridX": 6,
"gridY": 0,
"gridWidth": 3,
"gridHeight": 2,
"showTitle": false
},
{
"id": "4",
"widgetId": "kpi-tokens",
"gridX": 9,
"gridY": 0,
"gridWidth": 3,
"gridHeight": 2,
"showTitle": false
},
{
"id": "6",
"widgetId": "analytics-breakdown",
"borderless": false,
"gridX": 0,
"gridY": 2,