@principal-ai/subsystems-react 0.56.24 → 0.56.25
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.
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/stories/Canvases/Subsystem/issuesFixtures.d.ts +4 -0
- package/dist/stories/Canvases/Subsystem/issuesFixtures.d.ts.map +1 -0
- package/dist/stories/Canvases/Subsystem/issuesFixtures.js +189 -0
- package/dist/stories/Canvases/Subsystem/issuesFixtures.js.map +1 -0
- package/dist/stories/Canvases/Subsystem/reorderFixtures.d.ts +8 -0
- package/dist/stories/Canvases/Subsystem/reorderFixtures.d.ts.map +1 -0
- package/dist/stories/Canvases/Subsystem/reorderFixtures.js +103 -0
- package/dist/stories/Canvases/Subsystem/reorderFixtures.js.map +1 -0
- package/dist/subsystem/C4ContainersPanel.d.ts +35 -0
- package/dist/subsystem/C4ContainersPanel.d.ts.map +1 -0
- package/dist/subsystem/C4ContainersPanel.js +165 -0
- package/dist/subsystem/C4ContainersPanel.js.map +1 -0
- package/dist/subsystem/C4NodeCard.d.ts.map +1 -1
- package/dist/subsystem/C4NodeCard.js +10 -4
- package/dist/subsystem/C4NodeCard.js.map +1 -1
- package/dist/subsystem/C4ProjectionView.d.ts.map +1 -1
- package/dist/subsystem/C4ProjectionView.js +81 -27
- package/dist/subsystem/C4ProjectionView.js.map +1 -1
- package/dist/subsystem/C4SketchView.d.ts.map +1 -1
- package/dist/subsystem/C4SketchView.js +53 -34
- package/dist/subsystem/C4SketchView.js.map +1 -1
- package/dist/subsystem/DescriptionOverlay.d.ts +10 -2
- package/dist/subsystem/DescriptionOverlay.d.ts.map +1 -1
- package/dist/subsystem/DescriptionOverlay.js +4 -4
- package/dist/subsystem/DescriptionOverlay.js.map +1 -1
- package/dist/subsystem/DescriptionPreview.d.ts +31 -0
- package/dist/subsystem/DescriptionPreview.d.ts.map +1 -0
- package/dist/subsystem/DescriptionPreview.js +31 -0
- package/dist/subsystem/DescriptionPreview.js.map +1 -0
- package/dist/subsystem/SubsystemComponentGraph.d.ts.map +1 -1
- package/dist/subsystem/SubsystemComponentGraph.js +3 -19
- package/dist/subsystem/SubsystemComponentGraph.js.map +1 -1
- package/dist/subsystem/__fixtures__/c4Sketch.d.ts.map +1 -1
- package/dist/subsystem/__fixtures__/c4Sketch.js +1 -0
- package/dist/subsystem/__fixtures__/c4Sketch.js.map +1 -1
- package/dist/subsystem/__fixtures__/c4SketchGallery.d.ts +27 -0
- package/dist/subsystem/__fixtures__/c4SketchGallery.d.ts.map +1 -0
- package/dist/subsystem/__fixtures__/c4SketchGallery.js +312 -0
- package/dist/subsystem/__fixtures__/c4SketchGallery.js.map +1 -0
- package/dist/subsystem/__fixtures__/c4Sketches/maintenance-bridge.json +777 -0
- package/dist/subsystem/__fixtures__/c4Sketches/openbot.json +886 -0
- package/dist/subsystem/c4Sketch.d.ts +12 -0
- package/dist/subsystem/c4Sketch.d.ts.map +1 -1
- package/dist/subsystem/c4Sketch.js +2 -1
- package/dist/subsystem/c4Sketch.js.map +1 -1
- package/dist/subsystem/containerCard.d.ts +3 -1
- package/dist/subsystem/containerCard.d.ts.map +1 -1
- package/dist/subsystem/containerCard.js +2 -2
- package/dist/subsystem/containerCard.js.map +1 -1
- package/dist/subsystem/techIcons/index.d.ts +3 -1
- package/dist/subsystem/techIcons/index.d.ts.map +1 -1
- package/dist/subsystem/techIcons/index.js +2 -2
- package/dist/subsystem/techIcons/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +10 -0
- package/src/stories/Canvases/C4/C4CardGrow.stories.tsx +1 -1
- package/src/stories/Canvases/C4/C4Component.stories.tsx +1 -1
- package/src/stories/Canvases/C4/C4Container.stories.tsx +1 -1
- package/src/stories/Canvases/C4/C4Draft.stories.tsx +1 -1
- package/src/stories/Canvases/C4/C4NodeGallery.stories.tsx +1 -1
- package/src/stories/Canvases/C4/C4Sketch.stories.tsx +56 -4
- package/src/stories/Canvases/C4/C4ToComponentDrill.stories.tsx +1 -1
- package/src/stories/Canvases/C4/C4Transition.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/AnimatedProgression.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Appearance.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Basics.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Captures.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Constructs.stories.tsx +3 -7
- package/src/stories/Canvases/Subsystem/ConstructsEmbed.stories.tsx +27 -0
- package/src/stories/Canvases/Subsystem/ContainerFrames.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/CustomEntities.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Deprecated.stories.tsx +2 -100
- package/src/stories/Canvases/Subsystem/DeprecatedGraph.stories.tsx +124 -0
- package/src/stories/Canvases/Subsystem/DetailPanel.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Diagnostics.stories.tsx +1 -43
- package/src/stories/Canvases/Subsystem/DiagnosticsStates.stories.tsx +63 -0
- package/src/stories/Canvases/Subsystem/EdgeViews.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/FrameworkStereotype.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/GraphTitle.stories.tsx +1 -19
- package/src/stories/Canvases/Subsystem/GraphTitleGraph.stories.tsx +51 -0
- package/src/stories/Canvases/Subsystem/Issues.stories.tsx +3 -228
- package/src/stories/Canvases/Subsystem/IssuesList.stories.tsx +60 -0
- package/src/stories/Canvases/Subsystem/LayoutDirection.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/ModuleBadges.stories.tsx +3 -61
- package/src/stories/Canvases/Subsystem/ModuleBadgesNode.stories.tsx +81 -0
- package/src/stories/Canvases/Subsystem/ModulePathNesting.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Modules.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/NodeAnatomy.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Packages.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Presentation.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Processes.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Reorder.stories.tsx +3 -153
- package/src/stories/Canvases/Subsystem/ReorderPanel.stories.tsx +75 -0
- package/src/stories/Canvases/Subsystem/Scenarios.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Spotlights.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/StepEmphasis.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/StoreValueType.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/TrailAutoplay.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/TrailSidebarViews.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/Trails.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/WorkspacePackageFrames.stories.tsx +1 -1
- package/src/stories/Canvases/Subsystem/issuesFixtures.ts +192 -0
- package/src/stories/Canvases/Subsystem/reorderFixtures.tsx +125 -0
- package/src/subsystem/C4ContainersPanel.test.tsx +151 -0
- package/src/subsystem/C4ContainersPanel.tsx +315 -0
- package/src/subsystem/C4NodeCard.tsx +12 -4
- package/src/subsystem/C4ProjectionView.tsx +107 -37
- package/src/subsystem/C4SketchView.tsx +96 -74
- package/src/subsystem/DescriptionOverlay.test.tsx +2 -0
- package/src/subsystem/DescriptionOverlay.tsx +20 -5
- package/src/subsystem/DescriptionPreview.tsx +96 -0
- package/src/subsystem/SubsystemComponentGraph.sidebar.test.tsx +1 -1
- package/src/subsystem/SubsystemComponentGraph.tsx +14 -43
- package/src/subsystem/__fixtures__/c4Sketch.ts +2 -0
- package/src/subsystem/__fixtures__/c4SketchGallery.test.ts +65 -0
- package/src/subsystem/__fixtures__/c4SketchGallery.ts +351 -0
- package/src/subsystem/__fixtures__/c4Sketches/maintenance-bridge.json +777 -0
- package/src/subsystem/__fixtures__/c4Sketches/openbot.json +886 -0
- package/src/subsystem/c4Sketch.ts +13 -0
- package/src/subsystem/containerCard.tsx +4 -1
- package/src/subsystem/techIcons/index.tsx +11 -2
|
@@ -0,0 +1,777 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "c4s-mvobno49-5atptc",
|
|
3
|
+
"title": "Subsystem maintenance progress bridge",
|
|
4
|
+
"repoKeys": [
|
|
5
|
+
"pkg:github/principal-ai/subsystem-modeling",
|
|
6
|
+
"pkg:github/CopilotKit/openbot"
|
|
7
|
+
],
|
|
8
|
+
"model": {
|
|
9
|
+
"view": "container",
|
|
10
|
+
"system": {
|
|
11
|
+
"id": "system:maintenance-progress-bridge",
|
|
12
|
+
"label": "Subsystem maintenance progress bridge"
|
|
13
|
+
},
|
|
14
|
+
"nodes": [
|
|
15
|
+
{
|
|
16
|
+
"kind": "container",
|
|
17
|
+
"id": "container:studio-ui",
|
|
18
|
+
"label": "Subsystems Studio renderer",
|
|
19
|
+
"containerKind": "application",
|
|
20
|
+
"technology": "React + Electrobun",
|
|
21
|
+
"description": "Maintenance runs view: start, pause, inspect agents, and the intent-only Open in Studio target.",
|
|
22
|
+
"state": "proposed"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "container",
|
|
26
|
+
"id": "container:studio-host",
|
|
27
|
+
"label": "Subsystems Studio host",
|
|
28
|
+
"containerKind": "application",
|
|
29
|
+
"technology": "Bun + Electrobun",
|
|
30
|
+
"description": "Maintenance driver, sequence orchestration, status response, run log, saved audit, snapshot composition, and completion sender.",
|
|
31
|
+
"process": "subsystems-studio/host",
|
|
32
|
+
"state": "proposed"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"kind": "container",
|
|
36
|
+
"id": "container:studio-store",
|
|
37
|
+
"label": "Studio local store",
|
|
38
|
+
"containerKind": "data-store",
|
|
39
|
+
"technology": "JSON on disk",
|
|
40
|
+
"description": "Subsystem models, maintenance run log, audit reports, proposals, and the durable sender checkpoint.",
|
|
41
|
+
"state": "proposed"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "container",
|
|
45
|
+
"id": "container:openbot-app",
|
|
46
|
+
"label": "OpenBot app",
|
|
47
|
+
"containerKind": "application",
|
|
48
|
+
"technology": "React 19 + Vite",
|
|
49
|
+
"description": "The Principal conversation surface: progress card, stacked agent-run cards, audit lanes, and the fixture playground.",
|
|
50
|
+
"process": "openbot/browser",
|
|
51
|
+
"state": "proposed"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "container",
|
|
55
|
+
"id": "container:openbot-server",
|
|
56
|
+
"label": "OpenBot server",
|
|
57
|
+
"containerKind": "application",
|
|
58
|
+
"technology": "Bun + Hono",
|
|
59
|
+
"description": "Governed read adapter, permission-checked card binding, signed trigger ingress, responsibility ingest, shared work queue, governed turn, audit, and delivery.",
|
|
60
|
+
"process": "openbot/server",
|
|
61
|
+
"state": "proposed"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "container",
|
|
65
|
+
"id": "container:openbot-postgres",
|
|
66
|
+
"label": "OpenBot PostgreSQL",
|
|
67
|
+
"containerKind": "data-store",
|
|
68
|
+
"technology": "PostgreSQL 17 + pgvector",
|
|
69
|
+
"description": "Registered responsibilities/triggers, shared work_items leases, channels, and audit rows.",
|
|
70
|
+
"process": "openbot/postgres",
|
|
71
|
+
"state": "proposed"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"kind": "component",
|
|
75
|
+
"id": "component:studio-driver",
|
|
76
|
+
"label": "Maintenance driver",
|
|
77
|
+
"container": "container:studio-host",
|
|
78
|
+
"technology": "Bun",
|
|
79
|
+
"description": "Background maintenance driver that starts and sequences a maintenance run.",
|
|
80
|
+
"members": [
|
|
81
|
+
"studio-driver"
|
|
82
|
+
],
|
|
83
|
+
"state": "proposed"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "component",
|
|
87
|
+
"id": "component:studio-sequence",
|
|
88
|
+
"label": "Sequence orchestration",
|
|
89
|
+
"container": "container:studio-host",
|
|
90
|
+
"technology": "Bun",
|
|
91
|
+
"description": "Stage routing, agent runs, completion outcome, and run-scoped lifecycle.",
|
|
92
|
+
"members": [
|
|
93
|
+
"studio-sequence"
|
|
94
|
+
],
|
|
95
|
+
"state": "proposed"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "component",
|
|
99
|
+
"id": "component:studio-status",
|
|
100
|
+
"label": "Status response",
|
|
101
|
+
"container": "container:studio-host",
|
|
102
|
+
"technology": "Hono HTTP",
|
|
103
|
+
"description": "The existing Studio status endpoint; the authoritative snapshot is an extension, not a parallel transport.",
|
|
104
|
+
"members": [
|
|
105
|
+
"studio-status"
|
|
106
|
+
],
|
|
107
|
+
"state": "proposed"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"kind": "component",
|
|
111
|
+
"id": "component:studio-run-event",
|
|
112
|
+
"label": "Run lifecycle events",
|
|
113
|
+
"container": "container:studio-host",
|
|
114
|
+
"technology": "Bun",
|
|
115
|
+
"description": "Run started, agent ended, parent ended, and outcome transitions.",
|
|
116
|
+
"members": [
|
|
117
|
+
"studio-run-event"
|
|
118
|
+
],
|
|
119
|
+
"state": "proposed"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"kind": "component",
|
|
123
|
+
"id": "component:studio-snapshot",
|
|
124
|
+
"label": "Authoritative snapshot",
|
|
125
|
+
"container": "container:studio-host",
|
|
126
|
+
"technology": "Bun",
|
|
127
|
+
"description": "Whole-run identity, ordered stages, per-agent counts, revision/observation time, and the independent saved audit.",
|
|
128
|
+
"members": [
|
|
129
|
+
"sequence-snapshot"
|
|
130
|
+
],
|
|
131
|
+
"state": "proposed"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"kind": "component",
|
|
135
|
+
"id": "component:studio-sender",
|
|
136
|
+
"label": "Signed completion sender",
|
|
137
|
+
"container": "container:studio-host",
|
|
138
|
+
"technology": "Bun + HTTP",
|
|
139
|
+
"description": "Posts a stable signed sequence transition to the registered OpenBot webhook, never from the payload's authority.",
|
|
140
|
+
"members": [
|
|
141
|
+
"studio-outcome-event",
|
|
142
|
+
"studio-emitter"
|
|
143
|
+
],
|
|
144
|
+
"state": "proposed"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "component",
|
|
148
|
+
"id": "component:studio-webhook-retry",
|
|
149
|
+
"label": "Delivery retry checkpoint",
|
|
150
|
+
"container": "container:studio-host",
|
|
151
|
+
"technology": "Bun + durable state",
|
|
152
|
+
"description": "Bounded durable retry for the sender; stable delivery identity across retries.",
|
|
153
|
+
"state": "proposed"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "component",
|
|
157
|
+
"id": "component:studio-run-log",
|
|
158
|
+
"label": "Agent-run log",
|
|
159
|
+
"container": "container:studio-host",
|
|
160
|
+
"technology": "Bun",
|
|
161
|
+
"description": "Per-run persistence: run/session identity, agent, layer, timestamps, status, and per-agent proposal attribution.",
|
|
162
|
+
"members": [
|
|
163
|
+
"studio-run-log"
|
|
164
|
+
],
|
|
165
|
+
"state": "proposed"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"kind": "component",
|
|
169
|
+
"id": "component:studio-audit",
|
|
170
|
+
"label": "Saved audit",
|
|
171
|
+
"container": "container:studio-host",
|
|
172
|
+
"technology": "Bun",
|
|
173
|
+
"description": "Independent audit result, freshness, and the four lane statuses. Never inferred from stage completion.",
|
|
174
|
+
"state": "proposed"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"kind": "component",
|
|
178
|
+
"id": "component:studio-model-store",
|
|
179
|
+
"label": "Subsystem models",
|
|
180
|
+
"container": "container:studio-store",
|
|
181
|
+
"technology": "JSON on disk",
|
|
182
|
+
"description": "The model document and its title.",
|
|
183
|
+
"state": "proposed"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"kind": "component",
|
|
187
|
+
"id": "component:studio-run-store",
|
|
188
|
+
"label": "Run + audit store",
|
|
189
|
+
"container": "container:studio-store",
|
|
190
|
+
"technology": "JSON on disk",
|
|
191
|
+
"description": "Durable maintenance run log and audit reports, recoverable across restarts.",
|
|
192
|
+
"state": "proposed"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"kind": "component",
|
|
196
|
+
"id": "component:studio-maintenance-view",
|
|
197
|
+
"label": "Maintenance view",
|
|
198
|
+
"container": "container:studio-ui",
|
|
199
|
+
"technology": "React",
|
|
200
|
+
"description": "Starts and watches a maintenance run; the source of the Open in Studio intent.",
|
|
201
|
+
"state": "proposed"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "component",
|
|
205
|
+
"id": "component:conversation",
|
|
206
|
+
"label": "Principal conversation",
|
|
207
|
+
"container": "container:openbot-app",
|
|
208
|
+
"technology": "React + WebSocket",
|
|
209
|
+
"description": "The configured conversation surface where the card is bound and the completed summary lands.",
|
|
210
|
+
"members": [
|
|
211
|
+
"principal-channel",
|
|
212
|
+
"channel-events-client"
|
|
213
|
+
],
|
|
214
|
+
"state": "proposed"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "component",
|
|
218
|
+
"id": "component:progress-card",
|
|
219
|
+
"label": "Maintenance progress card",
|
|
220
|
+
"container": "container:openbot-app",
|
|
221
|
+
"technology": "React",
|
|
222
|
+
"description": "Pure presenter: heading, run state, four audit lanes, and terminal outcome.",
|
|
223
|
+
"members": [
|
|
224
|
+
"progress-card"
|
|
225
|
+
],
|
|
226
|
+
"state": "proposed"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"kind": "component",
|
|
230
|
+
"id": "component:agent-runs",
|
|
231
|
+
"label": "Agent-run cards",
|
|
232
|
+
"container": "container:openbot-app",
|
|
233
|
+
"technology": "React",
|
|
234
|
+
"description": "Chronological cards, oldest first, keyed by runId; per-card proposal counts and UTC times.",
|
|
235
|
+
"state": "proposed"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "component",
|
|
239
|
+
"id": "component:audit-lanes",
|
|
240
|
+
"label": "Audit-lane presenter",
|
|
241
|
+
"container": "container:openbot-app",
|
|
242
|
+
"technology": "React",
|
|
243
|
+
"description": "Construct, static topology, dynamic topology, and trail icons; missing lane data is distinct from not verified.",
|
|
244
|
+
"state": "proposed"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"kind": "component",
|
|
248
|
+
"id": "component:playground",
|
|
249
|
+
"label": "Fixture playground",
|
|
250
|
+
"container": "container:openbot-app",
|
|
251
|
+
"technology": "React",
|
|
252
|
+
"description": "Development-only fixture preview. No Studio requests, model polling, webhooks, or real actions.",
|
|
253
|
+
"state": "proposed"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "component",
|
|
257
|
+
"id": "component:openbot-adapter",
|
|
258
|
+
"label": "Studio read adapter",
|
|
259
|
+
"container": "container:openbot-server",
|
|
260
|
+
"technology": "Bun + HTTP",
|
|
261
|
+
"description": "Reads the richer Studio status response, validates it, and preserves revision, unknown counts, and freshness.",
|
|
262
|
+
"members": [
|
|
263
|
+
"status-reader"
|
|
264
|
+
],
|
|
265
|
+
"state": "proposed"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"kind": "component",
|
|
269
|
+
"id": "component:openbot-binding",
|
|
270
|
+
"label": "Card binding",
|
|
271
|
+
"container": "container:openbot-server",
|
|
272
|
+
"technology": "Bun + permissions",
|
|
273
|
+
"description": "Binds the card into the Principal conversation with trusted owner/Bot/channel context and permission-checked reads.",
|
|
274
|
+
"state": "proposed"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"kind": "component",
|
|
278
|
+
"id": "component:openbot-trigger",
|
|
279
|
+
"label": "Trigger ingress",
|
|
280
|
+
"container": "container:openbot-server",
|
|
281
|
+
"technology": "Hono + signed webhook",
|
|
282
|
+
"description": "Authenticated registered trigger. Resolves target from trusted registration, never from the payload.",
|
|
283
|
+
"members": [
|
|
284
|
+
"responsibility-ingress",
|
|
285
|
+
"trigger-delivery"
|
|
286
|
+
],
|
|
287
|
+
"state": "proposed"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"kind": "component",
|
|
291
|
+
"id": "component:openbot-responsibility",
|
|
292
|
+
"label": "Responsibility ingest",
|
|
293
|
+
"container": "container:openbot-server",
|
|
294
|
+
"technology": "Bun + PostgreSQL",
|
|
295
|
+
"description": "Registered responsibility store, filters, and wiring into the shared queue.",
|
|
296
|
+
"members": [
|
|
297
|
+
"responsibility-store",
|
|
298
|
+
"responsibility-engine",
|
|
299
|
+
"followup-delivery"
|
|
300
|
+
],
|
|
301
|
+
"state": "proposed"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "component",
|
|
305
|
+
"id": "component:openbot-work-queue",
|
|
306
|
+
"label": "Shared work queue",
|
|
307
|
+
"container": "container:openbot-server",
|
|
308
|
+
"technology": "PostgreSQL skip locked",
|
|
309
|
+
"description": "Leased work_items shared with routines and handoffs; the queue decides which replica runs the turn.",
|
|
310
|
+
"members": [
|
|
311
|
+
"work-queue",
|
|
312
|
+
"headless-runner",
|
|
313
|
+
"origin-context",
|
|
314
|
+
"channel-events"
|
|
315
|
+
],
|
|
316
|
+
"state": "proposed"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"kind": "component",
|
|
320
|
+
"id": "component:openbot-governed-turn",
|
|
321
|
+
"label": "Governed turn",
|
|
322
|
+
"container": "container:openbot-server",
|
|
323
|
+
"technology": "CopilotKit runtime",
|
|
324
|
+
"description": "An ordinary, recorded Principal turn with existing admission, grants, pause behavior, and thread locking.",
|
|
325
|
+
"members": [
|
|
326
|
+
"headless-runner"
|
|
327
|
+
],
|
|
328
|
+
"state": "proposed"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"kind": "component",
|
|
332
|
+
"id": "component:openbot-audit",
|
|
333
|
+
"label": "Audit rows",
|
|
334
|
+
"container": "container:openbot-server",
|
|
335
|
+
"technology": "PostgreSQL",
|
|
336
|
+
"description": "Every permitted, refused, and failed action, including delivery and turn decisions.",
|
|
337
|
+
"state": "proposed"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"kind": "component",
|
|
341
|
+
"id": "component:openbot-delivery",
|
|
342
|
+
"label": "Configured delivery",
|
|
343
|
+
"container": "container:openbot-server",
|
|
344
|
+
"technology": "OpenBot delivery",
|
|
345
|
+
"description": "Posts the reporting-only summary to the configured conversation/channel. No new notification framework.",
|
|
346
|
+
"members": [
|
|
347
|
+
"followup-delivery"
|
|
348
|
+
],
|
|
349
|
+
"state": "proposed"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"kind": "component",
|
|
353
|
+
"id": "component:openbot-work-items",
|
|
354
|
+
"label": "work_items",
|
|
355
|
+
"container": "container:openbot-postgres",
|
|
356
|
+
"technology": "PostgreSQL",
|
|
357
|
+
"description": "Leased queue rows and attempt history for routine, responsibility, and handoff work.",
|
|
358
|
+
"members": [
|
|
359
|
+
"followup-queue"
|
|
360
|
+
],
|
|
361
|
+
"state": "proposed"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"kind": "component",
|
|
365
|
+
"id": "component:openbot-responsibility-store",
|
|
366
|
+
"label": "Registered triggers",
|
|
367
|
+
"container": "container:openbot-postgres",
|
|
368
|
+
"technology": "PostgreSQL",
|
|
369
|
+
"description": "The deployment-approved responsibility/trigger registration and its model/outcome filters.",
|
|
370
|
+
"state": "proposed"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "external-system",
|
|
374
|
+
"id": "external:principal-bot",
|
|
375
|
+
"label": "Principal Bot",
|
|
376
|
+
"technology": "OpenBot Bot profile",
|
|
377
|
+
"description": "The Bot identity that posts the governed follow-up turn.",
|
|
378
|
+
"members": [
|
|
379
|
+
"principal-bot"
|
|
380
|
+
],
|
|
381
|
+
"state": "proposed"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"kind": "external-system",
|
|
385
|
+
"id": "external:principal-channel",
|
|
386
|
+
"label": "Configured Principal conversation",
|
|
387
|
+
"technology": "OpenBot channel / Slack / Teams",
|
|
388
|
+
"description": "The trusted conversation target. Owner, Bot, channel, thread, and filters come from registration.",
|
|
389
|
+
"members": [
|
|
390
|
+
"principal-channel"
|
|
391
|
+
],
|
|
392
|
+
"state": "proposed"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "external-system",
|
|
396
|
+
"id": "external:intelligence",
|
|
397
|
+
"label": "CopilotKit Intelligence",
|
|
398
|
+
"technology": "Managed API + WebSocket",
|
|
399
|
+
"description": "Durable thread history and memory for the governed turn.",
|
|
400
|
+
"state": "proposed"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"kind": "external-system",
|
|
404
|
+
"id": "external:model-provider",
|
|
405
|
+
"label": "Model provider",
|
|
406
|
+
"technology": "OpenAI / Anthropic / Google API",
|
|
407
|
+
"description": "The deployment-supplied model credential used by the ordinary governed turn.",
|
|
408
|
+
"state": "proposed"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"kind": "person",
|
|
412
|
+
"id": "person:maintainer",
|
|
413
|
+
"label": "Maintainer",
|
|
414
|
+
"description": "Starts a Studio maintenance run and reads the progress card in the Principal conversation.",
|
|
415
|
+
"state": "proposed"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"kind": "person",
|
|
419
|
+
"id": "person:admin",
|
|
420
|
+
"label": "Deployment administrator",
|
|
421
|
+
"description": "Approves the webhook/responsibility registration and the configured target. This feature adds no grants or acceptance authority.",
|
|
422
|
+
"state": "proposed"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"edges": [
|
|
426
|
+
{
|
|
427
|
+
"id": "e:maintainer-studio-ui",
|
|
428
|
+
"source": "person:maintainer",
|
|
429
|
+
"target": "container:studio-ui",
|
|
430
|
+
"label": "starts",
|
|
431
|
+
"protocol": "Studio RPC",
|
|
432
|
+
"mechanisms": [
|
|
433
|
+
"calls"
|
|
434
|
+
],
|
|
435
|
+
"count": 1
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"id": "e:maintainer-openbot-app",
|
|
439
|
+
"source": "person:maintainer",
|
|
440
|
+
"target": "container:openbot-app",
|
|
441
|
+
"label": "reads",
|
|
442
|
+
"protocol": "Principal conversation",
|
|
443
|
+
"mechanisms": [
|
|
444
|
+
"reads"
|
|
445
|
+
],
|
|
446
|
+
"count": 1
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"id": "e:studio-ui-host",
|
|
450
|
+
"source": "container:studio-ui",
|
|
451
|
+
"target": "container:studio-host",
|
|
452
|
+
"label": "RPC",
|
|
453
|
+
"protocol": "Electrobun RPC",
|
|
454
|
+
"mechanisms": [
|
|
455
|
+
"calls"
|
|
456
|
+
],
|
|
457
|
+
"count": 1
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"id": "e:studio-host-store",
|
|
461
|
+
"source": "container:studio-host",
|
|
462
|
+
"target": "container:studio-store",
|
|
463
|
+
"label": "files",
|
|
464
|
+
"protocol": "JSON files",
|
|
465
|
+
"mechanisms": [
|
|
466
|
+
"reads",
|
|
467
|
+
"writes"
|
|
468
|
+
],
|
|
469
|
+
"count": 1
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"id": "e:openbot-app-server",
|
|
473
|
+
"source": "container:openbot-app",
|
|
474
|
+
"target": "container:openbot-server",
|
|
475
|
+
"label": "HTTPS",
|
|
476
|
+
"protocol": "HTTPS · card read + conversation",
|
|
477
|
+
"mechanisms": [
|
|
478
|
+
"calls"
|
|
479
|
+
],
|
|
480
|
+
"count": 1
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"id": "e:openbot-server-studio",
|
|
484
|
+
"source": "container:openbot-server",
|
|
485
|
+
"target": "container:studio-host",
|
|
486
|
+
"label": "status",
|
|
487
|
+
"protocol": "HTTPS · GET maintenance status snapshot",
|
|
488
|
+
"mechanisms": [
|
|
489
|
+
"reads"
|
|
490
|
+
],
|
|
491
|
+
"count": 1
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"id": "e:openbot-app-studio-open",
|
|
495
|
+
"source": "container:openbot-app",
|
|
496
|
+
"target": "container:studio-ui",
|
|
497
|
+
"label": "Open in Studio",
|
|
498
|
+
"protocol": "intent-only callback · future authorized host",
|
|
499
|
+
"mechanisms": [
|
|
500
|
+
"calls"
|
|
501
|
+
],
|
|
502
|
+
"count": 1
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"id": "e:studio-host-openbot-webhook",
|
|
506
|
+
"source": "container:studio-host",
|
|
507
|
+
"target": "container:openbot-server",
|
|
508
|
+
"label": "signed webhook",
|
|
509
|
+
"protocol": "HTTPS · registered trigger",
|
|
510
|
+
"mechanisms": [
|
|
511
|
+
"calls"
|
|
512
|
+
],
|
|
513
|
+
"count": 1
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"id": "e:openbot-server-postgres",
|
|
517
|
+
"source": "container:openbot-server",
|
|
518
|
+
"target": "container:openbot-postgres",
|
|
519
|
+
"label": "SQL",
|
|
520
|
+
"protocol": "PostgreSQL wire",
|
|
521
|
+
"mechanisms": [
|
|
522
|
+
"reads",
|
|
523
|
+
"writes"
|
|
524
|
+
],
|
|
525
|
+
"count": 1
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"id": "e:openbot-server-intelligence",
|
|
529
|
+
"source": "container:openbot-server",
|
|
530
|
+
"target": "external:intelligence",
|
|
531
|
+
"label": "thread",
|
|
532
|
+
"protocol": "Intelligence API + realtime gateway",
|
|
533
|
+
"mechanisms": [
|
|
534
|
+
"reads",
|
|
535
|
+
"writes"
|
|
536
|
+
],
|
|
537
|
+
"count": 1
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"id": "e:openbot-server-model",
|
|
541
|
+
"source": "container:openbot-server",
|
|
542
|
+
"target": "external:model-provider",
|
|
543
|
+
"label": "LLM API",
|
|
544
|
+
"protocol": "HTTPS · provider API",
|
|
545
|
+
"mechanisms": [
|
|
546
|
+
"calls"
|
|
547
|
+
],
|
|
548
|
+
"count": 1
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"id": "e:openbot-server-channel",
|
|
552
|
+
"source": "container:openbot-server",
|
|
553
|
+
"target": "external:principal-channel",
|
|
554
|
+
"label": "delivery",
|
|
555
|
+
"protocol": "OpenBot delivery · configured channel",
|
|
556
|
+
"mechanisms": [
|
|
557
|
+
"writes"
|
|
558
|
+
],
|
|
559
|
+
"count": 1
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"id": "e:openbot-server-bot",
|
|
563
|
+
"source": "container:openbot-server",
|
|
564
|
+
"target": "external:principal-bot",
|
|
565
|
+
"label": "acts as",
|
|
566
|
+
"protocol": "Bot profile and grants",
|
|
567
|
+
"mechanisms": [
|
|
568
|
+
"reads"
|
|
569
|
+
],
|
|
570
|
+
"count": 1
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"id": "e:admin-openbot-server",
|
|
574
|
+
"source": "person:admin",
|
|
575
|
+
"target": "container:openbot-server",
|
|
576
|
+
"label": "registers",
|
|
577
|
+
"protocol": "Deployment approval",
|
|
578
|
+
"mechanisms": [
|
|
579
|
+
"writes"
|
|
580
|
+
],
|
|
581
|
+
"count": 1
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"id": "e:studio-driver-sequence",
|
|
585
|
+
"source": "component:studio-driver",
|
|
586
|
+
"target": "component:studio-sequence",
|
|
587
|
+
"label": "runs",
|
|
588
|
+
"protocol": "in-process",
|
|
589
|
+
"mechanisms": [
|
|
590
|
+
"calls"
|
|
591
|
+
],
|
|
592
|
+
"count": 1
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"id": "e:studio-sequence-run-log",
|
|
596
|
+
"source": "component:studio-sequence",
|
|
597
|
+
"target": "component:studio-run-log",
|
|
598
|
+
"label": "writes",
|
|
599
|
+
"protocol": "in-process",
|
|
600
|
+
"mechanisms": [
|
|
601
|
+
"writes"
|
|
602
|
+
],
|
|
603
|
+
"count": 1
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"id": "e:studio-status-snapshot",
|
|
607
|
+
"source": "component:studio-status",
|
|
608
|
+
"target": "component:studio-snapshot",
|
|
609
|
+
"label": "reads",
|
|
610
|
+
"protocol": "in-process",
|
|
611
|
+
"mechanisms": [
|
|
612
|
+
"reads"
|
|
613
|
+
],
|
|
614
|
+
"count": 1
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"id": "e:studio-snapshot-run-log",
|
|
618
|
+
"source": "component:studio-snapshot",
|
|
619
|
+
"target": "component:studio-run-log",
|
|
620
|
+
"label": "stages",
|
|
621
|
+
"protocol": "in-process",
|
|
622
|
+
"mechanisms": [
|
|
623
|
+
"reads"
|
|
624
|
+
],
|
|
625
|
+
"count": 1
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"id": "e:studio-snapshot-audit",
|
|
629
|
+
"source": "component:studio-snapshot",
|
|
630
|
+
"target": "component:studio-audit",
|
|
631
|
+
"label": "lanes",
|
|
632
|
+
"protocol": "in-process",
|
|
633
|
+
"mechanisms": [
|
|
634
|
+
"reads"
|
|
635
|
+
],
|
|
636
|
+
"count": 1
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"id": "e:studio-sender-run-log",
|
|
640
|
+
"source": "component:studio-sender",
|
|
641
|
+
"target": "component:studio-run-log",
|
|
642
|
+
"label": "outcome",
|
|
643
|
+
"protocol": "in-process",
|
|
644
|
+
"mechanisms": [
|
|
645
|
+
"reads"
|
|
646
|
+
],
|
|
647
|
+
"count": 1
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"id": "e:studio-sender-retry",
|
|
651
|
+
"source": "component:studio-sender",
|
|
652
|
+
"target": "component:studio-webhook-retry",
|
|
653
|
+
"label": "retries",
|
|
654
|
+
"protocol": "in-process",
|
|
655
|
+
"mechanisms": [
|
|
656
|
+
"calls"
|
|
657
|
+
],
|
|
658
|
+
"count": 1
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"id": "e:adapter-binding",
|
|
662
|
+
"source": "component:openbot-adapter",
|
|
663
|
+
"target": "component:openbot-binding",
|
|
664
|
+
"label": "binds",
|
|
665
|
+
"protocol": "in-process",
|
|
666
|
+
"mechanisms": [
|
|
667
|
+
"calls"
|
|
668
|
+
],
|
|
669
|
+
"count": 1
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"id": "e:binding-card",
|
|
673
|
+
"source": "component:openbot-binding",
|
|
674
|
+
"target": "component:progress-card",
|
|
675
|
+
"label": "renders",
|
|
676
|
+
"protocol": "trusted context",
|
|
677
|
+
"mechanisms": [
|
|
678
|
+
"writes"
|
|
679
|
+
],
|
|
680
|
+
"count": 1
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"id": "e:conversation-card",
|
|
684
|
+
"source": "component:conversation",
|
|
685
|
+
"target": "component:progress-card",
|
|
686
|
+
"label": "shows",
|
|
687
|
+
"protocol": "conversation",
|
|
688
|
+
"mechanisms": [
|
|
689
|
+
"calls"
|
|
690
|
+
],
|
|
691
|
+
"count": 1
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"id": "e:card-agent-runs",
|
|
695
|
+
"source": "component:progress-card",
|
|
696
|
+
"target": "component:agent-runs",
|
|
697
|
+
"label": "stacks",
|
|
698
|
+
"protocol": "in-process",
|
|
699
|
+
"mechanisms": [
|
|
700
|
+
"calls"
|
|
701
|
+
],
|
|
702
|
+
"count": 1
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"id": "e:card-audit-lanes",
|
|
706
|
+
"source": "component:progress-card",
|
|
707
|
+
"target": "component:audit-lanes",
|
|
708
|
+
"label": "lanes",
|
|
709
|
+
"protocol": "in-process",
|
|
710
|
+
"mechanisms": [
|
|
711
|
+
"calls"
|
|
712
|
+
],
|
|
713
|
+
"count": 1
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"id": "e:trigger-responsibility",
|
|
717
|
+
"source": "component:openbot-trigger",
|
|
718
|
+
"target": "component:openbot-responsibility",
|
|
719
|
+
"label": "ingest",
|
|
720
|
+
"protocol": "in-process",
|
|
721
|
+
"mechanisms": [
|
|
722
|
+
"writes"
|
|
723
|
+
],
|
|
724
|
+
"count": 1
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"id": "e:responsibility-queue",
|
|
728
|
+
"source": "component:openbot-responsibility",
|
|
729
|
+
"target": "component:openbot-work-queue",
|
|
730
|
+
"label": "enqueue",
|
|
731
|
+
"protocol": "PostgreSQL",
|
|
732
|
+
"mechanisms": [
|
|
733
|
+
"writes"
|
|
734
|
+
],
|
|
735
|
+
"count": 1
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"id": "e:queue-turn",
|
|
739
|
+
"source": "component:openbot-work-queue",
|
|
740
|
+
"target": "component:openbot-governed-turn",
|
|
741
|
+
"label": "claims",
|
|
742
|
+
"protocol": "work_items lease",
|
|
743
|
+
"mechanisms": [
|
|
744
|
+
"reads",
|
|
745
|
+
"writes"
|
|
746
|
+
],
|
|
747
|
+
"count": 1
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"id": "e:turn-audit",
|
|
751
|
+
"source": "component:openbot-governed-turn",
|
|
752
|
+
"target": "component:openbot-audit",
|
|
753
|
+
"label": "records",
|
|
754
|
+
"protocol": "PostgreSQL",
|
|
755
|
+
"mechanisms": [
|
|
756
|
+
"writes"
|
|
757
|
+
],
|
|
758
|
+
"count": 1
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"id": "e:turn-delivery",
|
|
762
|
+
"source": "component:openbot-governed-turn",
|
|
763
|
+
"target": "component:openbot-delivery",
|
|
764
|
+
"label": "delivers",
|
|
765
|
+
"protocol": "in-process",
|
|
766
|
+
"mechanisms": [
|
|
767
|
+
"calls"
|
|
768
|
+
],
|
|
769
|
+
"count": 1
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
"author": "opencode",
|
|
774
|
+
"notes": "Top-down C4 sketch for topic topic-1792962278647-rghcszfxe: Studio → OpenBot maintenance progress card and signed completion delivery. The linked model is the existing reuse-first bridge proposal, not live integration evidence.",
|
|
775
|
+
"createdAt": "2026-10-25T21:10:30.873Z",
|
|
776
|
+
"updatedAt": "2026-10-25T21:10:30.873Z"
|
|
777
|
+
}
|