@maestria/opencode 0.6.0 → 0.6.1
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/agents/adventurer.md +26 -1
- package/agents/architect.md +20 -1
- package/agents/orchestrator.md +7 -3
- package/agents/planner.md +21 -1
- package/agents/reviewer.md +22 -0
- package/agents/writer.md +22 -0
- package/package.json +1 -1
package/agents/adventurer.md
CHANGED
|
@@ -19,10 +19,35 @@ permission:
|
|
|
19
19
|
edit: deny
|
|
20
20
|
bash:
|
|
21
21
|
"*": ask
|
|
22
|
+
ls*: allow
|
|
23
|
+
cat*: allow
|
|
24
|
+
echo*: allow
|
|
25
|
+
head*: allow
|
|
26
|
+
tail*: allow
|
|
27
|
+
grep*: allow
|
|
28
|
+
rg*: allow
|
|
29
|
+
wc*: allow
|
|
30
|
+
which*: allow
|
|
31
|
+
diff*: allow
|
|
32
|
+
stat*: allow
|
|
33
|
+
pwd*: allow
|
|
34
|
+
cd*: allow
|
|
35
|
+
find*: allow
|
|
36
|
+
printf*: allow
|
|
22
37
|
git log*: allow
|
|
23
38
|
git diff*: allow
|
|
24
39
|
git status*: allow
|
|
25
|
-
|
|
40
|
+
git show*: allow
|
|
41
|
+
git branch*: allow
|
|
42
|
+
git rev-parse*: allow
|
|
43
|
+
git remote*: allow
|
|
44
|
+
git stash*: allow
|
|
45
|
+
git config*: allow
|
|
46
|
+
pnpm*: allow
|
|
47
|
+
npm*: allow
|
|
48
|
+
opensrc*: allow
|
|
49
|
+
agent-browser*: allow
|
|
50
|
+
rtk*: allow
|
|
26
51
|
---
|
|
27
52
|
|
|
28
53
|
<!-- Auto-generated from @maestria/core. Do not edit directly.
|
package/agents/architect.md
CHANGED
|
@@ -15,10 +15,29 @@ permission:
|
|
|
15
15
|
edit: deny
|
|
16
16
|
bash:
|
|
17
17
|
"*": ask
|
|
18
|
+
ls*: allow
|
|
19
|
+
cat*: allow
|
|
20
|
+
echo*: allow
|
|
21
|
+
head*: allow
|
|
22
|
+
tail*: allow
|
|
23
|
+
grep*: allow
|
|
24
|
+
rg*: allow
|
|
25
|
+
wc*: allow
|
|
26
|
+
which*: allow
|
|
27
|
+
diff*: allow
|
|
28
|
+
stat*: allow
|
|
29
|
+
pwd*: allow
|
|
30
|
+
cd*: allow
|
|
31
|
+
find*: allow
|
|
32
|
+
printf*: allow
|
|
18
33
|
git diff*: allow
|
|
19
34
|
git log*: allow
|
|
20
35
|
git status*: allow
|
|
21
|
-
|
|
36
|
+
git show*: allow
|
|
37
|
+
git branch*: allow
|
|
38
|
+
opensrc*: allow
|
|
39
|
+
pnpm*: allow
|
|
40
|
+
npm*: allow
|
|
22
41
|
npm view *: allow
|
|
23
42
|
---
|
|
24
43
|
|
package/agents/orchestrator.md
CHANGED
|
@@ -55,14 +55,18 @@ These apply on every invocation without exception:
|
|
|
55
55
|
8. **!!! Default to the most specialized specialist for the question, not to `@builder`** - most tasks need `@adventurer` (recon), `@architect` (design), `@planner` (multi-phase), `@diagnose` (bugs), `@reviewer` (QA), or `@writer` (docs) before any code is touched. See the **Trigger phrases** section below.
|
|
56
56
|
9. **!!! After any `@builder` task that lands a code change, dispatch `@reviewer` for validation** - unless the user explicitly opts out in the same turn. Code without review is a maker/checker split violation. The default pipeline always ends with @reviewer, not with implementation.
|
|
57
57
|
10. **Use Conventional Commits for commit messages** - when composing commit messages, use the most specific prefix:
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
|
|
59
|
+
### Preferred order (most common first)
|
|
60
|
+
- `refactor`: Changes to existing behavior (restructuring, permission changes, internal improvements). **Default when unsure.**
|
|
60
61
|
- `fix`: Bug fix
|
|
62
|
+
- `feat`: New **user-facing** feature or capability. Not for internal refactoring, dependency updates, or skill configuration.
|
|
61
63
|
- `chore`: Maintenance, tooling, dependencies
|
|
62
64
|
- `docs`: Documentation only
|
|
63
65
|
- `ci`: CI/CD changes
|
|
64
66
|
- `test`: Test additions or changes
|
|
65
67
|
|
|
68
|
+
**Decision rule:** If a change doesn't introduce a new user-facing capability, it's `refactor`, not `feat`.
|
|
69
|
+
|
|
66
70
|
11. **!!! Don't anthropomorphize effort** - You are a dispatcher, not an implementer. Thinking "that analysis would be too much work" or "this approach is less effort" is always wrong reasoning - you delegate all work to specialists who have machine-scale capabilities. When assessing alternatives, choose the right specialist for the question, not the one that "feels" like less work. Effort estimation using human standards is a category error for a dispatcher that only routes.
|
|
67
71
|
|
|
68
72
|
12. **!!! Ship docs with code** - Every functional change needs a docs audit before committing (see step 1a). Don't wait to be asked.
|
|
@@ -89,7 +93,7 @@ When a logical unit of work is complete (implementation done, tests pass, valida
|
|
|
89
93
|
- If on any other branch (feature branch): push automatically after successful validation. Do not ask.
|
|
90
94
|
- Do not push every intermediate commit - push when a meaningful batch is ready or before creating a PR.
|
|
91
95
|
|
|
92
|
-
7. **PR** - After
|
|
96
|
+
7. **PR** - After pushing to a feature branch (non-main/master) where no PR exists yet, create a PR automatically. Check the remote URL (`git remote -v`) to detect the platform (GitHub → `gh`, GitLab → `glab`, Bitbucket → `bb`), then use the appropriate CLI or API. Do not ask - just create it. The user can edit after creation.
|
|
93
97
|
|
|
94
98
|
## Workflow Mode Override
|
|
95
99
|
|
package/agents/planner.md
CHANGED
|
@@ -16,10 +16,30 @@ permission:
|
|
|
16
16
|
edit: ask
|
|
17
17
|
bash:
|
|
18
18
|
"*": ask
|
|
19
|
+
ls*: allow
|
|
20
|
+
cat*: allow
|
|
21
|
+
echo*: allow
|
|
22
|
+
head*: allow
|
|
23
|
+
tail*: allow
|
|
24
|
+
grep*: allow
|
|
25
|
+
rg*: allow
|
|
26
|
+
wc*: allow
|
|
27
|
+
which*: allow
|
|
28
|
+
diff*: allow
|
|
29
|
+
stat*: allow
|
|
30
|
+
pwd*: allow
|
|
31
|
+
cd*: allow
|
|
32
|
+
find*: allow
|
|
33
|
+
printf*: allow
|
|
19
34
|
git status*: allow
|
|
20
35
|
git diff*: allow
|
|
21
36
|
git log*: allow
|
|
22
|
-
|
|
37
|
+
git show*: allow
|
|
38
|
+
git branch*: allow
|
|
39
|
+
git rev-parse*: allow
|
|
40
|
+
mkdir*: allow
|
|
41
|
+
pnpm*: allow
|
|
42
|
+
npm*: allow
|
|
23
43
|
webfetch: allow
|
|
24
44
|
todowrite: allow
|
|
25
45
|
skill: allow
|
package/agents/reviewer.md
CHANGED
|
@@ -18,10 +18,32 @@ permission:
|
|
|
18
18
|
edit: deny
|
|
19
19
|
bash:
|
|
20
20
|
"*": ask
|
|
21
|
+
ls*: allow
|
|
22
|
+
cat*: allow
|
|
23
|
+
echo*: allow
|
|
24
|
+
head*: allow
|
|
25
|
+
tail*: allow
|
|
26
|
+
grep*: allow
|
|
27
|
+
rg*: allow
|
|
28
|
+
wc*: allow
|
|
29
|
+
which*: allow
|
|
30
|
+
diff*: allow
|
|
31
|
+
stat*: allow
|
|
32
|
+
pwd*: allow
|
|
33
|
+
cd*: allow
|
|
34
|
+
find*: allow
|
|
35
|
+
printf*: allow
|
|
21
36
|
git status*: allow
|
|
22
37
|
git diff*: allow
|
|
23
38
|
git log*: allow
|
|
24
39
|
git show*: allow
|
|
40
|
+
git branch*: allow
|
|
41
|
+
git rev-parse*: allow
|
|
42
|
+
pnpm*: allow
|
|
43
|
+
npm*: allow
|
|
44
|
+
vp*: allow
|
|
45
|
+
rtk*: allow
|
|
46
|
+
node*: allow
|
|
25
47
|
webfetch: allow
|
|
26
48
|
---
|
|
27
49
|
|
package/agents/writer.md
CHANGED
|
@@ -18,10 +18,32 @@ permission:
|
|
|
18
18
|
todowrite: allow
|
|
19
19
|
bash:
|
|
20
20
|
"*": ask
|
|
21
|
+
ls*: allow
|
|
22
|
+
cat*: allow
|
|
23
|
+
echo*: allow
|
|
24
|
+
head*: allow
|
|
25
|
+
tail*: allow
|
|
26
|
+
grep*: allow
|
|
27
|
+
rg*: allow
|
|
28
|
+
wc*: allow
|
|
29
|
+
which*: allow
|
|
30
|
+
diff*: allow
|
|
31
|
+
stat*: allow
|
|
32
|
+
pwd*: allow
|
|
33
|
+
cd*: allow
|
|
34
|
+
find*: allow
|
|
35
|
+
printf*: allow
|
|
21
36
|
git status*: allow
|
|
22
37
|
git diff*: allow
|
|
23
38
|
git log*: allow
|
|
39
|
+
git show*: allow
|
|
40
|
+
git branch*: allow
|
|
41
|
+
git rev-parse*: allow
|
|
42
|
+
pnpm*: allow
|
|
43
|
+
npm*: allow
|
|
24
44
|
npm view *: allow
|
|
45
|
+
vp*: allow
|
|
46
|
+
mkdir*: allow
|
|
25
47
|
---
|
|
26
48
|
|
|
27
49
|
<!-- Auto-generated from @maestria/core. Do not edit directly.
|