@awebai/oats 0.29.4 → 0.30.1

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 (263) hide show
  1. package/README.md +12 -6
  2. package/bin/oats.mjs +194 -50
  3. package/docs/capabilities.md +160 -171
  4. package/docs/capability-manifest.schema.json +6 -11
  5. package/docs/configuration.md +213 -64
  6. package/docs/design/2026-09-16-knowledge-capability-contract.md +36 -50
  7. package/docs/design/2026-09-23-workspace-module-contracts.md +377 -544
  8. package/docs/design/2026-09-26-okf-knowledge-operations.md +132 -357
  9. package/docs/design/2026-09-27-team-model-v2.md +97 -117
  10. package/docs/design/2026-09-28-automations-trust.md +38 -0
  11. package/docs/design/2026-09-28-soul-launch-preference.md +63 -0
  12. package/docs/design/HISTORY.md +65 -0
  13. package/docs/design/README.md +23 -54
  14. package/docs/desktop-cli-api.md +1787 -1777
  15. package/docs/desktop.md +30 -91
  16. package/docs/execution-targets.md +146 -292
  17. package/docs/first-team.md +31 -17
  18. package/docs/implementation.md +77 -288
  19. package/docs/integrations.md +118 -320
  20. package/docs/knowledge-capability-authoring.md +25 -52
  21. package/docs/knowledge-reference/acceptance.md +3 -3
  22. package/docs/knowledge-reference/adoption.md +1 -1
  23. package/docs/knowledge-reference/harvester.md +2 -2
  24. package/docs/knowledge-reference/package-craft.md +3 -3
  25. package/docs/knowledge-reference/provider-mapping.md +3 -6
  26. package/docs/knowledge-reference/reader-capture.md +3 -3
  27. package/docs/knowledge-theory.md +62 -166
  28. package/docs/knowledge.md +225 -404
  29. package/docs/layers.md +42 -97
  30. package/docs/oats-local.schema.json +58 -5
  31. package/docs/oats-membership.schema.json +1 -8
  32. package/docs/oats-package.schema.json +5 -5
  33. package/docs/oats-workspace.schema.json +8 -22
  34. package/docs/official-catalog.md +25 -28
  35. package/docs/packages.md +45 -63
  36. package/docs/plans/0.30-close-out.md +83 -0
  37. package/docs/release-lane.md +82 -0
  38. package/docs/release-notes/oats-framework-v1.1.3.md +10 -8
  39. package/docs/release-notes/v0.19.0.md +48 -147
  40. package/docs/release-notes/v0.19.1.md +2 -3
  41. package/docs/release-notes/v0.19.3.md +2 -15
  42. package/docs/release-notes/v0.20.0.md +0 -15
  43. package/docs/release-notes/v0.22.0.md +71 -138
  44. package/docs/release-notes/v0.22.1.md +42 -90
  45. package/docs/release-notes/v0.22.10.md +1 -1
  46. package/docs/release-notes/v0.22.11.md +1 -47
  47. package/docs/release-notes/v0.22.12.md +4 -13
  48. package/docs/release-notes/v0.22.13.md +1 -42
  49. package/docs/release-notes/v0.22.14.md +3 -11
  50. package/docs/release-notes/v0.22.15.md +1 -46
  51. package/docs/release-notes/v0.22.16.md +6 -8
  52. package/docs/release-notes/v0.22.18.md +1 -99
  53. package/docs/release-notes/v0.22.19.md +3 -14
  54. package/docs/release-notes/v0.22.2.md +6 -15
  55. package/docs/release-notes/v0.22.3.md +0 -1
  56. package/docs/release-notes/v0.22.4.md +1 -14
  57. package/docs/release-notes/v0.22.5.md +2 -12
  58. package/docs/release-notes/v0.22.6.md +0 -3
  59. package/docs/release-notes/v0.23.0.md +9 -25
  60. package/docs/release-notes/v0.23.1.md +9 -25
  61. package/docs/release-notes/v0.23.2.md +2 -4
  62. package/docs/release-notes/v0.24.0.md +56 -97
  63. package/docs/release-notes/v0.24.1.md +7 -11
  64. package/docs/release-notes/v0.24.10.md +34 -45
  65. package/docs/release-notes/v0.24.11.md +12 -20
  66. package/docs/release-notes/v0.24.12.md +35 -48
  67. package/docs/release-notes/v0.24.13.md +34 -41
  68. package/docs/release-notes/v0.24.2.md +9 -13
  69. package/docs/release-notes/v0.24.3.md +7 -11
  70. package/docs/release-notes/v0.24.4.md +6 -6
  71. package/docs/release-notes/v0.24.5.md +6 -10
  72. package/docs/release-notes/v0.24.6.md +2 -5
  73. package/docs/release-notes/v0.24.7.md +46 -75
  74. package/docs/release-notes/v0.24.8.md +58 -96
  75. package/docs/release-notes/v0.24.9.md +38 -54
  76. package/docs/release-notes/v0.25.0.md +59 -76
  77. package/docs/release-notes/v0.25.1.md +57 -81
  78. package/docs/release-notes/v0.25.2.md +51 -70
  79. package/docs/release-notes/v0.25.3.md +11 -13
  80. package/docs/release-notes/v0.25.4.md +9 -13
  81. package/docs/release-notes/v0.25.5.md +3 -5
  82. package/docs/release-notes/v0.25.6.md +20 -29
  83. package/docs/release-notes/v0.25.7.md +5 -7
  84. package/docs/release-notes/v0.25.8.md +26 -39
  85. package/docs/release-notes/v0.26.0.md +175 -646
  86. package/docs/release-notes/v0.27.0.md +4 -5
  87. package/docs/release-notes/v0.27.1.md +4 -6
  88. package/docs/release-notes/v0.27.2.md +1 -1
  89. package/docs/release-notes/v0.28.0.md +57 -124
  90. package/docs/release-notes/v0.29.0.md +89 -208
  91. package/docs/release-notes/v0.29.1.md +1 -1
  92. package/docs/release-notes/v0.29.2.md +3 -4
  93. package/docs/release-notes/v0.30.0.md +205 -0
  94. package/docs/release-notes/v0.30.1.md +123 -0
  95. package/docs/schedules.md +280 -363
  96. package/docs/servers.md +99 -117
  97. package/docs/soul.schema.json +2 -9
  98. package/docs/souls-and-instances.md +145 -158
  99. package/docs/workspaces.md +137 -215
  100. package/lib/automations.mjs +21 -6
  101. package/lib/core.mjs +226 -74
  102. package/lib/instance-events.mjs +1 -1
  103. package/lib/instance-inspect.mjs +109 -34
  104. package/lib/instance-lifecycle.mjs +14 -1
  105. package/lib/instance-resolution.mjs +26 -27
  106. package/lib/launch-preference.mjs +87 -0
  107. package/lib/materialize.mjs +3 -3
  108. package/lib/packages.mjs +1 -1
  109. package/lib/resolve.mjs +30 -88
  110. package/lib/schedule.mjs +1 -1
  111. package/lib/teams-verbs.mjs +195 -0
  112. package/lib/teams.mjs +190 -0
  113. package/lib/triggers.mjs +2 -2
  114. package/lib/workspace.mjs +54 -147
  115. package/package-catalog.json +10 -16
  116. package/package.json +1 -3
  117. package/skills/oats-getting-started/SKILL.md +25 -13
  118. package/capabilities/oats-authoring/LICENSE +0 -21
  119. package/capabilities/oats-authoring/oats-package.json +0 -11
  120. package/capabilities/oats-authoring/oats.json +0 -12
  121. package/capabilities/oats-authoring/skills/integration-authoring/SKILL.md +0 -84
  122. package/capabilities/oats-authoring/skills/skill-craft/SKILL.md +0 -109
  123. package/capabilities/oats-authoring/skills/soul-craft/SKILL.md +0 -116
  124. package/capabilities/oats-aweb/bin/oats-aweb-binding.mjs +0 -11
  125. package/capabilities/oats-aweb/bin/oats-aweb.mjs +0 -1338
  126. package/capabilities/oats-aweb/injects/aweb.md +0 -47
  127. package/capabilities/oats-aweb/lib/binding-wire.mjs +0 -356
  128. package/capabilities/oats-aweb/lib/captured-execution.mjs +0 -91
  129. package/capabilities/oats-aweb/lib/captured-native.mjs +0 -91
  130. package/capabilities/oats-aweb/lib/grant-custody.mjs +0 -38
  131. package/capabilities/oats-aweb/lib/invocation-shape.mjs +0 -135
  132. package/capabilities/oats-aweb/lib/portable-binding.mjs +0 -146
  133. package/capabilities/oats-aweb/lib/session-readiness.mjs +0 -56
  134. package/capabilities/oats-aweb/lib/wake-receive.mjs +0 -56
  135. package/capabilities/oats-aweb/oats.json +0 -208
  136. package/capabilities/oats-aweb/skills/LICENSE +0 -21
  137. package/capabilities/oats-aweb/skills/VENDORED.md +0 -31
  138. package/capabilities/oats-aweb/skills/aweb-identity/SKILL.md +0 -201
  139. package/capabilities/oats-aweb/skills/aweb-messaging/SKILL.md +0 -161
  140. package/capabilities/oats-aweb/skills/aweb-messaging/references/messaging-scenarios.md +0 -61
  141. package/capabilities/oats-aweb/skills/aweb-team-membership/SKILL.md +0 -116
  142. package/capabilities/oats-aweb/skills/aweb-team-membership/references/team-membership-reference.md +0 -74
  143. package/capabilities/oats-aweb/skills/oats-aweb/SKILL.md +0 -216
  144. package/capabilities/oats-jira/bin/oats-jira.mjs +0 -40
  145. package/capabilities/oats-jira/injects/jira.md +0 -10
  146. package/capabilities/oats-jira/oats.json +0 -22
  147. package/capabilities/oats-jira/skills/jira-tasks/SKILL.md +0 -179
  148. package/capabilities/oats-linear/bin/oats-linear-hook.mjs +0 -34
  149. package/capabilities/oats-linear/bin/oats-linear.mjs +0 -344
  150. package/capabilities/oats-linear/injects/linear.md +0 -8
  151. package/capabilities/oats-linear/oats.json +0 -24
  152. package/capabilities/oats-linear/skills/linear-tasks/SKILL.md +0 -223
  153. package/capabilities/oats-okf/bin/oats-okf-binding.mjs +0 -14
  154. package/capabilities/oats-okf/bin/oats-okf.mjs +0 -209
  155. package/capabilities/oats-okf/injects/okf.md +0 -42
  156. package/capabilities/oats-okf/lib/binding-wire.mjs +0 -348
  157. package/capabilities/oats-okf/lib/captured-worker.mjs +0 -109
  158. package/capabilities/oats-okf/lib/config.mjs +0 -124
  159. package/capabilities/oats-okf/lib/consult.mjs +0 -518
  160. package/capabilities/oats-okf/lib/harvest-status.mjs +0 -88
  161. package/capabilities/oats-okf/lib/harvest-switch.mjs +0 -94
  162. package/capabilities/oats-okf/lib/inspection.mjs +0 -119
  163. package/capabilities/oats-okf/lib/invocation-context.mjs +0 -111
  164. package/capabilities/oats-okf/lib/invocation-shape.mjs +0 -135
  165. package/capabilities/oats-okf/lib/io.mjs +0 -118
  166. package/capabilities/oats-okf/lib/migration.mjs +0 -137
  167. package/capabilities/oats-okf/lib/okf-validate.mjs +0 -123
  168. package/capabilities/oats-okf/lib/portable-binding.mjs +0 -199
  169. package/capabilities/oats-okf/lib/source-contract.mjs +0 -46
  170. package/capabilities/oats-okf/lib/sources.mjs +0 -424
  171. package/capabilities/oats-okf/lib/stores.mjs +0 -473
  172. package/capabilities/oats-okf/lib/worker.mjs +0 -497
  173. package/capabilities/oats-okf/oats.json +0 -148
  174. package/capabilities/oats-okf/schemas/okf-base.schema.json +0 -46
  175. package/capabilities/oats-okf/schemas/okf-bindings.schema.json +0 -112
  176. package/capabilities/oats-okf/schemas/okf-portable-declaration.schema.json +0 -87
  177. package/capabilities/oats-okf/schemas/okf-portable-payload.schema.json +0 -113
  178. package/capabilities/oats-okf/schemas/okf-soul.schema.json +0 -37
  179. package/capabilities/oats-okf/skills/okf-consultation/SKILL.md +0 -144
  180. package/capabilities/oats-okf/skills/okf-consultation/references/consult.md +0 -86
  181. package/capabilities/oats-okf/skills/okf-instance-knowledge/SKILL.md +0 -104
  182. package/capabilities/oats-okf-harvest/bin/okf-harvest.mjs +0 -140
  183. package/capabilities/oats-okf-harvest/injects/harvester.md +0 -12
  184. package/capabilities/oats-okf-harvest/oats.json +0 -26
  185. package/capabilities/oats-okf-harvest/skills/knowledge-harvest/SKILL.md +0 -168
  186. package/capabilities/oats-okf-harvest/skills/knowledge-theory/SKILL.md +0 -192
  187. package/capabilities/oats-okf-harvest/skills/okf-authoring/SKILL.md +0 -151
  188. package/capabilities/oats-okf-harvest/skills/okf-authoring/scripts/okf-validate.mjs +0 -123
  189. package/capabilities/oats-okf-maintenance/bin/okf-maintenance.mjs +0 -170
  190. package/capabilities/oats-okf-maintenance/injects/maintainer.md +0 -12
  191. package/capabilities/oats-okf-maintenance/lib/provenance.mjs +0 -50
  192. package/capabilities/oats-okf-maintenance/oats.json +0 -21
  193. package/capabilities/oats-okf-maintenance/skills/knowledge-review/SKILL.md +0 -159
  194. package/capabilities/oats-okf-maintenance/skills/knowledge-theory/SKILL.md +0 -192
  195. package/capabilities/oats-okf-maintenance/skills/okf-authoring/SKILL.md +0 -151
  196. package/capabilities/oats-okf-maintenance/skills/okf-authoring/scripts/okf-validate.mjs +0 -123
  197. package/capabilities/oats-okf-maintenance/skills/okf-trigger-setup/SKILL.md +0 -146
  198. package/capabilities/oats-review/injects/review.md +0 -69
  199. package/capabilities/oats-review/oats.json +0 -10
  200. package/capabilities/oats-review/skills/code-review/SKILL.md +0 -44
  201. package/capabilities/oats-review/skills/security-review/SKILL.md +0 -59
  202. package/docs/conventions.md +0 -90
  203. package/docs/design/2026-09-07-architecture-reassessment.md +0 -131
  204. package/docs/design/2026-09-07-desktop-souls-capabilities.md +0 -50
  205. package/docs/design/2026-09-07-mobile-agent-management-proposal.md +0 -228
  206. package/docs/design/2026-09-08-expert-assisted-deployment-proposal.md +0 -558
  207. package/docs/design/2026-09-13-knowledge-and-memory-direction.md +0 -744
  208. package/docs/design/2026-09-13-knowledge-implementation.md +0 -127
  209. package/docs/design/2026-09-13-knowledge-location-contract.md +0 -340
  210. package/docs/design/2026-09-14-artifact-retention-contract.md +0 -190
  211. package/docs/design/2026-09-14-portable-souls-and-git-workspaces.md +0 -708
  212. package/docs/design/2026-09-14-portable-souls-contract-amendments.md +0 -85
  213. package/docs/design/2026-09-14-portable-souls-explainer.md +0 -750
  214. package/docs/design/2026-09-15-captured-dispatch.md +0 -127
  215. package/docs/design/2026-09-15-captured-resolution-records.md +0 -143
  216. package/docs/design/2026-09-15-package-preparation.md +0 -100
  217. package/docs/design/2026-09-15-portable-data-contract.md +0 -121
  218. package/docs/design/2026-09-15-portable-declarations.md +0 -189
  219. package/docs/design/2026-09-15-portable-souls-handoff.md +0 -150
  220. package/docs/design/2026-09-15-portable-souls-implementation.md +0 -417
  221. package/docs/design/2026-09-15-selection-lock-and-approval.md +0 -122
  222. package/docs/design/2026-09-15-source-observation.md +0 -119
  223. package/docs/design/2026-09-16-captured-admission.md +0 -77
  224. package/docs/design/2026-09-16-captured-helper-dispatch.md +0 -105
  225. package/docs/design/2026-09-16-captured-launch-inputs.md +0 -42
  226. package/docs/design/2026-09-16-command-profile-preparation.md +0 -86
  227. package/docs/design/2026-09-16-fresh-install-first-rollout.md +0 -47
  228. package/docs/design/2026-09-16-fresh-operator-walkthrough.md +0 -282
  229. package/docs/design/2026-09-16-messaging-capability-contract.md +0 -59
  230. package/docs/design/2026-09-16-portable-migration-evidence.md +0 -158
  231. package/docs/design/2026-09-16-portable-onboarding.md +0 -179
  232. package/docs/design/2026-09-16-prepare-request-transport.md +0 -26
  233. package/docs/design/2026-09-16-provider-binding-codecs.md +0 -98
  234. package/docs/design/2026-09-16-provider-binding-wire.md +0 -274
  235. package/docs/design/2026-09-17-capability-helper-input-contract.md +0 -95
  236. package/docs/design/2026-09-17-captured-backend-parity.md +0 -53
  237. package/docs/design/2026-09-17-captured-native-start.md +0 -58
  238. package/docs/design/2026-09-17-portable-boundary-hookup.md +0 -19
  239. package/docs/design/2026-09-17-portable-boundary-resources.md +0 -52
  240. package/docs/design/2026-09-17-public-captured-start.md +0 -108
  241. package/docs/design/2026-09-17-public-prepare-request.md +0 -90
  242. package/docs/design/2026-09-18-captured-pi-host.md +0 -205
  243. package/docs/design/2026-09-18-first-cut-release-checklist.md +0 -131
  244. package/docs/design/2026-09-18-herdr-protocol-compatibility.md +0 -60
  245. package/docs/design/2026-09-20-redesign-program-board.md +0 -142
  246. package/docs/design/2026-09-20-workspace-and-portable-adoption-plan.md +0 -289
  247. package/docs/design/2026-09-20-workspace-onboarding-public.md +0 -207
  248. package/docs/design/2026-09-22-desktop-parity-seams.md +0 -58
  249. package/docs/design/2026-09-23-simplified-workspace-model.md +0 -711
  250. package/docs/design/2026-09-23-workspace-v2-implementation-plan.md +0 -65
  251. package/docs/design/2026-09-24-desktop-phase-f-boundary.md +0 -242
  252. package/docs/design/2026-09-24-phase-d-plan.md +0 -305
  253. package/docs/design/2026-09-25-teams-contract.md +0 -258
  254. package/docs/design/2026-09-26-desktop-design-brief-architecture.md +0 -241
  255. package/docs/design/desktop-ux-plan.md +0 -362
  256. package/docs/design/launch-configurations.md +0 -168
  257. package/docs/design/okf-mirror-provenance.md +0 -105
  258. package/docs/design/operations-contract.md +0 -141
  259. package/docs/oats-member.schema.json +0 -38
  260. package/skills/integration-authoring/SKILL.md +0 -84
  261. package/skills/oats-support/SKILL.md +0 -79
  262. package/skills/skill-craft/SKILL.md +0 -109
  263. package/skills/soul-craft/SKILL.md +0 -116
@@ -1,148 +0,0 @@
1
- {
2
- "capability": "oats.okf",
3
- "command": "okf",
4
- "version": "4.0.1",
5
- "compatibility": {
6
- "oats": ">=0.29.0"
7
- },
8
- "layer": "knowledge",
9
- "description": "The OKF knowledge slot for working souls: consult the soul's accepted OKF bases remotely (no per-instance copy), keep instance knowledge with judgment, and \u2014 when the deployment switches harvest on \u2014 hand each instance's notes and session to the knowledge harvester through durable custody.",
10
- "requires": [],
11
- "settings": {
12
- "harvest": {
13
- "default": "off",
14
- "values": [
15
- "on",
16
- "off"
17
- ],
18
- "description": "Whether this deployment harvests: on or off (default off). A host fact, set in oats-local.yaml settings.oats.okf.harvest (`oats okf setup --harvest on|off`). A soul may only opt out, with knowledge: { harvest: off }, and that opt-out is absolute. Off means no source registration, no capture and no custody; the harvest-review trigger is independent of it."
19
- },
20
- "harvest-runtime": {
21
- "default": "pi",
22
- "values": [
23
- "pi",
24
- "claude",
25
- "codex"
26
- ],
27
- "description": "Harness for the knowledge harvester (the oats.okf/knowledge-harvester package soul), independent of the source instance's harness."
28
- },
29
- "harvest-model": {
30
- "description": "Optional model pin for the selected harvest runtime, for example to use a cheaper model: a Pi provider/model or a native Claude/Codex model. When omitted, each harness uses its configured default."
31
- },
32
- "bindings-file": {
33
- "description": "Absolute host-owned path identifying the version:1 bindings document. Portable binding preparation captures the selected document payload and never rereads this path."
34
- },
35
- "state-dir": {
36
- "description": "Absolute host-owned durable state directory for portable bindings. It is never derived from an instance home."
37
- },
38
- "git-timeout": {
39
- "description": "Seconds allowed for each Git operation that talks to a remote (clone, fetch, push, ls-remote); default 600. Local object reads keep a short fixed limit. Raise it for large repositories behind slow links."
40
- },
41
- "consult-max-age": {
42
- "description": "Seconds a Git base's host-cached accepted commit may age before an `oats okf` consult read refetches the accepted branch; default 300, 0 fetches on every read. `--fresh` always refetches."
43
- }
44
- },
45
- "skills": [
46
- "skills"
47
- ],
48
- "commands": {
49
- "harvest": "bin/oats-okf.mjs harvest",
50
- "inspect": "bin/oats-okf.mjs inspect",
51
- "setup": "bin/oats-okf.mjs setup",
52
- "run-source": "bin/oats-okf.mjs run-source",
53
- "complete": "bin/oats-okf.mjs complete",
54
- "retry": "bin/oats-okf.mjs retry",
55
- "bases": "bin/oats-okf.mjs bases",
56
- "index": "bin/oats-okf.mjs index",
57
- "cat": "bin/oats-okf.mjs cat",
58
- "ls": "bin/oats-okf.mjs ls",
59
- "links": "bin/oats-okf.mjs links",
60
- "search": "bin/oats-okf.mjs search",
61
- "read": "bin/oats-okf.mjs read",
62
- "refresh": "bin/oats-okf.mjs refresh",
63
- "init": "bin/oats-okf.mjs init",
64
- "migrate": "bin/oats-okf.mjs migrate",
65
- "unlock": "bin/oats-okf.mjs unlock",
66
- "binding-normalize": "bin/oats-okf-binding.mjs normalize",
67
- "binding-bind": "bin/oats-okf-binding.mjs bind",
68
- "binding-check": "bin/oats-okf-binding.mjs check",
69
- "harvest-status": "bin/oats-okf.mjs harvest-status"
70
- },
71
- "binding": {
72
- "version": 1,
73
- "normalize": "binding-normalize",
74
- "bind": "binding-bind",
75
- "check": "binding-check",
76
- "reasons": [
77
- "setting bindings-file is required (absolute host path)",
78
- "setting bindings-file must be a normalized absolute host path",
79
- "setting state-dir is required (absolute host path)",
80
- "setting state-dir must be a normalized absolute host path",
81
- "setting harvest-runtime is required (pi, claude or codex)",
82
- "setting harvest-runtime must be pi, claude or codex",
83
- "setting harvest-model must be null or a non-empty string",
84
- "check action is not an admitted knowledge operation",
85
- "bound runtime bindings file is missing or invalid",
86
- "more than 64 git knowledge bases declared",
87
- "declared knowledge base could not be staged from its git source",
88
- "declared knowledge base is not a validated knowledge tree",
89
- "knowledge base owner or remote custody requirement not met",
90
- "staged git source does not match the declared knowledge base",
91
- "harvest runtime command is not installed on this host",
92
- "harvest runtime could not be qualified against the accepted bases"
93
- ]
94
- },
95
- "inject": "injects/okf.md",
96
- "helperInjection": {
97
- "version": 1,
98
- "mode": "omit"
99
- },
100
- "hooks": {
101
- "soul-scaffold": "bin/oats-okf.mjs soul-scaffold",
102
- "spawn": {
103
- "command": "bin/oats-okf.mjs spawn",
104
- "required": true,
105
- "inputs": {
106
- "sourceReceipt": {
107
- "version": 1
108
- }
109
- }
110
- },
111
- "retire": {
112
- "command": "bin/oats-okf.mjs retire",
113
- "inputs": {
114
- "sourceReceipt": {
115
- "version": 1
116
- }
117
- }
118
- }
119
- },
120
- "operations": {
121
- "inspect": {
122
- "kind": "view",
123
- "command": "inspect",
124
- "context": "home",
125
- "description": "Inspect matching live working-memory documents, durable receipts, bindings, the accepted resolution, any legacy local view and scheduler health."
126
- },
127
- "harvest": {
128
- "kind": "action",
129
- "command": "harvest",
130
- "context": "home",
131
- "description": "Capture this source into durable custody and request an independent worker.",
132
- "args": [
133
- {
134
- "name": "native-request",
135
- "flag": "--native-request",
136
- "required": false,
137
- "description": "Captured operations require an explicit absolute backend-only native request JSON; provider owns the worker task."
138
- },
139
- {
140
- "name": "worker-mode",
141
- "flag": "--worker-mode",
142
- "required": false,
143
- "description": "Captured worker mode: prepare or launch (default launch); legacy behavior is unchanged when absent."
144
- }
145
- ]
146
- }
147
- }
148
- }
@@ -1,46 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://oats.dev/schemas/okf-base.schema.json",
4
- "type": "object",
5
- "required": [
6
- "version",
7
- "id",
8
- "nodes"
9
- ],
10
- "properties": {
11
- "version": {
12
- "const": 1
13
- },
14
- "id": {
15
- "type": "string",
16
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
17
- },
18
- "nodes": {
19
- "type": "object",
20
- "minProperties": 1,
21
- "propertyNames": {
22
- "type": "string",
23
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
24
- },
25
- "additionalProperties": {
26
- "type": "object",
27
- "required": [
28
- "path",
29
- "owner"
30
- ],
31
- "properties": {
32
- "path": {
33
- "type": "string",
34
- "minLength": 1
35
- },
36
- "owner": {
37
- "type": "string",
38
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
39
- }
40
- },
41
- "additionalProperties": false
42
- }
43
- }
44
- },
45
- "additionalProperties": false
46
- }
@@ -1,112 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://oats.dev/schemas/okf-bindings.schema.json",
4
- "type": "object",
5
- "required": [
6
- "version",
7
- "stateDir",
8
- "bases"
9
- ],
10
- "properties": {
11
- "version": {
12
- "const": 1
13
- },
14
- "stateDir": {
15
- "type": "string",
16
- "minLength": 1
17
- },
18
- "cron": {
19
- "type": "string",
20
- "default": "*/15 * * * *",
21
- "minLength": 1,
22
- "pattern": "\\S"
23
- },
24
- "tz": {
25
- "type": "string",
26
- "default": "UTC",
27
- "minLength": 1,
28
- "pattern": "\\S"
29
- },
30
- "bases": {
31
- "type": "object",
32
- "minProperties": 1,
33
- "propertyNames": {
34
- "type": "string",
35
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
36
- },
37
- "additionalProperties": {
38
- "oneOf": [
39
- {
40
- "type": "object",
41
- "required": [
42
- "id",
43
- "kind",
44
- "path"
45
- ],
46
- "properties": {
47
- "id": {
48
- "type": "string",
49
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
50
- },
51
- "kind": {
52
- "const": "directory"
53
- },
54
- "path": {
55
- "type": "string",
56
- "minLength": 1
57
- }
58
- },
59
- "additionalProperties": false
60
- },
61
- {
62
- "type": "object",
63
- "required": [
64
- "id",
65
- "kind",
66
- "repository",
67
- "root",
68
- "acceptedBranch",
69
- "pr"
70
- ],
71
- "properties": {
72
- "id": {
73
- "type": "string",
74
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
75
- },
76
- "kind": {
77
- "const": "git"
78
- },
79
- "repository": {
80
- "type": "string",
81
- "minLength": 1
82
- },
83
- "root": {
84
- "type": "string",
85
- "minLength": 1
86
- },
87
- "acceptedBranch": {
88
- "type": "string",
89
- "minLength": 1
90
- },
91
- "pr": {
92
- "type": "object",
93
- "required": [
94
- "repository"
95
- ],
96
- "properties": {
97
- "repository": {
98
- "type": "string",
99
- "pattern": "^[\\w.-]+/[\\w.-]+$"
100
- }
101
- },
102
- "additionalProperties": false
103
- }
104
- },
105
- "additionalProperties": false
106
- }
107
- ]
108
- }
109
- }
110
- },
111
- "additionalProperties": false
112
- }
@@ -1,87 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://oats.dev/schemas/okf-portable-declaration.schema.json",
4
- "title": "OATS OKF portable knowledge declaration",
5
- "$defs": {
6
- "identifier": {
7
- "type": "string",
8
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
9
- },
10
- "directory": {
11
- "type": "object",
12
- "required": ["id", "kind", "path"],
13
- "properties": {
14
- "id": {"$ref": "#/$defs/identifier"},
15
- "kind": {"const": "directory"},
16
- "path": {"type": "string", "pattern": "^path:/"}
17
- },
18
- "additionalProperties": false
19
- },
20
- "git": {
21
- "type": "object",
22
- "required": ["id", "kind", "repository", "root", "acceptedBranch", "pr"],
23
- "properties": {
24
- "id": {"$ref": "#/$defs/identifier"},
25
- "kind": {"const": "git"},
26
- "repository": {"type": "string", "pattern": "^(?!(?:https://[^/]*@|ssh://[^/@]*:[^/@]*@))(?:(?:https|ssh)://|git@)[^\\s?#]+$"},
27
- "root": {"type": "string", "minLength": 1},
28
- "acceptedBranch": {"type": "string", "minLength": 1},
29
- "pr": {
30
- "type": "object",
31
- "required": ["repository"],
32
- "properties": {"repository": {"type": "string", "pattern": "^[\\w.-]+/[\\w.-]+$"}},
33
- "additionalProperties": false
34
- }
35
- },
36
- "additionalProperties": false
37
- },
38
- "locator": {"oneOf": [{"$ref": "#/$defs/directory"}, {"$ref": "#/$defs/git"}]},
39
- "store": {
40
- "oneOf": [
41
- {"type": "object", "required": ["fixed"], "properties": {"fixed": {"$ref": "#/$defs/locator"}}, "additionalProperties": false},
42
- {"type": "object", "required": ["default"], "properties": {"default": {"$ref": "#/$defs/locator"}}, "additionalProperties": false},
43
- {"type": "object", "required": ["inherit"], "properties": {"inherit": {"type": "string", "minLength": 1}}, "additionalProperties": false}
44
- ]
45
- }
46
- },
47
- "type": "object",
48
- "required": ["contract", "version", "payload"],
49
- "properties": {
50
- "contract": {"const": "oats.okf.locations"},
51
- "version": {"const": 1},
52
- "payload": {
53
- "type": "object",
54
- "required": ["owner", "stores", "reads", "owns"],
55
- "properties": {
56
- "owner": {"$ref": "#/$defs/identifier"},
57
- "stores": {
58
- "type": "object",
59
- "propertyNames": {"$ref": "#/$defs/identifier"},
60
- "additionalProperties": {"$ref": "#/$defs/store"}
61
- },
62
- "reads": {
63
- "type": "array",
64
- "uniqueItems": true,
65
- "items": {
66
- "type": "object",
67
- "required": ["store", "node"],
68
- "properties": {"store": {"$ref": "#/$defs/identifier"}, "node": {"$ref": "#/$defs/identifier"}},
69
- "additionalProperties": false
70
- }
71
- },
72
- "owns": {
73
- "type": "array",
74
- "uniqueItems": true,
75
- "items": {
76
- "type": "object",
77
- "required": ["node"],
78
- "properties": {"node": {"$ref": "#/$defs/identifier"}, "destination": {"$ref": "#/$defs/identifier"}},
79
- "additionalProperties": false
80
- }
81
- }
82
- },
83
- "additionalProperties": false
84
- }
85
- },
86
- "additionalProperties": false
87
- }
@@ -1,113 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://oats.dev/schemas/okf-portable-payload.schema.json",
4
- "title": "OATS OKF effective portable binding payload",
5
- "$defs": {
6
- "identifier": {
7
- "type": "string",
8
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
9
- },
10
- "directory": {
11
- "type": "object",
12
- "required": ["id", "kind", "path"],
13
- "properties": {
14
- "id": {"$ref": "#/$defs/identifier"},
15
- "kind": {"const": "directory"},
16
- "path": {"type": "string", "pattern": "^/"}
17
- },
18
- "additionalProperties": false
19
- },
20
- "git": {
21
- "type": "object",
22
- "required": ["id", "kind", "repository", "root", "acceptedBranch", "pr"],
23
- "properties": {
24
- "id": {"$ref": "#/$defs/identifier"},
25
- "kind": {"const": "git"},
26
- "repository": {"type": "string", "pattern": "^(?!(?:https://[^/]*@|ssh://[^/@]*:[^/@]*@))(?:(?:https|ssh)://|git@)[^\\s?#]+$"},
27
- "root": {"type": "string", "minLength": 1},
28
- "acceptedBranch": {"type": "string", "minLength": 1},
29
- "pr": {
30
- "type": "object",
31
- "required": ["repository"],
32
- "properties": {"repository": {"type": "string", "pattern": "^[\\w.-]+/[\\w.-]+$"}},
33
- "additionalProperties": false
34
- }
35
- },
36
- "additionalProperties": false
37
- },
38
- "store": {"oneOf": [{"$ref": "#/$defs/directory"}, {"$ref": "#/$defs/git"}]},
39
- "read": {
40
- "type": "object",
41
- "required": ["store", "node"],
42
- "properties": {"store": {"$ref": "#/$defs/identifier"}, "node": {"$ref": "#/$defs/identifier"}},
43
- "additionalProperties": false
44
- },
45
- "own": {
46
- "type": "object",
47
- "required": ["store", "node", "steward"],
48
- "properties": {"store": {"$ref": "#/$defs/identifier"}, "node": {"$ref": "#/$defs/identifier"}, "steward": {"$ref": "#/$defs/identifier"}},
49
- "additionalProperties": false
50
- },
51
- "reference": {
52
- "type": "string",
53
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)/)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}/(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
54
- }
55
- },
56
- "type": "object",
57
- "required": ["owner", "stores", "reads", "owns", "runtime", "execution"],
58
- "properties": {
59
- "owner": {"$ref": "#/$defs/identifier"},
60
- "stores": {
61
- "type": "object",
62
- "minProperties": 1,
63
- "propertyNames": {"$ref": "#/$defs/identifier"},
64
- "additionalProperties": {"$ref": "#/$defs/store"}
65
- },
66
- "reads": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/$defs/read"}},
67
- "owns": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/$defs/own"}},
68
- "runtime": {
69
- "type": "object",
70
- "required": ["descriptorFile", "bindings", "declaration"],
71
- "properties": {
72
- "descriptorFile": {"type": "string", "pattern": "^/"},
73
- "bindings": {
74
- "type": "object",
75
- "required": ["version", "stateDir", "bases"],
76
- "properties": {
77
- "version": {"const": 1},
78
- "stateDir": {"type": "string", "pattern": "^/"},
79
- "bases": {
80
- "type": "object",
81
- "minProperties": 1,
82
- "propertyNames": {"$ref": "#/$defs/identifier"},
83
- "additionalProperties": {"$ref": "#/$defs/store"}
84
- }
85
- },
86
- "additionalProperties": false
87
- },
88
- "declaration": {
89
- "type": "object",
90
- "required": ["version", "owner", "reads", "owns"],
91
- "properties": {
92
- "version": {"const": 1},
93
- "owner": {"$ref": "#/$defs/identifier"},
94
- "reads": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/$defs/reference"}},
95
- "owns": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/$defs/reference"}}
96
- },
97
- "additionalProperties": false
98
- }
99
- },
100
- "additionalProperties": false
101
- },
102
- "execution": {
103
- "type": "object",
104
- "required": ["runtime", "model"],
105
- "properties": {
106
- "runtime": {"oneOf": [{"const": "pi"}, {"const": "claude"}, {"const": "codex"}]},
107
- "model": {"oneOf": [{"type": "null"}, {"type": "string", "minLength": 1}]}
108
- },
109
- "additionalProperties": false
110
- }
111
- },
112
- "additionalProperties": false
113
- }
@@ -1,37 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://oats.dev/schemas/okf-soul.schema.json",
4
- "type": "object",
5
- "required": [
6
- "version",
7
- "owner",
8
- "owns",
9
- "reads"
10
- ],
11
- "properties": {
12
- "version": {
13
- "const": 1
14
- },
15
- "owner": {
16
- "type": "string",
17
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
18
- },
19
- "owns": {
20
- "type": "array",
21
- "items": {
22
- "type": "string",
23
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)/)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}/(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
24
- },
25
- "uniqueItems": true
26
- },
27
- "reads": {
28
- "type": "array",
29
- "items": {
30
- "type": "string",
31
- "pattern": "^(?!(?:constructor|__proto__|prototype|toString|valueOf)/)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}/(?!(?:constructor|__proto__|prototype|toString|valueOf)$)[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$"
32
- },
33
- "uniqueItems": true
34
- }
35
- },
36
- "additionalProperties": false
37
- }