@kody-ade/kody-engine 0.4.334 → 0.4.335
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/dist/bin/kody.js
CHANGED
|
@@ -15,7 +15,7 @@ var init_package = __esm({
|
|
|
15
15
|
"package.json"() {
|
|
16
16
|
package_default = {
|
|
17
17
|
name: "@kody-ade/kody-engine",
|
|
18
|
-
version: "0.4.
|
|
18
|
+
version: "0.4.335",
|
|
19
19
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
20
20
|
license: "MIT",
|
|
21
21
|
type: "module",
|
|
@@ -18284,7 +18284,7 @@ function validateOneModel(rawModel, files, label, strictSingleModel, failures, e
|
|
|
18284
18284
|
function validateFilesForKind(kind, slug2, files, strictSingleModel, failures) {
|
|
18285
18285
|
const paths = files.map((file) => normalizeBundlePath(file.path));
|
|
18286
18286
|
if (paths.some((filePath) => filePath === "executables" || filePath.startsWith("executables/"))) {
|
|
18287
|
-
failures.push("files must not use obsolete
|
|
18287
|
+
failures.push("files must not use obsolete implementation storage");
|
|
18288
18288
|
}
|
|
18289
18289
|
if (kind === "agent") {
|
|
18290
18290
|
requirePath(paths, `agents/${slug2}.md`, "agent file", failures);
|
|
@@ -18530,7 +18530,7 @@ var init_validateAgentFactoryBundle = __esm({
|
|
|
18530
18530
|
FACTORY_PRODUCER = "agent-factory";
|
|
18531
18531
|
REQUIRED_DOCS = {
|
|
18532
18532
|
agent: ["docs/agents.md"],
|
|
18533
|
-
capability: ["docs/capabilities.md", "docs/capability-kind-map.md", "docs/
|
|
18533
|
+
capability: ["docs/capabilities.md", "docs/capability-kind-map.md", "docs/capability-implementations.md"],
|
|
18534
18534
|
goal: ["docs/goals.md", "docs/jobs-model.md", "docs/capabilities.md"],
|
|
18535
18535
|
agentLoop: ["docs/jobs-model.md", "docs/engine-company.md", "docs/ledgers.md"],
|
|
18536
18536
|
workflow: ["docs/jobs-model.md", "docs/capabilities.md"]
|
|
@@ -6,7 +6,7 @@ Create one complete Kody Capability model from a focused ability contract.
|
|
|
6
6
|
|
|
7
7
|
## Contract
|
|
8
8
|
|
|
9
|
-
The input is the ability to provide, its kind, interface, and constraints. The creator must use `docs/capabilities.md`, `docs/capability-kind-map.md`, and `docs/
|
|
9
|
+
The input is the ability to provide, its kind, interface, and constraints. The creator must use `docs/capabilities.md`, `docs/capability-kind-map.md`, and `docs/capability-implementations.md`; create one `observe`, `act`, or `verify` capability; and return review-ready files under `capabilities/<slug>/`.
|
|
10
10
|
|
|
11
11
|
## Boundary
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ Use these contracts when deciding whether a file belongs in the bundle:
|
|
|
34
34
|
| Goal | `goal-creator` | `docs/goals.md`, `docs/jobs-model.md`, `docs/capabilities.md` | outcome, evidence, allowed capabilities, route, facts, blockers | capability implementation, agent identity, loop cadence |
|
|
35
35
|
| Loop | `loop-creator` | `docs/jobs-model.md`, `docs/engine-company.md`, `docs/ledgers.md` | cadence, wakeup policy, target, operational cursor/dedup | business completion, goal evidence, workflow order, implementation |
|
|
36
36
|
| Workflow | `workflow-creator` | `docs/jobs-model.md`, `docs/capabilities.md` | ordered capability steps for one run | long-term progress, schedule, goal completion, agent identity, implementation internals |
|
|
37
|
-
| Capability | `capability-creator` | `docs/capabilities.md`, `docs/capability-kind-map.md`, `docs/
|
|
37
|
+
| Capability | `capability-creator` | `docs/capabilities.md`, `docs/capability-kind-map.md`, `docs/capability-implementations.md` | one reusable `observe`, `act`, or `verify` ability, interface, constraints, implementation | requester identity, caller workflow, parent goal progress, loop cadence, agent identity |
|
|
38
38
|
|
|
39
39
|
If one generated model needs information from another, reference the other model by slug. Do not copy that model's responsibility into the file.
|
|
40
40
|
|
|
@@ -49,7 +49,7 @@ Use these exact model kinds and required file shapes:
|
|
|
49
49
|
| `capability` | `capabilities/<slug>/profile.json` and `capabilities/<slug>/capability.md` |
|
|
50
50
|
|
|
51
51
|
Do not use `kind: "loop"`; the loop model kind is `agentLoop`.
|
|
52
|
-
Do not use `agents/<slug>/identity.json`, `goals/<slug>/goal.json`, `workflows/<slug>/workflow.json`, or
|
|
52
|
+
Do not use `agents/<slug>/identity.json`, `goals/<slug>/goal.json`, `workflows/<slug>/workflow.json`, or old implementation-root paths.
|
|
53
53
|
|
|
54
54
|
Each `models[]` entry must also carry the creator's canonical model metadata:
|
|
55
55
|
|
|
@@ -82,7 +82,7 @@ Use current storage names when producing files:
|
|
|
82
82
|
- Do not create a consumer-repo PR.
|
|
83
83
|
- The deterministic postflight will open a review PR in the configured state repo under the configured state path.
|
|
84
84
|
- Put generated file paths relative to the configured state path, for example `capabilities/...`, `agents/...`, `goals/...`, or `memory/...`.
|
|
85
|
-
- Do not create
|
|
85
|
+
- Do not create old implementation-root paths. Implementation profiles live in capability folders.
|
|
86
86
|
- Produce complete file contents. Do not describe patches.
|
|
87
87
|
- Prefer a small bundle over a broad framework. Include assumptions in the summary.
|
|
88
88
|
|
|
@@ -112,7 +112,7 @@ PR_SUMMARY:
|
|
|
112
112
|
"slug": "example",
|
|
113
113
|
"capabilityKind": "act",
|
|
114
114
|
"ability": "one reusable ability",
|
|
115
|
-
"docsUsed": ["docs/capabilities.md", "docs/capability-kind-map.md", "docs/
|
|
115
|
+
"docsUsed": ["docs/capabilities.md", "docs/capability-kind-map.md", "docs/capability-implementations.md"],
|
|
116
116
|
"inputs": [],
|
|
117
117
|
"outputs": [],
|
|
118
118
|
"allowedActions": [],
|
|
@@ -12,7 +12,7 @@ Read and follow these docs before producing the model:
|
|
|
12
12
|
|
|
13
13
|
- `docs/capabilities.md`
|
|
14
14
|
- `docs/capability-kind-map.md`
|
|
15
|
-
- `docs/
|
|
15
|
+
- `docs/capability-implementations.md`
|
|
16
16
|
|
|
17
17
|
These docs are contract references. If the consumer repo does not contain them or `Read` fails, continue from the model boundary below and still list the referenced doc paths in `model.docsUsed`.
|
|
18
18
|
|
|
@@ -85,7 +85,7 @@ PR_SUMMARY:
|
|
|
85
85
|
"slug": "capability-slug",
|
|
86
86
|
"capabilityKind": "observe|act|verify",
|
|
87
87
|
"ability": "one reusable ability",
|
|
88
|
-
"docsUsed": ["docs/capabilities.md", "docs/capability-kind-map.md", "docs/
|
|
88
|
+
"docsUsed": ["docs/capabilities.md", "docs/capability-kind-map.md", "docs/capability-implementations.md"],
|
|
89
89
|
"inputs": [],
|
|
90
90
|
"outputs": [],
|
|
91
91
|
"allowedActions": [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.335",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|