@llblab/pi-actors 0.25.0 → 0.26.1

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.
Files changed (91) hide show
  1. package/BACKLOG.md +4 -8
  2. package/CHANGELOG.md +12 -0
  3. package/README.md +1 -1
  4. package/dist/lib/actor-worker.d.ts +3 -0
  5. package/dist/lib/actor-worker.js +54 -6
  6. package/dist/lib/coordinator.js +31 -4
  7. package/dist/recipes/actor-worker.json +10 -6
  8. package/dist/recipes/lens-swarm.json +0 -2
  9. package/dist/recipes/pipeline-architect-coordinator.json +0 -2
  10. package/dist/recipes/pipeline-artifact-bundle.json +0 -2
  11. package/dist/recipes/pipeline-artifact-report.json +0 -2
  12. package/dist/recipes/pipeline-artifact-write.json +0 -2
  13. package/dist/recipes/pipeline-async-run-ops.json +0 -2
  14. package/dist/recipes/pipeline-checkpoint-continuation.json +0 -2
  15. package/dist/recipes/pipeline-development-tasking.json +0 -2
  16. package/dist/recipes/pipeline-docs-maintenance.json +0 -2
  17. package/dist/recipes/pipeline-media-library.json +0 -2
  18. package/dist/recipes/pipeline-quorum-review.json +0 -2
  19. package/dist/recipes/pipeline-release-readiness.json +0 -2
  20. package/dist/recipes/pipeline-release-summary.json +0 -2
  21. package/dist/recipes/pipeline-repo-health.json +0 -2
  22. package/dist/recipes/pipeline-research-synthesis.json +0 -2
  23. package/dist/recipes/pipeline-review-readiness.json +0 -2
  24. package/dist/recipes/pipeline-room-swarm.json +0 -2
  25. package/dist/recipes/subagent-artifact.json +0 -2
  26. package/dist/recipes/subagent-checkpoint.json +0 -2
  27. package/dist/recipes/subagent-conflict-report.json +0 -2
  28. package/dist/recipes/subagent-contradiction-map.json +0 -2
  29. package/dist/recipes/subagent-critic.json +0 -2
  30. package/dist/recipes/subagent-evidence-map.json +0 -2
  31. package/dist/recipes/subagent-followup.json +0 -2
  32. package/dist/recipes/subagent-judge.json +0 -2
  33. package/dist/recipes/subagent-merge.json +0 -2
  34. package/dist/recipes/subagent-message.json +0 -2
  35. package/dist/recipes/subagent-normalize.json +0 -2
  36. package/dist/recipes/subagent-plan.json +0 -2
  37. package/dist/recipes/subagent-prompt.json +0 -2
  38. package/dist/recipes/subagent-quorum.json +0 -2
  39. package/dist/recipes/subagent-review-coordinator.json +0 -2
  40. package/dist/recipes/subagent-review.json +0 -2
  41. package/dist/recipes/subagent-task-card.json +0 -2
  42. package/dist/recipes/subagent-tools.json +0 -2
  43. package/dist/recipes/subagent-verify.json +0 -2
  44. package/dist/recipes/subagents-prompts.json +0 -2
  45. package/dist/skills/actors/SKILL.md +2 -2
  46. package/dist/skills/swarm/SKILL.md +1 -1
  47. package/docs/actor-messages.md +1 -1
  48. package/docs/template-recipes.md +2 -2
  49. package/lib/actor-worker.ts +62 -6
  50. package/lib/coordinator.ts +33 -4
  51. package/package.json +1 -1
  52. package/recipes/actor-worker.json +10 -6
  53. package/recipes/lens-swarm.json +0 -2
  54. package/recipes/pipeline-architect-coordinator.json +0 -2
  55. package/recipes/pipeline-artifact-bundle.json +0 -2
  56. package/recipes/pipeline-artifact-report.json +0 -2
  57. package/recipes/pipeline-artifact-write.json +0 -2
  58. package/recipes/pipeline-async-run-ops.json +0 -2
  59. package/recipes/pipeline-checkpoint-continuation.json +0 -2
  60. package/recipes/pipeline-development-tasking.json +0 -2
  61. package/recipes/pipeline-docs-maintenance.json +0 -2
  62. package/recipes/pipeline-media-library.json +0 -2
  63. package/recipes/pipeline-quorum-review.json +0 -2
  64. package/recipes/pipeline-release-readiness.json +0 -2
  65. package/recipes/pipeline-release-summary.json +0 -2
  66. package/recipes/pipeline-repo-health.json +0 -2
  67. package/recipes/pipeline-research-synthesis.json +0 -2
  68. package/recipes/pipeline-review-readiness.json +0 -2
  69. package/recipes/pipeline-room-swarm.json +0 -2
  70. package/recipes/subagent-artifact.json +0 -2
  71. package/recipes/subagent-checkpoint.json +0 -2
  72. package/recipes/subagent-conflict-report.json +0 -2
  73. package/recipes/subagent-contradiction-map.json +0 -2
  74. package/recipes/subagent-critic.json +0 -2
  75. package/recipes/subagent-evidence-map.json +0 -2
  76. package/recipes/subagent-followup.json +0 -2
  77. package/recipes/subagent-judge.json +0 -2
  78. package/recipes/subagent-merge.json +0 -2
  79. package/recipes/subagent-message.json +0 -2
  80. package/recipes/subagent-normalize.json +0 -2
  81. package/recipes/subagent-plan.json +0 -2
  82. package/recipes/subagent-prompt.json +0 -2
  83. package/recipes/subagent-quorum.json +0 -2
  84. package/recipes/subagent-review-coordinator.json +0 -2
  85. package/recipes/subagent-review.json +0 -2
  86. package/recipes/subagent-task-card.json +0 -2
  87. package/recipes/subagent-tools.json +0 -2
  88. package/recipes/subagent-verify.json +0 -2
  89. package/recipes/subagents-prompts.json +0 -2
  90. package/skills/actors/SKILL.md +2 -2
  91. package/skills/swarm/SKILL.md +1 -1
@@ -14,8 +14,6 @@
14
14
  },
15
15
  "mailbox": {
16
16
  "accepts": [
17
- "control.stop",
18
- "control.cancel",
19
17
  "control.kill"
20
18
  ],
21
19
  "emits": [
@@ -17,8 +17,6 @@
17
17
  },
18
18
  "mailbox": {
19
19
  "accepts": [
20
- "control.stop",
21
- "control.cancel",
22
20
  "control.kill"
23
21
  ],
24
22
  "emits": [
@@ -36,8 +36,6 @@
36
36
  },
37
37
  "mailbox": {
38
38
  "accepts": [
39
- "control.stop",
40
- "control.cancel",
41
39
  "control.kill"
42
40
  ],
43
41
  "emits": [
@@ -22,8 +22,6 @@
22
22
  },
23
23
  "mailbox": {
24
24
  "accepts": [
25
- "control.stop",
26
- "control.cancel",
27
25
  "control.kill"
28
26
  ],
29
27
  "emits": [
@@ -20,8 +20,6 @@
20
20
  },
21
21
  "mailbox": {
22
22
  "accepts": [
23
- "control.stop",
24
- "control.cancel",
25
23
  "control.kill"
26
24
  ],
27
25
  "emits": [
@@ -13,8 +13,6 @@
13
13
  },
14
14
  "mailbox": {
15
15
  "accepts": [
16
- "control.stop",
17
- "control.cancel",
18
16
  "control.kill"
19
17
  ],
20
18
  "emits": [
@@ -19,8 +19,6 @@
19
19
  },
20
20
  "mailbox": {
21
21
  "accepts": [
22
- "control.stop",
23
- "control.cancel",
24
22
  "control.kill"
25
23
  ],
26
24
  "emits": [
@@ -25,8 +25,6 @@
25
25
  },
26
26
  "mailbox": {
27
27
  "accepts": [
28
- "control.stop",
29
- "control.cancel",
30
28
  "control.kill"
31
29
  ],
32
30
  "emits": [
@@ -2,7 +2,7 @@
2
2
  name: actors
3
3
  description: Highest-density practical guide for pi-actors. Read this skill whenever prompt and tools are not enough for spawn, message, inspect, actor runs, tools, recipes, command templates, async lifecycle, mailboxes, artifacts, and local orchestration mechanics.
4
4
  metadata:
5
- version: 0.25.0
5
+ version: 0.26.1
6
6
  ---
7
7
 
8
8
  # Actors (pi-actors)
@@ -277,7 +277,7 @@ Use packaged recipes by name with `spawn file=<name>` for async actors, or regis
277
277
  - [`locker`](../../recipes/locker.json): modular queue + acquire/renew/release lease locks + journaled locker messages + platform-adapted control metadata.
278
278
  - [`utility-coordinator-lock-snapshot`](../../recipes/utility-coordinator-lock-snapshot.json): one-shot JSON snapshot of a coordinator-locker state directory.
279
279
  - [`music-player`](../../recipes/music-player.json): background local/URL/directory/playlist playback actor controlled by messages.
280
- - [`actor-worker`](../../recipes/actor-worker.json): canonical mailbox-backed branch worker demo that claims branch inbox work, emits room-visible task lifecycle messages, and stops on standard control messages.
280
+ - [`actor-worker`](../../recipes/actor-worker.json): canonical mailbox-backed branch worker reference that claims branch inbox work, emits room-visible task lifecycle messages, writes compact `worker-status.json`, optionally writes per-task result artifacts under `worker-artifacts/`, surfaces stale-claim counts when `stale_claim_ms` is set, and terminates on `control.kill`.
281
281
 
282
282
  ### Subagent Atoms
283
283
 
@@ -2,7 +2,7 @@
2
2
  name: swarm
3
3
  description: Subagent orchestration with scoped locks and quorum consensus. Use for multi-model review, parallel scoped work, delegated audit, and coordinated subagent execution.
4
4
  metadata:
5
- version: 0.25.0
5
+ version: 0.26.1
6
6
  ---
7
7
 
8
8
  # Swarm