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,295 @@
1
+ {
2
+ "schema": "wtfp.action-availability/v1",
3
+ "target": "clio",
4
+ "marker": "WTFP_ACTION_UNAVAILABLE",
5
+ "hostToolEnforcement": {
6
+ "actionScoped": false,
7
+ "surface": "clio:session-tools",
8
+ "certificationAutonomy": [
9
+ "read-only",
10
+ "suggest"
11
+ ],
12
+ "undeclaredToolCall": "fail"
13
+ },
14
+ "capabilityBindings": {
15
+ "agent.delegate": "clio:plugin-agent",
16
+ "agent.parallel": "clio:fleet",
17
+ "external.issue": null,
18
+ "filesystem.delete": null,
19
+ "filesystem.read": "clio:workspace-read",
20
+ "filesystem.write": "clio:workspace-write",
21
+ "network.fetch": "clio:web_fetch",
22
+ "network.search": "clio:bash-bundled-citation-tools",
23
+ "package.update": null,
24
+ "tool.execute": "clio:bash",
25
+ "user.interaction": "clio:ask_user",
26
+ "vcs.branch": null,
27
+ "vcs.commit": null
28
+ },
29
+ "approvalBindings": {
30
+ "none": "clio:permission-policy",
31
+ "implicit": "clio:permission-policy",
32
+ "explicit": "clio:ask_user"
33
+ },
34
+ "effectCapabilityBindings": {
35
+ "agent.delegate": "agent.delegate",
36
+ "agent.parallel": "agent.parallel",
37
+ "artifact.archive": "filesystem.write",
38
+ "external.issue": "external.issue",
39
+ "filesystem.create": "filesystem.write",
40
+ "filesystem.delete": "filesystem.delete",
41
+ "filesystem.modify": "filesystem.write",
42
+ "filesystem.read": "filesystem.read",
43
+ "filesystem.write": "filesystem.write",
44
+ "network.fetch": "network.fetch",
45
+ "network.search": "network.search",
46
+ "package.update": "package.update",
47
+ "tool.execute": "tool.execute",
48
+ "user.gate": "user.interaction",
49
+ "vcs.branch": "vcs.branch",
50
+ "vcs.commit": "vcs.commit",
51
+ "vcs.merge": null
52
+ },
53
+ "actions": [
54
+ {
55
+ "id": "add-todo",
56
+ "status": "available",
57
+ "unavailableCapabilities": [],
58
+ "unavailableEffects": []
59
+ },
60
+ {
61
+ "id": "analyze-bib",
62
+ "status": "available",
63
+ "unavailableCapabilities": [],
64
+ "unavailableEffects": []
65
+ },
66
+ {
67
+ "id": "audit-milestone",
68
+ "status": "available",
69
+ "unavailableCapabilities": [],
70
+ "unavailableEffects": []
71
+ },
72
+ {
73
+ "id": "check-refs",
74
+ "status": "available",
75
+ "unavailableCapabilities": [],
76
+ "unavailableEffects": []
77
+ },
78
+ {
79
+ "id": "check-todos",
80
+ "status": "available",
81
+ "unavailableCapabilities": [],
82
+ "unavailableEffects": []
83
+ },
84
+ {
85
+ "id": "checkpoint",
86
+ "status": "available",
87
+ "unavailableCapabilities": [],
88
+ "unavailableEffects": []
89
+ },
90
+ {
91
+ "id": "contribute",
92
+ "status": "unavailable",
93
+ "unavailableCapabilities": [
94
+ "external.issue",
95
+ "vcs.branch",
96
+ "vcs.commit"
97
+ ],
98
+ "unavailableEffects": [
99
+ "external.issue",
100
+ "vcs.branch",
101
+ "vcs.commit"
102
+ ]
103
+ },
104
+ {
105
+ "id": "create-outline",
106
+ "status": "available",
107
+ "unavailableCapabilities": [],
108
+ "unavailableEffects": []
109
+ },
110
+ {
111
+ "id": "create-poster",
112
+ "status": "available",
113
+ "unavailableCapabilities": [],
114
+ "unavailableEffects": []
115
+ },
116
+ {
117
+ "id": "create-slides",
118
+ "status": "available",
119
+ "unavailableCapabilities": [],
120
+ "unavailableEffects": []
121
+ },
122
+ {
123
+ "id": "discuss-section",
124
+ "status": "available",
125
+ "unavailableCapabilities": [],
126
+ "unavailableEffects": []
127
+ },
128
+ {
129
+ "id": "execute-outline",
130
+ "status": "available",
131
+ "unavailableCapabilities": [],
132
+ "unavailableEffects": []
133
+ },
134
+ {
135
+ "id": "export-latex",
136
+ "status": "available",
137
+ "unavailableCapabilities": [],
138
+ "unavailableEffects": []
139
+ },
140
+ {
141
+ "id": "help",
142
+ "status": "available",
143
+ "unavailableCapabilities": [],
144
+ "unavailableEffects": []
145
+ },
146
+ {
147
+ "id": "insert-section",
148
+ "status": "available",
149
+ "unavailableCapabilities": [],
150
+ "unavailableEffects": []
151
+ },
152
+ {
153
+ "id": "list-assumptions",
154
+ "status": "available",
155
+ "unavailableCapabilities": [],
156
+ "unavailableEffects": []
157
+ },
158
+ {
159
+ "id": "map-project",
160
+ "status": "available",
161
+ "unavailableCapabilities": [],
162
+ "unavailableEffects": []
163
+ },
164
+ {
165
+ "id": "new-paper",
166
+ "status": "available",
167
+ "unavailableCapabilities": [],
168
+ "unavailableEffects": []
169
+ },
170
+ {
171
+ "id": "pause-writing",
172
+ "status": "available",
173
+ "unavailableCapabilities": [],
174
+ "unavailableEffects": []
175
+ },
176
+ {
177
+ "id": "plan-milestone-gaps",
178
+ "status": "available",
179
+ "unavailableCapabilities": [],
180
+ "unavailableEffects": []
181
+ },
182
+ {
183
+ "id": "plan-revision",
184
+ "status": "available",
185
+ "unavailableCapabilities": [],
186
+ "unavailableEffects": []
187
+ },
188
+ {
189
+ "id": "plan-section",
190
+ "status": "available",
191
+ "unavailableCapabilities": [],
192
+ "unavailableEffects": []
193
+ },
194
+ {
195
+ "id": "polish-prose",
196
+ "status": "available",
197
+ "unavailableCapabilities": [],
198
+ "unavailableEffects": []
199
+ },
200
+ {
201
+ "id": "progress",
202
+ "status": "available",
203
+ "unavailableCapabilities": [],
204
+ "unavailableEffects": []
205
+ },
206
+ {
207
+ "id": "quick",
208
+ "status": "available",
209
+ "unavailableCapabilities": [],
210
+ "unavailableEffects": []
211
+ },
212
+ {
213
+ "id": "remove-section",
214
+ "status": "unavailable",
215
+ "unavailableCapabilities": [
216
+ "filesystem.delete"
217
+ ],
218
+ "unavailableEffects": [
219
+ "filesystem.delete"
220
+ ]
221
+ },
222
+ {
223
+ "id": "report-bug",
224
+ "status": "unavailable",
225
+ "unavailableCapabilities": [
226
+ "external.issue"
227
+ ],
228
+ "unavailableEffects": [
229
+ "external.issue"
230
+ ]
231
+ },
232
+ {
233
+ "id": "request-feature",
234
+ "status": "unavailable",
235
+ "unavailableCapabilities": [
236
+ "external.issue"
237
+ ],
238
+ "unavailableEffects": [
239
+ "external.issue"
240
+ ]
241
+ },
242
+ {
243
+ "id": "research-gap",
244
+ "status": "available",
245
+ "unavailableCapabilities": [],
246
+ "unavailableEffects": []
247
+ },
248
+ {
249
+ "id": "resume-writing",
250
+ "status": "available",
251
+ "unavailableCapabilities": [],
252
+ "unavailableEffects": []
253
+ },
254
+ {
255
+ "id": "review-section",
256
+ "status": "available",
257
+ "unavailableCapabilities": [],
258
+ "unavailableEffects": []
259
+ },
260
+ {
261
+ "id": "settings",
262
+ "status": "available",
263
+ "unavailableCapabilities": [],
264
+ "unavailableEffects": []
265
+ },
266
+ {
267
+ "id": "submit-milestone",
268
+ "status": "available",
269
+ "unavailableCapabilities": [],
270
+ "unavailableEffects": []
271
+ },
272
+ {
273
+ "id": "update",
274
+ "status": "unavailable",
275
+ "unavailableCapabilities": [
276
+ "package.update"
277
+ ],
278
+ "unavailableEffects": [
279
+ "package.update"
280
+ ]
281
+ },
282
+ {
283
+ "id": "verify-work",
284
+ "status": "available",
285
+ "unavailableCapabilities": [],
286
+ "unavailableEffects": []
287
+ },
288
+ {
289
+ "id": "write-section",
290
+ "status": "available",
291
+ "unavailableCapabilities": [],
292
+ "unavailableEffects": []
293
+ }
294
+ ]
295
+ }
@@ -0,0 +1,102 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/checkpoint/v1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "allOf": [
7
+ {
8
+ "if": {
9
+ "required": ["kind"],
10
+ "properties": { "kind": { "const": "state-snapshot" } }
11
+ },
12
+ "then": {
13
+ "required": ["snapshot"],
14
+ "properties": {
15
+ "status": { "enum": ["available", "restored", "expired"] },
16
+ "blocking": { "const": false }
17
+ }
18
+ },
19
+ "else": {
20
+ "not": { "required": ["snapshot"] },
21
+ "properties": {
22
+ "status": { "enum": ["pending", "resolved", "waived", "expired"] }
23
+ }
24
+ }
25
+ }
26
+ ],
27
+ "required": [
28
+ "schema",
29
+ "id",
30
+ "project_id",
31
+ "kind",
32
+ "status",
33
+ "blocking",
34
+ "scope_uri",
35
+ "request",
36
+ "options",
37
+ "resume_action",
38
+ "created_at"
39
+ ],
40
+ "properties": {
41
+ "schema": { "const": "wtfp.project.checkpoint/v1" },
42
+ "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
43
+ "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
44
+ "kind": { "enum": ["human-verify", "decision", "human-action", "safety-authorization", "state-snapshot"] },
45
+ "status": { "enum": ["pending", "resolved", "waived", "expired", "available", "restored"] },
46
+ "blocking": { "type": "boolean" },
47
+ "scope_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
48
+ "request": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
49
+ "context": { "type": "string" },
50
+ "options": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "object",
54
+ "additionalProperties": false,
55
+ "required": ["id", "label", "implication"],
56
+ "properties": {
57
+ "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
58
+ "label": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
59
+ "implication": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
60
+ }
61
+ }
62
+ },
63
+ "resume_action": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
64
+ "created_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
65
+ "snapshot": {
66
+ "type": "object",
67
+ "additionalProperties": false,
68
+ "required": ["archive_uri", "resources"],
69
+ "properties": {
70
+ "archive_uri": {
71
+ "type": "string",
72
+ "pattern": "^project://archives/checkpoints/[A-Za-z0-9._~-]+$"
73
+ },
74
+ "resources": {
75
+ "type": "array",
76
+ "minItems": 1,
77
+ "items": {
78
+ "type": "object",
79
+ "additionalProperties": false,
80
+ "required": ["uri", "sha256"],
81
+ "properties": {
82
+ "uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
83
+ "revision": { "type": "integer", "minimum": 0 },
84
+ "sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "resolution": {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "required": ["resolved_by", "summary", "resolved_at"],
94
+ "properties": {
95
+ "resolved_by": { "enum": ["author", "policy"] },
96
+ "selected_option": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
97
+ "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
98
+ "resolved_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
99
+ }
100
+ }
101
+ }
102
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/common/v1",
4
+ "$defs": {
5
+ "identifier": {
6
+ "type": "string",
7
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
8
+ },
9
+ "logicalUri": {
10
+ "type": "string",
11
+ "pattern": "^project://(?!\\.{1,2}(?:/|$))(?!.*\\/\\.{1,2}(?:/|$))[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$"
12
+ },
13
+ "protocolUri": {
14
+ "type": "string",
15
+ "pattern": "^protocol://(?!\\.{1,2}(?:/|$))(?!.*\\/\\.{1,2}(?:/|$))[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$"
16
+ },
17
+ "nonEmptyString": {
18
+ "type": "string",
19
+ "minLength": 1
20
+ },
21
+ "timestamp": {
22
+ "type": "string",
23
+ "format": "date-time"
24
+ },
25
+ "date": {
26
+ "type": "string",
27
+ "format": "date"
28
+ },
29
+ "confidence": {
30
+ "enum": ["high", "medium", "low", "unknown"]
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/config/v1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema",
8
+ "project_id",
9
+ "interaction_mode",
10
+ "depth",
11
+ "output_format",
12
+ "language",
13
+ "gates",
14
+ "workflow",
15
+ "safety",
16
+ "parallelism"
17
+ ],
18
+ "properties": {
19
+ "schema": { "const": "wtfp.project.config/v1" },
20
+ "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
21
+ "interaction_mode": { "enum": ["guided", "standard", "autonomous"] },
22
+ "depth": { "enum": ["quick", "standard", "comprehensive"] },
23
+ "output_format": { "enum": ["markdown", "latex", "typst"] },
24
+ "language": { "type": "string", "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$" },
25
+ "citation_style": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
26
+ "gates": {
27
+ "type": "object",
28
+ "additionalProperties": false,
29
+ "required": ["confirm_outline", "confirm_plan", "confirm_write", "confirm_review", "confirm_delivery"],
30
+ "properties": {
31
+ "confirm_outline": { "type": "boolean" },
32
+ "confirm_plan": { "type": "boolean" },
33
+ "confirm_write": { "type": "boolean" },
34
+ "confirm_review": { "type": "boolean" },
35
+ "confirm_delivery": { "type": "boolean" }
36
+ }
37
+ },
38
+ "workflow": {
39
+ "type": "object",
40
+ "additionalProperties": false,
41
+ "required": ["research", "plan_validation", "argument_validation", "coherence_validation"],
42
+ "properties": {
43
+ "research": { "type": "boolean" },
44
+ "plan_validation": { "type": "boolean" },
45
+ "argument_validation": { "type": "boolean" },
46
+ "coherence_validation": { "type": "boolean" }
47
+ }
48
+ },
49
+ "safety": {
50
+ "type": "object",
51
+ "additionalProperties": false,
52
+ "required": ["destructive_requires_authorization", "external_publish_requires_authorization", "backup_before_major_edits"],
53
+ "properties": {
54
+ "destructive_requires_authorization": { "const": true },
55
+ "external_publish_requires_authorization": { "const": true },
56
+ "backup_before_major_edits": { "type": "boolean" }
57
+ }
58
+ },
59
+ "parallelism": {
60
+ "type": "object",
61
+ "additionalProperties": false,
62
+ "required": ["enabled", "max_workers"],
63
+ "properties": {
64
+ "enabled": { "type": "boolean" },
65
+ "max_workers": { "type": "integer", "minimum": 1, "maximum": 32 }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/decisions/v1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": ["schema", "project_id", "revision", "items", "updated_at"],
7
+ "properties": {
8
+ "schema": { "const": "wtfp.project.decisions/v1" },
9
+ "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
10
+ "revision": { "type": "integer", "minimum": 0 },
11
+ "items": {
12
+ "type": "array",
13
+ "items": {
14
+ "type": "object",
15
+ "additionalProperties": false,
16
+ "required": ["id", "authority", "disposition", "statement", "rationale", "scope_uri", "recorded_at"],
17
+ "properties": {
18
+ "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
19
+ "authority": { "enum": ["author", "venue", "project-evidence"] },
20
+ "disposition": { "enum": ["locked", "deferred", "discretion", "superseded"] },
21
+ "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
22
+ "rationale": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
23
+ "scope_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
24
+ "recorded_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
25
+ "supersedes": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" }
26
+ }
27
+ }
28
+ },
29
+ "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
30
+ }
31
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/evidence/v1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema",
8
+ "id",
9
+ "project_id",
10
+ "source_uri",
11
+ "claim_id",
12
+ "relation",
13
+ "statement",
14
+ "locator",
15
+ "interpretation",
16
+ "confidence",
17
+ "inspection_depth",
18
+ "verified_at"
19
+ ],
20
+ "properties": {
21
+ "schema": { "const": "wtfp.project.evidence/v1" },
22
+ "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
23
+ "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
24
+ "source_uri": { "type": "string", "pattern": "^project://sources/[A-Za-z0-9._~-]+$" },
25
+ "claim_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
26
+ "relation": { "enum": ["supports", "contradicts", "contextualizes", "method-precedent"] },
27
+ "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
28
+ "locator": {
29
+ "type": "object",
30
+ "additionalProperties": false,
31
+ "required": ["kind", "value"],
32
+ "properties": {
33
+ "kind": { "enum": ["page", "section", "figure", "table", "timestamp", "record", "abstract"] },
34
+ "value": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
35
+ }
36
+ },
37
+ "quote": { "type": "string", "minLength": 1 },
38
+ "interpretation": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
39
+ "limitations": {
40
+ "type": "array",
41
+ "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
42
+ "uniqueItems": true
43
+ },
44
+ "confidence": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/confidence" },
45
+ "inspection_depth": { "enum": ["metadata", "abstract", "full-text", "primary-data"] },
46
+ "verified_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
47
+ }
48
+ }