wtf-p 0.7.3 → 0.8.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.
Files changed (241) hide show
  1. package/README.md +16 -12
  2. package/bin/commands/install-logic.js +1 -1
  3. package/bin/lib/adapter-compiler.js +175 -56
  4. package/bin/lib/clio-registration.js +127 -36
  5. package/bin/lib/manifest.js +11 -3
  6. package/bin/uninstall.js +3 -2
  7. package/package.json +1 -1
  8. package/protocol/actions/research-gap.json +1 -1
  9. package/protocol/roles/research-synthesizer.md +1 -1
  10. package/protocol/skills/wtfp-plan-section/references/actions.md +1 -1
  11. package/protocol/skills/wtfp-research-literature/references/actions.md +1 -1
  12. package/protocol/skills/wtfp-write-section/references/actions.md +1 -1
  13. package/protocol/workflows/plan-section.md +3 -2
  14. package/protocol/workflows/research-gap.md +2 -2
  15. package/protocol/workflows/write-section.md +1 -1
  16. package/vendors/antigravity/.wtfp-generated.json +18 -14
  17. package/vendors/antigravity/actions/research-gap.json +1 -1
  18. package/vendors/antigravity/agents/wtfp-research-synthesizer.md +1 -1
  19. package/vendors/antigravity/commands/wtfp-plan-section.md +3 -2
  20. package/vendors/antigravity/commands/wtfp-write-section.md +1 -1
  21. package/vendors/antigravity/plugin.json +1 -1
  22. package/vendors/antigravity/roles/research-synthesizer.md +1 -1
  23. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +1 -1
  24. package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +1 -1
  25. package/vendors/antigravity/skills/wtfp-write-section/references/actions.md +1 -1
  26. package/vendors/antigravity/tools/README.md +1 -1
  27. package/vendors/antigravity/tools/package.json +1 -0
  28. package/vendors/antigravity/workflows/plan-section.md +3 -2
  29. package/vendors/antigravity/workflows/research-gap.md +2 -2
  30. package/vendors/antigravity/workflows/write-section.md +1 -1
  31. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  32. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  33. package/vendors/claude/.wtfp-generated.json +33 -29
  34. package/vendors/claude/actions/research-gap.json +1 -1
  35. package/vendors/claude/agents/wtfp-research-synthesizer.md +1 -1
  36. package/vendors/claude/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +1 -1
  37. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +2 -0
  38. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +2 -0
  39. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +2 -0
  40. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +2 -0
  41. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +1 -1
  42. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +5 -2
  43. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +2 -0
  44. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +2 -0
  45. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +8 -2
  46. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +2 -0
  47. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +3 -1
  48. package/vendors/claude/commands/plan-section.md +3 -2
  49. package/vendors/claude/commands/research-gap.md +2 -2
  50. package/vendors/claude/commands/write-section.md +1 -1
  51. package/vendors/claude/plugin.json +1 -1
  52. package/vendors/claude/roles/research-synthesizer.md +1 -1
  53. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +1 -1
  54. package/vendors/claude/skills/wtfp-research-literature/references/actions.md +1 -1
  55. package/vendors/claude/skills/wtfp-write-section/references/actions.md +1 -1
  56. package/vendors/claude/tools/README.md +1 -1
  57. package/vendors/claude/tools/package.json +1 -0
  58. package/vendors/claude/workflows/plan-section.md +3 -2
  59. package/vendors/claude/workflows/research-gap.md +2 -2
  60. package/vendors/claude/workflows/write-section.md +1 -1
  61. package/vendors/clio-extension/.wtfp-generated.json +228 -0
  62. package/vendors/clio-extension/actions/add-todo.json +52 -0
  63. package/vendors/clio-extension/actions/analyze-bib.json +97 -0
  64. package/vendors/clio-extension/actions/audit-milestone.json +63 -0
  65. package/vendors/clio-extension/actions/check-refs.json +80 -0
  66. package/vendors/clio-extension/actions/check-todos.json +52 -0
  67. package/vendors/clio-extension/actions/checkpoint.json +76 -0
  68. package/vendors/clio-extension/actions/contribute.json +57 -0
  69. package/vendors/clio-extension/actions/create-outline.json +84 -0
  70. package/vendors/clio-extension/actions/create-poster.json +54 -0
  71. package/vendors/clio-extension/actions/create-slides.json +54 -0
  72. package/vendors/clio-extension/actions/discuss-section.json +76 -0
  73. package/vendors/clio-extension/actions/execute-outline.json +116 -0
  74. package/vendors/clio-extension/actions/export-latex.json +65 -0
  75. package/vendors/clio-extension/actions/help.json +30 -0
  76. package/vendors/clio-extension/actions/insert-section.json +61 -0
  77. package/vendors/clio-extension/actions/list-assumptions.json +35 -0
  78. package/vendors/clio-extension/actions/map-project.json +71 -0
  79. package/vendors/clio-extension/actions/new-paper.json +70 -0
  80. package/vendors/clio-extension/actions/pause-writing.json +71 -0
  81. package/vendors/clio-extension/actions/plan-milestone-gaps.json +57 -0
  82. package/vendors/clio-extension/actions/plan-revision.json +58 -0
  83. package/vendors/clio-extension/actions/plan-section.json +100 -0
  84. package/vendors/clio-extension/actions/polish-prose.json +69 -0
  85. package/vendors/clio-extension/actions/progress.json +51 -0
  86. package/vendors/clio-extension/actions/quick.json +70 -0
  87. package/vendors/clio-extension/actions/remove-section.json +63 -0
  88. package/vendors/clio-extension/actions/report-bug.json +47 -0
  89. package/vendors/clio-extension/actions/request-feature.json +47 -0
  90. package/vendors/clio-extension/actions/research-gap.json +102 -0
  91. package/vendors/clio-extension/actions/resume-writing.json +65 -0
  92. package/vendors/clio-extension/actions/review-section.json +83 -0
  93. package/vendors/clio-extension/actions/settings.json +47 -0
  94. package/vendors/clio-extension/actions/submit-milestone.json +77 -0
  95. package/vendors/clio-extension/actions/update.json +42 -0
  96. package/vendors/clio-extension/actions/verify-work.json +63 -0
  97. package/vendors/clio-extension/actions/write-section.json +115 -0
  98. package/vendors/clio-extension/clio-coder-extension.yaml +53 -0
  99. package/vendors/clio-extension/compatibility/action-availability.json +295 -0
  100. package/vendors/clio-extension/project/schemas/checkpoint.schema.json +102 -0
  101. package/vendors/clio-extension/project/schemas/common.schema.json +33 -0
  102. package/vendors/clio-extension/project/schemas/config.schema.json +69 -0
  103. package/vendors/clio-extension/project/schemas/decisions.schema.json +31 -0
  104. package/vendors/clio-extension/project/schemas/evidence.schema.json +48 -0
  105. package/vendors/clio-extension/project/schemas/manifest.schema.json +102 -0
  106. package/vendors/clio-extension/project/schemas/outline.schema.json +67 -0
  107. package/vendors/clio-extension/project/schemas/section.schema.json +95 -0
  108. package/vendors/clio-extension/project/schemas/source.schema.json +73 -0
  109. package/vendors/clio-extension/project/schemas/state.schema.json +58 -0
  110. package/vendors/clio-extension/project/schemas/validation.schema.json +74 -0
  111. package/vendors/clio-extension/runtime/extension.test.ts +248 -0
  112. package/vendors/clio-extension/runtime/extension.ts +1321 -0
  113. package/vendors/clio-extension/runtime/json-schema.cjs +304 -0
  114. package/vendors/clio-extension/runtime/package.json +3 -0
  115. package/vendors/clio-extension/runtime/write-guard.json +21 -0
  116. package/vendors/clio-extension/skins/wtfp.json +20 -0
  117. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  118. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +17 -13
  119. package/vendors/codex/plugins/wtfp/actions/research-gap.json +1 -1
  120. package/vendors/codex/plugins/wtfp/agents/wtfp-research-synthesizer.toml +1 -1
  121. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  122. package/vendors/codex/plugins/wtfp/roles/research-synthesizer.md +1 -1
  123. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  124. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  125. package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  126. package/vendors/codex/plugins/wtfp/tools/README.md +1 -1
  127. package/vendors/codex/plugins/wtfp/tools/package.json +1 -0
  128. package/vendors/codex/plugins/wtfp/workflows/plan-section.md +3 -2
  129. package/vendors/codex/plugins/wtfp/workflows/research-gap.md +2 -2
  130. package/vendors/codex/plugins/wtfp/workflows/write-section.md +1 -1
  131. package/vendors/copilot/.wtfp-generated.json +14 -14
  132. package/vendors/copilot/marketplace.json +2 -2
  133. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  134. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +18 -14
  135. package/vendors/copilot/plugins/wtfp/actions/research-gap.json +1 -1
  136. package/vendors/copilot/plugins/wtfp/agents/wtfp-research-synthesizer.md +1 -1
  137. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +3 -2
  138. package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +1 -1
  139. package/vendors/copilot/plugins/wtfp/roles/research-synthesizer.md +1 -1
  140. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  141. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  142. package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  143. package/vendors/copilot/plugins/wtfp/tools/README.md +1 -1
  144. package/vendors/copilot/plugins/wtfp/tools/package.json +1 -0
  145. package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +3 -2
  146. package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +2 -2
  147. package/vendors/copilot/plugins/wtfp/workflows/write-section.md +1 -1
  148. package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +1 -1
  149. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +1 -1
  150. package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +1 -1
  151. package/vendors/copilot/project/.github/skills/wtfp-write-section/references/actions.md +1 -1
  152. package/vendors/copilot/project/.github/wtfp/actions/research-gap.json +1 -1
  153. package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +1 -1
  154. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  155. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  156. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  157. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +3 -2
  158. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +2 -2
  159. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +1 -1
  160. package/vendors/gemini/.wtfp-generated.json +24 -20
  161. package/vendors/gemini/actions/research-gap.json +1 -1
  162. package/vendors/gemini/agents/wtfp-research-synthesizer.md +1 -1
  163. package/vendors/gemini/commands/wtfp/discuss-section.toml +1 -1
  164. package/vendors/gemini/commands/wtfp/execute-outline.toml +1 -1
  165. package/vendors/gemini/commands/wtfp/insert-section.toml +1 -1
  166. package/vendors/gemini/commands/wtfp/list-assumptions.toml +1 -1
  167. package/vendors/gemini/commands/wtfp/plan-revision.toml +1 -1
  168. package/vendors/gemini/commands/wtfp/plan-section.toml +4 -3
  169. package/vendors/gemini/commands/wtfp/quick.toml +1 -1
  170. package/vendors/gemini/commands/wtfp/write-section.toml +2 -2
  171. package/vendors/gemini/gemini-extension.json +1 -1
  172. package/vendors/gemini/roles/research-synthesizer.md +1 -1
  173. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +1 -1
  174. package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +1 -1
  175. package/vendors/gemini/skills/wtfp-write-section/references/actions.md +1 -1
  176. package/vendors/gemini/tools/README.md +1 -1
  177. package/vendors/gemini/tools/package.json +1 -0
  178. package/vendors/gemini/workflows/plan-section.md +3 -2
  179. package/vendors/gemini/workflows/research-gap.md +2 -2
  180. package/vendors/gemini/workflows/write-section.md +1 -1
  181. package/vendors/opencode/.wtfp-generated.json +23 -19
  182. package/vendors/opencode/actions/research-gap.json +1 -1
  183. package/vendors/opencode/agents/wtfp/research-synthesizer.md +1 -1
  184. package/vendors/opencode/commands/wtfp/discuss-section.md +1 -1
  185. package/vendors/opencode/commands/wtfp/execute-outline.md +1 -1
  186. package/vendors/opencode/commands/wtfp/insert-section.md +1 -1
  187. package/vendors/opencode/commands/wtfp/list-assumptions.md +1 -1
  188. package/vendors/opencode/commands/wtfp/plan-revision.md +1 -1
  189. package/vendors/opencode/commands/wtfp/plan-section.md +4 -3
  190. package/vendors/opencode/commands/wtfp/quick.md +1 -1
  191. package/vendors/opencode/commands/wtfp/write-section.md +2 -2
  192. package/vendors/opencode/roles/research-synthesizer.md +1 -1
  193. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +1 -1
  194. package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +1 -1
  195. package/vendors/opencode/skills/wtfp-write-section/references/actions.md +1 -1
  196. package/vendors/opencode/tools/README.md +1 -1
  197. package/vendors/opencode/tools/package.json +1 -0
  198. package/vendors/opencode/workflows/plan-section.md +3 -2
  199. package/vendors/opencode/workflows/research-gap.md +2 -2
  200. package/vendors/opencode/workflows/write-section.md +1 -1
  201. package/vendors/plugin/.wtfp-generated.json +44 -40
  202. package/vendors/plugin/actions/research-gap.json +1 -1
  203. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +1 -1
  204. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +6 -12
  205. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +9 -19
  206. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +7 -25
  207. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +9 -15
  208. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +9 -13
  209. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +7 -27
  210. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +9 -25
  211. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +7 -17
  212. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +10 -27
  213. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +2 -2
  214. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +7 -13
  215. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +6 -14
  216. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +7 -17
  217. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +6 -18
  218. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +7 -15
  219. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +12 -29
  220. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +10 -15
  221. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +10 -15
  222. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +15 -23
  223. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +7 -23
  224. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +9 -19
  225. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +7 -9
  226. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +7 -25
  227. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +7 -15
  228. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +11 -29
  229. package/vendors/plugin/compatibility/action-availability.json +16 -1
  230. package/vendors/plugin/plugin.json +7 -7
  231. package/vendors/plugin/roles/research-synthesizer.md +1 -1
  232. package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +1 -1
  233. package/vendors/plugin/skills/wtfp-research-literature/references/actions.md +1 -1
  234. package/vendors/plugin/skills/wtfp-write-section/references/actions.md +1 -1
  235. package/vendors/plugin/tools/README.md +1 -1
  236. package/vendors/plugin/tools/package.json +1 -0
  237. package/vendors/plugin/workflows/plan-section.md +3 -2
  238. package/vendors/plugin/workflows/research-gap.md +2 -2
  239. package/vendors/plugin/workflows/write-section.md +1 -1
  240. /package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-draft-review.md +0 -0
  241. /package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-plan-section.md +0 -0
@@ -0,0 +1,116 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "execute-outline",
4
+ "title": "Execute the outline",
5
+ "description": "Draft independent section waves in parallel and verify cross-section coherence.",
6
+ "alias": "wtfp:execute-outline",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-write-section"
10
+ },
11
+ "workflow": "wtfp://workflows/execute-outline",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "agent.parallel",
16
+ "filesystem.read",
17
+ "filesystem.write",
18
+ "user.interaction"
19
+ ],
20
+ "conditions": [
21
+ "project://structure/outline defines executable section waves",
22
+ "Each scheduled section has an approved plan"
23
+ ]
24
+ },
25
+ "reads": [
26
+ "project://manifest",
27
+ "project://config",
28
+ "project://state",
29
+ "project://decisions",
30
+ "project://structure/outline",
31
+ "project://sections/{section}",
32
+ "project://sections/{section}/plans/{plan}",
33
+ "project://sections/{section}/summary",
34
+ "project://sources/{source}",
35
+ "project://evidence/{evidence}",
36
+ "project://checkpoints/{checkpoint}",
37
+ "project://paper/{artifact}"
38
+ ],
39
+ "produces": [
40
+ {
41
+ "uri": "project://paper/{artifact}",
42
+ "mode": "update"
43
+ },
44
+ {
45
+ "uri": "project://sections/{section}/summary",
46
+ "mode": "create"
47
+ },
48
+ {
49
+ "uri": "project://sections/{section}/summary",
50
+ "mode": "update"
51
+ },
52
+ {
53
+ "uri": "project://checkpoints/{checkpoint}",
54
+ "mode": "create"
55
+ },
56
+ {
57
+ "uri": "project://checkpoints/{checkpoint}",
58
+ "mode": "update"
59
+ },
60
+ {
61
+ "uri": "project://sections/{section}",
62
+ "mode": "update"
63
+ },
64
+ {
65
+ "uri": "project://state",
66
+ "mode": "update"
67
+ },
68
+ {
69
+ "uri": "project://validations/{validation}",
70
+ "mode": "create"
71
+ }
72
+ ],
73
+ "delegation": [
74
+ {
75
+ "role": "section-writer",
76
+ "mode": "parallel",
77
+ "purpose": "Draft independent sections within each declared execution wave"
78
+ },
79
+ {
80
+ "role": "coherence-checker",
81
+ "mode": "required",
82
+ "purpose": "Check terminology, transitions, argument flow, and duplication after drafting"
83
+ }
84
+ ],
85
+ "tools": [],
86
+ "effects": [
87
+ {
88
+ "id": "agent.delegate",
89
+ "scope": "role://coherence-checker"
90
+ },
91
+ {
92
+ "id": "agent.parallel",
93
+ "scope": "role://section-writer per outline wave"
94
+ },
95
+ {
96
+ "id": "filesystem.create",
97
+ "scope": "project://sections/{section}/summary, project://checkpoints/{checkpoint}, project://validations/{validation}"
98
+ },
99
+ {
100
+ "id": "filesystem.modify",
101
+ "scope": "project://paper/{artifact}, project://sections/{section}/summary, project://checkpoints/{checkpoint}, project://sections/{section}, project://state"
102
+ },
103
+ {
104
+ "id": "filesystem.read",
105
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/summary, project://sources/{source}, project://evidence/{evidence}, project://checkpoints/{checkpoint}, project://paper/{artifact}"
106
+ },
107
+ {
108
+ "id": "filesystem.write",
109
+ "scope": "declared manuscript, summary, checkpoint, validation, section, and state resources"
110
+ },
111
+ {
112
+ "id": "user.gate",
113
+ "scope": "blocking checkpoints between execution waves"
114
+ }
115
+ ]
116
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "export-latex",
4
+ "title": "Export LaTeX",
5
+ "description": "Export the manuscript and bibliography to portable LaTeX source with declared formatting.",
6
+ "alias": "wtfp:export-latex",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-deliver-research"
10
+ },
11
+ "workflow": "wtfp://workflows/export-latex",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "tool.execute",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "Manuscript source is available",
21
+ "A contained host-provided LaTeX syntax checker or compiler is configured when compilation is requested"
22
+ ]
23
+ },
24
+ "reads": [
25
+ "project://manifest",
26
+ "project://config",
27
+ "project://structure/outline",
28
+ "project://sources/{source}",
29
+ "project://evidence/{evidence}",
30
+ "project://paper/{artifact}"
31
+ ],
32
+ "produces": [
33
+ {
34
+ "uri": "project://deliverables/latex/{artifact}",
35
+ "mode": "create"
36
+ }
37
+ ],
38
+ "delegation": [],
39
+ "tools": [
40
+ "bibliography.format",
41
+ "bibliography.index"
42
+ ],
43
+ "effects": [
44
+ {
45
+ "id": "filesystem.create",
46
+ "scope": "project://deliverables/latex/{artifact}"
47
+ },
48
+ {
49
+ "id": "filesystem.read",
50
+ "scope": "project://manifest, project://config, project://structure/outline, project://sources/{source}, project://evidence/{evidence}, project://paper/{artifact}"
51
+ },
52
+ {
53
+ "id": "filesystem.write",
54
+ "scope": "portable LaTeX and bibliography outputs"
55
+ },
56
+ {
57
+ "id": "tool.execute",
58
+ "scope": "wtfp://tools/bibliography/** through tools/wtfp-tool.js"
59
+ },
60
+ {
61
+ "id": "user.gate",
62
+ "scope": "venue template and destructive output replacement"
63
+ }
64
+ ]
65
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "help",
4
+ "title": "Show WTF-P help",
5
+ "description": "Render the stable WTF-P action reference from the canonical catalog.",
6
+ "alias": "wtfp:help",
7
+ "surface": {
8
+ "kind": "operations",
9
+ "operation": "product-operations"
10
+ },
11
+ "requirements": {
12
+ "capabilities": [
13
+ "filesystem.read"
14
+ ],
15
+ "conditions": []
16
+ },
17
+ "reads": [
18
+ "protocol://catalog.json",
19
+ "protocol://actions/{action}.json"
20
+ ],
21
+ "produces": [],
22
+ "delegation": [],
23
+ "tools": [],
24
+ "effects": [
25
+ {
26
+ "id": "filesystem.read",
27
+ "scope": "protocol://catalog.json, protocol://actions/{action}.json"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "insert-section",
4
+ "title": "Insert a section",
5
+ "description": "Insert a newly discovered section while preserving established numbering and dependencies.",
6
+ "alias": "wtfp:insert-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/insert-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The insertion point exists in project://structure/outline"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://structure/outline",
24
+ "project://state",
25
+ "project://sections/{section}"
26
+ ],
27
+ "produces": [
28
+ {
29
+ "uri": "project://structure/outline",
30
+ "mode": "update"
31
+ },
32
+ {
33
+ "uri": "project://sections/{section}",
34
+ "mode": "create"
35
+ },
36
+ {
37
+ "uri": "project://state",
38
+ "mode": "update"
39
+ }
40
+ ],
41
+ "delegation": [],
42
+ "tools": [],
43
+ "effects": [
44
+ {
45
+ "id": "filesystem.create",
46
+ "scope": "project://structure/outline, project://sections/{section}, project://state"
47
+ },
48
+ {
49
+ "id": "filesystem.modify",
50
+ "scope": "project://structure/outline, project://sections/{section}, project://state"
51
+ },
52
+ {
53
+ "id": "filesystem.read",
54
+ "scope": "project://structure/outline, project://state, project://sections/{section}"
55
+ },
56
+ {
57
+ "id": "user.gate",
58
+ "scope": "section insertion and renumbering"
59
+ }
60
+ ]
61
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "list-assumptions",
4
+ "title": "List section assumptions",
5
+ "description": "Preview the intended approach and assumptions for a section without changing project files.",
6
+ "alias": "wtfp:list-assumptions",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/list-assumptions",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read"
15
+ ],
16
+ "conditions": [
17
+ "A target section is identifiable"
18
+ ]
19
+ },
20
+ "reads": [
21
+ "project://manifest",
22
+ "project://decisions",
23
+ "project://structure/outline",
24
+ "project://sections/{section}"
25
+ ],
26
+ "produces": [],
27
+ "delegation": [],
28
+ "tools": [],
29
+ "effects": [
30
+ {
31
+ "id": "filesystem.read",
32
+ "scope": "project://manifest, project://decisions, project://structure/outline, project://sections/{section}"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "map-project",
4
+ "title": "Map an existing project",
5
+ "description": "Index existing drafts, data, figures, and references into portable project state.",
6
+ "alias": "wtfp:map-project",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-start-project"
10
+ },
11
+ "workflow": "wtfp://workflows/map-project",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write"
16
+ ],
17
+ "conditions": [
18
+ "The project contains material to inventory"
19
+ ]
20
+ },
21
+ "reads": [
22
+ "project://manifest",
23
+ "project://state",
24
+ "project://materials/{artifact}",
25
+ "project://paper/{artifact}",
26
+ "project://sources/{source}",
27
+ "project://evidence/{evidence}"
28
+ ],
29
+ "produces": [
30
+ {
31
+ "uri": "project://sources/{source}",
32
+ "mode": "create"
33
+ },
34
+ {
35
+ "uri": "project://evidence/{evidence}",
36
+ "mode": "create"
37
+ },
38
+ {
39
+ "uri": "project://state",
40
+ "mode": "update"
41
+ },
42
+ {
43
+ "uri": "project://sources/{source}",
44
+ "mode": "update"
45
+ },
46
+ {
47
+ "uri": "project://evidence/{evidence}",
48
+ "mode": "update"
49
+ },
50
+ {
51
+ "uri": "project://manifest",
52
+ "mode": "update"
53
+ }
54
+ ],
55
+ "delegation": [],
56
+ "tools": [],
57
+ "effects": [
58
+ {
59
+ "id": "filesystem.create",
60
+ "scope": "project://sources/{source}, project://evidence/{evidence}"
61
+ },
62
+ {
63
+ "id": "filesystem.read",
64
+ "scope": "project://manifest, project://state, project://materials/{artifact}, project://paper/{artifact}, project://sources/{source}, project://evidence/{evidence}"
65
+ },
66
+ {
67
+ "id": "filesystem.write",
68
+ "scope": "project://sources/{source}, project://evidence/{evidence}, project://state, project://manifest"
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "new-paper",
4
+ "title": "Start a new paper",
5
+ "description": "Interview the researcher and initialize a portable WTF-P project.",
6
+ "alias": "wtfp:new-paper",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-start-project"
10
+ },
11
+ "workflow": "wtfp://workflows/new-paper",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The selected project root is writable",
20
+ "Existing project state is preserved unless the user approves reuse"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://materials/{artifact}",
26
+ "project://paper/{artifact}"
27
+ ],
28
+ "produces": [
29
+ {
30
+ "uri": "project://manifest",
31
+ "mode": "create"
32
+ },
33
+ {
34
+ "uri": "project://config",
35
+ "mode": "create"
36
+ },
37
+ {
38
+ "uri": "project://state",
39
+ "mode": "create"
40
+ },
41
+ {
42
+ "uri": "project://decisions",
43
+ "mode": "create"
44
+ },
45
+ {
46
+ "uri": "project://structure/outline",
47
+ "mode": "create"
48
+ }
49
+ ],
50
+ "delegation": [],
51
+ "tools": [],
52
+ "effects": [
53
+ {
54
+ "id": "filesystem.create",
55
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline"
56
+ },
57
+ {
58
+ "id": "filesystem.read",
59
+ "scope": "project://manifest, project://materials/{artifact}, project://paper/{artifact}"
60
+ },
61
+ {
62
+ "id": "filesystem.write",
63
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline"
64
+ },
65
+ {
66
+ "id": "user.gate",
67
+ "scope": "project initialization decisions"
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "pause-writing",
4
+ "title": "Pause writing",
5
+ "description": "Record an exact context handoff so another session can resume without reconstructing intent.",
6
+ "alias": "wtfp:pause-writing",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-manage-project"
10
+ },
11
+ "workflow": "wtfp://workflows/pause-writing",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write"
16
+ ],
17
+ "conditions": [
18
+ "Portable project state has been initialized"
19
+ ]
20
+ },
21
+ "reads": [
22
+ "project://state",
23
+ "project://decisions",
24
+ "project://structure/outline",
25
+ "project://sections/{section}",
26
+ "project://sections/{section}/plans/{plan}",
27
+ "project://sections/{section}/reviews/{review}",
28
+ "project://sections/{section}/summary",
29
+ "project://sections/{section}/handoff",
30
+ "project://validations/{validation}",
31
+ "project://paper/{artifact}"
32
+ ],
33
+ "produces": [
34
+ {
35
+ "uri": "project://sections/{section}/handoff",
36
+ "mode": "create"
37
+ },
38
+ {
39
+ "uri": "project://sections/{section}/handoff",
40
+ "mode": "update"
41
+ },
42
+ {
43
+ "uri": "project://checkpoints/{checkpoint}",
44
+ "mode": "create"
45
+ },
46
+ {
47
+ "uri": "project://sections/{section}",
48
+ "mode": "update"
49
+ },
50
+ {
51
+ "uri": "project://state",
52
+ "mode": "update"
53
+ }
54
+ ],
55
+ "delegation": [],
56
+ "tools": [],
57
+ "effects": [
58
+ {
59
+ "id": "filesystem.create",
60
+ "scope": "project://sections/{section}/handoff, project://checkpoints/{checkpoint}"
61
+ },
62
+ {
63
+ "id": "filesystem.modify",
64
+ "scope": "project://sections/{section}/handoff, project://sections/{section}, project://state"
65
+ },
66
+ {
67
+ "id": "filesystem.read",
68
+ "scope": "project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://sections/{section}/handoff, project://validations/{validation}, project://paper/{artifact}"
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "plan-milestone-gaps",
4
+ "title": "Plan milestone gap fixes",
5
+ "description": "Convert milestone audit failures into targeted, verifiable fix plans.",
6
+ "alias": "wtfp:plan-milestone-gaps",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-review-manuscript"
10
+ },
11
+ "workflow": "wtfp://workflows/plan-milestone-gaps",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "A milestone audit contains unresolved gaps"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://validations/{validation}",
24
+ "project://structure/outline",
25
+ "project://sections/{section}"
26
+ ],
27
+ "produces": [
28
+ {
29
+ "uri": "project://sections/{section}/plans/{plan}",
30
+ "mode": "create"
31
+ },
32
+ {
33
+ "uri": "project://checkpoints/{checkpoint}",
34
+ "mode": "create"
35
+ }
36
+ ],
37
+ "delegation": [],
38
+ "tools": [],
39
+ "effects": [
40
+ {
41
+ "id": "filesystem.create",
42
+ "scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}"
43
+ },
44
+ {
45
+ "id": "filesystem.read",
46
+ "scope": "project://validations/{validation}, project://structure/outline, project://sections/{section}"
47
+ },
48
+ {
49
+ "id": "filesystem.write",
50
+ "scope": "targeted milestone fix plans"
51
+ },
52
+ {
53
+ "id": "user.gate",
54
+ "scope": "fix priorities and deferred gaps"
55
+ }
56
+ ]
57
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "plan-revision",
4
+ "title": "Plan a revision",
5
+ "description": "Turn prioritized review findings into a bounded, testable revision plan.",
6
+ "alias": "wtfp:plan-revision",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/plan-revision",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "Review issues exist for the selected section"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://manifest",
24
+ "project://decisions",
25
+ "project://sections/{section}",
26
+ "project://sections/{section}/plans/{plan}",
27
+ "project://sections/{section}/reviews/{review}",
28
+ "project://sections/{section}/summary",
29
+ "project://validations/{validation}",
30
+ "project://paper/{artifact}"
31
+ ],
32
+ "produces": [
33
+ {
34
+ "uri": "project://sections/{section}/plans/{plan}",
35
+ "mode": "create"
36
+ }
37
+ ],
38
+ "delegation": [],
39
+ "tools": [],
40
+ "effects": [
41
+ {
42
+ "id": "filesystem.create",
43
+ "scope": "project://sections/{section}/plans/{plan}"
44
+ },
45
+ {
46
+ "id": "filesystem.read",
47
+ "scope": "project://manifest, project://decisions, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}"
48
+ },
49
+ {
50
+ "id": "filesystem.write",
51
+ "scope": "project://sections/{section}/plans/{plan}"
52
+ },
53
+ {
54
+ "id": "user.gate",
55
+ "scope": "revision priorities"
56
+ }
57
+ ]
58
+ }