@awebai/oats 0.23.2 → 0.24.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 +224 -391
- package/bin/oats-pi-sdk-host.mjs +17 -0
- package/bin/oats.mjs +470 -51
- package/capabilities/oats-okf/bin/oats-okf-binding.mjs +14 -0
- package/capabilities/oats-okf/bin/oats-okf.mjs +79 -11
- package/capabilities/oats-okf/lib/binding-wire.mjs +268 -0
- package/capabilities/oats-okf/lib/captured-worker.mjs +109 -0
- package/capabilities/oats-okf/lib/config.mjs +2 -1
- package/capabilities/oats-okf/lib/inspection.mjs +16 -1
- package/capabilities/oats-okf/lib/invocation-context.mjs +111 -0
- package/capabilities/oats-okf/lib/invocation-shape.mjs +135 -0
- package/capabilities/oats-okf/lib/io.mjs +1 -1
- package/capabilities/oats-okf/lib/portable-binding.mjs +199 -0
- package/capabilities/oats-okf/lib/source-contract.mjs +46 -0
- package/capabilities/oats-okf/lib/sources.mjs +123 -3
- package/capabilities/oats-okf/lib/stores.mjs +104 -25
- package/capabilities/oats-okf/lib/worker.mjs +69 -10
- package/capabilities/oats-okf/oats.json +35 -7
- package/capabilities/oats-okf/schemas/okf-portable-declaration.schema.json +87 -0
- package/capabilities/oats-okf/schemas/okf-portable-payload.schema.json +113 -0
- package/capabilities/oats-okf/skills/memory-harvest/SKILL.md +23 -5
- package/capabilities/oats-okf/skills/okf/SKILL.md +42 -1
- package/docs/artifact-approvals.schema.json +7 -0
- package/docs/capabilities.md +4 -0
- package/docs/capability-manifest.schema.json +37 -66
- package/docs/captured-invocation-context.schema.json +7 -0
- package/docs/captured-resolution.schema.json +7 -0
- package/docs/design/2026-09-14-artifact-retention-contract.md +190 -0
- package/docs/design/2026-09-14-portable-souls-and-git-workspaces.md +708 -0
- package/docs/design/2026-09-14-portable-souls-contract-amendments.md +85 -0
- package/docs/design/2026-09-14-portable-souls-explainer.md +750 -0
- package/docs/design/2026-09-15-captured-dispatch.md +127 -0
- package/docs/design/2026-09-15-captured-resolution-records.md +143 -0
- package/docs/design/2026-09-15-package-preparation.md +100 -0
- package/docs/design/2026-09-15-portable-data-contract.md +121 -0
- package/docs/design/2026-09-15-portable-declarations.md +189 -0
- package/docs/design/2026-09-15-portable-souls-handoff.md +150 -0
- package/docs/design/2026-09-15-portable-souls-implementation.md +417 -0
- package/docs/design/2026-09-15-selection-lock-and-approval.md +122 -0
- package/docs/design/2026-09-15-source-observation.md +119 -0
- package/docs/design/2026-09-16-captured-admission.md +77 -0
- package/docs/design/2026-09-16-captured-helper-dispatch.md +105 -0
- package/docs/design/2026-09-16-captured-launch-inputs.md +42 -0
- package/docs/design/2026-09-16-command-profile-preparation.md +86 -0
- package/docs/design/2026-09-16-fresh-install-first-rollout.md +47 -0
- package/docs/design/2026-09-16-fresh-operator-walkthrough.md +277 -0
- package/docs/design/2026-09-16-knowledge-capability-contract.md +61 -0
- package/docs/design/2026-09-16-messaging-capability-contract.md +59 -0
- package/docs/design/2026-09-16-portable-migration-evidence.md +156 -0
- package/docs/design/2026-09-16-portable-onboarding.md +177 -0
- package/docs/design/2026-09-16-prepare-request-transport.md +26 -0
- package/docs/design/2026-09-16-provider-binding-codecs.md +98 -0
- package/docs/design/2026-09-16-provider-binding-wire.md +247 -0
- package/docs/design/2026-09-17-capability-helper-input-contract.md +95 -0
- package/docs/design/2026-09-17-captured-backend-parity.md +53 -0
- package/docs/design/2026-09-17-captured-native-start.md +58 -0
- package/docs/design/2026-09-17-portable-boundary-hookup.md +19 -0
- package/docs/design/2026-09-17-portable-boundary-resources.md +52 -0
- package/docs/design/2026-09-17-public-captured-start.md +108 -0
- package/docs/design/2026-09-17-public-prepare-request.md +90 -0
- package/docs/design/2026-09-18-captured-pi-host.md +205 -0
- package/docs/design/2026-09-18-first-cut-release-checklist.md +131 -0
- package/docs/design/2026-09-18-herdr-protocol-compatibility.md +60 -0
- package/docs/design/2026-09-20-redesign-program-board.md +70 -0
- package/docs/design/2026-09-20-workspace-and-portable-adoption-plan.md +287 -0
- package/docs/design/2026-09-20-workspace-onboarding-public.md +124 -0
- package/docs/design/README.md +42 -0
- package/docs/desktop-cli-api.md +5 -2
- package/docs/execution-capsule.schema.json +108 -0
- package/docs/execution-targets.md +20 -7
- package/docs/first-team.md +1 -1
- package/docs/knowledge-theory.md +353 -111
- package/docs/knowledge.md +10 -1
- package/docs/layers.md +89 -354
- package/docs/oats-lock-v3.schema.json +7 -0
- package/docs/oats-member.schema.json +38 -0
- package/docs/oats-workspace.schema.json +68 -0
- package/docs/official-marketplace.md +79 -0
- package/docs/packages.md +4 -0
- package/docs/portable.schema.json +2512 -0
- package/docs/provider-check-input.schema.json +7 -0
- package/docs/release-notes/v0.24.0.md +104 -0
- package/docs/release-notes/v0.24.1.md +17 -0
- package/docs/schedules.md +126 -14
- package/docs/soul.schema.json +82 -0
- package/docs/souls-and-instances.md +20 -7
- package/docs/workspace-adoption.md +285 -0
- package/docs/workspaces.md +154 -0
- package/injects/oats-portable.md +16 -0
- package/injects/portable-instance-boundary.md +39 -0
- package/injects/portable-work-directory.md +29 -0
- package/lib/artifact-approvals.mjs +120 -0
- package/lib/artifact-tree.mjs +141 -0
- package/lib/capability-artifacts.mjs +179 -0
- package/lib/capability-execution.mjs +15 -0
- package/lib/capability-inputs.mjs +39 -0
- package/lib/capability-provenance.mjs +231 -0
- package/lib/captured-action-shape.mjs +21 -0
- package/lib/captured-admission-shape.mjs +20 -0
- package/lib/captured-binding-file.mjs +36 -0
- package/lib/captured-dispatch.mjs +66 -0
- package/lib/captured-instance-index.mjs +277 -0
- package/lib/captured-invocation-context.mjs +130 -0
- package/lib/captured-launch-request.mjs +46 -0
- package/lib/captured-operation-process.mjs +15 -0
- package/lib/captured-pi-custody.mjs +29 -0
- package/lib/captured-pi-host.mjs +167 -0
- package/lib/captured-pi-outcome.mjs +172 -0
- package/lib/captured-resolutions.mjs +275 -0
- package/lib/captured-scaffold.mjs +87 -0
- package/lib/captured-selector.mjs +28 -0
- package/lib/captured-session-backend.mjs +52 -0
- package/lib/captured-source-receipt-file.mjs +72 -0
- package/lib/config-data.mjs +104 -0
- package/lib/core.mjs +961 -566
- package/lib/errors.mjs +7 -0
- package/lib/helper-injection-policy.mjs +98 -0
- package/lib/herdr.mjs +18 -7
- package/lib/instruction-composition.mjs +31 -0
- package/lib/legacy-lock-codec.mjs +106 -0
- package/lib/manifest-settings.mjs +84 -0
- package/lib/package-closure.mjs +48 -0
- package/lib/package-materialization.mjs +83 -0
- package/lib/pi-sdk-host.mjs +229 -0
- package/lib/portable-artifacts.mjs +115 -0
- package/lib/portable-choices.mjs +82 -0
- package/lib/portable-composition.mjs +136 -0
- package/lib/portable-digest.mjs +105 -0
- package/lib/portable-files.mjs +26 -0
- package/lib/portable-identity.mjs +40 -0
- package/lib/portable-lock.mjs +117 -0
- package/lib/portable-migration-artifacts.mjs +135 -0
- package/lib/portable-migration-evidence.mjs +305 -0
- package/lib/portable-migration-store.mjs +199 -0
- package/lib/portable-migration.mjs +104 -0
- package/lib/portable-onboarding-acceptance.mjs +66 -0
- package/lib/portable-onboarding-request.mjs +49 -0
- package/lib/portable-onboarding.mjs +249 -0
- package/lib/portable-package-preparation.mjs +188 -0
- package/lib/portable-policy.mjs +44 -0
- package/lib/portable-shape.mjs +35 -0
- package/lib/portable-soul.mjs +38 -0
- package/lib/portable-state.mjs +80 -0
- package/lib/portable-values.mjs +181 -0
- package/lib/prepare-composition.mjs +151 -0
- package/lib/prepared-bindings.mjs +78 -0
- package/lib/prepared-resources.mjs +127 -0
- package/lib/provider-binding-broker.mjs +59 -0
- package/lib/provider-binding-wire.mjs +110 -0
- package/lib/provider-binding.mjs +22 -0
- package/lib/repository-observation.mjs +226 -0
- package/lib/resolution-shape.mjs +393 -0
- package/lib/schedule-capsule.mjs +206 -0
- package/lib/schedule.mjs +259 -38
- package/lib/servers.mjs +15 -0
- package/lib/soul-constraints.mjs +40 -0
- package/lib/source-projection.mjs +84 -0
- package/lib/source-spec.mjs +189 -0
- package/lib/workspace-definition.mjs +126 -0
- package/lib/workspace-discovery.mjs +146 -0
- package/package-catalog.json +2 -1
- package/package.json +3 -2
- package/packages/record/lib/capture-cc.mjs +14 -6
- package/packages/record/lib/formats.mjs +14 -3
- package/packages/record/lib/native-history.mjs +277 -7
- package/packages/record/lib/session-snapshot.mjs +25 -5
- package/packages/record/lib/sessions-for-home.mjs +30 -13
- package/skills/oats/SKILL.md +12 -7
- package/skills/oats-config/SKILL.md +11 -9
- package/skills/oats-packages/SKILL.md +12 -8
- package/skills/oats-portable/SKILL.md +115 -0
- package/skills/oats-portable-artifacts/SKILL.md +63 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# The official OATS marketplace
|
|
2
|
+
|
|
3
|
+
The marketplace is the reviewed [package-catalog.json](../package-catalog.json)
|
|
4
|
+
list in [awebai/oats](https://github.com/awebai/oats), not a separate registry
|
|
5
|
+
service. **A package listed there is official.** A name, logo, repository owner
|
|
6
|
+
or workspace membership alone does not make a package official.
|
|
7
|
+
|
|
8
|
+
## Find and use packages
|
|
9
|
+
|
|
10
|
+
- Browse the catalog for the kernel/source version you use. Each package entry
|
|
11
|
+
identifies its repository, release ref and payload root; capability aliases
|
|
12
|
+
can point to the package that supplies them.
|
|
13
|
+
- Today, `oats install <capability-or-package-id>` resolves official short names
|
|
14
|
+
through the CLI's catalog. For example, `oats install oats.okf --dir /absolute/scope`
|
|
15
|
+
selects the listed package; it does not enroll a team or adopt
|
|
16
|
+
the publisher's workspace. See [package operations](packages.md).
|
|
17
|
+
- The Desktop marketplace view/search is **planned for the parity phase**, not
|
|
18
|
+
shipped by this policy or by OATS 0.24. There is no new marketplace CLI verb.
|
|
19
|
+
- **Discoverable ≠ installed ≠ approved.** Acquisition and exact locking are
|
|
20
|
+
separate from capability selection and per-capability executable approval.
|
|
21
|
+
Official status never grants trust, credentials or permission to run code.
|
|
22
|
+
- Listing also does not prove that every harness, provider combination or
|
|
23
|
+
deployment profile is supported. Check the package's declared compatibility,
|
|
24
|
+
requirements and current readiness limits.
|
|
25
|
+
|
|
26
|
+
## How a package becomes official
|
|
27
|
+
|
|
28
|
+
1. Publish a source-complete release and open a PR to `package-catalog.json` in
|
|
29
|
+
`awebai/oats`, giving the package's URL, immutable tag ref and payload path.
|
|
30
|
+
2. Include evidence for the acceptance criteria below. External packages go
|
|
31
|
+
through the same process as packages maintained in the OATS repositories.
|
|
32
|
+
3. An OATS maintainer reviews the entry, its exact release and trust posture.
|
|
33
|
+
Officialness follows the reviewed list change, not an unmerged proposal.
|
|
34
|
+
|
|
35
|
+
### Acceptance criteria
|
|
36
|
+
|
|
37
|
+
- **Complete source:** a valid `oats-package.json` at the declared payload root,
|
|
38
|
+
with all exported capabilities, instructions, skills, references and required
|
|
39
|
+
runtime files contained in the supported package closure.
|
|
40
|
+
- **Immutable release:** a real published tag resolving to the reviewed commit,
|
|
41
|
+
with reproducible payload/integrity evidence. Do not list a floating branch,
|
|
42
|
+
invent a future ref or move an already published tag.
|
|
43
|
+
- **Valid declarations:** capability manifests validate against the supported
|
|
44
|
+
schema and state truthful identities, compatibility and requirements.
|
|
45
|
+
- **Honest execution surface:** commands, hooks, launch environment and other
|
|
46
|
+
executable contributions are declared accurately. Review their effects;
|
|
47
|
+
approval still binds to each capability's exact artifact, not its official name.
|
|
48
|
+
- **Maintainership:** a documented, reachable maintainer contact or maintained
|
|
49
|
+
issue/security-reporting route.
|
|
50
|
+
- **License:** clear redistribution terms for the package and its dependencies,
|
|
51
|
+
with required license notices included in the distributed payload.
|
|
52
|
+
- **No secrets:** no credentials, signing keys, tokens or private instance state;
|
|
53
|
+
only supported nonsecret configuration and credential references where needed.
|
|
54
|
+
- **No hidden prerequisites:** host/runtime requirements use the supported
|
|
55
|
+
manifest fields; external services, network access and operator setup/consent
|
|
56
|
+
are documented. Do not conceal an installation or host mutation in setup code.
|
|
57
|
+
|
|
58
|
+
Contact and license evidence may live in the package/repository documentation;
|
|
59
|
+
this policy does not invent new catalog or manifest fields.
|
|
60
|
+
|
|
61
|
+
## Planned first set
|
|
62
|
+
|
|
63
|
+
- Already listed: `oats.okf`, `oats.aweb`, `oats.authoring`, `oats.jira`,
|
|
64
|
+
`oats.linear`, `oats.dev` and `oats.knowledge-theory`.
|
|
65
|
+
- **Planned, not yet listed:** `oats.core` for OATS operation/soul guidance, and
|
|
66
|
+
`oats.setup` for OATS Soul Setup, configuration and package guidance. Add their
|
|
67
|
+
catalog entries only after their actual D1 package releases exist and pass
|
|
68
|
+
review. They are not available merely because this document names them.
|
|
69
|
+
|
|
70
|
+
The [workspace adoption guide](workspace-adoption.md) describes the separate
|
|
71
|
+
planned setup-expert flow. No package is silently added to an existing soul.
|
|
72
|
+
|
|
73
|
+
## Updates, deprecation and removal
|
|
74
|
+
|
|
75
|
+
Use the same catalog PR and maintainer-review path to update, deprecate or remove
|
|
76
|
+
an entry. State the reason, affected releases and supported replacement or hold,
|
|
77
|
+
and assess existing locks/restores before changing discovery. Preserve immutable
|
|
78
|
+
release history. A list change is not permission to rewrite a deployment's locks,
|
|
79
|
+
revoke or grant local approvals, uninstall packages or delete retained resources.
|
package/docs/packages.md
CHANGED
|
@@ -5,6 +5,10 @@ capabilities. It is *transport*, not the installed entity. A package is one
|
|
|
5
5
|
`oats-package.json` at a package root that declares one or more **capabilities**
|
|
6
6
|
and, optionally, one or more reference **config templates**.
|
|
7
7
|
|
|
8
|
+
The [official marketplace policy](official-marketplace.md) explains how packages
|
|
9
|
+
join the reviewed catalog and how entries are updated or removed. Discoverable,
|
|
10
|
+
installed and approved are separate states; a listing never grants executable trust.
|
|
11
|
+
|
|
8
12
|
Acquisition stages the package in a temporary transaction directory, validates
|
|
9
13
|
the whole selected payload, **materializes each declared capability** into
|
|
10
14
|
`.agents/capabilities/installed/<id>/`, writes the exact lock, and discards the
|