wtf-p 0.5.0 → 0.6.0-rc.2

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 (1783) hide show
  1. package/README.md +259 -205
  2. package/bin/commands/doctor.js +30 -9
  3. package/bin/commands/install-logic.js +573 -89
  4. package/bin/commands/list.js +4 -12
  5. package/bin/commands/status.js +15 -12
  6. package/bin/commands/update.js +5 -4
  7. package/bin/install.js +223 -39
  8. package/bin/lib/adapter-compiler.js +1362 -0
  9. package/bin/lib/adapter-metadata.js +12 -0
  10. package/bin/lib/analyze-impact.js +28 -24
  11. package/bin/lib/bib-format.js +2 -2
  12. package/bin/lib/bib-index.js +6 -6
  13. package/bin/lib/citation-fetcher.js +20 -20
  14. package/bin/lib/citation-ranker.js +44 -32
  15. package/bin/lib/manifest.js +141 -95
  16. package/bin/lib/native-registration.js +579 -0
  17. package/bin/lib/ownership.js +984 -0
  18. package/bin/lib/scholar-lookup.js +13 -13
  19. package/bin/lib/semantic-scholar.js +19 -19
  20. package/bin/lib/utils.js +109 -43
  21. package/bin/uninstall.js +776 -504
  22. package/package.json +23 -13
  23. package/protocol/actions/add-todo.json +52 -0
  24. package/protocol/actions/analyze-bib.json +97 -0
  25. package/protocol/actions/audit-milestone.json +63 -0
  26. package/protocol/actions/check-refs.json +80 -0
  27. package/protocol/actions/check-todos.json +52 -0
  28. package/protocol/actions/checkpoint.json +76 -0
  29. package/protocol/actions/contribute.json +57 -0
  30. package/protocol/actions/create-outline.json +84 -0
  31. package/protocol/actions/create-poster.json +59 -0
  32. package/protocol/actions/create-slides.json +59 -0
  33. package/protocol/actions/discuss-section.json +76 -0
  34. package/protocol/actions/execute-outline.json +116 -0
  35. package/protocol/actions/export-latex.json +65 -0
  36. package/protocol/actions/help.json +30 -0
  37. package/protocol/actions/insert-section.json +61 -0
  38. package/protocol/actions/list-assumptions.json +35 -0
  39. package/protocol/actions/map-project.json +57 -0
  40. package/protocol/actions/new-paper.json +70 -0
  41. package/protocol/actions/pause-writing.json +71 -0
  42. package/protocol/actions/plan-milestone-gaps.json +57 -0
  43. package/protocol/actions/plan-revision.json +58 -0
  44. package/protocol/actions/plan-section.json +100 -0
  45. package/protocol/actions/polish-prose.json +69 -0
  46. package/protocol/actions/progress.json +51 -0
  47. package/protocol/actions/quick.json +70 -0
  48. package/protocol/actions/remove-section.json +63 -0
  49. package/protocol/actions/report-bug.json +47 -0
  50. package/protocol/actions/request-feature.json +47 -0
  51. package/protocol/actions/research-gap.json +101 -0
  52. package/protocol/actions/resume-writing.json +65 -0
  53. package/protocol/actions/review-section.json +83 -0
  54. package/protocol/actions/settings.json +47 -0
  55. package/protocol/actions/submit-milestone.json +77 -0
  56. package/protocol/actions/update.json +42 -0
  57. package/protocol/actions/verify-work.json +63 -0
  58. package/protocol/actions/write-section.json +115 -0
  59. package/protocol/aliases.lock.json +42 -0
  60. package/protocol/catalog.json +127 -0
  61. package/protocol/effects.json +107 -0
  62. package/protocol/fleets/wtfp-draft-review.json +35 -0
  63. package/protocol/fleets/wtfp-plan-section.json +34 -0
  64. package/protocol/project/README.md +65 -0
  65. package/protocol/project/schemas/checkpoint.schema.json +102 -0
  66. package/protocol/project/schemas/common.schema.json +33 -0
  67. package/protocol/project/schemas/config.schema.json +69 -0
  68. package/protocol/project/schemas/decisions.schema.json +31 -0
  69. package/protocol/project/schemas/evidence.schema.json +48 -0
  70. package/protocol/project/schemas/manifest.schema.json +102 -0
  71. package/protocol/project/schemas/outline.schema.json +67 -0
  72. package/protocol/project/schemas/section.schema.json +95 -0
  73. package/protocol/project/schemas/source.schema.json +73 -0
  74. package/protocol/project/schemas/state.schema.json +58 -0
  75. package/protocol/project/schemas/validation.schema.json +74 -0
  76. package/protocol/project/templates/checkpoint.json +25 -0
  77. package/protocol/project/templates/config.json +31 -0
  78. package/protocol/project/templates/decisions.json +35 -0
  79. package/protocol/project/templates/evidence.json +18 -0
  80. package/protocol/project/templates/manifest.json +30 -0
  81. package/protocol/project/templates/outline.json +38 -0
  82. package/protocol/project/templates/section.json +32 -0
  83. package/protocol/project/templates/source.json +20 -0
  84. package/protocol/project/templates/state.json +22 -0
  85. package/protocol/project/templates/validation.json +32 -0
  86. package/protocol/roles/argument-verifier.md +62 -0
  87. package/protocol/roles/citation-expert.md +63 -0
  88. package/protocol/roles/citation-formatter.md +63 -0
  89. package/protocol/roles/coherence-checker.md +61 -0
  90. package/protocol/roles/outliner.md +68 -0
  91. package/protocol/roles/plan-checker.md +62 -0
  92. package/protocol/roles/prose-polisher.md +63 -0
  93. package/protocol/roles/research-synthesizer.md +65 -0
  94. package/protocol/roles/section-planner.md +65 -0
  95. package/protocol/roles/section-reviewer.md +62 -0
  96. package/protocol/roles/section-writer.md +66 -0
  97. package/protocol/schemas/action.schema.json +129 -0
  98. package/protocol/schemas/aliases.schema.json +26 -0
  99. package/protocol/schemas/catalog.schema.json +61 -0
  100. package/protocol/schemas/effects.schema.json +26 -0
  101. package/protocol/schemas/role-result.schema.json +74 -0
  102. package/protocol/schemas/tools.schema.json +26 -0
  103. package/protocol/skills/wtfp-deliver-research/SKILL.md +39 -0
  104. package/protocol/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  105. package/protocol/skills/wtfp-deliver-research/references/actions.md +77 -0
  106. package/protocol/skills/wtfp-manage-project/SKILL.md +40 -0
  107. package/protocol/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  108. package/protocol/skills/wtfp-manage-project/references/actions.md +91 -0
  109. package/protocol/skills/wtfp-plan-section/SKILL.md +40 -0
  110. package/protocol/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  111. package/protocol/skills/wtfp-plan-section/references/actions.md +115 -0
  112. package/protocol/skills/wtfp-research-literature/SKILL.md +37 -0
  113. package/protocol/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  114. package/protocol/skills/wtfp-research-literature/references/actions.md +75 -0
  115. package/protocol/skills/wtfp-review-manuscript/SKILL.md +40 -0
  116. package/protocol/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  117. package/protocol/skills/wtfp-review-manuscript/references/actions.md +96 -0
  118. package/protocol/skills/wtfp-start-project/SKILL.md +38 -0
  119. package/protocol/skills/wtfp-start-project/agents/openai.yaml +4 -0
  120. package/protocol/skills/wtfp-start-project/references/actions.md +80 -0
  121. package/protocol/skills/wtfp-write-section/SKILL.md +37 -0
  122. package/protocol/skills/wtfp-write-section/agents/openai.yaml +4 -0
  123. package/protocol/skills/wtfp-write-section/references/actions.md +69 -0
  124. package/protocol/tools.json +54 -0
  125. package/protocol/workflows/add-todo.md +32 -0
  126. package/protocol/workflows/analyze-bib.md +33 -0
  127. package/protocol/workflows/audit-milestone.md +32 -0
  128. package/protocol/workflows/check-refs.md +32 -0
  129. package/protocol/workflows/check-todos.md +32 -0
  130. package/protocol/workflows/checkpoint.md +32 -0
  131. package/protocol/workflows/contribute.md +30 -0
  132. package/protocol/workflows/create-outline.md +33 -0
  133. package/protocol/workflows/create-poster.md +32 -0
  134. package/protocol/workflows/create-slides.md +32 -0
  135. package/protocol/workflows/discuss-section.md +32 -0
  136. package/protocol/workflows/execute-outline.md +32 -0
  137. package/protocol/workflows/export-latex.md +32 -0
  138. package/protocol/workflows/help.md +30 -0
  139. package/protocol/workflows/insert-section.md +32 -0
  140. package/protocol/workflows/list-assumptions.md +32 -0
  141. package/protocol/workflows/map-project.md +32 -0
  142. package/protocol/workflows/new-paper.md +37 -0
  143. package/protocol/workflows/pause-writing.md +32 -0
  144. package/protocol/workflows/plan-milestone-gaps.md +32 -0
  145. package/protocol/workflows/plan-revision.md +32 -0
  146. package/protocol/workflows/plan-section.md +34 -0
  147. package/protocol/workflows/polish-prose.md +32 -0
  148. package/protocol/workflows/progress.md +32 -0
  149. package/protocol/workflows/quick.md +32 -0
  150. package/protocol/workflows/remove-section.md +32 -0
  151. package/protocol/workflows/report-bug.md +30 -0
  152. package/protocol/workflows/request-feature.md +30 -0
  153. package/protocol/workflows/research-gap.md +32 -0
  154. package/protocol/workflows/resume-writing.md +34 -0
  155. package/protocol/workflows/review-section.md +33 -0
  156. package/protocol/workflows/settings.md +32 -0
  157. package/protocol/workflows/submit-milestone.md +32 -0
  158. package/protocol/workflows/update.md +30 -0
  159. package/protocol/workflows/verify-work.md +32 -0
  160. package/protocol/workflows/write-section.md +34 -0
  161. package/scripts/build-adapters.js +30 -0
  162. package/vendors/antigravity/.wtfp-generated.json +792 -0
  163. package/vendors/antigravity/actions/add-todo.json +52 -0
  164. package/vendors/antigravity/actions/analyze-bib.json +97 -0
  165. package/vendors/antigravity/actions/audit-milestone.json +63 -0
  166. package/vendors/antigravity/actions/check-refs.json +80 -0
  167. package/vendors/antigravity/actions/check-todos.json +52 -0
  168. package/vendors/antigravity/actions/checkpoint.json +76 -0
  169. package/vendors/antigravity/actions/contribute.json +57 -0
  170. package/vendors/antigravity/actions/create-outline.json +84 -0
  171. package/vendors/antigravity/actions/create-poster.json +59 -0
  172. package/vendors/antigravity/actions/create-slides.json +59 -0
  173. package/vendors/antigravity/actions/discuss-section.json +76 -0
  174. package/vendors/antigravity/actions/execute-outline.json +116 -0
  175. package/vendors/antigravity/actions/export-latex.json +65 -0
  176. package/vendors/antigravity/actions/help.json +30 -0
  177. package/vendors/antigravity/actions/insert-section.json +61 -0
  178. package/vendors/antigravity/actions/list-assumptions.json +35 -0
  179. package/vendors/antigravity/actions/map-project.json +57 -0
  180. package/vendors/antigravity/actions/new-paper.json +70 -0
  181. package/vendors/antigravity/actions/pause-writing.json +71 -0
  182. package/vendors/antigravity/actions/plan-milestone-gaps.json +57 -0
  183. package/vendors/antigravity/actions/plan-revision.json +58 -0
  184. package/vendors/antigravity/actions/plan-section.json +100 -0
  185. package/vendors/antigravity/actions/polish-prose.json +69 -0
  186. package/vendors/antigravity/actions/progress.json +51 -0
  187. package/vendors/antigravity/actions/quick.json +70 -0
  188. package/vendors/antigravity/actions/remove-section.json +63 -0
  189. package/vendors/antigravity/actions/report-bug.json +47 -0
  190. package/vendors/antigravity/actions/request-feature.json +47 -0
  191. package/vendors/antigravity/actions/research-gap.json +101 -0
  192. package/vendors/antigravity/actions/resume-writing.json +65 -0
  193. package/vendors/antigravity/actions/review-section.json +83 -0
  194. package/vendors/antigravity/actions/settings.json +47 -0
  195. package/vendors/antigravity/actions/submit-milestone.json +77 -0
  196. package/vendors/antigravity/actions/update.json +42 -0
  197. package/vendors/antigravity/actions/verify-work.json +63 -0
  198. package/vendors/antigravity/actions/write-section.json +115 -0
  199. package/vendors/antigravity/agents/wtfp-argument-verifier.md +65 -0
  200. package/vendors/antigravity/agents/wtfp-citation-expert.md +68 -0
  201. package/vendors/antigravity/agents/wtfp-citation-formatter.md +68 -0
  202. package/vendors/antigravity/agents/wtfp-coherence-checker.md +64 -0
  203. package/vendors/antigravity/agents/wtfp-outliner.md +73 -0
  204. package/vendors/antigravity/agents/wtfp-plan-checker.md +65 -0
  205. package/vendors/antigravity/agents/wtfp-prose-polisher.md +68 -0
  206. package/vendors/antigravity/agents/wtfp-research-synthesizer.md +70 -0
  207. package/vendors/antigravity/agents/wtfp-section-planner.md +70 -0
  208. package/vendors/antigravity/agents/wtfp-section-reviewer.md +65 -0
  209. package/vendors/antigravity/agents/wtfp-section-writer.md +71 -0
  210. package/vendors/antigravity/aliases.lock.json +42 -0
  211. package/vendors/antigravity/catalog.json +127 -0
  212. package/vendors/antigravity/commands/wtfp-add-todo.md +59 -0
  213. package/vendors/antigravity/commands/wtfp-analyze-bib.md +17 -0
  214. package/vendors/antigravity/commands/wtfp-audit-milestone.md +17 -0
  215. package/vendors/antigravity/commands/wtfp-check-refs.md +17 -0
  216. package/vendors/antigravity/commands/wtfp-check-todos.md +58 -0
  217. package/vendors/antigravity/commands/wtfp-checkpoint.md +74 -0
  218. package/vendors/antigravity/commands/wtfp-contribute.md +17 -0
  219. package/vendors/antigravity/commands/wtfp-create-outline.md +74 -0
  220. package/vendors/antigravity/commands/wtfp-create-poster.md +17 -0
  221. package/vendors/antigravity/commands/wtfp-create-slides.md +17 -0
  222. package/vendors/antigravity/commands/wtfp-discuss-section.md +64 -0
  223. package/vendors/antigravity/commands/wtfp-execute-outline.md +75 -0
  224. package/vendors/antigravity/commands/wtfp-export-latex.md +17 -0
  225. package/vendors/antigravity/commands/wtfp-help.md +48 -0
  226. package/vendors/antigravity/commands/wtfp-insert-section.md +60 -0
  227. package/vendors/antigravity/commands/wtfp-list-assumptions.md +59 -0
  228. package/vendors/antigravity/commands/wtfp-map-project.md +61 -0
  229. package/vendors/antigravity/commands/wtfp-new-paper.md +69 -0
  230. package/vendors/antigravity/commands/wtfp-pause-writing.md +65 -0
  231. package/vendors/antigravity/commands/wtfp-plan-milestone-gaps.md +62 -0
  232. package/vendors/antigravity/commands/wtfp-plan-revision.md +62 -0
  233. package/vendors/antigravity/commands/wtfp-plan-section.md +77 -0
  234. package/vendors/antigravity/commands/wtfp-polish-prose.md +63 -0
  235. package/vendors/antigravity/commands/wtfp-progress.md +72 -0
  236. package/vendors/antigravity/commands/wtfp-quick.md +63 -0
  237. package/vendors/antigravity/commands/wtfp-remove-section.md +17 -0
  238. package/vendors/antigravity/commands/wtfp-report-bug.md +17 -0
  239. package/vendors/antigravity/commands/wtfp-request-feature.md +17 -0
  240. package/vendors/antigravity/commands/wtfp-research-gap.md +17 -0
  241. package/vendors/antigravity/commands/wtfp-resume-writing.md +72 -0
  242. package/vendors/antigravity/commands/wtfp-review-section.md +68 -0
  243. package/vendors/antigravity/commands/wtfp-settings.md +56 -0
  244. package/vendors/antigravity/commands/wtfp-submit-milestone.md +72 -0
  245. package/vendors/antigravity/commands/wtfp-update.md +17 -0
  246. package/vendors/antigravity/commands/wtfp-verify-work.md +62 -0
  247. package/vendors/antigravity/commands/wtfp-write-section.md +77 -0
  248. package/vendors/antigravity/compatibility/action-availability.json +314 -0
  249. package/vendors/antigravity/effects.json +107 -0
  250. package/vendors/antigravity/fleets/wtfp-draft-review.json +35 -0
  251. package/vendors/antigravity/fleets/wtfp-plan-section.json +34 -0
  252. package/vendors/antigravity/plugin.json +11 -0
  253. package/vendors/antigravity/project/README.md +65 -0
  254. package/vendors/antigravity/project/schemas/checkpoint.schema.json +102 -0
  255. package/vendors/antigravity/project/schemas/common.schema.json +33 -0
  256. package/vendors/antigravity/project/schemas/config.schema.json +69 -0
  257. package/vendors/antigravity/project/schemas/decisions.schema.json +31 -0
  258. package/vendors/antigravity/project/schemas/evidence.schema.json +48 -0
  259. package/vendors/antigravity/project/schemas/manifest.schema.json +102 -0
  260. package/vendors/antigravity/project/schemas/outline.schema.json +67 -0
  261. package/vendors/antigravity/project/schemas/section.schema.json +95 -0
  262. package/vendors/antigravity/project/schemas/source.schema.json +73 -0
  263. package/vendors/antigravity/project/schemas/state.schema.json +58 -0
  264. package/vendors/antigravity/project/schemas/validation.schema.json +74 -0
  265. package/vendors/antigravity/project/templates/checkpoint.json +25 -0
  266. package/vendors/antigravity/project/templates/config.json +31 -0
  267. package/vendors/antigravity/project/templates/decisions.json +35 -0
  268. package/vendors/antigravity/project/templates/evidence.json +18 -0
  269. package/vendors/antigravity/project/templates/manifest.json +30 -0
  270. package/vendors/antigravity/project/templates/outline.json +38 -0
  271. package/vendors/antigravity/project/templates/section.json +32 -0
  272. package/vendors/antigravity/project/templates/source.json +20 -0
  273. package/vendors/antigravity/project/templates/state.json +22 -0
  274. package/vendors/antigravity/project/templates/validation.json +32 -0
  275. package/vendors/antigravity/repository/CONTRIBUTING.md +183 -0
  276. package/vendors/antigravity/roles/argument-verifier.md +62 -0
  277. package/vendors/antigravity/roles/citation-expert.md +63 -0
  278. package/vendors/antigravity/roles/citation-formatter.md +63 -0
  279. package/vendors/antigravity/roles/coherence-checker.md +61 -0
  280. package/vendors/antigravity/roles/outliner.md +68 -0
  281. package/vendors/antigravity/roles/plan-checker.md +62 -0
  282. package/vendors/antigravity/roles/prose-polisher.md +63 -0
  283. package/vendors/antigravity/roles/research-synthesizer.md +65 -0
  284. package/vendors/antigravity/roles/section-planner.md +65 -0
  285. package/vendors/antigravity/roles/section-reviewer.md +62 -0
  286. package/vendors/antigravity/roles/section-writer.md +66 -0
  287. package/vendors/antigravity/schemas/action.schema.json +129 -0
  288. package/vendors/antigravity/schemas/aliases.schema.json +26 -0
  289. package/vendors/antigravity/schemas/catalog.schema.json +61 -0
  290. package/vendors/antigravity/schemas/effects.schema.json +26 -0
  291. package/vendors/antigravity/schemas/role-result.schema.json +74 -0
  292. package/vendors/antigravity/schemas/tools.schema.json +26 -0
  293. package/vendors/antigravity/skills/wtfp-deliver-research/SKILL.md +39 -0
  294. package/vendors/antigravity/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  295. package/vendors/antigravity/skills/wtfp-deliver-research/references/actions.md +117 -0
  296. package/vendors/antigravity/skills/wtfp-manage-project/SKILL.md +40 -0
  297. package/vendors/antigravity/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  298. package/vendors/antigravity/skills/wtfp-manage-project/references/actions.md +91 -0
  299. package/vendors/antigravity/skills/wtfp-plan-section/SKILL.md +40 -0
  300. package/vendors/antigravity/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  301. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +131 -0
  302. package/vendors/antigravity/skills/wtfp-research-literature/SKILL.md +37 -0
  303. package/vendors/antigravity/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  304. package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +115 -0
  305. package/vendors/antigravity/skills/wtfp-review-manuscript/SKILL.md +40 -0
  306. package/vendors/antigravity/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  307. package/vendors/antigravity/skills/wtfp-review-manuscript/references/actions.md +112 -0
  308. package/vendors/antigravity/skills/wtfp-start-project/SKILL.md +38 -0
  309. package/vendors/antigravity/skills/wtfp-start-project/agents/openai.yaml +4 -0
  310. package/vendors/antigravity/skills/wtfp-start-project/references/actions.md +80 -0
  311. package/vendors/antigravity/skills/wtfp-write-section/SKILL.md +37 -0
  312. package/vendors/antigravity/skills/wtfp-write-section/agents/openai.yaml +4 -0
  313. package/vendors/antigravity/skills/wtfp-write-section/references/actions.md +69 -0
  314. package/vendors/antigravity/tools/README.md +13 -0
  315. package/vendors/antigravity/tools/bibliography/analyze-impact.js +109 -0
  316. package/vendors/antigravity/tools/bibliography/format.js +161 -0
  317. package/vendors/antigravity/tools/bibliography/index.js +104 -0
  318. package/vendors/antigravity/tools/citation/fetch.js +299 -0
  319. package/vendors/antigravity/tools/citation/rank.js +145 -0
  320. package/vendors/antigravity/tools/citation/scholar-lookup.js +188 -0
  321. package/vendors/antigravity/tools/citation/semantic-scholar.js +184 -0
  322. package/vendors/antigravity/tools.json +54 -0
  323. package/vendors/antigravity/workflows/add-todo.md +32 -0
  324. package/vendors/antigravity/workflows/analyze-bib.md +33 -0
  325. package/vendors/antigravity/workflows/audit-milestone.md +32 -0
  326. package/vendors/antigravity/workflows/check-refs.md +32 -0
  327. package/vendors/antigravity/workflows/check-todos.md +32 -0
  328. package/vendors/antigravity/workflows/checkpoint.md +32 -0
  329. package/vendors/antigravity/workflows/contribute.md +30 -0
  330. package/vendors/antigravity/workflows/create-outline.md +33 -0
  331. package/vendors/antigravity/workflows/create-poster.md +32 -0
  332. package/vendors/antigravity/workflows/create-slides.md +32 -0
  333. package/vendors/antigravity/workflows/discuss-section.md +32 -0
  334. package/vendors/antigravity/workflows/execute-outline.md +32 -0
  335. package/vendors/antigravity/workflows/export-latex.md +32 -0
  336. package/vendors/antigravity/workflows/help.md +30 -0
  337. package/vendors/antigravity/workflows/insert-section.md +32 -0
  338. package/vendors/antigravity/workflows/list-assumptions.md +32 -0
  339. package/vendors/antigravity/workflows/map-project.md +32 -0
  340. package/vendors/antigravity/workflows/new-paper.md +37 -0
  341. package/vendors/antigravity/workflows/pause-writing.md +32 -0
  342. package/vendors/antigravity/workflows/plan-milestone-gaps.md +32 -0
  343. package/vendors/antigravity/workflows/plan-revision.md +32 -0
  344. package/vendors/antigravity/workflows/plan-section.md +34 -0
  345. package/vendors/antigravity/workflows/polish-prose.md +32 -0
  346. package/vendors/antigravity/workflows/progress.md +32 -0
  347. package/vendors/antigravity/workflows/quick.md +32 -0
  348. package/vendors/antigravity/workflows/remove-section.md +32 -0
  349. package/vendors/antigravity/workflows/report-bug.md +30 -0
  350. package/vendors/antigravity/workflows/request-feature.md +30 -0
  351. package/vendors/antigravity/workflows/research-gap.md +32 -0
  352. package/vendors/antigravity/workflows/resume-writing.md +34 -0
  353. package/vendors/antigravity/workflows/review-section.md +33 -0
  354. package/vendors/antigravity/workflows/settings.md +32 -0
  355. package/vendors/antigravity/workflows/submit-milestone.md +32 -0
  356. package/vendors/antigravity/workflows/update.md +30 -0
  357. package/vendors/antigravity/workflows/verify-work.md +32 -0
  358. package/vendors/antigravity/workflows/write-section.md +34 -0
  359. package/vendors/claude/.claude-plugin/marketplace.json +24 -0
  360. package/vendors/claude/.claude-plugin/plugin.json +3 -3
  361. package/vendors/claude/.wtfp-generated.json +796 -0
  362. package/vendors/claude/actions/add-todo.json +52 -0
  363. package/vendors/claude/actions/analyze-bib.json +97 -0
  364. package/vendors/claude/actions/audit-milestone.json +63 -0
  365. package/vendors/claude/actions/check-refs.json +80 -0
  366. package/vendors/claude/actions/check-todos.json +52 -0
  367. package/vendors/claude/actions/checkpoint.json +76 -0
  368. package/vendors/claude/actions/contribute.json +57 -0
  369. package/vendors/claude/actions/create-outline.json +84 -0
  370. package/vendors/claude/actions/create-poster.json +59 -0
  371. package/vendors/claude/actions/create-slides.json +59 -0
  372. package/vendors/claude/actions/discuss-section.json +76 -0
  373. package/vendors/claude/actions/execute-outline.json +116 -0
  374. package/vendors/claude/actions/export-latex.json +65 -0
  375. package/vendors/claude/actions/help.json +30 -0
  376. package/vendors/claude/actions/insert-section.json +61 -0
  377. package/vendors/claude/actions/list-assumptions.json +35 -0
  378. package/vendors/claude/actions/map-project.json +57 -0
  379. package/vendors/claude/actions/new-paper.json +70 -0
  380. package/vendors/claude/actions/pause-writing.json +71 -0
  381. package/vendors/claude/actions/plan-milestone-gaps.json +57 -0
  382. package/vendors/claude/actions/plan-revision.json +58 -0
  383. package/vendors/claude/actions/plan-section.json +100 -0
  384. package/vendors/claude/actions/polish-prose.json +69 -0
  385. package/vendors/claude/actions/progress.json +51 -0
  386. package/vendors/claude/actions/quick.json +70 -0
  387. package/vendors/claude/actions/remove-section.json +63 -0
  388. package/vendors/claude/actions/report-bug.json +47 -0
  389. package/vendors/claude/actions/request-feature.json +47 -0
  390. package/vendors/claude/actions/research-gap.json +101 -0
  391. package/vendors/claude/actions/resume-writing.json +65 -0
  392. package/vendors/claude/actions/review-section.json +83 -0
  393. package/vendors/claude/actions/settings.json +47 -0
  394. package/vendors/claude/actions/submit-milestone.json +77 -0
  395. package/vendors/claude/actions/update.json +42 -0
  396. package/vendors/claude/actions/verify-work.json +63 -0
  397. package/vendors/claude/actions/write-section.json +115 -0
  398. package/vendors/claude/agents/wtfp/argument-verifier.md +42 -166
  399. package/vendors/claude/agents/wtfp/citation-expert.md +51 -28
  400. package/vendors/claude/agents/wtfp/citation-formatter.md +52 -26
  401. package/vendors/claude/agents/wtfp/coherence-checker.md +41 -144
  402. package/vendors/claude/agents/wtfp/outliner.md +47 -233
  403. package/vendors/claude/agents/wtfp/plan-checker.md +42 -226
  404. package/vendors/claude/agents/wtfp/prose-polisher.md +58 -156
  405. package/vendors/claude/agents/wtfp/research-synthesizer.md +47 -192
  406. package/vendors/claude/agents/wtfp/section-planner.md +46 -340
  407. package/vendors/claude/agents/wtfp/section-reviewer.md +42 -159
  408. package/vendors/claude/agents/wtfp/section-writer.md +46 -287
  409. package/vendors/claude/aliases.lock.json +42 -0
  410. package/vendors/claude/catalog.json +127 -0
  411. package/vendors/claude/commands/add-todo.md +58 -0
  412. package/vendors/claude/commands/analyze-bib.md +16 -0
  413. package/vendors/claude/commands/audit-milestone.md +16 -0
  414. package/vendors/claude/commands/check-refs.md +16 -0
  415. package/vendors/claude/commands/check-todos.md +57 -0
  416. package/vendors/claude/commands/checkpoint.md +73 -0
  417. package/vendors/claude/commands/contribute.md +16 -0
  418. package/vendors/claude/commands/create-outline.md +73 -0
  419. package/vendors/claude/commands/create-poster.md +16 -0
  420. package/vendors/claude/commands/create-slides.md +16 -0
  421. package/vendors/claude/commands/discuss-section.md +63 -0
  422. package/vendors/claude/commands/execute-outline.md +74 -0
  423. package/vendors/claude/commands/export-latex.md +16 -0
  424. package/vendors/claude/commands/help.md +47 -0
  425. package/vendors/claude/commands/insert-section.md +59 -0
  426. package/vendors/claude/commands/list-assumptions.md +58 -0
  427. package/vendors/claude/commands/map-project.md +60 -0
  428. package/vendors/claude/commands/new-paper.md +68 -0
  429. package/vendors/claude/commands/pause-writing.md +64 -0
  430. package/vendors/claude/commands/plan-milestone-gaps.md +61 -0
  431. package/vendors/claude/commands/plan-revision.md +61 -0
  432. package/vendors/claude/commands/plan-section.md +76 -0
  433. package/vendors/claude/commands/polish-prose.md +62 -0
  434. package/vendors/claude/commands/progress.md +71 -0
  435. package/vendors/claude/commands/quick.md +62 -0
  436. package/vendors/claude/commands/remove-section.md +16 -0
  437. package/vendors/claude/commands/report-bug.md +16 -0
  438. package/vendors/claude/commands/request-feature.md +16 -0
  439. package/vendors/claude/commands/research-gap.md +16 -0
  440. package/vendors/claude/commands/resume-writing.md +71 -0
  441. package/vendors/claude/commands/review-section.md +67 -0
  442. package/vendors/claude/commands/settings.md +55 -0
  443. package/vendors/claude/commands/submit-milestone.md +71 -0
  444. package/vendors/claude/commands/update.md +16 -0
  445. package/vendors/claude/commands/verify-work.md +61 -0
  446. package/vendors/claude/commands/write-section.md +76 -0
  447. package/vendors/claude/compatibility/action-availability.json +314 -0
  448. package/vendors/claude/effects.json +107 -0
  449. package/vendors/claude/fleets/wtfp-draft-review.json +35 -0
  450. package/vendors/claude/fleets/wtfp-plan-section.json +34 -0
  451. package/vendors/claude/project/README.md +65 -0
  452. package/vendors/claude/project/schemas/checkpoint.schema.json +102 -0
  453. package/vendors/claude/project/schemas/common.schema.json +33 -0
  454. package/vendors/claude/project/schemas/config.schema.json +69 -0
  455. package/vendors/claude/project/schemas/decisions.schema.json +31 -0
  456. package/vendors/claude/project/schemas/evidence.schema.json +48 -0
  457. package/vendors/claude/project/schemas/manifest.schema.json +102 -0
  458. package/vendors/claude/project/schemas/outline.schema.json +67 -0
  459. package/vendors/claude/project/schemas/section.schema.json +95 -0
  460. package/vendors/claude/project/schemas/source.schema.json +73 -0
  461. package/vendors/claude/project/schemas/state.schema.json +58 -0
  462. package/vendors/claude/project/schemas/validation.schema.json +74 -0
  463. package/vendors/claude/project/templates/checkpoint.json +25 -0
  464. package/vendors/claude/project/templates/config.json +31 -0
  465. package/vendors/claude/project/templates/decisions.json +35 -0
  466. package/vendors/claude/project/templates/evidence.json +18 -0
  467. package/vendors/claude/project/templates/manifest.json +30 -0
  468. package/vendors/claude/project/templates/outline.json +38 -0
  469. package/vendors/claude/project/templates/section.json +32 -0
  470. package/vendors/claude/project/templates/source.json +20 -0
  471. package/vendors/claude/project/templates/state.json +22 -0
  472. package/vendors/claude/project/templates/validation.json +32 -0
  473. package/vendors/claude/repository/CONTRIBUTING.md +183 -0
  474. package/vendors/claude/roles/argument-verifier.md +62 -0
  475. package/vendors/claude/roles/citation-expert.md +63 -0
  476. package/vendors/claude/roles/citation-formatter.md +63 -0
  477. package/vendors/claude/roles/coherence-checker.md +61 -0
  478. package/vendors/claude/roles/outliner.md +68 -0
  479. package/vendors/claude/roles/plan-checker.md +62 -0
  480. package/vendors/claude/roles/prose-polisher.md +63 -0
  481. package/vendors/claude/roles/research-synthesizer.md +65 -0
  482. package/vendors/claude/roles/section-planner.md +65 -0
  483. package/vendors/claude/roles/section-reviewer.md +62 -0
  484. package/vendors/claude/roles/section-writer.md +66 -0
  485. package/vendors/claude/schemas/action.schema.json +129 -0
  486. package/vendors/claude/schemas/aliases.schema.json +26 -0
  487. package/vendors/claude/schemas/catalog.schema.json +61 -0
  488. package/vendors/claude/schemas/effects.schema.json +26 -0
  489. package/vendors/claude/schemas/role-result.schema.json +74 -0
  490. package/vendors/claude/schemas/tools.schema.json +26 -0
  491. package/vendors/claude/skills/wtfp-deliver-research/SKILL.md +39 -0
  492. package/vendors/claude/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  493. package/vendors/claude/skills/wtfp-deliver-research/references/actions.md +117 -0
  494. package/vendors/claude/skills/wtfp-manage-project/SKILL.md +40 -0
  495. package/vendors/claude/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  496. package/vendors/claude/skills/wtfp-manage-project/references/actions.md +91 -0
  497. package/vendors/claude/skills/wtfp-plan-section/SKILL.md +40 -0
  498. package/vendors/claude/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  499. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +131 -0
  500. package/vendors/claude/skills/wtfp-research-literature/SKILL.md +37 -0
  501. package/vendors/claude/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  502. package/vendors/claude/skills/wtfp-research-literature/references/actions.md +115 -0
  503. package/vendors/claude/skills/wtfp-review-manuscript/SKILL.md +40 -0
  504. package/vendors/claude/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  505. package/vendors/claude/skills/wtfp-review-manuscript/references/actions.md +112 -0
  506. package/vendors/claude/skills/wtfp-start-project/SKILL.md +38 -0
  507. package/vendors/claude/skills/wtfp-start-project/agents/openai.yaml +4 -0
  508. package/vendors/claude/skills/wtfp-start-project/references/actions.md +80 -0
  509. package/vendors/claude/skills/wtfp-write-section/SKILL.md +37 -0
  510. package/vendors/claude/skills/wtfp-write-section/agents/openai.yaml +4 -0
  511. package/vendors/claude/skills/wtfp-write-section/references/actions.md +69 -0
  512. package/vendors/claude/tools/README.md +13 -0
  513. package/vendors/claude/tools/bibliography/analyze-impact.js +109 -0
  514. package/vendors/claude/tools/bibliography/format.js +161 -0
  515. package/vendors/claude/tools/bibliography/index.js +104 -0
  516. package/vendors/claude/tools/citation/fetch.js +299 -0
  517. package/vendors/claude/tools/citation/rank.js +145 -0
  518. package/vendors/claude/tools/citation/scholar-lookup.js +188 -0
  519. package/vendors/claude/tools/citation/semantic-scholar.js +184 -0
  520. package/vendors/claude/tools.json +54 -0
  521. package/vendors/claude/workflows/add-todo.md +32 -0
  522. package/vendors/claude/workflows/analyze-bib.md +33 -0
  523. package/vendors/claude/workflows/audit-milestone.md +32 -0
  524. package/vendors/claude/workflows/check-refs.md +32 -0
  525. package/vendors/claude/workflows/check-todos.md +32 -0
  526. package/vendors/claude/workflows/checkpoint.md +32 -0
  527. package/vendors/claude/workflows/contribute.md +30 -0
  528. package/vendors/claude/workflows/create-outline.md +33 -0
  529. package/vendors/claude/workflows/create-poster.md +32 -0
  530. package/vendors/claude/workflows/create-slides.md +32 -0
  531. package/vendors/claude/workflows/discuss-section.md +32 -0
  532. package/vendors/claude/workflows/execute-outline.md +32 -0
  533. package/vendors/claude/workflows/export-latex.md +32 -0
  534. package/vendors/claude/workflows/help.md +30 -0
  535. package/vendors/claude/workflows/insert-section.md +32 -0
  536. package/vendors/claude/workflows/list-assumptions.md +32 -0
  537. package/vendors/claude/workflows/map-project.md +32 -0
  538. package/vendors/claude/workflows/new-paper.md +37 -0
  539. package/vendors/claude/workflows/pause-writing.md +32 -0
  540. package/vendors/claude/workflows/plan-milestone-gaps.md +32 -0
  541. package/vendors/claude/workflows/plan-revision.md +32 -0
  542. package/vendors/claude/workflows/plan-section.md +34 -0
  543. package/vendors/claude/workflows/polish-prose.md +32 -0
  544. package/vendors/claude/workflows/progress.md +32 -0
  545. package/vendors/claude/workflows/quick.md +32 -0
  546. package/vendors/claude/workflows/remove-section.md +32 -0
  547. package/vendors/claude/workflows/report-bug.md +30 -0
  548. package/vendors/claude/workflows/request-feature.md +30 -0
  549. package/vendors/claude/workflows/research-gap.md +32 -0
  550. package/vendors/claude/workflows/resume-writing.md +34 -0
  551. package/vendors/claude/workflows/review-section.md +33 -0
  552. package/vendors/claude/workflows/settings.md +32 -0
  553. package/vendors/claude/workflows/submit-milestone.md +32 -0
  554. package/vendors/claude/workflows/update.md +30 -0
  555. package/vendors/claude/workflows/verify-work.md +32 -0
  556. package/vendors/claude/workflows/write-section.md +34 -0
  557. package/vendors/clio/.wtfp-generated.json +936 -0
  558. package/vendors/clio/actions/add-todo.json +52 -0
  559. package/vendors/clio/actions/analyze-bib.json +97 -0
  560. package/vendors/clio/actions/audit-milestone.json +63 -0
  561. package/vendors/clio/actions/check-refs.json +80 -0
  562. package/vendors/clio/actions/check-todos.json +52 -0
  563. package/vendors/clio/actions/checkpoint.json +76 -0
  564. package/vendors/clio/actions/contribute.json +57 -0
  565. package/vendors/clio/actions/create-outline.json +84 -0
  566. package/vendors/clio/actions/create-poster.json +59 -0
  567. package/vendors/clio/actions/create-slides.json +59 -0
  568. package/vendors/clio/actions/discuss-section.json +76 -0
  569. package/vendors/clio/actions/execute-outline.json +116 -0
  570. package/vendors/clio/actions/export-latex.json +65 -0
  571. package/vendors/clio/actions/help.json +30 -0
  572. package/vendors/clio/actions/insert-section.json +61 -0
  573. package/vendors/clio/actions/list-assumptions.json +35 -0
  574. package/vendors/clio/actions/map-project.json +57 -0
  575. package/vendors/clio/actions/new-paper.json +70 -0
  576. package/vendors/clio/actions/pause-writing.json +71 -0
  577. package/vendors/clio/actions/plan-milestone-gaps.json +57 -0
  578. package/vendors/clio/actions/plan-revision.json +58 -0
  579. package/vendors/clio/actions/plan-section.json +100 -0
  580. package/vendors/clio/actions/polish-prose.json +69 -0
  581. package/vendors/clio/actions/progress.json +51 -0
  582. package/vendors/clio/actions/quick.json +70 -0
  583. package/vendors/clio/actions/remove-section.json +63 -0
  584. package/vendors/clio/actions/report-bug.json +47 -0
  585. package/vendors/clio/actions/request-feature.json +47 -0
  586. package/vendors/clio/actions/research-gap.json +101 -0
  587. package/vendors/clio/actions/resume-writing.json +65 -0
  588. package/vendors/clio/actions/review-section.json +83 -0
  589. package/vendors/clio/actions/settings.json +47 -0
  590. package/vendors/clio/actions/submit-milestone.json +77 -0
  591. package/vendors/clio/actions/update.json +42 -0
  592. package/vendors/clio/actions/verify-work.json +63 -0
  593. package/vendors/clio/actions/write-section.json +115 -0
  594. package/vendors/clio/agents/wtfp-argument-verifier.md +60 -0
  595. package/vendors/clio/agents/wtfp-citation-expert.md +61 -0
  596. package/vendors/clio/agents/wtfp-citation-formatter.md +61 -0
  597. package/vendors/clio/agents/wtfp-coherence-checker.md +59 -0
  598. package/vendors/clio/agents/wtfp-outliner.md +66 -0
  599. package/vendors/clio/agents/wtfp-plan-checker.md +60 -0
  600. package/vendors/clio/agents/wtfp-prose-polisher.md +61 -0
  601. package/vendors/clio/agents/wtfp-research-synthesizer.md +63 -0
  602. package/vendors/clio/agents/wtfp-section-planner.md +63 -0
  603. package/vendors/clio/agents/wtfp-section-reviewer.md +60 -0
  604. package/vendors/clio/agents/wtfp-section-writer.md +64 -0
  605. package/vendors/clio/aliases.lock.json +42 -0
  606. package/vendors/clio/catalog.json +127 -0
  607. package/vendors/clio/clio-coder-extension.yaml +12 -0
  608. package/vendors/clio/compatibility/action-availability.json +323 -0
  609. package/vendors/clio/effects.json +107 -0
  610. package/vendors/clio/fleets/wtfp-draft-review.md +25 -0
  611. package/vendors/clio/fleets/wtfp-plan-section.md +23 -0
  612. package/vendors/clio/project/README.md +65 -0
  613. package/vendors/clio/project/schemas/checkpoint.schema.json +102 -0
  614. package/vendors/clio/project/schemas/common.schema.json +33 -0
  615. package/vendors/clio/project/schemas/config.schema.json +69 -0
  616. package/vendors/clio/project/schemas/decisions.schema.json +31 -0
  617. package/vendors/clio/project/schemas/evidence.schema.json +48 -0
  618. package/vendors/clio/project/schemas/manifest.schema.json +102 -0
  619. package/vendors/clio/project/schemas/outline.schema.json +67 -0
  620. package/vendors/clio/project/schemas/section.schema.json +95 -0
  621. package/vendors/clio/project/schemas/source.schema.json +73 -0
  622. package/vendors/clio/project/schemas/state.schema.json +58 -0
  623. package/vendors/clio/project/schemas/validation.schema.json +74 -0
  624. package/vendors/clio/project/templates/checkpoint.json +25 -0
  625. package/vendors/clio/project/templates/config.json +31 -0
  626. package/vendors/clio/project/templates/decisions.json +35 -0
  627. package/vendors/clio/project/templates/evidence.json +18 -0
  628. package/vendors/clio/project/templates/manifest.json +30 -0
  629. package/vendors/clio/project/templates/outline.json +38 -0
  630. package/vendors/clio/project/templates/section.json +32 -0
  631. package/vendors/clio/project/templates/source.json +20 -0
  632. package/vendors/clio/project/templates/state.json +22 -0
  633. package/vendors/clio/project/templates/validation.json +32 -0
  634. package/vendors/clio/prompts/wtfp/add-todo.md +52 -0
  635. package/vendors/clio/prompts/wtfp/analyze-bib.md +15 -0
  636. package/vendors/clio/prompts/wtfp/audit-milestone.md +15 -0
  637. package/vendors/clio/prompts/wtfp/check-refs.md +15 -0
  638. package/vendors/clio/prompts/wtfp/check-todos.md +54 -0
  639. package/vendors/clio/prompts/wtfp/checkpoint.md +70 -0
  640. package/vendors/clio/prompts/wtfp/contribute.md +15 -0
  641. package/vendors/clio/prompts/wtfp/create-outline.md +69 -0
  642. package/vendors/clio/prompts/wtfp/create-poster.md +15 -0
  643. package/vendors/clio/prompts/wtfp/create-slides.md +15 -0
  644. package/vendors/clio/prompts/wtfp/discuss-section.md +60 -0
  645. package/vendors/clio/prompts/wtfp/execute-outline.md +70 -0
  646. package/vendors/clio/prompts/wtfp/export-latex.md +15 -0
  647. package/vendors/clio/prompts/wtfp/help.md +43 -0
  648. package/vendors/clio/prompts/wtfp/insert-section.md +56 -0
  649. package/vendors/clio/prompts/wtfp/list-assumptions.md +54 -0
  650. package/vendors/clio/prompts/wtfp/map-project.md +54 -0
  651. package/vendors/clio/prompts/wtfp/new-paper.md +65 -0
  652. package/vendors/clio/prompts/wtfp/pause-writing.md +58 -0
  653. package/vendors/clio/prompts/wtfp/plan-milestone-gaps.md +58 -0
  654. package/vendors/clio/prompts/wtfp/plan-revision.md +58 -0
  655. package/vendors/clio/prompts/wtfp/plan-section.md +72 -0
  656. package/vendors/clio/prompts/wtfp/polish-prose.md +58 -0
  657. package/vendors/clio/prompts/wtfp/progress.md +70 -0
  658. package/vendors/clio/prompts/wtfp/quick.md +58 -0
  659. package/vendors/clio/prompts/wtfp/remove-section.md +15 -0
  660. package/vendors/clio/prompts/wtfp/report-bug.md +15 -0
  661. package/vendors/clio/prompts/wtfp/request-feature.md +15 -0
  662. package/vendors/clio/prompts/wtfp/research-gap.md +15 -0
  663. package/vendors/clio/prompts/wtfp/resume-writing.md +68 -0
  664. package/vendors/clio/prompts/wtfp/review-section.md +63 -0
  665. package/vendors/clio/prompts/wtfp/settings.md +52 -0
  666. package/vendors/clio/prompts/wtfp/submit-milestone.md +68 -0
  667. package/vendors/clio/prompts/wtfp/update.md +15 -0
  668. package/vendors/clio/prompts/wtfp/verify-work.md +58 -0
  669. package/vendors/clio/prompts/wtfp/write-section.md +72 -0
  670. package/vendors/clio/prompts/wtfp-add-todo.md +52 -0
  671. package/vendors/clio/prompts/wtfp-analyze-bib.md +15 -0
  672. package/vendors/clio/prompts/wtfp-audit-milestone.md +15 -0
  673. package/vendors/clio/prompts/wtfp-check-refs.md +15 -0
  674. package/vendors/clio/prompts/wtfp-check-todos.md +54 -0
  675. package/vendors/clio/prompts/wtfp-checkpoint.md +70 -0
  676. package/vendors/clio/prompts/wtfp-contribute.md +15 -0
  677. package/vendors/clio/prompts/wtfp-create-outline.md +69 -0
  678. package/vendors/clio/prompts/wtfp-create-poster.md +15 -0
  679. package/vendors/clio/prompts/wtfp-create-slides.md +15 -0
  680. package/vendors/clio/prompts/wtfp-discuss-section.md +60 -0
  681. package/vendors/clio/prompts/wtfp-execute-outline.md +70 -0
  682. package/vendors/clio/prompts/wtfp-export-latex.md +15 -0
  683. package/vendors/clio/prompts/wtfp-help.md +43 -0
  684. package/vendors/clio/prompts/wtfp-insert-section.md +56 -0
  685. package/vendors/clio/prompts/wtfp-list-assumptions.md +54 -0
  686. package/vendors/clio/prompts/wtfp-map-project.md +54 -0
  687. package/vendors/clio/prompts/wtfp-new-paper.md +65 -0
  688. package/vendors/clio/prompts/wtfp-pause-writing.md +58 -0
  689. package/vendors/clio/prompts/wtfp-plan-milestone-gaps.md +58 -0
  690. package/vendors/clio/prompts/wtfp-plan-revision.md +58 -0
  691. package/vendors/clio/prompts/wtfp-plan-section.md +72 -0
  692. package/vendors/clio/prompts/wtfp-polish-prose.md +58 -0
  693. package/vendors/clio/prompts/wtfp-progress.md +70 -0
  694. package/vendors/clio/prompts/wtfp-quick.md +58 -0
  695. package/vendors/clio/prompts/wtfp-remove-section.md +15 -0
  696. package/vendors/clio/prompts/wtfp-report-bug.md +15 -0
  697. package/vendors/clio/prompts/wtfp-request-feature.md +15 -0
  698. package/vendors/clio/prompts/wtfp-research-gap.md +15 -0
  699. package/vendors/clio/prompts/wtfp-resume-writing.md +68 -0
  700. package/vendors/clio/prompts/wtfp-review-section.md +63 -0
  701. package/vendors/clio/prompts/wtfp-settings.md +52 -0
  702. package/vendors/clio/prompts/wtfp-submit-milestone.md +68 -0
  703. package/vendors/clio/prompts/wtfp-update.md +15 -0
  704. package/vendors/clio/prompts/wtfp-verify-work.md +58 -0
  705. package/vendors/clio/prompts/wtfp-write-section.md +72 -0
  706. package/vendors/clio/repository/CONTRIBUTING.md +183 -0
  707. package/vendors/clio/roles/argument-verifier.md +62 -0
  708. package/vendors/clio/roles/citation-expert.md +63 -0
  709. package/vendors/clio/roles/citation-formatter.md +63 -0
  710. package/vendors/clio/roles/coherence-checker.md +61 -0
  711. package/vendors/clio/roles/outliner.md +68 -0
  712. package/vendors/clio/roles/plan-checker.md +62 -0
  713. package/vendors/clio/roles/prose-polisher.md +63 -0
  714. package/vendors/clio/roles/research-synthesizer.md +65 -0
  715. package/vendors/clio/roles/section-planner.md +65 -0
  716. package/vendors/clio/roles/section-reviewer.md +62 -0
  717. package/vendors/clio/roles/section-writer.md +66 -0
  718. package/vendors/clio/schemas/action.schema.json +129 -0
  719. package/vendors/clio/schemas/aliases.schema.json +26 -0
  720. package/vendors/clio/schemas/catalog.schema.json +61 -0
  721. package/vendors/clio/schemas/effects.schema.json +26 -0
  722. package/vendors/clio/schemas/role-result.schema.json +74 -0
  723. package/vendors/clio/schemas/tools.schema.json +26 -0
  724. package/vendors/clio/skills/wtfp-deliver-research/SKILL.md +39 -0
  725. package/vendors/clio/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  726. package/vendors/clio/skills/wtfp-deliver-research/references/actions.md +117 -0
  727. package/vendors/clio/skills/wtfp-manage-project/SKILL.md +40 -0
  728. package/vendors/clio/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  729. package/vendors/clio/skills/wtfp-manage-project/references/actions.md +91 -0
  730. package/vendors/clio/skills/wtfp-plan-section/SKILL.md +40 -0
  731. package/vendors/clio/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  732. package/vendors/clio/skills/wtfp-plan-section/references/actions.md +131 -0
  733. package/vendors/clio/skills/wtfp-research-literature/SKILL.md +37 -0
  734. package/vendors/clio/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  735. package/vendors/clio/skills/wtfp-research-literature/references/actions.md +115 -0
  736. package/vendors/clio/skills/wtfp-review-manuscript/SKILL.md +40 -0
  737. package/vendors/clio/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  738. package/vendors/clio/skills/wtfp-review-manuscript/references/actions.md +112 -0
  739. package/vendors/clio/skills/wtfp-start-project/SKILL.md +38 -0
  740. package/vendors/clio/skills/wtfp-start-project/agents/openai.yaml +4 -0
  741. package/vendors/clio/skills/wtfp-start-project/references/actions.md +80 -0
  742. package/vendors/clio/skills/wtfp-write-section/SKILL.md +37 -0
  743. package/vendors/clio/skills/wtfp-write-section/agents/openai.yaml +4 -0
  744. package/vendors/clio/skills/wtfp-write-section/references/actions.md +69 -0
  745. package/vendors/clio/tools/README.md +13 -0
  746. package/vendors/clio/tools/bibliography/analyze-impact.js +109 -0
  747. package/vendors/clio/tools/bibliography/format.js +161 -0
  748. package/vendors/clio/tools/bibliography/index.js +104 -0
  749. package/vendors/clio/tools/citation/fetch.js +299 -0
  750. package/vendors/clio/tools/citation/rank.js +145 -0
  751. package/vendors/clio/tools/citation/scholar-lookup.js +188 -0
  752. package/vendors/clio/tools/citation/semantic-scholar.js +184 -0
  753. package/vendors/clio/tools.json +54 -0
  754. package/vendors/clio/workflows/add-todo.md +32 -0
  755. package/vendors/clio/workflows/analyze-bib.md +33 -0
  756. package/vendors/clio/workflows/audit-milestone.md +32 -0
  757. package/vendors/clio/workflows/check-refs.md +32 -0
  758. package/vendors/clio/workflows/check-todos.md +32 -0
  759. package/vendors/clio/workflows/checkpoint.md +32 -0
  760. package/vendors/clio/workflows/contribute.md +30 -0
  761. package/vendors/clio/workflows/create-outline.md +33 -0
  762. package/vendors/clio/workflows/create-poster.md +32 -0
  763. package/vendors/clio/workflows/create-slides.md +32 -0
  764. package/vendors/clio/workflows/discuss-section.md +32 -0
  765. package/vendors/clio/workflows/execute-outline.md +32 -0
  766. package/vendors/clio/workflows/export-latex.md +32 -0
  767. package/vendors/clio/workflows/help.md +30 -0
  768. package/vendors/clio/workflows/insert-section.md +32 -0
  769. package/vendors/clio/workflows/list-assumptions.md +32 -0
  770. package/vendors/clio/workflows/map-project.md +32 -0
  771. package/vendors/clio/workflows/new-paper.md +37 -0
  772. package/vendors/clio/workflows/pause-writing.md +32 -0
  773. package/vendors/clio/workflows/plan-milestone-gaps.md +32 -0
  774. package/vendors/clio/workflows/plan-revision.md +32 -0
  775. package/vendors/clio/workflows/plan-section.md +34 -0
  776. package/vendors/clio/workflows/polish-prose.md +32 -0
  777. package/vendors/clio/workflows/progress.md +32 -0
  778. package/vendors/clio/workflows/quick.md +32 -0
  779. package/vendors/clio/workflows/remove-section.md +32 -0
  780. package/vendors/clio/workflows/report-bug.md +30 -0
  781. package/vendors/clio/workflows/request-feature.md +30 -0
  782. package/vendors/clio/workflows/research-gap.md +32 -0
  783. package/vendors/clio/workflows/resume-writing.md +34 -0
  784. package/vendors/clio/workflows/review-section.md +33 -0
  785. package/vendors/clio/workflows/settings.md +32 -0
  786. package/vendors/clio/workflows/submit-milestone.md +32 -0
  787. package/vendors/clio/workflows/update.md +30 -0
  788. package/vendors/clio/workflows/verify-work.md +32 -0
  789. package/vendors/clio/workflows/write-section.md +34 -0
  790. package/vendors/codex/.agents/plugins/marketplace.json +20 -0
  791. package/vendors/codex/.wtfp-generated.json +12 -0
  792. package/vendors/codex/plugins/wtf-p/.codex-plugin/plugin.json +32 -0
  793. package/vendors/codex/plugins/wtf-p/.wtfp-generated.json +604 -0
  794. package/vendors/codex/plugins/wtf-p/actions/add-todo.json +52 -0
  795. package/vendors/codex/plugins/wtf-p/actions/analyze-bib.json +97 -0
  796. package/vendors/codex/plugins/wtf-p/actions/audit-milestone.json +63 -0
  797. package/vendors/codex/plugins/wtf-p/actions/check-refs.json +80 -0
  798. package/vendors/codex/plugins/wtf-p/actions/check-todos.json +52 -0
  799. package/vendors/codex/plugins/wtf-p/actions/checkpoint.json +76 -0
  800. package/vendors/codex/plugins/wtf-p/actions/contribute.json +57 -0
  801. package/vendors/codex/plugins/wtf-p/actions/create-outline.json +84 -0
  802. package/vendors/codex/plugins/wtf-p/actions/create-poster.json +59 -0
  803. package/vendors/codex/plugins/wtf-p/actions/create-slides.json +59 -0
  804. package/vendors/codex/plugins/wtf-p/actions/discuss-section.json +76 -0
  805. package/vendors/codex/plugins/wtf-p/actions/execute-outline.json +116 -0
  806. package/vendors/codex/plugins/wtf-p/actions/export-latex.json +65 -0
  807. package/vendors/codex/plugins/wtf-p/actions/help.json +30 -0
  808. package/vendors/codex/plugins/wtf-p/actions/insert-section.json +61 -0
  809. package/vendors/codex/plugins/wtf-p/actions/list-assumptions.json +35 -0
  810. package/vendors/codex/plugins/wtf-p/actions/map-project.json +57 -0
  811. package/vendors/codex/plugins/wtf-p/actions/new-paper.json +70 -0
  812. package/vendors/codex/plugins/wtf-p/actions/pause-writing.json +71 -0
  813. package/vendors/codex/plugins/wtf-p/actions/plan-milestone-gaps.json +57 -0
  814. package/vendors/codex/plugins/wtf-p/actions/plan-revision.json +58 -0
  815. package/vendors/codex/plugins/wtf-p/actions/plan-section.json +100 -0
  816. package/vendors/codex/plugins/wtf-p/actions/polish-prose.json +69 -0
  817. package/vendors/codex/plugins/wtf-p/actions/progress.json +51 -0
  818. package/vendors/codex/plugins/wtf-p/actions/quick.json +70 -0
  819. package/vendors/codex/plugins/wtf-p/actions/remove-section.json +63 -0
  820. package/vendors/codex/plugins/wtf-p/actions/report-bug.json +47 -0
  821. package/vendors/codex/plugins/wtf-p/actions/request-feature.json +47 -0
  822. package/vendors/codex/plugins/wtf-p/actions/research-gap.json +101 -0
  823. package/vendors/codex/plugins/wtf-p/actions/resume-writing.json +65 -0
  824. package/vendors/codex/plugins/wtf-p/actions/review-section.json +83 -0
  825. package/vendors/codex/plugins/wtf-p/actions/settings.json +47 -0
  826. package/vendors/codex/plugins/wtf-p/actions/submit-milestone.json +77 -0
  827. package/vendors/codex/plugins/wtf-p/actions/update.json +42 -0
  828. package/vendors/codex/plugins/wtf-p/actions/verify-work.json +63 -0
  829. package/vendors/codex/plugins/wtf-p/actions/write-section.json +115 -0
  830. package/vendors/codex/plugins/wtf-p/aliases.lock.json +42 -0
  831. package/vendors/codex/plugins/wtf-p/catalog.json +127 -0
  832. package/vendors/codex/plugins/wtf-p/compatibility/action-availability.json +314 -0
  833. package/vendors/codex/plugins/wtf-p/effects.json +107 -0
  834. package/vendors/codex/plugins/wtf-p/fleets/wtfp-draft-review.json +35 -0
  835. package/vendors/codex/plugins/wtf-p/fleets/wtfp-plan-section.json +34 -0
  836. package/vendors/codex/plugins/wtf-p/project/README.md +65 -0
  837. package/vendors/codex/plugins/wtf-p/project/schemas/checkpoint.schema.json +102 -0
  838. package/vendors/codex/plugins/wtf-p/project/schemas/common.schema.json +33 -0
  839. package/vendors/codex/plugins/wtf-p/project/schemas/config.schema.json +69 -0
  840. package/vendors/codex/plugins/wtf-p/project/schemas/decisions.schema.json +31 -0
  841. package/vendors/codex/plugins/wtf-p/project/schemas/evidence.schema.json +48 -0
  842. package/vendors/codex/plugins/wtf-p/project/schemas/manifest.schema.json +102 -0
  843. package/vendors/codex/plugins/wtf-p/project/schemas/outline.schema.json +67 -0
  844. package/vendors/codex/plugins/wtf-p/project/schemas/section.schema.json +95 -0
  845. package/vendors/codex/plugins/wtf-p/project/schemas/source.schema.json +73 -0
  846. package/vendors/codex/plugins/wtf-p/project/schemas/state.schema.json +58 -0
  847. package/vendors/codex/plugins/wtf-p/project/schemas/validation.schema.json +74 -0
  848. package/vendors/codex/plugins/wtf-p/project/templates/checkpoint.json +25 -0
  849. package/vendors/codex/plugins/wtf-p/project/templates/config.json +31 -0
  850. package/vendors/codex/plugins/wtf-p/project/templates/decisions.json +35 -0
  851. package/vendors/codex/plugins/wtf-p/project/templates/evidence.json +18 -0
  852. package/vendors/codex/plugins/wtf-p/project/templates/manifest.json +30 -0
  853. package/vendors/codex/plugins/wtf-p/project/templates/outline.json +38 -0
  854. package/vendors/codex/plugins/wtf-p/project/templates/section.json +32 -0
  855. package/vendors/codex/plugins/wtf-p/project/templates/source.json +20 -0
  856. package/vendors/codex/plugins/wtf-p/project/templates/state.json +22 -0
  857. package/vendors/codex/plugins/wtf-p/project/templates/validation.json +32 -0
  858. package/vendors/codex/plugins/wtf-p/repository/CONTRIBUTING.md +183 -0
  859. package/vendors/codex/plugins/wtf-p/roles/argument-verifier.md +62 -0
  860. package/vendors/codex/plugins/wtf-p/roles/citation-expert.md +63 -0
  861. package/vendors/codex/plugins/wtf-p/roles/citation-formatter.md +63 -0
  862. package/vendors/codex/plugins/wtf-p/roles/coherence-checker.md +61 -0
  863. package/vendors/codex/plugins/wtf-p/roles/outliner.md +68 -0
  864. package/vendors/codex/plugins/wtf-p/roles/plan-checker.md +62 -0
  865. package/vendors/codex/plugins/wtf-p/roles/prose-polisher.md +63 -0
  866. package/vendors/codex/plugins/wtf-p/roles/research-synthesizer.md +65 -0
  867. package/vendors/codex/plugins/wtf-p/roles/section-planner.md +65 -0
  868. package/vendors/codex/plugins/wtf-p/roles/section-reviewer.md +62 -0
  869. package/vendors/codex/plugins/wtf-p/roles/section-writer.md +66 -0
  870. package/vendors/codex/plugins/wtf-p/schemas/action.schema.json +129 -0
  871. package/vendors/codex/plugins/wtf-p/schemas/aliases.schema.json +26 -0
  872. package/vendors/codex/plugins/wtf-p/schemas/catalog.schema.json +61 -0
  873. package/vendors/codex/plugins/wtf-p/schemas/effects.schema.json +26 -0
  874. package/vendors/codex/plugins/wtf-p/schemas/role-result.schema.json +74 -0
  875. package/vendors/codex/plugins/wtf-p/schemas/tools.schema.json +26 -0
  876. package/vendors/codex/plugins/wtf-p/skills/wtfp-deliver-research/SKILL.md +39 -0
  877. package/vendors/codex/plugins/wtf-p/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  878. package/vendors/codex/plugins/wtf-p/skills/wtfp-deliver-research/references/actions.md +117 -0
  879. package/vendors/codex/plugins/wtf-p/skills/wtfp-manage-project/SKILL.md +40 -0
  880. package/vendors/codex/plugins/wtf-p/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  881. package/vendors/codex/plugins/wtf-p/skills/wtfp-manage-project/references/actions.md +91 -0
  882. package/vendors/codex/plugins/wtf-p/skills/wtfp-plan-section/SKILL.md +40 -0
  883. package/vendors/codex/plugins/wtf-p/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  884. package/vendors/codex/plugins/wtf-p/skills/wtfp-plan-section/references/actions.md +131 -0
  885. package/vendors/codex/plugins/wtf-p/skills/wtfp-research-literature/SKILL.md +37 -0
  886. package/vendors/codex/plugins/wtf-p/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  887. package/vendors/codex/plugins/wtf-p/skills/wtfp-research-literature/references/actions.md +115 -0
  888. package/vendors/codex/plugins/wtf-p/skills/wtfp-review-manuscript/SKILL.md +40 -0
  889. package/vendors/codex/plugins/wtf-p/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  890. package/vendors/codex/plugins/wtf-p/skills/wtfp-review-manuscript/references/actions.md +112 -0
  891. package/vendors/codex/plugins/wtf-p/skills/wtfp-start-project/SKILL.md +38 -0
  892. package/vendors/codex/plugins/wtf-p/skills/wtfp-start-project/agents/openai.yaml +4 -0
  893. package/vendors/codex/plugins/wtf-p/skills/wtfp-start-project/references/actions.md +80 -0
  894. package/vendors/codex/plugins/wtf-p/skills/wtfp-write-section/SKILL.md +37 -0
  895. package/vendors/codex/plugins/wtf-p/skills/wtfp-write-section/agents/openai.yaml +4 -0
  896. package/vendors/codex/plugins/wtf-p/skills/wtfp-write-section/references/actions.md +69 -0
  897. package/vendors/codex/plugins/wtf-p/tools/README.md +13 -0
  898. package/vendors/codex/plugins/wtf-p/tools/bibliography/analyze-impact.js +109 -0
  899. package/vendors/codex/plugins/wtf-p/tools/bibliography/format.js +161 -0
  900. package/vendors/codex/plugins/wtf-p/tools/bibliography/index.js +104 -0
  901. package/vendors/codex/plugins/wtf-p/tools/citation/fetch.js +299 -0
  902. package/vendors/codex/plugins/wtf-p/tools/citation/rank.js +145 -0
  903. package/vendors/codex/plugins/wtf-p/tools/citation/scholar-lookup.js +188 -0
  904. package/vendors/codex/plugins/wtf-p/tools/citation/semantic-scholar.js +184 -0
  905. package/vendors/codex/plugins/wtf-p/tools.json +54 -0
  906. package/vendors/codex/plugins/wtf-p/workflows/add-todo.md +32 -0
  907. package/vendors/codex/plugins/wtf-p/workflows/analyze-bib.md +33 -0
  908. package/vendors/codex/plugins/wtf-p/workflows/audit-milestone.md +32 -0
  909. package/vendors/codex/plugins/wtf-p/workflows/check-refs.md +32 -0
  910. package/vendors/codex/plugins/wtf-p/workflows/check-todos.md +32 -0
  911. package/vendors/codex/plugins/wtf-p/workflows/checkpoint.md +32 -0
  912. package/vendors/codex/plugins/wtf-p/workflows/contribute.md +30 -0
  913. package/vendors/codex/plugins/wtf-p/workflows/create-outline.md +33 -0
  914. package/vendors/codex/plugins/wtf-p/workflows/create-poster.md +32 -0
  915. package/vendors/codex/plugins/wtf-p/workflows/create-slides.md +32 -0
  916. package/vendors/codex/plugins/wtf-p/workflows/discuss-section.md +32 -0
  917. package/vendors/codex/plugins/wtf-p/workflows/execute-outline.md +32 -0
  918. package/vendors/codex/plugins/wtf-p/workflows/export-latex.md +32 -0
  919. package/vendors/codex/plugins/wtf-p/workflows/help.md +30 -0
  920. package/vendors/codex/plugins/wtf-p/workflows/insert-section.md +32 -0
  921. package/vendors/codex/plugins/wtf-p/workflows/list-assumptions.md +32 -0
  922. package/vendors/codex/plugins/wtf-p/workflows/map-project.md +32 -0
  923. package/vendors/codex/plugins/wtf-p/workflows/new-paper.md +37 -0
  924. package/vendors/codex/plugins/wtf-p/workflows/pause-writing.md +32 -0
  925. package/vendors/codex/plugins/wtf-p/workflows/plan-milestone-gaps.md +32 -0
  926. package/vendors/codex/plugins/wtf-p/workflows/plan-revision.md +32 -0
  927. package/vendors/codex/plugins/wtf-p/workflows/plan-section.md +34 -0
  928. package/vendors/codex/plugins/wtf-p/workflows/polish-prose.md +32 -0
  929. package/vendors/codex/plugins/wtf-p/workflows/progress.md +32 -0
  930. package/vendors/codex/plugins/wtf-p/workflows/quick.md +32 -0
  931. package/vendors/codex/plugins/wtf-p/workflows/remove-section.md +32 -0
  932. package/vendors/codex/plugins/wtf-p/workflows/report-bug.md +30 -0
  933. package/vendors/codex/plugins/wtf-p/workflows/request-feature.md +30 -0
  934. package/vendors/codex/plugins/wtf-p/workflows/research-gap.md +32 -0
  935. package/vendors/codex/plugins/wtf-p/workflows/resume-writing.md +34 -0
  936. package/vendors/codex/plugins/wtf-p/workflows/review-section.md +33 -0
  937. package/vendors/codex/plugins/wtf-p/workflows/settings.md +32 -0
  938. package/vendors/codex/plugins/wtf-p/workflows/submit-milestone.md +32 -0
  939. package/vendors/codex/plugins/wtf-p/workflows/update.md +30 -0
  940. package/vendors/codex/plugins/wtf-p/workflows/verify-work.md +32 -0
  941. package/vendors/codex/plugins/wtf-p/workflows/write-section.md +34 -0
  942. package/vendors/copilot/.wtfp-generated.json +848 -0
  943. package/vendors/copilot/marketplace.json +24 -0
  944. package/vendors/copilot/plugins/wtf-p/.claude-plugin/plugin.json +12 -0
  945. package/vendors/copilot/plugins/wtf-p/.wtfp-generated.json +792 -0
  946. package/vendors/copilot/plugins/wtf-p/actions/add-todo.json +52 -0
  947. package/vendors/copilot/plugins/wtf-p/actions/analyze-bib.json +97 -0
  948. package/vendors/copilot/plugins/wtf-p/actions/audit-milestone.json +63 -0
  949. package/vendors/copilot/plugins/wtf-p/actions/check-refs.json +80 -0
  950. package/vendors/copilot/plugins/wtf-p/actions/check-todos.json +52 -0
  951. package/vendors/copilot/plugins/wtf-p/actions/checkpoint.json +76 -0
  952. package/vendors/copilot/plugins/wtf-p/actions/contribute.json +57 -0
  953. package/vendors/copilot/plugins/wtf-p/actions/create-outline.json +84 -0
  954. package/vendors/copilot/plugins/wtf-p/actions/create-poster.json +59 -0
  955. package/vendors/copilot/plugins/wtf-p/actions/create-slides.json +59 -0
  956. package/vendors/copilot/plugins/wtf-p/actions/discuss-section.json +76 -0
  957. package/vendors/copilot/plugins/wtf-p/actions/execute-outline.json +116 -0
  958. package/vendors/copilot/plugins/wtf-p/actions/export-latex.json +65 -0
  959. package/vendors/copilot/plugins/wtf-p/actions/help.json +30 -0
  960. package/vendors/copilot/plugins/wtf-p/actions/insert-section.json +61 -0
  961. package/vendors/copilot/plugins/wtf-p/actions/list-assumptions.json +35 -0
  962. package/vendors/copilot/plugins/wtf-p/actions/map-project.json +57 -0
  963. package/vendors/copilot/plugins/wtf-p/actions/new-paper.json +70 -0
  964. package/vendors/copilot/plugins/wtf-p/actions/pause-writing.json +71 -0
  965. package/vendors/copilot/plugins/wtf-p/actions/plan-milestone-gaps.json +57 -0
  966. package/vendors/copilot/plugins/wtf-p/actions/plan-revision.json +58 -0
  967. package/vendors/copilot/plugins/wtf-p/actions/plan-section.json +100 -0
  968. package/vendors/copilot/plugins/wtf-p/actions/polish-prose.json +69 -0
  969. package/vendors/copilot/plugins/wtf-p/actions/progress.json +51 -0
  970. package/vendors/copilot/plugins/wtf-p/actions/quick.json +70 -0
  971. package/vendors/copilot/plugins/wtf-p/actions/remove-section.json +63 -0
  972. package/vendors/copilot/plugins/wtf-p/actions/report-bug.json +47 -0
  973. package/vendors/copilot/plugins/wtf-p/actions/request-feature.json +47 -0
  974. package/vendors/copilot/plugins/wtf-p/actions/research-gap.json +101 -0
  975. package/vendors/copilot/plugins/wtf-p/actions/resume-writing.json +65 -0
  976. package/vendors/copilot/plugins/wtf-p/actions/review-section.json +83 -0
  977. package/vendors/copilot/plugins/wtf-p/actions/settings.json +47 -0
  978. package/vendors/copilot/plugins/wtf-p/actions/submit-milestone.json +77 -0
  979. package/vendors/copilot/plugins/wtf-p/actions/update.json +42 -0
  980. package/vendors/copilot/plugins/wtf-p/actions/verify-work.json +63 -0
  981. package/vendors/copilot/plugins/wtf-p/actions/write-section.json +115 -0
  982. package/vendors/copilot/plugins/wtf-p/agents/wtfp-argument-verifier.md +65 -0
  983. package/vendors/copilot/plugins/wtf-p/agents/wtfp-citation-expert.md +68 -0
  984. package/vendors/copilot/plugins/wtf-p/agents/wtfp-citation-formatter.md +68 -0
  985. package/vendors/copilot/plugins/wtf-p/agents/wtfp-coherence-checker.md +64 -0
  986. package/vendors/copilot/plugins/wtf-p/agents/wtfp-outliner.md +73 -0
  987. package/vendors/copilot/plugins/wtf-p/agents/wtfp-plan-checker.md +65 -0
  988. package/vendors/copilot/plugins/wtf-p/agents/wtfp-prose-polisher.md +68 -0
  989. package/vendors/copilot/plugins/wtf-p/agents/wtfp-research-synthesizer.md +70 -0
  990. package/vendors/copilot/plugins/wtf-p/agents/wtfp-section-planner.md +70 -0
  991. package/vendors/copilot/plugins/wtf-p/agents/wtfp-section-reviewer.md +65 -0
  992. package/vendors/copilot/plugins/wtf-p/agents/wtfp-section-writer.md +71 -0
  993. package/vendors/copilot/plugins/wtf-p/aliases.lock.json +42 -0
  994. package/vendors/copilot/plugins/wtf-p/catalog.json +127 -0
  995. package/vendors/copilot/plugins/wtf-p/commands/wtfp-add-todo.md +59 -0
  996. package/vendors/copilot/plugins/wtf-p/commands/wtfp-analyze-bib.md +17 -0
  997. package/vendors/copilot/plugins/wtf-p/commands/wtfp-audit-milestone.md +17 -0
  998. package/vendors/copilot/plugins/wtf-p/commands/wtfp-check-refs.md +17 -0
  999. package/vendors/copilot/plugins/wtf-p/commands/wtfp-check-todos.md +58 -0
  1000. package/vendors/copilot/plugins/wtf-p/commands/wtfp-checkpoint.md +74 -0
  1001. package/vendors/copilot/plugins/wtf-p/commands/wtfp-contribute.md +17 -0
  1002. package/vendors/copilot/plugins/wtf-p/commands/wtfp-create-outline.md +74 -0
  1003. package/vendors/copilot/plugins/wtf-p/commands/wtfp-create-poster.md +17 -0
  1004. package/vendors/copilot/plugins/wtf-p/commands/wtfp-create-slides.md +17 -0
  1005. package/vendors/copilot/plugins/wtf-p/commands/wtfp-discuss-section.md +64 -0
  1006. package/vendors/copilot/plugins/wtf-p/commands/wtfp-execute-outline.md +75 -0
  1007. package/vendors/copilot/plugins/wtf-p/commands/wtfp-export-latex.md +17 -0
  1008. package/vendors/copilot/plugins/wtf-p/commands/wtfp-help.md +48 -0
  1009. package/vendors/copilot/plugins/wtf-p/commands/wtfp-insert-section.md +60 -0
  1010. package/vendors/copilot/plugins/wtf-p/commands/wtfp-list-assumptions.md +59 -0
  1011. package/vendors/copilot/plugins/wtf-p/commands/wtfp-map-project.md +61 -0
  1012. package/vendors/copilot/plugins/wtf-p/commands/wtfp-new-paper.md +69 -0
  1013. package/vendors/copilot/plugins/wtf-p/commands/wtfp-pause-writing.md +65 -0
  1014. package/vendors/copilot/plugins/wtf-p/commands/wtfp-plan-milestone-gaps.md +62 -0
  1015. package/vendors/copilot/plugins/wtf-p/commands/wtfp-plan-revision.md +62 -0
  1016. package/vendors/copilot/plugins/wtf-p/commands/wtfp-plan-section.md +77 -0
  1017. package/vendors/copilot/plugins/wtf-p/commands/wtfp-polish-prose.md +63 -0
  1018. package/vendors/copilot/plugins/wtf-p/commands/wtfp-progress.md +72 -0
  1019. package/vendors/copilot/plugins/wtf-p/commands/wtfp-quick.md +63 -0
  1020. package/vendors/copilot/plugins/wtf-p/commands/wtfp-remove-section.md +17 -0
  1021. package/vendors/copilot/plugins/wtf-p/commands/wtfp-report-bug.md +17 -0
  1022. package/vendors/copilot/plugins/wtf-p/commands/wtfp-request-feature.md +17 -0
  1023. package/vendors/copilot/plugins/wtf-p/commands/wtfp-research-gap.md +17 -0
  1024. package/vendors/copilot/plugins/wtf-p/commands/wtfp-resume-writing.md +72 -0
  1025. package/vendors/copilot/plugins/wtf-p/commands/wtfp-review-section.md +68 -0
  1026. package/vendors/copilot/plugins/wtf-p/commands/wtfp-settings.md +56 -0
  1027. package/vendors/copilot/plugins/wtf-p/commands/wtfp-submit-milestone.md +72 -0
  1028. package/vendors/copilot/plugins/wtf-p/commands/wtfp-update.md +17 -0
  1029. package/vendors/copilot/plugins/wtf-p/commands/wtfp-verify-work.md +62 -0
  1030. package/vendors/copilot/plugins/wtf-p/commands/wtfp-write-section.md +77 -0
  1031. package/vendors/copilot/plugins/wtf-p/compatibility/action-availability.json +314 -0
  1032. package/vendors/copilot/plugins/wtf-p/effects.json +107 -0
  1033. package/vendors/copilot/plugins/wtf-p/fleets/wtfp-draft-review.json +35 -0
  1034. package/vendors/copilot/plugins/wtf-p/fleets/wtfp-plan-section.json +34 -0
  1035. package/vendors/copilot/plugins/wtf-p/project/README.md +65 -0
  1036. package/vendors/copilot/plugins/wtf-p/project/schemas/checkpoint.schema.json +102 -0
  1037. package/vendors/copilot/plugins/wtf-p/project/schemas/common.schema.json +33 -0
  1038. package/vendors/copilot/plugins/wtf-p/project/schemas/config.schema.json +69 -0
  1039. package/vendors/copilot/plugins/wtf-p/project/schemas/decisions.schema.json +31 -0
  1040. package/vendors/copilot/plugins/wtf-p/project/schemas/evidence.schema.json +48 -0
  1041. package/vendors/copilot/plugins/wtf-p/project/schemas/manifest.schema.json +102 -0
  1042. package/vendors/copilot/plugins/wtf-p/project/schemas/outline.schema.json +67 -0
  1043. package/vendors/copilot/plugins/wtf-p/project/schemas/section.schema.json +95 -0
  1044. package/vendors/copilot/plugins/wtf-p/project/schemas/source.schema.json +73 -0
  1045. package/vendors/copilot/plugins/wtf-p/project/schemas/state.schema.json +58 -0
  1046. package/vendors/copilot/plugins/wtf-p/project/schemas/validation.schema.json +74 -0
  1047. package/vendors/copilot/plugins/wtf-p/project/templates/checkpoint.json +25 -0
  1048. package/vendors/copilot/plugins/wtf-p/project/templates/config.json +31 -0
  1049. package/vendors/copilot/plugins/wtf-p/project/templates/decisions.json +35 -0
  1050. package/vendors/copilot/plugins/wtf-p/project/templates/evidence.json +18 -0
  1051. package/vendors/copilot/plugins/wtf-p/project/templates/manifest.json +30 -0
  1052. package/vendors/copilot/plugins/wtf-p/project/templates/outline.json +38 -0
  1053. package/vendors/copilot/plugins/wtf-p/project/templates/section.json +32 -0
  1054. package/vendors/copilot/plugins/wtf-p/project/templates/source.json +20 -0
  1055. package/vendors/copilot/plugins/wtf-p/project/templates/state.json +22 -0
  1056. package/vendors/copilot/plugins/wtf-p/project/templates/validation.json +32 -0
  1057. package/vendors/copilot/plugins/wtf-p/repository/CONTRIBUTING.md +183 -0
  1058. package/vendors/copilot/plugins/wtf-p/roles/argument-verifier.md +62 -0
  1059. package/vendors/copilot/plugins/wtf-p/roles/citation-expert.md +63 -0
  1060. package/vendors/copilot/plugins/wtf-p/roles/citation-formatter.md +63 -0
  1061. package/vendors/copilot/plugins/wtf-p/roles/coherence-checker.md +61 -0
  1062. package/vendors/copilot/plugins/wtf-p/roles/outliner.md +68 -0
  1063. package/vendors/copilot/plugins/wtf-p/roles/plan-checker.md +62 -0
  1064. package/vendors/copilot/plugins/wtf-p/roles/prose-polisher.md +63 -0
  1065. package/vendors/copilot/plugins/wtf-p/roles/research-synthesizer.md +65 -0
  1066. package/vendors/copilot/plugins/wtf-p/roles/section-planner.md +65 -0
  1067. package/vendors/copilot/plugins/wtf-p/roles/section-reviewer.md +62 -0
  1068. package/vendors/copilot/plugins/wtf-p/roles/section-writer.md +66 -0
  1069. package/vendors/copilot/plugins/wtf-p/schemas/action.schema.json +129 -0
  1070. package/vendors/copilot/plugins/wtf-p/schemas/aliases.schema.json +26 -0
  1071. package/vendors/copilot/plugins/wtf-p/schemas/catalog.schema.json +61 -0
  1072. package/vendors/copilot/plugins/wtf-p/schemas/effects.schema.json +26 -0
  1073. package/vendors/copilot/plugins/wtf-p/schemas/role-result.schema.json +74 -0
  1074. package/vendors/copilot/plugins/wtf-p/schemas/tools.schema.json +26 -0
  1075. package/vendors/copilot/plugins/wtf-p/skills/wtfp-deliver-research/SKILL.md +39 -0
  1076. package/vendors/copilot/plugins/wtf-p/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  1077. package/vendors/copilot/plugins/wtf-p/skills/wtfp-deliver-research/references/actions.md +117 -0
  1078. package/vendors/copilot/plugins/wtf-p/skills/wtfp-manage-project/SKILL.md +40 -0
  1079. package/vendors/copilot/plugins/wtf-p/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  1080. package/vendors/copilot/plugins/wtf-p/skills/wtfp-manage-project/references/actions.md +91 -0
  1081. package/vendors/copilot/plugins/wtf-p/skills/wtfp-plan-section/SKILL.md +40 -0
  1082. package/vendors/copilot/plugins/wtf-p/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  1083. package/vendors/copilot/plugins/wtf-p/skills/wtfp-plan-section/references/actions.md +131 -0
  1084. package/vendors/copilot/plugins/wtf-p/skills/wtfp-research-literature/SKILL.md +37 -0
  1085. package/vendors/copilot/plugins/wtf-p/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  1086. package/vendors/copilot/plugins/wtf-p/skills/wtfp-research-literature/references/actions.md +115 -0
  1087. package/vendors/copilot/plugins/wtf-p/skills/wtfp-review-manuscript/SKILL.md +40 -0
  1088. package/vendors/copilot/plugins/wtf-p/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  1089. package/vendors/copilot/plugins/wtf-p/skills/wtfp-review-manuscript/references/actions.md +112 -0
  1090. package/vendors/copilot/plugins/wtf-p/skills/wtfp-start-project/SKILL.md +38 -0
  1091. package/vendors/copilot/plugins/wtf-p/skills/wtfp-start-project/agents/openai.yaml +4 -0
  1092. package/vendors/copilot/plugins/wtf-p/skills/wtfp-start-project/references/actions.md +80 -0
  1093. package/vendors/copilot/plugins/wtf-p/skills/wtfp-write-section/SKILL.md +37 -0
  1094. package/vendors/copilot/plugins/wtf-p/skills/wtfp-write-section/agents/openai.yaml +4 -0
  1095. package/vendors/copilot/plugins/wtf-p/skills/wtfp-write-section/references/actions.md +69 -0
  1096. package/vendors/copilot/plugins/wtf-p/tools/README.md +13 -0
  1097. package/vendors/copilot/plugins/wtf-p/tools/bibliography/analyze-impact.js +109 -0
  1098. package/vendors/copilot/plugins/wtf-p/tools/bibliography/format.js +161 -0
  1099. package/vendors/copilot/plugins/wtf-p/tools/bibliography/index.js +104 -0
  1100. package/vendors/copilot/plugins/wtf-p/tools/citation/fetch.js +299 -0
  1101. package/vendors/copilot/plugins/wtf-p/tools/citation/rank.js +145 -0
  1102. package/vendors/copilot/plugins/wtf-p/tools/citation/scholar-lookup.js +188 -0
  1103. package/vendors/copilot/plugins/wtf-p/tools/citation/semantic-scholar.js +184 -0
  1104. package/vendors/copilot/plugins/wtf-p/tools.json +54 -0
  1105. package/vendors/copilot/plugins/wtf-p/workflows/add-todo.md +32 -0
  1106. package/vendors/copilot/plugins/wtf-p/workflows/analyze-bib.md +33 -0
  1107. package/vendors/copilot/plugins/wtf-p/workflows/audit-milestone.md +32 -0
  1108. package/vendors/copilot/plugins/wtf-p/workflows/check-refs.md +32 -0
  1109. package/vendors/copilot/plugins/wtf-p/workflows/check-todos.md +32 -0
  1110. package/vendors/copilot/plugins/wtf-p/workflows/checkpoint.md +32 -0
  1111. package/vendors/copilot/plugins/wtf-p/workflows/contribute.md +30 -0
  1112. package/vendors/copilot/plugins/wtf-p/workflows/create-outline.md +33 -0
  1113. package/vendors/copilot/plugins/wtf-p/workflows/create-poster.md +32 -0
  1114. package/vendors/copilot/plugins/wtf-p/workflows/create-slides.md +32 -0
  1115. package/vendors/copilot/plugins/wtf-p/workflows/discuss-section.md +32 -0
  1116. package/vendors/copilot/plugins/wtf-p/workflows/execute-outline.md +32 -0
  1117. package/vendors/copilot/plugins/wtf-p/workflows/export-latex.md +32 -0
  1118. package/vendors/copilot/plugins/wtf-p/workflows/help.md +30 -0
  1119. package/vendors/copilot/plugins/wtf-p/workflows/insert-section.md +32 -0
  1120. package/vendors/copilot/plugins/wtf-p/workflows/list-assumptions.md +32 -0
  1121. package/vendors/copilot/plugins/wtf-p/workflows/map-project.md +32 -0
  1122. package/vendors/copilot/plugins/wtf-p/workflows/new-paper.md +37 -0
  1123. package/vendors/copilot/plugins/wtf-p/workflows/pause-writing.md +32 -0
  1124. package/vendors/copilot/plugins/wtf-p/workflows/plan-milestone-gaps.md +32 -0
  1125. package/vendors/copilot/plugins/wtf-p/workflows/plan-revision.md +32 -0
  1126. package/vendors/copilot/plugins/wtf-p/workflows/plan-section.md +34 -0
  1127. package/vendors/copilot/plugins/wtf-p/workflows/polish-prose.md +32 -0
  1128. package/vendors/copilot/plugins/wtf-p/workflows/progress.md +32 -0
  1129. package/vendors/copilot/plugins/wtf-p/workflows/quick.md +32 -0
  1130. package/vendors/copilot/plugins/wtf-p/workflows/remove-section.md +32 -0
  1131. package/vendors/copilot/plugins/wtf-p/workflows/report-bug.md +30 -0
  1132. package/vendors/copilot/plugins/wtf-p/workflows/request-feature.md +30 -0
  1133. package/vendors/copilot/plugins/wtf-p/workflows/research-gap.md +32 -0
  1134. package/vendors/copilot/plugins/wtf-p/workflows/resume-writing.md +34 -0
  1135. package/vendors/copilot/plugins/wtf-p/workflows/review-section.md +33 -0
  1136. package/vendors/copilot/plugins/wtf-p/workflows/settings.md +32 -0
  1137. package/vendors/copilot/plugins/wtf-p/workflows/submit-milestone.md +32 -0
  1138. package/vendors/copilot/plugins/wtf-p/workflows/update.md +30 -0
  1139. package/vendors/copilot/plugins/wtf-p/workflows/verify-work.md +32 -0
  1140. package/vendors/copilot/plugins/wtf-p/workflows/write-section.md +34 -0
  1141. package/vendors/copilot/project/.github/agents/wtfp-argument-verifier.agent.md +62 -0
  1142. package/vendors/copilot/project/.github/agents/wtfp-citation-expert.agent.md +63 -0
  1143. package/vendors/copilot/project/.github/agents/wtfp-citation-formatter.agent.md +63 -0
  1144. package/vendors/copilot/project/.github/agents/wtfp-coherence-checker.agent.md +61 -0
  1145. package/vendors/copilot/project/.github/agents/wtfp-outliner.agent.md +68 -0
  1146. package/vendors/copilot/project/.github/agents/wtfp-plan-checker.agent.md +62 -0
  1147. package/vendors/copilot/project/.github/agents/wtfp-prose-polisher.agent.md +63 -0
  1148. package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +65 -0
  1149. package/vendors/copilot/project/.github/agents/wtfp-section-planner.agent.md +65 -0
  1150. package/vendors/copilot/project/.github/agents/wtfp-section-reviewer.agent.md +62 -0
  1151. package/vendors/copilot/project/.github/agents/wtfp-section-writer.agent.md +66 -0
  1152. package/vendors/copilot/project/.github/copilot-instructions.md +7 -0
  1153. package/vendors/copilot/project/.github/prompts/wtfp-add-todo.prompt.md +54 -0
  1154. package/vendors/copilot/project/.github/prompts/wtfp-analyze-bib.prompt.md +18 -0
  1155. package/vendors/copilot/project/.github/prompts/wtfp-audit-milestone.prompt.md +18 -0
  1156. package/vendors/copilot/project/.github/prompts/wtfp-check-refs.prompt.md +18 -0
  1157. package/vendors/copilot/project/.github/prompts/wtfp-check-todos.prompt.md +18 -0
  1158. package/vendors/copilot/project/.github/prompts/wtfp-checkpoint.prompt.md +18 -0
  1159. package/vendors/copilot/project/.github/prompts/wtfp-contribute.prompt.md +18 -0
  1160. package/vendors/copilot/project/.github/prompts/wtfp-create-outline.prompt.md +18 -0
  1161. package/vendors/copilot/project/.github/prompts/wtfp-create-poster.prompt.md +18 -0
  1162. package/vendors/copilot/project/.github/prompts/wtfp-create-slides.prompt.md +18 -0
  1163. package/vendors/copilot/project/.github/prompts/wtfp-discuss-section.prompt.md +18 -0
  1164. package/vendors/copilot/project/.github/prompts/wtfp-execute-outline.prompt.md +18 -0
  1165. package/vendors/copilot/project/.github/prompts/wtfp-export-latex.prompt.md +18 -0
  1166. package/vendors/copilot/project/.github/prompts/wtfp-help.prompt.md +45 -0
  1167. package/vendors/copilot/project/.github/prompts/wtfp-insert-section.prompt.md +18 -0
  1168. package/vendors/copilot/project/.github/prompts/wtfp-list-assumptions.prompt.md +56 -0
  1169. package/vendors/copilot/project/.github/prompts/wtfp-map-project.prompt.md +56 -0
  1170. package/vendors/copilot/project/.github/prompts/wtfp-new-paper.prompt.md +18 -0
  1171. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +60 -0
  1172. package/vendors/copilot/project/.github/prompts/wtfp-plan-milestone-gaps.prompt.md +18 -0
  1173. package/vendors/copilot/project/.github/prompts/wtfp-plan-revision.prompt.md +18 -0
  1174. package/vendors/copilot/project/.github/prompts/wtfp-plan-section.prompt.md +18 -0
  1175. package/vendors/copilot/project/.github/prompts/wtfp-polish-prose.prompt.md +18 -0
  1176. package/vendors/copilot/project/.github/prompts/wtfp-progress.prompt.md +18 -0
  1177. package/vendors/copilot/project/.github/prompts/wtfp-quick.prompt.md +18 -0
  1178. package/vendors/copilot/project/.github/prompts/wtfp-remove-section.prompt.md +18 -0
  1179. package/vendors/copilot/project/.github/prompts/wtfp-report-bug.prompt.md +18 -0
  1180. package/vendors/copilot/project/.github/prompts/wtfp-request-feature.prompt.md +18 -0
  1181. package/vendors/copilot/project/.github/prompts/wtfp-research-gap.prompt.md +18 -0
  1182. package/vendors/copilot/project/.github/prompts/wtfp-resume-writing.prompt.md +18 -0
  1183. package/vendors/copilot/project/.github/prompts/wtfp-review-section.prompt.md +18 -0
  1184. package/vendors/copilot/project/.github/prompts/wtfp-settings.prompt.md +18 -0
  1185. package/vendors/copilot/project/.github/prompts/wtfp-submit-milestone.prompt.md +18 -0
  1186. package/vendors/copilot/project/.github/prompts/wtfp-update.prompt.md +18 -0
  1187. package/vendors/copilot/project/.github/prompts/wtfp-verify-work.prompt.md +18 -0
  1188. package/vendors/copilot/project/.github/prompts/wtfp-write-section.prompt.md +18 -0
  1189. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/SKILL.md +39 -0
  1190. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  1191. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/references/actions.md +129 -0
  1192. package/vendors/copilot/project/.github/skills/wtfp-manage-project/SKILL.md +40 -0
  1193. package/vendors/copilot/project/.github/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  1194. package/vendors/copilot/project/.github/skills/wtfp-manage-project/references/actions.md +155 -0
  1195. package/vendors/copilot/project/.github/skills/wtfp-plan-section/SKILL.md +40 -0
  1196. package/vendors/copilot/project/.github/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  1197. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +179 -0
  1198. package/vendors/copilot/project/.github/skills/wtfp-research-literature/SKILL.md +37 -0
  1199. package/vendors/copilot/project/.github/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  1200. package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +115 -0
  1201. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/SKILL.md +40 -0
  1202. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  1203. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/references/actions.md +160 -0
  1204. package/vendors/copilot/project/.github/skills/wtfp-start-project/SKILL.md +38 -0
  1205. package/vendors/copilot/project/.github/skills/wtfp-start-project/agents/openai.yaml +4 -0
  1206. package/vendors/copilot/project/.github/skills/wtfp-start-project/references/actions.md +108 -0
  1207. package/vendors/copilot/project/.github/skills/wtfp-write-section/SKILL.md +37 -0
  1208. package/vendors/copilot/project/.github/skills/wtfp-write-section/agents/openai.yaml +4 -0
  1209. package/vendors/copilot/project/.github/skills/wtfp-write-section/references/actions.md +109 -0
  1210. package/vendors/copilot/project/.github/wtfp/actions/add-todo.json +52 -0
  1211. package/vendors/copilot/project/.github/wtfp/actions/analyze-bib.json +97 -0
  1212. package/vendors/copilot/project/.github/wtfp/actions/audit-milestone.json +63 -0
  1213. package/vendors/copilot/project/.github/wtfp/actions/check-refs.json +80 -0
  1214. package/vendors/copilot/project/.github/wtfp/actions/check-todos.json +52 -0
  1215. package/vendors/copilot/project/.github/wtfp/actions/checkpoint.json +76 -0
  1216. package/vendors/copilot/project/.github/wtfp/actions/contribute.json +57 -0
  1217. package/vendors/copilot/project/.github/wtfp/actions/create-outline.json +84 -0
  1218. package/vendors/copilot/project/.github/wtfp/actions/create-poster.json +59 -0
  1219. package/vendors/copilot/project/.github/wtfp/actions/create-slides.json +59 -0
  1220. package/vendors/copilot/project/.github/wtfp/actions/discuss-section.json +76 -0
  1221. package/vendors/copilot/project/.github/wtfp/actions/execute-outline.json +116 -0
  1222. package/vendors/copilot/project/.github/wtfp/actions/export-latex.json +65 -0
  1223. package/vendors/copilot/project/.github/wtfp/actions/help.json +30 -0
  1224. package/vendors/copilot/project/.github/wtfp/actions/insert-section.json +61 -0
  1225. package/vendors/copilot/project/.github/wtfp/actions/list-assumptions.json +35 -0
  1226. package/vendors/copilot/project/.github/wtfp/actions/map-project.json +57 -0
  1227. package/vendors/copilot/project/.github/wtfp/actions/new-paper.json +70 -0
  1228. package/vendors/copilot/project/.github/wtfp/actions/pause-writing.json +71 -0
  1229. package/vendors/copilot/project/.github/wtfp/actions/plan-milestone-gaps.json +57 -0
  1230. package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +58 -0
  1231. package/vendors/copilot/project/.github/wtfp/actions/plan-section.json +100 -0
  1232. package/vendors/copilot/project/.github/wtfp/actions/polish-prose.json +69 -0
  1233. package/vendors/copilot/project/.github/wtfp/actions/progress.json +51 -0
  1234. package/vendors/copilot/project/.github/wtfp/actions/quick.json +70 -0
  1235. package/vendors/copilot/project/.github/wtfp/actions/remove-section.json +63 -0
  1236. package/vendors/copilot/project/.github/wtfp/actions/report-bug.json +47 -0
  1237. package/vendors/copilot/project/.github/wtfp/actions/request-feature.json +47 -0
  1238. package/vendors/copilot/project/.github/wtfp/actions/research-gap.json +101 -0
  1239. package/vendors/copilot/project/.github/wtfp/actions/resume-writing.json +65 -0
  1240. package/vendors/copilot/project/.github/wtfp/actions/review-section.json +83 -0
  1241. package/vendors/copilot/project/.github/wtfp/actions/settings.json +47 -0
  1242. package/vendors/copilot/project/.github/wtfp/actions/submit-milestone.json +77 -0
  1243. package/vendors/copilot/project/.github/wtfp/actions/update.json +42 -0
  1244. package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +63 -0
  1245. package/vendors/copilot/project/.github/wtfp/actions/write-section.json +115 -0
  1246. package/vendors/copilot/project/.github/wtfp/aliases.lock.json +42 -0
  1247. package/vendors/copilot/project/.github/wtfp/catalog.json +127 -0
  1248. package/vendors/copilot/project/.github/wtfp/compatibility/action-availability.json +364 -0
  1249. package/vendors/copilot/project/.github/wtfp/effects.json +107 -0
  1250. package/vendors/copilot/project/.github/wtfp/fleets/wtfp-draft-review.json +35 -0
  1251. package/vendors/copilot/project/.github/wtfp/fleets/wtfp-plan-section.json +34 -0
  1252. package/vendors/copilot/project/.github/wtfp/project/README.md +65 -0
  1253. package/vendors/copilot/project/.github/wtfp/project/schemas/checkpoint.schema.json +102 -0
  1254. package/vendors/copilot/project/.github/wtfp/project/schemas/common.schema.json +33 -0
  1255. package/vendors/copilot/project/.github/wtfp/project/schemas/config.schema.json +69 -0
  1256. package/vendors/copilot/project/.github/wtfp/project/schemas/decisions.schema.json +31 -0
  1257. package/vendors/copilot/project/.github/wtfp/project/schemas/evidence.schema.json +48 -0
  1258. package/vendors/copilot/project/.github/wtfp/project/schemas/manifest.schema.json +102 -0
  1259. package/vendors/copilot/project/.github/wtfp/project/schemas/outline.schema.json +67 -0
  1260. package/vendors/copilot/project/.github/wtfp/project/schemas/section.schema.json +95 -0
  1261. package/vendors/copilot/project/.github/wtfp/project/schemas/source.schema.json +73 -0
  1262. package/vendors/copilot/project/.github/wtfp/project/schemas/state.schema.json +58 -0
  1263. package/vendors/copilot/project/.github/wtfp/project/schemas/validation.schema.json +74 -0
  1264. package/vendors/copilot/project/.github/wtfp/project/templates/checkpoint.json +25 -0
  1265. package/vendors/copilot/project/.github/wtfp/project/templates/config.json +31 -0
  1266. package/vendors/copilot/project/.github/wtfp/project/templates/decisions.json +35 -0
  1267. package/vendors/copilot/project/.github/wtfp/project/templates/evidence.json +18 -0
  1268. package/vendors/copilot/project/.github/wtfp/project/templates/manifest.json +30 -0
  1269. package/vendors/copilot/project/.github/wtfp/project/templates/outline.json +38 -0
  1270. package/vendors/copilot/project/.github/wtfp/project/templates/section.json +32 -0
  1271. package/vendors/copilot/project/.github/wtfp/project/templates/source.json +20 -0
  1272. package/vendors/copilot/project/.github/wtfp/project/templates/state.json +22 -0
  1273. package/vendors/copilot/project/.github/wtfp/project/templates/validation.json +32 -0
  1274. package/vendors/copilot/project/.github/wtfp/roles/argument-verifier.md +62 -0
  1275. package/vendors/copilot/project/.github/wtfp/roles/citation-expert.md +63 -0
  1276. package/vendors/copilot/project/.github/wtfp/roles/citation-formatter.md +63 -0
  1277. package/vendors/copilot/project/.github/wtfp/roles/coherence-checker.md +61 -0
  1278. package/vendors/copilot/project/.github/wtfp/roles/outliner.md +68 -0
  1279. package/vendors/copilot/project/.github/wtfp/roles/plan-checker.md +62 -0
  1280. package/vendors/copilot/project/.github/wtfp/roles/prose-polisher.md +63 -0
  1281. package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +65 -0
  1282. package/vendors/copilot/project/.github/wtfp/roles/section-planner.md +65 -0
  1283. package/vendors/copilot/project/.github/wtfp/roles/section-reviewer.md +62 -0
  1284. package/vendors/copilot/project/.github/wtfp/roles/section-writer.md +66 -0
  1285. package/vendors/copilot/project/.github/wtfp/schemas/action.schema.json +129 -0
  1286. package/vendors/copilot/project/.github/wtfp/schemas/aliases.schema.json +26 -0
  1287. package/vendors/copilot/project/.github/wtfp/schemas/catalog.schema.json +61 -0
  1288. package/vendors/copilot/project/.github/wtfp/schemas/effects.schema.json +26 -0
  1289. package/vendors/copilot/project/.github/wtfp/schemas/role-result.schema.json +74 -0
  1290. package/vendors/copilot/project/.github/wtfp/schemas/tools.schema.json +26 -0
  1291. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/SKILL.md +39 -0
  1292. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  1293. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/references/actions.md +77 -0
  1294. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/SKILL.md +40 -0
  1295. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  1296. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/references/actions.md +91 -0
  1297. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/SKILL.md +40 -0
  1298. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  1299. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +115 -0
  1300. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/SKILL.md +37 -0
  1301. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  1302. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +75 -0
  1303. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/SKILL.md +40 -0
  1304. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  1305. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/references/actions.md +96 -0
  1306. package/vendors/copilot/project/.github/wtfp/skills/wtfp-start-project/SKILL.md +38 -0
  1307. package/vendors/copilot/project/.github/wtfp/skills/wtfp-start-project/agents/openai.yaml +4 -0
  1308. package/vendors/copilot/project/.github/wtfp/skills/wtfp-start-project/references/actions.md +80 -0
  1309. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/SKILL.md +37 -0
  1310. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/agents/openai.yaml +4 -0
  1311. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/references/actions.md +69 -0
  1312. package/vendors/copilot/project/.github/wtfp/tools.json +54 -0
  1313. package/vendors/copilot/project/.github/wtfp/workflows/add-todo.md +32 -0
  1314. package/vendors/copilot/project/.github/wtfp/workflows/analyze-bib.md +33 -0
  1315. package/vendors/copilot/project/.github/wtfp/workflows/audit-milestone.md +32 -0
  1316. package/vendors/copilot/project/.github/wtfp/workflows/check-refs.md +32 -0
  1317. package/vendors/copilot/project/.github/wtfp/workflows/check-todos.md +32 -0
  1318. package/vendors/copilot/project/.github/wtfp/workflows/checkpoint.md +32 -0
  1319. package/vendors/copilot/project/.github/wtfp/workflows/contribute.md +30 -0
  1320. package/vendors/copilot/project/.github/wtfp/workflows/create-outline.md +33 -0
  1321. package/vendors/copilot/project/.github/wtfp/workflows/create-poster.md +32 -0
  1322. package/vendors/copilot/project/.github/wtfp/workflows/create-slides.md +32 -0
  1323. package/vendors/copilot/project/.github/wtfp/workflows/discuss-section.md +32 -0
  1324. package/vendors/copilot/project/.github/wtfp/workflows/execute-outline.md +32 -0
  1325. package/vendors/copilot/project/.github/wtfp/workflows/export-latex.md +32 -0
  1326. package/vendors/copilot/project/.github/wtfp/workflows/help.md +30 -0
  1327. package/vendors/copilot/project/.github/wtfp/workflows/insert-section.md +32 -0
  1328. package/vendors/copilot/project/.github/wtfp/workflows/list-assumptions.md +32 -0
  1329. package/vendors/copilot/project/.github/wtfp/workflows/map-project.md +32 -0
  1330. package/vendors/copilot/project/.github/wtfp/workflows/new-paper.md +37 -0
  1331. package/vendors/copilot/project/.github/wtfp/workflows/pause-writing.md +32 -0
  1332. package/vendors/copilot/project/.github/wtfp/workflows/plan-milestone-gaps.md +32 -0
  1333. package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +32 -0
  1334. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +34 -0
  1335. package/vendors/copilot/project/.github/wtfp/workflows/polish-prose.md +32 -0
  1336. package/vendors/copilot/project/.github/wtfp/workflows/progress.md +32 -0
  1337. package/vendors/copilot/project/.github/wtfp/workflows/quick.md +32 -0
  1338. package/vendors/copilot/project/.github/wtfp/workflows/remove-section.md +32 -0
  1339. package/vendors/copilot/project/.github/wtfp/workflows/report-bug.md +30 -0
  1340. package/vendors/copilot/project/.github/wtfp/workflows/request-feature.md +30 -0
  1341. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +32 -0
  1342. package/vendors/copilot/project/.github/wtfp/workflows/resume-writing.md +34 -0
  1343. package/vendors/copilot/project/.github/wtfp/workflows/review-section.md +33 -0
  1344. package/vendors/copilot/project/.github/wtfp/workflows/settings.md +32 -0
  1345. package/vendors/copilot/project/.github/wtfp/workflows/submit-milestone.md +32 -0
  1346. package/vendors/copilot/project/.github/wtfp/workflows/update.md +30 -0
  1347. package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +32 -0
  1348. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +34 -0
  1349. package/vendors/copilot/project/README.md +5 -0
  1350. package/vendors/gemini/.wtfp-generated.json +796 -0
  1351. package/vendors/gemini/GEMINI.md +3 -0
  1352. package/vendors/gemini/actions/add-todo.json +52 -0
  1353. package/vendors/gemini/actions/analyze-bib.json +97 -0
  1354. package/vendors/gemini/actions/audit-milestone.json +63 -0
  1355. package/vendors/gemini/actions/check-refs.json +80 -0
  1356. package/vendors/gemini/actions/check-todos.json +52 -0
  1357. package/vendors/gemini/actions/checkpoint.json +76 -0
  1358. package/vendors/gemini/actions/contribute.json +57 -0
  1359. package/vendors/gemini/actions/create-outline.json +84 -0
  1360. package/vendors/gemini/actions/create-poster.json +59 -0
  1361. package/vendors/gemini/actions/create-slides.json +59 -0
  1362. package/vendors/gemini/actions/discuss-section.json +76 -0
  1363. package/vendors/gemini/actions/execute-outline.json +116 -0
  1364. package/vendors/gemini/actions/export-latex.json +65 -0
  1365. package/vendors/gemini/actions/help.json +30 -0
  1366. package/vendors/gemini/actions/insert-section.json +61 -0
  1367. package/vendors/gemini/actions/list-assumptions.json +35 -0
  1368. package/vendors/gemini/actions/map-project.json +57 -0
  1369. package/vendors/gemini/actions/new-paper.json +70 -0
  1370. package/vendors/gemini/actions/pause-writing.json +71 -0
  1371. package/vendors/gemini/actions/plan-milestone-gaps.json +57 -0
  1372. package/vendors/gemini/actions/plan-revision.json +58 -0
  1373. package/vendors/gemini/actions/plan-section.json +100 -0
  1374. package/vendors/gemini/actions/polish-prose.json +69 -0
  1375. package/vendors/gemini/actions/progress.json +51 -0
  1376. package/vendors/gemini/actions/quick.json +70 -0
  1377. package/vendors/gemini/actions/remove-section.json +63 -0
  1378. package/vendors/gemini/actions/report-bug.json +47 -0
  1379. package/vendors/gemini/actions/request-feature.json +47 -0
  1380. package/vendors/gemini/actions/research-gap.json +101 -0
  1381. package/vendors/gemini/actions/resume-writing.json +65 -0
  1382. package/vendors/gemini/actions/review-section.json +83 -0
  1383. package/vendors/gemini/actions/settings.json +47 -0
  1384. package/vendors/gemini/actions/submit-milestone.json +77 -0
  1385. package/vendors/gemini/actions/update.json +42 -0
  1386. package/vendors/gemini/actions/verify-work.json +63 -0
  1387. package/vendors/gemini/actions/write-section.json +115 -0
  1388. package/vendors/gemini/agents/wtfp/argument-verifier.md +137 -180
  1389. package/vendors/gemini/agents/wtfp/citation-expert.md +128 -27
  1390. package/vendors/gemini/agents/wtfp/citation-formatter.md +129 -25
  1391. package/vendors/gemini/agents/wtfp/coherence-checker.md +136 -158
  1392. package/vendors/gemini/agents/wtfp/outliner.md +143 -248
  1393. package/vendors/gemini/agents/wtfp/plan-checker.md +137 -240
  1394. package/vendors/gemini/agents/wtfp/prose-polisher.md +138 -154
  1395. package/vendors/gemini/agents/wtfp/research-synthesizer.md +140 -201
  1396. package/vendors/gemini/agents/wtfp/section-planner.md +140 -351
  1397. package/vendors/gemini/agents/wtfp/section-reviewer.md +137 -171
  1398. package/vendors/gemini/agents/wtfp/section-writer.md +141 -300
  1399. package/vendors/gemini/aliases.lock.json +42 -0
  1400. package/vendors/gemini/catalog.json +127 -0
  1401. package/vendors/gemini/commands/wtfp/add-todo.toml +679 -68
  1402. package/vendors/gemini/commands/wtfp/analyze-bib.toml +9 -121
  1403. package/vendors/gemini/commands/wtfp/audit-milestone.toml +9 -273
  1404. package/vendors/gemini/commands/wtfp/check-refs.toml +9 -118
  1405. package/vendors/gemini/commands/wtfp/check-todos.toml +568 -142
  1406. package/vendors/gemini/commands/wtfp/checkpoint.toml +1441 -67
  1407. package/vendors/gemini/commands/wtfp/contribute.toml +9 -264
  1408. package/vendors/gemini/commands/wtfp/create-outline.toml +1275 -126
  1409. package/vendors/gemini/commands/wtfp/create-poster.toml +9 -31
  1410. package/vendors/gemini/commands/wtfp/create-slides.toml +9 -30
  1411. package/vendors/gemini/commands/wtfp/discuss-section.toml +996 -59
  1412. package/vendors/gemini/commands/wtfp/execute-outline.toml +1458 -220
  1413. package/vendors/gemini/commands/wtfp/export-latex.toml +9 -204
  1414. package/vendors/gemini/commands/wtfp/help.toml +267 -175
  1415. package/vendors/gemini/commands/wtfp/insert-section.toml +685 -89
  1416. package/vendors/gemini/commands/wtfp/list-assumptions.toml +794 -77
  1417. package/vendors/gemini/commands/wtfp/map-project.toml +733 -85
  1418. package/vendors/gemini/commands/wtfp/new-paper.toml +874 -147
  1419. package/vendors/gemini/commands/wtfp/pause-writing.toml +992 -98
  1420. package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +828 -218
  1421. package/vendors/gemini/commands/wtfp/plan-revision.toml +811 -137
  1422. package/vendors/gemini/commands/wtfp/plan-section.toml +1492 -184
  1423. package/vendors/gemini/commands/wtfp/polish-prose.toml +775 -79
  1424. package/vendors/gemini/commands/wtfp/progress.toml +1399 -99
  1425. package/vendors/gemini/commands/wtfp/quick.toml +751 -65
  1426. package/vendors/gemini/commands/wtfp/remove-section.toml +9 -135
  1427. package/vendors/gemini/commands/wtfp/report-bug.toml +9 -121
  1428. package/vendors/gemini/commands/wtfp/request-feature.toml +9 -150
  1429. package/vendors/gemini/commands/wtfp/research-gap.toml +9 -209
  1430. package/vendors/gemini/commands/wtfp/resume-writing.toml +1236 -90
  1431. package/vendors/gemini/commands/wtfp/review-section.toml +1008 -86
  1432. package/vendors/gemini/commands/wtfp/settings.toml +411 -153
  1433. package/vendors/gemini/commands/wtfp/submit-milestone.toml +1279 -311
  1434. package/vendors/gemini/commands/wtfp/update.toml +9 -102
  1435. package/vendors/gemini/commands/wtfp/verify-work.toml +735 -201
  1436. package/vendors/gemini/commands/wtfp/write-section.toml +1460 -202
  1437. package/vendors/gemini/compatibility/action-availability.json +314 -0
  1438. package/vendors/gemini/effects.json +107 -0
  1439. package/vendors/gemini/fleets/wtfp-draft-review.json +35 -0
  1440. package/vendors/gemini/fleets/wtfp-plan-section.json +34 -0
  1441. package/vendors/gemini/gemini-extension.json +6 -0
  1442. package/vendors/gemini/project/README.md +65 -0
  1443. package/vendors/gemini/project/schemas/checkpoint.schema.json +102 -0
  1444. package/vendors/gemini/project/schemas/common.schema.json +33 -0
  1445. package/vendors/gemini/project/schemas/config.schema.json +69 -0
  1446. package/vendors/gemini/project/schemas/decisions.schema.json +31 -0
  1447. package/vendors/gemini/project/schemas/evidence.schema.json +48 -0
  1448. package/vendors/gemini/project/schemas/manifest.schema.json +102 -0
  1449. package/vendors/gemini/project/schemas/outline.schema.json +67 -0
  1450. package/vendors/gemini/project/schemas/section.schema.json +95 -0
  1451. package/vendors/gemini/project/schemas/source.schema.json +73 -0
  1452. package/vendors/gemini/project/schemas/state.schema.json +58 -0
  1453. package/vendors/gemini/project/schemas/validation.schema.json +74 -0
  1454. package/vendors/gemini/project/templates/checkpoint.json +25 -0
  1455. package/vendors/gemini/project/templates/config.json +31 -0
  1456. package/vendors/gemini/project/templates/decisions.json +35 -0
  1457. package/vendors/gemini/project/templates/evidence.json +18 -0
  1458. package/vendors/gemini/project/templates/manifest.json +30 -0
  1459. package/vendors/gemini/project/templates/outline.json +38 -0
  1460. package/vendors/gemini/project/templates/section.json +32 -0
  1461. package/vendors/gemini/project/templates/source.json +20 -0
  1462. package/vendors/gemini/project/templates/state.json +22 -0
  1463. package/vendors/gemini/project/templates/validation.json +32 -0
  1464. package/vendors/gemini/repository/CONTRIBUTING.md +183 -0
  1465. package/vendors/gemini/roles/argument-verifier.md +62 -0
  1466. package/vendors/gemini/roles/citation-expert.md +63 -0
  1467. package/vendors/gemini/roles/citation-formatter.md +63 -0
  1468. package/vendors/gemini/roles/coherence-checker.md +61 -0
  1469. package/vendors/gemini/roles/outliner.md +68 -0
  1470. package/vendors/gemini/roles/plan-checker.md +62 -0
  1471. package/vendors/gemini/roles/prose-polisher.md +63 -0
  1472. package/vendors/gemini/roles/research-synthesizer.md +65 -0
  1473. package/vendors/gemini/roles/section-planner.md +65 -0
  1474. package/vendors/gemini/roles/section-reviewer.md +62 -0
  1475. package/vendors/gemini/roles/section-writer.md +66 -0
  1476. package/vendors/gemini/schemas/action.schema.json +129 -0
  1477. package/vendors/gemini/schemas/aliases.schema.json +26 -0
  1478. package/vendors/gemini/schemas/catalog.schema.json +61 -0
  1479. package/vendors/gemini/schemas/effects.schema.json +26 -0
  1480. package/vendors/gemini/schemas/role-result.schema.json +74 -0
  1481. package/vendors/gemini/schemas/tools.schema.json +26 -0
  1482. package/vendors/gemini/skills/wtfp-deliver-research/SKILL.md +39 -0
  1483. package/vendors/gemini/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  1484. package/vendors/gemini/skills/wtfp-deliver-research/references/actions.md +117 -0
  1485. package/vendors/gemini/skills/wtfp-manage-project/SKILL.md +40 -0
  1486. package/vendors/gemini/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  1487. package/vendors/gemini/skills/wtfp-manage-project/references/actions.md +91 -0
  1488. package/vendors/gemini/skills/wtfp-plan-section/SKILL.md +40 -0
  1489. package/vendors/gemini/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  1490. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +131 -0
  1491. package/vendors/gemini/skills/wtfp-research-literature/SKILL.md +37 -0
  1492. package/vendors/gemini/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  1493. package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +115 -0
  1494. package/vendors/gemini/skills/wtfp-review-manuscript/SKILL.md +40 -0
  1495. package/vendors/gemini/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  1496. package/vendors/gemini/skills/wtfp-review-manuscript/references/actions.md +112 -0
  1497. package/vendors/gemini/skills/wtfp-start-project/SKILL.md +38 -0
  1498. package/vendors/gemini/skills/wtfp-start-project/agents/openai.yaml +4 -0
  1499. package/vendors/gemini/skills/wtfp-start-project/references/actions.md +80 -0
  1500. package/vendors/gemini/skills/wtfp-write-section/SKILL.md +37 -0
  1501. package/vendors/gemini/skills/wtfp-write-section/agents/openai.yaml +4 -0
  1502. package/vendors/gemini/skills/wtfp-write-section/references/actions.md +69 -0
  1503. package/vendors/gemini/tools/README.md +13 -0
  1504. package/vendors/gemini/tools/bibliography/analyze-impact.js +109 -0
  1505. package/vendors/gemini/tools/bibliography/format.js +161 -0
  1506. package/vendors/gemini/tools/bibliography/index.js +104 -0
  1507. package/vendors/gemini/tools/citation/fetch.js +299 -0
  1508. package/vendors/gemini/tools/citation/rank.js +145 -0
  1509. package/vendors/gemini/tools/citation/scholar-lookup.js +188 -0
  1510. package/vendors/gemini/tools/citation/semantic-scholar.js +184 -0
  1511. package/vendors/gemini/tools.json +54 -0
  1512. package/vendors/gemini/workflows/add-todo.md +32 -0
  1513. package/vendors/gemini/workflows/analyze-bib.md +33 -0
  1514. package/vendors/gemini/workflows/audit-milestone.md +32 -0
  1515. package/vendors/gemini/workflows/check-refs.md +32 -0
  1516. package/vendors/gemini/workflows/check-todos.md +32 -0
  1517. package/vendors/gemini/workflows/checkpoint.md +32 -0
  1518. package/vendors/gemini/workflows/contribute.md +30 -0
  1519. package/vendors/gemini/workflows/create-outline.md +33 -0
  1520. package/vendors/gemini/workflows/create-poster.md +32 -0
  1521. package/vendors/gemini/workflows/create-slides.md +32 -0
  1522. package/vendors/gemini/workflows/discuss-section.md +32 -0
  1523. package/vendors/gemini/workflows/execute-outline.md +32 -0
  1524. package/vendors/gemini/workflows/export-latex.md +32 -0
  1525. package/vendors/gemini/workflows/help.md +30 -0
  1526. package/vendors/gemini/workflows/insert-section.md +32 -0
  1527. package/vendors/gemini/workflows/list-assumptions.md +32 -0
  1528. package/vendors/gemini/workflows/map-project.md +32 -0
  1529. package/vendors/gemini/workflows/new-paper.md +37 -0
  1530. package/vendors/gemini/workflows/pause-writing.md +32 -0
  1531. package/vendors/gemini/workflows/plan-milestone-gaps.md +32 -0
  1532. package/vendors/gemini/workflows/plan-revision.md +32 -0
  1533. package/vendors/gemini/workflows/plan-section.md +34 -0
  1534. package/vendors/gemini/workflows/polish-prose.md +32 -0
  1535. package/vendors/gemini/workflows/progress.md +32 -0
  1536. package/vendors/gemini/workflows/quick.md +32 -0
  1537. package/vendors/gemini/workflows/remove-section.md +32 -0
  1538. package/vendors/gemini/workflows/report-bug.md +30 -0
  1539. package/vendors/gemini/workflows/request-feature.md +30 -0
  1540. package/vendors/gemini/workflows/research-gap.md +32 -0
  1541. package/vendors/gemini/workflows/resume-writing.md +34 -0
  1542. package/vendors/gemini/workflows/review-section.md +33 -0
  1543. package/vendors/gemini/workflows/settings.md +32 -0
  1544. package/vendors/gemini/workflows/submit-milestone.md +32 -0
  1545. package/vendors/gemini/workflows/update.md +30 -0
  1546. package/vendors/gemini/workflows/verify-work.md +32 -0
  1547. package/vendors/gemini/workflows/write-section.md +34 -0
  1548. package/vendors/opencode/.wtfp-generated.json +788 -0
  1549. package/vendors/opencode/actions/add-todo.json +52 -0
  1550. package/vendors/opencode/actions/analyze-bib.json +97 -0
  1551. package/vendors/opencode/actions/audit-milestone.json +63 -0
  1552. package/vendors/opencode/actions/check-refs.json +80 -0
  1553. package/vendors/opencode/actions/check-todos.json +52 -0
  1554. package/vendors/opencode/actions/checkpoint.json +76 -0
  1555. package/vendors/opencode/actions/contribute.json +57 -0
  1556. package/vendors/opencode/actions/create-outline.json +84 -0
  1557. package/vendors/opencode/actions/create-poster.json +59 -0
  1558. package/vendors/opencode/actions/create-slides.json +59 -0
  1559. package/vendors/opencode/actions/discuss-section.json +76 -0
  1560. package/vendors/opencode/actions/execute-outline.json +116 -0
  1561. package/vendors/opencode/actions/export-latex.json +65 -0
  1562. package/vendors/opencode/actions/help.json +30 -0
  1563. package/vendors/opencode/actions/insert-section.json +61 -0
  1564. package/vendors/opencode/actions/list-assumptions.json +35 -0
  1565. package/vendors/opencode/actions/map-project.json +57 -0
  1566. package/vendors/opencode/actions/new-paper.json +70 -0
  1567. package/vendors/opencode/actions/pause-writing.json +71 -0
  1568. package/vendors/opencode/actions/plan-milestone-gaps.json +57 -0
  1569. package/vendors/opencode/actions/plan-revision.json +58 -0
  1570. package/vendors/opencode/actions/plan-section.json +100 -0
  1571. package/vendors/opencode/actions/polish-prose.json +69 -0
  1572. package/vendors/opencode/actions/progress.json +51 -0
  1573. package/vendors/opencode/actions/quick.json +70 -0
  1574. package/vendors/opencode/actions/remove-section.json +63 -0
  1575. package/vendors/opencode/actions/report-bug.json +47 -0
  1576. package/vendors/opencode/actions/request-feature.json +47 -0
  1577. package/vendors/opencode/actions/research-gap.json +101 -0
  1578. package/vendors/opencode/actions/resume-writing.json +65 -0
  1579. package/vendors/opencode/actions/review-section.json +83 -0
  1580. package/vendors/opencode/actions/settings.json +47 -0
  1581. package/vendors/opencode/actions/submit-milestone.json +77 -0
  1582. package/vendors/opencode/actions/update.json +42 -0
  1583. package/vendors/opencode/actions/verify-work.json +63 -0
  1584. package/vendors/opencode/actions/write-section.json +115 -0
  1585. package/vendors/opencode/agents/wtfp/argument-verifier.md +137 -180
  1586. package/vendors/opencode/agents/wtfp/citation-expert.md +128 -27
  1587. package/vendors/opencode/agents/wtfp/citation-formatter.md +129 -25
  1588. package/vendors/opencode/agents/wtfp/coherence-checker.md +136 -158
  1589. package/vendors/opencode/agents/wtfp/outliner.md +143 -248
  1590. package/vendors/opencode/agents/wtfp/plan-checker.md +137 -240
  1591. package/vendors/opencode/agents/wtfp/prose-polisher.md +138 -154
  1592. package/vendors/opencode/agents/wtfp/research-synthesizer.md +140 -201
  1593. package/vendors/opencode/agents/wtfp/section-planner.md +140 -351
  1594. package/vendors/opencode/agents/wtfp/section-reviewer.md +137 -171
  1595. package/vendors/opencode/agents/wtfp/section-writer.md +141 -300
  1596. package/vendors/opencode/aliases.lock.json +42 -0
  1597. package/vendors/opencode/catalog.json +127 -0
  1598. package/vendors/opencode/commands/wtfp/add-todo.md +681 -68
  1599. package/vendors/opencode/commands/wtfp/analyze-bib.md +9 -120
  1600. package/vendors/opencode/commands/wtfp/audit-milestone.md +9 -272
  1601. package/vendors/opencode/commands/wtfp/check-refs.md +9 -117
  1602. package/vendors/opencode/commands/wtfp/check-todos.md +569 -141
  1603. package/vendors/opencode/commands/wtfp/checkpoint.md +1443 -67
  1604. package/vendors/opencode/commands/wtfp/contribute.md +9 -259
  1605. package/vendors/opencode/commands/wtfp/create-outline.md +1277 -126
  1606. package/vendors/opencode/commands/wtfp/create-poster.md +9 -30
  1607. package/vendors/opencode/commands/wtfp/create-slides.md +9 -29
  1608. package/vendors/opencode/commands/wtfp/discuss-section.md +985 -46
  1609. package/vendors/opencode/commands/wtfp/execute-outline.md +1452 -212
  1610. package/vendors/opencode/commands/wtfp/export-latex.md +9 -203
  1611. package/vendors/opencode/commands/wtfp/help.md +267 -173
  1612. package/vendors/opencode/commands/wtfp/insert-section.md +686 -88
  1613. package/vendors/opencode/commands/wtfp/list-assumptions.md +795 -76
  1614. package/vendors/opencode/commands/wtfp/map-project.md +722 -72
  1615. package/vendors/opencode/commands/wtfp/new-paper.md +863 -134
  1616. package/vendors/opencode/commands/wtfp/pause-writing.md +994 -98
  1617. package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +830 -218
  1618. package/vendors/opencode/commands/wtfp/plan-revision.md +812 -138
  1619. package/vendors/opencode/commands/wtfp/plan-section.md +1485 -176
  1620. package/vendors/opencode/commands/wtfp/polish-prose.md +777 -79
  1621. package/vendors/opencode/commands/wtfp/progress.md +1401 -99
  1622. package/vendors/opencode/commands/wtfp/quick.md +753 -65
  1623. package/vendors/opencode/commands/wtfp/remove-section.md +9 -134
  1624. package/vendors/opencode/commands/wtfp/report-bug.md +9 -120
  1625. package/vendors/opencode/commands/wtfp/request-feature.md +9 -149
  1626. package/vendors/opencode/commands/wtfp/research-gap.md +9 -208
  1627. package/vendors/opencode/commands/wtfp/resume-writing.md +1237 -89
  1628. package/vendors/opencode/commands/wtfp/review-section.md +1008 -85
  1629. package/vendors/opencode/commands/wtfp/settings.md +409 -149
  1630. package/vendors/opencode/commands/wtfp/submit-milestone.md +1280 -310
  1631. package/vendors/opencode/commands/wtfp/update.md +9 -101
  1632. package/vendors/opencode/commands/wtfp/verify-work.md +736 -200
  1633. package/vendors/opencode/commands/wtfp/write-section.md +1451 -190
  1634. package/vendors/opencode/compatibility/action-availability.json +314 -0
  1635. package/vendors/opencode/effects.json +107 -0
  1636. package/vendors/opencode/fleets/wtfp-draft-review.json +35 -0
  1637. package/vendors/opencode/fleets/wtfp-plan-section.json +34 -0
  1638. package/vendors/opencode/project/README.md +65 -0
  1639. package/vendors/opencode/project/schemas/checkpoint.schema.json +102 -0
  1640. package/vendors/opencode/project/schemas/common.schema.json +33 -0
  1641. package/vendors/opencode/project/schemas/config.schema.json +69 -0
  1642. package/vendors/opencode/project/schemas/decisions.schema.json +31 -0
  1643. package/vendors/opencode/project/schemas/evidence.schema.json +48 -0
  1644. package/vendors/opencode/project/schemas/manifest.schema.json +102 -0
  1645. package/vendors/opencode/project/schemas/outline.schema.json +67 -0
  1646. package/vendors/opencode/project/schemas/section.schema.json +95 -0
  1647. package/vendors/opencode/project/schemas/source.schema.json +73 -0
  1648. package/vendors/opencode/project/schemas/state.schema.json +58 -0
  1649. package/vendors/opencode/project/schemas/validation.schema.json +74 -0
  1650. package/vendors/opencode/project/templates/checkpoint.json +25 -0
  1651. package/vendors/opencode/project/templates/config.json +31 -0
  1652. package/vendors/opencode/project/templates/decisions.json +35 -0
  1653. package/vendors/opencode/project/templates/evidence.json +18 -0
  1654. package/vendors/opencode/project/templates/manifest.json +30 -0
  1655. package/vendors/opencode/project/templates/outline.json +38 -0
  1656. package/vendors/opencode/project/templates/section.json +32 -0
  1657. package/vendors/opencode/project/templates/source.json +20 -0
  1658. package/vendors/opencode/project/templates/state.json +22 -0
  1659. package/vendors/opencode/project/templates/validation.json +32 -0
  1660. package/vendors/opencode/repository/CONTRIBUTING.md +183 -0
  1661. package/vendors/opencode/roles/argument-verifier.md +62 -0
  1662. package/vendors/opencode/roles/citation-expert.md +63 -0
  1663. package/vendors/opencode/roles/citation-formatter.md +63 -0
  1664. package/vendors/opencode/roles/coherence-checker.md +61 -0
  1665. package/vendors/opencode/roles/outliner.md +68 -0
  1666. package/vendors/opencode/roles/plan-checker.md +62 -0
  1667. package/vendors/opencode/roles/prose-polisher.md +63 -0
  1668. package/vendors/opencode/roles/research-synthesizer.md +65 -0
  1669. package/vendors/opencode/roles/section-planner.md +65 -0
  1670. package/vendors/opencode/roles/section-reviewer.md +62 -0
  1671. package/vendors/opencode/roles/section-writer.md +66 -0
  1672. package/vendors/opencode/schemas/action.schema.json +129 -0
  1673. package/vendors/opencode/schemas/aliases.schema.json +26 -0
  1674. package/vendors/opencode/schemas/catalog.schema.json +61 -0
  1675. package/vendors/opencode/schemas/effects.schema.json +26 -0
  1676. package/vendors/opencode/schemas/role-result.schema.json +74 -0
  1677. package/vendors/opencode/schemas/tools.schema.json +26 -0
  1678. package/vendors/opencode/skills/wtfp-deliver-research/SKILL.md +39 -0
  1679. package/vendors/opencode/skills/wtfp-deliver-research/agents/openai.yaml +4 -0
  1680. package/vendors/opencode/skills/wtfp-deliver-research/references/actions.md +117 -0
  1681. package/vendors/opencode/skills/wtfp-manage-project/SKILL.md +40 -0
  1682. package/vendors/opencode/skills/wtfp-manage-project/agents/openai.yaml +4 -0
  1683. package/vendors/opencode/skills/wtfp-manage-project/references/actions.md +91 -0
  1684. package/vendors/opencode/skills/wtfp-plan-section/SKILL.md +40 -0
  1685. package/vendors/opencode/skills/wtfp-plan-section/agents/openai.yaml +4 -0
  1686. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +131 -0
  1687. package/vendors/opencode/skills/wtfp-research-literature/SKILL.md +37 -0
  1688. package/vendors/opencode/skills/wtfp-research-literature/agents/openai.yaml +4 -0
  1689. package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +115 -0
  1690. package/vendors/opencode/skills/wtfp-review-manuscript/SKILL.md +40 -0
  1691. package/vendors/opencode/skills/wtfp-review-manuscript/agents/openai.yaml +4 -0
  1692. package/vendors/opencode/skills/wtfp-review-manuscript/references/actions.md +112 -0
  1693. package/vendors/opencode/skills/wtfp-start-project/SKILL.md +38 -0
  1694. package/vendors/opencode/skills/wtfp-start-project/agents/openai.yaml +4 -0
  1695. package/vendors/opencode/skills/wtfp-start-project/references/actions.md +80 -0
  1696. package/vendors/opencode/skills/wtfp-write-section/SKILL.md +37 -0
  1697. package/vendors/opencode/skills/wtfp-write-section/agents/openai.yaml +4 -0
  1698. package/vendors/opencode/skills/wtfp-write-section/references/actions.md +69 -0
  1699. package/vendors/opencode/tools/README.md +13 -0
  1700. package/vendors/opencode/tools/bibliography/analyze-impact.js +109 -0
  1701. package/vendors/opencode/tools/bibliography/format.js +161 -0
  1702. package/vendors/opencode/tools/bibliography/index.js +104 -0
  1703. package/vendors/opencode/tools/citation/fetch.js +299 -0
  1704. package/vendors/opencode/tools/citation/rank.js +145 -0
  1705. package/vendors/opencode/tools/citation/scholar-lookup.js +188 -0
  1706. package/vendors/opencode/tools/citation/semantic-scholar.js +184 -0
  1707. package/vendors/opencode/tools.json +54 -0
  1708. package/vendors/opencode/workflows/add-todo.md +32 -0
  1709. package/vendors/opencode/workflows/analyze-bib.md +33 -0
  1710. package/vendors/opencode/workflows/audit-milestone.md +32 -0
  1711. package/vendors/opencode/workflows/check-refs.md +32 -0
  1712. package/vendors/opencode/workflows/check-todos.md +32 -0
  1713. package/vendors/opencode/workflows/checkpoint.md +32 -0
  1714. package/vendors/opencode/workflows/contribute.md +30 -0
  1715. package/vendors/opencode/workflows/create-outline.md +33 -0
  1716. package/vendors/opencode/workflows/create-poster.md +32 -0
  1717. package/vendors/opencode/workflows/create-slides.md +32 -0
  1718. package/vendors/opencode/workflows/discuss-section.md +32 -0
  1719. package/vendors/opencode/workflows/execute-outline.md +32 -0
  1720. package/vendors/opencode/workflows/export-latex.md +32 -0
  1721. package/vendors/opencode/workflows/help.md +30 -0
  1722. package/vendors/opencode/workflows/insert-section.md +32 -0
  1723. package/vendors/opencode/workflows/list-assumptions.md +32 -0
  1724. package/vendors/opencode/workflows/map-project.md +32 -0
  1725. package/vendors/opencode/workflows/new-paper.md +37 -0
  1726. package/vendors/opencode/workflows/pause-writing.md +32 -0
  1727. package/vendors/opencode/workflows/plan-milestone-gaps.md +32 -0
  1728. package/vendors/opencode/workflows/plan-revision.md +32 -0
  1729. package/vendors/opencode/workflows/plan-section.md +34 -0
  1730. package/vendors/opencode/workflows/polish-prose.md +32 -0
  1731. package/vendors/opencode/workflows/progress.md +32 -0
  1732. package/vendors/opencode/workflows/quick.md +32 -0
  1733. package/vendors/opencode/workflows/remove-section.md +32 -0
  1734. package/vendors/opencode/workflows/report-bug.md +30 -0
  1735. package/vendors/opencode/workflows/request-feature.md +30 -0
  1736. package/vendors/opencode/workflows/research-gap.md +32 -0
  1737. package/vendors/opencode/workflows/resume-writing.md +34 -0
  1738. package/vendors/opencode/workflows/review-section.md +33 -0
  1739. package/vendors/opencode/workflows/settings.md +32 -0
  1740. package/vendors/opencode/workflows/submit-milestone.md +32 -0
  1741. package/vendors/opencode/workflows/update.md +30 -0
  1742. package/vendors/opencode/workflows/verify-work.md +32 -0
  1743. package/vendors/opencode/workflows/write-section.md +34 -0
  1744. package/vendors/claude/commands/wtfp/add-todo.md +0 -108
  1745. package/vendors/claude/commands/wtfp/analyze-bib.md +0 -137
  1746. package/vendors/claude/commands/wtfp/audit-milestone.md +0 -286
  1747. package/vendors/claude/commands/wtfp/check-refs.md +0 -134
  1748. package/vendors/claude/commands/wtfp/check-todos.md +0 -152
  1749. package/vendors/claude/commands/wtfp/checkpoint.md +0 -105
  1750. package/vendors/claude/commands/wtfp/contribute.md +0 -278
  1751. package/vendors/claude/commands/wtfp/create-outline.md +0 -189
  1752. package/vendors/claude/commands/wtfp/create-poster.md +0 -42
  1753. package/vendors/claude/commands/wtfp/create-slides.md +0 -41
  1754. package/vendors/claude/commands/wtfp/discuss-section.md +0 -71
  1755. package/vendors/claude/commands/wtfp/execute-outline.md +0 -257
  1756. package/vendors/claude/commands/wtfp/export-latex.md +0 -216
  1757. package/vendors/claude/commands/wtfp/help.md +0 -264
  1758. package/vendors/claude/commands/wtfp/insert-section.md +0 -130
  1759. package/vendors/claude/commands/wtfp/list-assumptions.md +0 -109
  1760. package/vendors/claude/commands/wtfp/map-project.md +0 -108
  1761. package/vendors/claude/commands/wtfp/new-paper.md +0 -169
  1762. package/vendors/claude/commands/wtfp/pause-writing.md +0 -145
  1763. package/vendors/claude/commands/wtfp/plan-milestone-gaps.md +0 -255
  1764. package/vendors/claude/commands/wtfp/plan-revision.md +0 -180
  1765. package/vendors/claude/commands/wtfp/plan-section.md +0 -222
  1766. package/vendors/claude/commands/wtfp/polish-prose.md +0 -125
  1767. package/vendors/claude/commands/wtfp/progress.md +0 -153
  1768. package/vendors/claude/commands/wtfp/quick.md +0 -107
  1769. package/vendors/claude/commands/wtfp/remove-section.md +0 -147
  1770. package/vendors/claude/commands/wtfp/report-bug.md +0 -131
  1771. package/vendors/claude/commands/wtfp/request-feature.md +0 -160
  1772. package/vendors/claude/commands/wtfp/research-gap.md +0 -222
  1773. package/vendors/claude/commands/wtfp/resume-writing.md +0 -142
  1774. package/vendors/claude/commands/wtfp/review-section.md +0 -131
  1775. package/vendors/claude/commands/wtfp/settings.md +0 -197
  1776. package/vendors/claude/commands/wtfp/submit-milestone.md +0 -360
  1777. package/vendors/claude/commands/wtfp/update.md +0 -112
  1778. package/vendors/claude/commands/wtfp/verify-work.md +0 -254
  1779. package/vendors/claude/commands/wtfp/write-section.md +0 -237
  1780. package/vendors/claude/mcp/research-server/package.json +0 -13
  1781. package/vendors/claude/mcp/research-server/src/index.js +0 -133
  1782. package/vendors/claude/skills/wtfp/echarts/SKILL.md +0 -47
  1783. package/vendors/claude/skills/wtfp/marp/SKILL.md +0 -49
@@ -0,0 +1,299 @@
1
+ const https = require('https');
2
+ const querystring = require('querystring');
3
+ const s2 = require('./semantic-scholar.js');
4
+ const scholar = require('./scholar-lookup.js');
5
+ const ranker = require('./rank.js');
6
+ const bibFormat = require('../bibliography/format.js');
7
+
8
+ /**
9
+ * WTF-P Citation Fetcher v0.4.0
10
+ *
11
+ * Orchestrates tiered search:
12
+ * 1. Semantic Scholar (Primary, Free)
13
+ * 2. SerpAPI (Optional, Seminal/Paid)
14
+ * 3. CrossRef (Fallback)
15
+ *
16
+ * Usage:
17
+ * node citation-fetcher.js "<query>" --intent=<intent> --year=<year>
18
+ */
19
+
20
+ // --- CrossRef Fallback ---
21
+ async function searchCrossRef(query, limit = 5) {
22
+ return new Promise((resolve, reject) => {
23
+ const params = {
24
+ query: query,
25
+ rows: limit,
26
+ sort: 'relevance',
27
+ select: 'DOI,title,author,issued,type,container-title,volume,issue,page,abstract'
28
+ };
29
+
30
+ const options = {
31
+ hostname: 'api.crossref.org',
32
+ path: `/works?${querystring.stringify(params)}`,
33
+ method: 'GET',
34
+ headers: {
35
+ 'User-Agent': 'WTF-P/0.4.0 (citation-expert)'
36
+ }
37
+ };
38
+
39
+ const req = https.request(options, (res) => {
40
+ let data = '';
41
+ res.on('data', c => data += c);
42
+ res.on('end', () => {
43
+ if (res.statusCode !== 200) return resolve([]);
44
+ try {
45
+ const json = JSON.parse(data);
46
+ const items = json.message.items || [];
47
+ resolve(items.map(mapCrossRefToPaper));
48
+ } catch (e) {
49
+ resolve([]);
50
+ }
51
+ });
52
+ });
53
+
54
+ req.on('error', () => resolve([]));
55
+ req.end();
56
+ });
57
+ }
58
+
59
+ function mapCrossRefToPaper(item) {
60
+ const title = item.title ? item.title[0] : 'Untitled';
61
+ const year = item.issued && item.issued['date-parts'] ? item.issued['date-parts'][0][0] : null;
62
+
63
+ return {
64
+ source: 'crossref',
65
+ title: title,
66
+ year: year,
67
+ doi: item.DOI,
68
+ venue: item['container-title'] ? item['container-title'][0] : null,
69
+ authors: (item.author || []).map(a => ({ name: `${a.family}, ${a.given}` })),
70
+ abstract: item.abstract ? item.abstract.replace(/<[^>]*>?/gm, '').trim() : null,
71
+ citationCount: 0, // CrossRef doesn't give citation counts easily
72
+ externalIds: { DOI: item.DOI }
73
+ };
74
+ }
75
+
76
+ // --- Mapper ---
77
+
78
+ function mapS2ToPaper(item) {
79
+ return {
80
+ source: 'semantic_scholar',
81
+ paperId: item.paperId,
82
+ title: item.title,
83
+ year: item.year,
84
+ venue: item.venue,
85
+ authors: item.authors || [],
86
+ citationCount: item.citationCount || 0,
87
+ abstract: item.abstract,
88
+ externalIds: item.externalIds || {},
89
+ doi: (item.externalIds && item.externalIds.DOI) || null,
90
+ openAccessPdf: item.openAccessPdf
91
+ };
92
+ }
93
+
94
+ function mapScholarToPaper(item) {
95
+ return {
96
+ source: 'google_scholar',
97
+ scholarClusterId: item.clusterId,
98
+ title: item.title,
99
+ year: item.year,
100
+ venue: item.venue,
101
+ authors: item.authors || [],
102
+ citationCount: item.citationCount || 0,
103
+ abstract: item.snippet, // Use snippet as abstract fallback
104
+ externalIds: {},
105
+ doi: null, // Scholar doesn't reliably give DOIs
106
+ openAccessPdf: item.link ? { url: item.link } : null
107
+ };
108
+ }
109
+
110
+ // --- Deduplication ---
111
+
112
+ function fingerprint(title, year) {
113
+ if (!title) return `unknown::${Math.random()}`;
114
+ const normalized = title.toLowerCase().replace(/[^\w\s]/g, '').replace(/\s+/g, ' ').trim();
115
+ return `${normalized}::${year || '????'}`;
116
+ }
117
+
118
+ function deduplicatePapers(papers) {
119
+ const seen = new Map();
120
+
121
+ for (const paper of papers) {
122
+ // Priority: DOI > S2ID > ScholarID > Fingerprint
123
+ const key = paper.doi
124
+ || paper.paperId
125
+ || paper.scholarClusterId
126
+ || fingerprint(paper.title, paper.year);
127
+
128
+ if (!seen.has(key)) {
129
+ seen.set(key, paper);
130
+ } else {
131
+ // Merge: prefer richer metadata
132
+ // S2 usually has best metadata (abstracts, verified authors).
133
+ // Scholar has best citation counts.
134
+ // CrossRef has verified DOIs.
135
+
136
+ const existing = seen.get(key);
137
+ let merged = { ...existing };
138
+
139
+ // If new one is S2, take its metadata but keep higher citation count
140
+ if (paper.source === 'semantic_scholar') {
141
+ merged = { ...paper, citationCount: Math.max(existing.citationCount, paper.citationCount) };
142
+ if (existing.scholarClusterId) merged.scholarClusterId = existing.scholarClusterId;
143
+ }
144
+ // If new one is Scholar, just update citation count and maybe ID
145
+ else if (paper.source === 'google_scholar') {
146
+ merged.citationCount = Math.max(merged.citationCount, paper.citationCount);
147
+ merged.scholarClusterId = paper.clusterId;
148
+ }
149
+
150
+ seen.set(key, merged);
151
+ }
152
+ }
153
+
154
+ return Array.from(seen.values());
155
+ }
156
+
157
+ // --- Main Search Logic ---
158
+
159
+ async function search(query, options = {}) {
160
+ const limit = options.limit || 10;
161
+ const intent = options.intent || 'balanced';
162
+
163
+ let papers = [];
164
+ const errors = [];
165
+
166
+ const searchPromises = [];
167
+
168
+ // 1. S2 Search (Always)
169
+ searchPromises.push(
170
+ s2.search(query, { limit: limit * 2, year: options.year })
171
+ .then(res => res.map(mapS2ToPaper))
172
+ .catch(e => {
173
+ errors.push(`S2 Error: ${e.message}`);
174
+ return [];
175
+ })
176
+ );
177
+
178
+ // 2. Scholar Search (Conditional)
179
+ if ((intent === 'seminal' || options.useScholar) && scholar.isAvailable()) {
180
+ searchPromises.push(
181
+ scholar.search(query, { limit: limit, yearLow: options.year, yearHigh: options.year })
182
+ .then(res => res.map(mapScholarToPaper))
183
+ .catch(e => {
184
+ errors.push(`Scholar Error: ${e.message}`);
185
+ return [];
186
+ })
187
+ );
188
+ }
189
+
190
+ const results = await Promise.all(searchPromises);
191
+ results.forEach(r => papers.push(...r));
192
+
193
+ // 3. CrossRef Fallback (if few results)
194
+ if (papers.length < 5) {
195
+ try {
196
+ const crResults = await searchCrossRef(query, limit);
197
+ papers.push(...crResults);
198
+ } catch (e) {
199
+ errors.push(`CrossRef Error: ${e.message}`);
200
+ }
201
+ }
202
+
203
+ // 4. Deduplicate
204
+ const unique = deduplicatePapers(papers);
205
+
206
+ // 5. Rank
207
+ const ranked = ranker.rank(unique, intent);
208
+
209
+ // 6. Format to BibTeX
210
+ const formatted = ranked.slice(0, limit).map(p => {
211
+ // Generate key
212
+ const firstAuthor = p.authors && p.authors.length > 0
213
+ ? (p.authors[0].name ? p.authors[0].name.split(',')[0].trim().split(' ').pop().toLowerCase() : 'unknown')
214
+ : 'unknown';
215
+
216
+ // Handle S2 author format variants or string parsing
217
+ let familyName = 'unknown';
218
+ if (p.authors && p.authors.length > 0) {
219
+ const nameParts = p.authors[0].name.split(' ');
220
+ familyName = nameParts[nameParts.length - 1].toLowerCase().replace(/[^a-z]/g, '');
221
+ }
222
+
223
+ const shortTitle = p.title.split(/\s+/)[0].toLowerCase().replace(/[^a-z0-9]/g, '');
224
+ const key = `${familyName}${p.year || '????'}${shortTitle}`;
225
+
226
+ const bibData = {
227
+ key: key,
228
+ entryType: 'article',
229
+ author: p.authors.map(a => a.name).join(' and '),
230
+ title: p.title,
231
+ year: p.year ? p.year.toString() : null,
232
+ venue: p.venue,
233
+ booktitle: p.venue,
234
+ abstract: p.abstract,
235
+ doi: p.doi,
236
+ url: p.openAccessPdf ? p.openAccessPdf.url : (p.doi ? `https://doi.org/${p.doi}` : null),
237
+ google_scholar_id: p.scholarClusterId
238
+ };
239
+
240
+ const provenance = {
241
+ wtfp_status: p.doi ? 'official' : 'partial',
242
+ wtfp_source: p.source,
243
+ wtfp_citations: p.citationCount,
244
+ wtfp_velocity: p.wtfp_velocity,
245
+ wtfp_s2_id: p.paperId,
246
+ wtfp_scholar_id: p.scholarClusterId
247
+ };
248
+
249
+ return {
250
+ ...p,
251
+ bibtex: bibFormat.format(bibData, provenance)
252
+ };
253
+ });
254
+
255
+ return {
256
+ results: formatted,
257
+ metadata: {
258
+ query,
259
+ total: unique.length,
260
+ returned: formatted.length,
261
+ errors
262
+ }
263
+ };
264
+ }
265
+
266
+
267
+ // --- CLI Handling ---
268
+
269
+ if (require.main === module) {
270
+ const args = process.argv.slice(2);
271
+ const query = args.find(a => !a.startsWith('--'));
272
+
273
+ if (!query) {
274
+ console.error('Usage: node citation-fetcher.js "<query>" [--intent=seminal] [--year=2023]');
275
+ process.exit(1);
276
+ }
277
+
278
+ const intentArg = args.find(a => a.startsWith('--intent='));
279
+ const yearArg = args.find(a => a.startsWith('--year='));
280
+ const limitArg = args.find(a => a.startsWith('--limit='));
281
+
282
+ const options = {
283
+ intent: intentArg ? intentArg.split('=')[1] : 'balanced',
284
+ year: yearArg ? yearArg.split('=')[1] : null,
285
+ limit: limitArg ? parseInt(limitArg.split('=')[1]) : 10
286
+ };
287
+
288
+ search(query, options).then(result => {
289
+ // console.log(JSON.stringify(result, null, 2));
290
+ // For now, output just the bibtex entries as text for easy reading, or JSON?
291
+ // The previous fetcher output JSON. Let's stick to JSON array of results.
292
+ console.log(JSON.stringify(result.results, null, 2));
293
+ }).catch(e => {
294
+ console.error(e);
295
+ process.exit(1);
296
+ });
297
+ }
298
+
299
+ module.exports = { search };
@@ -0,0 +1,145 @@
1
+ /**
2
+ * Citation Ranker
3
+ *
4
+ * Ranks papers based on multidimensional impact score:
5
+ * - Citation Count (Log scaled)
6
+ * - Velocity (Citations per month)
7
+ * - Recency (Decay over time)
8
+ * - Venue (Tiered scoring)
9
+ */
10
+
11
+ // Venue Tiers
12
+ const VENUE_TIERS = {
13
+ TIER_1: [
14
+ // AI/ML
15
+ "neurips", "nips", "icml", "iclr", "cvpr", "iccv", "eccv", "acl", "emnlp", "naacl",
16
+ "aaai", "ijcai", "kdd", "www", "sigir", "chi",
17
+ // Systems
18
+ "osdi", "sosp", "nsdi", "eurosys", "atc", "fast", "sigcomm", "mobicom",
19
+ // Journals
20
+ "nature", "science", "pnas", "cell", "lancet", "nejm", "jama",
21
+ "ieee transactions", "acm computing surveys", "jmlr", "journal of machine learning research"
22
+ ],
23
+ TIER_2: [
24
+ "coling", "wsdm", "cikm", "pakdd", "ijcnn", "icra", "iros",
25
+ "middleware", "cloud", "sc", "hpdc", "cluster"
26
+ ],
27
+ PREPRINT: [
28
+ "arxiv", "biorxiv", "medrxiv", "ssrn", "workshop"
29
+ ]
30
+ };
31
+
32
+ /**
33
+ * Score a venue name
34
+ * @param {string} venue
35
+ * @returns {number} 0.0 to 1.0
36
+ */
37
+ function scoreVenue(venue) {
38
+ if (!venue) return 0.2;
39
+ const v = venue.toLowerCase();
40
+
41
+ if (VENUE_TIERS.TIER_1.some(t => v.includes(t))) return 1.0;
42
+ if (VENUE_TIERS.TIER_2.some(t => v.includes(t))) return 0.7;
43
+ if (VENUE_TIERS.PREPRINT.some(t => v.includes(t))) return 0.3;
44
+
45
+ return 0.5; // Unknown venue default
46
+ }
47
+
48
+ /**
49
+ * Calculate citation velocity
50
+ * @param {number} citations
51
+ * @param {number} year
52
+ * @param {Date} [referenceDate] explicit clock for reproducible evaluation
53
+ * @returns {number} Citations per month
54
+ */
55
+ function calculateVelocity(citations, year, referenceDate = new Date()) {
56
+ const now = referenceDate;
57
+ if (!(now instanceof Date) || Number.isNaN(now.getTime())) {
58
+ throw new TypeError('referenceDate must be a valid Date');
59
+ }
60
+ if (!citations || !year) return 0;
61
+ const currentYear = now.getUTCFullYear();
62
+ const currentMonth = now.getUTCMonth(); // 0-11
63
+
64
+ // Calculate months since publication (assuming Jan 1st of year)
65
+ // If current year, use months passed. If past year, (diff * 12) + currentMonth.
66
+ let monthsSince = (currentYear - year) * 12 + currentMonth;
67
+
68
+ // Guard against divide by zero or negative (future dates)
69
+ monthsSince = Math.max(1, monthsSince);
70
+
71
+ return citations / monthsSince;
72
+ }
73
+
74
+ /**
75
+ * Calculate impact score for a paper
76
+ * @param {Object} paper
77
+ * @param {string} intent "seminal" | "recent" | "specific" | "balanced"
78
+ * @param {Date} [referenceDate] explicit clock for reproducible evaluation
79
+ */
80
+ function calculateScore(paper, intent = "balanced", referenceDate = new Date()) {
81
+ if (!(referenceDate instanceof Date) || Number.isNaN(referenceDate.getTime())) {
82
+ throw new TypeError('referenceDate must be a valid Date');
83
+ }
84
+ const currentYear = referenceDate.getUTCFullYear();
85
+ const year = paper.year || currentYear;
86
+ const age = Math.max(0, currentYear - year);
87
+ const citations = paper.citationCount || 0;
88
+ const velocity = calculateVelocity(citations, year, referenceDate);
89
+
90
+ // Normalize factors (approximate ranges)
91
+ // Citations: log10(100,000) = 5. So score is 0-1.
92
+ const citationScore = Math.min(1, Math.log10(citations + 1) / 5);
93
+
94
+ // Velocity: 100 cites/month is huge. Normalize to 0-1.
95
+ const velocityScore = Math.min(1, velocity / 100);
96
+
97
+ // Recency: Linear decay over 10 years. 0 if > 10 years old.
98
+ const recencyScore = Math.max(0, 1 - (age / 10));
99
+
100
+ const venueScore = scoreVenue(paper.venue);
101
+
102
+ // Weights based on intent
103
+ const weights = {
104
+ seminal: { citation: 0.6, velocity: 0.2, recency: 0.1, venue: 0.1 },
105
+ recent: { citation: 0.2, velocity: 0.3, recency: 0.4, venue: 0.1 },
106
+ specific: { citation: 0.1, velocity: 0.1, recency: 0.1, venue: 0.1 }, // Ranking less important for specific lookup
107
+ balanced: { citation: 0.4, velocity: 0.3, recency: 0.2, venue: 0.1 }
108
+ };
109
+
110
+ const w = weights[intent] || weights.balanced;
111
+
112
+ return (
113
+ citationScore * w.citation +
114
+ velocityScore * w.velocity +
115
+ recencyScore * w.recency +
116
+ venueScore * w.venue
117
+ );
118
+ }
119
+
120
+ /**
121
+ * Rank a list of papers
122
+ * @param {Array} papers
123
+ * @param {string} intent
124
+ * @param {Date} [referenceDate] explicit clock for reproducible evaluation
125
+ * @returns {Array} Sorted papers with score attached
126
+ */
127
+ function rank(papers, intent = "balanced", referenceDate = new Date()) {
128
+ if (!(referenceDate instanceof Date) || Number.isNaN(referenceDate.getTime())) {
129
+ throw new TypeError('referenceDate must be a valid Date');
130
+ }
131
+ const scored = papers.map(p => ({
132
+ ...p,
133
+ wtfp_score: calculateScore(p, intent, referenceDate),
134
+ wtfp_velocity: calculateVelocity(p.citationCount, p.year, referenceDate)
135
+ }));
136
+
137
+ return scored.sort((a, b) => b.wtfp_score - a.wtfp_score);
138
+ }
139
+
140
+ module.exports = {
141
+ rank,
142
+ calculateScore,
143
+ calculateVelocity,
144
+ scoreVenue
145
+ };
@@ -0,0 +1,188 @@
1
+ const https = require('https');
2
+ const querystring = require('querystring');
3
+
4
+ /**
5
+ * SerpAPI Google Scholar Wrapper
6
+ *
7
+ * Provides access to Google Scholar data via SerpAPI.
8
+ * Used for high-value "seminal" queries to get citation velocity and cluster IDs.
9
+ *
10
+ * Env:
11
+ * - SERPAPI_KEY: Required for operation.
12
+ */
13
+
14
+ const HOST = 'serpapi.com';
15
+ const PATH = '/search';
16
+
17
+ const usage = {
18
+ queries: 0,
19
+ // Default budget: 100 queries/month (~$5)
20
+ monthlyBudget: 100,
21
+
22
+ canQuery() {
23
+ return this.queries < this.monthlyBudget;
24
+ },
25
+
26
+ recordQuery() {
27
+ this.queries++;
28
+ if (this.queries % 10 === 0) {
29
+ // console.error(`[Scholar] API usage: ${this.queries}/${this.monthlyBudget}`);
30
+ }
31
+ }
32
+ };
33
+
34
+ function getApiKey() {
35
+ return process.env.SERPAPI_KEY;
36
+ }
37
+
38
+ function isAvailable() {
39
+ return !!getApiKey();
40
+ }
41
+
42
+ function request(params) {
43
+ return new Promise((resolve, reject) => {
44
+ const key = getApiKey();
45
+ if (!key) {
46
+ return reject(new Error('SERPAPI_KEY not set'));
47
+ }
48
+ if (!usage.canQuery()) {
49
+ return reject(new Error('Monthly budget exceeded'));
50
+ }
51
+
52
+ usage.recordQuery();
53
+
54
+ const q = querystring.stringify({
55
+ ...params,
56
+ api_key: key,
57
+ engine: 'google_scholar'
58
+ });
59
+
60
+ const options = {
61
+ hostname: HOST,
62
+ path: `${PATH}?${q}`,
63
+ method: 'GET'
64
+ };
65
+
66
+ const req = https.request(options, (res) => {
67
+ let data = '';
68
+ res.on('data', c => data += c);
69
+ res.on('end', () => {
70
+ if (res.statusCode !== 200) {
71
+ return reject(new Error(`SerpAPI Error: ${res.statusCode} ${data}`));
72
+ }
73
+ try {
74
+ resolve(JSON.parse(data));
75
+ } catch (e) {
76
+ reject(e);
77
+ }
78
+ });
79
+ });
80
+
81
+ req.on('error', reject);
82
+ req.end();
83
+ });
84
+ }
85
+
86
+ /**
87
+ * Search Google Scholar
88
+ * @param {string} query
89
+ * @param {Object} options { yearLow, yearHigh, limit }
90
+ */
91
+ async function search(query, options = {}) {
92
+ const params = {
93
+ q: query,
94
+ num: options.limit || 10
95
+ };
96
+
97
+ if (options.yearLow) params.as_ylo = options.yearLow;
98
+ if (options.yearHigh) params.as_yhi = options.yearHigh;
99
+
100
+ const data = await request(params);
101
+ return (data.organic_results || []).map(mapResult);
102
+ }
103
+
104
+ /**
105
+ * Get paper by Cluster ID
106
+ * @param {string} clusterId
107
+ */
108
+ async function getByClusterId(clusterId) {
109
+ const data = await request({ cluster: clusterId });
110
+ // When searching by cluster, it returns list of versions.
111
+ // We usually want the first one or metadata about the cluster.
112
+ // SerpAPI "cluster" usually returns "organic_results" which are the versions.
113
+ const results = data.organic_results || [];
114
+ if (results.length > 0) return mapResult(results[0]);
115
+ return null;
116
+ }
117
+
118
+ /**
119
+ * Get citing papers
120
+ * @param {string} clusterId
121
+ * @param {number} limit
122
+ */
123
+ async function getCitingPapers(clusterId, limit = 10) {
124
+ const data = await request({
125
+ cites: clusterId,
126
+ num: limit
127
+ });
128
+ return (data.organic_results || []).map(mapResult);
129
+ }
130
+
131
+ function mapResult(item) {
132
+ // Extract cluster ID
133
+ let clusterId = null;
134
+ // Try to find it in links or specific fields if SerpAPI provides it directly
135
+ // SerpAPI usually puts it in inline_links -> cited_by -> serpapi_link (cites=ID)
136
+ // or versions -> serpapi_link (cluster=ID)
137
+
138
+ if (item.inline_links && item.inline_links.cited_by && item.inline_links.cited_by.serpapi_link) {
139
+ const match = item.inline_links.cited_by.serpapi_link.match(/cites=(\w+)/);
140
+ if (match) clusterId = match[1];
141
+ }
142
+
143
+ return {
144
+ source: 'google_scholar',
145
+ title: item.title,
146
+ clusterId: clusterId || item.cluster_id, // Sometimes provided directly
147
+ link: item.link,
148
+ snippet: item.snippet,
149
+ publication_info: item.publication_info,
150
+ citationCount: item.inline_links && item.inline_links.cited_by ? item.inline_links.cited_by.total : 0,
151
+ year: extractYear(item.publication_info ? item.publication_info.summary : ''),
152
+ authors: extractAuthors(item.publication_info ? item.publication_info.summary : ''),
153
+ venue: extractVenue(item.publication_info ? item.publication_info.summary : '')
154
+ };
155
+ }
156
+
157
+ function extractYear(summary) {
158
+ const match = summary.match(/\b(19|20)\d{2}\b/);
159
+ return match ? parseInt(match[0]) : null;
160
+ }
161
+
162
+ function extractAuthors(summary) {
163
+ // "A Author, B Author - Venue, 2020 - publisher"
164
+ if (!summary) return [];
165
+ const parts = summary.split('-');
166
+ if (parts.length > 0) {
167
+ return parts[0].split(',').map(s => ({ name: s.trim() }));
168
+ }
169
+ return [];
170
+ }
171
+
172
+ function extractVenue(summary) {
173
+ if (!summary) return null;
174
+ const parts = summary.split('-');
175
+ if (parts.length > 1) {
176
+ // "Venue, Year" usually
177
+ return parts[1].split(',')[0].trim();
178
+ }
179
+ return null;
180
+ }
181
+
182
+ module.exports = {
183
+ isAvailable,
184
+ search,
185
+ getByClusterId,
186
+ getCitingPapers,
187
+ usage
188
+ };