@halcyonlabs/app 0.47.0-halcyon.466 → 0.47.0-halcyon.469
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 +21 -21
- 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/migrations/task-index.json +3 -2
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/starter/plugins/orbit/back/CLAUDE.md +18 -17
- package/server/dist/builtin-plugins/orbit/dist/assets/assets/orbit-guidance/starter/plugins/orbit/front/CLAUDE.md +94 -147
- 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/assets/plugins/moonlet/back/CLAUDE.md +18 -17
- package/server/dist/builtin-plugins/orbit/dist/assets/plugins/moonlet/front/CLAUDE.md +102 -157
- package/server/dist/builtin-plugins/orbit/dist/server.js +726 -430
- package/server/dist/builtin-plugins/orbit/skills/userland/SKILL.md +84 -1
package/dist/index.d.ts
CHANGED
|
@@ -3008,8 +3008,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3008
3008
|
}>;
|
|
3009
3009
|
name: z$1.ZodString;
|
|
3010
3010
|
source: z$1.ZodEnum<{
|
|
3011
|
-
command: "command";
|
|
3012
3011
|
skill: "skill";
|
|
3012
|
+
command: "command";
|
|
3013
3013
|
}>;
|
|
3014
3014
|
origin: z$1.ZodEnum<{
|
|
3015
3015
|
user: "user";
|
|
@@ -3098,8 +3098,8 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3098
3098
|
}>;
|
|
3099
3099
|
name: z$1.ZodString;
|
|
3100
3100
|
source: z$1.ZodEnum<{
|
|
3101
|
-
command: "command";
|
|
3102
3101
|
skill: "skill";
|
|
3102
|
+
command: "command";
|
|
3103
3103
|
}>;
|
|
3104
3104
|
origin: z$1.ZodEnum<{
|
|
3105
3105
|
user: "user";
|
|
@@ -3244,10 +3244,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3244
3244
|
interaction: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
3245
3245
|
id: z$1.ZodString;
|
|
3246
3246
|
status: z$1.ZodEnum<{
|
|
3247
|
+
resolved: "resolved";
|
|
3247
3248
|
pending: "pending";
|
|
3248
3249
|
interrupted: "interrupted";
|
|
3249
3250
|
resolving: "resolving";
|
|
3250
|
-
resolved: "resolved";
|
|
3251
3251
|
}>;
|
|
3252
3252
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3253
3253
|
origin: z$1.ZodObject<{
|
|
@@ -3380,10 +3380,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3380
3380
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3381
3381
|
id: z$1.ZodString;
|
|
3382
3382
|
status: z$1.ZodEnum<{
|
|
3383
|
+
resolved: "resolved";
|
|
3383
3384
|
pending: "pending";
|
|
3384
3385
|
interrupted: "interrupted";
|
|
3385
3386
|
resolving: "resolving";
|
|
3386
|
-
resolved: "resolved";
|
|
3387
3387
|
}>;
|
|
3388
3388
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3389
3389
|
origin: z$1.ZodObject<{
|
|
@@ -3416,10 +3416,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3416
3416
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3417
3417
|
id: z$1.ZodString;
|
|
3418
3418
|
status: z$1.ZodEnum<{
|
|
3419
|
+
resolved: "resolved";
|
|
3419
3420
|
pending: "pending";
|
|
3420
3421
|
interrupted: "interrupted";
|
|
3421
3422
|
resolving: "resolving";
|
|
3422
|
-
resolved: "resolved";
|
|
3423
3423
|
}>;
|
|
3424
3424
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3425
3425
|
origin: z$1.ZodObject<{
|
|
@@ -3467,10 +3467,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3467
3467
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3468
3468
|
id: z$1.ZodString;
|
|
3469
3469
|
status: z$1.ZodEnum<{
|
|
3470
|
+
resolved: "resolved";
|
|
3470
3471
|
pending: "pending";
|
|
3471
3472
|
interrupted: "interrupted";
|
|
3472
3473
|
resolving: "resolving";
|
|
3473
|
-
resolved: "resolved";
|
|
3474
3474
|
}>;
|
|
3475
3475
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3476
3476
|
origin: z$1.ZodObject<{
|
|
@@ -3493,10 +3493,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3493
3493
|
providerId: z$1.ZodString;
|
|
3494
3494
|
providerRequestId: z$1.ZodString;
|
|
3495
3495
|
status: z$1.ZodEnum<{
|
|
3496
|
+
resolved: "resolved";
|
|
3496
3497
|
pending: "pending";
|
|
3497
3498
|
interrupted: "interrupted";
|
|
3498
3499
|
resolving: "resolving";
|
|
3499
|
-
resolved: "resolved";
|
|
3500
3500
|
}>;
|
|
3501
3501
|
resolution: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3502
3502
|
decision: z$1.ZodLiteral<"allow_once">;
|
|
@@ -3545,10 +3545,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3545
3545
|
providerId: z$1.ZodString;
|
|
3546
3546
|
providerRequestId: z$1.ZodString;
|
|
3547
3547
|
status: z$1.ZodEnum<{
|
|
3548
|
+
resolved: "resolved";
|
|
3548
3549
|
pending: "pending";
|
|
3549
3550
|
interrupted: "interrupted";
|
|
3550
3551
|
resolving: "resolving";
|
|
3551
|
-
resolved: "resolved";
|
|
3552
3552
|
}>;
|
|
3553
3553
|
resolution: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
|
|
3554
3554
|
kind: z$1.ZodLiteral<"user_answer">;
|
|
@@ -3670,10 +3670,10 @@ declare const providerPendingInteractionSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
3670
3670
|
id: z$1.ZodString;
|
|
3671
3671
|
threadId: z$1.ZodString;
|
|
3672
3672
|
status: z$1.ZodEnum<{
|
|
3673
|
+
resolved: "resolved";
|
|
3673
3674
|
pending: "pending";
|
|
3674
3675
|
interrupted: "interrupted";
|
|
3675
3676
|
resolving: "resolving";
|
|
3676
|
-
resolved: "resolved";
|
|
3677
3677
|
}>;
|
|
3678
3678
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3679
3679
|
createdAt: z$1.ZodNumber;
|
|
@@ -3820,10 +3820,10 @@ declare const providerPendingInteractionSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
3820
3820
|
id: z$1.ZodString;
|
|
3821
3821
|
threadId: z$1.ZodString;
|
|
3822
3822
|
status: z$1.ZodEnum<{
|
|
3823
|
+
resolved: "resolved";
|
|
3823
3824
|
pending: "pending";
|
|
3824
3825
|
interrupted: "interrupted";
|
|
3825
3826
|
resolving: "resolving";
|
|
3826
|
-
resolved: "resolved";
|
|
3827
3827
|
}>;
|
|
3828
3828
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3829
3829
|
createdAt: z$1.ZodNumber;
|
|
@@ -3865,10 +3865,10 @@ declare const providerPendingInteractionSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
3865
3865
|
id: z$1.ZodString;
|
|
3866
3866
|
threadId: z$1.ZodString;
|
|
3867
3867
|
status: z$1.ZodEnum<{
|
|
3868
|
+
resolved: "resolved";
|
|
3868
3869
|
pending: "pending";
|
|
3869
3870
|
interrupted: "interrupted";
|
|
3870
3871
|
resolving: "resolving";
|
|
3871
|
-
resolved: "resolved";
|
|
3872
3872
|
}>;
|
|
3873
3873
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3874
3874
|
createdAt: z$1.ZodNumber;
|
|
@@ -3899,10 +3899,10 @@ declare const pluginPendingInteractionSchema: z$1.ZodObject<{
|
|
|
3899
3899
|
id: z$1.ZodString;
|
|
3900
3900
|
threadId: z$1.ZodString;
|
|
3901
3901
|
status: z$1.ZodEnum<{
|
|
3902
|
+
resolved: "resolved";
|
|
3902
3903
|
pending: "pending";
|
|
3903
3904
|
interrupted: "interrupted";
|
|
3904
3905
|
resolving: "resolving";
|
|
3905
|
-
resolved: "resolved";
|
|
3906
3906
|
}>;
|
|
3907
3907
|
statusReason: z$1.ZodNullable<z$1.ZodString>;
|
|
3908
3908
|
createdAt: z$1.ZodNumber;
|
|
@@ -4016,8 +4016,8 @@ declare const promptTextMentionSchema: z$1.ZodObject<{
|
|
|
4016
4016
|
}>;
|
|
4017
4017
|
name: z$1.ZodString;
|
|
4018
4018
|
source: z$1.ZodEnum<{
|
|
4019
|
-
command: "command";
|
|
4020
4019
|
skill: "skill";
|
|
4020
|
+
command: "command";
|
|
4021
4021
|
}>;
|
|
4022
4022
|
origin: z$1.ZodEnum<{
|
|
4023
4023
|
user: "user";
|
|
@@ -4081,8 +4081,8 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
4081
4081
|
}>;
|
|
4082
4082
|
name: z$1.ZodString;
|
|
4083
4083
|
source: z$1.ZodEnum<{
|
|
4084
|
-
command: "command";
|
|
4085
4084
|
skill: "skill";
|
|
4085
|
+
command: "command";
|
|
4086
4086
|
}>;
|
|
4087
4087
|
origin: z$1.ZodEnum<{
|
|
4088
4088
|
user: "user";
|
|
@@ -4393,8 +4393,8 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4393
4393
|
}>;
|
|
4394
4394
|
name: z$1.ZodString;
|
|
4395
4395
|
source: z$1.ZodEnum<{
|
|
4396
|
-
command: "command";
|
|
4397
4396
|
skill: "skill";
|
|
4397
|
+
command: "command";
|
|
4398
4398
|
}>;
|
|
4399
4399
|
origin: z$1.ZodEnum<{
|
|
4400
4400
|
user: "user";
|
|
@@ -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
|
-
replace: "replace";
|
|
6135
6134
|
append: "append";
|
|
6135
|
+
replace: "replace";
|
|
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
|
-
replace: "replace";
|
|
6284
6283
|
append: "append";
|
|
6284
|
+
replace: "replace";
|
|
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
|
-
replace: "replace";
|
|
6748
6747
|
append: "append";
|
|
6748
|
+
replace: "replace";
|
|
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
|
-
replace: "replace";
|
|
6964
6963
|
append: "append";
|
|
6964
|
+
replace: "replace";
|
|
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";
|
|
8188
8189
|
notInstalled: "notInstalled";
|
|
8189
8190
|
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";
|
|
8739
8740
|
notInstalled: "notInstalled";
|
|
8740
8741
|
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.469",
|
|
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": "Ship saved starter scripts by default with durable local choices (#498)"
|
|
109
109
|
},
|
|
110
110
|
"license": "SEE LICENSE IN LICENSE"
|
|
111
111
|
}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"files": [
|
|
5
5
|
{
|
|
6
6
|
"path": "plugins/orbit/front/CLAUDE.md",
|
|
7
|
-
"sha256": "
|
|
7
|
+
"sha256": "d893d48ff10d6a255e9eca75d19689cab94df23ae141bba59ef1c22d2a649eb0"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"path": "plugins/orbit/back/CLAUDE.md",
|
|
11
|
-
"sha256": "
|
|
11
|
+
"sha256": "53b1bed47559cd8d1ff1b843743fe8f86745b1e9d5e6e156367e1a5ac8dd18a9"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"path": "plugins/orbit/skills/before-after/SKILL.md",
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"path": "plugins/orbit/front/CLAUDE.md",
|
|
11
|
-
"before": "**Open loops**: everything in flight or promised. Each loop is a task in the ORB project\n(Tasks
|
|
12
|
-
"after": "**Open loops** are unfinished ORB tasks. `bb orbit loops show` generates their compact\nindex directly from Tasks, including backlog, waiting, working and review. `--json` gives\nthe complete snapshot, precise next checks, conversation links and scheduled check ids.\nThe preserved `open-loops.archived.md` is history. Keep new work and meaning in Tasks.\n\n- **New work:** a start names `--task ORB-<n>` for an existing ask. A new owner ask creates\n its task before the work starts. The system links its conversation. If a personal promise\n needs an L-number, `bb orbit loops next` reserves one above all task and archive history.\n- **Meaning belongs to the owner:** title, done-when, priority and decisions come from what\n the owner asks. Preserve those words and choices. Record a clarified meaning when the\n owner gives it. Read the task's full description and comments when picking work up.\n- **State belongs to the system:** starts become working, open pull requests become review,\n and completed work becomes done with a result comment when nothing else remains open.\n A personal answer or approval keeps work open and labelled, with one short notice.\n Existing questions and approval requests keep their own authority and answer paths.\n- **Events and definitions:** review events, CI findings and person-needed signals are\n system work records or notices. Standing rules and loops are automations or watches.\n Read them with `bb orbit records list` and `records show <id>`.\n- **Results:** report what happened in plain words. The system records outcomes and task\n state. Read the generated index and task comments for upkeep, the unhandled check and\n the daily sweep. If a read is unavailable, keep the existing task state and retry it.\n A failed read is never proof that nothing remains owed.\n- **Checks:** a task can name an existing approved scheduled check in its description as\n `Check: <schedule id>, <what it watches>`. Upkeep and check association consume the same\n generated task snapshot. Journal handling and private journal storage stay unchanged.\n\nA one-off chat with no remaining work can be archived after its answer is relayed and\nits results are handled, using the existing archive checks. Journal it.{{mail_check}}\n"
|
|
11
|
+
"before": "**Open loops**: everything in flight or promised. Each loop is a task in the ORB project\n(Tasks, above), with one line in its index, `{{data}}/open-loops.md`.\n\n- **Open one:** its number is one more than the highest `L-` number in the index (under\n `## Done` too). Create the task with the number in its title, then a few plain words for\n what it's about, and the loop in its description, one line, these parts in this order\n (`Check:` only when it has one):\n\n ```\n bb tasks create --project ORB --title 'L-0042 Insurance renewal quote' --priority medium --due 2026-10-14 --description 'Owner: @thread:thr_\u2026 (chat). Done when: I have compared the quotes and saved my choice. Status: comparing the quotes. Next check: 2026-10-14 09:00.'\n ```\n\n Then add its line under `## Index`, newest first: the loop, its task, its title, where it\n stands, when you'll look next and the threads it names. Upkeep reads the loop, the task,\n the title up to the first ` \u00b7 ` and the `@thread:` links, so keep those exactly as shown;\n the rest is a short note:\n\n ```md\n - L-0042 ORB-12 Insurance renewal quote \u00b7 comparing the quotes \u00b7 next look Wed 14 Oct \u00b7 @thread:thr_\u2026\n ```\n\n- **Write it as a person would:** the status, comments and outcome are short notes in plain\n words, the kind you'd leave for yourself or {{owner}}: \"I picked the second quote for its cover and price and saved the comparison.\" No hashes, ids or tool\n names unless they're needed to pick the work up again.\n\n- **Keep it current:** the task's status is `backlog` (parked), `todo` (waiting on a person or a date), `in_progress` (being worked) or `done`; its due date is the\n next check (`--no-due` when there's none). What happened goes in a comment\n (`bb tasks comment`), not the description. When the status changes, update the\n description's `Status:` part (condensed, current only), the task's status, and the index\n line in the same step. A thread you start for a loop goes in all three places too.\n- **Close it:** the task `done` with a last comment (the one-line outcome), its owner\n threads archived once their results are acted on (`bb orbit threads archive <id>` each),\n and its index line moved under `## Done` with the date and the outcome\n (`- L-0042 ORB-12 Insurance renewal quote \u00b7 done 15 Oct: saved the second quote and comparison`);\n journal it (which loop, which threads). The done task keeps the history.\n- **A check that runs itself (optional):** a loop that waits on something a script can see\n (a pull request merged, a page live, a file arrived) can say so in its description,\n `Check: <schedule id>, <what it watches>`, for a check you scheduled (Your schedule, below),\n and its index line names it too (`\u00b7 check sch_\u2026`). Then its hits are silent: the plugin\n comments the result on the task and journals it. The daily sweep runs nothing itself: it\n reads those comments.\n\n",
|
|
12
|
+
"after": "**Open loops** are unfinished ORB tasks. `bb orbit loops show` generates their compact\nindex directly from Tasks, including backlog, waiting, working and review. `--json` gives\nthe complete snapshot, precise next checks, conversation links and scheduled check ids.\nThe preserved `open-loops.archived.md` is history. Keep new work and meaning in Tasks.\n\n- **New work:** a start names `--task ORB-<n>` for an existing ask. A new owner ask creates\n its task before the work starts. The system links its conversation. If a personal promise\n needs an L-number, `bb orbit loops next` reserves one above all task and archive history.\n- **Meaning belongs to the owner:** title, done-when, priority and decisions come from what\n the owner asks. Preserve those words and choices. Record a clarified meaning when the\n owner gives it. Read the task's full description and comments when picking work up.\n- **State belongs to the system:** starts become working, open pull requests become review,\n and completed work becomes done with a result comment when nothing else remains open.\n A personal answer or approval keeps work open and labelled, with one short notice.\n Existing questions and approval requests keep their own authority and answer paths.\n- **Events and definitions:** review events, CI findings and person-needed signals are\n system work records or notices. Standing rules and loops are automations or watches.\n Read them with `bb orbit records list` and `records show <id>`.\n- **Results:** report what happened in plain words. The system records outcomes and task\n state. Read the generated index and task comments for upkeep, the unhandled check and\n the daily sweep. If a read is unavailable, keep the existing task state and retry it.\n A failed read is never proof that nothing remains owed.\n- **Checks:** a task can name an existing approved scheduled check in its description as\n `Check: <schedule id>, <what it watches>`. Upkeep and check association consume the same\n generated task snapshot. Journal handling and private journal storage stay unchanged.\n\nA one-off chat with no remaining work can be archived after its answer is relayed and\nits results are handled, using the existing archive checks. Journal it.{{mail_check}}\n",
|
|
13
|
+
"previous": "**Open loops**: everything in flight or promised. Each loop is a task in the ORB project\n(Tasks and questions, above), with one line in its index, `{{data}}/open-loops.md`.\n\n- **Open one:** its number is one more than the highest `L-` number in the index (under\n `## Done` too). Create the task with the number in its title, then a few plain words for\n what it's about, and the loop in its description, one line, these parts in this order\n (`Check:` only when it has one):\n\n ```\n bb tasks create --project ORB --title 'L-0042 Insurance renewal quote' --priority medium --due 2026-10-14 --description 'Owner: @thread:thr_\u2026 (chat). Done when: {{owner}} has picked one of three quotes. Status: waiting on {{owner}} to pick a quote. Next check: 2026-10-14 09:00.'\n ```\n\n Then add its line under `## Index`, newest first: the loop, its task, its title, where it\n stands, when you'll look next and the threads it names. Upkeep reads the loop, the task,\n the title up to the first ` \u00b7 ` and the `@thread:` links, so keep those exactly as shown;\n the rest is a short note:\n\n ```md\n - L-0042 ORB-12 Insurance renewal quote \u00b7 waiting on {{owner}} to pick a quote \u00b7 next look Wed 14 Oct \u00b7 @thread:thr_\u2026\n ```\n\n- **Write it as a person would:** the status, comments and outcome are short notes in plain\n words, the kind you'd leave for yourself or {{owner}}: \"Sent the three quotes; waiting on\n {{owner}} to pick one.\", not \"status todo, awaiting owner input\". No hashes, ids or tool\n names unless they're needed to pick the work up again.\n\n- **Keep it current:** the task's status is `backlog` (parked), `todo` (waiting: on\n {{owner}}, a person, a date), `in_progress` (being worked) or `done`; its due date is the\n next check (`--no-due` when there's none). What happened goes in a comment\n (`bb tasks comment`), not the description. When the status changes, update the\n description's `Status:` part (condensed, current only), the task's status, and the index\n line in the same step. A thread you start for a loop goes in all three places too.\n- **Close it:** the task `done` with a last comment (the one-line outcome), its owner\n threads archived once their results are acted on (`bb orbit threads archive <id>` each),\n and its index line moved under `## Done` with the date and the outcome\n (`- L-0042 ORB-12 Insurance renewal quote \u00b7 done 15 Oct: renewed with the second quote`);\n journal it (which loop, which threads). The done task keeps the history.\n- **A check that runs itself (optional):** a loop that waits on something a script can see\n (a pull request merged, a page live, a file arrived) can say so in its description,\n `Check: <schedule id>, <what it watches>`, for a check you scheduled (Your schedule, below),\n and its index line names it too (`\u00b7 check sch_\u2026`). Then its hits are silent: the plugin\n comments the result on the task and journals it. The daily sweep runs nothing itself: it\n reads those comments.\n\nA one-off chat with no loop is the same: once its answer is relayed and {{owner}} hasn't replied\nfor a while, archive it and journal it. The guard in Upkeep holds.\n\n**Without bb Tasks** (`bb tasks list --project ORB` says there's no ORB project, or bb has no\nTasks), keep each loop in full in the file instead, one entry each after `## Index`, newest\nfirst, and close it by moving it under `## Done` with a one-line outcome; everything else here\nholds:\n\n```md\n## L-0042 Insurance renewal quote\n- owner: @thread:thr_\u2026 (agent | chat)\n- opened: 2026-10-12 \u00b7 next check: 2026-10-14 09:00\n- done when: {{owner}} has picked one of three quotes\n- status: waiting on {{owner}} to pick a quote\n```\n\nClose loops as soon as they're done, so only what's still open stays open:\n\n- **On news:** anything that might settle a loop (a child's result, {{owner}}'s answer, a merge\n notice, a \"deployed\" message, a notice from the plugin, in a message or your journal, a\n check's hit) is checked against the open loops right away. If a loop's done-when is met, close it there and then.\n- **Daily sweep:** once a day, list the open loops (`bb tasks list --project ORB --active\n --sort due`), review every one against its done-when, read the latest comments of those\n due (a check's results among them), close what's met, and bring the rest up to date (task,\n description and index line). It comes as a `Tell:` when it's due (to your background thread\n when that's on): do it then, saying nothing about it to {{owner}}. It's a routine you keep yourself: if `bb orbit schedule list`\n has no `Loop sweep`, add it with\n `bb orbit schedule add --title 'Loop sweep' --every '30 6 * * *' --text 'Daily loop sweep: list the open loop tasks in ORB (bb tasks list --project ORB --active --sort due), review each against its done-when, read the latest comments of those due, close what is met (task done, threads archived, index line under Done) and bring the rest up to date (Continuity).'`\n If it has one whose text doesn't mention ORB, cancel it and add this one.{{mail_check}}\n"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
"path": "plugins/orbit/back/CLAUDE.md",
|
|
@@ -21,8 +21,8 @@ to you and never {{owner}}'s approval.
|
|
|
21
21
|
All work you start uses `bb orbit threads start --key '<stable key>' --title '<plain title>' --brief '<complete brief>'`.
|
|
22
22
|
This starts a hidden child parented to you. Never use raw `bb thread spawn` or `create`,
|
|
23
23
|
never start a placeholder and send the real brief later, and never create a visible
|
|
24
|
-
parentless merge chat.
|
|
25
|
-
|
|
24
|
+
parentless merge chat. Resolve choices yourself and keep useful work moving. There are no questions for the owner;
|
|
25
|
+
for taste, pick the likeliest default and report what you chose and why.
|
|
26
26
|
|
|
27
27
|
For merging an assistant-authored pull request, the key is exactly `merge:owner/repo#123` (repository and
|
|
28
28
|
number, no head, timestamp or retry suffix). The title is `Merge owner/repo#123`.
|
|
@@ -91,6 +91,8 @@ Give the child this complete job, substituting only the validated case identifie
|
|
|
91
91
|
result and review link in the case task. Report `BLOCKING: <one plain line and
|
|
92
92
|
link>` only for blocking findings, `APPROVED: <one plain line and link>` only for
|
|
93
93
|
confirmed approval, otherwise `SILENT: <result and link>`. Follow station cleanup.
|
|
94
|
+
- There are no questions for the owner, decide it yourself and say in the report
|
|
95
|
+
what you chose and why.
|
|
94
96
|
|
|
95
97
|
Handle the result and settle its case task before archiving the stopped child with
|
|
96
98
|
the existing archive command. For BLOCKING or APPROVED send the front one line
|
|
@@ -125,20 +127,17 @@ Act, write it down, and say nothing unless {{owner}} needs it:
|
|
|
125
127
|
more goes to a child. The service's views,
|
|
126
128
|
`/var/db/orbit/events/views/now.md` and `bb orbit loops show`, show what's open.
|
|
127
129
|
The task index is generated; the preserved legacy file is history.
|
|
128
|
-
3. **
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
3. **Decide and act.** Resolve choices from context and standing instructions, continue
|
|
131
|
+
useful work and record what you chose and why. Do not answer, duplicate or modify
|
|
132
|
+
system forms. I do not spend money, share private data, speak as {{owner}} to other
|
|
133
|
+
people, or work around a protection. I never restate security, approval, guard or
|
|
134
|
+
gate points to {{owner}}.
|
|
131
135
|
4. **The one way to {{owner}}** is a message to the Orbit thread starting `For {{owner}}:`,
|
|
132
|
-
with `bb thread tell {{front}} --mode queue`, batched into one
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
5. **Use the existing delegation.** Decide ordinary reversible implementation,
|
|
138
|
-
preparation and preferences covered by {{owner}}'s request. Ask only about new
|
|
139
|
-
consequences for private data, money, messages, accounts, unpublished work or
|
|
140
|
-
control settings. Group related unresolved decisions. Existing pull request
|
|
141
|
-
delegation uses the installed guarded commands; deployment needs its own scope.
|
|
136
|
+
with `bb thread tell {{front}} --mode queue`, batched into one useful outcome in plain
|
|
137
|
+
first-person words. Say what you did or found and what happens next. Resolve a
|
|
138
|
+
helper's choices yourself rather than relaying its questions.
|
|
139
|
+
5. **Helper briefs end with:** "There are no questions for the owner, decide it yourself
|
|
140
|
+
and say in the report what you chose and why."
|
|
142
141
|
|
|
143
142
|
|
|
144
143
|
Your reply at the end of a turn can be one word: nobody reads it.
|
|
@@ -161,10 +160,12 @@ checks, paths, ready state, mergeability and genuine approver verdicts. Never tr
|
|
|
161
160
|
another route after a refusal or uncertain answer. Report the pull request link
|
|
162
161
|
and one plain result to this parent. Follow the github-change skill and cleanup.
|
|
163
162
|
Never install, change policy or deploy. A delegated merge is not owner approval.
|
|
163
|
+
There are no questions for the owner, decide it yourself and say in the report
|
|
164
|
+
what you chose and why.
|
|
164
165
|
|
|
165
166
|
Record the result in the existing case task and journal before archiving the
|
|
166
|
-
stopped child. On refusal,
|
|
167
|
-
|
|
167
|
+
stopped child. On refusal, record the exact-head case and factual reason in the task, correct what
|
|
168
|
+
you can within scope and keep other work moving. Do not relay questions to the owner. For author, protected
|
|
168
169
|
path or requested-change escalations the program prints the exact original owner
|
|
169
170
|
question request. Genuine current-head GitHub approval needs no second answer.
|
|
170
171
|
Only after that approval may the recorded case use the separate continuation
|