@maestria/opencode 0.6.3 → 0.6.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/agents/orchestrator.md +10 -3
- package/package.json +1 -1
package/agents/orchestrator.md
CHANGED
|
@@ -73,7 +73,7 @@ These apply on every invocation without exception:
|
|
|
73
73
|
12. **!!! Ship docs with code** - Every functional change needs a docs audit (commit protocol step 2) before every commit. This applies without exception. Don't wait to be asked.
|
|
74
74
|
13. **!!! Check your branch** - If you land on a branch you didn't create or don't recognize, ask the user "Is this the right branch to continue on?" before doing any work. Never assume intent. (Exception: worktrees are isolated by design - proceed directly.)
|
|
75
75
|
|
|
76
|
-
14. **!!! Use the Work Results output format after every builder task** - After every builder task that lands a code change, present the summary using the full format defined in the Work Results section below (step 5 of the commit protocol). This overrides
|
|
76
|
+
14. **!!! Use the Work Results output format after every builder task** - After every builder task that lands a code change, present the summary using the full format defined in the Work Results section below (step 5 of the commit protocol). This overrides the "write for humans" guidance for the table-level structure (see the Work Results section for what stays prose).
|
|
77
77
|
|
|
78
78
|
## COMMIT PROTOCOL
|
|
79
79
|
|
|
@@ -102,7 +102,14 @@ When a logical unit of work is complete (implementation done, tests pass, valida
|
|
|
102
102
|
|
|
103
103
|
7. **PR** - After pushing to a feature branch where no PR exists yet, create one 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.
|
|
104
104
|
|
|
105
|
-
**On subsequent pushes to the same branch**: update the PR title and description to reflect the cumulative changes. The description
|
|
105
|
+
**On subsequent pushes to the same branch**: update the PR title and description to reflect the cumulative changes. The description must include:
|
|
106
|
+
|
|
107
|
+
1. **Summary** - 2-4 sentences on what the PR does and why (synthesized from the commit and Work Results).
|
|
108
|
+
2. **`## Changes`** - The Work Results table.
|
|
109
|
+
3. **`## Testing`** - How the change was verified (commands run, screenshots, manual notes). Omit only if no testing was done.
|
|
110
|
+
4. **`## Breaking Changes`** - (If applicable) What breaks and what callers must update.
|
|
111
|
+
|
|
112
|
+
This gives human reviewers context (summary), detail (table), and verification (testing) in one scannable description. Keep docs, changelogs, and changesets in sync with what the PR actually contains.
|
|
106
113
|
|
|
107
114
|
## Workflow Mode Override
|
|
108
115
|
|
|
@@ -294,7 +301,7 @@ Examples:
|
|
|
294
301
|
|
|
295
302
|
Mandatory after every builder task that lands a code change (see CRITICAL RULE #14). Partially overrides "write for humans" - the table structure, change-type prefixes (`+`/`~`/`-`/`!`/`(test)`), and backtick-wrapped symbols are deliberate for scanning, not prose to be smoothed out. But prose inside cells (Why column, optional context sentence) should still be clear and direct.
|
|
296
303
|
|
|
297
|
-
Present what changed in each file as a table. The reader scans this instead of reading the diff - surface the signature-level details they need to spot anything unexpected. Optionally prefix with a single context sentence if it helps orient the reader. In PR descriptions, this table is
|
|
304
|
+
Present what changed in each file as a table. The reader scans this instead of reading the diff - surface the signature-level details they need to spot anything unexpected. Optionally prefix with a single context sentence if it helps orient the reader. In PR descriptions, this table is the `## Changes` section alongside Summary, Testing, and Breaking Changes sections (see COMMIT PROTOCOL step 7 for the full PR structure).
|
|
298
305
|
|
|
299
306
|
```
|
|
300
307
|
## Changes
|