wtf-p 0.1.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/LICENSE +21 -0
- package/README.md +338 -0
- package/bin/install.js +358 -0
- package/bin/uninstall.js +485 -0
- package/commands/wtfp/analyze-bib.md +326 -0
- package/commands/wtfp/check-refs.md +205 -0
- package/commands/wtfp/create-outline.md +275 -0
- package/commands/wtfp/discuss-section.md +71 -0
- package/commands/wtfp/export-latex.md +216 -0
- package/commands/wtfp/help.md +342 -0
- package/commands/wtfp/insert-section.md +130 -0
- package/commands/wtfp/list-assumptions.md +109 -0
- package/commands/wtfp/map-project.md +197 -0
- package/commands/wtfp/new-paper.md +443 -0
- package/commands/wtfp/pause-writing.md +145 -0
- package/commands/wtfp/plan-revision.md +180 -0
- package/commands/wtfp/plan-section.md +247 -0
- package/commands/wtfp/polish-prose.md +177 -0
- package/commands/wtfp/progress.md +325 -0
- package/commands/wtfp/remove-section.md +147 -0
- package/commands/wtfp/research-gap.md +235 -0
- package/commands/wtfp/resume-writing.md +142 -0
- package/commands/wtfp/review-section.md +409 -0
- package/commands/wtfp/submit-milestone.md +211 -0
- package/commands/wtfp/write-section.md +273 -0
- package/package.json +40 -0
- package/write-the-f-paper/references/checkpoints.md +213 -0
- package/write-the-f-paper/references/continuation-format.md +223 -0
- package/write-the-f-paper/references/git-integration.md +241 -0
- package/write-the-f-paper/references/imrad-structure.md +212 -0
- package/write-the-f-paper/references/length-estimation.md +148 -0
- package/write-the-f-paper/references/plan-format.md +361 -0
- package/write-the-f-paper/references/principles.md +158 -0
- package/write-the-f-paper/references/questioning.md +132 -0
- package/write-the-f-paper/references/research-pitfalls.md +208 -0
- package/write-the-f-paper/templates/config.json +30 -0
- package/write-the-f-paper/templates/context.md +179 -0
- package/write-the-f-paper/templates/continue-here.md +142 -0
- package/write-the-f-paper/templates/data-inventory.md +142 -0
- package/write-the-f-paper/templates/discovery.md +146 -0
- package/write-the-f-paper/templates/issues.md +59 -0
- package/write-the-f-paper/templates/manuscript.md +253 -0
- package/write-the-f-paper/templates/narrative-arc.md +227 -0
- package/write-the-f-paper/templates/outline.md +274 -0
- package/write-the-f-paper/templates/phase-prompt.md +348 -0
- package/write-the-f-paper/templates/prior-drafts.md +204 -0
- package/write-the-f-paper/templates/project-context/argument-structure.md +267 -0
- package/write-the-f-paper/templates/project-context/bibliography.md +152 -0
- package/write-the-f-paper/templates/project-context/gaps.md +122 -0
- package/write-the-f-paper/templates/project-context/imrad.md +140 -0
- package/write-the-f-paper/templates/project-context/peer-review.md +152 -0
- package/write-the-f-paper/templates/project-context/style-guide.md +198 -0
- package/write-the-f-paper/templates/project-context/tools.md +170 -0
- package/write-the-f-paper/templates/project.md +185 -0
- package/write-the-f-paper/templates/research.md +384 -0
- package/write-the-f-paper/templates/review-comments.md +253 -0
- package/write-the-f-paper/templates/revision-issues.md +169 -0
- package/write-the-f-paper/templates/roadmap.md +187 -0
- package/write-the-f-paper/templates/section-archive.md +178 -0
- package/write-the-f-paper/templates/section-context.md +114 -0
- package/write-the-f-paper/templates/section.md +128 -0
- package/write-the-f-paper/templates/state.md +244 -0
- package/write-the-f-paper/templates/summary.md +277 -0
- package/write-the-f-paper/venues/acm-cs.yaml +102 -0
- package/write-the-f-paper/venues/arxiv-ml.yaml +103 -0
- package/write-the-f-paper/venues/ieee-cs.yaml +100 -0
- package/write-the-f-paper/venues/nature.yaml +81 -0
- package/write-the-f-paper/venues/thesis-chapter.yaml +101 -0
- package/write-the-f-paper/workflows/create-outline.md +462 -0
- package/write-the-f-paper/workflows/create-outline.wcn.md +194 -0
- package/write-the-f-paper/workflows/discuss-section.md +249 -0
- package/write-the-f-paper/workflows/discuss-section.wcn.md +63 -0
- package/write-the-f-paper/workflows/execute-section.md +704 -0
- package/write-the-f-paper/workflows/execute-section.wcn.md +219 -0
- package/write-the-f-paper/workflows/list-assumptions.md +183 -0
- package/write-the-f-paper/workflows/list-assumptions.wcn.md +42 -0
- package/write-the-f-paper/workflows/lit-review-phase.md +281 -0
- package/write-the-f-paper/workflows/lit-review-phase.wcn.md +92 -0
- package/write-the-f-paper/workflows/map-project.md +359 -0
- package/write-the-f-paper/workflows/map-project.wcn.md +73 -0
- package/write-the-f-paper/workflows/plan-section.md +409 -0
- package/write-the-f-paper/workflows/plan-section.wcn.md +236 -0
- package/write-the-f-paper/workflows/research-gap.md +469 -0
- package/write-the-f-paper/workflows/research-gap.wcn.md +119 -0
- package/write-the-f-paper/workflows/resume-paper.md +274 -0
- package/write-the-f-paper/workflows/resume-paper.wcn.md +93 -0
- package/write-the-f-paper/workflows/review-section.md +329 -0
- package/write-the-f-paper/workflows/review-section.wcn.md +91 -0
- package/write-the-f-paper/workflows/submit-draft.md +368 -0
- package/write-the-f-paper/workflows/submit-draft.wcn.md +69 -0
- package/write-the-f-paper/workflows/transition.md +375 -0
- package/write-the-f-paper/workflows/transition.wcn.md +113 -0
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp:review-section
|
|
3
|
+
description: Run 3-layer verification on written sections
|
|
4
|
+
argument-hint: "[section]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<objective>
|
|
15
|
+
User acceptance testing of written sections with configurable reviewer personas.
|
|
16
|
+
|
|
17
|
+
Runs 3-layer verification:
|
|
18
|
+
1. Citation Check (Mechanical)
|
|
19
|
+
2. Argument Coherence (Logical)
|
|
20
|
+
3. Rubric Check (Requirements)
|
|
21
|
+
|
|
22
|
+
**Reviewer Personas** adjust critique intensity and focus:
|
|
23
|
+
- Reviewer #2 (Hostile): Nitpicky, finds every flaw, assumes bad faith
|
|
24
|
+
- Area Chair (Big Picture): Strategic, focuses on contribution significance
|
|
25
|
+
- Camera-Ready Editor (Nitpicky): Formatting, style, polish details
|
|
26
|
+
- Friendly Mentor (Constructive): Balanced, actionable suggestions
|
|
27
|
+
|
|
28
|
+
Creates ISSUES.md if problems found.
|
|
29
|
+
|
|
30
|
+
User performs verification; Claude guides and documents.
|
|
31
|
+
</objective>
|
|
32
|
+
|
|
33
|
+
<execution_context>
|
|
34
|
+
@~/.claude/write-the-f-paper/workflows/review-section.md
|
|
35
|
+
</execution_context>
|
|
36
|
+
|
|
37
|
+
<process>
|
|
38
|
+
|
|
39
|
+
<step name="verify">
|
|
40
|
+
**Verify section exists:**
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Check for written content
|
|
44
|
+
ls paper/*.md 2>/dev/null || echo "No content in paper/ directory"
|
|
45
|
+
|
|
46
|
+
# Check for SUMMARY indicating writing complete
|
|
47
|
+
ls .planning/sections/*/SUMMARY.md 2>/dev/null | head -5
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
</step>
|
|
51
|
+
|
|
52
|
+
<step name="load">
|
|
53
|
+
**Load context for review:**
|
|
54
|
+
|
|
55
|
+
- Read the written section content (paper/[section].md)
|
|
56
|
+
- Read PROJECT.md for requirements
|
|
57
|
+
- Read argument-map.md for expected claims
|
|
58
|
+
- Read outline.md for structure expectations
|
|
59
|
+
- Read sources/literature.md for citation expectations
|
|
60
|
+
- Read SUMMARY.md for what was intended
|
|
61
|
+
</step>
|
|
62
|
+
|
|
63
|
+
<step name="select_persona">
|
|
64
|
+
**Select reviewer persona:**
|
|
65
|
+
|
|
66
|
+
Use AskUserQuestion:
|
|
67
|
+
- header: "Reviewer"
|
|
68
|
+
- question: "What type of review do you want?"
|
|
69
|
+
- options:
|
|
70
|
+
- "Reviewer #2 (Hostile)" — Nitpicky, assumes worst, finds every flaw
|
|
71
|
+
- "Area Chair (Big Picture)" — Strategic focus on contribution and impact
|
|
72
|
+
- "Camera-Ready Editor" — Formatting, style, polish, consistency
|
|
73
|
+
- "Friendly Mentor" — Balanced, constructive, actionable (Recommended)
|
|
74
|
+
|
|
75
|
+
**Persona behaviors:**
|
|
76
|
+
|
|
77
|
+
### Reviewer #2 (Hostile)
|
|
78
|
+
- Questions every claim without citation
|
|
79
|
+
- Assumes methodology is flawed until proven
|
|
80
|
+
- Finds ambiguity in clear statements
|
|
81
|
+
- Demands more experiments/evidence
|
|
82
|
+
- Tone: "The authors fail to..." / "It is unclear why..."
|
|
83
|
+
- Severity bias: Escalates minor issues to major
|
|
84
|
+
|
|
85
|
+
### Area Chair (Big Picture)
|
|
86
|
+
- Focuses on: Is the contribution significant?
|
|
87
|
+
- Asks: Would this paper advance the field?
|
|
88
|
+
- Checks: Is the evaluation convincing for the claims made?
|
|
89
|
+
- Less concerned with minor formatting
|
|
90
|
+
- Tone: "The main contribution..." / "The significance..."
|
|
91
|
+
- Severity bias: Ignores minor, focuses on blockers
|
|
92
|
+
|
|
93
|
+
### Camera-Ready Editor
|
|
94
|
+
- Formatting consistency (headings, spacing, fonts)
|
|
95
|
+
- Figure/table placement and references
|
|
96
|
+
- Citation style compliance
|
|
97
|
+
- Grammar, typos, awkward phrasing
|
|
98
|
+
- LaTeX/formatting warnings
|
|
99
|
+
- Tone: "Line X has..." / "Figure Y should..."
|
|
100
|
+
- Severity bias: Many minor issues
|
|
101
|
+
|
|
102
|
+
### Friendly Mentor
|
|
103
|
+
- Balanced critique with encouragement
|
|
104
|
+
- Every criticism paired with suggestion
|
|
105
|
+
- Prioritizes actionable feedback
|
|
106
|
+
- Acknowledges what works well
|
|
107
|
+
- Tone: "Consider..." / "This works well, but could be stronger if..."
|
|
108
|
+
- Severity bias: Realistic assessment
|
|
109
|
+
|
|
110
|
+
Store selected persona for use in all verification steps.
|
|
111
|
+
|
|
112
|
+
</step>
|
|
113
|
+
|
|
114
|
+
<step name="citation_check">
|
|
115
|
+
**Layer 1: Citation Check (Mechanical)**
|
|
116
|
+
|
|
117
|
+
Adjust intensity based on persona:
|
|
118
|
+
|
|
119
|
+
**If Reviewer #2 (Hostile):**
|
|
120
|
+
```
|
|
121
|
+
## Citation Check (Hostile Mode)
|
|
122
|
+
|
|
123
|
+
I'm looking for EVERY missing citation:
|
|
124
|
+
|
|
125
|
+
- [ ] ALL factual claims have citations (even "obvious" ones)
|
|
126
|
+
- [ ] Claims of novelty properly qualified
|
|
127
|
+
- [ ] No weasel words hiding missing citations ("studies show...", "it is known...")
|
|
128
|
+
- [ ] Self-citation ratio appropriate (not self-promotional)
|
|
129
|
+
- [ ] Recent work cited (nothing newer doing this?)
|
|
130
|
+
- [ ] Foundational work cited (did you read the classics?)
|
|
131
|
+
|
|
132
|
+
**Potential issues I see:**
|
|
133
|
+
[Claude actively identifies potential issues in hostile mode]
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**If Area Chair:**
|
|
137
|
+
```
|
|
138
|
+
## Citation Check (Strategic)
|
|
139
|
+
|
|
140
|
+
Focus on citation credibility:
|
|
141
|
+
|
|
142
|
+
- [ ] Key claims backed by strong citations
|
|
143
|
+
- [ ] Methodology citations are appropriate
|
|
144
|
+
- [ ] Comparison baselines properly cited
|
|
145
|
+
- [ ] Not over-citing tangential work
|
|
146
|
+
|
|
147
|
+
**Big picture:**
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
**If Camera-Ready Editor:**
|
|
151
|
+
```
|
|
152
|
+
## Citation Check (Formatting)
|
|
153
|
+
|
|
154
|
+
- [ ] Citation format consistent throughout ([N] vs (Author, Year))
|
|
155
|
+
- [ ] All citations resolve in bibliography
|
|
156
|
+
- [ ] No duplicate entries
|
|
157
|
+
- [ ] Citation style matches venue requirements
|
|
158
|
+
- [ ] Page numbers where required
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
**If Friendly Mentor:**
|
|
162
|
+
```
|
|
163
|
+
## Citation Check
|
|
164
|
+
|
|
165
|
+
Let's make sure your citations are solid:
|
|
166
|
+
|
|
167
|
+
- [ ] Factual claims have citations
|
|
168
|
+
- [ ] Format is consistent
|
|
169
|
+
- [ ] Bibliography is complete
|
|
170
|
+
|
|
171
|
+
**What's working well:** [note positives]
|
|
172
|
+
**Suggestions:**
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Use AskUserQuestion:
|
|
176
|
+
- header: "Citations"
|
|
177
|
+
- question: "Any citation issues found?"
|
|
178
|
+
- options:
|
|
179
|
+
- "All clear" — Citations look good
|
|
180
|
+
- "Issues found" — I'll list them
|
|
181
|
+
- "Skip this check" — Move to next layer
|
|
182
|
+
|
|
183
|
+
If issues found, prompt for details.
|
|
184
|
+
|
|
185
|
+
</step>
|
|
186
|
+
|
|
187
|
+
<step name="coherence_check">
|
|
188
|
+
**Layer 2: Argument Coherence (Logical)**
|
|
189
|
+
|
|
190
|
+
Adjust intensity based on persona:
|
|
191
|
+
|
|
192
|
+
**If Reviewer #2 (Hostile):**
|
|
193
|
+
```
|
|
194
|
+
## Argument Coherence (Hostile Mode)
|
|
195
|
+
|
|
196
|
+
I'm stress-testing your logic:
|
|
197
|
+
|
|
198
|
+
- [ ] Every claim PROVEN, not just stated
|
|
199
|
+
- [ ] Assumptions explicitly stated and justified
|
|
200
|
+
- [ ] Alternative explanations addressed
|
|
201
|
+
- [ ] Limitations acknowledged (or I'll find them)
|
|
202
|
+
- [ ] No logical leaps ("clearly" / "obviously" hiding weak reasoning)
|
|
203
|
+
- [ ] Statistics interpreted correctly
|
|
204
|
+
- [ ] Causation vs correlation distinguished
|
|
205
|
+
|
|
206
|
+
**Logical weaknesses I see:**
|
|
207
|
+
[Claude actively identifies logical gaps in hostile mode]
|
|
208
|
+
|
|
209
|
+
**Questions a hostile reviewer would ask:**
|
|
210
|
+
- "How do you know X causes Y?"
|
|
211
|
+
- "What about alternative explanation Z?"
|
|
212
|
+
- "Your sample size is only N..."
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
**If Area Chair:**
|
|
216
|
+
```
|
|
217
|
+
## Argument Coherence (Strategic)
|
|
218
|
+
|
|
219
|
+
Does the argument support a strong contribution?
|
|
220
|
+
|
|
221
|
+
- [ ] Core thesis is clear and significant
|
|
222
|
+
- [ ] Evidence supports the main claims
|
|
223
|
+
- [ ] Contribution is differentiated from prior work
|
|
224
|
+
- [ ] Limitations don't undermine the contribution
|
|
225
|
+
|
|
226
|
+
**Strategic assessment:**
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**If Camera-Ready Editor:**
|
|
230
|
+
```
|
|
231
|
+
## Argument Coherence (Light Touch)
|
|
232
|
+
|
|
233
|
+
Basic logical flow:
|
|
234
|
+
|
|
235
|
+
- [ ] Paragraphs in logical order
|
|
236
|
+
- [ ] Transitions present
|
|
237
|
+
- [ ] No obvious contradictions
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
**If Friendly Mentor:**
|
|
241
|
+
```
|
|
242
|
+
## Argument Coherence
|
|
243
|
+
|
|
244
|
+
Let's strengthen your argument:
|
|
245
|
+
|
|
246
|
+
- [ ] Claims follow from evidence
|
|
247
|
+
- [ ] Logic flows naturally
|
|
248
|
+
- [ ] Counter-arguments addressed
|
|
249
|
+
|
|
250
|
+
**Strengths:** [what's working]
|
|
251
|
+
**Opportunities:** [where to strengthen]
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
**Cross-reference with argument-map.md:**
|
|
255
|
+
- [ ] Claim 1 addressed: [yes/no/partial]
|
|
256
|
+
- [ ] Claim 2 addressed: [yes/no/partial]
|
|
257
|
+
- [ ] ...
|
|
258
|
+
|
|
259
|
+
Use AskUserQuestion:
|
|
260
|
+
- header: "Coherence"
|
|
261
|
+
- question: "Any logical/flow issues found?"
|
|
262
|
+
- options:
|
|
263
|
+
- "All clear" — Logic flows well
|
|
264
|
+
- "Issues found" — I'll list them
|
|
265
|
+
- "Skip this check" — Move to next layer
|
|
266
|
+
|
|
267
|
+
</step>
|
|
268
|
+
|
|
269
|
+
<step name="rubric_check">
|
|
270
|
+
**Layer 3: Rubric Check (Requirements)**
|
|
271
|
+
|
|
272
|
+
Present checklist based on PROJECT.md requirements:
|
|
273
|
+
|
|
274
|
+
```
|
|
275
|
+
## Rubric Check
|
|
276
|
+
|
|
277
|
+
Review against requirements:
|
|
278
|
+
|
|
279
|
+
**Structure:**
|
|
280
|
+
- [ ] All required elements present
|
|
281
|
+
- [ ] Follows expected structure (IMRaD, etc.)
|
|
282
|
+
- [ ] Appropriate for target venue
|
|
283
|
+
|
|
284
|
+
**Length:**
|
|
285
|
+
- [ ] Word count: [current] / [target] ([variance]%)
|
|
286
|
+
- [ ] Within acceptable range
|
|
287
|
+
|
|
288
|
+
**Formatting:**
|
|
289
|
+
- [ ] Heading levels correct
|
|
290
|
+
- [ ] Figure/table references correct
|
|
291
|
+
- [ ] Consistent style throughout
|
|
292
|
+
|
|
293
|
+
**Content Requirements:**
|
|
294
|
+
- [ ] [Requirement 1 from PROJECT.md]: [met/not met]
|
|
295
|
+
- [ ] [Requirement 2 from PROJECT.md]: [met/not met]
|
|
296
|
+
|
|
297
|
+
**Issues found:**
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
Use AskUserQuestion:
|
|
301
|
+
- header: "Requirements"
|
|
302
|
+
- question: "Any requirement issues found?"
|
|
303
|
+
- options:
|
|
304
|
+
- "All clear" — Requirements met
|
|
305
|
+
- "Issues found" — I'll list them
|
|
306
|
+
|
|
307
|
+
</step>
|
|
308
|
+
|
|
309
|
+
<step name="issues">
|
|
310
|
+
**Create ISSUES.md if problems found:**
|
|
311
|
+
|
|
312
|
+
```markdown
|
|
313
|
+
---
|
|
314
|
+
section: XX-name
|
|
315
|
+
plan: YY
|
|
316
|
+
review_date: [date]
|
|
317
|
+
---
|
|
318
|
+
|
|
319
|
+
# Review Issues: [Section Name]
|
|
320
|
+
|
|
321
|
+
## Reviewer Persona: [Selected Persona]
|
|
322
|
+
|
|
323
|
+
## Citation Issues
|
|
324
|
+
| ID | Issue | Severity | Location |
|
|
325
|
+
|----|-------|----------|----------|
|
|
326
|
+
| CIT-1 | [description] | [Major/Minor] | [line/para] |
|
|
327
|
+
|
|
328
|
+
## Coherence Issues
|
|
329
|
+
| ID | Issue | Severity | Location |
|
|
330
|
+
|----|-------|----------|----------|
|
|
331
|
+
| COH-1 | [description] | [Major/Minor] | [line/para] |
|
|
332
|
+
|
|
333
|
+
## Requirement Issues
|
|
334
|
+
| ID | Issue | Severity | Requirement |
|
|
335
|
+
|----|-------|----------|-------------|
|
|
336
|
+
| REQ-1 | [description] | [Major/Minor] | [which req] |
|
|
337
|
+
|
|
338
|
+
## Summary
|
|
339
|
+
- Total issues: [N]
|
|
340
|
+
- Blockers (must fix): [N]
|
|
341
|
+
- Major (should fix): [N]
|
|
342
|
+
- Minor (nice to fix): [N]
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
*Reviewed: [date]*
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
</step>
|
|
349
|
+
|
|
350
|
+
<step name="commit">
|
|
351
|
+
```bash
|
|
352
|
+
git add .planning/sections/XX-name/XX-YY-ISSUES.md
|
|
353
|
+
git commit -m "$(cat <<'EOF'
|
|
354
|
+
review(XX-YY): [section name] verification
|
|
355
|
+
|
|
356
|
+
Issues found: [N] ([blockers] blockers)
|
|
357
|
+
EOF
|
|
358
|
+
)"
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
</step>
|
|
362
|
+
|
|
363
|
+
<step name="done">
|
|
364
|
+
**Present results:**
|
|
365
|
+
|
|
366
|
+
```
|
|
367
|
+
Review complete:
|
|
368
|
+
|
|
369
|
+
- Section: [name]
|
|
370
|
+
- Issues: .planning/sections/XX-name/XX-YY-ISSUES.md
|
|
371
|
+
|
|
372
|
+
## Summary
|
|
373
|
+
- Citation check: [pass/issues]
|
|
374
|
+
- Coherence check: [pass/issues]
|
|
375
|
+
- Rubric check: [pass/issues]
|
|
376
|
+
|
|
377
|
+
Total: [N] issues ([blockers] blockers, [major] major, [minor] minor)
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
## ▶ Next Up
|
|
382
|
+
|
|
383
|
+
[If issues found:]
|
|
384
|
+
**Plan revisions** — address identified issues
|
|
385
|
+
|
|
386
|
+
`/wtfp:plan-revision XX-YY`
|
|
387
|
+
|
|
388
|
+
[If no issues:]
|
|
389
|
+
**Continue** — move to next section
|
|
390
|
+
|
|
391
|
+
`/wtfp:plan-section [next]`
|
|
392
|
+
|
|
393
|
+
<sub>`/clear` first → fresh context window</sub>
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
</step>
|
|
399
|
+
|
|
400
|
+
</process>
|
|
401
|
+
|
|
402
|
+
<success_criteria>
|
|
403
|
+
- [ ] Reviewer persona selected
|
|
404
|
+
- [ ] All 3 verification layers executed (intensity adjusted to persona)
|
|
405
|
+
- [ ] User guided through each check
|
|
406
|
+
- [ ] Issues documented in ISSUES.md with persona noted
|
|
407
|
+
- [ ] Severity levels assigned (persona-appropriate)
|
|
408
|
+
- [ ] Clear next steps provided
|
|
409
|
+
</success_criteria>
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp:submit-milestone
|
|
3
|
+
description: Archive completed submission round
|
|
4
|
+
argument-hint: "[version]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Archive a completed draft or submission round.
|
|
14
|
+
|
|
15
|
+
Creates MILESTONES.md entry with stats.
|
|
16
|
+
Archives full details to milestones/ directory.
|
|
17
|
+
Creates git tag for the version.
|
|
18
|
+
Prepares workspace for revision round.
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
|
|
23
|
+
<step name="verify">
|
|
24
|
+
**Verify paper is ready:**
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
[ ! -f .planning/STATE.md ] && echo "ERROR: No project state found" && exit 1
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Check completion status:
|
|
31
|
+
- Are all planned sections written?
|
|
32
|
+
- Any unresolved blockers?
|
|
33
|
+
|
|
34
|
+
If incomplete:
|
|
35
|
+
```
|
|
36
|
+
WARNING: Not all sections are complete.
|
|
37
|
+
|
|
38
|
+
Sections remaining:
|
|
39
|
+
- [Section N]: [status]
|
|
40
|
+
- [Section M]: [status]
|
|
41
|
+
|
|
42
|
+
Continue anyway?
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Use AskUserQuestion:
|
|
46
|
+
- header: "Proceed?"
|
|
47
|
+
- question: "Archive milestone with incomplete sections?"
|
|
48
|
+
- options:
|
|
49
|
+
- "Yes, archive anyway" — Create milestone as-is
|
|
50
|
+
- "No, finish first" — Return to writing
|
|
51
|
+
|
|
52
|
+
</step>
|
|
53
|
+
|
|
54
|
+
<step name="gather_stats">
|
|
55
|
+
**Gather statistics:**
|
|
56
|
+
|
|
57
|
+
- Total sections: [N]
|
|
58
|
+
- Sections complete: [M]
|
|
59
|
+
- Total words: [X]
|
|
60
|
+
- Target words: [Y]
|
|
61
|
+
- Word variance: [+/- Z%]
|
|
62
|
+
- Citations used: [N]
|
|
63
|
+
- Figures: [N]
|
|
64
|
+
- Tables: [N]
|
|
65
|
+
- Issues resolved: [N]
|
|
66
|
+
- Issues deferred: [N]
|
|
67
|
+
|
|
68
|
+
</step>
|
|
69
|
+
|
|
70
|
+
<step name="milestone_entry">
|
|
71
|
+
**Create/update MILESTONES.md:**
|
|
72
|
+
|
|
73
|
+
```markdown
|
|
74
|
+
# Milestones
|
|
75
|
+
|
|
76
|
+
## [version] - [Name/Description]
|
|
77
|
+
|
|
78
|
+
**Date:** [date]
|
|
79
|
+
**Status:** [Submitted / Draft / Ready for Review]
|
|
80
|
+
|
|
81
|
+
### Summary
|
|
82
|
+
[Brief description of what this version represents]
|
|
83
|
+
|
|
84
|
+
### Stats
|
|
85
|
+
- Sections: [M]/[N] complete
|
|
86
|
+
- Words: [X] / [Y] target
|
|
87
|
+
- Citations: [N]
|
|
88
|
+
- Figures: [N]
|
|
89
|
+
|
|
90
|
+
### Sections Included
|
|
91
|
+
| Section | Words | Status |
|
|
92
|
+
|---------|-------|--------|
|
|
93
|
+
| Introduction | [X] | Complete |
|
|
94
|
+
| Methods | [X] | Complete |
|
|
95
|
+
| ... | | |
|
|
96
|
+
|
|
97
|
+
### Key Decisions
|
|
98
|
+
[Major decisions made in this version]
|
|
99
|
+
|
|
100
|
+
### Known Issues
|
|
101
|
+
[Issues deferred to next version]
|
|
102
|
+
|
|
103
|
+
### Git Reference
|
|
104
|
+
- Tag: `[version]`
|
|
105
|
+
- Commit: [hash]
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
[Previous milestones below...]
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
</step>
|
|
113
|
+
|
|
114
|
+
<step name="archive">
|
|
115
|
+
**Create milestone archive:**
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
mkdir -p .planning/milestones
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Copy current state to archive:
|
|
122
|
+
- `.planning/milestones/[version]-ROADMAP.md`
|
|
123
|
+
- `.planning/milestones/[version]-STATE.md`
|
|
124
|
+
- Snapshot of all SUMMARY.md files
|
|
125
|
+
|
|
126
|
+
</step>
|
|
127
|
+
|
|
128
|
+
<step name="tag">
|
|
129
|
+
**Create git tag:**
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
git add .planning/MILESTONES.md .planning/milestones/
|
|
133
|
+
git commit -m "$(cat <<'EOF'
|
|
134
|
+
milestone: [version] - [name]
|
|
135
|
+
|
|
136
|
+
Words: [X]
|
|
137
|
+
Sections: [M]/[N]
|
|
138
|
+
Status: [status]
|
|
139
|
+
EOF
|
|
140
|
+
)"
|
|
141
|
+
|
|
142
|
+
git tag -a "[version]" -m "[Milestone description]"
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
</step>
|
|
146
|
+
|
|
147
|
+
<step name="prepare_next">
|
|
148
|
+
**Prepare for next round:**
|
|
149
|
+
|
|
150
|
+
Use AskUserQuestion:
|
|
151
|
+
- header: "Next Steps"
|
|
152
|
+
- question: "What's next after this milestone?"
|
|
153
|
+
- options:
|
|
154
|
+
- "Wait for reviews" — Pause until feedback
|
|
155
|
+
- "Start revisions" — Begin revision round
|
|
156
|
+
- "Done for now" — Just archive
|
|
157
|
+
|
|
158
|
+
If "Start revisions":
|
|
159
|
+
- Reset STATE.md position to first section
|
|
160
|
+
- Note that this is revision round
|
|
161
|
+
- Suggest `/wtfp:progress` to start
|
|
162
|
+
|
|
163
|
+
</step>
|
|
164
|
+
|
|
165
|
+
<step name="done">
|
|
166
|
+
**Present completion:**
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
Milestone archived:
|
|
170
|
+
|
|
171
|
+
- Version: [version]
|
|
172
|
+
- Entry: .planning/MILESTONES.md
|
|
173
|
+
- Archive: .planning/milestones/[version]-*
|
|
174
|
+
- Git tag: [version]
|
|
175
|
+
|
|
176
|
+
## Summary
|
|
177
|
+
- Sections: [M]/[N] complete
|
|
178
|
+
- Words: [X] / [Y]
|
|
179
|
+
- Status: [status]
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## ▶ Next Up
|
|
184
|
+
|
|
185
|
+
[Based on user's choice:]
|
|
186
|
+
|
|
187
|
+
**Wait for reviews:**
|
|
188
|
+
When you receive reviewer feedback:
|
|
189
|
+
`/wtfp:import-reviews` (coming soon)
|
|
190
|
+
|
|
191
|
+
**Start revisions:**
|
|
192
|
+
`/wtfp:progress` — check what needs revision
|
|
193
|
+
|
|
194
|
+
**Done for now:**
|
|
195
|
+
Your work is archived. Run `/wtfp:progress` when ready to continue.
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
</step>
|
|
201
|
+
|
|
202
|
+
</process>
|
|
203
|
+
|
|
204
|
+
<success_criteria>
|
|
205
|
+
- [ ] Completion status verified
|
|
206
|
+
- [ ] Statistics gathered
|
|
207
|
+
- [ ] MILESTONES.md updated
|
|
208
|
+
- [ ] Archive created
|
|
209
|
+
- [ ] Git tag created
|
|
210
|
+
- [ ] Next steps clear
|
|
211
|
+
</success_criteria>
|