@halcyonlabs/app 0.47.0-halcyon.472 → 0.47.0-halcyon.474
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 +30 -30
- package/package.json +2 -2
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/manifest.json +2 -2
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/skills/design-documents/SKILL.md +56 -0
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/skills/design-documents/references/diagram-kit.md +75 -0
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/skills/design-documents/references/example-design.html +320 -0
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/starter/plugins/orbit/skills/documents/SKILL.md +15 -10
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/starter/plugins/orbit/skills/documents/page-template.html +2 -2
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/fixed-runner/linux-x64/manifest.json +4 -4
- package/server/dist/builtin-plugins/orbit/dist/assets/moonlet/revision +1 -1
- package/server/dist/builtin-plugins/orbit/dist/host.js +103 -103
- package/server/dist/builtin-plugins/orbit/dist/host.meta.json +1 -1
- package/server/dist/builtin-plugins/orbit/dist/server.js +254 -254
- package/server/dist/builtin-plugins/orbit/package.json +4 -0
- package/server/dist/builtin-plugins/orbit/skills/documents/SKILL.md +13 -8
- package/server/dist/builtin-plugins/orbit/skills/documents/page-template.html +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -83,8 +83,8 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
83
83
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
84
84
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
85
85
|
providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
|
|
86
|
-
collapse: "collapse";
|
|
87
86
|
flat: "flat";
|
|
87
|
+
collapse: "collapse";
|
|
88
88
|
}>>;
|
|
89
89
|
streamerMode: z$1.ZodBoolean;
|
|
90
90
|
allowFastServiceTier: z$1.ZodBoolean;
|
|
@@ -105,8 +105,8 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
105
105
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
106
106
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
107
107
|
providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
|
|
108
|
-
collapse: "collapse";
|
|
109
108
|
flat: "flat";
|
|
109
|
+
collapse: "collapse";
|
|
110
110
|
}>>;
|
|
111
111
|
streamerMode: z$1.ZodBoolean;
|
|
112
112
|
managedBranchPrefix: z$1.ZodString;
|
|
@@ -143,8 +143,8 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
143
143
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
144
144
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
145
145
|
providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
|
|
146
|
-
collapse: "collapse";
|
|
147
146
|
flat: "flat";
|
|
147
|
+
collapse: "collapse";
|
|
148
148
|
}>>;
|
|
149
149
|
streamerMode: z$1.ZodBoolean;
|
|
150
150
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -524,8 +524,8 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
524
524
|
retireAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
525
525
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
526
526
|
status: z$1.ZodEnum<{
|
|
527
|
-
failed: "failed";
|
|
528
527
|
running: "running";
|
|
528
|
+
failed: "failed";
|
|
529
529
|
removed: "removed";
|
|
530
530
|
}>;
|
|
531
531
|
attempt: z$1.ZodNumber;
|
|
@@ -620,8 +620,8 @@ declare const hostSchema: z$1.ZodObject<{
|
|
|
620
620
|
pendingLog: z$1.ZodString;
|
|
621
621
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
622
622
|
status: z$1.ZodEnum<{
|
|
623
|
-
failed: "failed";
|
|
624
623
|
running: "running";
|
|
624
|
+
failed: "failed";
|
|
625
625
|
removed: "removed";
|
|
626
626
|
}>;
|
|
627
627
|
attempt: z$1.ZodNumber;
|
|
@@ -732,8 +732,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
732
732
|
providerThreadId: z$1.ZodString;
|
|
733
733
|
objective: z$1.ZodString;
|
|
734
734
|
status: z$1.ZodEnum<{
|
|
735
|
-
active: "active";
|
|
736
735
|
paused: "paused";
|
|
736
|
+
active: "active";
|
|
737
737
|
budgetLimited: "budgetLimited";
|
|
738
738
|
complete: "complete";
|
|
739
739
|
}>;
|
|
@@ -1304,9 +1304,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1304
1304
|
step: z$1.ZodString;
|
|
1305
1305
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1306
1306
|
pending: "pending";
|
|
1307
|
-
active: "active";
|
|
1308
1307
|
completed: "completed";
|
|
1309
1308
|
failed: "failed";
|
|
1309
|
+
active: "active";
|
|
1310
1310
|
}>>;
|
|
1311
1311
|
}, z$1.core.$strip>>;
|
|
1312
1312
|
explanation: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1385,10 +1385,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1385
1385
|
}>;
|
|
1386
1386
|
taskStatus: z$1.ZodEnum<{
|
|
1387
1387
|
pending: "pending";
|
|
1388
|
+
running: "running";
|
|
1389
|
+
paused: "paused";
|
|
1388
1390
|
completed: "completed";
|
|
1389
1391
|
failed: "failed";
|
|
1390
|
-
paused: "paused";
|
|
1391
|
-
running: "running";
|
|
1392
1392
|
killed: "killed";
|
|
1393
1393
|
stopped: "stopped";
|
|
1394
1394
|
}>;
|
|
@@ -1405,8 +1405,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
1405
1405
|
index: z$1.ZodNumber;
|
|
1406
1406
|
label: z$1.ZodString;
|
|
1407
1407
|
state: z$1.ZodEnum<{
|
|
1408
|
-
failed: "failed";
|
|
1409
1408
|
running: "running";
|
|
1409
|
+
failed: "failed";
|
|
1410
1410
|
queued: "queued";
|
|
1411
1411
|
done: "done";
|
|
1412
1412
|
skipped: "skipped";
|
|
@@ -2076,9 +2076,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2076
2076
|
step: z$1.ZodString;
|
|
2077
2077
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2078
2078
|
pending: "pending";
|
|
2079
|
-
active: "active";
|
|
2080
2079
|
completed: "completed";
|
|
2081
2080
|
failed: "failed";
|
|
2081
|
+
active: "active";
|
|
2082
2082
|
}>>;
|
|
2083
2083
|
}, z$1.core.$strip>>;
|
|
2084
2084
|
explanation: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2157,10 +2157,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2157
2157
|
}>;
|
|
2158
2158
|
taskStatus: z$1.ZodEnum<{
|
|
2159
2159
|
pending: "pending";
|
|
2160
|
+
running: "running";
|
|
2161
|
+
paused: "paused";
|
|
2160
2162
|
completed: "completed";
|
|
2161
2163
|
failed: "failed";
|
|
2162
|
-
paused: "paused";
|
|
2163
|
-
running: "running";
|
|
2164
2164
|
killed: "killed";
|
|
2165
2165
|
stopped: "stopped";
|
|
2166
2166
|
}>;
|
|
@@ -2177,8 +2177,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2177
2177
|
index: z$1.ZodNumber;
|
|
2178
2178
|
label: z$1.ZodString;
|
|
2179
2179
|
state: z$1.ZodEnum<{
|
|
2180
|
-
failed: "failed";
|
|
2181
2180
|
running: "running";
|
|
2181
|
+
failed: "failed";
|
|
2182
2182
|
queued: "queued";
|
|
2183
2183
|
done: "done";
|
|
2184
2184
|
skipped: "skipped";
|
|
@@ -2389,10 +2389,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2389
2389
|
}>;
|
|
2390
2390
|
taskStatus: z$1.ZodEnum<{
|
|
2391
2391
|
pending: "pending";
|
|
2392
|
+
running: "running";
|
|
2393
|
+
paused: "paused";
|
|
2392
2394
|
completed: "completed";
|
|
2393
2395
|
failed: "failed";
|
|
2394
|
-
paused: "paused";
|
|
2395
|
-
running: "running";
|
|
2396
2396
|
killed: "killed";
|
|
2397
2397
|
stopped: "stopped";
|
|
2398
2398
|
}>;
|
|
@@ -2409,8 +2409,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2409
2409
|
index: z$1.ZodNumber;
|
|
2410
2410
|
label: z$1.ZodString;
|
|
2411
2411
|
state: z$1.ZodEnum<{
|
|
2412
|
-
failed: "failed";
|
|
2413
2412
|
running: "running";
|
|
2413
|
+
failed: "failed";
|
|
2414
2414
|
queued: "queued";
|
|
2415
2415
|
done: "done";
|
|
2416
2416
|
skipped: "skipped";
|
|
@@ -2488,10 +2488,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2488
2488
|
}>;
|
|
2489
2489
|
taskStatus: z$1.ZodEnum<{
|
|
2490
2490
|
pending: "pending";
|
|
2491
|
+
running: "running";
|
|
2492
|
+
paused: "paused";
|
|
2491
2493
|
completed: "completed";
|
|
2492
2494
|
failed: "failed";
|
|
2493
|
-
paused: "paused";
|
|
2494
|
-
running: "running";
|
|
2495
2495
|
killed: "killed";
|
|
2496
2496
|
stopped: "stopped";
|
|
2497
2497
|
}>;
|
|
@@ -2508,8 +2508,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2508
2508
|
index: z$1.ZodNumber;
|
|
2509
2509
|
label: z$1.ZodString;
|
|
2510
2510
|
state: z$1.ZodEnum<{
|
|
2511
|
-
failed: "failed";
|
|
2512
2511
|
running: "running";
|
|
2512
|
+
failed: "failed";
|
|
2513
2513
|
queued: "queued";
|
|
2514
2514
|
done: "done";
|
|
2515
2515
|
skipped: "skipped";
|
|
@@ -2704,9 +2704,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2704
2704
|
step: z$1.ZodString;
|
|
2705
2705
|
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2706
2706
|
pending: "pending";
|
|
2707
|
-
active: "active";
|
|
2708
2707
|
completed: "completed";
|
|
2709
2708
|
failed: "failed";
|
|
2709
|
+
active: "active";
|
|
2710
2710
|
}>>;
|
|
2711
2711
|
}, z$1.core.$strip>>;
|
|
2712
2712
|
explanation: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2715,8 +2715,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2715
2715
|
threadId: z$1.ZodString;
|
|
2716
2716
|
providerThreadId: z$1.ZodString;
|
|
2717
2717
|
state: z$1.ZodEnum<{
|
|
2718
|
-
idle: "idle";
|
|
2719
2718
|
running: "running";
|
|
2719
|
+
idle: "idle";
|
|
2720
2720
|
}>;
|
|
2721
2721
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2722
2722
|
type: z$1.ZodLiteral<"turn/diff/updated">;
|
|
@@ -3578,9 +3578,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3578
3578
|
threadId: z$1.ZodString;
|
|
3579
3579
|
provisioningId: z$1.ZodString;
|
|
3580
3580
|
status: z$1.ZodEnum<{
|
|
3581
|
-
active: "active";
|
|
3582
3581
|
completed: "completed";
|
|
3583
3582
|
failed: "failed";
|
|
3583
|
+
active: "active";
|
|
3584
3584
|
cancelled: "cancelled";
|
|
3585
3585
|
}>;
|
|
3586
3586
|
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4240,8 +4240,8 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
4240
4240
|
}, z$1.core.$strip>;
|
|
4241
4241
|
}, z$1.core.$strip>], "kind">>;
|
|
4242
4242
|
completedTurnDisplay: z$1.ZodEnum<{
|
|
4243
|
-
collapse: "collapse";
|
|
4244
4243
|
flat: "flat";
|
|
4244
|
+
collapse: "collapse";
|
|
4245
4245
|
}>;
|
|
4246
4246
|
available: z$1.ZodBoolean;
|
|
4247
4247
|
strings: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -6131,8 +6131,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6131
6131
|
skillFilePath: z$1.ZodString;
|
|
6132
6132
|
}, z$1.core.$strict>], "kind">>;
|
|
6133
6133
|
instructionMode: z$1.ZodEnum<{
|
|
6134
|
-
append: "append";
|
|
6135
6134
|
replace: "replace";
|
|
6135
|
+
append: "append";
|
|
6136
6136
|
}>;
|
|
6137
6137
|
type: z$1.ZodLiteral<"thread.rewind.prepare">;
|
|
6138
6138
|
leaseId: z$1.ZodString;
|
|
@@ -6280,8 +6280,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6280
6280
|
skillFilePath: z$1.ZodString;
|
|
6281
6281
|
}, z$1.core.$strict>], "kind">>;
|
|
6282
6282
|
instructionMode: z$1.ZodEnum<{
|
|
6283
|
-
append: "append";
|
|
6284
6283
|
replace: "replace";
|
|
6284
|
+
append: "append";
|
|
6285
6285
|
}>;
|
|
6286
6286
|
type: z$1.ZodLiteral<"thread.start">;
|
|
6287
6287
|
requestId: z$1.ZodString;
|
|
@@ -6744,8 +6744,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6744
6744
|
envPassthrough: z$1.ZodArray<z$1.ZodString>;
|
|
6745
6745
|
}, z$1.core.$strict>;
|
|
6746
6746
|
instructionMode: z$1.ZodEnum<{
|
|
6747
|
-
append: "append";
|
|
6748
6747
|
replace: "replace";
|
|
6748
|
+
append: "append";
|
|
6749
6749
|
}>;
|
|
6750
6750
|
projectId: z$1.ZodString;
|
|
6751
6751
|
providerId: z$1.ZodString;
|
|
@@ -6960,8 +6960,8 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6960
6960
|
envPassthrough: z$1.ZodArray<z$1.ZodString>;
|
|
6961
6961
|
}, z$1.core.$strict>;
|
|
6962
6962
|
instructionMode: z$1.ZodEnum<{
|
|
6963
|
-
append: "append";
|
|
6964
6963
|
replace: "replace";
|
|
6964
|
+
append: "append";
|
|
6965
6965
|
}>;
|
|
6966
6966
|
projectId: z$1.ZodString;
|
|
6967
6967
|
providerId: z$1.ZodString;
|
|
@@ -8185,9 +8185,9 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8185
8185
|
executablePath: z$1.ZodNullable<z$1.ZodString>;
|
|
8186
8186
|
installed: z$1.ZodBoolean;
|
|
8187
8187
|
installSource: z$1.ZodEnum<{
|
|
8188
|
-
external: "external";
|
|
8189
8188
|
notInstalled: "notInstalled";
|
|
8190
8189
|
npmGlobal: "npmGlobal";
|
|
8190
|
+
external: "external";
|
|
8191
8191
|
}>;
|
|
8192
8192
|
currentVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
8193
8193
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -8736,9 +8736,9 @@ declare const providerCliStatusResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.
|
|
|
8736
8736
|
executablePath: z$1.ZodNullable<z$1.ZodString>;
|
|
8737
8737
|
installed: z$1.ZodBoolean;
|
|
8738
8738
|
installSource: z$1.ZodEnum<{
|
|
8739
|
-
external: "external";
|
|
8740
8739
|
notInstalled: "notInstalled";
|
|
8741
8740
|
npmGlobal: "npmGlobal";
|
|
8741
|
+
external: "external";
|
|
8742
8742
|
}>;
|
|
8743
8743
|
currentVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
8744
8744
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@halcyonlabs/app",
|
|
3
|
-
"version": "0.47.0-halcyon.
|
|
3
|
+
"version": "0.47.0-halcyon.474",
|
|
4
4
|
"description": "bb app launcher for npx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bb",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"node": "^22.19.0 || ^24.0.0 || ^26.0.0"
|
|
106
106
|
},
|
|
107
107
|
"moonletRelease": {
|
|
108
|
-
"summary": "
|
|
108
|
+
"summary": "fix(orbit): drain busy stations before automatic delivery (#494)"
|
|
109
109
|
},
|
|
110
110
|
"license": "SEE LICENSE IN LICENSE"
|
|
111
111
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"path": "plugins/orbit/skills/documents/SKILL.md",
|
|
19
|
-
"sha256": "
|
|
19
|
+
"sha256": "7287459e22b663854bfc3e9e43004c176870f4fc93c52f2ee369078e62e23452"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"path": "plugins/orbit/skills/github-change/SKILL.md",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"path": "plugins/orbit/skills/documents/page-template.html",
|
|
71
|
-
"sha256": "
|
|
71
|
+
"sha256": "a96e51db37c140981c103e522b053708c2d2a6e1da61d418c61dc0ef8273b3d7"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"path": "orbit/skills/dossier/SKILL.md",
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-documents
|
|
3
|
+
description: Write or review a design document, architecture proposal, investigation or substantial plan as a page with diagrams and checked facts. Use for a design someone will read or build from, not short chat answers.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design documents
|
|
7
|
+
|
|
8
|
+
Load the **documents** skill first. It owns research, the page shell, page rules,
|
|
9
|
+
rendering, independent review and the handover checklist. Apply these design
|
|
10
|
+
requirements through that checklist; do not invent a second page format.
|
|
11
|
+
|
|
12
|
+
Open with what the design is for, using the owner's exact words, quoted and dated
|
|
13
|
+
when available. Stamp the header with the time in the owner's timezone. Write in
|
|
14
|
+
first person, with plain words and short sentences.
|
|
15
|
+
|
|
16
|
+
A design requires diagrams. Tables and lists alone are unfinished. Include at
|
|
17
|
+
least a system map and a flow or lifecycle. Add these as the subject needs:
|
|
18
|
+
|
|
19
|
+
- A system map: parts and labelled arrows, with existing parts grey and proposed parts green, explained in a legend.
|
|
20
|
+
- A lifecycle of the thing that changes state, including failure and recovery.
|
|
21
|
+
- A decision flow, with every choice branch labelled yes or no.
|
|
22
|
+
- A worked example over time, with invented data labelled as invented. Show before and after bars for a claimed saving, and label estimates as estimates.
|
|
23
|
+
- A sequence when several parties act in an order.
|
|
24
|
+
|
|
25
|
+
Each diagram explains one idea, has about eight boxes at most, labels every arrow,
|
|
26
|
+
and has a one-line caption stating the point. Use the code's actual names.
|
|
27
|
+
For hand-drawn inline SVG, read [the diagram kit](references/diagram-kit.md).
|
|
28
|
+
Read [the worked example](references/example-design.html) for composition and
|
|
29
|
+
spacing. It is an invented scenario, not current product facts or an alternative page
|
|
30
|
+
shell; use its diagrams inside the documents shell.
|
|
31
|
+
|
|
32
|
+
Mark every factual claim **CHECKED** or **UNCHECKED**. Put the supporting file and
|
|
33
|
+
line, command evidence or dated source beside checked claims. Keep proposed
|
|
34
|
+
behaviour distinct from current behaviour. For unchecked claims, state the effect
|
|
35
|
+
if wrong and the next check. Never turn a guess into a fact.
|
|
36
|
+
|
|
37
|
+
A design decides the behaviour and asks the owner nothing. Where a question would
|
|
38
|
+
go, state the decision made, the reason, and what the design will do. When reporting
|
|
39
|
+
implementation, say what I actually did; label work still to build as proposed.
|
|
40
|
+
Never end on a question to the owner. Do not ask a permission or preference
|
|
41
|
+
question, add a box of options, say “shall I”, or end with a recommendation plus
|
|
42
|
+
what happens without an answer. For taste, choose the likeliest default from what
|
|
43
|
+
is known and state it.
|
|
44
|
+
|
|
45
|
+
Never list security, approval or gate points as things for the owner to confirm.
|
|
46
|
+
Build trials, named versions, limits and run records into the behaviour and have
|
|
47
|
+
an independent reader check them. State these design properties once, plainly.
|
|
48
|
+
A design does not authorize external actions or replace enforced approval requirements.
|
|
49
|
+
|
|
50
|
+
Include a premortem: “A month from now this was a mistake because …”. For each
|
|
51
|
+
reason, name the part of the design that answers it.
|
|
52
|
+
|
|
53
|
+
The documents checklist includes these requirements when reviewing a design.
|
|
54
|
+
Its close-up diagram check is required for every diagram, even when the whole
|
|
55
|
+
page looks good. Present the finished artifact with one paragraph linking it;
|
|
56
|
+
do not paste the design into chat blocks.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Inline SVG diagram kit
|
|
2
|
+
|
|
3
|
+
Use this kit inside the documents skill's page shell, with its figure, caption,
|
|
4
|
+
scroll container and Expand controls. The historical example is
|
|
5
|
+
[example-design.html](example-design.html); its subject claims are not evidence.
|
|
6
|
+
|
|
7
|
+
## Theme and style classes
|
|
8
|
+
|
|
9
|
+
Map these aliases to the shell tokens, so both themes use the shell's colours:
|
|
10
|
+
|
|
11
|
+
```css
|
|
12
|
+
:root {
|
|
13
|
+
--fg: var(--ink);
|
|
14
|
+
--muted: var(--ink-2);
|
|
15
|
+
--line: var(--rule);
|
|
16
|
+
--soft: var(--plate);
|
|
17
|
+
--accent: var(--ok);
|
|
18
|
+
--accentbg: var(--ok-wash);
|
|
19
|
+
--warnbg: var(--warn-wash);
|
|
20
|
+
}
|
|
21
|
+
svg.diag { width: 100%; height: auto; margin: 10px 0 4px; }
|
|
22
|
+
.diag text { fill: var(--fg); font: 13px system-ui, -apple-system, "Segoe UI", sans-serif; }
|
|
23
|
+
.diag text.sm { font-size: 11.5px; fill: var(--muted); }
|
|
24
|
+
.diag text.b { font-weight: 600; }
|
|
25
|
+
.diag .n { fill: var(--soft); stroke: var(--line); stroke-width: 1.3; }
|
|
26
|
+
.diag .new { fill: var(--accentbg); stroke: var(--accent); stroke-width: 1.8; }
|
|
27
|
+
.diag .q { fill: var(--warnbg); stroke: var(--warn); stroke-width: 1.3; }
|
|
28
|
+
.diag .ln { stroke: var(--muted); stroke-width: 1.6; fill: none; }
|
|
29
|
+
.diag .lna { stroke: var(--accent); stroke-width: 2.6; fill: none; }
|
|
30
|
+
.diag .dash { stroke-dasharray: 5 4; }
|
|
31
|
+
.diag .dot-quiet { fill: var(--soft); stroke: var(--muted); stroke-width: 1.5; }
|
|
32
|
+
.diag .dot-data { fill: var(--accentbg); stroke: var(--accent); stroke-width: 2; }
|
|
33
|
+
.diag .dot-ask { fill: var(--accent); stroke: var(--accent); stroke-width: 2; }
|
|
34
|
+
.diag .dot-skip { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 3; }
|
|
35
|
+
.diag .bar-all { fill: var(--line); }
|
|
36
|
+
.diag .bar-new { fill: var(--accent); }
|
|
37
|
+
.mk { fill: var(--muted); }
|
|
38
|
+
.mka { fill: var(--accent); }
|
|
39
|
+
.cap { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`.n` is existing or plain; `.new` is proposed; `.q` marks a choice in the
|
|
43
|
+
system. `.ln` and `.lna` draw arrows; `.sm` and `.b` style text. The dot and bar
|
|
44
|
+
classes support timelines and before/after comparisons. Add a legend whenever
|
|
45
|
+
colour or line style carries meaning. A choice in the system is not a question
|
|
46
|
+
for the owner.
|
|
47
|
+
|
|
48
|
+
## Marker definitions
|
|
49
|
+
|
|
50
|
+
Give every SVG its own marker IDs and update all URL references to match.
|
|
51
|
+
Use marker fill classes, not currentColor. auto-start-reverse also supports
|
|
52
|
+
arrows at both ends without a second reversed marker.
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<svg class="diag diagram-svg" viewBox="0 0 720 180" role="img" aria-label="Describe the diagram">
|
|
56
|
+
<defs>
|
|
57
|
+
<marker id="map-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="mk" d="M0 0L10 5L0 10z"/></marker>
|
|
58
|
+
<marker id="map-new-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="mka" d="M0 0L10 5L0 10z"/></marker>
|
|
59
|
+
</defs>
|
|
60
|
+
<path class="ln" d="M190 80H270" marker-end="url(#map-arrow)"/>
|
|
61
|
+
<text class="sm" x="230" y="68" text-anchor="middle">reads</text>
|
|
62
|
+
</svg>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Labels and spacing
|
|
66
|
+
|
|
67
|
+
Use one SVG per idea: viewBox="0 0 720 H", width:100%, height:auto.
|
|
68
|
+
Use 13 px titles and 11.5 px small text. Estimate 6.3 px per character at
|
|
69
|
+
11.5 px. Keep text at least 10 px inside boxes. Shorten words instead of
|
|
70
|
+
shrinking text below 11 px. Split a diagram with more than about eight boxes.
|
|
71
|
+
|
|
72
|
+
Put arrow labels beside lines: above a horizontal line, alongside a vertical
|
|
73
|
+
one. Never place labels over lines or against box edges. Label every arrow and
|
|
74
|
+
both yes/no choice branches. Give each diagram a one-line caption stating its
|
|
75
|
+
point. Follow the documents checklist for rendering and close-up inspection.
|