@superbee/core 0.2.0-pre.5 → 0.2.0-pre.51

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 (744) hide show
  1. package/README.md +1378 -0
  2. package/dist/artifact-contract.d.ts +90 -0
  3. package/dist/artifact-contract.d.ts.map +1 -0
  4. package/dist/artifact-contract.js +205 -0
  5. package/dist/artifact-contract.js.map +1 -0
  6. package/dist/backend.d.ts +41 -2
  7. package/dist/backend.d.ts.map +1 -1
  8. package/dist/backend.js +281 -22
  9. package/dist/backend.js.map +1 -1
  10. package/dist/blob-contract.d.ts +82 -0
  11. package/dist/blob-contract.d.ts.map +1 -0
  12. package/dist/blob-contract.js +134 -0
  13. package/dist/blob-contract.js.map +1 -0
  14. package/dist/blob-journal.d.ts +303 -0
  15. package/dist/blob-journal.d.ts.map +1 -0
  16. package/dist/blob-journal.js +541 -0
  17. package/dist/blob-journal.js.map +1 -0
  18. package/dist/body-pages.d.ts +20 -0
  19. package/dist/body-pages.d.ts.map +1 -0
  20. package/dist/body-pages.js +56 -0
  21. package/dist/body-pages.js.map +1 -0
  22. package/dist/body-replace-guards.d.ts +78 -0
  23. package/dist/body-replace-guards.d.ts.map +1 -0
  24. package/dist/body-replace-guards.js +269 -0
  25. package/dist/body-replace-guards.js.map +1 -0
  26. package/dist/bounded-yaml.d.ts +28 -0
  27. package/dist/bounded-yaml.d.ts.map +1 -0
  28. package/dist/bounded-yaml.js +182 -0
  29. package/dist/bounded-yaml.js.map +1 -0
  30. package/dist/builtin-recipes/content.d.ts +93 -0
  31. package/dist/builtin-recipes/content.d.ts.map +1 -0
  32. package/dist/builtin-recipes/content.js +288 -0
  33. package/dist/builtin-recipes/content.js.map +1 -0
  34. package/dist/builtin-recipes/site.d.ts +5 -0
  35. package/dist/builtin-recipes/site.d.ts.map +1 -0
  36. package/dist/builtin-recipes/site.js +83 -0
  37. package/dist/builtin-recipes/site.js.map +1 -0
  38. package/dist/builtin-recipes.d.ts +13 -0
  39. package/dist/builtin-recipes.d.ts.map +1 -0
  40. package/dist/builtin-recipes.js +123 -0
  41. package/dist/builtin-recipes.js.map +1 -0
  42. package/dist/bundle-health/index.d.ts +14 -0
  43. package/dist/bundle-health/index.d.ts.map +1 -0
  44. package/dist/bundle-health/index.js +12 -0
  45. package/dist/bundle-health/index.js.map +1 -0
  46. package/dist/bundle-health/kind-findings.d.ts +44 -0
  47. package/dist/bundle-health/kind-findings.d.ts.map +1 -0
  48. package/dist/bundle-health/kind-findings.js +67 -0
  49. package/dist/bundle-health/kind-findings.js.map +1 -0
  50. package/dist/bundle-health/legacy-page.d.ts +21 -0
  51. package/dist/bundle-health/legacy-page.d.ts.map +1 -0
  52. package/dist/bundle-health/legacy-page.js +25 -0
  53. package/dist/bundle-health/legacy-page.js.map +1 -0
  54. package/dist/bundle-health/report.d.ts +191 -0
  55. package/dist/bundle-health/report.d.ts.map +1 -0
  56. package/dist/bundle-health/report.js +419 -0
  57. package/dist/bundle-health/report.js.map +1 -0
  58. package/dist/bundle-ops.d.ts +9 -3
  59. package/dist/bundle-ops.d.ts.map +1 -1
  60. package/dist/bundle-ops.js +13 -6
  61. package/dist/bundle-ops.js.map +1 -1
  62. package/dist/bundle.d.ts +2 -4
  63. package/dist/bundle.d.ts.map +1 -1
  64. package/dist/bundle.js +3 -12
  65. package/dist/bundle.js.map +1 -1
  66. package/dist/code-point-order.d.ts +8 -0
  67. package/dist/code-point-order.d.ts.map +1 -0
  68. package/dist/code-point-order.js +20 -0
  69. package/dist/code-point-order.js.map +1 -0
  70. package/dist/code-unit-order.d.ts +15 -0
  71. package/dist/code-unit-order.d.ts.map +1 -0
  72. package/dist/code-unit-order.js +17 -0
  73. package/dist/code-unit-order.js.map +1 -0
  74. package/dist/connector-request.d.ts +112 -0
  75. package/dist/connector-request.d.ts.map +1 -0
  76. package/dist/connector-request.js +495 -0
  77. package/dist/connector-request.js.map +1 -0
  78. package/dist/connectors.d.ts +297 -0
  79. package/dist/connectors.d.ts.map +1 -0
  80. package/dist/connectors.js +1233 -0
  81. package/dist/connectors.js.map +1 -0
  82. package/dist/convention-record.d.ts +9 -0
  83. package/dist/convention-record.d.ts.map +1 -0
  84. package/dist/convention-record.js +13 -0
  85. package/dist/convention-record.js.map +1 -0
  86. package/dist/cross-bundle.d.ts +135 -0
  87. package/dist/cross-bundle.d.ts.map +1 -0
  88. package/dist/cross-bundle.js +191 -0
  89. package/dist/cross-bundle.js.map +1 -0
  90. package/dist/dependencies.d.ts +94 -0
  91. package/dist/dependencies.d.ts.map +1 -0
  92. package/dist/dependencies.js +180 -0
  93. package/dist/dependencies.js.map +1 -0
  94. package/dist/document-codec.d.ts +9 -2
  95. package/dist/document-codec.d.ts.map +1 -1
  96. package/dist/document-codec.js +10 -5
  97. package/dist/document-codec.js.map +1 -1
  98. package/dist/document-field-actions.d.ts +31 -1
  99. package/dist/document-field-actions.d.ts.map +1 -1
  100. package/dist/document-field-actions.js +137 -34
  101. package/dist/document-field-actions.js.map +1 -1
  102. package/dist/document-mutation.d.ts +37 -13
  103. package/dist/document-mutation.d.ts.map +1 -1
  104. package/dist/document-mutation.js +161 -62
  105. package/dist/document-mutation.js.map +1 -1
  106. package/dist/document-scan.d.ts +26 -0
  107. package/dist/document-scan.d.ts.map +1 -0
  108. package/dist/document-scan.js +70 -0
  109. package/dist/document-scan.js.map +1 -0
  110. package/dist/document-transfer.d.ts +312 -0
  111. package/dist/document-transfer.d.ts.map +1 -0
  112. package/dist/document-transfer.js +1400 -0
  113. package/dist/document-transfer.js.map +1 -0
  114. package/dist/document-write-policy.d.ts.map +1 -1
  115. package/dist/document-write-policy.js +4 -2
  116. package/dist/document-write-policy.js.map +1 -1
  117. package/dist/domain-model.d.ts +73 -0
  118. package/dist/domain-model.d.ts.map +1 -0
  119. package/dist/domain-model.js +169 -0
  120. package/dist/domain-model.js.map +1 -0
  121. package/dist/engine.d.ts +20 -19
  122. package/dist/engine.d.ts.map +1 -1
  123. package/dist/engine.js +85 -44
  124. package/dist/engine.js.map +1 -1
  125. package/dist/errors.d.ts +37 -1
  126. package/dist/errors.d.ts.map +1 -1
  127. package/dist/errors.js +75 -3
  128. package/dist/errors.js.map +1 -1
  129. package/dist/file-journaled-backend-internal.d.ts +21 -0
  130. package/dist/file-journaled-backend-internal.d.ts.map +1 -0
  131. package/dist/file-journaled-backend-internal.js +12 -0
  132. package/dist/file-journaled-backend-internal.js.map +1 -0
  133. package/dist/file-journaled-backend.d.ts +160 -0
  134. package/dist/file-journaled-backend.d.ts.map +1 -0
  135. package/dist/file-journaled-backend.js +1345 -0
  136. package/dist/file-journaled-backend.js.map +1 -0
  137. package/dist/filesystem-identity.d.ts +106 -17
  138. package/dist/filesystem-identity.d.ts.map +1 -1
  139. package/dist/filesystem-identity.js +513 -51
  140. package/dist/filesystem-identity.js.map +1 -1
  141. package/dist/filesystem-lock.d.ts +16 -2
  142. package/dist/filesystem-lock.d.ts.map +1 -1
  143. package/dist/filesystem-lock.js +402 -27
  144. package/dist/filesystem-lock.js.map +1 -1
  145. package/dist/filesystem-push-role.d.ts +77 -0
  146. package/dist/filesystem-push-role.d.ts.map +1 -0
  147. package/dist/filesystem-push-role.js +165 -0
  148. package/dist/filesystem-push-role.js.map +1 -0
  149. package/dist/filesystem-temp-name.d.ts +9 -0
  150. package/dist/filesystem-temp-name.d.ts.map +1 -0
  151. package/dist/filesystem-temp-name.js +20 -0
  152. package/dist/filesystem-temp-name.js.map +1 -0
  153. package/dist/filesystem.d.ts +6 -0
  154. package/dist/filesystem.d.ts.map +1 -1
  155. package/dist/filesystem.js +2 -1
  156. package/dist/filesystem.js.map +1 -1
  157. package/dist/freshness.d.ts +15 -1
  158. package/dist/freshness.d.ts.map +1 -1
  159. package/dist/freshness.js +29 -16
  160. package/dist/freshness.js.map +1 -1
  161. package/dist/frontmatter-contract.d.ts +14 -0
  162. package/dist/frontmatter-contract.d.ts.map +1 -1
  163. package/dist/frontmatter-contract.js +22 -0
  164. package/dist/frontmatter-contract.js.map +1 -1
  165. package/dist/frontmatter-splitter.d.ts +6 -0
  166. package/dist/frontmatter-splitter.d.ts.map +1 -1
  167. package/dist/frontmatter-splitter.js +8 -0
  168. package/dist/frontmatter-splitter.js.map +1 -1
  169. package/dist/frontmatter.d.ts +16 -7
  170. package/dist/frontmatter.d.ts.map +1 -1
  171. package/dist/frontmatter.js +48 -11
  172. package/dist/frontmatter.js.map +1 -1
  173. package/dist/governed-body-write.d.ts +8 -1
  174. package/dist/governed-body-write.d.ts.map +1 -1
  175. package/dist/governed-body-write.js +22 -8
  176. package/dist/governed-body-write.js.map +1 -1
  177. package/dist/heads-digest.d.ts.map +1 -1
  178. package/dist/heads-digest.js +2 -1
  179. package/dist/heads-digest.js.map +1 -1
  180. package/dist/host-text.d.ts +31 -0
  181. package/dist/host-text.d.ts.map +1 -0
  182. package/dist/host-text.js +77 -0
  183. package/dist/host-text.js.map +1 -0
  184. package/dist/hosted-client/binding.d.ts +7 -0
  185. package/dist/hosted-client/binding.d.ts.map +1 -0
  186. package/dist/hosted-client/binding.js +10 -0
  187. package/dist/hosted-client/binding.js.map +1 -0
  188. package/dist/hosted-client/blob-delivery.d.ts +68 -0
  189. package/dist/hosted-client/blob-delivery.d.ts.map +1 -0
  190. package/dist/hosted-client/blob-delivery.js +170 -0
  191. package/dist/hosted-client/blob-delivery.js.map +1 -0
  192. package/dist/hosted-client/blob-write.d.ts +387 -0
  193. package/dist/hosted-client/blob-write.d.ts.map +1 -0
  194. package/dist/hosted-client/blob-write.js +770 -0
  195. package/dist/hosted-client/blob-write.js.map +1 -0
  196. package/dist/hosted-client/bundle-listing.d.ts +46 -0
  197. package/dist/hosted-client/bundle-listing.d.ts.map +1 -0
  198. package/dist/hosted-client/bundle-listing.js +36 -0
  199. package/dist/hosted-client/bundle-listing.js.map +1 -0
  200. package/dist/hosted-client/client.d.ts +249 -0
  201. package/dist/hosted-client/client.d.ts.map +1 -0
  202. package/dist/hosted-client/client.js +381 -0
  203. package/dist/hosted-client/client.js.map +1 -0
  204. package/dist/hosted-client/directory.d.ts +46 -0
  205. package/dist/hosted-client/directory.d.ts.map +1 -0
  206. package/dist/hosted-client/directory.js +74 -0
  207. package/dist/hosted-client/directory.js.map +1 -0
  208. package/dist/hosted-client/errors.d.ts +26 -0
  209. package/dist/hosted-client/errors.d.ts.map +1 -0
  210. package/dist/hosted-client/errors.js +35 -0
  211. package/dist/hosted-client/errors.js.map +1 -0
  212. package/dist/hosted-client/inbox.d.ts +320 -0
  213. package/dist/hosted-client/inbox.d.ts.map +1 -0
  214. package/dist/hosted-client/inbox.js +379 -0
  215. package/dist/hosted-client/inbox.js.map +1 -0
  216. package/dist/hosted-client/index.d.ts +31 -0
  217. package/dist/hosted-client/index.d.ts.map +1 -0
  218. package/dist/hosted-client/index.js +33 -0
  219. package/dist/hosted-client/index.js.map +1 -0
  220. package/dist/hosted-client/journal.d.ts +103 -0
  221. package/dist/hosted-client/journal.d.ts.map +1 -0
  222. package/dist/hosted-client/journal.js +464 -0
  223. package/dist/hosted-client/journal.js.map +1 -0
  224. package/dist/hosted-client/node.d.ts +74 -0
  225. package/dist/hosted-client/node.d.ts.map +1 -0
  226. package/dist/hosted-client/node.js +219 -0
  227. package/dist/hosted-client/node.js.map +1 -0
  228. package/dist/hosted-client/reference.d.ts +12 -0
  229. package/dist/hosted-client/reference.d.ts.map +1 -0
  230. package/dist/hosted-client/reference.js +29 -0
  231. package/dist/hosted-client/reference.js.map +1 -0
  232. package/dist/hosted-client/view-content.d.ts +184 -0
  233. package/dist/hosted-client/view-content.d.ts.map +1 -0
  234. package/dist/hosted-client/view-content.js +268 -0
  235. package/dist/hosted-client/view-content.js.map +1 -0
  236. package/dist/hosted-client/write.d.ts +219 -0
  237. package/dist/hosted-client/write.d.ts.map +1 -0
  238. package/dist/hosted-client/write.js +419 -0
  239. package/dist/hosted-client/write.js.map +1 -0
  240. package/dist/hosted-transport/answer-rows.d.ts +341 -0
  241. package/dist/hosted-transport/answer-rows.d.ts.map +1 -0
  242. package/dist/hosted-transport/answer-rows.js +594 -0
  243. package/dist/hosted-transport/answer-rows.js.map +1 -0
  244. package/dist/hosted-transport/blob-reads.d.ts +35 -0
  245. package/dist/hosted-transport/blob-reads.d.ts.map +1 -0
  246. package/dist/hosted-transport/blob-reads.js +179 -0
  247. package/dist/hosted-transport/blob-reads.js.map +1 -0
  248. package/dist/hosted-transport/blob-write.d.ts +34 -0
  249. package/dist/hosted-transport/blob-write.d.ts.map +1 -0
  250. package/dist/hosted-transport/blob-write.js +115 -0
  251. package/dist/hosted-transport/blob-write.js.map +1 -0
  252. package/dist/hosted-transport/carrier.d.ts +153 -0
  253. package/dist/hosted-transport/carrier.d.ts.map +1 -0
  254. package/dist/hosted-transport/carrier.js +273 -0
  255. package/dist/hosted-transport/carrier.js.map +1 -0
  256. package/dist/hosted-transport/document-backend.d.ts +74 -0
  257. package/dist/hosted-transport/document-backend.d.ts.map +1 -0
  258. package/dist/hosted-transport/document-backend.js +160 -0
  259. package/dist/hosted-transport/document-backend.js.map +1 -0
  260. package/dist/hosted-transport/history-pages.d.ts +55 -0
  261. package/dist/hosted-transport/history-pages.d.ts.map +1 -0
  262. package/dist/hosted-transport/history-pages.js +69 -0
  263. package/dist/hosted-transport/history-pages.js.map +1 -0
  264. package/dist/hosted-transport/index.d.ts +20 -0
  265. package/dist/hosted-transport/index.d.ts.map +1 -0
  266. package/dist/hosted-transport/index.js +20 -0
  267. package/dist/hosted-transport/index.js.map +1 -0
  268. package/dist/hosted-transport/operations.d.ts +85 -0
  269. package/dist/hosted-transport/operations.d.ts.map +1 -0
  270. package/dist/hosted-transport/operations.js +128 -0
  271. package/dist/hosted-transport/operations.js.map +1 -0
  272. package/dist/hosted-transport/paged-reads.d.ts +87 -0
  273. package/dist/hosted-transport/paged-reads.d.ts.map +1 -0
  274. package/dist/hosted-transport/paged-reads.js +238 -0
  275. package/dist/hosted-transport/paged-reads.js.map +1 -0
  276. package/dist/hosted-transport/port-run.d.ts +41 -0
  277. package/dist/hosted-transport/port-run.d.ts.map +1 -0
  278. package/dist/hosted-transport/port-run.js +92 -0
  279. package/dist/hosted-transport/port-run.js.map +1 -0
  280. package/dist/hosted-transport/read-adapter.d.ts +266 -0
  281. package/dist/hosted-transport/read-adapter.d.ts.map +1 -0
  282. package/dist/hosted-transport/read-adapter.js +570 -0
  283. package/dist/hosted-transport/read-adapter.js.map +1 -0
  284. package/dist/hosted-transport/root-write.d.ts +114 -0
  285. package/dist/hosted-transport/root-write.d.ts.map +1 -0
  286. package/dist/hosted-transport/root-write.js +174 -0
  287. package/dist/hosted-transport/root-write.js.map +1 -0
  288. package/dist/hosted-transport/whole-document-transport.d.ts +216 -0
  289. package/dist/hosted-transport/whole-document-transport.d.ts.map +1 -0
  290. package/dist/hosted-transport/whole-document-transport.js +470 -0
  291. package/dist/hosted-transport/whole-document-transport.js.map +1 -0
  292. package/dist/identity-fold.d.ts +16 -0
  293. package/dist/identity-fold.d.ts.map +1 -0
  294. package/dist/identity-fold.js +24 -0
  295. package/dist/identity-fold.js.map +1 -0
  296. package/dist/index-projection.d.ts +2 -1
  297. package/dist/index-projection.d.ts.map +1 -1
  298. package/dist/index-projection.js +38 -28
  299. package/dist/index-projection.js.map +1 -1
  300. package/dist/index.d.ts +58 -19
  301. package/dist/index.d.ts.map +1 -1
  302. package/dist/index.js +48 -21
  303. package/dist/index.js.map +1 -1
  304. package/dist/indexeddb-backend.d.ts +6 -32
  305. package/dist/indexeddb-backend.d.ts.map +1 -1
  306. package/dist/indexeddb-backend.js +82 -8
  307. package/dist/indexeddb-backend.js.map +1 -1
  308. package/dist/inventory-guard.d.ts +58 -0
  309. package/dist/inventory-guard.d.ts.map +1 -0
  310. package/dist/inventory-guard.js +169 -0
  311. package/dist/inventory-guard.js.map +1 -0
  312. package/dist/journaled-backend.d.ts +86 -8
  313. package/dist/journaled-backend.d.ts.map +1 -1
  314. package/dist/journaled-backend.js +64 -69
  315. package/dist/journaled-backend.js.map +1 -1
  316. package/dist/json-data.d.ts +3 -0
  317. package/dist/json-data.d.ts.map +1 -0
  318. package/dist/json-data.js +19 -0
  319. package/dist/json-data.js.map +1 -0
  320. package/dist/kind-authoring.d.ts +190 -0
  321. package/dist/kind-authoring.d.ts.map +1 -0
  322. package/dist/kind-authoring.js +510 -0
  323. package/dist/kind-authoring.js.map +1 -0
  324. package/dist/kind-changes.d.ts +45 -0
  325. package/dist/kind-changes.d.ts.map +1 -0
  326. package/dist/kind-changes.js +96 -0
  327. package/dist/kind-changes.js.map +1 -0
  328. package/dist/kind-conformance-error.d.ts +15 -0
  329. package/dist/kind-conformance-error.d.ts.map +1 -0
  330. package/dist/kind-conformance-error.js +20 -0
  331. package/dist/kind-conformance-error.js.map +1 -0
  332. package/dist/kind-coverage.d.ts +100 -0
  333. package/dist/kind-coverage.d.ts.map +1 -0
  334. package/dist/kind-coverage.js +185 -0
  335. package/dist/kind-coverage.js.map +1 -0
  336. package/dist/kind-deprecation.d.ts +32 -0
  337. package/dist/kind-deprecation.d.ts.map +1 -0
  338. package/dist/kind-deprecation.js +141 -0
  339. package/dist/kind-deprecation.js.map +1 -0
  340. package/dist/kind-field-mutation.d.ts +4 -0
  341. package/dist/kind-field-mutation.d.ts.map +1 -1
  342. package/dist/kind-field-mutation.js +28 -3
  343. package/dist/kind-field-mutation.js.map +1 -1
  344. package/dist/kind-undeclared-fields.d.ts +70 -0
  345. package/dist/kind-undeclared-fields.d.ts.map +1 -0
  346. package/dist/kind-undeclared-fields.js +121 -0
  347. package/dist/kind-undeclared-fields.js.map +1 -0
  348. package/dist/kinds-load.d.ts.map +1 -1
  349. package/dist/kinds-load.js +8 -5
  350. package/dist/kinds-load.js.map +1 -1
  351. package/dist/kinds.d.ts +117 -6
  352. package/dist/kinds.d.ts.map +1 -1
  353. package/dist/kinds.js +410 -24
  354. package/dist/kinds.js.map +1 -1
  355. package/dist/link-emit.d.ts +29 -0
  356. package/dist/link-emit.d.ts.map +1 -0
  357. package/dist/link-emit.js +39 -0
  358. package/dist/link-emit.js.map +1 -0
  359. package/dist/link-findings.d.ts +130 -0
  360. package/dist/link-findings.d.ts.map +1 -0
  361. package/dist/link-findings.js +261 -0
  362. package/dist/link-findings.js.map +1 -0
  363. package/dist/link-types.d.ts +34 -0
  364. package/dist/link-types.d.ts.map +1 -0
  365. package/dist/link-types.js +79 -0
  366. package/dist/link-types.js.map +1 -0
  367. package/dist/links.d.ts +64 -8
  368. package/dist/links.d.ts.map +1 -1
  369. package/dist/links.js +328 -60
  370. package/dist/links.js.map +1 -1
  371. package/dist/managed-document-metadata.d.ts +2 -0
  372. package/dist/managed-document-metadata.d.ts.map +1 -0
  373. package/dist/managed-document-metadata.js +9 -0
  374. package/dist/managed-document-metadata.js.map +1 -0
  375. package/dist/memory-backend.d.ts +3 -0
  376. package/dist/memory-backend.d.ts.map +1 -1
  377. package/dist/memory-backend.js +46 -4
  378. package/dist/memory-backend.js.map +1 -1
  379. package/dist/okf-actor.d.ts +1 -0
  380. package/dist/okf-actor.d.ts.map +1 -1
  381. package/dist/okf-actor.js +1 -0
  382. package/dist/okf-actor.js.map +1 -1
  383. package/dist/okf-authoring.d.ts +4 -0
  384. package/dist/okf-authoring.d.ts.map +1 -0
  385. package/dist/okf-authoring.js +12 -0
  386. package/dist/okf-authoring.js.map +1 -0
  387. package/dist/okf-standard-fields.d.ts +3 -0
  388. package/dist/okf-standard-fields.d.ts.map +1 -1
  389. package/dist/okf-standard-fields.js +3 -0
  390. package/dist/okf-standard-fields.js.map +1 -1
  391. package/dist/page.d.ts +3 -7
  392. package/dist/page.d.ts.map +1 -1
  393. package/dist/page.js +3 -7
  394. package/dist/page.js.map +1 -1
  395. package/dist/path-fold.d.ts +52 -0
  396. package/dist/path-fold.d.ts.map +1 -0
  397. package/dist/path-fold.js +54 -0
  398. package/dist/path-fold.js.map +1 -0
  399. package/dist/paths.d.ts +46 -0
  400. package/dist/paths.d.ts.map +1 -1
  401. package/dist/paths.js +114 -1
  402. package/dist/paths.js.map +1 -1
  403. package/dist/platform.d.ts +22 -2
  404. package/dist/platform.d.ts.map +1 -1
  405. package/dist/platform.js +16 -0
  406. package/dist/platform.js.map +1 -1
  407. package/dist/portable-export.d.ts +119 -0
  408. package/dist/portable-export.d.ts.map +1 -0
  409. package/dist/portable-export.js +501 -0
  410. package/dist/portable-export.js.map +1 -0
  411. package/dist/portable-frontmatter.d.ts +11 -0
  412. package/dist/portable-frontmatter.d.ts.map +1 -1
  413. package/dist/portable-frontmatter.js +33 -5
  414. package/dist/portable-frontmatter.js.map +1 -1
  415. package/dist/publication-filesystem.d.ts +1 -1
  416. package/dist/publication-filesystem.d.ts.map +1 -1
  417. package/dist/publication-filesystem.js +1 -1
  418. package/dist/publication-filesystem.js.map +1 -1
  419. package/dist/qualified-links.d.ts +67 -0
  420. package/dist/qualified-links.d.ts.map +1 -0
  421. package/dist/qualified-links.js +117 -0
  422. package/dist/qualified-links.js.map +1 -0
  423. package/dist/query-filter.d.ts +16 -4
  424. package/dist/query-filter.d.ts.map +1 -1
  425. package/dist/query-filter.js +44 -2
  426. package/dist/query-filter.js.map +1 -1
  427. package/dist/query-order.d.ts +22 -0
  428. package/dist/query-order.d.ts.map +1 -0
  429. package/dist/query-order.js +43 -0
  430. package/dist/query-order.js.map +1 -0
  431. package/dist/recipe-lifecycle/errors.d.ts +96 -0
  432. package/dist/recipe-lifecycle/errors.d.ts.map +1 -0
  433. package/dist/recipe-lifecycle/errors.js +122 -0
  434. package/dist/recipe-lifecycle/errors.js.map +1 -0
  435. package/dist/recipe-lifecycle/evolution.d.ts +124 -0
  436. package/dist/recipe-lifecycle/evolution.d.ts.map +1 -0
  437. package/dist/recipe-lifecycle/evolution.js +988 -0
  438. package/dist/recipe-lifecycle/evolution.js.map +1 -0
  439. package/dist/recipe-lifecycle/index.d.ts +34 -0
  440. package/dist/recipe-lifecycle/index.d.ts.map +1 -0
  441. package/dist/recipe-lifecycle/index.js +28 -0
  442. package/dist/recipe-lifecycle/index.js.map +1 -0
  443. package/dist/recipe-lifecycle/install.d.ts +161 -0
  444. package/dist/recipe-lifecycle/install.d.ts.map +1 -0
  445. package/dist/recipe-lifecycle/install.js +632 -0
  446. package/dist/recipe-lifecycle/install.js.map +1 -0
  447. package/dist/recipe-lifecycle/legacy-aliases.d.ts +4 -0
  448. package/dist/recipe-lifecycle/legacy-aliases.d.ts.map +1 -0
  449. package/dist/recipe-lifecycle/legacy-aliases.js +22 -0
  450. package/dist/recipe-lifecycle/legacy-aliases.js.map +1 -0
  451. package/dist/recipe-lifecycle/retirement-apply.d.ts +59 -0
  452. package/dist/recipe-lifecycle/retirement-apply.d.ts.map +1 -0
  453. package/dist/recipe-lifecycle/retirement-apply.js +165 -0
  454. package/dist/recipe-lifecycle/retirement-apply.js.map +1 -0
  455. package/dist/recipe-lifecycle/retirement.d.ts +89 -0
  456. package/dist/recipe-lifecycle/retirement.d.ts.map +1 -0
  457. package/dist/recipe-lifecycle/retirement.js +347 -0
  458. package/dist/recipe-lifecycle/retirement.js.map +1 -0
  459. package/dist/recipe-lifecycle/stamp.d.ts +146 -0
  460. package/dist/recipe-lifecycle/stamp.d.ts.map +1 -0
  461. package/dist/recipe-lifecycle/stamp.js +361 -0
  462. package/dist/recipe-lifecycle/stamp.js.map +1 -0
  463. package/dist/recipe-qualify.d.ts +80 -0
  464. package/dist/recipe-qualify.d.ts.map +1 -0
  465. package/dist/recipe-qualify.js +352 -0
  466. package/dist/recipe-qualify.js.map +1 -0
  467. package/dist/recipe-set-preflight.d.ts +139 -0
  468. package/dist/recipe-set-preflight.d.ts.map +1 -0
  469. package/dist/recipe-set-preflight.js +536 -0
  470. package/dist/recipe-set-preflight.js.map +1 -0
  471. package/dist/recipe-sources.d.ts +209 -0
  472. package/dist/recipe-sources.d.ts.map +1 -0
  473. package/dist/recipe-sources.js +607 -0
  474. package/dist/recipe-sources.js.map +1 -0
  475. package/dist/recipes.d.ts +45 -1
  476. package/dist/recipes.d.ts.map +1 -1
  477. package/dist/recipes.js +138 -1
  478. package/dist/recipes.js.map +1 -1
  479. package/dist/record-overlay/apply.d.ts +43 -0
  480. package/dist/record-overlay/apply.d.ts.map +1 -0
  481. package/dist/record-overlay/apply.js +523 -0
  482. package/dist/record-overlay/apply.js.map +1 -0
  483. package/dist/record-overlay/canonical.d.ts +22 -0
  484. package/dist/record-overlay/canonical.d.ts.map +1 -0
  485. package/dist/record-overlay/canonical.js +47 -0
  486. package/dist/record-overlay/canonical.js.map +1 -0
  487. package/dist/record-overlay/digest.d.ts +4 -0
  488. package/dist/record-overlay/digest.d.ts.map +1 -0
  489. package/dist/record-overlay/digest.js +11 -0
  490. package/dist/record-overlay/digest.js.map +1 -0
  491. package/dist/record-overlay/errors.d.ts +44 -0
  492. package/dist/record-overlay/errors.d.ts.map +1 -0
  493. package/dist/record-overlay/errors.js +55 -0
  494. package/dist/record-overlay/errors.js.map +1 -0
  495. package/dist/record-overlay/findings.d.ts +5 -0
  496. package/dist/record-overlay/findings.d.ts.map +1 -0
  497. package/dist/record-overlay/findings.js +86 -0
  498. package/dist/record-overlay/findings.js.map +1 -0
  499. package/dist/record-overlay/index.d.ts +23 -0
  500. package/dist/record-overlay/index.d.ts.map +1 -0
  501. package/dist/record-overlay/index.js +21 -0
  502. package/dist/record-overlay/index.js.map +1 -0
  503. package/dist/record-overlay/plan.d.ts +12 -0
  504. package/dist/record-overlay/plan.d.ts.map +1 -0
  505. package/dist/record-overlay/plan.js +285 -0
  506. package/dist/record-overlay/plan.js.map +1 -0
  507. package/dist/record-overlay/policy.d.ts +74 -0
  508. package/dist/record-overlay/policy.d.ts.map +1 -0
  509. package/dist/record-overlay/policy.js +235 -0
  510. package/dist/record-overlay/policy.js.map +1 -0
  511. package/dist/record-overlay/redact.d.ts +3 -0
  512. package/dist/record-overlay/redact.d.ts.map +1 -0
  513. package/dist/record-overlay/redact.js +27 -0
  514. package/dist/record-overlay/redact.js.map +1 -0
  515. package/dist/record-overlay/signal-kind.d.ts +30 -0
  516. package/dist/record-overlay/signal-kind.d.ts.map +1 -0
  517. package/dist/record-overlay/signal-kind.js +38 -0
  518. package/dist/record-overlay/signal-kind.js.map +1 -0
  519. package/dist/record-overlay/signal-text.d.ts +52 -0
  520. package/dist/record-overlay/signal-text.d.ts.map +1 -0
  521. package/dist/record-overlay/signal-text.js +126 -0
  522. package/dist/record-overlay/signal-text.js.map +1 -0
  523. package/dist/record-overlay/source-index.d.ts +19 -0
  524. package/dist/record-overlay/source-index.d.ts.map +1 -0
  525. package/dist/record-overlay/source-index.js +102 -0
  526. package/dist/record-overlay/source-index.js.map +1 -0
  527. package/dist/record-overlay/types.d.ts +291 -0
  528. package/dist/record-overlay/types.d.ts.map +1 -0
  529. package/dist/record-overlay/types.js +2 -0
  530. package/dist/record-overlay/types.js.map +1 -0
  531. package/dist/relationships.d.ts +47 -0
  532. package/dist/relationships.d.ts.map +1 -0
  533. package/dist/relationships.js +53 -0
  534. package/dist/relationships.js.map +1 -0
  535. package/dist/remote-backend.d.ts +67 -32
  536. package/dist/remote-backend.d.ts.map +1 -1
  537. package/dist/remote-backend.js +171 -39
  538. package/dist/remote-backend.js.map +1 -1
  539. package/dist/remote-document-codec.d.ts +2 -1
  540. package/dist/remote-document-codec.d.ts.map +1 -1
  541. package/dist/remote-document-codec.js +3 -2
  542. package/dist/remote-document-codec.js.map +1 -1
  543. package/dist/remote-error.d.ts +17 -1
  544. package/dist/remote-error.d.ts.map +1 -1
  545. package/dist/remote-error.js +32 -2
  546. package/dist/remote-error.js.map +1 -1
  547. package/dist/remote-operations.d.ts +0 -40
  548. package/dist/remote-operations.d.ts.map +1 -1
  549. package/dist/remote-operations.js +28 -6
  550. package/dist/remote-operations.js.map +1 -1
  551. package/dist/remote-parsers.d.ts +20 -1
  552. package/dist/remote-parsers.d.ts.map +1 -1
  553. package/dist/remote-parsers.js +1 -1
  554. package/dist/remote-parsers.js.map +1 -1
  555. package/dist/remote.d.ts +2 -4
  556. package/dist/remote.d.ts.map +1 -1
  557. package/dist/remote.js +2 -3
  558. package/dist/remote.js.map +1 -1
  559. package/dist/reserved-write.d.ts +9 -0
  560. package/dist/reserved-write.d.ts.map +1 -0
  561. package/dist/reserved-write.js +15 -0
  562. package/dist/reserved-write.js.map +1 -0
  563. package/dist/search/backend-source.d.ts +6 -0
  564. package/dist/search/backend-source.d.ts.map +1 -0
  565. package/dist/search/backend-source.js +57 -0
  566. package/dist/search/backend-source.js.map +1 -0
  567. package/dist/search/contract.d.ts +158 -0
  568. package/dist/search/contract.d.ts.map +1 -0
  569. package/dist/search/contract.js +78 -0
  570. package/dist/search/contract.js.map +1 -0
  571. package/dist/search/errors.d.ts +30 -0
  572. package/dist/search/errors.d.ts.map +1 -0
  573. package/dist/search/errors.js +50 -0
  574. package/dist/search/errors.js.map +1 -0
  575. package/dist/search/identity.d.ts +12 -0
  576. package/dist/search/identity.d.ts.map +1 -0
  577. package/dist/search/identity.js +90 -0
  578. package/dist/search/identity.js.map +1 -0
  579. package/dist/search/index.d.ts +16 -0
  580. package/dist/search/index.d.ts.map +1 -0
  581. package/dist/search/index.js +15 -0
  582. package/dist/search/index.js.map +1 -0
  583. package/dist/search/memory-source.d.ts +36 -0
  584. package/dist/search/memory-source.d.ts.map +1 -0
  585. package/dist/search/memory-source.js +238 -0
  586. package/dist/search/memory-source.js.map +1 -0
  587. package/dist/search/rank.d.ts +29 -0
  588. package/dist/search/rank.d.ts.map +1 -0
  589. package/dist/search/rank.js +132 -0
  590. package/dist/search/rank.js.map +1 -0
  591. package/dist/search/row-text.d.ts +38 -0
  592. package/dist/search/row-text.d.ts.map +1 -0
  593. package/dist/search/row-text.js +88 -0
  594. package/dist/search/row-text.js.map +1 -0
  595. package/dist/search/search.d.ts +28 -0
  596. package/dist/search/search.d.ts.map +1 -0
  597. package/dist/search/search.js +265 -0
  598. package/dist/search/search.js.map +1 -0
  599. package/dist/search/source.d.ts +70 -0
  600. package/dist/search/source.d.ts.map +1 -0
  601. package/dist/search/source.js +2 -0
  602. package/dist/search/source.js.map +1 -0
  603. package/dist/search/text.d.ts +47 -0
  604. package/dist/search/text.d.ts.map +1 -0
  605. package/dist/search/text.js +150 -0
  606. package/dist/search/text.js.map +1 -0
  607. package/dist/sha256.d.ts.map +1 -1
  608. package/dist/sha256.js +3 -2
  609. package/dist/sha256.js.map +1 -1
  610. package/dist/site-capabilities.d.ts +345 -0
  611. package/dist/site-capabilities.d.ts.map +1 -0
  612. package/dist/site-capabilities.js +724 -0
  613. package/dist/site-capabilities.js.map +1 -0
  614. package/dist/site-manifest.d.ts +51 -0
  615. package/dist/site-manifest.d.ts.map +1 -0
  616. package/dist/site-manifest.js +115 -0
  617. package/dist/site-manifest.js.map +1 -0
  618. package/dist/skip-reasons.d.ts +12 -0
  619. package/dist/skip-reasons.d.ts.map +1 -0
  620. package/dist/skip-reasons.js +15 -0
  621. package/dist/skip-reasons.js.map +1 -0
  622. package/dist/source-engine/driver.d.ts +40 -0
  623. package/dist/source-engine/driver.d.ts.map +1 -0
  624. package/dist/source-engine/driver.js +513 -0
  625. package/dist/source-engine/driver.js.map +1 -0
  626. package/dist/source-engine/evidence.d.ts +39 -0
  627. package/dist/source-engine/evidence.d.ts.map +1 -0
  628. package/dist/source-engine/evidence.js +54 -0
  629. package/dist/source-engine/evidence.js.map +1 -0
  630. package/dist/source-engine/guard.d.ts +87 -0
  631. package/dist/source-engine/guard.d.ts.map +1 -0
  632. package/dist/source-engine/guard.js +427 -0
  633. package/dist/source-engine/guard.js.map +1 -0
  634. package/dist/source-engine/index.d.ts +35 -0
  635. package/dist/source-engine/index.d.ts.map +1 -0
  636. package/dist/source-engine/index.js +27 -0
  637. package/dist/source-engine/index.js.map +1 -0
  638. package/dist/source-engine/machine-state.d.ts +87 -0
  639. package/dist/source-engine/machine-state.d.ts.map +1 -0
  640. package/dist/source-engine/machine-state.js +94 -0
  641. package/dist/source-engine/machine-state.js.map +1 -0
  642. package/dist/source-engine/observe.d.ts +10 -0
  643. package/dist/source-engine/observe.d.ts.map +1 -0
  644. package/dist/source-engine/observe.js +276 -0
  645. package/dist/source-engine/observe.js.map +1 -0
  646. package/dist/source-engine/overlay.d.ts +50 -0
  647. package/dist/source-engine/overlay.d.ts.map +1 -0
  648. package/dist/source-engine/overlay.js +114 -0
  649. package/dist/source-engine/overlay.js.map +1 -0
  650. package/dist/source-engine/robots.d.ts +53 -0
  651. package/dist/source-engine/robots.d.ts.map +1 -0
  652. package/dist/source-engine/robots.js +158 -0
  653. package/dist/source-engine/robots.js.map +1 -0
  654. package/dist/source-engine/snapshot.d.ts +104 -0
  655. package/dist/source-engine/snapshot.d.ts.map +1 -0
  656. package/dist/source-engine/snapshot.js +240 -0
  657. package/dist/source-engine/snapshot.js.map +1 -0
  658. package/dist/source-engine/target-consumer.d.ts +12 -0
  659. package/dist/source-engine/target-consumer.d.ts.map +1 -0
  660. package/dist/source-engine/target-consumer.js +15 -0
  661. package/dist/source-engine/target-consumer.js.map +1 -0
  662. package/dist/source-engine/target-descriptor.d.ts +3 -0
  663. package/dist/source-engine/target-descriptor.d.ts.map +1 -0
  664. package/dist/source-engine/target-descriptor.js +26 -0
  665. package/dist/source-engine/target-descriptor.js.map +1 -0
  666. package/dist/source-engine/target.d.ts +82 -0
  667. package/dist/source-engine/target.d.ts.map +1 -0
  668. package/dist/source-engine/target.js +213 -0
  669. package/dist/source-engine/target.js.map +1 -0
  670. package/dist/source-engine/types.d.ts +296 -0
  671. package/dist/source-engine/types.d.ts.map +1 -0
  672. package/dist/source-engine/types.js +2 -0
  673. package/dist/source-engine/types.js.map +1 -0
  674. package/dist/source-harness/conformance.d.ts +16 -0
  675. package/dist/source-harness/conformance.d.ts.map +1 -0
  676. package/dist/source-harness/conformance.js +266 -0
  677. package/dist/source-harness/conformance.js.map +1 -0
  678. package/dist/source-harness/fixture.d.ts +97 -0
  679. package/dist/source-harness/fixture.d.ts.map +1 -0
  680. package/dist/source-harness/fixture.js +276 -0
  681. package/dist/source-harness/fixture.js.map +1 -0
  682. package/dist/source-harness/index.d.ts +22 -0
  683. package/dist/source-harness/index.d.ts.map +1 -0
  684. package/dist/source-harness/index.js +19 -0
  685. package/dist/source-harness/index.js.map +1 -0
  686. package/dist/source-harness/peer.d.ts +74 -0
  687. package/dist/source-harness/peer.d.ts.map +1 -0
  688. package/dist/source-harness/peer.js +106 -0
  689. package/dist/source-harness/peer.js.map +1 -0
  690. package/dist/source-profiles/index.d.ts +31 -0
  691. package/dist/source-profiles/index.d.ts.map +1 -0
  692. package/dist/source-profiles/index.js +206 -0
  693. package/dist/source-profiles/index.js.map +1 -0
  694. package/dist/source-profiles/link-header.d.ts +6 -0
  695. package/dist/source-profiles/link-header.d.ts.map +1 -0
  696. package/dist/source-profiles/link-header.js +131 -0
  697. package/dist/source-profiles/link-header.js.map +1 -0
  698. package/dist/storage-harness/contract.d.ts +109 -0
  699. package/dist/storage-harness/contract.d.ts.map +1 -0
  700. package/dist/storage-harness/contract.js +853 -0
  701. package/dist/storage-harness/contract.js.map +1 -0
  702. package/dist/storage-harness/index.d.ts +39 -0
  703. package/dist/storage-harness/index.d.ts.map +1 -0
  704. package/dist/storage-harness/index.js +55 -0
  705. package/dist/storage-harness/index.js.map +1 -0
  706. package/dist/storage.d.ts +8 -1
  707. package/dist/storage.d.ts.map +1 -1
  708. package/dist/storage.js +6 -1
  709. package/dist/storage.js.map +1 -1
  710. package/dist/string-identity-agreement.d.ts +35 -0
  711. package/dist/string-identity-agreement.d.ts.map +1 -0
  712. package/dist/string-identity-agreement.js +78 -0
  713. package/dist/string-identity-agreement.js.map +1 -0
  714. package/dist/system-documents.d.ts +82 -0
  715. package/dist/system-documents.d.ts.map +1 -0
  716. package/dist/system-documents.js +127 -0
  717. package/dist/system-documents.js.map +1 -0
  718. package/dist/types.d.ts +53 -7
  719. package/dist/types.d.ts.map +1 -1
  720. package/dist/types.js +0 -10
  721. package/dist/types.js.map +1 -1
  722. package/dist/uncertain-write.d.ts +157 -17
  723. package/dist/uncertain-write.d.ts.map +1 -1
  724. package/dist/uncertain-write.js +86 -30
  725. package/dist/uncertain-write.js.map +1 -1
  726. package/dist/validation.d.ts +5 -0
  727. package/dist/validation.d.ts.map +1 -1
  728. package/dist/verification.d.ts +7 -3
  729. package/dist/verification.d.ts.map +1 -1
  730. package/dist/verification.js +49 -13
  731. package/dist/verification.js.map +1 -1
  732. package/dist/versioning.d.ts +9 -4
  733. package/dist/versioning.d.ts.map +1 -1
  734. package/dist/versioning.js +9 -4
  735. package/dist/versioning.js.map +1 -1
  736. package/dist/view-launch-contract.d.ts +14 -0
  737. package/dist/view-launch-contract.d.ts.map +1 -0
  738. package/dist/view-launch-contract.js +23 -0
  739. package/dist/view-launch-contract.js.map +1 -0
  740. package/dist/write-identity.d.ts +5 -0
  741. package/dist/write-identity.d.ts.map +1 -0
  742. package/dist/write-identity.js +9 -0
  743. package/dist/write-identity.js.map +1 -0
  744. package/package.json +167 -6
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bounded-yaml.js","sourceRoot":"","sources":["../src/bounded-yaml.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAE3F,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,GAAG,GAAG,IAAI;IACvB,KAAK,EAAE,EAAE;IACT,OAAO,EAAE,KAAK;IACd,aAAa,EAAE,OAAO;IACtB,aAAa,EAAE,IAAI,GAAG,IAAI;CAC3B,CAAC,CAAC;AAEH,kGAAkG;AAClG,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,KAAK,GAAG,CAAC,CAAC;AAqBzD,SAAS,OAAO;IACd,OAAO,IAAI,qBAAqB,CAAC,sBAAsB,EAAE,+BAA+B,kBAAkB,CAAC,KAAK,SAAS,CAAC,CAAC;AAC7H,CAAC;AAED,SAAS,QAAQ;IACf,OAAO,IAAI,qBAAqB,CAC9B,yBAAyB,EACzB,oCAAoC,kBAAkB,CAAC,aAAa,a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,CAAC;SACF,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,MAAM,GAAI,KAA8B,CAAC,MAAM,CAAC;QACtD,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,CAAC,UAAU,CAAC,sBAAsB,CAAC,EAAE,CAAC;YAC5E,MAAM,IAAI,qBAAqB,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;QACrE,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;IACD,IAAI,WAAW,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjC,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,93 @@
1
+ /** Optional shipped recipe content; generic bundle creation never imports this module. */
2
+ import { type KindConvention } from "../kinds.js";
3
+ /**
4
+ * The `Context Note` kind convention (moved VERBATIM from core's `CONTEXT_NOTE_KIND`, Recipes Unit
5
+ * A). `governs`/`title` are stamped from the locally-defined `CONTEXT_NOTE_TYPE` above — the type
6
+ * this recipe governs, authored via the GENERIC path (`new "Context Note" <id>` + `doc read`/`doc
7
+ * update`/`doc write`; there is no bespoke note command or codec anymore). `description` is
8
+ * declared OPTIONAL (not required) because a `new "Context Note"` instance can legitimately carry
9
+ * an empty one, and a kind must not fail its own convention's producer. `sections` declares ONLY
10
+ * `Summary` — the one heading the recipe SCAFFOLDS on every `new "Context Note"` create — for the
11
+ * same producer-must-pass reason: a summary-only note is the most common legitimate shape, and
12
+ * declaring additional headings would make `status` flag every minimal note with
13
+ * KIND_SECTION_MISSING noise — alert fatigue on the primary path. The seed's BODY carries a worked
14
+ * multi-section/`fields.values` example for authors of OTHER kinds to copy.
15
+ */
16
+ export declare const CONTEXT_NOTE_KIND: KindConvention;
17
+ /**
18
+ * The seed's prose body (`conventions/context-note.md`) is deliberately doubled up as the
19
+ * IN-BUNDLE authoring reference for kind conventions: every produced bundle that applies this
20
+ * recipe (via `init`'s default, or an explicit `recipe add context-notes`) ships one worked
21
+ * example of the ONE correct shape, right where an agent discovering `conventions/` will find it —
22
+ * not just in a doc an agent may never read. Bodies are prose (the registry only parses
23
+ * frontmatter, per `parseConventionDoc`), so a fenced YAML example here is inert to the parser
24
+ * and purely illustrative. The source uses one explicit logical-field token so the recipe
25
+ * materializer (core's `materializeRecipeForEdition`, which owns the token's interpretation) can
26
+ * teach the physical workflow coordinate appropriate to the target OKF edition; `recipes.test.ts`
27
+ * pins that an installed body equals `CONTEXT_NOTE_SEED_BODY` and carries no token.
28
+ */
29
+ export declare const CONTEXT_NOTE_SEED_BODY_LOGICAL: string;
30
+ /** V0.1 materialization retained for tests and direct recipe-content consumers. */
31
+ export declare const CONTEXT_NOTE_SEED_BODY: string;
32
+ /** One-line description, shown by `recipes` and the command reference — the built-in `context-notes`
33
+ * recipe's `recipe.md` manifest `summary:`. */
34
+ export declare const CONTEXT_NOTES_SUMMARY = "Declares the built-in Context Note kind convention (title/timestamp required, 24h freshness horizon)";
35
+ /** The prose body of the built-in `context-notes` recipe's `recipe.md` manifest doc — NOT parsed by
36
+ * `parseRecipeFiles` (only the manifest's frontmatter is read), purely descriptive for a human or
37
+ * agent who reads the recipe folder directly (built-in or, via a future `eject`, on disk). */
38
+ export declare const RECIPE_DESC_BODY: string;
39
+ /**
40
+ * The `Task` kind convention — the first DOMAIN recipe on the pluggable-recipe foundation
41
+ * (Recipes Unit B was the plumbing; this is the first thing built on it). The built-in now carries
42
+ * agent-readable purpose and field guidance; recipe application remains expect-absent, so an
43
+ * existing hand-authored Task convention is preserved rather than upgraded in place. No `sections`
44
+ * — unlike Context Note, a Task instance is not scaffolded around a fixed body shape; its body is
45
+ * free-form task description, and declaring expected headings here would just be lint noise on
46
+ * the common one-line task.
47
+ */
48
+ export declare const TASK_KIND: KindConvention;
49
+ /**
50
+ * The seed's prose body (`conventions/task.md`) explains how the generic primitives compose into
51
+ * task tracking. Composed entirely from EXISTING lite primitives (link graph as DAG, CAS write as claim,
52
+ * `list --type`/`status` as query/lint) — no bespoke task engine, no new verb. The CLI's task-aware
53
+ * columns, claim, and runnable/blocked projections are a separate concern, not part of this recipe.
54
+ */
55
+ export declare const TASK_SEED_BODY: string;
56
+ /** One-line description, shown by `recipes` and the command reference — the built-in
57
+ * `work-tracking` recipe's `recipe.md` manifest `summary:`. */
58
+ export declare const WORK_TRACKING_SUMMARY = "Declares the built-in Task kind convention (title/progress_status required, workflow enum, 'depends on' link type, 30d freshness horizon)";
59
+ /** The prose body of the built-in `work-tracking` recipe's `recipe.md` manifest doc — NOT parsed
60
+ * by `parseRecipeFiles` (only the manifest's frontmatter is read), purely descriptive. */
61
+ export declare const WORK_TRACKING_DESC_BODY: string;
62
+ /**
63
+ * The `Roadmap` kind convention — the SPINE: a single top-level roadmap doc that `contains` the
64
+ * bundle's Roadmap Items via typed links. Frontmatter faithful to the board's hand-authored
65
+ * `conventions/roadmap` (no `path` — the spine is one doc, conventionally the bundle-root
66
+ * `roadmap`, not a scaffolded family; no freshness horizon; `title` is the only required field).
67
+ */
68
+ export declare const ROADMAP_KIND: KindConvention;
69
+ /** The `conventions/roadmap.md` prose body. */
70
+ export declare const ROADMAP_SEED_BODY: string;
71
+ /**
72
+ * The `Roadmap Item` kind convention — a durable line of work spanning multiple tasks.
73
+ * Frontmatter faithful to the board's hand-authored `conventions/roadmap-item`: scaffolded under
74
+ * `roadmap-items/`, `contains` its Tasks, `status` is the three-state item lifecycle (coarser than
75
+ * Task's five-state enum on purpose — an item's granular progress is the derived task rollup, not
76
+ * a stored field).
77
+ */
78
+ export declare const ROADMAP_ITEM_KIND: KindConvention;
79
+ /** The `conventions/roadmap-item.md` prose body. */
80
+ export declare const ROADMAP_ITEM_SEED_BODY: string;
81
+ /** One-line description, shown by `recipes` and the command reference — the built-in `roadmap`
82
+ * recipe's `recipe.md` manifest `summary:`. */
83
+ export declare const ROADMAP_SUMMARY = "Declares the Roadmap + Roadmap Item kind conventions (typed 'contains' links, roadmap \u2192 item \u2192 task; item progress_status enum queued/active/done) \u2014 work-tracking's companion";
84
+ /** The prose body of the built-in `roadmap` recipe's `recipe.md` manifest doc — NOT parsed by
85
+ * `parseRecipeFiles` (only the manifest's frontmatter is read), purely descriptive. Its "Pairing
86
+ * the Task kind" section is the RECORDED resolution of this unit's expects_inbound design
87
+ * question: recipes apply via expect-absent CAS and can never patch an EXISTING `conventions/task`
88
+ * doc, and `kind field` edits only `fields.{required,optional,values}` — so the Task-side
89
+ * `expects_inbound` pairing is a documented one-step opt-in (pull → edit → promote, the
90
+ * CLI's one sanctioned convention-schema edit route), not a silent recipe patch. The chain below
91
+ * is pinned by a test that literally executes it (recipes.test.ts). */
92
+ export declare const ROADMAP_DESC_BODY: string;
93
+ //# sourceMappingURL=content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/builtin-recipes/content.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAMzE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAmB/B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,8BAA8B,QA+ClC,CAAC;AAMV,mFAAmF;AACnF,eAAO,MAAM,sBAAsB,QAGlC,CAAC;AAEF;+CAC+C;AAC/C,eAAO,MAAM,qBAAqB,yGACsE,CAAC;AAEzG;;8FAE8F;AAC9F,eAAO,MAAM,gBAAgB,QAMI,CAAC;AAMlC;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,cAkCvB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,QAQe,CAAC;AAE3C;+DAC+D;AAC/D,eAAO,MAAM,qBAAqB,8IAC2G,CAAC;AAE9I;0FAC0F;AAC1F,eAAO,MAAM,uBAAuB,QAQb,CAAC;AAQxB;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,cAW1B,CAAC;AAEF,+CAA+C;AAC/C,eAAO,MAAM,iBAAiB,QAMgB,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAiB/B,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,sBAAsB,QAOmB,CAAC;AAEvD;+CAC+C;AAC/C,eAAO,MAAM,eAAe,kMACsJ,CAAC;AAEnL;;;;;;;uEAOuE;AACvE,eAAO,MAAM,iBAAiB,QAyBd,CAAC"}
@@ -0,0 +1,288 @@
1
+ /** Optional shipped recipe content; generic bundle creation never imports this module. */
2
+ import { PROGRESS_STATUS_FIELD } from "../kinds.js";
3
+ import { RECIPE_PROGRESS_STATUS_TOKEN } from "../recipes.js";
4
+ /** The recipe defines the type it governs; generic engine operations do not special-case it. */
5
+ const CONTEXT_NOTE_TYPE = "Context Note";
6
+ /**
7
+ * The `Context Note` kind convention (moved VERBATIM from core's `CONTEXT_NOTE_KIND`, Recipes Unit
8
+ * A). `governs`/`title` are stamped from the locally-defined `CONTEXT_NOTE_TYPE` above — the type
9
+ * this recipe governs, authored via the GENERIC path (`new "Context Note" <id>` + `doc read`/`doc
10
+ * update`/`doc write`; there is no bespoke note command or codec anymore). `description` is
11
+ * declared OPTIONAL (not required) because a `new "Context Note"` instance can legitimately carry
12
+ * an empty one, and a kind must not fail its own convention's producer. `sections` declares ONLY
13
+ * `Summary` — the one heading the recipe SCAFFOLDS on every `new "Context Note"` create — for the
14
+ * same producer-must-pass reason: a summary-only note is the most common legitimate shape, and
15
+ * declaring additional headings would make `status` flag every minimal note with
16
+ * KIND_SECTION_MISSING noise — alert fatigue on the primary path. The seed's BODY carries a worked
17
+ * multi-section/`fields.values` example for authors of OTHER kinds to copy.
18
+ */
19
+ export const CONTEXT_NOTE_KIND = {
20
+ id: "conventions/context-note",
21
+ title: CONTEXT_NOTE_TYPE,
22
+ governs: CONTEXT_NOTE_TYPE,
23
+ path: "context-notes/",
24
+ fields: {
25
+ required: ["title", "timestamp"],
26
+ optional: ["description", "tags"],
27
+ values: {},
28
+ valueDescriptions: {},
29
+ terminal: {},
30
+ descriptions: {},
31
+ },
32
+ sections: ["Summary"],
33
+ freshnessHorizon: "24h",
34
+ // Context Notes are transient cross-session scratch — collapse them by default in browse listings
35
+ // so they never swamp durable knowledge (designs/document-discovery Decision 1). Per-bundle
36
+ // overridable by dropping the key; every other kind stays expanded.
37
+ browseCollapsed: true,
38
+ };
39
+ /**
40
+ * The seed's prose body (`conventions/context-note.md`) is deliberately doubled up as the
41
+ * IN-BUNDLE authoring reference for kind conventions: every produced bundle that applies this
42
+ * recipe (via `init`'s default, or an explicit `recipe add context-notes`) ships one worked
43
+ * example of the ONE correct shape, right where an agent discovering `conventions/` will find it —
44
+ * not just in a doc an agent may never read. Bodies are prose (the registry only parses
45
+ * frontmatter, per `parseConventionDoc`), so a fenced YAML example here is inert to the parser
46
+ * and purely illustrative. The source uses one explicit logical-field token so the recipe
47
+ * materializer (core's `materializeRecipeForEdition`, which owns the token's interpretation) can
48
+ * teach the physical workflow coordinate appropriate to the target OKF edition; `recipes.test.ts`
49
+ * pins that an installed body equals `CONTEXT_NOTE_SEED_BODY` and carries no token.
50
+ */
51
+ export const CONTEXT_NOTE_SEED_BODY_LOGICAL = "# Context Note\n\n" +
52
+ "An agent's cross-session orientation note: what happened, what was decided, and what's " +
53
+ "still open. Create one with `new \"Context Note\" <id>` (scaffolds the `# Summary` section " +
54
+ "under `context-notes/`), read it with `doc read`, and edit it with `doc update` / `doc " +
55
+ "write`. This recipe retains `timestamp` as an explicit compatibility field and uses the " +
56
+ "Superbee-specific `freshness_horizon` Kind extension so `superbee status` can surface notes " +
57
+ "older than 24h. In an OKF v0.2 bundle, `generated.at` remains the standard meaningful-change " +
58
+ "clock when provenance is present.\n\n" +
59
+ "## Declaring a kind convention\n\n" +
60
+ "A kind convention is a plain OKF doc (`type: Convention`) living under `conventions/`. Its " +
61
+ "FRONTMATTER is the only part core parses (this prose is not). Supported frontmatter keys:\n\n" +
62
+ "- `governs` (required, non-empty) — the `type` value this convention governs.\n" +
63
+ "- `title` (optional) — display title; defaults to `governs`.\n" +
64
+ "- `description` (optional) — the kind's purpose and intended use.\n" +
65
+ "- `path` (optional) — canonical bundle-relative path prefix instances are scaffolded under " +
66
+ "(e.g. `roadmap/`).\n" +
67
+ "- `fields.required` — list of field names an instance MUST carry (non-empty).\n" +
68
+ "- `fields.optional` — list of field names an instance MAY carry.\n" +
69
+ "- `fields.descriptions` — a MAP of `field name -> human guidance` for declared fields.\n" +
70
+ "- `fields.values` — a MAP of `field name -> list of allowed values`. This is the ONLY place " +
71
+ "an enum constraint goes — never a top-level `enum:`/`enums:`/`values:`/`constraints:` key, " +
72
+ "and never a field named directly at the top level either.\n" +
73
+ "- `sections` — list of expected level-1 (`# Heading`) body-section names. Declare only the " +
74
+ "headings EVERY instance must carry (this Context Note kind declares just `Summary`, the one " +
75
+ "section `new \"Context Note\"` scaffolds and every instance carries).\n" +
76
+ "- `freshness_horizon` — a Superbee Kind extension using `<n>(m|h|d)`, e.g. `24h`, `30d`, `15m`.\n\n" +
77
+ "Worked example (a `Roadmap Item` kind, with an enum-restricted field and expected sections):\n\n" +
78
+ "```yaml\n" +
79
+ "---\n" +
80
+ "type: Convention\n" +
81
+ "title: Roadmap Item\n" +
82
+ "governs: Roadmap Item\n" +
83
+ "description: A durable line of work that groups related tasks.\n" +
84
+ "path: roadmap/\n" +
85
+ "fields:\n" +
86
+ ` required: [title, ${RECIPE_PROGRESS_STATUS_TOKEN}]\n` +
87
+ " optional: [horizon]\n" +
88
+ " values:\n" +
89
+ ` ${RECIPE_PROGRESS_STATUS_TOKEN}: [planned, active, done]\n` +
90
+ " descriptions:\n" +
91
+ " title: A concise summary of the outcome.\n" +
92
+ ` ${RECIPE_PROGRESS_STATUS_TOKEN}: The roadmap item's current workflow progress.\n` +
93
+ " horizon: The expected delivery window.\n" +
94
+ "sections: [Why, \"Done when\"]\n" +
95
+ "freshness_horizon: 30d\n" +
96
+ "---\n" +
97
+ "```\n";
98
+ function materializeRecipeBody(body, storageField) {
99
+ return body.replaceAll(RECIPE_PROGRESS_STATUS_TOKEN, storageField);
100
+ }
101
+ /** V0.1 materialization retained for tests and direct recipe-content consumers. */
102
+ export const CONTEXT_NOTE_SEED_BODY = materializeRecipeBody(CONTEXT_NOTE_SEED_BODY_LOGICAL, "status");
103
+ /** One-line description, shown by `recipes` and the command reference — the built-in `context-notes`
104
+ * recipe's `recipe.md` manifest `summary:`. */
105
+ export const CONTEXT_NOTES_SUMMARY = "Declares the built-in Context Note kind convention (title/timestamp required, 24h freshness horizon)";
106
+ /** The prose body of the built-in `context-notes` recipe's `recipe.md` manifest doc — NOT parsed by
107
+ * `parseRecipeFiles` (only the manifest's frontmatter is read), purely descriptive for a human or
108
+ * agent who reads the recipe folder directly (built-in or, via a future `eject`, on disk). */
109
+ export const RECIPE_DESC_BODY = "# Context Notes\n\n" +
110
+ "Installs the `Context Note` kind convention: a lightweight cross-session orientation note — " +
111
+ "what happened, what was decided, what's still open. Declares the `Context Note` type's " +
112
+ "required fields, the `# Summary` scaffold section, and a 24h freshness horizon.\n\n" +
113
+ "Applied by default on `init` (opt out with `init --recipe none`), or on demand with " +
114
+ "`recipe add context-notes`.\n";
115
+ /** The `type` value the work-tracking recipe governs — mirrors `CONTEXT_NOTE_TYPE`'s pattern (a
116
+ * recipe is exactly the thing that DEFINES the type it governs). */
117
+ const TASK_TYPE = "Task";
118
+ /**
119
+ * The `Task` kind convention — the first DOMAIN recipe on the pluggable-recipe foundation
120
+ * (Recipes Unit B was the plumbing; this is the first thing built on it). The built-in now carries
121
+ * agent-readable purpose and field guidance; recipe application remains expect-absent, so an
122
+ * existing hand-authored Task convention is preserved rather than upgraded in place. No `sections`
123
+ * — unlike Context Note, a Task instance is not scaffolded around a fixed body shape; its body is
124
+ * free-form task description, and declaring expected headings here would just be lint noise on
125
+ * the common one-line task.
126
+ */
127
+ export const TASK_KIND = {
128
+ id: "conventions/task",
129
+ title: TASK_TYPE,
130
+ governs: TASK_TYPE,
131
+ description: "A concrete unit of work that can be claimed, prioritized, assigned, and completed.",
132
+ path: "tasks/",
133
+ // The typed-edge vocabulary (decisions/typed-links-carrier): a task's dependency edge is a
134
+ // link whose display text is exactly "depends on", targeting another Task. Declared here so
135
+ // `kinds` teaches the vocabulary to any agent that orients — discovery shipped; validation
136
+ // is a future consumer.
137
+ links: { "depends on": TASK_TYPE },
138
+ // The claim coordinates (research/atomic-shared-task-claim-design): declaring them is what
139
+ // lets sync's converge report a lost claim as ownership and withdraw the re-apply route,
140
+ // instead of presenting the race as an ordinary content conflict. Logical names; the
141
+ // edition's coordinate policy resolves them onto storage keys.
142
+ claim: { ownerField: "assignee", stateField: "progress_status" },
143
+ fields: {
144
+ required: ["title", PROGRESS_STATUS_FIELD],
145
+ optional: ["priority", "assignee", "description"],
146
+ values: { [PROGRESS_STATUS_FIELD]: ["todo", "in_progress", "blocked", "done", "canceled"] },
147
+ valueDescriptions: {},
148
+ // The terminal declaration (tasks/status-terminal-declaration.md): done/canceled are the
149
+ // states past which a Task is no longer open — machinery (list --open, the status sweep's
150
+ // exclusion + sort) ships together with the declaration for every new bundle.
151
+ terminal: { [PROGRESS_STATUS_FIELD]: ["done", "canceled"] },
152
+ descriptions: {
153
+ title: "A concise human-readable summary of the work.",
154
+ [PROGRESS_STATUS_FIELD]: "The task's current workflow state.",
155
+ priority: "Relative urgency used to order the work; follow the bundle's adopted priority scale.",
156
+ assignee: "The person or agent currently responsible for the task.",
157
+ description: "The task's scope, context, acceptance criteria, and other working details.",
158
+ },
159
+ },
160
+ freshnessHorizon: "30d",
161
+ };
162
+ /**
163
+ * The seed's prose body (`conventions/task.md`) explains how the generic primitives compose into
164
+ * task tracking. Composed entirely from EXISTING lite primitives (link graph as DAG, CAS write as claim,
165
+ * `list --type`/`status` as query/lint) — no bespoke task engine, no new verb. The CLI's task-aware
166
+ * columns, claim, and runnable/blocked projections are a separate concern, not part of this recipe.
167
+ */
168
+ export const TASK_SEED_BODY = "# Task\n\n" +
169
+ "A unit of work, composed entirely from lite primitives — no bespoke task engine.\n" +
170
+ "A task is a `type: Task` doc; its logical `progress_status` is a validated enum; its DEPENDENCIES are\n" +
171
+ "typed `depends on` cross-links to prerequisite task docs (the declared link type —\n" +
172
+ "the link graph IS the DAG, and `link show <id> --text \"depends on\"` shows both\n" +
173
+ "directions); an atomic CLAIM is a compare-and-swap write flipping `progress_status` to\n" +
174
+ "`in_progress` (a second claimer gets a VersionConflict). Query with `list --type Task`;\n" +
175
+ "lint/orphans/staleness via `status`.\n";
176
+ /** One-line description, shown by `recipes` and the command reference — the built-in
177
+ * `work-tracking` recipe's `recipe.md` manifest `summary:`. */
178
+ export const WORK_TRACKING_SUMMARY = "Declares the built-in Task kind convention (title/progress_status required, workflow enum, 'depends on' link type, 30d freshness horizon)";
179
+ /** The prose body of the built-in `work-tracking` recipe's `recipe.md` manifest doc — NOT parsed
180
+ * by `parseRecipeFiles` (only the manifest's frontmatter is read), purely descriptive. */
181
+ export const WORK_TRACKING_DESC_BODY = "# Work Tracking\n\n" +
182
+ "Installs the `Task` kind convention: a unit of work with a validated logical `progress_status` enum " +
183
+ "(todo/in_progress/blocked/done/canceled), scaffolded under `tasks/`. Status/priority/assignee " +
184
+ "are FIELDS of Task, not separate conventions or a bespoke task verb — dependencies, claiming, " +
185
+ "and querying all compose from existing generic primitives (`link add`, CAS `doc update`, " +
186
+ "`list --type Task`, `status`).\n\n" +
187
+ "Applied on demand with `recipe add work-tracking` (not part of `init`'s default — that stays " +
188
+ "`context-notes`).\n";
189
+ /** The `type` values the roadmap recipe governs — extracted from the project's own board (the
190
+ * hand-authored `conventions/roadmap` + `conventions/roadmap-item` docs), the same
191
+ * dogfood-then-package path work-tracking took. */
192
+ const ROADMAP_TYPE = "Roadmap";
193
+ const ROADMAP_ITEM_TYPE = "Roadmap Item";
194
+ /**
195
+ * The `Roadmap` kind convention — the SPINE: a single top-level roadmap doc that `contains` the
196
+ * bundle's Roadmap Items via typed links. Frontmatter faithful to the board's hand-authored
197
+ * `conventions/roadmap` (no `path` — the spine is one doc, conventionally the bundle-root
198
+ * `roadmap`, not a scaffolded family; no freshness horizon; `title` is the only required field).
199
+ */
200
+ export const ROADMAP_KIND = {
201
+ id: "conventions/roadmap",
202
+ title: ROADMAP_TYPE,
203
+ governs: ROADMAP_TYPE,
204
+ // The typed-edge vocabulary: the spine's ownership edge is a link whose display text is exactly
205
+ // "contains", targeting a Roadmap Item — declared so `kinds` teaches it and `link add`'s graph
206
+ // lint validates it.
207
+ links: { contains: ROADMAP_ITEM_TYPE },
208
+ // No status field on the spine, so nothing to declare terminal (Brian's ruling on the
209
+ // task board's `tasks/status-terminal-declaration.md`).
210
+ fields: { required: ["title"], optional: [], values: {}, valueDescriptions: {}, terminal: {}, descriptions: {} },
211
+ };
212
+ /** The `conventions/roadmap.md` prose body. */
213
+ export const ROADMAP_SEED_BODY = "# Roadmap\n\n" +
214
+ "The spine document: a single top-level roadmap doc that CONTAINS the bundle's Roadmap\n" +
215
+ "Items via typed links carrying the text `contains` (`link add <roadmap> <item> --text\n" +
216
+ "contains`), making the whole roadmap → item → task chain one filtered query per hop\n" +
217
+ "(`link show <id> --text contains`). Progress is DERIVED, never stored: list the\n" +
218
+ "contained items and read their statuses.\n";
219
+ /**
220
+ * The `Roadmap Item` kind convention — a durable line of work spanning multiple tasks.
221
+ * Frontmatter faithful to the board's hand-authored `conventions/roadmap-item`: scaffolded under
222
+ * `roadmap-items/`, `contains` its Tasks, `status` is the three-state item lifecycle (coarser than
223
+ * Task's five-state enum on purpose — an item's granular progress is the derived task rollup, not
224
+ * a stored field).
225
+ */
226
+ export const ROADMAP_ITEM_KIND = {
227
+ id: "conventions/roadmap-item",
228
+ title: ROADMAP_ITEM_TYPE,
229
+ governs: ROADMAP_ITEM_TYPE,
230
+ path: "roadmap-items/",
231
+ links: { contains: "Task" },
232
+ linkDescriptions: { contains: "Tasks whose delivery is governed by this roadmap commitment." },
233
+ fields: {
234
+ required: ["title", PROGRESS_STATUS_FIELD],
235
+ optional: ["description", "sequence"],
236
+ values: { [PROGRESS_STATUS_FIELD]: ["queued", "active", "done"] },
237
+ valueDescriptions: {},
238
+ // Brian's ruling (task board `tasks/status-terminal-declaration.md`): a done Roadmap Item
239
+ // hides from `list --open`, consistent with Task's done/canceled.
240
+ terminal: { [PROGRESS_STATUS_FIELD]: ["done"] },
241
+ descriptions: {},
242
+ },
243
+ };
244
+ /** The `conventions/roadmap-item.md` prose body. */
245
+ export const ROADMAP_ITEM_SEED_BODY = "# Roadmap Item\n\n" +
246
+ "A durable line of work spanning multiple tasks — the granular form of the single\n" +
247
+ "roadmap spine doc. An item CONTAINS its tasks via links carrying the text `contains`;\n" +
248
+ "backlinks from a task answer \"which item owns this\". An item's progress is DERIVED,\n" +
249
+ "never stored: list its contained tasks and read their workflow states (the rollup). `progress_status`\n" +
250
+ "tracks the item itself: `queued` (not started) → `active` (any contained task moving)\n" +
251
+ "→ `done` (all contained tasks done or canceled).\n";
252
+ /** One-line description, shown by `recipes` and the command reference — the built-in `roadmap`
253
+ * recipe's `recipe.md` manifest `summary:`. */
254
+ export const ROADMAP_SUMMARY = "Declares the Roadmap + Roadmap Item kind conventions (typed 'contains' links, roadmap → item → task; item progress_status enum queued/active/done) — work-tracking's companion";
255
+ /** The prose body of the built-in `roadmap` recipe's `recipe.md` manifest doc — NOT parsed by
256
+ * `parseRecipeFiles` (only the manifest's frontmatter is read), purely descriptive. Its "Pairing
257
+ * the Task kind" section is the RECORDED resolution of this unit's expects_inbound design
258
+ * question: recipes apply via expect-absent CAS and can never patch an EXISTING `conventions/task`
259
+ * doc, and `kind field` edits only `fields.{required,optional,values}` — so the Task-side
260
+ * `expects_inbound` pairing is a documented one-step opt-in (pull → edit → promote, the
261
+ * CLI's one sanctioned convention-schema edit route), not a silent recipe patch. The chain below
262
+ * is pinned by a test that literally executes it (recipes.test.ts). */
263
+ export const ROADMAP_DESC_BODY = "# Roadmap\n\n" +
264
+ "Installs the `Roadmap` and `Roadmap Item` kind conventions: roadmap-items-as-docs. A single\n" +
265
+ "`Roadmap` spine doc CONTAINS `Roadmap Item` docs; each item CONTAINS its `Task` docs — all\n" +
266
+ "via typed links carrying the text `contains`, so the whole roadmap → item → task chain is\n" +
267
+ "one filtered query per hop (`link show <id> --text contains`). An item's progress is derived\n" +
268
+ "from its contained tasks' statuses, never stored.\n\n" +
269
+ "Applied on demand with `recipe add roadmap` (not part of `init`'s default — that stays\n" +
270
+ "`context-notes`). Composes with the `work-tracking` recipe (the `Task` kind this recipe's\n" +
271
+ "`contains` vocabulary points at) — apply both for the full chain.\n\n" +
272
+ "## Pairing the Task kind (opt-in, one documented step)\n\n" +
273
+ "The graph lint that answers \"which tasks have no owning Roadmap Item\" reads\n" +
274
+ "`expects_inbound` on the TASK kind's convention (`status` then reports\n" +
275
+ "`missing_expected_links`). A recipe applies via expect-absent CAS and never touches a doc\n" +
276
+ "that already exists, so this recipe cannot patch your bundle's `conventions/task` — the\n" +
277
+ "pairing is a deliberate one-step opt-in on the adopting bundle:\n\n" +
278
+ "```\n" +
279
+ "superbee pull --doc-key conventions/task.md --out task.md\n" +
280
+ "# edit task.md — add to the frontmatter:\n" +
281
+ "# expects_inbound:\n" +
282
+ "# contains: Roadmap Item\n" +
283
+ "superbee promote task.md --doc-key conventions/task.md --expected-version <version from the pull receipt>\n" +
284
+ "```\n\n" +
285
+ "Without this step everything else still works (the `contains` vocabulary and its link-type\n" +
286
+ "validation come from THIS recipe's conventions); only the \"task lacks an owning item\" lint\n" +
287
+ "stays off.\n";
288
+ //# sourceMappingURL=content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/builtin-recipes/content.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,OAAO,EAAE,qBAAqB,EAAuB,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAE7D,gGAAgG;AAChG,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEzC;;;;;;;;;;;;GA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;IAC9F,6FAA6F;IAC7F,gGAAgG;IAChG,uDAAuD;IACvD,0FAA0F;IAC1F,6FAA6F;IAC7F,uEAAuE;IACvE,4DAA4D;IAC5D,iFAAiF;IACjF,0EAA0E;IAC1E,6FAA6F;IAC7F,2FAA2F;IAC3F,qEAAqE;IACrE,OAAO;IACP,6DAA6D;IAC7D,4CAA4C;IAC5C,wBAAwB;IACxB,gCAAgC;IAChC,6GAA6G;IAC7G,SAAS;IACT,8FAA8F;IAC9F,gGAAgG;IAChG,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { KindConvention } from "../kinds.js";
2
+ export declare const SITE_KIND: KindConvention;
3
+ export declare const SITE_CONVENTION_BODY = "# Site\n\nDescribe one private content site at sites/<site>, with the site label matching the hosting contract.\nThis convention helps author and inspect declarations. The portable Site validator owns the full\ngrammar and frozen-publication reference checks; editing this convention cannot relax that contract.\nReader grants, builder authorization and activation are separate hosting decisions.\n\nSee [Site authoring](../references/site-authoring.md) for a complete no-View declaration.\n";
4
+ export declare const SITE_AUTHORING_BODY = "# Site authoring\n\nIn a local or Git bundle, install this recipe with `superbee recipe add site`.\nIt installs a convention and this reference, not a Site instance, builder, reader grant or running\nsite. Writing or syncing a declaration is\nnot, by itself, proof that a builder published it or that a recipient can read it.\n\nHosted checkouts do not install this recipe: the Site Kind is reserved by the platform, and\ncheckout recipes do not install References. A Hosted author instead writes a complete Site\ndocument and syncs it, without installing a Kind. The host requires current model-write permission;\nrecipe installation is not a prerequisite or permission grant.\n\nAuthor a complete document at `sites/<site>.md`, using the site's label and one exact presentation\nversion. For example, a declaration at `sites/example.md` can contain:\n\n```yaml\n---\ntype: Site\ntitle: Example briefing\npresentation: \"@superbee/portal-document@0.1.1\"\naudience: restricted\nviews: []\ncapabilities: []\noptions: {}\n---\n```\n\nFor Hosted, write this complete YAML to the canonical checkout file, then run `superbee sync`.\nAlternatively use `superbee promote <file.md> --doc-key sites/<site>.md` in the selected checkout,\nthen sync. A new promote is create-only; for updates use the observed expected-version token or\nedit the tracked checkout file through its existing sync conflict flow. Pull/promote also preserves\nstructured YAML. `doc import` transfers between local/Git bundles and refuses Hosted targets.\nDo not pass `[]` as a string-list CLI flag: that is a string item, not an empty list.\nThe convention leaves views optional because generic Kind-required arrays must be nonempty;\nthe trusted Site validator still requires an explicit list, including `views: []` for no Views.\n\n`superbee/publication/site-manifest` exposes the shared declaration validator and the frozen\npublication reference validator. A declaration requires one Site at `sites/<site>`, an exact\npackage version or repository presentation reference, and the restricted audience. Views, the\noptional landing document and optional brand blobs must resolve in that publication. The selected\npresentation validates its own options; declaring a package does not install or execute it.\n\nDo not put credentials, reader lists, origins or builder settings in the declaration. Hosted\nmodel-write permissions, trusted builder admission, grants, entitlements and release checks remain\nauthoritative. Local creation never registers an app or grants publication or recipient access.\n";
5
+ //# sourceMappingURL=site.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../src/builtin-recipes/site.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,eAAO,MAAM,SAAS,EAAE,cAyBvB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gfAQhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,8gFA6C/B,CAAC"}
@@ -0,0 +1,83 @@
1
+ import { SITE_TYPE, SITES_PREFIX } from "../site-manifest.js";
2
+ export const SITE_KIND = {
3
+ id: "conventions/site",
4
+ title: SITE_TYPE,
5
+ governs: SITE_TYPE,
6
+ description: "A private content site's presentation and publication inputs, without reader grants or builder authority.",
7
+ path: SITES_PREFIX,
8
+ fields: {
9
+ required: ["title", "presentation", "audience"],
10
+ // Kind-required arrays must be nonempty; the trusted Site grammar also admits views: [].
11
+ optional: ["description", "landing", "views", "capabilities", "options", "brand"],
12
+ values: { audience: ["restricted"] },
13
+ terminal: {},
14
+ types: { views: "string-list", capabilities: "string-list" },
15
+ descriptions: {
16
+ title: "The site's display title.",
17
+ description: "A short description for the presentation.",
18
+ presentation: "An exact package version (name@version) or repo:owner/name; declaration does not admit code execution.",
19
+ audience: "Restricted to the readers admitted by the hosting authority; this is not a reader list.",
20
+ landing: "A canonical document or registered View id in this publication.",
21
+ views: "Registered View ids. Complete Site YAML must explicitly provide views: [] when there are no Views.",
22
+ capabilities: "Product capability names; hosting separately checks support, entitlements and reader permission.",
23
+ options: "A JSON object validated by the selected presentation; author structured values in complete YAML.",
24
+ brand: "Optional logo and font blob references in the publication; author structured values in complete YAML.",
25
+ },
26
+ },
27
+ };
28
+ export const SITE_CONVENTION_BODY = `# Site
29
+
30
+ Describe one private content site at sites/<site>, with the site label matching the hosting contract.
31
+ This convention helps author and inspect declarations. The portable Site validator owns the full
32
+ grammar and frozen-publication reference checks; editing this convention cannot relax that contract.
33
+ Reader grants, builder authorization and activation are separate hosting decisions.
34
+
35
+ See [Site authoring](../references/site-authoring.md) for a complete no-View declaration.
36
+ `;
37
+ export const SITE_AUTHORING_BODY = `# Site authoring
38
+
39
+ In a local or Git bundle, install this recipe with \`superbee recipe add site\`.
40
+ It installs a convention and this reference, not a Site instance, builder, reader grant or running
41
+ site. Writing or syncing a declaration is
42
+ not, by itself, proof that a builder published it or that a recipient can read it.
43
+
44
+ Hosted checkouts do not install this recipe: the Site Kind is reserved by the platform, and
45
+ checkout recipes do not install References. A Hosted author instead writes a complete Site
46
+ document and syncs it, without installing a Kind. The host requires current model-write permission;
47
+ recipe installation is not a prerequisite or permission grant.
48
+
49
+ Author a complete document at \`sites/<site>.md\`, using the site's label and one exact presentation
50
+ version. For example, a declaration at \`sites/example.md\` can contain:
51
+
52
+ \`\`\`yaml
53
+ ---
54
+ type: Site
55
+ title: Example briefing
56
+ presentation: "@superbee/portal-document@0.1.1"
57
+ audience: restricted
58
+ views: []
59
+ capabilities: []
60
+ options: {}
61
+ ---
62
+ \`\`\`
63
+
64
+ For Hosted, write this complete YAML to the canonical checkout file, then run \`superbee sync\`.
65
+ Alternatively use \`superbee promote <file.md> --doc-key sites/<site>.md\` in the selected checkout,
66
+ then sync. A new promote is create-only; for updates use the observed expected-version token or
67
+ edit the tracked checkout file through its existing sync conflict flow. Pull/promote also preserves
68
+ structured YAML. \`doc import\` transfers between local/Git bundles and refuses Hosted targets.
69
+ Do not pass \`[]\` as a string-list CLI flag: that is a string item, not an empty list.
70
+ The convention leaves views optional because generic Kind-required arrays must be nonempty;
71
+ the trusted Site validator still requires an explicit list, including \`views: []\` for no Views.
72
+
73
+ \`superbee/publication/site-manifest\` exposes the shared declaration validator and the frozen
74
+ publication reference validator. A declaration requires one Site at \`sites/<site>\`, an exact
75
+ package version or repository presentation reference, and the restricted audience. Views, the
76
+ optional landing document and optional brand blobs must resolve in that publication. The selected
77
+ presentation validates its own options; declaring a package does not install or execute it.
78
+
79
+ Do not put credentials, reader lists, origins or builder settings in the declaration. Hosted
80
+ model-write permissions, trusted builder admission, grants, entitlements and release checks remain
81
+ authoritative. Local creation never registers an app or grants publication or recipient access.
82
+ `;
83
+ //# sourceMappingURL=site.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site.js","sourceRoot":"","sources":["../../src/builtin-recipes/site.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,CAAC,MAAM,SAAS,GAAmB;IACvC,EAAE,EAAE,kBAAkB;IACtB,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,2GAA2G;IACxH,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE;QACN,QAAQ,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,UAAU,CAAC;QAC/C,yFAAyF;QACzF,QAAQ,EAAE,CAAC,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC;QACjF,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;QACpC,QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE;QAC5D,YAAY,EAAE;YACZ,KAAK,EAAE,2BAA2B;YAClC,WAAW,EAAE,2CAA2C;YACxD,YAAY,EAAE,wGAAwG;YACtH,QAAQ,EAAE,yFAAyF;YACnG,OAAO,EAAE,iEAAiE;YAC1E,KAAK,EAAE,oGAAoG;YAC3G,YAAY,EAAE,kGAAkG;YAChH,OAAO,EAAE,kGAAkG;YAC3G,KAAK,EAAE,uGAAuG;SAC/G;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;CAQnC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ClC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { parseRecipeFiles, type LoadedRecipe, type RecipeFile } from "./recipes.js";
2
+ import type { RecipeSource } from "./recipe-sources.js";
3
+ export declare function builtinNames(): string[];
4
+ /** Resolve a built-in name only. Acquisition and filesystem routing belong to the caller. */
5
+ export declare function loadBuiltinRecipe(name: string): ReturnType<typeof parseRecipeFiles> | null;
6
+ /** The built-in catalog as a `RecipeSource`: it addresses built-in names and nothing else. */
7
+ export declare function builtinRecipeSource(): RecipeSource;
8
+ /** Detached source bytes, for consumers that need a recipe package rather than its parsed form. */
9
+ export declare function builtinRecipeFiles(name: string): RecipeFile[] | undefined;
10
+ /** Synchronous builtin resolution for render-path consumers (offers) that must stay pure. */
11
+ export declare function resolveBuiltinSync(name: string): LoadedRecipe;
12
+ export { CONTEXT_NOTE_KIND, CONTEXT_NOTE_SEED_BODY_LOGICAL, CONTEXT_NOTE_SEED_BODY, CONTEXT_NOTES_SUMMARY, RECIPE_DESC_BODY, TASK_KIND, TASK_SEED_BODY, WORK_TRACKING_SUMMARY, WORK_TRACKING_DESC_BODY, ROADMAP_KIND, ROADMAP_SEED_BODY, ROADMAP_ITEM_KIND, ROADMAP_ITEM_SEED_BODY, ROADMAP_SUMMARY, ROADMAP_DESC_BODY } from "./builtin-recipes/content.js";
13
+ //# sourceMappingURL=builtin-recipes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builtin-recipes.d.ts","sourceRoot":"","sources":["../src/builtin-recipes.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AA4HxD,wBAAgB,YAAY,IAAI,MAAM,EAAE,CAEvC;AAED,6FAA6F;AAC7F,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,GAAG,IAAI,CAK1F;AAED,8FAA8F;AAC9F,wBAAgB,mBAAmB,IAAI,YAAY,CAElD;AAED,mGAAmG;AACnG,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,EAAE,GAAG,SAAS,CAEzE;AAED,6FAA6F;AAC7F,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAM7D;AAED,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EAClB,MAAM,8BAA8B,CAAC"}