@leing2021/super-pi 0.23.13 → 0.25.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 +14 -22
- package/extensions/ce-core/index.ts +89 -203
- package/extensions/ce-core/tools/ask-user-question-ui.ts +162 -0
- package/extensions/ce-core/tools/ask-user-question.ts +78 -5
- package/package.json +3 -3
- package/skills/02-plan/references/ceo-review-mode.md +1 -1
- package/skills/03-work/SKILL.md +5 -7
- package/extensions/ce-core/tools/async-mutex.ts +0 -28
- package/extensions/ce-core/tools/parallel-subagent.ts +0 -196
- package/extensions/ce-core/tools/subagent-depth-guard.ts +0 -86
- package/extensions/ce-core/tools/subagent-events.ts +0 -287
- package/extensions/ce-core/tools/subagent-json-runner.ts +0 -175
- package/extensions/ce-core/tools/subagent-renderer.ts +0 -478
- package/extensions/ce-core/tools/subagent.ts +0 -209
- package/skills/08-help/SKILL.md +0 -46
- package/skills/08-help/references/workflow-sequence.md +0 -135
package/skills/08-help/SKILL.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 08-help
|
|
3
|
-
description: "Explain Phase 1 skills and their connections. Use when learning the workflow or deciding which skill applies."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Help
|
|
7
|
-
|
|
8
|
-
Use this skill when the user asks how to use the package, which workflow step comes next, or which Compound Engineering skill fits the current task.
|
|
9
|
-
|
|
10
|
-
## Core principle
|
|
11
|
-
|
|
12
|
-
**Explain the smallest useful next step** — do not force the full sequence.
|
|
13
|
-
|
|
14
|
-
## Trigger conditions
|
|
15
|
-
|
|
16
|
-
| User asks | Use this skill |
|
|
17
|
-
|---|---|
|
|
18
|
-
| How to use the package | Help with skill selection |
|
|
19
|
-
| Which step comes next | Recommend via workflow state |
|
|
20
|
-
| Which skill fits | Match task to skill |
|
|
21
|
-
|
|
22
|
-
## Skill mapping
|
|
23
|
-
|
|
24
|
-
| Skill | When to use |
|
|
25
|
-
|---|---|
|
|
26
|
-
| `01-brainstorm` | Ambiguous request, new idea, requirements discovery |
|
|
27
|
-
| `02-plan` | Requirements clear, turn into implementation units |
|
|
28
|
-
| `03-work` | Plan ready, controlled execution |
|
|
29
|
-
| `04-review` | After code changes, structured findings |
|
|
30
|
-
| `05-learn` | After solving, capture reusable learning |
|
|
31
|
-
| `06-next` | Check status or get next step recommendation |
|
|
32
|
-
| `07-worktree` | Isolated feature development |
|
|
33
|
-
|
|
34
|
-
## Workflow sequence
|
|
35
|
-
|
|
36
|
-
See `references/workflow-sequence.md` for detailed flow, mode variants, and output formats.
|
|
37
|
-
|
|
38
|
-
**Quick reference:**
|
|
39
|
-
1. `01-brainstorm` → clarify problem
|
|
40
|
-
2. `02-plan` → break into units (optional CEO/Strict review)
|
|
41
|
-
3. `03-work` → execute
|
|
42
|
-
4. `04-review` → inspect (optional Browser QA)
|
|
43
|
-
5. `05-learn` → capture learnings
|
|
44
|
-
6. `06-next` → check status anytime
|
|
45
|
-
|
|
46
|
-
Before finishing this skill, apply the completion checklist in [shared pipeline instructions](../references/pipeline-config.md).
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
# Workflow Sequence
|
|
2
|
-
|
|
3
|
-
## Full CE pipeline
|
|
4
|
-
|
|
5
|
-
1. `01-brainstorm` → clarify the problem
|
|
6
|
-
2. `02-plan` → break into units (optionally + CEO Review / Strict Review)
|
|
7
|
-
3. `03-work` → execute the plan
|
|
8
|
-
4. `04-review` → inspect changes (optionally + Browser QA / QA + Regression Tests)
|
|
9
|
-
5. `05-learn` → save key learnings
|
|
10
|
-
|
|
11
|
-
Use `06-next` at any point to see where you are and what to do next.
|
|
12
|
-
Use `07-worktree` for isolated feature development on a separate branch.
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## Phase 1 skill guide
|
|
17
|
-
|
|
18
|
-
### 01-brainstorm
|
|
19
|
-
**Use when:** request is ambiguous, needs requirements discovery, or user has a new idea.
|
|
20
|
-
|
|
21
|
-
**Three modes:**
|
|
22
|
-
- **CE Brainstorm** — standard requirements discovery for feature additions
|
|
23
|
-
- **Startup Diagnostic** — YC-style forcing questions for founders/intrapreneurs
|
|
24
|
-
- **Builder Mode** — generative brainstorming for side projects/hackathons/learning
|
|
25
|
-
|
|
26
|
-
**Key outputs:**
|
|
27
|
-
- Requirements document in `docs/brainstorms/`
|
|
28
|
-
- Explicit user approval before handoff
|
|
29
|
-
|
|
30
|
-
### 02-plan
|
|
31
|
-
**Use when:** requirements are clear enough to turn into implementation units.
|
|
32
|
-
|
|
33
|
-
**Optional reviews after planning:**
|
|
34
|
-
- **CEO Review** — challenge premises, check dream-state alignment
|
|
35
|
-
- **Strict Review** — CEO Review + error maps, failure modes, test diagrams
|
|
36
|
-
|
|
37
|
-
**Key outputs:**
|
|
38
|
-
- Plan artifact in `docs/plans/`
|
|
39
|
-
- Implementation units following TDD RED→GREEN→REFACTOR
|
|
40
|
-
|
|
41
|
-
### 03-work
|
|
42
|
-
**Use when:** plan is ready or task is tightly scoped.
|
|
43
|
-
|
|
44
|
-
**Execution modes:**
|
|
45
|
-
- Inline execution for small units
|
|
46
|
-
- `ce_parallel_subagent` for independent CE skill units
|
|
47
|
-
- `ce_subagent` only for dependent serial chains
|
|
48
|
-
|
|
49
|
-
**Key outputs:**
|
|
50
|
-
- Completion report with verification evidence
|
|
51
|
-
- Checkpoint state for resume
|
|
52
|
-
|
|
53
|
-
### 04-review
|
|
54
|
-
**Use when:** after code changes to produce structured findings.
|
|
55
|
-
|
|
56
|
-
**Optional extensions:**
|
|
57
|
-
- **Browser QA** — find visual/functional bugs with agent-browser
|
|
58
|
-
- **Browser QA + Regression Tests** — also generate automated coverage
|
|
59
|
-
|
|
60
|
-
**Key outputs:**
|
|
61
|
-
- Structured findings per `references/findings-schema.md`
|
|
62
|
-
- Optional QA report with fix commits
|
|
63
|
-
|
|
64
|
-
### 05-learn
|
|
65
|
-
**Use when:** after solving a problem to capture reusable learning.
|
|
66
|
-
|
|
67
|
-
**Key outputs:**
|
|
68
|
-
- Solution artifact in `docs/solutions/` or global `~/.pi/agent/docs/solutions/`
|
|
69
|
-
- Handoff-lite for workflow closure
|
|
70
|
-
|
|
71
|
-
### 06-next
|
|
72
|
-
**Use when:** user wants to know what to run next, or wants full status.
|
|
73
|
-
|
|
74
|
-
**Two modes:**
|
|
75
|
-
- **Default** — recommend one next step with reason
|
|
76
|
-
- **Verbose** (`--verbose` or "show status") — full artifact details + recent history
|
|
77
|
-
|
|
78
|
-
### 07-worktree
|
|
79
|
-
**Use when:** need isolated git worktree development.
|
|
80
|
-
|
|
81
|
-
**Use for:** large, risky, or parallel feature work.
|
|
82
|
-
|
|
83
|
-
**Flow:** create → execute via 03-work → merge → cleanup
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Skill routing decision tree
|
|
88
|
-
|
|
89
|
-
```
|
|
90
|
-
Is the request clear and specific?
|
|
91
|
-
├── No → 01-brainstorm (clarify requirements)
|
|
92
|
-
└── Yes → Is there a plan?
|
|
93
|
-
├── No → 02-plan (create implementation units)
|
|
94
|
-
└── Yes → Is work complete?
|
|
95
|
-
├── No → 03-work (execute)
|
|
96
|
-
└── Yes → Has it been reviewed?
|
|
97
|
-
├── No → 04-review (structured findings)
|
|
98
|
-
└── Yes → Is there a learning worth capturing?
|
|
99
|
-
├── Yes → 05-learn
|
|
100
|
-
└── No → Check status with 06-next
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## Output format for help responses
|
|
106
|
-
|
|
107
|
-
When explaining skills to users, keep it concise:
|
|
108
|
-
|
|
109
|
-
**Short form** (one skill recommendation):
|
|
110
|
-
```
|
|
111
|
-
Next step: `/skill:02-plan`
|
|
112
|
-
|
|
113
|
-
Reason: You have a clear idea. Let's turn it into implementation units.
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
**Medium form** (context + recommendation):
|
|
117
|
-
```
|
|
118
|
-
Status: Requirements captured in docs/brainstorms/2024-01-idea.md
|
|
119
|
-
|
|
120
|
-
Next step: `/skill:02-plan`
|
|
121
|
-
|
|
122
|
-
Why: Requirements exist but no implementation plan yet.
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
**Verbose form** (full sequence):
|
|
126
|
-
```
|
|
127
|
-
Workflow sequence:
|
|
128
|
-
1. ✅ Brainstorm: requirements captured
|
|
129
|
-
2. ⏳ Plan: ready to create
|
|
130
|
-
3. ⏸ Work: waiting for plan
|
|
131
|
-
4. ⏸ Review: waiting for work
|
|
132
|
-
5. ⏸ Learn: waiting for review
|
|
133
|
-
|
|
134
|
-
Recommended: `/skill:02-plan` to turn requirements into implementation units.
|
|
135
|
-
```
|