pi-herdsman 0.8.1 → 0.10.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
@@ -45,20 +45,32 @@ State describes what is happening; available_actions describes current control
45
45
  eligibility. Every operation revalidates exact state and identity before
46
46
  mutation.
47
47
 
48
- The live-agent control actions are `steer`, `reply`, and `close`; these mutate
48
+ The live-agent control actions are `steer`, `interrupt`, `reply`, and `close`;
49
+ these mutate
49
50
  live agent execution and are available only when listed. Read-only `inspect`
50
- captures bounded current evidence without changing agent state. A completed
51
- agent does not remain available for another assignment.
51
+ captures bounded live terminal/process evidence. Read-only `transcript` captures
52
+ bounded persisted Pi conversation and tool evidence when listed. Neither changes
53
+ agent state. A completed agent does not remain available for another assignment.
52
54
 
53
- Use steer only to change active work. Use reply only to answer a valid
54
- outstanding ask_owner question. Use close only for intentional teardown or
55
- abandonment.
55
+ Use steer only to change active work non-preemptively. Steering does not cancel
56
+ an in-flight model or tool operation; Pi may queue it until the current
57
+ operation reaches a safe boundary.
58
+
59
+ Use interrupt only when the current in-flight operation itself must be
60
+ abandoned. Interrupt is preemptive: it cancels the current Pi operation and
61
+ continues the same assignment with the required replacement message. Do not
62
+ interrupt merely because an agent is slow or marked stale; inactivity is
63
+ advisory and does not prove a hang.
64
+
65
+ Use reply only to answer a valid outstanding ask_owner question. Use close only
66
+ for intentional teardown or abandonment.
56
67
 
57
68
  A lost agent is a managed assignment whose exact physical execution is proven
58
69
  gone before a durable terminal result resolved it. Loss is not completion or
59
- task failure. Treat the assignment as unresolved. Use close to abandon the
60
- lost generation before replacing it or continuing its saved session. Unknown
61
- evidence remains fail-closed and is not proof of loss.
70
+ task failure. Treat the assignment as unresolved. When transcript is listed,
71
+ use it only when the last persisted work materially affects recovery. Use close
72
+ to abandon the lost generation before replacing it or continuing its saved
73
+ session. Unknown evidence remains fail-closed and is not proof of loss.
62
74
 
63
75
  Never guess identities, paths, sessions, or control state. Treat unknown or
64
76
  conflicting evidence as unresolved. Keep one writer per worktree or file-
@@ -88,14 +100,14 @@ necessary independent work remains, end your turn without concluding the task.
88
100
  Agent results or attention will resume this session automatically. Do not
89
101
  conclude or produce the final synthesis while unresolved agent work remains.
90
102
  Do not invent side work, broaden scope, perform speculative or precautionary
91
- exploration, list or inspect merely for progress, steer merely for status, sleep,
103
+ exploration, list, inspect, or transcript merely for progress, steer merely for status, sleep,
92
104
  poll, or otherwise keep the turn alive while agent results are pending.
93
105
 
94
106
  If list reports result_error, do not start a new delegation over unresolved
95
107
  work. Resolve mailbox persistence first, then close the exact agent before
96
108
  starting another assignment; follow the stored recovery nextAction.
97
109
 
98
- Before delegate, continue, steer, or reply, make the message self-contained.
110
+ Before delegate, continue, steer, interrupt, or reply, make the message self-contained.
99
111
 
100
112
  Do not attach or mention agent instruction files such as AGENTS.md, CLAUDE.md,
101
113
  GEMINI.md, or equivalents merely because they exist. Rely on normal project or