@fro.bot/systematic 3.5.1 → 3.5.2
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
|
@@ -17,6 +17,7 @@ Every subagent dispatch should carry the same bounded brief, expressed through t
|
|
|
17
17
|
Specialist: systematic-implementer
|
|
18
18
|
Objective: Implement the auth module
|
|
19
19
|
Scope: Make only the changes needed for the auth module.
|
|
20
|
+
Workspace: /absolute/path/to/expected-repository-or-worktree
|
|
20
21
|
Return: List the changed files and summarize the implementation.
|
|
21
22
|
```
|
|
22
23
|
|
|
@@ -24,6 +25,7 @@ Return: List the changed files and summarize the implementation.
|
|
|
24
25
|
- **Specialist** — the registered agent or persona best suited to the work (for example, an implementer or researcher)
|
|
25
26
|
- **Objective** — a concise statement of the outcome
|
|
26
27
|
- **Scope** — full instructions, boundaries, dependencies, and files in scope
|
|
28
|
+
- **Workspace** — for any write-capable dispatch, the explicit expected repository or worktree root
|
|
27
29
|
- **Return** — the result format expected from the specialist
|
|
28
30
|
|
|
29
31
|
**Optional brief elements:**
|
|
@@ -61,6 +63,7 @@ After the first result, dispatch:
|
|
|
61
63
|
Objective: Implement caching
|
|
62
64
|
Scope: Implement caching based on the research result below.
|
|
63
65
|
Input: Include the first specialist's returned research.
|
|
66
|
+
Workspace: /absolute/path/to/expected-repository-or-worktree
|
|
64
67
|
Return: List changed files and summarize the implementation.
|
|
65
68
|
```
|
|
66
69
|
|
|
@@ -110,6 +113,12 @@ When dispatching units in parallel, include these instructions in each specialis
|
|
|
110
113
|
|
|
111
114
|
> Do not stage files (`git add`), create commits, or run the project test suite. Leave staging and committing to the orchestrator or caller.
|
|
112
115
|
|
|
116
|
+
## Workspace Attestation
|
|
117
|
+
|
|
118
|
+
For every write-capable dispatch, the specialist must verify and return its actual repository or worktree root using available repository tooling (for example, `git rev-parse --show-toplevel` when Git is available) and an inventory of changed files. The orchestrator must independently verify the expected worktree's status and diff, plus the source or primary checkout's status, before accepting the result; a path in the brief or a specialist's self-report is not evidence.
|
|
119
|
+
|
|
120
|
+
If writes landed in the wrong checkout, stop dependent dispatches, inspect both diffs, transfer only intended changes deliberately, and restore only confirmed accidental agent edits. Do not blindly copy or reset.
|
|
121
|
+
|
|
113
122
|
## Result Synthesis
|
|
114
123
|
|
|
115
124
|
After specialists complete, the orchestrator synthesizes results:
|
|
@@ -138,6 +147,7 @@ After specialists complete, the orchestrator synthesizes results:
|
|
|
138
147
|
| Background unavailable | Foreground only — serial or batched |
|
|
139
148
|
| Specialist fails | Diagnose, correct the brief, then re-dispatch or resume the prior session where supported |
|
|
140
149
|
| File collision detected post-parallel | Stage non-colliding files (if workflow owns git ops), re-run colliding units serially |
|
|
150
|
+
| Write-capable dispatch | Include the expected root; require actual-root and changed-file attestation; independently verify both worktrees before acceptance |
|
|
141
151
|
|
|
142
152
|
## Common Mistakes
|
|
143
153
|
|