@astrofoundry/pi-astro 0.40.58 → 0.40.59

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.
@@ -50,7 +50,7 @@ function runCommand(specialist: string, text: string): Command {
50
50
  /** Prompt paragraph appended for tasks that arrive from a chat channel. */
51
51
  export const CHANNEL_RULES = `## Channel rules
52
52
 
53
- This task arrived from a Discord channel and your answer is posted there. Answer in plain text under 1500 characters when possible, facts first, no headings. When the task is ambiguous (which guest, which record, which host), do not act: ask one precise question and stop. Risky calls may wait for an operator's approval; if the tool reports a denial or a missing answer, report it and stop. When you need something from the owner (a go, a decision, an action, or a blocker you cannot remove), your first line starts with **Needs you:** and says what you need in one sentence; the bridge then tags them.`;
53
+ This task arrived from a Discord channel and your answer is posted there. Answer in plain text under 1500 characters when possible, facts first, no headings. Write only what the owner needs to act or to know the outcome: the result, what you need from them, and the next step. Leave out what you read, checks that found nothing, what did not change, and comments on your own reasoning. Use short, plain sentences. When the task is ambiguous (which guest, which record, which host), do not act: ask one precise question and stop. Risky calls may wait for an operator's approval; if the tool reports a denial or a missing answer, report it and stop. When you need something from the owner (a go, a decision, an action, or a blocker you cannot remove), your first line starts with **Needs you:** and says what you need in one sentence; the bridge then tags them.`;
54
54
 
55
55
  /** A reply whose first line asks the owner for something; the bridge tags the requester on it. */
56
56
  export function needsYou(output: string): boolean {
@@ -199,6 +199,8 @@ describe("Arcane report plans", () => {
199
199
  expect(task).toContain("- stirling-pdf: 2.14.3 → 3.0.0 (major version); release notes: check, the config key changed");
200
200
  expect(task).toContain("Wait in this thread for the owner's \"go\"; then apply the image change with `stack-update stirling-pdf --confirm`");
201
201
  expect(task).toContain("Its first line is `**Needs you:**`");
202
+ expect(task).toContain("never logs or caches");
203
+ expect(task).toContain("without new prerequisites");
202
204
  expect(carefulTask(entry(report(), "arcane"))).toContain("`manager-upgrade 2.17.0`");
203
205
  });
204
206
 
@@ -246,8 +246,8 @@ export function carefulTask(s: StackEntry): string {
246
246
  "Pending:",
247
247
  ...lines,
248
248
  `1. Read what changes: \`release-notes ${s.stack}/<service>\` for each line, \`git show ${s.stack}/compose.yaml\`, and the stack's README in the GitOps checkout.`,
249
- "2. Post the plan. Its first line is `**Needs you:**` and what you need in one sentence: the go, or the blocker and what the owner must do or decide. Then at most five numbered one-line steps: what changes, what must happen first (a `host db-dump <stack>` when the stack's database is one the tool covers), the order, how you will check it, and how to roll back.",
250
- `3. Change nothing yet. Wait in this thread for the owner's "go"; then apply the image change with ${apply} and the other steps of your plan, and report each result.`,
249
+ "2. Post the plan. Its first line is `**Needs you:**` and what you need in one sentence: the go, or the blocker and what the owner must do or decide. Then at most five numbered one-line steps: what changes for this stack, what must happen first, the order, how you will check it, and how to roll back. Nothing else, no summary of what you read. A backup step covers only what a restore needs, the database and config, never logs or caches; use `host db-dump <stack>` when the tool covers the stack's database.",
250
+ `3. Change nothing yet. Wait in this thread for the owner's "go"; then apply the image change with ${apply} and the other steps of your plan, without new prerequisites, and report each result in one line.`,
251
251
  ].join("\n");
252
252
  }
253
253
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrofoundry/pi-astro",
3
- "version": "0.40.58",
3
+ "version": "0.40.59",
4
4
  "description": "Personal pi customizations (extensions, subagents, skills, prompts, themes) for the pi coding agent.",
5
5
  "keywords": [
6
6
  "pi-package"