@difflab/pi 0.7.2 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difflab/pi",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "Tools and skills for the pi coding agent",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: diffpi-doctor
3
+ description: Check and repair stale global Diffpi agent profiles after a Pi package update. Use when plan or review agents request removed diffpi_modes_* tools or their installed profiles differ from @difflab/pi.
4
+ ---
5
+
6
+ # Diffpi Doctor
7
+
8
+ 1. Call `diffpi_doctor` with `apply: false` to inspect the bundled agent profiles against Pi's global agent directory. This check does not install packages, run full setup, or change settings.
9
+ 2. If any profile needs repair, call `diffpi_doctor` with `apply: true`. It updates only bundled `diffpi-*.md` agent profiles from the installed @difflab/pi package and backs up each replaced file. If the package or target cannot be read safely, stop and report the blocker.
10
+ 3. Report changed paths and backup location. In each affected Pi session, reload resources or start a new conversation if an old inline system prompt persists. Do not claim this repair validates, marks READY, or executes any plan.
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: plan
2
+ name: diffpi-plan
3
3
  description: Create, revise, review, finalize, and execute live Diffpi plans with direct files and one verified plan reviewer.
4
4
  ---
5
5
 
@@ -10,7 +10,7 @@ Syntax: `go <slug> [--mode no-commit|commit|push]` (optional `--plan <plan-path>
10
10
 
11
11
  If no native subagents are available, ask for explicit confirmation in the caller and follow [the inline exception](inline-fallback.md) for DRAFT readiness and/or READY execution; otherwise stop with a blocker. Never silently execute inline.
12
12
 
13
- 1. Resolve the initiating Git root, absolute PLAN.md and all numbered briefs. If DRAFT, call [validate](validate.md) through its separate frontier/high planner background child with the resolved paths and collect actual completion; on failed/incomplete validation leave DRAFT and stop. On PASS the calling agent checks current evidence, transitions DRAFT → READY and reads back. If already READY, **skip validate**, reviewer and structural revalidation; read status and proceed. Do not send DRAFT to the orchestrator.
13
+ 1. Resolve the initiating Git root, absolute PLAN.md and all numbered briefs. An explicit `go` authorizes readiness after passing validation: DRAFT alone is not a blocker and a separate `finalize` is not required. If DRAFT, launch [validate](validate.md) through its separate frontier/high `diffpi-planner` background child with resolved paths and collect actual completion; do not require any retired mode tool. On failed/incomplete validation leave DRAFT and stop. On PASS the calling agent checks current evidence, changes only `**Status:** DRAFT` to `**Status:** READY` in PLAN.md using ordinary file editing, and reads the status back before execution. If already READY, **skip validate**, reviewer and structural revalidation; read status and proceed. Do not send DRAFT to the orchestrator.
14
14
  2. Fill every placeholder with actual request, paths and chosen mode before launch (no literal placeholders). Launch a medium `diffpi-orchestrator` background agent with ambient capabilities and this prompt:
15
15
 
16
16
  ```text
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: review
2
+ name: diffpi-review
3
3
  description: Create, edit, review, address, publish, complete, and merge GitHub/GitLab or local tuicr reviews.
4
4
  ---
5
5