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,100 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "plan-section",
4
+ "title": "Plan a section",
5
+ "description": "Create and independently check a detailed writing plan for one section.",
6
+ "alias": "wtfp:plan-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/plan-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "A target section exists in project://structure/outline and has a matching v1 section record",
21
+ "Exactly one applicable current validation exists with subject_uri project://structure/outline, action_id create-outline, and executed_at greater than or equal to the outline updated_at, and that validation has status passed",
22
+ "project://structure/outline and the target project://sections/{section} record are consistent with all current locked and deferred choices in project://decisions"
23
+ ]
24
+ },
25
+ "reads": [
26
+ "project://manifest",
27
+ "project://config",
28
+ "project://state",
29
+ "project://decisions",
30
+ "project://structure/outline",
31
+ "project://validations/*",
32
+ "project://sections/{section}",
33
+ "project://sections/{section}/context",
34
+ "project://sections/{section}/research",
35
+ "project://sections/{section}/summary",
36
+ "project://sources/{source}",
37
+ "project://evidence/{evidence}"
38
+ ],
39
+ "produces": [
40
+ {
41
+ "uri": "project://sections/{section}/plans/{plan}",
42
+ "mode": "create"
43
+ },
44
+ {
45
+ "uri": "project://validations/{validation}",
46
+ "mode": "create"
47
+ },
48
+ {
49
+ "uri": "project://checkpoints/{checkpoint}",
50
+ "mode": "create"
51
+ },
52
+ {
53
+ "uri": "project://sections/{section}",
54
+ "mode": "update"
55
+ },
56
+ {
57
+ "uri": "project://state",
58
+ "mode": "update"
59
+ }
60
+ ],
61
+ "delegation": [
62
+ {
63
+ "role": "section-planner",
64
+ "mode": "required",
65
+ "purpose": "Create an executable plan grounded in project intent and evidence"
66
+ },
67
+ {
68
+ "role": "plan-checker",
69
+ "mode": "required",
70
+ "purpose": "Check plan completeness, traceability, and feasibility before approval"
71
+ }
72
+ ],
73
+ "tools": [],
74
+ "effects": [
75
+ {
76
+ "id": "agent.delegate",
77
+ "scope": "role://section-planner, role://plan-checker"
78
+ },
79
+ {
80
+ "id": "filesystem.create",
81
+ "scope": "project://sections/{section}/plans/{plan}, project://validations/{validation}, project://checkpoints/{checkpoint}"
82
+ },
83
+ {
84
+ "id": "filesystem.modify",
85
+ "scope": "project://sections/{section}, project://state"
86
+ },
87
+ {
88
+ "id": "filesystem.read",
89
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://validations/*, project://sections/{section}, project://sections/{section}/context, project://sections/{section}/research, project://sections/{section}/summary, project://sources/{source}, project://evidence/{evidence}"
90
+ },
91
+ {
92
+ "id": "filesystem.write",
93
+ "scope": "project://sections/{section}/plans/{plan}, project://validations/{validation}, project://checkpoints/{checkpoint}, project://sections/{section}, project://state"
94
+ },
95
+ {
96
+ "id": "user.gate",
97
+ "scope": "plan approval, verifier exceptions, and recovery checkpoint approval after complete preview"
98
+ }
99
+ ]
100
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "polish-prose",
4
+ "title": "Polish prose",
5
+ "description": "Improve clarity, flow, precision, and academic voice without changing supported claims.",
6
+ "alias": "wtfp:polish-prose",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-review-manuscript"
10
+ },
11
+ "workflow": "wtfp://workflows/polish-prose",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The selected prose target exists"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://config",
26
+ "project://decisions",
27
+ "project://paper/{artifact}"
28
+ ],
29
+ "produces": [
30
+ {
31
+ "uri": "project://paper/{artifact}",
32
+ "mode": "update"
33
+ },
34
+ {
35
+ "uri": "project://validations/{validation}",
36
+ "mode": "create"
37
+ }
38
+ ],
39
+ "delegation": [
40
+ {
41
+ "role": "prose-polisher",
42
+ "mode": "required",
43
+ "purpose": "Revise prose while preserving factual content, citations, and author voice"
44
+ }
45
+ ],
46
+ "tools": [],
47
+ "effects": [
48
+ {
49
+ "id": "agent.delegate",
50
+ "scope": "role://prose-polisher"
51
+ },
52
+ {
53
+ "id": "filesystem.create",
54
+ "scope": "project://validations/{validation}"
55
+ },
56
+ {
57
+ "id": "filesystem.modify",
58
+ "scope": "project://paper/{artifact}"
59
+ },
60
+ {
61
+ "id": "filesystem.read",
62
+ "scope": "project://manifest, project://config, project://decisions, project://paper/{artifact}"
63
+ },
64
+ {
65
+ "id": "user.gate",
66
+ "scope": "proposed substantive changes"
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "progress",
4
+ "title": "Show project progress",
5
+ "description": "Summarize writing progress, surface blockers, and recommend the next compatible action.",
6
+ "alias": "wtfp:progress",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-manage-project"
10
+ },
11
+ "workflow": "wtfp://workflows/progress",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "user.interaction"
16
+ ],
17
+ "conditions": [
18
+ "Portable project state has been initialized"
19
+ ]
20
+ },
21
+ "reads": [
22
+ "project://manifest",
23
+ "project://config",
24
+ "project://state",
25
+ "project://decisions",
26
+ "project://structure/outline",
27
+ "project://sections/{section}",
28
+ "project://sections/{section}/plans/{plan}",
29
+ "project://sections/{section}/reviews/{review}",
30
+ "project://sections/{section}/summary",
31
+ "project://sections/{section}/handoff",
32
+ "project://sources/{source}",
33
+ "project://evidence/{evidence}",
34
+ "project://checkpoints/{checkpoint}",
35
+ "project://validations/{validation}",
36
+ "project://paper/{artifact}"
37
+ ],
38
+ "produces": [],
39
+ "delegation": [],
40
+ "tools": [],
41
+ "effects": [
42
+ {
43
+ "id": "filesystem.read",
44
+ "scope": "project://manifest, project://config, 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://sources/{source}, project://evidence/{evidence}, project://checkpoints/{checkpoint}, project://validations/{validation}, project://paper/{artifact}"
45
+ },
46
+ {
47
+ "id": "user.gate",
48
+ "scope": "selection of the recommended next action"
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "quick",
4
+ "title": "Make a quick writing change",
5
+ "description": "Apply a small, bounded writing fix with minimal planning overhead and state tracking.",
6
+ "alias": "wtfp:quick",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-write-section"
10
+ },
11
+ "workflow": "wtfp://workflows/quick",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The requested change is small and has a clear target"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://state",
26
+ "project://decisions",
27
+ "project://sections/{section}",
28
+ "project://paper/{artifact}"
29
+ ],
30
+ "produces": [
31
+ {
32
+ "uri": "project://paper/{artifact}",
33
+ "mode": "update"
34
+ },
35
+ {
36
+ "uri": "project://sections/{section}",
37
+ "mode": "update"
38
+ },
39
+ {
40
+ "uri": "project://state",
41
+ "mode": "update"
42
+ }
43
+ ],
44
+ "delegation": [
45
+ {
46
+ "role": "section-writer",
47
+ "mode": "optional",
48
+ "purpose": "Handle a bounded change that still benefits from a fresh writing context"
49
+ }
50
+ ],
51
+ "tools": [],
52
+ "effects": [
53
+ {
54
+ "id": "agent.delegate",
55
+ "scope": "role://section-writer when needed"
56
+ },
57
+ {
58
+ "id": "filesystem.modify",
59
+ "scope": "the user-approved writing target and project state"
60
+ },
61
+ {
62
+ "id": "filesystem.read",
63
+ "scope": "project://manifest, project://state, project://decisions, project://sections/{section}, project://paper/{artifact}"
64
+ },
65
+ {
66
+ "id": "user.gate",
67
+ "scope": "ambiguous target or change intent"
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "remove-section",
4
+ "title": "Remove a section",
5
+ "description": "Remove an unwritten future section and repair numbering and dependencies.",
6
+ "alias": "wtfp:remove-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-plan-section"
10
+ },
11
+ "workflow": "wtfp://workflows/remove-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.delete",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The selected section exists",
21
+ "The selected section has not been drafted"
22
+ ]
23
+ },
24
+ "reads": [
25
+ "project://structure/outline",
26
+ "project://state",
27
+ "project://sections/{section}"
28
+ ],
29
+ "produces": [
30
+ {
31
+ "uri": "project://structure/outline",
32
+ "mode": "update"
33
+ },
34
+ {
35
+ "uri": "project://state",
36
+ "mode": "update"
37
+ },
38
+ {
39
+ "uri": "project://sections/{section}",
40
+ "mode": "delete"
41
+ }
42
+ ],
43
+ "delegation": [],
44
+ "tools": [],
45
+ "effects": [
46
+ {
47
+ "id": "filesystem.delete",
48
+ "scope": "selected unwritten section artifacts"
49
+ },
50
+ {
51
+ "id": "filesystem.modify",
52
+ "scope": "project://structure/outline, project://state, project://sections/{section}"
53
+ },
54
+ {
55
+ "id": "filesystem.read",
56
+ "scope": "project://structure/outline, project://state, project://sections/{section}"
57
+ },
58
+ {
59
+ "id": "user.gate",
60
+ "scope": "section deletion and renumbering"
61
+ }
62
+ ]
63
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "report-bug",
4
+ "title": "Report a WTF-P bug",
5
+ "description": "Collect a reproducible bug report and publish it only after explicit user approval.",
6
+ "alias": "wtfp:report-bug",
7
+ "surface": {
8
+ "kind": "operations",
9
+ "operation": "product-operations"
10
+ },
11
+ "requirements": {
12
+ "capabilities": [
13
+ "external.issue",
14
+ "filesystem.read",
15
+ "network.fetch",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The user explicitly requested a bug report"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "package://metadata",
24
+ "project://state"
25
+ ],
26
+ "produces": [],
27
+ "delegation": [],
28
+ "tools": [],
29
+ "effects": [
30
+ {
31
+ "id": "external.issue",
32
+ "scope": "the configured WTF-P issue tracker"
33
+ },
34
+ {
35
+ "id": "filesystem.read",
36
+ "scope": "package://metadata, project://state"
37
+ },
38
+ {
39
+ "id": "network.fetch",
40
+ "scope": "issue template and duplicate metadata"
41
+ },
42
+ {
43
+ "id": "user.gate",
44
+ "scope": "the exact issue body before publication"
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "request-feature",
4
+ "title": "Request a WTF-P feature",
5
+ "description": "Shape a concrete feature request and publish it only after explicit user approval.",
6
+ "alias": "wtfp:request-feature",
7
+ "surface": {
8
+ "kind": "operations",
9
+ "operation": "product-operations"
10
+ },
11
+ "requirements": {
12
+ "capabilities": [
13
+ "external.issue",
14
+ "filesystem.read",
15
+ "network.fetch",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The user explicitly requested a feature proposal"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "package://metadata",
24
+ "protocol://catalog.json"
25
+ ],
26
+ "produces": [],
27
+ "delegation": [],
28
+ "tools": [],
29
+ "effects": [
30
+ {
31
+ "id": "external.issue",
32
+ "scope": "the configured WTF-P issue tracker"
33
+ },
34
+ {
35
+ "id": "filesystem.read",
36
+ "scope": "package://metadata, protocol://catalog.json"
37
+ },
38
+ {
39
+ "id": "network.fetch",
40
+ "scope": "feature template and duplicate metadata"
41
+ },
42
+ {
43
+ "id": "user.gate",
44
+ "scope": "the exact issue body before publication"
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,102 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "research-gap",
4
+ "title": "Research a section gap",
5
+ "description": "Synthesize literature, domain conventions, open gaps, and defensible positioning for a section.",
6
+ "alias": "wtfp:research-gap",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-research-literature"
10
+ },
11
+ "workflow": "wtfp://workflows/research-gap",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "network.fetch",
18
+ "network.search",
19
+ "tool.execute",
20
+ "user.interaction"
21
+ ],
22
+ "conditions": [
23
+ "A target section is identifiable in project://structure/outline"
24
+ ]
25
+ },
26
+ "reads": [
27
+ "project://manifest",
28
+ "project://config",
29
+ "project://decisions",
30
+ "project://structure/outline",
31
+ "project://sections/{section}",
32
+ "project://sections/{section}/context",
33
+ "project://sources/{source}",
34
+ "project://evidence/{evidence}"
35
+ ],
36
+ "produces": [
37
+ {
38
+ "uri": "project://sources/{source}",
39
+ "mode": "create"
40
+ },
41
+ {
42
+ "uri": "project://evidence/{evidence}",
43
+ "mode": "create"
44
+ },
45
+ {
46
+ "uri": "project://sections/{section}/research",
47
+ "mode": "create"
48
+ },
49
+ {
50
+ "uri": "project://sections/{section}",
51
+ "mode": "update"
52
+ }
53
+ ],
54
+ "delegation": [
55
+ {
56
+ "role": "research-synthesizer",
57
+ "mode": "required",
58
+ "purpose": "Synthesize existing and newly discovered evidence into a section research brief"
59
+ }
60
+ ],
61
+ "tools": [
62
+ "bibliography.index",
63
+ "citation.fetch",
64
+ "citation.rank",
65
+ "citation.scholar-lookup",
66
+ "citation.semantic-scholar"
67
+ ],
68
+ "effects": [
69
+ {
70
+ "id": "agent.delegate",
71
+ "scope": "role://research-synthesizer"
72
+ },
73
+ {
74
+ "id": "filesystem.create",
75
+ "scope": "project://sources/{source}, project://evidence/{evidence}, project://sections/{section}/research"
76
+ },
77
+ {
78
+ "id": "filesystem.modify",
79
+ "scope": "project://sections/{section}"
80
+ },
81
+ {
82
+ "id": "filesystem.read",
83
+ "scope": "project://manifest, project://config, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sources/{source}, project://evidence/{evidence}"
84
+ },
85
+ {
86
+ "id": "network.fetch",
87
+ "scope": "selected scholarly records"
88
+ },
89
+ {
90
+ "id": "network.search",
91
+ "scope": "declared scholarly indexes"
92
+ },
93
+ {
94
+ "id": "tool.execute",
95
+ "scope": "declared bibliography and citation tools through tools/wtfp-tool.js"
96
+ },
97
+ {
98
+ "id": "user.gate",
99
+ "scope": "unapproved or paid external providers and bounded query set, plus author-owned research scope and depth decisions"
100
+ }
101
+ ]
102
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "resume-writing",
4
+ "title": "Resume writing",
5
+ "description": "Restore the latest portable handoff and route the researcher to the next safe action.",
6
+ "alias": "wtfp:resume-writing",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-manage-project"
10
+ },
11
+ "workflow": "wtfp://workflows/resume-writing",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "Portable project state or a session handoff exists",
20
+ "Every declared resume input is read and validated in the current invocation before options are presented",
21
+ "A host-native user gate returns one exact checkpoint option in the current invocation before any checkpoint or state mutation"
22
+ ]
23
+ },
24
+ "reads": [
25
+ "project://manifest",
26
+ "project://config",
27
+ "project://state",
28
+ "project://decisions",
29
+ "project://structure/outline",
30
+ "project://checkpoints/{checkpoint}",
31
+ "project://sections/{section}",
32
+ "project://sections/{section}/plans/{plan}",
33
+ "project://sections/{section}/reviews/{review}",
34
+ "project://sections/{section}/handoff",
35
+ "project://sections/{section}/summary",
36
+ "project://validations/{validation}",
37
+ "project://paper/{artifact}"
38
+ ],
39
+ "produces": [
40
+ {
41
+ "uri": "project://checkpoints/{checkpoint}",
42
+ "mode": "update"
43
+ },
44
+ {
45
+ "uri": "project://state",
46
+ "mode": "update"
47
+ }
48
+ ],
49
+ "delegation": [],
50
+ "tools": [],
51
+ "effects": [
52
+ {
53
+ "id": "filesystem.read",
54
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://checkpoints/{checkpoint}, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/handoff, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}"
55
+ },
56
+ {
57
+ "id": "filesystem.write",
58
+ "scope": "project://checkpoints/{checkpoint}, project://state"
59
+ },
60
+ {
61
+ "id": "user.gate",
62
+ "scope": "selection of the resumed action"
63
+ }
64
+ ]
65
+ }