@kody-ade/kody-engine 0.4.626 → 0.4.627
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 +2 -2
- package/docs/delivery-boundary.md +5 -0
- package/package.json +1 -1
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.627",
|
|
19
19
|
description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
|
|
20
20
|
license: "MIT",
|
|
21
21
|
repository: {
|
|
@@ -24363,7 +24363,7 @@ function enforceCapabilityOutputContract(capability, result) {
|
|
|
24363
24363
|
if (result.exitCode !== 0 || !schema) {
|
|
24364
24364
|
return result;
|
|
24365
24365
|
}
|
|
24366
|
-
const contractOutput = result.capabilityOutput === void 0 && typeof result.prUrl === "string" && result.prUrl.trim().length > 0 ? {
|
|
24366
|
+
const contractOutput = result.capabilityOutput === void 0 && typeof result.prUrl === "string" && result.prUrl.trim().length > 0 ? { status: "changed", summary: `Pull request opened: ${result.prUrl}` } : result.capabilityOutput;
|
|
24367
24367
|
try {
|
|
24368
24368
|
validateCapabilityContractOutput(schema, contractOutput);
|
|
24369
24369
|
return contractOutput === result.capabilityOutput ? result : { ...result, capabilityOutput: contractOutput };
|
|
@@ -9,6 +9,11 @@ whether repository verification was configured and passed and whether a commit
|
|
|
9
9
|
was actually pushed. Agent-written prose cannot turn an unverified or unpushed
|
|
10
10
|
result into a success claim.
|
|
11
11
|
|
|
12
|
+
A successful PR delivery keeps the PR URL as delivery metadata and reports the
|
|
13
|
+
capability result as `status: changed` with a plain summary. This lets strict
|
|
14
|
+
repository-owned capability contracts validate the outcome without treating
|
|
15
|
+
delivery metadata as undeclared business output.
|
|
16
|
+
|
|
12
17
|
## What happens to each kind of change
|
|
13
18
|
|
|
14
19
|
| Change | Result |
|
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.627",
|
|
4
4
|
"description": "kody — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative implementation profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|