@kody-ade/kody-engine 0.4.18 → 0.4.19

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
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@kody-ade/kody-engine",
6
- version: "0.4.18",
6
+ version: "0.4.19",
7
7
  description: "kody \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
8
8
  license: "MIT",
9
9
  type: "module",
@@ -47,8 +47,19 @@ If you fail to emit this block, or the JSON is invalid, the tick fails and the g
47
47
  ## Rules
48
48
 
49
49
  - Never edit, create, or delete files in the working tree.
50
- - Never commit or push.
50
+ - Never commit or push via `git`. The only permitted commit path is `gh api -X PUT` against the report file (see exception below).
51
51
  - Only shell calls allowed: `gh`. Everything must go through it.
52
52
  - Keep each tick focused: do one action per candidate per wake. The cron will call you again.
53
53
  - If state says you're waiting on something, just check and re-emit — don't spawn a duplicate.
54
54
  - Honour the job body's `## Restrictions` over any inferred shortcut.
55
+
56
+ ### Single permitted write: the job's report file
57
+
58
+ A job MAY (optionally — only if its body asks for it) write a single
59
+ markdown report file at the canonical path:
60
+
61
+ ```
62
+ .kody/reports/{{jobSlug}}.md
63
+ ```
64
+
65
+ Only that exact path. Only via `gh api -X PUT /repos/<owner>/<repo>/contents/.kody/reports/{{jobSlug}}.md` (with base64 content + `sha` of the existing file when updating). All other writes — code files, other report paths, other slugs — remain forbidden. The dashboard's `/reports` page surfaces these files automatically; this is the canonical channel for a job's diagnostic output when an issue comment isn't expressive enough.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kody-ade/kody-engine",
3
- "version": "0.4.18",
3
+ "version": "0.4.19",
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",