@leing2021/super-pi 0.23.0 → 0.23.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.
@@ -1,10 +1,135 @@
1
1
  # Workflow Sequence
2
2
 
3
- 1. `01-brainstorm` → clarify the problem (CE mode / Startup Diagnostic / Builder Mode)
4
- 2. `02-plan` → break it into concrete units (optionally + CEO Review / Strict Review)
3
+ ## Full CE pipeline
4
+
5
+ 1. `01-brainstorm` → clarify the problem
6
+ 2. `02-plan` → break into units (optionally + CEO Review / Strict Review)
5
7
  3. `03-work` → execute the plan
6
- 4. `04-review` → inspect the changes (optionally + Browser QA / QA + Regression Tests)
8
+ 4. `04-review` → inspect changes (optionally + Browser QA / QA + Regression Tests)
7
9
  5. `05-learn` → save key learnings
8
10
 
9
11
  Use `06-next` at any point to see where you are and what to do next.
10
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
+ ```
@@ -55,12 +55,24 @@ When a stage produces or updates handoff-lite, use this evidence-first structure
55
55
  ## Hot Context
56
56
  - 1-5 must-know facts for the next step
57
57
 
58
+ ## Current Truth
59
+ - validated truths that must survive compression
60
+
58
61
  ## Verified Facts
59
62
  - already validated facts (do not re-prove)
60
63
 
64
+ ## Invalidated Assumptions
65
+ - assumptions proven wrong this session
66
+
67
+ ## Open Decisions
68
+ - pending decisions that affect next steps
69
+
61
70
  ## Active Files
62
71
  - 1-5 file paths only
63
72
 
73
+ ## Recently Accessed Files
74
+ - files recently read or edited
75
+
64
76
  ## Artifacts
65
77
  - requirements: <path or N/A>
66
78
  - plan: <path or N/A>
@@ -73,6 +85,9 @@ When a stage produces or updates handoff-lite, use this evidence-first structure
73
85
  ## Verification
74
86
  - <latest command + result or Not run>
75
87
 
88
+ ## Compression Risk
89
+ - context compression risks to watch for
90
+
76
91
  ## Do Not Repeat
77
92
  - what should not be re-read/re-run unless needed
78
93