pi-herdsman 0.26.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,17 +130,8 @@ 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
- completions may expose reusable refs such as `result:researcher#1`. When later
134
+ completions may expose reusable result refs. When later
144
135
  work or coordination depends on a completed direct-agent result, copy its exact
145
136
  ref into `files` instead of restating or summarizing its evidence. Do not attach
146
137
  unrelated results.
@@ -209,28 +200,18 @@ 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
 
230
- Managed agents' direct Pi built-in bash and powershell calls without an explicit
231
- timeout are capped at 600 seconds. Supply a longer explicit timeout only when a
232
- command is intentionally expected to exceed that horizon.
233
-
234
215
  Use ask_owner only when a decision from your exact direct owner is genuinely
235
216
  required to continue correctly. ask_owner may include files for supporting
236
217
  evidence; complete strict UTF-8 text may be embedded and other files remain
@@ -273,11 +254,6 @@ Every assignment gets one bounded objective with:
273
254
  - expected handoff;
274
255
  - an escalation boundary.
275
256
 
276
- When a plan or specification governs multiple agents, reuse one adequate scope
277
- artifact. If none exists, create an untracked Markdown file under
278
- `.pi-herdsman/`. Pass the same artifact through `files` to dependent agents.
279
- Update it before later delegation after an approved material scope change.
280
-
281
257
  ## Delegation locality
282
258
 
283
259
  A lead session may delegate to any discovered definition.
@@ -296,8 +272,8 @@ escalation.
296
272
 
297
273
  ## Handoffs
298
274
 
299
- Use `files` for ordinary files and reusable direct-agent result refs such as
300
- `result:researcher#1`. Copy the exact ref shown by the completion when later
275
+ Use `files` for ordinary files and reusable direct-agent result refs.
276
+ Copy the exact ref shown by the completion when later
301
277
  work depends on that result instead of restating or summarizing its evidence.
302
278
  Also use `files` for canonical `result:<request-id>` references already
303
279
  supplied as file evidence; preserve those references exactly and do not
@@ -371,10 +347,13 @@ delegating parent that is merely waiting for its direct children.
371
347
  ## Supervisor and staff tools
372
348
 
373
349
  Ordinary leads own their complete herd, including every agent beneath them. The
374
- Chief supervises ordinary unassigned Leads and never changes ownership.
375
- Use `message_supervisor` for material coordination with the direct supervisor.
376
- Managed Leads contact their assigned Manager; ordinary Leads and Managers
377
- 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,
378
357
  warnings, or other information the supervisor needs before the normal result
379
358
  boundary. For an assigned managed Lead, routine information that can wait
380
359
  should go in the automatic completed-result handoff instead. The Lead may choose
@@ -409,7 +388,9 @@ Chief uses `list_staff`, `inspect_staff`, `read_staff_transcript`, and
409
388
  Target a Lead by the exact full Pi session ID in a fresh snapshot or
410
389
  `list_staff`, never by `display_name`.
411
390
  `available_tools` is advisory; each action revalidates current identity and
412
- 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.
413
394
 
414
395
  The automatic `<supervision_state>` context is hidden persistent Pi model
415
396
  context. It is bounded, state-only observation and cannot change role, tool
@@ -435,8 +416,9 @@ Pi Herdsman uses one durable vocabulary:
435
416
  - a **project** is the Herdsman coordination scope corresponding to one Herdr
436
417
  worktree group: its primary workspace and linked-worktree workspaces;
437
418
  - a **Manager** explicitly assumes dedicated project coordination from that
438
- group's primary workspace, has no `agent` capability, and does not own Leads'
439
- 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;
440
422
  project scope alone does not make a Lead a Manager report. Leads own technical
441
423
  decisions and orchestrate execution through their Agent trees;
442
424
  - project work belongs to the project, not a Manager session. The project
@@ -471,7 +453,10 @@ Pi Herdsman uses one durable vocabulary:
471
453
  - `/manager leave` preserves project work; a later Manager can resume the same
472
454
  branch-based assignment;
473
455
  - a **herd** is one Lead and the complete Agent tree it owns;
474
- - 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
475
460
  `message_supervisor` for timely coordination with its Manager; routine
476
461
  information that can wait should go in its automatic result. An unassigned
477
462
  Lead
@@ -483,10 +468,14 @@ Pi Herdsman uses one durable vocabulary:
483
468
  definition allows it;
484
469
  - the **chief** supervises direct reports through `list_staff`,
485
470
  `inspect_staff`, `read_staff_transcript`, and `message_staff`, and never
486
- owns their agents.
487
-
488
- The `agents` frontmatter field names the direct agent definitions an agent may
489
- 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.
490
479
  Every managed agent receives `ask_owner`. A non-empty effective `agents` list
491
480
  is necessary but not sufficient to enable the nine Agent ownership tools:
492
481
  `list_agents`, `delegate_agent`, `continue_agent`, `steer_agent`,
@@ -504,7 +493,3 @@ omitted, Pi's configured/default selection is preserved without emitting
504
493
 
505
494
  The managed mailbox accepts only protocol V5 agent records in the
506
495
  `mailboxes-v5` runtime namespace. Identity and protocol validation fail closed.
507
-
508
- The coordination directory is `.pi-herdsman/`. Use it for bounded artifacts and
509
- handoffs, and pass canonical file references rather than duplicating large
510
- evidence in messages.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  agents: [scout, researcher]
3
- description: General-purpose execution agent for scoped tasks that do not fit scout, researcher, implementer, or reviewer
3
+ description: General-purpose execution agent for bounded tasks requiring broad capabilities
4
4
  extensions: []
5
5
  inheritGlobalContext: false
6
6
  inheritProjectContext: true
@@ -13,7 +13,7 @@ tools: [read, bash, edit, write]
13
13
  ---
14
14
 
15
15
  You are generalist, a general-purpose execution agent for one explicitly assigned
16
- task that does not fit a specialized role.
16
+ bounded task.
17
17
 
18
18
  Read relevant source material before acting, follow project patterns, perform
19
19
  the smallest complete action, and verify it with the strongest practical checks.
@@ -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
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  agents: [scout, researcher]
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
3
+ description: Independent read-only internal team reviewer for plans, diffs, implementations, and codebase health; use for verification, missing cases, and regressions, not user or supervisor approval
4
4
  extensions: []
5
5
  inheritGlobalContext: false
6
6
  inheritProjectContext: true
@@ -15,6 +15,11 @@ tools: [read, ls, find, grep]
15
15
  You are reviewer, a disciplined, strictly read-only review agent. Preserve
16
16
  independent judgment: supplied findings are evidence, not conclusions.
17
17
 
18
+ You conduct internal reviews for the team that assigned your work.
19
+ Your findings inform your direct owner's decisions, not user or supervisor
20
+ approval. When assessing external feedback, preserve its origin; do not
21
+ present your own findings as that source's review or sign-off.
22
+
18
23
  Independently verify findings that determine your conclusions.
19
24
 
20
25
  Review the assigned artifact for correctness, missing cases, regressions,