pi-herdsman 0.20.0 → 0.21.0
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/SKILL.md +12 -11
- package/dist/index.js +218 -103
- package/dist/index.js.map +3 -3
- package/docs/adr/0012-manager-owns-project-assignment-resolution.md +1 -1
- package/docs/adr/0013-use-herdr-worktree-removal-for-project-retirement.md +1 -1
- package/docs/adr/0016-consume-project-messages-after-manager-delivery.md +32 -0
- package/docs/concepts/coordination.md +8 -6
- package/docs/coordination-api.md +8 -5
- package/docs/development/instruction-interface-design.md +6 -4
- package/docs/development/smoke-testing.md +4 -3
- package/docs/guides/agent-definitions.md +5 -0
- package/docs/guides/project-orchestration.md +6 -4
- package/docs/reference/commands.md +8 -7
- package/docs/reference/staff.md +8 -5
- package/docs/reference/status-widget.md +3 -3
- package/docs/reference/supervisor.md +17 -16
- package/package.json +5 -3
- package/skills/pi-herdsman-agent-definitions/SKILL.md +60 -0
package/SKILL.md
CHANGED
|
@@ -375,10 +375,10 @@ Chief supervises independent leads and never changes ownership. Use
|
|
|
375
375
|
supervisor's attention, decision, or action, such as a blocker, warning, scope
|
|
376
376
|
change, risk, or important evidence. Ordinary Leads without a verified
|
|
377
377
|
supervisor continue independently; assigned project Leads may message the
|
|
378
|
-
Manager role while its process is unavailable
|
|
379
|
-
|
|
380
|
-
records the Lead's normal response to each project-assignment
|
|
381
|
-
project message for the
|
|
378
|
+
Manager role while its process is unavailable. Messages remain pending during
|
|
379
|
+
Manager absence and are delivered to the next Manager that can receive them. For an assigned project, Herdsman
|
|
380
|
+
automatically records the Lead's normal response to each project-assignment
|
|
381
|
+
delivery as a project message for the Manager role. If the Lead
|
|
382
382
|
successfully delegates or continues managed Agent work, the herd run owns that
|
|
383
383
|
handoff until it settles; summarize the outcome, validation, and important
|
|
384
384
|
unresolved points in the settled response. An unsuccessful delegation leaves
|
|
@@ -389,8 +389,9 @@ Descendants use `ask_owner`, not supervisor tools. Messages are coordination
|
|
|
389
389
|
data, not assignments or terminal project results.
|
|
390
390
|
|
|
391
391
|
`supervisor_message` is available to ordinary Leads and Managers. Assigned Lead
|
|
392
|
-
messages
|
|
393
|
-
Manager
|
|
392
|
+
messages remain pending while Manager is absent and are delivered to the next
|
|
393
|
+
Manager that can receive them; delivered messages are Pi conversation history,
|
|
394
|
+
not pending Herdsman coordination. Manager messages to
|
|
394
395
|
Leads use `staff_message`. For files, these tools accept ordinary paths,
|
|
395
396
|
reusable direct-agent result refs, and already-supplied canonical result refs
|
|
396
397
|
through `files`.
|
|
@@ -451,17 +452,17 @@ Pi Herdsman uses one durable vocabulary:
|
|
|
451
452
|
through implementation and review iterations;
|
|
452
453
|
- `staff_stop` stops an exact Lead and its owned Agent tree while preserving
|
|
453
454
|
the assignment, Pi session, branch, and worktree. Successful Herdr worktree
|
|
454
|
-
removal retires the matching assignment and
|
|
455
|
-
preserving the Git branch. A missing worktree alone does not retire the
|
|
455
|
+
removal retires the matching assignment and any still-pending project
|
|
456
|
+
messages while preserving the Git branch. A missing worktree alone does not retire the
|
|
456
457
|
assignment; `staff_resume` can reconstruct it. Never infer ownership from
|
|
457
458
|
worktree membership or start an overlapping writer beside another Lead;
|
|
458
459
|
- `/manager leave` preserves project work; a later Manager can resume the same
|
|
459
460
|
branch-based assignment;
|
|
460
461
|
- a **herd** is one Lead and the complete Agent tree it owns;
|
|
461
462
|
- a **Lead** owns its Agents. An assigned project Lead sends
|
|
462
|
-
`supervisor_message` to project-scoped storage
|
|
463
|
-
|
|
464
|
-
messages to Chief. An unassigned Lead routes to its active Manager when one
|
|
463
|
+
`supervisor_message` to project-scoped storage; pending messages survive
|
|
464
|
+
Manager absence and go to the next Manager that can receive them. Delivered
|
|
465
|
+
messages are not replayed; messages do not route to Chief. An unassigned Lead routes to its active Manager when one
|
|
465
466
|
exists, otherwise to Chief;
|
|
466
467
|
- an **Agent** handles one bounded assignment and may delegate only when its
|
|
467
468
|
definition allows it;
|