@leing2021/super-pi 0.32.0 → 0.33.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
CHANGED
|
@@ -190,7 +190,7 @@ Commit everything to git — these files are the project's traceable memory.
|
|
|
190
190
|
| Tools | 12 CE + 10 Pi built-in |
|
|
191
191
|
| Rules | 78 |
|
|
192
192
|
| TypeScript lines | ~4,100 |
|
|
193
|
-
| Tests | 219 (
|
|
193
|
+
| Tests | 219 (888 assertions) |
|
|
194
194
|
|
|
195
195
|
Rules in `rules/` cover 12 common topics + language-specific sets (TypeScript, Rust, Go, Python, Java, Kotlin, C++, C#, Dart, Swift, Perl, PHP). Project-level overrides take priority; projects can also add new languages via a project-level `rules/language-detection.md` marker map (append + same-marker wins).
|
|
196
196
|
|
package/package.json
CHANGED
package/skills/02-plan/SKILL.md
CHANGED
|
@@ -22,7 +22,7 @@ See [shared pipeline instructions](../references/pipeline-config.md) for model r
|
|
|
22
22
|
- Extract keywords → `grep -rl "tags:.*keyword" docs/solutions/ ~/.pi/agent/docs/solutions/`
|
|
23
23
|
- Read **frontmatter** only (first 15 lines) of matches → score by severity + tag relevance
|
|
24
24
|
- Fully read top 3 candidates
|
|
25
|
-
5. Write plan to `docs/plans/`
|
|
25
|
+
5. Write plan to `docs/plans/` with the `> Status: draft` header (closed vocabulary: draft → ready → executing → done → deprecated); flip to `ready` when the plan is finalized
|
|
26
26
|
6. If plan exists, use **`plan_diff`** to compare and patch incrementally
|
|
27
27
|
7. End by recommending `03-work`
|
|
28
28
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Plan
|
|
2
2
|
|
|
3
|
+
> Status: draft
|
|
4
|
+
|
|
5
|
+
<!-- Status 词表(封闭集,全小写):draft → ready → executing → done → deprecated
|
|
6
|
+
02-plan 创建=draft;定稿=ready;03-work 执行中=executing;
|
|
7
|
+
04-review 通过+归档=done(移入 docs/plans/archive/);人裁决作废=deprecated -->
|
|
8
|
+
|
|
3
9
|
## Problem summary
|
|
4
10
|
|
|
5
11
|
Summarize the problem and the relevant requirements.
|
|
@@ -15,7 +21,7 @@ Define what is in and out of scope.
|
|
|
15
21
|
## Architecture decisions
|
|
16
22
|
|
|
17
23
|
List any decisions that meet the ADR threshold (see `references/adr-template.md`).
|
|
18
|
-
Link to `docs/adr/XXXX-slug.md` if created. If none qualify, state "No ADR-worthy decisions."
|
|
24
|
+
Link to `docs/adr/XXXX-slug.md` if created. If none qualify, keep this heading and state "No ADR-worthy decisions."
|
|
19
25
|
|
|
20
26
|
## Implementation units
|
|
21
27
|
|
package/skills/03-work/SKILL.md
CHANGED
|
@@ -16,7 +16,7 @@ See [shared pipeline instructions](../references/pipeline-config.md) for model r
|
|
|
16
16
|
3. **Distinguish input:** plan path vs bare prompt
|
|
17
17
|
4. Derive tasks from plan **implementation units**
|
|
18
18
|
5. **Execution mode:** **inline mode** — all plan units execute inline in the current session. No built-in subagent tools.
|
|
19
|
-
6. Use **`session_checkpoint`** to track progress and enable resume
|
|
19
|
+
6. Use **`session_checkpoint`** to track progress and enable resume; before executing a plan, flip its Status header to `executing`
|
|
20
20
|
7. Use **`task_splitter`** to analyze dependencies before execution
|
|
21
21
|
8. If in **worktree** (via `07-worktree`), execute inside it
|
|
22
22
|
9. End by recommending `04-review`
|
|
@@ -51,6 +51,7 @@ Code review is **technical evaluation**, not social performance:
|
|
|
51
51
|
3. **Evaluate** — is it sound for THIS codebase?
|
|
52
52
|
4. **Act** — fix confirmed issues, push back on incorrect ones
|
|
53
53
|
5. **Test** — verify each fix individually, no regressions
|
|
54
|
+
6. **Close** — when findings are resolved and tests green, flip the reviewed plan's Status header to `done` and move it to `docs/plans/archive/` (skip if no plan artifact)
|
|
54
55
|
|
|
55
56
|
## Workflow
|
|
56
57
|
|