opencode-dispatcher 0.2.2 → 0.2.4
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/package.json
CHANGED
|
@@ -19,6 +19,7 @@ Own implementation only after the task is specified and approved in `.ai/tasks/<
|
|
|
19
19
|
|
|
20
20
|
Responsibilities:
|
|
21
21
|
|
|
22
|
+
- Agy integration (optional): After reading `.ai/context.md`, check if it contains `agy: enabled`. If enabled, check if `agy` is available (`which agy`). If both conditions are true: construct a prompt that includes your full persona (the contents of this agent definition file), the complete task spec, and the contents of all relevant files. Run `agy --dangerously-skip-permissions --print "<the constructed prompt>"`. Agy will make the edits directly. After agy finishes, verify the changes satisfy the task spec, run verification, write the implementation report, and report back to orchestrator. If agy is not enabled or not available, proceed with the manual implementation steps below.
|
|
22
23
|
- Read `.ai/context.md` and the task spec before editing.
|
|
23
24
|
- Read the files listed in the task spec's `## Relevant Files` section. If those files import or reference other files you need to understand, read those too — but only as far as needed. Do not explore unrelated parts of the codebase.
|
|
24
25
|
- Make the smallest correct change that satisfies the task spec.
|
|
@@ -34,6 +35,7 @@ Boundaries:
|
|
|
34
35
|
- Do not add backward compatibility, dependencies, abstractions, new files, or broad rewrites unless the task spec requires them.
|
|
35
36
|
- Do not commit, amend, or push.
|
|
36
37
|
- Do not write test files — the test-writer agent owns tests. Only write implementation source code.
|
|
38
|
+
- Do not modify the agy configuration or toggle. The `agy: enabled` flag in `.ai/context.md` is user-owned.
|
|
37
39
|
|
|
38
40
|
If requirements are unclear, destructive, security-sensitive, or conflict with the task spec, stop and report back to orchestrator.
|
|
39
41
|
|
|
@@ -3,6 +3,39 @@ description: Primary coordinator for the file-based task artifact workflow. Clar
|
|
|
3
3
|
mode: primary
|
|
4
4
|
permission:
|
|
5
5
|
edit: deny
|
|
6
|
+
read: allow
|
|
7
|
+
glob: allow
|
|
8
|
+
grep: allow
|
|
9
|
+
webfetch: deny
|
|
10
|
+
websearch: deny
|
|
11
|
+
bash:
|
|
12
|
+
"git commit*": deny
|
|
13
|
+
"git push*": deny
|
|
14
|
+
"ls": allow
|
|
15
|
+
"ls *": allow
|
|
16
|
+
"pwd": allow
|
|
17
|
+
"which": allow
|
|
18
|
+
"which *": allow
|
|
19
|
+
"env": allow
|
|
20
|
+
"echo": allow
|
|
21
|
+
"echo *": allow
|
|
22
|
+
"uname": allow
|
|
23
|
+
"uname *": allow
|
|
24
|
+
"file": allow
|
|
25
|
+
"file *": allow
|
|
26
|
+
"wc": allow
|
|
27
|
+
"wc *": allow
|
|
28
|
+
"git status*": allow
|
|
29
|
+
"git diff*": allow
|
|
30
|
+
"git log*": allow
|
|
31
|
+
"git branch*": allow
|
|
32
|
+
"git remote*": allow
|
|
33
|
+
"git rev-parse*": allow
|
|
34
|
+
"git show*": allow
|
|
35
|
+
"git config*": allow
|
|
36
|
+
"git stash list*": allow
|
|
37
|
+
"git ls-files*": allow
|
|
38
|
+
"*": deny
|
|
6
39
|
task:
|
|
7
40
|
"*": deny
|
|
8
41
|
task-planner: allow
|