create-pathfinder 1.4.0 → 1.4.1
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/context/features/example-feature-spec.md +5 -1
- package/context/project-overview.md +2 -1
- package/package.json +1 -1
- package/skills/reflect/SKILL.md +46 -46
- package/skills/reverse-engineer/SKILL.md +2 -0
- package/skills/to-specs/SKILL.md +1 -1
- package/templates/project-overview.template.md +2 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Project Overview
|
|
2
2
|
|
|
3
3
|
> Describe the product, audience, intended feeling, and reason it should exist.
|
|
4
4
|
|
|
5
5
|
## Status
|
|
6
6
|
|
|
7
|
+
- Project: `[Project Name]`
|
|
7
8
|
- Stage: `[idea / prototype / MVP / production / maintenance]`
|
|
8
9
|
- Repo type: `[new / existing / application / library / service / monorepo / other]`
|
|
9
10
|
- Primary goal: `[success definition]`
|
package/package.json
CHANGED
package/skills/reflect/SKILL.md
CHANGED
|
@@ -50,9 +50,9 @@ And:
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
## Part 1 — Reflect on the work
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
### 1. Reconstruct what happened
|
|
56
56
|
|
|
57
57
|
Review the relevant work and available evidence.
|
|
58
58
|
|
|
@@ -73,7 +73,7 @@ Do not rely on vague recollection when repository evidence is available.
|
|
|
73
73
|
|
|
74
74
|
Distinguish what actually happened from what was intended to happen.
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
### 2. Identify learning signals
|
|
77
77
|
|
|
78
78
|
Look specifically for:
|
|
79
79
|
|
|
@@ -96,11 +96,11 @@ Success alone is not evidence that the workflow was good.
|
|
|
96
96
|
|
|
97
97
|
Failure alone is not evidence that the workflow must change.
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
### 3. Separate local knowledge from reusable learning
|
|
100
100
|
|
|
101
101
|
Classify each finding as one of:
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
#### PROJECT
|
|
104
104
|
|
|
105
105
|
Specific to this repository, stack, business domain, architecture, environment, or team.
|
|
106
106
|
|
|
@@ -113,7 +113,7 @@ Examples:
|
|
|
113
113
|
* this service must start before another service
|
|
114
114
|
* a framework-specific workaround is required
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
#### WORKFLOW CANDIDATE
|
|
117
117
|
|
|
118
118
|
Potentially useful across unrelated projects.
|
|
119
119
|
|
|
@@ -125,7 +125,7 @@ Examples:
|
|
|
125
125
|
* an undocumented dependency should have been discovered during system analysis
|
|
126
126
|
* the agent repeatedly needed human correction for something the workflow could have surfaced earlier
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
#### NOISE
|
|
129
129
|
|
|
130
130
|
Interesting but not useful enough to preserve.
|
|
131
131
|
|
|
@@ -133,7 +133,7 @@ Discard it.
|
|
|
133
133
|
|
|
134
134
|
Not every observation deserves memory.
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
### 4. Test generality
|
|
137
137
|
|
|
138
138
|
For every WORKFLOW CANDIDATE ask:
|
|
139
139
|
|
|
@@ -149,7 +149,7 @@ If the lesson fails these tests, keep it project-specific.
|
|
|
149
149
|
|
|
150
150
|
Generalize behavior, not technology.
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
### 5. Check for existing coverage
|
|
153
153
|
|
|
154
154
|
Before proposing anything new, inspect the existing Pathfinder workflow and skills.
|
|
155
155
|
|
|
@@ -169,41 +169,41 @@ Avoid duplicate skills.
|
|
|
169
169
|
|
|
170
170
|
Do not respond to every failure by adding another instruction.
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
### 6. Require evidence
|
|
173
173
|
|
|
174
174
|
Every proposed Pathfinder improvement must include:
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
#### Observation
|
|
177
177
|
|
|
178
178
|
What happened?
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
#### Evidence
|
|
181
181
|
|
|
182
182
|
What concrete part of the execution demonstrates it?
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
#### Generalization
|
|
185
185
|
|
|
186
186
|
Why could this recur outside this project?
|
|
187
187
|
|
|
188
|
-
|
|
188
|
+
#### Current gap
|
|
189
189
|
|
|
190
190
|
Why does Pathfinder not already handle it?
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
#### Proposed change
|
|
193
193
|
|
|
194
194
|
What is the smallest change that would address it?
|
|
195
195
|
|
|
196
|
-
|
|
196
|
+
#### Risk
|
|
197
197
|
|
|
198
198
|
How could this rule become harmful, redundant, overly restrictive, or too specific?
|
|
199
199
|
|
|
200
|
-
|
|
200
|
+
#### Validation
|
|
201
201
|
|
|
202
202
|
How could future work demonstrate that the improvement actually helped?
|
|
203
203
|
|
|
204
204
|
Do not promote intuition into workflow policy without evidence.
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
### 7. Prefer the smallest durable improvement
|
|
207
207
|
|
|
208
208
|
Possible outcomes include:
|
|
209
209
|
|
|
@@ -222,7 +222,7 @@ An improvement should remove more uncertainty than complexity it introduces.
|
|
|
222
222
|
|
|
223
223
|
---
|
|
224
224
|
|
|
225
|
-
|
|
225
|
+
## Part 2 — Reflect on Reflect
|
|
226
226
|
|
|
227
227
|
Reflect is subject to the same evidence standard it applies to Pathfinder.
|
|
228
228
|
|
|
@@ -234,7 +234,7 @@ Its purpose is not to endlessly rewrite Reflect.
|
|
|
234
234
|
|
|
235
235
|
Its purpose is to discover whether Reflect systematically failed to do its own job.
|
|
236
236
|
|
|
237
|
-
|
|
237
|
+
### 8. Evaluate reflection quality
|
|
238
238
|
|
|
239
239
|
Ask:
|
|
240
240
|
|
|
@@ -255,11 +255,11 @@ Do not search for a self-improvement merely because this section exists.
|
|
|
255
255
|
|
|
256
256
|
"No improvement needed" is a valid and desirable result.
|
|
257
257
|
|
|
258
|
-
|
|
258
|
+
### 9. Identify Reflect improvement candidates
|
|
259
259
|
|
|
260
260
|
If the reflection process itself demonstrated a meaningful weakness, classify it as:
|
|
261
261
|
|
|
262
|
-
|
|
262
|
+
#### REFLECT IMPROVEMENT CANDIDATE
|
|
263
263
|
|
|
264
264
|
This classification is reserved for improvements to `reflect/SKILL.md` itself.
|
|
265
265
|
|
|
@@ -267,23 +267,23 @@ Do not use it for general Pathfinder improvements.
|
|
|
267
267
|
|
|
268
268
|
For each candidate provide:
|
|
269
269
|
|
|
270
|
-
|
|
270
|
+
#### Observed weakness
|
|
271
271
|
|
|
272
272
|
What was inadequate about Reflect's behavior or reasoning?
|
|
273
273
|
|
|
274
|
-
|
|
274
|
+
#### Evidence
|
|
275
275
|
|
|
276
276
|
What concrete output, omission, human correction, or repeated failure demonstrates the weakness?
|
|
277
277
|
|
|
278
|
-
|
|
278
|
+
#### Root cause
|
|
279
279
|
|
|
280
280
|
What part of the current Reflect process allowed the weakness?
|
|
281
281
|
|
|
282
|
-
|
|
282
|
+
#### Proposed change
|
|
283
283
|
|
|
284
284
|
What is the smallest change to `reflect/SKILL.md` that could improve future reflections?
|
|
285
285
|
|
|
286
|
-
|
|
286
|
+
#### Regression risk
|
|
287
287
|
|
|
288
288
|
Could the change make Reflect:
|
|
289
289
|
|
|
@@ -295,7 +295,7 @@ Could the change make Reflect:
|
|
|
295
295
|
* excessively conservative
|
|
296
296
|
* more expensive in context or execution time
|
|
297
297
|
|
|
298
|
-
|
|
298
|
+
#### Validation
|
|
299
299
|
|
|
300
300
|
What future behavior would demonstrate that the modification actually improved Reflect?
|
|
301
301
|
|
|
@@ -303,11 +303,11 @@ Do not recursively optimize stylistic preferences, wording preferences, or isola
|
|
|
303
303
|
|
|
304
304
|
Self-improvements must materially improve reflection quality.
|
|
305
305
|
|
|
306
|
-
|
|
306
|
+
### 10. Evidence levels for self-improvement
|
|
307
307
|
|
|
308
308
|
Treat evidence for changes to Reflect according to three levels:
|
|
309
309
|
|
|
310
|
-
|
|
310
|
+
#### Level 1 — Incident
|
|
311
311
|
|
|
312
312
|
One reflection exposed a plausible weakness.
|
|
313
313
|
|
|
@@ -315,13 +315,13 @@ This may justify an improvement candidate.
|
|
|
315
315
|
|
|
316
316
|
It does not establish a general pattern.
|
|
317
317
|
|
|
318
|
-
|
|
318
|
+
#### Level 2 — Pattern
|
|
319
319
|
|
|
320
320
|
The same weakness has appeared across multiple reflections or required repeated human correction.
|
|
321
321
|
|
|
322
322
|
This provides stronger justification for changing Reflect.
|
|
323
323
|
|
|
324
|
-
|
|
324
|
+
#### Level 3 — Validation
|
|
325
325
|
|
|
326
326
|
A proposed change addresses the weakness and subsequent reflections demonstrate better behavior without obvious regression.
|
|
327
327
|
|
|
@@ -331,7 +331,7 @@ When history is available, prefer patterns over isolated incidents.
|
|
|
331
331
|
|
|
332
332
|
Do not fabricate historical evidence.
|
|
333
333
|
|
|
334
|
-
|
|
334
|
+
### 11. Bound the recursion
|
|
335
335
|
|
|
336
336
|
Reflect may perform only one self-evaluation pass per invocation.
|
|
337
337
|
|
|
@@ -355,9 +355,9 @@ Recursive improvement should accumulate evidence across executions, not consume
|
|
|
355
355
|
|
|
356
356
|
---
|
|
357
357
|
|
|
358
|
-
|
|
358
|
+
## Promotion rules
|
|
359
359
|
|
|
360
|
-
|
|
360
|
+
### Pathfinder improvements
|
|
361
361
|
|
|
362
362
|
Reflect proposes.
|
|
363
363
|
|
|
@@ -365,7 +365,7 @@ Humans promote.
|
|
|
365
365
|
|
|
366
366
|
Do not silently modify Pathfinder's workflow, AGENTS.md, skills, templates, principles, or other durable guidance unless explicitly asked to implement an accepted recommendation.
|
|
367
367
|
|
|
368
|
-
|
|
368
|
+
### Reflect self-improvements
|
|
369
369
|
|
|
370
370
|
The same rule applies to Reflect itself.
|
|
371
371
|
|
|
@@ -379,21 +379,21 @@ It raises it.
|
|
|
379
379
|
|
|
380
380
|
---
|
|
381
381
|
|
|
382
|
-
|
|
382
|
+
## Output
|
|
383
383
|
|
|
384
384
|
Return only sections that contain meaningful information.
|
|
385
385
|
|
|
386
386
|
Do not inflate the output to satisfy the template.
|
|
387
387
|
|
|
388
|
-
|
|
388
|
+
### What happened
|
|
389
389
|
|
|
390
390
|
A concise reconstruction of the relevant execution.
|
|
391
391
|
|
|
392
|
-
|
|
392
|
+
### What we learned
|
|
393
393
|
|
|
394
394
|
The important findings and supporting evidence.
|
|
395
395
|
|
|
396
|
-
|
|
396
|
+
### Classification
|
|
397
397
|
|
|
398
398
|
For each meaningful finding:
|
|
399
399
|
|
|
@@ -403,13 +403,13 @@ For each meaningful finding:
|
|
|
403
403
|
|
|
404
404
|
Omit trivial noise when it adds no value.
|
|
405
405
|
|
|
406
|
-
|
|
406
|
+
### Pathfinder gaps
|
|
407
407
|
|
|
408
408
|
Only genuine gaps not already covered.
|
|
409
409
|
|
|
410
410
|
If none exist, say so.
|
|
411
411
|
|
|
412
|
-
|
|
412
|
+
### Recommended changes
|
|
413
413
|
|
|
414
414
|
Rank recommendations from highest to lowest value.
|
|
415
415
|
|
|
@@ -423,11 +423,11 @@ For each recommendation provide:
|
|
|
423
423
|
* validation approach
|
|
424
424
|
* confidence
|
|
425
425
|
|
|
426
|
-
|
|
426
|
+
### No-change findings
|
|
427
427
|
|
|
428
428
|
Mention important observations that should not modify Pathfinder and explain why.
|
|
429
429
|
|
|
430
|
-
|
|
430
|
+
### Reflect self-evaluation
|
|
431
431
|
|
|
432
432
|
Briefly assess whether this reflection process itself performed adequately.
|
|
433
433
|
|
|
@@ -437,7 +437,7 @@ If no material weakness was discovered, state:
|
|
|
437
437
|
|
|
438
438
|
Do not invent one.
|
|
439
439
|
|
|
440
|
-
|
|
440
|
+
### Reflect improvement candidates
|
|
441
441
|
|
|
442
442
|
Include this section only when evidence supports changing `reflect/SKILL.md`.
|
|
443
443
|
|
|
@@ -454,7 +454,7 @@ For each candidate provide:
|
|
|
454
454
|
|
|
455
455
|
---
|
|
456
456
|
|
|
457
|
-
|
|
457
|
+
## Principles
|
|
458
458
|
|
|
459
459
|
> Execution is evidence.
|
|
460
460
|
|
|
@@ -183,6 +183,7 @@ Do not silently run or imitate the responsibilities of those skills.
|
|
|
183
183
|
|
|
184
184
|
Use only the sections that add value:
|
|
185
185
|
|
|
186
|
+
```markdown
|
|
186
187
|
# Reverse-Engineering Report
|
|
187
188
|
|
|
188
189
|
## Objective
|
|
@@ -220,6 +221,7 @@ Complexity, accessibility, performance, maintenance, legal, or fidelity concerns
|
|
|
220
221
|
## Recommended Pathfinder Handoff
|
|
221
222
|
|
|
222
223
|
The appropriate next skill, if any, and why.
|
|
224
|
+
```
|
|
223
225
|
|
|
224
226
|
## Rules
|
|
225
227
|
|
package/skills/to-specs/SKILL.md
CHANGED
|
@@ -32,7 +32,7 @@ Split a feature when it mixes several systems, requires a repo-wide mental model
|
|
|
32
32
|
|
|
33
33
|
## Output
|
|
34
34
|
|
|
35
|
-
Create only the coherent MVP roadmap in `context/features/`, using
|
|
35
|
+
Create only the coherent MVP roadmap in `context/features/`, using `templates/feature-spec.template.md` and project-selected naming/delivery policies.
|
|
36
36
|
|
|
37
37
|
Each spec must include Context Boundary, Delivery Chunks, and Learning Targets.
|
|
38
38
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Project Overview
|
|
2
2
|
|
|
3
3
|
> Describe the product, audience, intended feeling, and reason it should exist.
|
|
4
4
|
|
|
5
5
|
## Status
|
|
6
6
|
|
|
7
|
+
- Project: `[Project Name]`
|
|
7
8
|
- Stage: `[idea / prototype / MVP / production / maintenance]`
|
|
8
9
|
- Repo type: `[new / existing / application / library / service / monorepo / other]`
|
|
9
10
|
- Primary goal: `[success definition]`
|