@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.
- package/README.md +12 -6
- package/bin/oats.mjs +194 -50
- package/docs/capabilities.md +160 -171
- package/docs/capability-manifest.schema.json +6 -11
- package/docs/configuration.md +213 -64
- package/docs/design/2026-09-16-knowledge-capability-contract.md +36 -50
- package/docs/design/2026-09-23-workspace-module-contracts.md +377 -544
- package/docs/design/2026-09-26-okf-knowledge-operations.md +132 -357
- package/docs/design/2026-09-27-team-model-v2.md +97 -117
- package/docs/design/2026-09-28-automations-trust.md +38 -0
- package/docs/design/2026-09-28-soul-launch-preference.md +63 -0
- package/docs/design/HISTORY.md +65 -0
- package/docs/design/README.md +23 -54
- package/docs/desktop-cli-api.md +1787 -1777
- package/docs/desktop.md +30 -91
- package/docs/execution-targets.md +146 -292
- package/docs/first-team.md +31 -17
- package/docs/implementation.md +77 -288
- package/docs/integrations.md +118 -320
- package/docs/knowledge-capability-authoring.md +25 -52
- package/docs/knowledge-reference/acceptance.md +3 -3
- package/docs/knowledge-reference/adoption.md +1 -1
- package/docs/knowledge-reference/harvester.md +2 -2
- package/docs/knowledge-reference/package-craft.md +3 -3
- package/docs/knowledge-reference/provider-mapping.md +3 -6
- package/docs/knowledge-reference/reader-capture.md +3 -3
- package/docs/knowledge-theory.md +62 -166
- package/docs/knowledge.md +225 -404
- package/docs/layers.md +42 -97
- package/docs/oats-local.schema.json +58 -5
- package/docs/oats-membership.schema.json +1 -8
- package/docs/oats-package.schema.json +5 -5
- package/docs/oats-workspace.schema.json +8 -22
- package/docs/official-catalog.md +25 -28
- package/docs/packages.md +45 -63
- package/docs/plans/0.30-close-out.md +83 -0
- package/docs/release-lane.md +82 -0
- package/docs/release-notes/oats-framework-v1.1.3.md +10 -8
- package/docs/release-notes/v0.19.0.md +48 -147
- package/docs/release-notes/v0.19.1.md +2 -3
- package/docs/release-notes/v0.19.3.md +2 -15
- package/docs/release-notes/v0.20.0.md +0 -15
- package/docs/release-notes/v0.22.0.md +71 -138
- package/docs/release-notes/v0.22.1.md +42 -90
- package/docs/release-notes/v0.22.10.md +1 -1
- package/docs/release-notes/v0.22.11.md +1 -47
- package/docs/release-notes/v0.22.12.md +4 -13
- package/docs/release-notes/v0.22.13.md +1 -42
- package/docs/release-notes/v0.22.14.md +3 -11
- package/docs/release-notes/v0.22.15.md +1 -46
- package/docs/release-notes/v0.22.16.md +6 -8
- package/docs/release-notes/v0.22.18.md +1 -99
- package/docs/release-notes/v0.22.19.md +3 -14
- package/docs/release-notes/v0.22.2.md +6 -15
- package/docs/release-notes/v0.22.3.md +0 -1
- package/docs/release-notes/v0.22.4.md +1 -14
- package/docs/release-notes/v0.22.5.md +2 -12
- package/docs/release-notes/v0.22.6.md +0 -3
- package/docs/release-notes/v0.23.0.md +9 -25
- package/docs/release-notes/v0.23.1.md +9 -25
- package/docs/release-notes/v0.23.2.md +2 -4
- package/docs/release-notes/v0.24.0.md +56 -97
- package/docs/release-notes/v0.24.1.md +7 -11
- package/docs/release-notes/v0.24.10.md +34 -45
- package/docs/release-notes/v0.24.11.md +12 -20
- package/docs/release-notes/v0.24.12.md +35 -48
- package/docs/release-notes/v0.24.13.md +34 -41
- package/docs/release-notes/v0.24.2.md +9 -13
- package/docs/release-notes/v0.24.3.md +7 -11
- package/docs/release-notes/v0.24.4.md +6 -6
- package/docs/release-notes/v0.24.5.md +6 -10
- package/docs/release-notes/v0.24.6.md +2 -5
- package/docs/release-notes/v0.24.7.md +46 -75
- package/docs/release-notes/v0.24.8.md +58 -96
- package/docs/release-notes/v0.24.9.md +38 -54
- package/docs/release-notes/v0.25.0.md +59 -76
- package/docs/release-notes/v0.25.1.md +57 -81
- package/docs/release-notes/v0.25.2.md +51 -70
- package/docs/release-notes/v0.25.3.md +11 -13
- package/docs/release-notes/v0.25.4.md +9 -13
- package/docs/release-notes/v0.25.5.md +3 -5
- package/docs/release-notes/v0.25.6.md +20 -29
- package/docs/release-notes/v0.25.7.md +5 -7
- package/docs/release-notes/v0.25.8.md +26 -39
- package/docs/release-notes/v0.26.0.md +175 -646
- package/docs/release-notes/v0.27.0.md +4 -5
- package/docs/release-notes/v0.27.1.md +4 -6
- package/docs/release-notes/v0.27.2.md +1 -1
- package/docs/release-notes/v0.28.0.md +57 -124
- package/docs/release-notes/v0.29.0.md +89 -208
- package/docs/release-notes/v0.29.1.md +1 -1
- package/docs/release-notes/v0.29.2.md +3 -4
- package/docs/release-notes/v0.30.0.md +205 -0
- package/docs/release-notes/v0.30.1.md +123 -0
- package/docs/schedules.md +280 -363
- package/docs/servers.md +99 -117
- package/docs/soul.schema.json +2 -9
- package/docs/souls-and-instances.md +145 -158
- package/docs/workspaces.md +137 -215
- package/lib/automations.mjs +21 -6
- package/lib/core.mjs +226 -74
- package/lib/instance-events.mjs +1 -1
- package/lib/instance-inspect.mjs +109 -34
- package/lib/instance-lifecycle.mjs +14 -1
- package/lib/instance-resolution.mjs +26 -27
- package/lib/launch-preference.mjs +87 -0
- package/lib/materialize.mjs +3 -3
- package/lib/packages.mjs +1 -1
- package/lib/resolve.mjs +30 -88
- package/lib/schedule.mjs +1 -1
- package/lib/teams-verbs.mjs +195 -0
- package/lib/teams.mjs +190 -0
- package/lib/triggers.mjs +2 -2
- package/lib/workspace.mjs +54 -147
- package/package-catalog.json +10 -16
- package/package.json +1 -3
- package/skills/oats-getting-started/SKILL.md +25 -13
- package/capabilities/oats-authoring/LICENSE +0 -21
- package/capabilities/oats-authoring/oats-package.json +0 -11
- package/capabilities/oats-authoring/oats.json +0 -12
- package/capabilities/oats-authoring/skills/integration-authoring/SKILL.md +0 -84
- package/capabilities/oats-authoring/skills/skill-craft/SKILL.md +0 -109
- package/capabilities/oats-authoring/skills/soul-craft/SKILL.md +0 -116
- package/capabilities/oats-aweb/bin/oats-aweb-binding.mjs +0 -11
- package/capabilities/oats-aweb/bin/oats-aweb.mjs +0 -1338
- package/capabilities/oats-aweb/injects/aweb.md +0 -47
- package/capabilities/oats-aweb/lib/binding-wire.mjs +0 -356
- package/capabilities/oats-aweb/lib/captured-execution.mjs +0 -91
- package/capabilities/oats-aweb/lib/captured-native.mjs +0 -91
- package/capabilities/oats-aweb/lib/grant-custody.mjs +0 -38
- package/capabilities/oats-aweb/lib/invocation-shape.mjs +0 -135
- package/capabilities/oats-aweb/lib/portable-binding.mjs +0 -146
- package/capabilities/oats-aweb/lib/session-readiness.mjs +0 -56
- package/capabilities/oats-aweb/lib/wake-receive.mjs +0 -56
- package/capabilities/oats-aweb/oats.json +0 -208
- package/capabilities/oats-aweb/skills/LICENSE +0 -21
- package/capabilities/oats-aweb/skills/VENDORED.md +0 -31
- package/capabilities/oats-aweb/skills/aweb-identity/SKILL.md +0 -201
- package/capabilities/oats-aweb/skills/aweb-messaging/SKILL.md +0 -161
- package/capabilities/oats-aweb/skills/aweb-messaging/references/messaging-scenarios.md +0 -61
- package/capabilities/oats-aweb/skills/aweb-team-membership/SKILL.md +0 -116
- package/capabilities/oats-aweb/skills/aweb-team-membership/references/team-membership-reference.md +0 -74
- package/capabilities/oats-aweb/skills/oats-aweb/SKILL.md +0 -216
- package/capabilities/oats-jira/bin/oats-jira.mjs +0 -40
- package/capabilities/oats-jira/injects/jira.md +0 -10
- package/capabilities/oats-jira/oats.json +0 -22
- package/capabilities/oats-jira/skills/jira-tasks/SKILL.md +0 -179
- package/capabilities/oats-linear/bin/oats-linear-hook.mjs +0 -34
- package/capabilities/oats-linear/bin/oats-linear.mjs +0 -344
- package/capabilities/oats-linear/injects/linear.md +0 -8
- package/capabilities/oats-linear/oats.json +0 -24
- package/capabilities/oats-linear/skills/linear-tasks/SKILL.md +0 -223
- package/capabilities/oats-okf/bin/oats-okf-binding.mjs +0 -14
- package/capabilities/oats-okf/bin/oats-okf.mjs +0 -209
- package/capabilities/oats-okf/injects/okf.md +0 -42
- package/capabilities/oats-okf/lib/binding-wire.mjs +0 -348
- package/capabilities/oats-okf/lib/captured-worker.mjs +0 -109
- package/capabilities/oats-okf/lib/config.mjs +0 -124
- package/capabilities/oats-okf/lib/consult.mjs +0 -518
- package/capabilities/oats-okf/lib/harvest-status.mjs +0 -88
- package/capabilities/oats-okf/lib/harvest-switch.mjs +0 -94
- package/capabilities/oats-okf/lib/inspection.mjs +0 -119
- package/capabilities/oats-okf/lib/invocation-context.mjs +0 -111
- package/capabilities/oats-okf/lib/invocation-shape.mjs +0 -135
- package/capabilities/oats-okf/lib/io.mjs +0 -118
- package/capabilities/oats-okf/lib/migration.mjs +0 -137
- package/capabilities/oats-okf/lib/okf-validate.mjs +0 -123
- package/capabilities/oats-okf/lib/portable-binding.mjs +0 -199
- package/capabilities/oats-okf/lib/source-contract.mjs +0 -46
- package/capabilities/oats-okf/lib/sources.mjs +0 -424
- package/capabilities/oats-okf/lib/stores.mjs +0 -473
- package/capabilities/oats-okf/lib/worker.mjs +0 -497
- package/capabilities/oats-okf/oats.json +0 -148
- package/capabilities/oats-okf/schemas/okf-base.schema.json +0 -46
- package/capabilities/oats-okf/schemas/okf-bindings.schema.json +0 -112
- package/capabilities/oats-okf/schemas/okf-portable-declaration.schema.json +0 -87
- package/capabilities/oats-okf/schemas/okf-portable-payload.schema.json +0 -113
- package/capabilities/oats-okf/schemas/okf-soul.schema.json +0 -37
- package/capabilities/oats-okf/skills/okf-consultation/SKILL.md +0 -144
- package/capabilities/oats-okf/skills/okf-consultation/references/consult.md +0 -86
- package/capabilities/oats-okf/skills/okf-instance-knowledge/SKILL.md +0 -104
- package/capabilities/oats-okf-harvest/bin/okf-harvest.mjs +0 -140
- package/capabilities/oats-okf-harvest/injects/harvester.md +0 -12
- package/capabilities/oats-okf-harvest/oats.json +0 -26
- package/capabilities/oats-okf-harvest/skills/knowledge-harvest/SKILL.md +0 -168
- package/capabilities/oats-okf-harvest/skills/knowledge-theory/SKILL.md +0 -192
- package/capabilities/oats-okf-harvest/skills/okf-authoring/SKILL.md +0 -151
- package/capabilities/oats-okf-harvest/skills/okf-authoring/scripts/okf-validate.mjs +0 -123
- package/capabilities/oats-okf-maintenance/bin/okf-maintenance.mjs +0 -170
- package/capabilities/oats-okf-maintenance/injects/maintainer.md +0 -12
- package/capabilities/oats-okf-maintenance/lib/provenance.mjs +0 -50
- package/capabilities/oats-okf-maintenance/oats.json +0 -21
- package/capabilities/oats-okf-maintenance/skills/knowledge-review/SKILL.md +0 -159
- package/capabilities/oats-okf-maintenance/skills/knowledge-theory/SKILL.md +0 -192
- package/capabilities/oats-okf-maintenance/skills/okf-authoring/SKILL.md +0 -151
- package/capabilities/oats-okf-maintenance/skills/okf-authoring/scripts/okf-validate.mjs +0 -123
- package/capabilities/oats-okf-maintenance/skills/okf-trigger-setup/SKILL.md +0 -146
- package/capabilities/oats-review/injects/review.md +0 -69
- package/capabilities/oats-review/oats.json +0 -10
- package/capabilities/oats-review/skills/code-review/SKILL.md +0 -44
- package/capabilities/oats-review/skills/security-review/SKILL.md +0 -59
- package/docs/conventions.md +0 -90
- package/docs/design/2026-09-07-architecture-reassessment.md +0 -131
- package/docs/design/2026-09-07-desktop-souls-capabilities.md +0 -50
- package/docs/design/2026-09-07-mobile-agent-management-proposal.md +0 -228
- package/docs/design/2026-09-08-expert-assisted-deployment-proposal.md +0 -558
- package/docs/design/2026-09-13-knowledge-and-memory-direction.md +0 -744
- package/docs/design/2026-09-13-knowledge-implementation.md +0 -127
- package/docs/design/2026-09-13-knowledge-location-contract.md +0 -340
- package/docs/design/2026-09-14-artifact-retention-contract.md +0 -190
- package/docs/design/2026-09-14-portable-souls-and-git-workspaces.md +0 -708
- package/docs/design/2026-09-14-portable-souls-contract-amendments.md +0 -85
- package/docs/design/2026-09-14-portable-souls-explainer.md +0 -750
- package/docs/design/2026-09-15-captured-dispatch.md +0 -127
- package/docs/design/2026-09-15-captured-resolution-records.md +0 -143
- package/docs/design/2026-09-15-package-preparation.md +0 -100
- package/docs/design/2026-09-15-portable-data-contract.md +0 -121
- package/docs/design/2026-09-15-portable-declarations.md +0 -189
- package/docs/design/2026-09-15-portable-souls-handoff.md +0 -150
- package/docs/design/2026-09-15-portable-souls-implementation.md +0 -417
- package/docs/design/2026-09-15-selection-lock-and-approval.md +0 -122
- package/docs/design/2026-09-15-source-observation.md +0 -119
- package/docs/design/2026-09-16-captured-admission.md +0 -77
- package/docs/design/2026-09-16-captured-helper-dispatch.md +0 -105
- package/docs/design/2026-09-16-captured-launch-inputs.md +0 -42
- package/docs/design/2026-09-16-command-profile-preparation.md +0 -86
- package/docs/design/2026-09-16-fresh-install-first-rollout.md +0 -47
- package/docs/design/2026-09-16-fresh-operator-walkthrough.md +0 -282
- package/docs/design/2026-09-16-messaging-capability-contract.md +0 -59
- package/docs/design/2026-09-16-portable-migration-evidence.md +0 -158
- package/docs/design/2026-09-16-portable-onboarding.md +0 -179
- package/docs/design/2026-09-16-prepare-request-transport.md +0 -26
- package/docs/design/2026-09-16-provider-binding-codecs.md +0 -98
- package/docs/design/2026-09-16-provider-binding-wire.md +0 -274
- package/docs/design/2026-09-17-capability-helper-input-contract.md +0 -95
- package/docs/design/2026-09-17-captured-backend-parity.md +0 -53
- package/docs/design/2026-09-17-captured-native-start.md +0 -58
- package/docs/design/2026-09-17-portable-boundary-hookup.md +0 -19
- package/docs/design/2026-09-17-portable-boundary-resources.md +0 -52
- package/docs/design/2026-09-17-public-captured-start.md +0 -108
- package/docs/design/2026-09-17-public-prepare-request.md +0 -90
- package/docs/design/2026-09-18-captured-pi-host.md +0 -205
- package/docs/design/2026-09-18-first-cut-release-checklist.md +0 -131
- package/docs/design/2026-09-18-herdr-protocol-compatibility.md +0 -60
- package/docs/design/2026-09-20-redesign-program-board.md +0 -142
- package/docs/design/2026-09-20-workspace-and-portable-adoption-plan.md +0 -289
- package/docs/design/2026-09-20-workspace-onboarding-public.md +0 -207
- package/docs/design/2026-09-22-desktop-parity-seams.md +0 -58
- package/docs/design/2026-09-23-simplified-workspace-model.md +0 -711
- package/docs/design/2026-09-23-workspace-v2-implementation-plan.md +0 -65
- package/docs/design/2026-09-24-desktop-phase-f-boundary.md +0 -242
- package/docs/design/2026-09-24-phase-d-plan.md +0 -305
- package/docs/design/2026-09-25-teams-contract.md +0 -258
- package/docs/design/2026-09-26-desktop-design-brief-architecture.md +0 -241
- package/docs/design/desktop-ux-plan.md +0 -362
- package/docs/design/launch-configurations.md +0 -168
- package/docs/design/okf-mirror-provenance.md +0 -105
- package/docs/design/operations-contract.md +0 -141
- package/docs/oats-member.schema.json +0 -38
- package/skills/integration-authoring/SKILL.md +0 -84
- package/skills/oats-support/SKILL.md +0 -79
- package/skills/skill-craft/SKILL.md +0 -109
- 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
|
-
}
|