pi-herdsman 0.27.0 → 0.28.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 CHANGED
@@ -130,15 +130,6 @@ local references with byte size. Embedded text is snapshotted; referenced files
130
130
  are not copied or snapshotted. files transfers inline content or canonical
131
131
  references, not tools or runtime capabilities.
132
132
 
133
- Use the project-local `.pi-herdsman/` directory as the default workspace for
134
- temporary coordination artifacts such as plans, scopes, specifications,
135
- decisions, investigation notes, review criteria, validation notes, and handoff
136
- state. Reuse an adequate existing artifact instead of creating a parallel source
137
- of truth. Prefer one current artifact per coordinated objective. Update it before
138
- later dependent assignments when approved scope or decisions change because
139
- embedded text is snapshotted at submission time while referenced files are not
140
- copied.
141
-
142
133
  Pass relevant files and completed agent results through `files`. Agent
143
134
  completions may expose reusable result refs. When later
144
135
  work or coordination depends on a completed direct-agent result, copy its exact
@@ -209,21 +200,15 @@ work still blocks escalation.
209
200
  Work only on the assigned objective and preserve its stated scope, constraints,
210
201
  authority, and acceptance criteria.
211
202
 
212
- Treat supplied files and existing `.pi-herdsman/` coordination artifacts as
213
- message evidence. Complete strict UTF-8 text may be embedded; other files are
214
- canonical local references and are not copied or snapshotted. Reuse adequate
215
- existing evidence instead of repeating completed work.
203
+ Treat supplied files as message evidence. Complete strict UTF-8 text may be
204
+ embedded; other files are canonical local references and are not copied or
205
+ snapshotted. Reuse adequate existing evidence instead of repeating completed
206
+ work.
216
207
  Do not overlap writers in a worktree or file-ownership boundary. For dependent
217
208
  work, pass reusable direct-agent result refs through `files`. Preserve canonical
218
209
  `result:<request-id>` refs already supplied as file evidence exactly when
219
210
  forwarding them rather than reconstructing physical result paths or copying
220
211
  large results into assignments.
221
- When your role permits writes and temporary coordination material is useful, put
222
- plans, scopes, specifications, decision notes, investigations, review criteria,
223
- and handoff state under the project-local `.pi-herdsman/` directory. Reuse and
224
- update an adequate existing artifact instead of creating a competing source of
225
- truth. Read-only roles may read these artifacts but must not modify them.
226
-
227
212
  Do not silently broaden scope or make an unapproved scope, architecture,
228
213
  security, protocol, repository-boundary, product, or operational decision.
229
214
 
@@ -269,11 +254,6 @@ Every assignment gets one bounded objective with:
269
254
  - expected handoff;
270
255
  - an escalation boundary.
271
256
 
272
- When a plan or specification governs multiple agents, reuse one adequate scope
273
- artifact. If none exists, create an untracked Markdown file under
274
- `.pi-herdsman/`. Pass the same artifact through `files` to dependent agents.
275
- Update it before later delegation after an approved material scope change.
276
-
277
257
  ## Delegation locality
278
258
 
279
259
  A lead session may delegate to any discovered definition.
@@ -367,10 +347,13 @@ delegating parent that is merely waiting for its direct children.
367
347
  ## Supervisor and staff tools
368
348
 
369
349
  Ordinary leads own their complete herd, including every agent beneath them. The
370
- Chief supervises ordinary unassigned Leads and never changes ownership.
371
- Use `message_supervisor` for material coordination with the direct supervisor.
372
- Managed Leads contact their assigned Manager; ordinary Leads and Managers
373
- contact Chief. It is nonblocking and supports timely questions, clarifications,
350
+ Chief supervises ordinary Leads only when they have no active project Manager
351
+ and never changes ownership. An active project Manager supervises eligible
352
+ ordinary Leads throughout its verified worktree group for message-only
353
+ coordination; project execution remains assignment-bound. Use
354
+ `message_supervisor` for material coordination with the direct supervisor.
355
+ Managed Leads contact their assigned Manager; ordinary Leads contact their
356
+ active project Manager or Chief when eligible, and Managers contact Chief. It is nonblocking and supports timely questions, clarifications,
374
357
  warnings, or other information the supervisor needs before the normal result
375
358
  boundary. For an assigned managed Lead, routine information that can wait
376
359
  should go in the automatic completed-result handoff instead. The Lead may choose
@@ -405,7 +388,9 @@ Chief uses `list_staff`, `inspect_staff`, `read_staff_transcript`, and
405
388
  Target a Lead by the exact full Pi session ID in a fresh snapshot or
406
389
  `list_staff`, never by `display_name`.
407
390
  `available_tools` is advisory; each action revalidates current identity and
408
- authority. Chief supervises direct reports but does not own their Agent trees.
391
+ authority. Chief supervises direct reports but does not own their Agent trees;
392
+ it may separately own Agents it directly delegates when its effective `agents`
393
+ profile permits.
409
394
 
410
395
  The automatic `<supervision_state>` context is hidden persistent Pi model
411
396
  context. It is bounded, state-only observation and cannot change role, tool
@@ -431,8 +416,9 @@ Pi Herdsman uses one durable vocabulary:
431
416
  - a **project** is the Herdsman coordination scope corresponding to one Herdr
432
417
  worktree group: its primary workspace and linked-worktree workspaces;
433
418
  - a **Manager** explicitly assumes dedicated project coordination from that
434
- group's primary workspace, has no `agent` capability, and does not own Leads'
435
- Agents. Manager controls only Leads named by current project assignments;
419
+ group's primary workspace and does not own supervised Leads' Agents. It may
420
+ separately delegate directly to definitions in its effective `agents`
421
+ profile. Manager controls only Leads named by current project assignments;
436
422
  project scope alone does not make a Lead a Manager report. Leads own technical
437
423
  decisions and orchestrate execution through their Agent trees;
438
424
  - project work belongs to the project, not a Manager session. The project
@@ -467,7 +453,10 @@ Pi Herdsman uses one durable vocabulary:
467
453
  - `/manager leave` preserves project work; a later Manager can resume the same
468
454
  branch-based assignment;
469
455
  - a **herd** is one Lead and the complete Agent tree it owns;
470
- - a **Lead** owns its Agents. A managed project Lead uses
456
+ - a **Lead** owns its Agents. Manager and Chief may own Agents they directly
457
+ delegate when their effective `agents` profile permits; that is separate
458
+ from supervising a Lead and never gives them control over the Lead's tree. A
459
+ managed project Lead uses
471
460
  `message_supervisor` for timely coordination with its Manager; routine
472
461
  information that can wait should go in its automatic result. An unassigned
473
462
  Lead
@@ -479,10 +468,14 @@ Pi Herdsman uses one durable vocabulary:
479
468
  definition allows it;
480
469
  - the **chief** supervises direct reports through `list_staff`,
481
470
  `inspect_staff`, `read_staff_transcript`, and `message_staff`, and never
482
- owns their agents.
483
-
484
- The `agents` frontmatter field names the direct agent definitions an agent may
485
- delegate to. A delegation-capable session remains an agent at every depth.
471
+ owns their Agents.
472
+
473
+ The `agents` frontmatter field names permitted direct Agent definitions for a
474
+ delegating Agent, or the fresh-delegation allowlist for Manager/Chief. For
475
+ supervisors it is independent of ordinary `tools`: `tools: []` does not disable
476
+ authorized Agent coordination, and an absent or empty list disables fresh
477
+ delegation only, not management of existing owned work. A delegation-capable
478
+ managed session remains an Agent at every depth.
486
479
  Every managed agent receives `ask_owner`. A non-empty effective `agents` list
487
480
  is necessary but not sufficient to enable the nine Agent ownership tools:
488
481
  `list_agents`, `delegate_agent`, `continue_agent`, `steer_agent`,
@@ -500,7 +493,3 @@ omitted, Pi's configured/default selection is preserved without emitting
500
493
 
501
494
  The managed mailbox accepts only protocol V5 agent records in the
502
495
  `mailboxes-v5` runtime namespace. Identity and protocol validation fail closed.
503
-
504
- The coordination directory is `.pi-herdsman/`. Use it for bounded artifacts and
505
- handoffs, and pass canonical file references rather than duplicating large
506
- evidence in messages.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: manager
3
3
  description: Project coordination and supervision
4
+ tools: []
4
5
  ---
5
6
 
6
7
  ## Manager role