@nklisch/pi-agile-workflow 0.15.3 → 0.16.3
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +8 -0
- package/docs/ARCHITECTURE.md +117 -65
- package/docs/PRINCIPLES.md +84 -18
- package/docs/SPEC.md +70 -2
- package/docs/VISION.md +33 -12
- package/hooks/scripts/prompt-context.py +7 -1
- package/hooks/scripts/test_prompt_context.py +16 -0
- package/package.json +1 -1
- package/scripts/tests/convert-content-integrity.test.sh +4 -4
- package/scripts/tests/convert-review-weight.test.sh +61 -0
- package/scripts/work-view.sh +1 -1
- package/skills/autopilot/SKILL.md +138 -91
- package/skills/convert/SKILL.md +55 -11
- package/skills/epic-design/SKILL.md +37 -70
- package/skills/feature-design/SKILL.md +52 -68
- package/skills/fix/SKILL.md +52 -34
- package/skills/gate-cruft/SKILL.md +69 -24
- package/skills/gate-docs/SKILL.md +12 -5
- package/skills/gate-patterns/SKILL.md +7 -3
- package/skills/gate-refactor/SKILL.md +18 -6
- package/skills/gate-security/SKILL.md +16 -7
- package/skills/gate-tests/SKILL.md +86 -71
- package/skills/implement/SKILL.md +79 -58
- package/skills/implement-orchestrator/SKILL.md +274 -587
- package/skills/perf-design/SKILL.md +11 -12
- package/skills/principles/SKILL.md +175 -379
- package/skills/principles/references/advisory-review.md +76 -0
- package/skills/principles/references/code-design.md +164 -0
- package/skills/principles/references/models.md +42 -63
- package/skills/prose-author/SKILL.md +9 -4
- package/skills/refactor-design/SKILL.md +26 -17
- package/skills/review/SKILL.md +169 -64
- package/skills/review/references/substrate-side-effects.md +17 -10
- package/skills/scope/SKILL.md +20 -7
- package/work-view/crates/cli/.work-view-version +1 -1
- package/work-view/dist/aarch64-apple-darwin/work-view +0 -0
- package/work-view/dist/aarch64-unknown-linux-musl/work-view +0 -0
- package/work-view/dist/x86_64-apple-darwin/work-view +0 -0
- package/work-view/dist/x86_64-unknown-linux-musl/work-view +0 -0
|
@@ -67,8 +67,8 @@ Pick the **top 3-5** entry points most likely to dominate runtime. Heuristics:
|
|
|
67
67
|
on critical user paths, called per-request or per-event, high call count from
|
|
68
68
|
logs/tests, known historically slow, contain nested loops or I/O.
|
|
69
69
|
|
|
70
|
-
If confidence is low
|
|
71
|
-
|
|
70
|
+
If confidence is low, apply `principles/SKILL.md` Part III. Candidate selection
|
|
71
|
+
is normally reversible: choose the best-supported paths and log the rationale.
|
|
72
72
|
|
|
73
73
|
**Cap the scan.** Never profile every function in the codebase.
|
|
74
74
|
|
|
@@ -112,14 +112,13 @@ drafting features. Iterate over the target set:
|
|
|
112
112
|
|
|
113
113
|
1. Read the feature; skip if not `[perf]`-tagged or not at `stage: drafting`
|
|
114
114
|
2. Light ground (foundation docs + AGENTS.md / CLAUDE.md + existing benchmarks)
|
|
115
|
-
3.
|
|
116
|
-
scenario
|
|
117
|
-
"acceptable memory or layout tradeoff for speed?"). Use structured question tool.
|
|
115
|
+
3. Use the structured question tool for strategic performance ambiguities such
|
|
116
|
+
as target scenario, success threshold, hardware, or resource trade-offs.
|
|
118
117
|
4. Capture answers under `## Design decisions` in the feature body
|
|
119
118
|
5. Do NOT design or advance stage
|
|
120
119
|
6. Commit per feature: `perf-design --only-questions: <id>`
|
|
121
120
|
|
|
122
|
-
Requires interactive mode; refuse
|
|
121
|
+
Requires interactive mode; refuse under autopilot. Otherwise defer question and advisory policy to `principles/SKILL.md` Parts III–IV.
|
|
123
122
|
|
|
124
123
|
## The optimization hierarchy
|
|
125
124
|
|
|
@@ -173,12 +172,12 @@ Read `.work/active/features/<id>.md`. Confirm:
|
|
|
173
172
|
- `stage: drafting`
|
|
174
173
|
- `tags` includes `perf`
|
|
175
174
|
|
|
176
|
-
The brief should describe the
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
175
|
+
The brief should describe the performance problem and target. If it is vague,
|
|
176
|
+
apply `principles/SKILL.md` Part III: infer and log reversible benchmark details,
|
|
177
|
+
but use strategic questions in interactive mode when the workload or success
|
|
178
|
+
threshold changes product direction or an external performance contract. Under
|
|
179
|
+
autopilot, choose the best-supported measurable scenario; halt only when no
|
|
180
|
+
scenario matching the brief can be measured.
|
|
182
181
|
|
|
183
182
|
### Phase 2: Ground yourself
|
|
184
183
|
|