@leing2021/super-pi 0.33.0 → 0.33.2
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Super Pi
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
5
|
[中文](README_CN.md) | [English](README.md)
|
|
6
6
|
|
|
@@ -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 (890 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/05-learn/SKILL.md
CHANGED
|
@@ -44,8 +44,9 @@ See [shared pipeline instructions](../references/pipeline-config.md) for model r
|
|
|
44
44
|
- **Project-specific** → `{project-root}/docs/solutions/` (only relevant to current project)
|
|
45
45
|
- **Cross-project (global)** → `~/.pi/agent/docs/solutions/` (applicable to any project)
|
|
46
46
|
- Default to **global** when uncertain.
|
|
47
|
-
- **Out-of-scope branch:** if the request was rejected or already implemented, write to `docs/out-of-scope/` (template: `assets/out-of-scope-template.md`, convention:
|
|
47
|
+
- **Out-of-scope branch:** if the request was rejected or already implemented, write to `docs/out-of-scope/` (template: `assets/out-of-scope-template.md`, convention: `assets/out-of-scope-convention.md`) instead of `docs/solutions/`.
|
|
48
48
|
- Make the result useful to future `02-plan` and `04-review` runs via the search strategy in `references/solution-search-strategy.md`.
|
|
49
|
+
- If this phase's plan still sits in `docs/plans/` with work complete (path skipped 04-review), flip its Status header to `done` and move it to `docs/plans/archive/` — same Close semantics as 04-review step 6.
|
|
49
50
|
|
|
50
51
|
## Workflow
|
|
51
52
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Out-of-Scope Knowledge Base
|
|
2
|
+
|
|
3
|
+
Records requests that were **rejected** or **already implemented**, so they don't get re-proposed. Distinct from `docs/solutions/` (which records solved problems) — this KB records what NOT to do again.
|
|
4
|
+
|
|
5
|
+
## Why
|
|
6
|
+
|
|
7
|
+
Without this KB, the same rejected request returns every few sessions. `01-brainstorm` and `02-plan` search here before proposing work, preventing duplicate effort.
|
|
8
|
+
|
|
9
|
+
## When to write here (05-learn)
|
|
10
|
+
|
|
11
|
+
`05-learn` writes an entry when a request turns out to be:
|
|
12
|
+
|
|
13
|
+
- **Rejected** — the work was considered and ruled out (wrong direction, not worth it, conflicts with an ADR).
|
|
14
|
+
- **Already implemented** — the requested behaviour already exists in the codebase. Point to where it lives; this is NOT a rejection, just "already done".
|
|
15
|
+
|
|
16
|
+
Do NOT write here for: solved problems (those go to `docs/solutions/`), or ephemeral "not right now" deferrals.
|
|
17
|
+
|
|
18
|
+
## Format
|
|
19
|
+
|
|
20
|
+
One markdown file per entry: `docs/out-of-scope/<YYYY-MM-DD>-<slug>.md`
|
|
21
|
+
|
|
22
|
+
Use the template at `skills/05-learn/assets/out-of-scope-template.md`.
|
|
23
|
+
|
|
24
|
+
## Consumption rules
|
|
25
|
+
|
|
26
|
+
- **01-brainstorm** — before fleshing out a new idea, grep `docs/out-of-scope/` for matching trigger phrases. If found, surface it: "This was recorded as out-of-scope on <date>: <reason>. Still want to proceed?"
|
|
27
|
+
- **02-plan** — before planning a unit, check whether the feature was previously rejected. A rejected item can be re-opened, but the original reasoning must be acknowledged first.
|