@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/README.md +4 -2
- package/dist/commands/dispatch.d.ts +1 -1
- package/dist/commands/dispatch.d.ts.map +1 -1
- package/dist/commands/plan.d.ts +1 -1
- package/dist/commands/plan.d.ts.map +1 -1
- package/dist/commands/review.d.ts +1 -1
- package/dist/commands/review.d.ts.map +1 -1
- package/dist/doctor.d.ts +9 -0
- package/dist/doctor.d.ts.map +1 -0
- package/dist/extensions/index.js +2634 -2527
- package/dist/tools/ci.d.ts +1 -1
- package/dist/tools/doctor.d.ts +3 -0
- package/dist/tools/doctor.d.ts.map +1 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +2632 -2524
- package/package.json +1 -1
- package/skills/diffpi-doctor/SKILL.md +10 -0
- package/skills/plan/SKILL.md +1 -1
- package/skills/plan/references/workflows/go.md +1 -1
- package/skills/review/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -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.
|
package/skills/plan/SKILL.md
CHANGED
|
@@ -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,
|
|
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
|
package/skills/review/SKILL.md
CHANGED