wtf-p 0.9.0 → 0.9.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.
Files changed (114) hide show
  1. package/README.md +5 -2
  2. package/bin/lib/adapter-compiler.js +65 -18
  3. package/package.json +1 -1
  4. package/pancode/extension/.wtfp-generated.json +8 -4
  5. package/pancode/extension/pancode-extension.yaml +1 -1
  6. package/pancode/extension/runtime/extension.test.ts +89 -2
  7. package/pancode/extension/runtime/extension.ts +110 -24
  8. package/pancode/extension/runtime/help.json +82 -0
  9. package/pancode/plugin/.wtfp-generated.json +27 -27
  10. package/pancode/plugin/dev.pancode/agents/wtfp-argument-verifier.md +4 -0
  11. package/pancode/plugin/dev.pancode/agents/wtfp-citation-expert.md +4 -0
  12. package/pancode/plugin/dev.pancode/agents/wtfp-citation-formatter.md +4 -0
  13. package/pancode/plugin/dev.pancode/agents/wtfp-coherence-checker.md +4 -0
  14. package/pancode/plugin/dev.pancode/agents/wtfp-outliner.md +4 -0
  15. package/pancode/plugin/dev.pancode/agents/wtfp-plan-checker.md +4 -0
  16. package/pancode/plugin/dev.pancode/agents/wtfp-prose-polisher.md +4 -0
  17. package/pancode/plugin/dev.pancode/agents/wtfp-research-synthesizer.md +4 -0
  18. package/pancode/plugin/dev.pancode/agents/wtfp-section-planner.md +4 -0
  19. package/pancode/plugin/dev.pancode/agents/wtfp-section-reviewer.md +4 -0
  20. package/pancode/plugin/dev.pancode/agents/wtfp-section-writer.md +4 -0
  21. package/pancode/plugin/dev.pancode/playbooks/wtfp-draft-review.md +1 -1
  22. package/pancode/plugin/dev.pancode/playbooks/wtfp-plan-section.md +2 -0
  23. package/pancode/plugin/dev.pancode/prompts/wtfp/contribute.md +3 -0
  24. package/pancode/plugin/dev.pancode/prompts/wtfp/create-outline.md +1 -1
  25. package/pancode/plugin/dev.pancode/prompts/wtfp/help.md +1 -1
  26. package/pancode/plugin/dev.pancode/prompts/wtfp/insert-section.md +1 -1
  27. package/pancode/plugin/dev.pancode/prompts/wtfp/pause-writing.md +1 -1
  28. package/pancode/plugin/dev.pancode/prompts/wtfp/remove-section.md +3 -0
  29. package/pancode/plugin/dev.pancode/prompts/wtfp/report-bug.md +3 -0
  30. package/pancode/plugin/dev.pancode/prompts/wtfp/request-feature.md +3 -0
  31. package/pancode/plugin/dev.pancode/prompts/wtfp/update.md +3 -0
  32. package/pancode/plugin/plugin.json +1 -1
  33. package/pancode/plugin/workflows/create-outline.md +1 -1
  34. package/pancode/plugin/workflows/insert-section.md +1 -1
  35. package/pancode/plugin/workflows/pause-writing.md +1 -1
  36. package/protocol/workflows/create-outline.md +1 -1
  37. package/protocol/workflows/insert-section.md +1 -1
  38. package/protocol/workflows/pause-writing.md +1 -1
  39. package/vendors/antigravity/.wtfp-generated.json +8 -8
  40. package/vendors/antigravity/plugin.json +2 -2
  41. package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +1 -1
  42. package/vendors/antigravity/skills/wtfp-insert-section/SKILL.md +1 -1
  43. package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +1 -1
  44. package/vendors/antigravity/workflows/create-outline.md +1 -1
  45. package/vendors/antigravity/workflows/insert-section.md +1 -1
  46. package/vendors/antigravity/workflows/pause-writing.md +1 -1
  47. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  48. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  49. package/vendors/claude/.wtfp-generated.json +33 -33
  50. package/vendors/claude/commands/create-outline.md +1 -1
  51. package/vendors/claude/commands/insert-section.md +1 -1
  52. package/vendors/claude/commands/pause-writing.md +1 -1
  53. package/vendors/claude/dev.pancode/agents/wtfp-argument-verifier.md +4 -0
  54. package/vendors/claude/dev.pancode/agents/wtfp-citation-expert.md +4 -0
  55. package/vendors/claude/dev.pancode/agents/wtfp-citation-formatter.md +4 -0
  56. package/vendors/claude/dev.pancode/agents/wtfp-coherence-checker.md +4 -0
  57. package/vendors/claude/dev.pancode/agents/wtfp-outliner.md +4 -0
  58. package/vendors/claude/dev.pancode/agents/wtfp-plan-checker.md +4 -0
  59. package/vendors/claude/dev.pancode/agents/wtfp-prose-polisher.md +4 -0
  60. package/vendors/claude/dev.pancode/agents/wtfp-research-synthesizer.md +4 -0
  61. package/vendors/claude/dev.pancode/agents/wtfp-section-planner.md +4 -0
  62. package/vendors/claude/dev.pancode/agents/wtfp-section-reviewer.md +4 -0
  63. package/vendors/claude/dev.pancode/agents/wtfp-section-writer.md +4 -0
  64. package/vendors/claude/dev.pancode/fleets/wtfp-draft-review.md +1 -1
  65. package/vendors/claude/dev.pancode/fleets/wtfp-plan-section.md +2 -0
  66. package/vendors/claude/dev.pancode/prompts/wtfp/advance.md +3 -0
  67. package/vendors/claude/dev.pancode/prompts/wtfp/contribute.md +3 -0
  68. package/vendors/claude/dev.pancode/prompts/wtfp/create-outline.md +1 -1
  69. package/vendors/claude/dev.pancode/prompts/wtfp/help.md +1 -1
  70. package/vendors/claude/dev.pancode/prompts/wtfp/insert-section.md +1 -1
  71. package/vendors/claude/dev.pancode/prompts/wtfp/pause-writing.md +1 -1
  72. package/vendors/claude/dev.pancode/prompts/wtfp/remove-section.md +3 -0
  73. package/vendors/claude/dev.pancode/prompts/wtfp/report-bug.md +3 -0
  74. package/vendors/claude/dev.pancode/prompts/wtfp/request-feature.md +3 -0
  75. package/vendors/claude/dev.pancode/prompts/wtfp/update.md +3 -0
  76. package/vendors/claude/plugin.json +1 -1
  77. package/vendors/claude/workflows/create-outline.md +1 -1
  78. package/vendors/claude/workflows/insert-section.md +1 -1
  79. package/vendors/claude/workflows/pause-writing.md +1 -1
  80. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  81. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +6 -6
  82. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  83. package/vendors/codex/plugins/wtfp/workflows/create-outline.md +1 -1
  84. package/vendors/codex/plugins/wtfp/workflows/insert-section.md +1 -1
  85. package/vendors/codex/plugins/wtfp/workflows/pause-writing.md +1 -1
  86. package/vendors/copilot/.wtfp-generated.json +6 -6
  87. package/vendors/copilot/marketplace.json +2 -2
  88. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  89. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +8 -8
  90. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +1 -1
  91. package/vendors/copilot/plugins/wtfp/commands/wtfp-insert-section.md +1 -1
  92. package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +1 -1
  93. package/vendors/copilot/plugins/wtfp/workflows/create-outline.md +1 -1
  94. package/vendors/copilot/plugins/wtfp/workflows/insert-section.md +1 -1
  95. package/vendors/copilot/plugins/wtfp/workflows/pause-writing.md +1 -1
  96. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +1 -1
  97. package/vendors/copilot/project/.github/wtfp/workflows/create-outline.md +1 -1
  98. package/vendors/copilot/project/.github/wtfp/workflows/insert-section.md +1 -1
  99. package/vendors/copilot/project/.github/wtfp/workflows/pause-writing.md +1 -1
  100. package/vendors/gemini/.wtfp-generated.json +8 -8
  101. package/vendors/gemini/commands/wtfp/create-outline.toml +1 -1
  102. package/vendors/gemini/commands/wtfp/insert-section.toml +1 -1
  103. package/vendors/gemini/commands/wtfp/pause-writing.toml +1 -1
  104. package/vendors/gemini/gemini-extension.json +1 -1
  105. package/vendors/gemini/workflows/create-outline.md +1 -1
  106. package/vendors/gemini/workflows/insert-section.md +1 -1
  107. package/vendors/gemini/workflows/pause-writing.md +1 -1
  108. package/vendors/opencode/.wtfp-generated.json +7 -7
  109. package/vendors/opencode/commands/wtfp/create-outline.md +1 -1
  110. package/vendors/opencode/commands/wtfp/insert-section.md +1 -1
  111. package/vendors/opencode/commands/wtfp/pause-writing.md +1 -1
  112. package/vendors/opencode/workflows/create-outline.md +1 -1
  113. package/vendors/opencode/workflows/insert-section.md +1 -1
  114. package/vendors/opencode/workflows/pause-writing.md +1 -1
@@ -0,0 +1,82 @@
1
+ {
2
+ "schema": "wtfp.pancode-help/v1",
3
+ "groups": [
4
+ {
5
+ "title": "Start a project",
6
+ "actions": [
7
+ "create-outline",
8
+ "map-project",
9
+ "new-paper"
10
+ ]
11
+ },
12
+ {
13
+ "title": "Research the literature",
14
+ "actions": [
15
+ "analyze-bib",
16
+ "check-refs",
17
+ "research-gap"
18
+ ]
19
+ },
20
+ {
21
+ "title": "Plan a section",
22
+ "actions": [
23
+ "discuss-section",
24
+ "insert-section",
25
+ "list-assumptions",
26
+ "plan-revision",
27
+ "plan-section",
28
+ "remove-section"
29
+ ]
30
+ },
31
+ {
32
+ "title": "Write a section",
33
+ "actions": [
34
+ "execute-outline",
35
+ "quick",
36
+ "write-section"
37
+ ]
38
+ },
39
+ {
40
+ "title": "Review the manuscript",
41
+ "actions": [
42
+ "audit-milestone",
43
+ "plan-milestone-gaps",
44
+ "polish-prose",
45
+ "review-section",
46
+ "verify-work"
47
+ ]
48
+ },
49
+ {
50
+ "title": "Manage the project",
51
+ "actions": [
52
+ "add-todo",
53
+ "advance",
54
+ "check-todos",
55
+ "checkpoint",
56
+ "pause-writing",
57
+ "progress",
58
+ "resume-writing",
59
+ "settings"
60
+ ]
61
+ },
62
+ {
63
+ "title": "Deliver the research",
64
+ "actions": [
65
+ "create-poster",
66
+ "create-slides",
67
+ "export-latex",
68
+ "submit-milestone"
69
+ ]
70
+ },
71
+ {
72
+ "title": "Product operations",
73
+ "actions": [
74
+ "contribute",
75
+ "help",
76
+ "report-bug",
77
+ "request-feature",
78
+ "update"
79
+ ]
80
+ }
81
+ ]
82
+ }
@@ -2,7 +2,7 @@
2
2
  "schema": "wtfp.generated-adapter/v1",
3
3
  "generatorVersion": 5,
4
4
  "target": "pancode-plugin",
5
- "sourceHash": "a09362eefc32029aaffd3b4d44124585e4565c9bed62caaf8a22cb4c5149236a",
5
+ "sourceHash": "46caa2d1e0299e9f5b8fcf18fdb7e3f4ae5a8dc8a22946e1e83288a278babf69",
6
6
  "files": [
7
7
  {
8
8
  "path": "actions/add-todo.json",
@@ -166,55 +166,55 @@
166
166
  },
167
167
  {
168
168
  "path": "dev.pancode/agents/wtfp-argument-verifier.md",
169
- "sha256": "e21ef30e3cc102f77bc39cbb14b69b6777a73934c6af4e80604646d03f90cb0f"
169
+ "sha256": "04b67f6595f13ebe09ff290119cb2d3e69570de1046907fcbbe51da9401d2bec"
170
170
  },
171
171
  {
172
172
  "path": "dev.pancode/agents/wtfp-citation-expert.md",
173
- "sha256": "afda45e56a6b85a356f67727bdab8f39662a54f43ad4a3a562e056d28f85f192"
173
+ "sha256": "ef159352be4c755676ac8f50112085bc1f927bcbc8701430e7fe4b2e51fd6d23"
174
174
  },
175
175
  {
176
176
  "path": "dev.pancode/agents/wtfp-citation-formatter.md",
177
- "sha256": "19673234b575139df82c985cd598c9df3326df1b473e1ae7ca5d67e052c4b1b4"
177
+ "sha256": "f15c2791a9ce994aee8347723d1b2b687ec3ed61b66717a3145e46d27e0ed7f0"
178
178
  },
179
179
  {
180
180
  "path": "dev.pancode/agents/wtfp-coherence-checker.md",
181
- "sha256": "049a9d6068eeb07e543af652ec9e2050b4f530520420c9193c0ceac0fcdb44b2"
181
+ "sha256": "d5ca16880b95bffc3b1f3f120475fd79df8ccf91a6ea3a15d6117e5cfb6da582"
182
182
  },
183
183
  {
184
184
  "path": "dev.pancode/agents/wtfp-outliner.md",
185
- "sha256": "f8640481a15acd8ffef35a760d73456a842e6d0eb80f7688ddd2daf93e85b7e7"
185
+ "sha256": "c4bf18993f9012818f57dbde8655c8e752efcfcd3899fcbc54660dadf40bca67"
186
186
  },
187
187
  {
188
188
  "path": "dev.pancode/agents/wtfp-plan-checker.md",
189
- "sha256": "0e1d5bc389926d1bbdccc86b0a8db6572c228acf700f1e7f1ef576870a365f8b"
189
+ "sha256": "9749e2294344a1a8b4b3bd5e8eea9a0674a351409f9b5a0d1ca54f6a3522dbf4"
190
190
  },
191
191
  {
192
192
  "path": "dev.pancode/agents/wtfp-prose-polisher.md",
193
- "sha256": "a222af680df82a3974fa5f09329597d1693c80d6bfc858db232a224cbe3e5b92"
193
+ "sha256": "0d5de65569ed4efd2d303b976d005a7a8721a1e62227ad89609a511d8620a619"
194
194
  },
195
195
  {
196
196
  "path": "dev.pancode/agents/wtfp-research-synthesizer.md",
197
- "sha256": "9b1e065556dbc108f59d13285130809f6a9217c760cb1a49f6078d0a7c33efc8"
197
+ "sha256": "cf05c0ca182b0dbbb366c7fb4b87c59766c29791f50a2306ceadc4ed5de87884"
198
198
  },
199
199
  {
200
200
  "path": "dev.pancode/agents/wtfp-section-planner.md",
201
- "sha256": "5036c4350696f8cb534244fd8e55f2020a91de86fd63679fc5dd60f4566e50e1"
201
+ "sha256": "b9601d6819fe7c13f3dede850329e52becf20325b516bc3398c413f75f0ddb4d"
202
202
  },
203
203
  {
204
204
  "path": "dev.pancode/agents/wtfp-section-reviewer.md",
205
- "sha256": "de4f76888c9ce72f6747c0ab4014f2d080fc77cef0e521b1b2c7ef5bcddb89cc"
205
+ "sha256": "6ed9d9e66810ed7113cc65aa5008c02be821f478f6fc440cfc5a3f274d152d3a"
206
206
  },
207
207
  {
208
208
  "path": "dev.pancode/agents/wtfp-section-writer.md",
209
- "sha256": "a47efd949d3292e12bd3081c44d9e7b6aea9d8172119b9ca501965a088babd40"
209
+ "sha256": "a9cf607c3157cd0b3b5531a7860d38f5f7d9eae0b9303ce0abe5422b43267847"
210
210
  },
211
211
  {
212
212
  "path": "dev.pancode/playbooks/wtfp-draft-review.md",
213
- "sha256": "2616b843bd20004ca85ce9bdcfe41e2181b3eca9db21153db8d7891eedeff519"
213
+ "sha256": "97c7d6cacda215ffed15091560a5e84ac0903fe429cb1da5356cd87f807e4ff4"
214
214
  },
215
215
  {
216
216
  "path": "dev.pancode/playbooks/wtfp-plan-section.md",
217
- "sha256": "414be527ea74218dd09487eff2aa9531c9a21ca1db229a4b792324fc7850b0e5"
217
+ "sha256": "aaf47207881bc982c19430d66827d11a4fa3ac454807969f4c1528165eb0bfd6"
218
218
  },
219
219
  {
220
220
  "path": "dev.pancode/prompts/wtfp/add-todo.md",
@@ -246,11 +246,11 @@
246
246
  },
247
247
  {
248
248
  "path": "dev.pancode/prompts/wtfp/contribute.md",
249
- "sha256": "c6f0c031087f1dd38cc8d23440a794c40611455e11f7656d5a97358bbade9b9e"
249
+ "sha256": "7195cf97bc6a802aac4b696ddca0af001137d2cee47d5b1d9dbe46d4b89fbf13"
250
250
  },
251
251
  {
252
252
  "path": "dev.pancode/prompts/wtfp/create-outline.md",
253
- "sha256": "326129bf2b4c721b9cb654b1c0324736bdd1022a9d2b645b56859271f6bff2a3"
253
+ "sha256": "8141d6f92e105a37bed88cdf8ec5d71ad8dbb6ae711e874d7d63082f59274e5e"
254
254
  },
255
255
  {
256
256
  "path": "dev.pancode/prompts/wtfp/create-poster.md",
@@ -274,11 +274,11 @@
274
274
  },
275
275
  {
276
276
  "path": "dev.pancode/prompts/wtfp/help.md",
277
- "sha256": "f74df9d57c9191a53b6cd1ca6d06b09a18edee190329f67e4613b5818bba46b5"
277
+ "sha256": "f4eb237d7a5b18d2947ae9bedb1e5be54b37bad0a13236b8afcafb5488bca031"
278
278
  },
279
279
  {
280
280
  "path": "dev.pancode/prompts/wtfp/insert-section.md",
281
- "sha256": "2ef29382365c246299acd1b5afc68c83d406c7d84a4569c153973b0d3bd7fed9"
281
+ "sha256": "c9a98d12d95c331ef4d80a68afc90bb2a2c0d4ae8a8f74e052ba6c615390caa4"
282
282
  },
283
283
  {
284
284
  "path": "dev.pancode/prompts/wtfp/list-assumptions.md",
@@ -294,7 +294,7 @@
294
294
  },
295
295
  {
296
296
  "path": "dev.pancode/prompts/wtfp/pause-writing.md",
297
- "sha256": "9e890b5141fc052eb36effbc93a5258496f37090cdb1bd7eb7308127589496dd"
297
+ "sha256": "6bff9e1aa4dff51e28d766f556047332ce4ec6d9c098d62e47c7baad4b5fde9b"
298
298
  },
299
299
  {
300
300
  "path": "dev.pancode/prompts/wtfp/plan-milestone-gaps.md",
@@ -322,15 +322,15 @@
322
322
  },
323
323
  {
324
324
  "path": "dev.pancode/prompts/wtfp/remove-section.md",
325
- "sha256": "af931e21802234176acfbf27b992148514ec6ce3ec5224e7c9f9a25a460b69f4"
325
+ "sha256": "cdbab09418b5c6d79949c4748d289d066e3a8aebe244bd8b463c4e7d1f4f598a"
326
326
  },
327
327
  {
328
328
  "path": "dev.pancode/prompts/wtfp/report-bug.md",
329
- "sha256": "3c73a45725aad73824f112ab6c3dc8f1de4299d4d66b5f8d2a326dc326f1de02"
329
+ "sha256": "fdb43e78a233932548e546cbfb54fb9501a1f6780b4186dc59ed459c35c642c2"
330
330
  },
331
331
  {
332
332
  "path": "dev.pancode/prompts/wtfp/request-feature.md",
333
- "sha256": "7af242b0883e253be16ec1189348e90fe2a8bdd723b28d6a574190e9cbc1fb97"
333
+ "sha256": "972b7ce39e2a53a9b33ccdc3f50c940a417d5451528d3b97aaf7c81babed97c8"
334
334
  },
335
335
  {
336
336
  "path": "dev.pancode/prompts/wtfp/research-gap.md",
@@ -354,7 +354,7 @@
354
354
  },
355
355
  {
356
356
  "path": "dev.pancode/prompts/wtfp/update.md",
357
- "sha256": "b82ac4cb1a135543f1914f5e53540940c048d57c5649d63ae19067aec6d5bce0"
357
+ "sha256": "571c8c85e4ef33893d5077ce9d220ddc9c8f20b4ebfdc031a9feccde75b33dc2"
358
358
  },
359
359
  {
360
360
  "path": "dev.pancode/prompts/wtfp/verify-work.md",
@@ -370,7 +370,7 @@
370
370
  },
371
371
  {
372
372
  "path": "plugin.json",
373
- "sha256": "41efcfcf964677b6353c90a95e3333d0861a0ba5d863bd4b5ae58bef8f44a187"
373
+ "sha256": "c10e55ab4882874393c43947206f8df53a248ac5a61e8809b16b1eb303d912fe"
374
374
  },
375
375
  {
376
376
  "path": "project/README.md",
@@ -726,7 +726,7 @@
726
726
  },
727
727
  {
728
728
  "path": "workflows/create-outline.md",
729
- "sha256": "a04d0f25a64d5963c890162399e26de2aad593408491c68871832f5c96a6e90e"
729
+ "sha256": "41ffcf7fafb9496686318d5852569eecfe85bb80d9f101da20ec8ae6599b936e"
730
730
  },
731
731
  {
732
732
  "path": "workflows/create-poster.md",
@@ -754,7 +754,7 @@
754
754
  },
755
755
  {
756
756
  "path": "workflows/insert-section.md",
757
- "sha256": "4a0856be3e3165b2bfb6e16a459ccdc04798f21e78178b2c8a24fbbc321cdc70"
757
+ "sha256": "eb0c313fd2eed6809c86384b9cb8fb842c0225cc0c3b33f180131d6b5de0de26"
758
758
  },
759
759
  {
760
760
  "path": "workflows/list-assumptions.md",
@@ -770,7 +770,7 @@
770
770
  },
771
771
  {
772
772
  "path": "workflows/pause-writing.md",
773
- "sha256": "5925c00a573e65c99a34e19984804f6407373e560621874cff29dbff4080fd0a"
773
+ "sha256": "ac40a7b7520e07e94c1f45dbdd6bc443ba7bae63def58e08e80d36081be3710a"
774
774
  },
775
775
  {
776
776
  "path": "workflows/plan-milestone-gaps.md",
@@ -57,6 +57,10 @@ Verify that completed section text actually delivers the claims, evidence, const
57
57
  - Do not directly prompt a human; represent irreducible expert judgment as `needs_input` with an exact question for the orchestrator.
58
58
  - Never commit, delete, rename, publish, or apply mutations. `effects_applied` must always be empty.
59
59
 
60
+ ## PanCode project paths
61
+
62
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
63
+
60
64
  ## PanCode result contract
61
65
 
62
66
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
@@ -56,6 +56,10 @@ Find a precise, defensible set of sources for explicit manuscript claims and ana
56
56
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact action effect authorizes them.
57
57
  - Do not directly prompt a human. Report ambiguous target claims or access limits through the result.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -56,6 +56,10 @@ Audit bibliography integrity and produce deterministic corrections without touch
56
56
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
57
57
  - Do not prompt a human directly; route ambiguous identity or style choices through the structured result.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -56,6 +56,10 @@ Evaluate the manuscript as a connected argument rather than a set of individuall
56
56
  - Route author-owned factual resolutions through the orchestrator; do not prompt a human directly.
57
57
  - Never commit, delete, rename, publish, or apply mutations. `effects_applied` must always be empty.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
@@ -61,6 +61,10 @@ If document type, thesis, or a hard venue constraint is irreducibly ambiguous, d
61
61
  - Do not commit, delete, rename, publish, or perform any destructive operation unless that exact effect is authorized by `invocation://action`.
62
62
  - Do not solicit a human directly. Express missing decisions through the structured result so the orchestrator can manage interaction.
63
63
 
64
+ ## PanCode project paths
65
+
66
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
67
+
64
68
  ## PanCode result contract
65
69
 
66
70
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -57,6 +57,10 @@ Determine whether proposed section plans are likely to produce the intended acad
57
57
  - Do not request input from a human directly; report missing controlling information to the orchestrator.
58
58
  - Never commit, delete, rename, publish, or apply mutation effects. `effects_applied` must always be empty.
59
59
 
60
+ ## PanCode project paths
61
+
62
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
63
+
60
64
  ## PanCode result contract
61
65
 
62
66
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
@@ -56,6 +56,10 @@ Improve clarity, rhythm, concision, and authorial voice without changing technic
56
56
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
57
57
  - Do not prompt a human directly; report ambiguous voice or meaning choices through the result.
58
58
 
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
59
63
  ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -59,6 +59,10 @@ Investigate the literature needed to plan and write a specific section well. The
59
59
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
60
60
  - Do not contact a human directly. Return `needs_input` for a missing scope choice and `blocked` for capability or access failure, preserving partial findings.
61
61
 
62
+ ## PanCode project paths
63
+
64
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
65
+
62
66
  ## PanCode result contract
63
67
 
64
68
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -58,6 +58,10 @@ Convert one approved section goal into small, executable writing plans. A plan i
58
58
  - Do not commit, delete, rename, publish, or perform destructive operations unless the action effect contract explicitly authorizes the exact operation.
59
59
  - Do not prompt a human. Return `needs_input` and a minimal decision request for orchestrator handling.
60
60
 
61
+ ## PanCode project paths
62
+
63
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
64
+
61
65
  ## PanCode result contract
62
66
 
63
67
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
@@ -57,6 +57,10 @@ Review a section as an academic evaluator and produce prioritized, actionable fe
57
57
  - Do not contact the author directly. Route questions and author-owned choices through `next_actions`.
58
58
  - Never commit, delete, rename, publish, or apply any mutation. `effects_applied` must always be empty.
59
59
 
60
+ ## PanCode project paths
61
+
62
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
63
+
60
64
  ## PanCode result contract
61
65
 
62
66
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
@@ -59,6 +59,10 @@ Execute an approved section plan into evidence-grounded academic prose or the ex
59
59
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is granted by the action contract.
60
60
  - Do not initiate human interaction. Encode checkpoint needs in the result for the orchestrator.
61
61
 
62
+ ## PanCode project paths
63
+
64
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
65
+
62
66
  On PanCode a worker holds no word counter. The dispatching action measures the persisted manuscript after you return and writes that count into the summary, so write the summary without a count. A count you cannot take never blocks this role: return completed when the rest is done.
63
67
 
64
68
  ## PanCode result contract
@@ -22,4 +22,4 @@ onFailure: stop
22
22
 
23
23
  Draft section {{section}} from its explicitly approved plan into its declared paper artifact and update only its declared portable Markdown summary. The invoking action orchestrator owns validation, checkpoint, manifest, section, and state reconciliation. The reviewer must independently review the resulting prose against the plan, sources, decisions, and venue constraints without claiming a mutation.
24
24
 
25
- For this PanCode projection, resolve logical `project://paper/...` artifacts under the project-root `paper/` directory, never under `.planning/paper/`.
25
+ On PanCode, write `project://paper/<artifact>` as `paper/<artifact>.md` and `project://sections/{{section}}/summary` as `.planning/sections/{{section}}/summary.md`, relative to the workspace root: section artifacts go under `.planning/sections/`, never a top-level `sections/`, and manuscripts go under `paper/`, never `.planning/paper/`.
@@ -21,3 +21,5 @@ onFailure: stop
21
21
  <!-- Generated by WTF-P adapter compiler v5 from protocol/fleets/wtfp-plan-section.json; do not edit. -->
22
22
 
23
23
  Create one contained, immutable plan for section {{section}} from the portable project state. Write only the plan artifact; the invoking action orchestrator owns validation, approval, section, checkpoint, and state reconciliation. The checker must independently review traceability, support for every required claim, author-decision fidelity, and feasibility without claiming a mutation.
24
+
25
+ On PanCode, write `project://sections/{{section}}/plans/<plan>` as `.planning/sections/{{section}}/plans/<plan>.md`, relative to the workspace root: section artifacts go under `.planning/sections/`, never a top-level `sections/`.
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  description: "Guide a bounded WTF-P contribution from branch creation through a reviewable change request."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `contribute`
@@ -11,5 +13,6 @@ Unavailable effects: `external.issue`, `vcs.branch`, `vcs.commit`
11
13
 
12
14
  No workflow, tool, network request, package operation, external issue, VCS operation, or other effect ran.
13
15
  Safe alternative: preserve project state and return a manual, non-executed handoff for the requested operation.
16
+ ```
14
17
 
15
18
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/contribute; do not edit. -->
@@ -37,7 +37,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
37
37
  2. Reconcile only choices the author explicitly resolves during the outline interview. Preserve every unrelated decision unchanged. For each explicitly resolved item whose current disposition is `deferred`, preserve the prior item unchanged except for setting its disposition to `superseded`; append a new replacement whose ID is fresh and unique in the ledger, whose authority is `author`, whose disposition is `locked`, and whose `supersedes` field names the prior item. Set the replacement's `recorded_at` to the actual resolution time, increment the decision-record revision, and set the record's `updated_at` to that same actual resolution time. Never supersede a locked choice or treat an agent suggestion or approval of an unrelated outline detail as authority to resolve a decision. If the author resolves no choice, do not rewrite the decision record.
38
38
  3. Present the complete outline and decision diffs at the confirm_outline gate. If the proposed outline contradicts a locked decision, preserve that decision as locked and unchanged. If it assumes a choice that was already deferred and the author did not resolve it, preserve that choice as deferred. In either case, record a non-passing validation and stop before downstream planning.
39
39
  4. Balance the budget before the gate: Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
40
- 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. Preserve stable record and section IDs and verify the complete approved set after writing.
40
+ 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. A new section record starts at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists; the action that writes a context, research, plan, review, summary, or handoff file links it. Give every claim an ID that no other claim in the project holds. Preserve stable record and section IDs and verify the complete approved set after writing.
41
41
 
42
42
  ## Safety and completion
43
43
 
@@ -4,7 +4,7 @@ display-only: true
4
4
  ---
5
5
 
6
6
  ```text
7
- WTF-P 0.9.0 on PanCode: evidence-grounded academic writing
7
+ WTF-P 0.9.1 on PanCode: evidence-grounded academic writing
8
8
 
9
9
  Start here
10
10
  /wtfp:new-paper [input]
@@ -35,7 +35,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
35
35
 
36
36
  1. Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
37
37
  2. Preview impacts on outline ordering, dependencies, section totals, and current position; require approval. Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
38
- 3. Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
38
+ 3. Create the section record at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists and claim IDs no other claim in the project holds, and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
39
39
 
40
40
  ## Safety and completion
41
41
 
@@ -33,7 +33,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
33
33
  ## Procedure
34
34
 
35
35
  1. Reconcile current state, decisions, outline revision, section plan, manuscript, summary, reviews, and validations; identify completed work, pending work, blockers, and the next action.
36
- 2. Write a Markdown handoff artifact for narrative continuity plus a human-action checkpoint for machine-readable resumption.
36
+ 2. Write a Markdown handoff artifact for narrative continuity plus a blocking human-action checkpoint for machine-readable resumption. Give the checkpoint an option with id `resume`, which returns `state.status` to `active` when the author selects it, and an option with id `expire`, which closes the checkpoint and leaves the project paused.
37
37
  3. Link the handoff from `section.artifacts.handoff` and the checkpoint from `section.checkpoint_uris`, then set `state.status` to `paused` and link the checkpoint from `state.active_checkpoint_uris`. Preserve `state.phase`, progress, and current section; pausing changes status, checkpoint linkage, revision, and timestamp only. `paused` is a status and is never a phase. Do not commit automatically.
38
38
 
39
39
  ## Safety and completion
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  description: "Remove an unwritten future section and repair numbering and dependencies."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `remove-section`
@@ -11,5 +13,6 @@ Unavailable effects: `filesystem.delete`
11
13
 
12
14
  No workflow, tool, network request, package operation, external issue, VCS operation, or other effect ran.
13
15
  Safe alternative: preserve project state and return a manual, non-executed handoff for the requested operation.
16
+ ```
14
17
 
15
18
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/remove-section; do not edit. -->
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  description: "Collect a reproducible bug report and publish it only after explicit user approval."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `report-bug`
@@ -11,5 +13,6 @@ Unavailable effects: `external.issue`
11
13
 
12
14
  No workflow, tool, network request, package operation, external issue, VCS operation, or other effect ran.
13
15
  Safe alternative: preserve project state and return a manual, non-executed handoff for the requested operation.
16
+ ```
14
17
 
15
18
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/report-bug; do not edit. -->
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  description: "Shape a concrete feature request and publish it only after explicit user approval."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `request-feature`
@@ -11,5 +13,6 @@ Unavailable effects: `external.issue`
11
13
 
12
14
  No workflow, tool, network request, package operation, external issue, VCS operation, or other effect ran.
13
15
  Safe alternative: preserve project state and return a manual, non-executed handoff for the requested operation.
16
+ ```
14
17
 
15
18
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/request-feature; do not edit. -->
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  description: "Check for a newer compatible package or plugin release and install it only after approval."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `update`
@@ -11,5 +13,6 @@ Unavailable effects: `package.update`
11
13
 
12
14
  No workflow, tool, network request, package operation, external issue, VCS operation, or other effect ran.
13
15
  Safe alternative: preserve project state and return a manual, non-executed handoff for the requested operation.
16
+ ```
14
17
 
15
18
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/update; do not edit. -->
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "wtfp",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "Portable, evidence-grounded academic research and writing workflows.",
6
6
  "author": {
7
7
  "name": "akougkas"
@@ -25,7 +25,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
25
25
  2. Reconcile only choices the author explicitly resolves during the outline interview. Preserve every unrelated decision unchanged. For each explicitly resolved item whose current disposition is `deferred`, preserve the prior item unchanged except for setting its disposition to `superseded`; append a new replacement whose ID is fresh and unique in the ledger, whose authority is `author`, whose disposition is `locked`, and whose `supersedes` field names the prior item. Set the replacement's `recorded_at` to the actual resolution time, increment the decision-record revision, and set the record's `updated_at` to that same actual resolution time. Never supersede a locked choice or treat an agent suggestion or approval of an unrelated outline detail as authority to resolve a decision. If the author resolves no choice, do not rewrite the decision record.
26
26
  3. Present the complete outline and decision diffs at the confirm_outline gate. If the proposed outline contradicts a locked decision, preserve that decision as locked and unchanged. If it assumes a choice that was already deferred and the author did not resolve it, preserve that choice as deferred. In either case, record a non-passing validation and stop before downstream planning.
27
27
  4. Balance the budget before the gate: Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
28
- 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. Preserve stable record and section IDs and verify the complete approved set after writing.
28
+ 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. A new section record starts at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists; the action that writes a context, research, plan, review, summary, or handoff file links it. Give every claim an ID that no other claim in the project holds. Preserve stable record and section IDs and verify the complete approved set after writing.
29
29
 
30
30
  ## Safety and completion
31
31
 
@@ -23,7 +23,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
23
23
 
24
24
  1. Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
25
25
  2. Preview impacts on outline ordering, dependencies, section totals, and current position; require approval. Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
26
- 3. Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
26
+ 3. Create the section record at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists and claim IDs no other claim in the project holds, and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
27
27
 
28
28
  ## Safety and completion
29
29
 
@@ -22,7 +22,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
22
22
  ## Procedure
23
23
 
24
24
  1. Reconcile current state, decisions, outline revision, section plan, manuscript, summary, reviews, and validations; identify completed work, pending work, blockers, and the next action.
25
- 2. Write a Markdown handoff artifact for narrative continuity plus a human-action checkpoint for machine-readable resumption.
25
+ 2. Write a Markdown handoff artifact for narrative continuity plus a blocking human-action checkpoint for machine-readable resumption. Give the checkpoint an option with id `resume`, which returns `state.status` to `active` when the author selects it, and an option with id `expire`, which closes the checkpoint and leaves the project paused.
26
26
  3. Link the handoff from `section.artifacts.handoff` and the checkpoint from `section.checkpoint_uris`, then set `state.status` to `paused` and link the checkpoint from `state.active_checkpoint_uris`. Preserve `state.phase`, progress, and current section; pausing changes status, checkpoint linkage, revision, and timestamp only. `paused` is a status and is never a phase. Do not commit automatically.
27
27
 
28
28
  ## Safety and completion