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,83 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "review-section",
4
+ "title": "Review a section",
5
+ "description": "Review a drafted section for evidence, citations, coherence, requirements, and reader expectations.",
6
+ "alias": "wtfp:review-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-review-manuscript"
10
+ },
11
+ "workflow": "wtfp://workflows/review-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The selected section has both a plan and a draft"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://decisions",
26
+ "project://structure/outline",
27
+ "project://sections/{section}",
28
+ "project://sections/{section}/context",
29
+ "project://sections/{section}/plans/{plan}",
30
+ "project://sections/{section}/research",
31
+ "project://sections/{section}/summary",
32
+ "project://evidence/{evidence}",
33
+ "project://paper/{artifact}"
34
+ ],
35
+ "produces": [
36
+ {
37
+ "uri": "project://sections/{section}/reviews/{review}",
38
+ "mode": "create"
39
+ },
40
+ {
41
+ "uri": "project://validations/{validation}",
42
+ "mode": "create"
43
+ },
44
+ {
45
+ "uri": "project://sections/{section}",
46
+ "mode": "update"
47
+ }
48
+ ],
49
+ "delegation": [
50
+ {
51
+ "role": "section-reviewer",
52
+ "mode": "required",
53
+ "purpose": "Independently assess the section against its plan, evidence, and selected review perspective"
54
+ }
55
+ ],
56
+ "tools": [],
57
+ "effects": [
58
+ {
59
+ "id": "agent.delegate",
60
+ "scope": "role://section-reviewer"
61
+ },
62
+ {
63
+ "id": "filesystem.create",
64
+ "scope": "project://sections/{section}/reviews/{review}, project://validations/{validation}"
65
+ },
66
+ {
67
+ "id": "filesystem.modify",
68
+ "scope": "project://sections/{section}"
69
+ },
70
+ {
71
+ "id": "filesystem.read",
72
+ "scope": "project://manifest, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sections/{section}/plans/{plan}, project://sections/{section}/research, project://sections/{section}/summary, project://evidence/{evidence}, project://paper/{artifact}"
73
+ },
74
+ {
75
+ "id": "filesystem.write",
76
+ "scope": "project://sections/{section}/reviews/{review}, project://validations/{validation}, project://sections/{section}"
77
+ },
78
+ {
79
+ "id": "user.gate",
80
+ "scope": "review persona and disputed findings"
81
+ }
82
+ ]
83
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "settings",
4
+ "title": "Manage project settings",
5
+ "description": "View and update portable project settings after presenting the exact proposed diff.",
6
+ "alias": "wtfp:settings",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-manage-project"
10
+ },
11
+ "workflow": "wtfp://workflows/settings",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "Portable project state has been initialized"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://config"
24
+ ],
25
+ "produces": [
26
+ {
27
+ "uri": "project://config",
28
+ "mode": "update"
29
+ }
30
+ ],
31
+ "delegation": [],
32
+ "tools": [],
33
+ "effects": [
34
+ {
35
+ "id": "filesystem.modify",
36
+ "scope": "project://config"
37
+ },
38
+ {
39
+ "id": "filesystem.read",
40
+ "scope": "project://config"
41
+ },
42
+ {
43
+ "id": "user.gate",
44
+ "scope": "the exact settings diff"
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "submit-milestone",
4
+ "title": "Archive a milestone",
5
+ "description": "Archive a completed draft or submission round with its reproducible project state and statistics.",
6
+ "alias": "wtfp:submit-milestone",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-deliver-research"
10
+ },
11
+ "workflow": "wtfp://workflows/submit-milestone",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The milestone identifier is unique",
20
+ "The user confirms the archive contents"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://config",
26
+ "project://state",
27
+ "project://decisions",
28
+ "project://structure/outline",
29
+ "project://sections/{section}",
30
+ "project://sources/{source}",
31
+ "project://evidence/{evidence}",
32
+ "project://validations/{validation}",
33
+ "project://paper/{artifact}"
34
+ ],
35
+ "produces": [
36
+ {
37
+ "uri": "project://archives/{archive}/{artifact}",
38
+ "mode": "archive"
39
+ },
40
+ {
41
+ "uri": "project://manifest",
42
+ "mode": "update"
43
+ },
44
+ {
45
+ "uri": "project://state",
46
+ "mode": "update"
47
+ },
48
+ {
49
+ "uri": "project://validations/{validation}",
50
+ "mode": "create"
51
+ }
52
+ ],
53
+ "delegation": [],
54
+ "tools": [],
55
+ "effects": [
56
+ {
57
+ "id": "artifact.archive",
58
+ "scope": "selected paper milestone and portable project state"
59
+ },
60
+ {
61
+ "id": "filesystem.create",
62
+ "scope": "project://archives/{archive}/{artifact}, project://manifest, project://state, project://validations/{validation}"
63
+ },
64
+ {
65
+ "id": "filesystem.modify",
66
+ "scope": "project archive manifest, portable project manifest, outline, and state"
67
+ },
68
+ {
69
+ "id": "filesystem.read",
70
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sources/{source}, project://evidence/{evidence}, project://validations/{validation}, project://paper/{artifact}"
71
+ },
72
+ {
73
+ "id": "user.gate",
74
+ "scope": "milestone identifier and archive contents"
75
+ }
76
+ ]
77
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "update",
4
+ "title": "Update WTF-P",
5
+ "description": "Check for a newer compatible package or plugin release and install it only after approval.",
6
+ "alias": "wtfp:update",
7
+ "surface": {
8
+ "kind": "operations",
9
+ "operation": "product-operations"
10
+ },
11
+ "requirements": {
12
+ "capabilities": [
13
+ "network.fetch",
14
+ "package.update",
15
+ "user.interaction"
16
+ ],
17
+ "conditions": [
18
+ "The active installation target and scope are explicit"
19
+ ]
20
+ },
21
+ "reads": [
22
+ "package://metadata",
23
+ "package://installation-receipt"
24
+ ],
25
+ "produces": [],
26
+ "delegation": [],
27
+ "tools": [],
28
+ "effects": [
29
+ {
30
+ "id": "network.fetch",
31
+ "scope": "configured WTF-P release registry"
32
+ },
33
+ {
34
+ "id": "package.update",
35
+ "scope": "the explicit installation target and scope"
36
+ },
37
+ {
38
+ "id": "user.gate",
39
+ "scope": "release selection and package replacement"
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "verify-work",
4
+ "title": "Verify written work",
5
+ "description": "Test a drafted section against each plan requirement and record evidence one check at a time.",
6
+ "alias": "wtfp:verify-work",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-review-manuscript"
10
+ },
11
+ "workflow": "wtfp://workflows/verify-work",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "filesystem.read",
15
+ "filesystem.write",
16
+ "user.interaction"
17
+ ],
18
+ "conditions": [
19
+ "The selected section has an approved plan and a draft"
20
+ ]
21
+ },
22
+ "reads": [
23
+ "project://state",
24
+ "project://sections/{section}",
25
+ "project://sections/{section}/plans/{plan}",
26
+ "project://evidence/{evidence}",
27
+ "project://paper/{artifact}"
28
+ ],
29
+ "produces": [
30
+ {
31
+ "uri": "project://validations/{validation}",
32
+ "mode": "create"
33
+ },
34
+ {
35
+ "uri": "project://sections/{section}",
36
+ "mode": "update"
37
+ },
38
+ {
39
+ "uri": "project://state",
40
+ "mode": "update"
41
+ }
42
+ ],
43
+ "delegation": [],
44
+ "tools": [],
45
+ "effects": [
46
+ {
47
+ "id": "filesystem.create",
48
+ "scope": "selected section verification artifact"
49
+ },
50
+ {
51
+ "id": "filesystem.modify",
52
+ "scope": "project://validations/{validation}, project://sections/{section}, project://state"
53
+ },
54
+ {
55
+ "id": "filesystem.read",
56
+ "scope": "project://state, project://sections/{section}, project://sections/{section}/plans/{plan}, project://evidence/{evidence}, project://paper/{artifact}"
57
+ },
58
+ {
59
+ "id": "user.gate",
60
+ "scope": "each failed or disputed verification check"
61
+ }
62
+ ]
63
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "write-section",
4
+ "title": "Write a section",
5
+ "description": "Execute an approved section plan, update state, and optionally verify argument coverage.",
6
+ "alias": "wtfp:write-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-write-section"
10
+ },
11
+ "workflow": "wtfp://workflows/write-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The selected section has an executable plan"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://config",
26
+ "project://state",
27
+ "project://decisions",
28
+ "project://structure/outline",
29
+ "project://sections/{section}",
30
+ "project://sections/{section}/context",
31
+ "project://sections/{section}/research",
32
+ "project://sections/{section}/plans/{plan}",
33
+ "project://sections/{section}/summary",
34
+ "project://sources/{source}",
35
+ "project://evidence/{evidence}",
36
+ "project://paper/{artifact}"
37
+ ],
38
+ "produces": [
39
+ {
40
+ "uri": "project://paper/{artifact}",
41
+ "mode": "create"
42
+ },
43
+ {
44
+ "uri": "project://paper/{artifact}",
45
+ "mode": "update"
46
+ },
47
+ {
48
+ "uri": "project://manifest",
49
+ "mode": "update"
50
+ },
51
+ {
52
+ "uri": "project://sections/{section}/summary",
53
+ "mode": "create"
54
+ },
55
+ {
56
+ "uri": "project://sections/{section}/summary",
57
+ "mode": "update"
58
+ },
59
+ {
60
+ "uri": "project://validations/{validation}",
61
+ "mode": "create"
62
+ },
63
+ {
64
+ "uri": "project://checkpoints/{checkpoint}",
65
+ "mode": "create"
66
+ },
67
+ {
68
+ "uri": "project://sections/{section}",
69
+ "mode": "update"
70
+ },
71
+ {
72
+ "uri": "project://state",
73
+ "mode": "update"
74
+ }
75
+ ],
76
+ "delegation": [
77
+ {
78
+ "role": "section-writer",
79
+ "mode": "required",
80
+ "purpose": "Draft the section from its approved plan and evidence"
81
+ },
82
+ {
83
+ "role": "argument-verifier",
84
+ "mode": "optional",
85
+ "purpose": "Independently verify claim, evidence, and requirement coverage"
86
+ }
87
+ ],
88
+ "tools": [],
89
+ "effects": [
90
+ {
91
+ "id": "agent.delegate",
92
+ "scope": "role://section-writer, role://argument-verifier"
93
+ },
94
+ {
95
+ "id": "filesystem.create",
96
+ "scope": "project://paper/{artifact}, project://sections/{section}/summary, project://validations/{validation}, project://checkpoints/{checkpoint}"
97
+ },
98
+ {
99
+ "id": "filesystem.modify",
100
+ "scope": "project://paper/{artifact}, project://manifest, project://sections/{section}/summary, project://sections/{section}, project://state"
101
+ },
102
+ {
103
+ "id": "filesystem.read",
104
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sections/{section}/research, project://sections/{section}/plans/{plan}, project://sections/{section}/summary, project://sources/{source}, project://evidence/{evidence}, project://paper/{artifact}"
105
+ },
106
+ {
107
+ "id": "filesystem.write",
108
+ "scope": "declared manuscript, manifest, summary, validation, checkpoint, section, and state resources"
109
+ },
110
+ {
111
+ "id": "user.gate",
112
+ "scope": "verification exceptions and blocked plan decisions"
113
+ }
114
+ ]
115
+ }
@@ -0,0 +1,53 @@
1
+ # Generated by WTF-P adapter compiler v5 from clio/clio-coder-extension.yaml; do not edit.
2
+ id: wtfp
3
+ plugin: wtfp
4
+ name: WTF-P
5
+ version: 0.8.0
6
+ description: "The WTF-P writing desk for Clio Coder; paper state, gates and the write guard run in code."
7
+ compatibility: { clio: ">=0.6.2" }
8
+ runtime:
9
+ api: 2
10
+ entrypoint: runtime/extension.ts
11
+ commands:
12
+ - { name: desk, description: "Enter the WTF-P writing desk." }
13
+ - { name: progress, description: "Paper progress and the next action, computed locally.", replaces: prompt }
14
+ - { name: help, description: "The WTF-P action reference, rendered locally.", replaces: prompt }
15
+ - { name: check-todos, description: "Answer pending gates and author tasks.", replaces: prompt }
16
+ - { name: checkpoints, description: "List interaction gates and state snapshots." }
17
+ - { name: validate, description: "Validate every planning record against its schema." }
18
+ events: [session_open, dispatch_started, dispatch_completed, dispatch_failed, fs_changed, workspace_enter, workspace_leave]
19
+ watch: [".planning/**", "paper/**"]
20
+ hooks:
21
+ - { on: prompt_submit, timeoutMs: 1000, onTimeout: pass, onError: pass }
22
+ - { on: before_tool, tools: [write, edit], timeoutMs: 1000, onTimeout: block, onError: block }
23
+ tools:
24
+ - name: record
25
+ description: "Write one .planning record at its logical URI, validated against its canonical schema, its revision bumped, replaced atomically and read back."
26
+ actionClass: execute
27
+ inputSchema: { type: object, properties: { uri: { type: string }, record: { type: object }, expect_revision: { type: integer } }, required: [uri, record], additionalProperties: false }
28
+ - name: measure_section
29
+ description: "Count a section's manuscript body words by the desk's one method and record the count in the section and state records."
30
+ actionClass: execute
31
+ inputSchema: { type: object, properties: { section: { type: string } }, required: [section], additionalProperties: false }
32
+ - name: gate
33
+ description: "Ask the author a pending checkpoint as an interview; only the author's answer resolves it, and that answer is the result."
34
+ actionClass: execute
35
+ inputSchema: { type: object, properties: { checkpoint: { type: string } }, required: [checkpoint], additionalProperties: false }
36
+ ui: [status, band, card, toast, interview]
37
+ workspaces:
38
+ - id: desk
39
+ title: WTF-P writing desk
40
+ regions: [header, board, islands, rail, footer]
41
+ board: band
42
+ skin: skins/wtfp.json
43
+ keys:
44
+ - { key: f, action: next, label: "Fill the next writing action" }
45
+ - { key: c, action: gates, label: "Answer the pending gate" }
46
+ - { key: v, action: validate, label: "Validate planning records" }
47
+ - { key: h, action: help, label: "WTF-P action reference" }
48
+ access: [prompt, tool-args]
49
+ permissions:
50
+ fs: { read: [".planning", "paper"], write: [".planning"] }
51
+ exec: false
52
+ net: false
53
+ state: { session: true, store: false }