@kody-ade/kody-engine 0.4.219 → 0.4.221
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 +3 -3
- package/dist/bin/kody.js +570 -665
- package/dist/duties/fix/duty.md +10 -0
- package/dist/duties/fix/profile.json +6 -0
- package/dist/duties/fix-ci/duty.md +10 -0
- package/dist/duties/fix-ci/profile.json +6 -0
- package/dist/duties/init/duty.md +10 -0
- package/dist/duties/init/profile.json +6 -0
- package/dist/duties/merge/duty.md +10 -0
- package/dist/duties/merge/profile.json +6 -0
- package/dist/duties/preview-build/duty.md +10 -0
- package/dist/duties/preview-build/profile.json +6 -0
- package/dist/duties/release/duty.md +10 -0
- package/dist/duties/release/profile.json +6 -0
- package/dist/duties/release-deploy/duty.md +10 -0
- package/dist/duties/release-deploy/profile.json +6 -0
- package/dist/duties/release-prepare/duty.md +10 -0
- package/dist/duties/release-prepare/profile.json +6 -0
- package/dist/duties/release-publish/duty.md +10 -0
- package/dist/duties/release-publish/profile.json +6 -0
- package/dist/duties/resolve/duty.md +10 -0
- package/dist/duties/resolve/profile.json +6 -0
- package/dist/duties/revert/duty.md +10 -0
- package/dist/duties/revert/profile.json +6 -0
- package/dist/duties/run/duty.md +10 -0
- package/dist/duties/run/profile.json +6 -0
- package/dist/duties/sync/duty.md +10 -0
- package/dist/duties/sync/profile.json +6 -0
- package/dist/duties/worker-ask/duty.md +10 -0
- package/dist/duties/worker-ask/profile.json +6 -0
- package/dist/executables/duty-scheduler/profile.json +1 -1
- package/dist/executables/duty-tick/profile.json +2 -2
- package/dist/executables/duty-tick-scripted/profile.json +3 -3
- package/dist/executables/goal-scheduler/scheduler.sh +0 -0
- package/dist/executables/release-deploy/deploy.sh +0 -0
- package/dist/executables/release-prepare/prepare.sh +0 -0
- package/dist/executables/release-publish/publish.sh +0 -0
- package/dist/executables/resolve/apply-prefer.sh +0 -0
- package/dist/executables/revert/revert.sh +0 -0
- package/dist/executables/types.ts +3 -3
- package/dist/executables/worker-ask/profile.json +1 -1
- package/package.json +22 -23
- package/dist/duties/public-actions.json +0 -86
- /package/dist/jobs/watch-stale-prs/{prompt.md → duty.md} +0 -0
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ kody-engine release-publish --issue <N> [--dry-run]
|
|
|
121
121
|
kody-engine release-deploy --issue <N> [--dry-run]
|
|
122
122
|
|
|
123
123
|
# scheduled duties and goals
|
|
124
|
-
kody-engine duty-scheduler # fan out due .kody/duties
|
|
124
|
+
kody-engine duty-scheduler # fan out due .kody/duties/<slug>/ folders
|
|
125
125
|
kody-engine duty-tick --duty <slug> [--force] # one agent tick for one duty
|
|
126
126
|
kody-engine duty-tick-scripted --duty <slug> [--force] # one deterministic tickScript duty tick
|
|
127
127
|
kody-engine goal-scheduler # fan out active .kody/goals/* state files
|
|
@@ -141,9 +141,9 @@ kody-engine stats # inspect run/even
|
|
|
141
141
|
|
|
142
142
|
### Duties
|
|
143
143
|
|
|
144
|
-
A **duty** is a
|
|
144
|
+
A **duty** is a folder at `.kody/duties/<slug>/` with `profile.json` metadata (`every`, `staff`, `action`, `executable`, `stage`, and related fields) plus human-owned prose in `duty.md`. `duty-scheduler` wakes on cron, finds due duties, and dispatches either `duty-tick` for an agent tick or `duty-tick-scripted` for a deterministic `tickScript` duty. `kody init` copies built-in starter duties and scaffolds `.kody/staff/kody.md`.
|
|
145
145
|
|
|
146
|
-
Locked-toolbox duties can declare `tools: [...]` to run with only the named high-level MCP intents plus `submit_state`; duties without `tools
|
|
146
|
+
Locked-toolbox duties can declare `"tools": [...]` in `profile.json` to run with only the named high-level MCP intents plus `submit_state`; duties without `tools` keep the legacy Bash/gh toolbox.
|
|
147
147
|
|
|
148
148
|
### `release`
|
|
149
149
|
|