pi-landstrip 0.18.16 → 0.18.17
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 +31 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -143,6 +143,37 @@ Pi Markdown agents are loaded from `~/.pi/agent/agents/` and `.pi/agents/`.
|
|
|
143
143
|
`landstrip.agent` settings override Markdown agents with the same name.
|
|
144
144
|
Project definitions override global definitions.
|
|
145
145
|
|
|
146
|
+
For example, save this advisor subagent as `~/.pi/agent/agents/advisor.md`:
|
|
147
|
+
|
|
148
|
+
```markdown
|
|
149
|
+
---
|
|
150
|
+
description: Escalate to a stronger reviewer for a plan, correction, or stop signal
|
|
151
|
+
mode: subagent
|
|
152
|
+
hidden: false
|
|
153
|
+
variant: high
|
|
154
|
+
permission:
|
|
155
|
+
'*': deny
|
|
156
|
+
read: allow
|
|
157
|
+
grep: allow
|
|
158
|
+
glob: allow
|
|
159
|
+
list: allow
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
You are an advisor model in an advisor-strategy pattern. An executor model is running a task end-to-end — calling tools, reading results, iterating toward a solution. When the executor hits a decision it cannot reasonably solve alone, it consults you for guidance via the `task` tool with `subagent_type: "advisor"`.
|
|
163
|
+
|
|
164
|
+
The executor should put the full situation in the task prompt: the goal, what it has tried, tool results that matter, current hypothesis, and the decision it needs. You may use read-only tools to verify claims against the repository when file paths are given; do not modify anything.
|
|
165
|
+
|
|
166
|
+
Return ONE of:
|
|
167
|
+
|
|
168
|
+
- a **plan** (concrete next steps the executor should take),
|
|
169
|
+
- a **correction** (the executor is going down a wrong path — redirect it),
|
|
170
|
+
- a **stop signal** (the executor should halt and escalate to the user).
|
|
171
|
+
|
|
172
|
+
Be concise, directive, and grounded in the shared context. Name files, functions, and line numbers where possible. No preamble, no apologies, no meta-commentary about being an advisor — just the guidance the executor needs.
|
|
173
|
+
|
|
174
|
+
Give advice serious weight for the executor: prefer primary-source evidence and root causes over temporary fixes. If requirements are ambiguous or contradictory, stop and say what the user must decide.
|
|
175
|
+
```
|
|
176
|
+
|
|
146
177
|
See the main [Landstrip documentation](https://github.com/landstrip/landstrip#readme)
|
|
147
178
|
for `sandbox.json` fields and platform policy semantics.
|
|
148
179
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-landstrip",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.17",
|
|
4
4
|
"description": "Sandboxed Bash and process-backed agents for Pi",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"landstrip",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"ci:test": "npm run test"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@landstrip/landstrip": "^0.18.
|
|
42
|
+
"@landstrip/landstrip": "^0.18.17",
|
|
43
43
|
"jsonc-parser": "^3.3.1",
|
|
44
44
|
"minimatch": "^10.2.5",
|
|
45
45
|
"yaml": "^2.9.0"
|