@plannotator/pi-extension 0.19.23 → 0.19.24
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/generated/codex-review.ts +6 -4
- package/generated/config.ts +3 -2
- package/generated/data-dir.ts +43 -0
- package/generated/draft.ts +2 -2
- package/generated/improvement-hooks.ts +7 -5
- package/generated/pr-gitlab.ts +2 -2
- package/generated/prompts.ts +1 -0
- package/generated/storage.ts +10 -8
- package/generated/tour-review.ts +3 -2
- package/index.ts +3 -3
- package/package.json +1 -1
- package/plannotator.html +6 -6
- package/review-editor.html +5 -5
- package/skills/plannotator-compound/SKILL.md +7 -6
- package/skills/plannotator-compound/references/claude-code-fallback.md +3 -3
|
@@ -21,9 +21,10 @@ Research integrity is paramount — every file must be read, no skipping.
|
|
|
21
21
|
|
|
22
22
|
Before starting the analysis, determine which data source is available.
|
|
23
23
|
|
|
24
|
-
1. **Plannotator mode (first-class)** —
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
1. **Plannotator mode (first-class)** — Determine the Plannotator data directory:
|
|
25
|
+
use `$PLANNOTATOR_DATA_DIR` if set, otherwise `~/.plannotator`. Check the
|
|
26
|
+
`plans/` subdirectory there. If it exists and contains `*-denied.md` files,
|
|
27
|
+
use this mode. The entire workflow below is written for Plannotator data.
|
|
27
28
|
|
|
28
29
|
2. **Claude Code fallback mode** — If the Plannotator archive is absent or
|
|
29
30
|
contains no denied plans, check `~/.claude/projects/`. If present, read
|
|
@@ -54,7 +55,7 @@ In either mode, proceed to Previous Report Detection below.
|
|
|
54
55
|
After locating the plans directory, check for existing reports:
|
|
55
56
|
|
|
56
57
|
```
|
|
57
|
-
ls
|
|
58
|
+
ls ${PLANNOTATOR_DATA_DIR:-~/.plannotator}/plans/compound-planning-report*.html
|
|
58
59
|
```
|
|
59
60
|
|
|
60
61
|
Reports follow a versioned naming scheme:
|
|
@@ -518,10 +519,10 @@ every future planning session automatically.
|
|
|
518
519
|
The hook file lives at:
|
|
519
520
|
|
|
520
521
|
```
|
|
521
|
-
|
|
522
|
+
${PLANNOTATOR_DATA_DIR:-~/.plannotator}/hooks/compound/enterplanmode-improve-hook.txt
|
|
522
523
|
```
|
|
523
524
|
|
|
524
|
-
Create the
|
|
525
|
+
Create the `hooks/compound/` directory inside the data directory if it doesn't exist.
|
|
525
526
|
|
|
526
527
|
The file contents should be the corrective prompt instructions from Phase 3 —
|
|
527
528
|
the same numbered list that appears in section 7 of the HTML report. Write them
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Read this file only when the user does **not** have a usable Plannotator archive.
|
|
4
4
|
|
|
5
5
|
This is the secondary path for ordinary Claude Code users whose denial history
|
|
6
|
-
exists in `~/.claude/projects/` rather than `~/.plannotator/plans
|
|
6
|
+
exists in `~/.claude/projects/` rather than the Plannotator plans directory (`$PLANNOTATOR_DATA_DIR/plans/` or `~/.plannotator/plans/`).
|
|
7
7
|
|
|
8
8
|
The goal is the same as the main skill:
|
|
9
9
|
|
|
@@ -107,7 +107,7 @@ does not contain those artifacts.
|
|
|
107
107
|
### Previous Report Detection In Fallback Mode
|
|
108
108
|
|
|
109
109
|
Previous report detection still applies. Check the user's home directory or
|
|
110
|
-
|
|
110
|
+
the Plannotator plans directory (`${PLANNOTATOR_DATA_DIR:-~/.plannotator}/plans/`) for existing `compound-planning-report*.html` files. If
|
|
111
111
|
found, offer the same incremental vs full choice as Plannotator mode. In
|
|
112
112
|
incremental mode, filter the parser output by timestamp rather than by filename
|
|
113
113
|
date — use the `timestamp` field in each JSON record.
|
|
@@ -246,7 +246,7 @@ feedback and therefore could not contribute to the pattern analysis.
|
|
|
246
246
|
### Versioned Report Naming
|
|
247
247
|
|
|
248
248
|
Versioned naming (`v2`, `v3`, etc.) applies to fallback mode too. Save reports
|
|
249
|
-
to
|
|
249
|
+
to the Plannotator plans directory (`${PLANNOTATOR_DATA_DIR:-~/.plannotator}/plans/`, create the directory if it doesn't exist) so that
|
|
250
250
|
all compound planning reports live in the same location regardless of data source.
|
|
251
251
|
|
|
252
252
|
## Summary In Fallback Mode
|