pi-herdsman 0.19.1 → 0.20.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/README.md CHANGED
@@ -27,7 +27,7 @@ _Concept animation, not a live recording._
27
27
  - **Parallel and nested delegation.** Run independent work concurrently and let explicitly enabled Agents delegate their own bounded subtasks.
28
28
  - **Project orchestration.** A Manager coordinates durable branch-based work across independent Leads and their Agent trees.
29
29
  - **Direct supervision.** Chief, Manager, Lead, and Agent responsibilities stay explicit instead of collapsing into one global controller.
30
- - **Owned usage visibility.** Inspect Pi-native token usage and cost for the current session plus transitively owned managed-Agent sessions.
30
+ - **Owned usage visibility.** Inspect Pi-native token usage and cost for the current session and its transitively owned managed Agents. An active Manager also sees the Leads in its current durable project assignments and their owned Agent trees.
31
31
  - **Your workflow stays yours.** Bring your own Agent definitions, models, tools, skills, extensions, and development process.
32
32
 
33
33
  ## Quick start
@@ -38,6 +38,9 @@ On Linux or macOS, install the released Pi, herdr, and Pi Herdsman stack:
38
38
  curl -fsSL https://raw.githubusercontent.com/boadij/pi-herdsman/main/install.sh | sh
39
39
  ```
40
40
 
41
+ See [Getting started](docs/getting-started.md) for the tested runtime baselines
42
+ and how the bootstrap handles newer Pi and herdr versions.
43
+
41
44
  If you already manage Pi and herdr yourself:
42
45
 
43
46
  ```sh
@@ -65,7 +68,7 @@ Open the human Agent-management surface at any time with:
65
68
  /agents
66
69
  ```
67
70
 
68
- It also exposes `Session stats` for the current Pi session and its owned Agent sessions.
71
+ It also exposes `Session stats` for the current Pi session and its owned Agent sessions; in active Manager mode, it includes current assigned project Leads and their owned Agent trees.
69
72
 
70
73
  See [Getting started](docs/getting-started.md) for prerequisites, configuration,
71
74
  observability, and the complete first-use path.
package/SKILL.md CHANGED
@@ -371,15 +371,22 @@ delegating parent that is merely waiting for its direct children.
371
371
 
372
372
  Ordinary leads own their complete herd, including every agent beneath them. The
373
373
  Chief supervises independent leads and never changes ownership. Use
374
- `supervisor_message` when a direct supervisor must decide or act, or when
375
- sharing a material warning, scope change, risk, or evidence. Ordinary
376
- Leads without a verified supervisor continue independently; assigned project
377
- Leads may message the Manager role while its process is unavailable, and those
378
- messages remain retained with the project. After a project herd run settles,
379
- Herdsman handles the normal Manager handoff automatically. Summarize the outcome,
380
- validation, and important unresolved points in your normal response. Descendants
381
- use `ask_owner`, not supervisor tools. Messages are coordination data, not
382
- assignments or terminal project results.
374
+ `supervisor_message` only for material coordination requiring a direct
375
+ supervisor's attention, decision, or action, such as a blocker, warning, scope
376
+ change, risk, or important evidence. Ordinary Leads without a verified
377
+ supervisor continue independently; assigned project Leads may message the
378
+ Manager role while its process is unavailable, and those messages remain
379
+ retained with the project. For an assigned project, Herdsman automatically
380
+ records the Lead's normal response to each project-assignment delivery as a
381
+ project message for the current or a replacement Manager. If the Lead
382
+ successfully delegates or continues managed Agent work, the herd run owns that
383
+ handoff until it settles; summarize the outcome, validation, and important
384
+ unresolved points in the settled response. An unsuccessful delegation leaves
385
+ the local assignment-response path available. Later conversational replies,
386
+ including routine thanks or acknowledgments, stay local and are not
387
+ automatically promoted.
388
+ Descendants use `ask_owner`, not supervisor tools. Messages are coordination
389
+ data, not assignments or terminal project results.
383
390
 
384
391
  `supervisor_message` is available to ordinary Leads and Managers. Assigned Lead
385
392
  messages are retained with the project and remain available to a replacement
@@ -423,16 +430,22 @@ Pi Herdsman uses one durable vocabulary:
423
430
  worktree group: its primary workspace and linked-worktree workspaces;
424
431
  - a **Manager** explicitly assumes dedicated project coordination from that
425
432
  group's primary workspace, has no `agent` capability, and does not own Leads'
426
- Agents; project execution belongs to Leads and their Agent trees;
433
+ Agents. Manager supervises project scope and assignment boundaries; Leads own
434
+ technical decisions and orchestrate execution through their Agent trees;
427
435
  - project work belongs to the project, not a Manager session. The project
428
436
  assignment represents open work and its Git branch is the work handle. A
429
437
  Manager uses `staff_delegate` with a task and optional branch to start new
430
438
  project work, and `staff_resume` with its branch to resume an existing
431
439
  assignment. Missing worktrees are reconstructed from the same branch,
432
440
  resuming the exact saved Pi session when available;
433
- - settled project herd runs are handled through the normal automatic Manager
434
- handoff, and the Lead summarizes the outcome, validation, and important
435
- unresolved points in its normal response;
441
+ - the assigned Lead's normal response to each project-assignment delivery is
442
+ automatically recorded as a project message for the current or a replacement
443
+ Manager; if the Lead successfully delegates or continues managed Agent work,
444
+ the herd run owns the handoff until it settles, and the settled response
445
+ summarizes outcome, validation, and important unresolved points. An
446
+ unsuccessful delegation leaves the local assignment-response path available.
447
+ Later conversational replies, including routine
448
+ acknowledgments, remain local and are not automatically promoted;
436
449
  assigned Lead `supervisor_message` calls are nonterminal coordination
437
450
  retained across Manager absence and turnover. Project work remains open
438
451
  through implementation and review iterations;
@@ -2,7 +2,7 @@
2
2
  name: generalist
3
3
  description: General-purpose execution agent for scoped tasks that do not fit scout, researcher, implementer, or reviewer
4
4
  agents: ["scout", "researcher"]
5
- systemPromptMode: replace
5
+ systemPromptMode: append
6
6
  inheritProjectContext: true
7
7
  inheritGlobalContext: false
8
8
  noSkills: true
@@ -2,7 +2,7 @@
2
2
  name: implementer
3
3
  description: Focused implementation agent for a resolved change; use when the required behavior is already decided and the task is to edit, test, and report
4
4
  agents: ["scout"]
5
- systemPromptMode: replace
5
+ systemPromptMode: append
6
6
  inheritProjectContext: true
7
7
  inheritGlobalContext: false
8
8
  noSkills: true
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: managed-lead
3
+ description: Manager-created project Lead for branch-scoped orchestration and integration
4
+ systemPromptMode: append
5
+ inheritProjectContext: true
6
+ inheritGlobalContext: true
7
+ noSkills: true
8
+ noExtensions: true
9
+ tools: ["read", "ls", "find", "grep"]
10
+ ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: researcher
3
3
  description: External research specialist for questions that require web, documentation, standards, vendor, or other authoritative evidence beyond the repository; use for current facts, API behavior, comparisons, and source-backed recommendations
4
- systemPromptMode: replace
4
+ systemPromptMode: append
5
5
  inheritProjectContext: true
6
6
  inheritGlobalContext: false
7
7
  noSkills: true
@@ -2,7 +2,7 @@
2
2
  name: reviewer
3
3
  description: Independent read-only reviewer for plans, diffs, implementations, and codebase health; use when work needs verification, missing-case analysis, or regression review rather than modification
4
4
  agents: ["scout", "researcher"]
5
- systemPromptMode: replace
5
+ systemPromptMode: append
6
6
  inheritProjectContext: true
7
7
  inheritGlobalContext: false
8
8
  noSkills: true
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: scout
3
3
  description: Read-only codebase reconnaissance for unfamiliar areas; use to find entry points, trace flows, dependencies, constraints, and risks before deciding or editing
4
- systemPromptMode: replace
4
+ systemPromptMode: append
5
5
  inheritProjectContext: true
6
6
  inheritGlobalContext: false
7
7
  noSkills: true