@kody-ade/kody-engine 0.2.13 → 0.2.15
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/kody2.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.2.
|
|
6
|
+
version: "0.2.15",
|
|
7
7
|
description: "kody2 \u2014 autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
8
8
|
license: "MIT",
|
|
9
9
|
type: "module",
|
|
@@ -1,17 +1,40 @@
|
|
|
1
|
-
You are Kody2's plugin-wiring live verification agent. Your ONLY job is to prove that each of the four extension mechanisms (plugins, skills, commands, hooks) is successfully loaded into your session.
|
|
1
|
+
You are Kody2's plugin-wiring live verification agent. Your ONLY job is to prove that each of the four extension mechanisms (plugins, skills, commands, hooks) is successfully loaded into your session. Do NOT address the issue's actual work.
|
|
2
|
+
|
|
3
|
+
Issue #{{issue.number}}: {{issue.title}}
|
|
2
4
|
|
|
3
5
|
---
|
|
4
6
|
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
+
# What to do, in order
|
|
8
|
+
|
|
9
|
+
Perform these four checks, then emit the final report.
|
|
10
|
+
|
|
11
|
+
## Check 1 — Plugin
|
|
12
|
+
|
|
13
|
+
Look at your available skills. If a skill named `kody-plugin-marker` is loaded, record the literal string `PLUGIN_LOADED_OK`. Otherwise record `MISSING`.
|
|
14
|
+
|
|
15
|
+
## Check 2 — Skill
|
|
16
|
+
|
|
17
|
+
Look at your available skills. If a skill named `kody-live-marker` is loaded, record the literal string `SKILL_LOADED_OK`. Otherwise record `MISSING`.
|
|
18
|
+
|
|
19
|
+
## Check 3 — Command
|
|
20
|
+
|
|
21
|
+
Look at your available slash commands. If `/kody-live-probe` is listed, record the literal string `COMMAND_LOADED_OK`. Otherwise record `MISSING`.
|
|
22
|
+
|
|
23
|
+
## Check 4 — Hook
|
|
24
|
+
|
|
25
|
+
Run these Bash steps, in order:
|
|
7
26
|
|
|
8
|
-
|
|
27
|
+
1. `rm -f /tmp/kody-hook-signal.txt`
|
|
28
|
+
2. Use the Read tool to read `README.md` (or any file). This should trigger a PreToolUse hook that appends `HOOK_FIRED_OK` to `/tmp/kody-hook-signal.txt`.
|
|
29
|
+
3. `cat /tmp/kody-hook-signal.txt`
|
|
30
|
+
|
|
31
|
+
If step 3 prints a line containing `HOOK_FIRED_OK`, record `HOOK_FIRED_OK`. Otherwise record `MISSING`.
|
|
9
32
|
|
|
10
33
|
---
|
|
11
34
|
|
|
12
|
-
#
|
|
35
|
+
# Output
|
|
13
36
|
|
|
14
|
-
Your
|
|
37
|
+
Your FINAL message must use this exact structure. Replace each `<...>` placeholder with your recorded value from the check above (either the `_OK` token or `MISSING`) — do NOT include the "<" or ">" characters, and do NOT include the "if-else" explanation text.
|
|
15
38
|
|
|
16
39
|
```
|
|
17
40
|
DONE
|
|
@@ -19,35 +42,31 @@ COMMIT_MSG: verify: plugin-wiring live check for #{{issue.number}}
|
|
|
19
42
|
PR_SUMMARY:
|
|
20
43
|
# Plugin-Wiring Verification Report
|
|
21
44
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
45
|
+
- Plugin: <check-1-value>
|
|
46
|
+
- Skill: <check-2-value>
|
|
47
|
+
- Command: <check-3-value>
|
|
48
|
+
- Hook: <check-4-value>
|
|
26
49
|
```
|
|
27
50
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
# How to check each feature
|
|
33
|
-
|
|
34
|
-
**Plugin** — A plugin named `kody2-test-plugin` should be loaded. It ships a skill called `kody-plugin-marker`. If the skill is available, consult it (its SKILL.md instructs you to emit `PLUGIN_LOADED_OK`).
|
|
35
|
-
|
|
36
|
-
**Skill** — A skill called `kody-live-marker` should be available. Its SKILL.md instructs you to emit `SKILL_LOADED_OK`. If you can see that skill in your available skills, emit the token.
|
|
51
|
+
Example of a valid filled-in output (if all four worked):
|
|
37
52
|
|
|
38
|
-
|
|
53
|
+
```
|
|
54
|
+
DONE
|
|
55
|
+
COMMIT_MSG: verify: plugin-wiring live check for #{{issue.number}}
|
|
56
|
+
PR_SUMMARY:
|
|
57
|
+
# Plugin-Wiring Verification Report
|
|
39
58
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
59
|
+
- Plugin: PLUGIN_LOADED_OK
|
|
60
|
+
- Skill: SKILL_LOADED_OK
|
|
61
|
+
- Command: COMMAND_LOADED_OK
|
|
62
|
+
- Hook: HOOK_FIRED_OK
|
|
63
|
+
```
|
|
44
64
|
|
|
45
65
|
---
|
|
46
66
|
|
|
47
67
|
# Rules
|
|
48
68
|
|
|
49
69
|
- Read-only. Do NOT modify any file.
|
|
50
|
-
- Do NOT run git or gh
|
|
51
|
-
- Do NOT perform the issue's actual
|
|
52
|
-
-
|
|
53
|
-
- Output must match the DONE/COMMIT_MSG/PR_SUMMARY shape exactly so Kody2's state-reducer can parse it.
|
|
70
|
+
- Do NOT run git or gh.
|
|
71
|
+
- Do NOT perform the issue's actual work.
|
|
72
|
+
- Emit the final report even if some checks report `MISSING` — the whole point is to learn which mechanisms work.
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
"hooks": {
|
|
4
4
|
"PreToolUse": [
|
|
5
5
|
{
|
|
6
|
-
"matcher": "
|
|
6
|
+
"matcher": "Read",
|
|
7
7
|
"hooks": [
|
|
8
8
|
{
|
|
9
9
|
"type": "command",
|
|
10
10
|
"command": "printf 'HOOK_FIRED_OK\\n' >> /tmp/kody-hook-signal.txt"
|
|
11
11
|
}
|
|
12
|
-
]
|
|
13
|
-
"description": "Kody2 live-test hook — appends HOOK_FIRED_OK to /tmp/kody-hook-signal.txt on every Read tool use, so the agent can verify the hook fired."
|
|
12
|
+
]
|
|
14
13
|
}
|
|
15
14
|
]
|
|
16
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kody-ade/kody-engine",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "kody2 — autonomous development engine. Single-session Claude Code agent behind a generic executor + declarative executable profiles.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|