dydo 1.2.51 → 1.2.53
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 +63 -38
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# DynaDocs (dydo)
|
|
2
2
|
|
|
3
|
-
Documentation-driven context and agent orchestration for
|
|
3
|
+
Documentation-driven context and agent orchestration for Claude Code.
|
|
4
4
|
|
|
5
5
|
100% local, 100% under your control.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
DynaDocs uses Claude Code's `PreToolUse` hook system for guard enforcement. Support for other AI coding tools may come in the future, but right now this is designed for and tested with Claude Code.
|
|
8
8
|
|
|
9
9
|
## Stop Doing Agent Work Yourself
|
|
10
10
|
|
|
@@ -30,9 +30,10 @@ DynaDocs gives you explicit, structured control over project context. Your docum
|
|
|
30
30
|
- **No self-review** — The agent that wrote the code cannot review it
|
|
31
31
|
- **Multi-agent orchestration** — Orchestrators coordinate swarms of agents across parallel tasks
|
|
32
32
|
- **Dispatch and messaging** — Agents hand off work, communicate results, and wait for responses
|
|
33
|
-
- **Worktree isolation** — Parallel agents work on separate git branches without conflicts
|
|
33
|
+
- **Worktree isolation** — Parallel agents can work on separate git branches without conflicts
|
|
34
34
|
- **Issue tracking** — Lightweight issue management tied to inquisitions and reviews
|
|
35
35
|
- **Team support** — Each team member gets their own pool of agents
|
|
36
|
+
- **Custom nudges** — Project-specific guardrails: regex patterns that block or warn agents with custom messages
|
|
36
37
|
- **Your process, your rules** — Modify templates, roles, and workflows to match how you work
|
|
37
38
|
|
|
38
39
|
---
|
|
@@ -43,11 +44,21 @@ DynaDocs gives you explicit, structured control over project context. Your docum
|
|
|
43
44
|
# npm (recommended)
|
|
44
45
|
npm install -g dydo
|
|
45
46
|
|
|
46
|
-
# if you have .NET installed
|
|
47
|
+
# if you have .NET installed (faster install)
|
|
47
48
|
dotnet tool install -g dydo
|
|
48
49
|
```
|
|
49
50
|
|
|
50
|
-
**Note:**
|
|
51
|
+
**Note:** Set the `DYDO_HUMAN` environment variable so agents know who they belong to:
|
|
52
|
+
|
|
53
|
+
```powershell
|
|
54
|
+
# Windows (PowerShell)
|
|
55
|
+
[Environment]::SetEnvironmentVariable("DYDO_HUMAN", "YourName", "User")
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# macOS / Linux (add to ~/.bashrc or ~/.zshrc)
|
|
60
|
+
export DYDO_HUMAN="YourName"
|
|
61
|
+
```
|
|
51
62
|
|
|
52
63
|
## Quick Start
|
|
53
64
|
|
|
@@ -79,11 +90,25 @@ dydo fix # Auto-fix what's possible
|
|
|
79
90
|
|
|
80
91
|
**Tip:** [Obsidian](https://obsidian.md) makes navigating the docs easier, but it converts links when you move files. Run `dydo fix` afterward.
|
|
81
92
|
|
|
82
|
-
### 4.
|
|
93
|
+
### 4. Configure paths and roles
|
|
94
|
+
|
|
95
|
+
Edit `dydo.json` to set your project's source and test paths — not every project uses the same folder conventions. Role permissions reference these paths, so agents know where they can write.
|
|
96
|
+
|
|
97
|
+
You can also customize roles in `dydo/_system/roles/` or create entirely new ones with `dydo roles create <name>`.
|
|
98
|
+
|
|
99
|
+
### 5. Customize agent workflows
|
|
100
|
+
|
|
101
|
+
Two options for customizing what agents read and do:
|
|
102
|
+
|
|
103
|
+
- **Template additions** (recommended) — drop markdown files in `dydo/_system/template-additions/`. Templates have `{{include:name}}` hooks at natural extension points. (You can also add your own.) Your additions survive `dydo template update`.
|
|
104
|
+
- **Edit templates directly** — modify files in `dydo/_system/templates/`. More flexible, but `dydo template update` won't update the edited files.
|
|
105
|
+
|
|
106
|
+
Fill out `about.md` with your project context and adjust `coding-standards.md` to your conventions — agents read these during onboarding.
|
|
83
107
|
|
|
84
|
-
|
|
108
|
+
**Tip:** If you want to customize roles, custom nudges (regex pattern with warn or block behaviour with custom message), or something advanced in general, don't write the files manually. Find out what you want with a co-thinker, direct them to DynaDocs's dydo folder on github to learn a bit about the system, lift the guard for them with `dydo guard lift <agent name> 5` and have them do it.
|
|
109
|
+
Then run `dydo validate` to make sure it works.
|
|
85
110
|
|
|
86
|
-
You're ready to go.
|
|
111
|
+
You're ready to go. Keep docs up to date and accurate to match your intent — they're the memory your agents rely on.
|
|
87
112
|
|
|
88
113
|
---
|
|
89
114
|
|
|
@@ -116,7 +141,7 @@ Key capabilities:
|
|
|
116
141
|
- **Worktree isolation** — `dispatch --worktree` gives each agent an isolated git branch
|
|
117
142
|
- **Dispatch queues** — `--queue` serializes terminal launches to avoid resource contention
|
|
118
143
|
- **Inquisition** — adversarial QA agents audit code quality and documentation coverage
|
|
119
|
-
- **Dispute resolution** — judge agents
|
|
144
|
+
- **Dispute resolution** — judge agents review inquisitions and help evaluate evidence
|
|
120
145
|
|
|
121
146
|
---
|
|
122
147
|
|
|
@@ -183,19 +208,20 @@ DynaDocs documents itself using its own system. Agents can learn about dydo by r
|
|
|
183
208
|
|
|
184
209
|
**Note:** Agents call most of these commands themselves.
|
|
185
210
|
Commands frequently used by humans are **bold**.
|
|
211
|
+
Commands meant to be called only by agents are *italic*.
|
|
186
212
|
|
|
187
213
|
### Setup
|
|
188
214
|
| Command | Description |
|
|
189
215
|
|---------|-------------|
|
|
190
216
|
| `dydo init <integration>` | Initialize project (`claude`, `none`) |
|
|
191
217
|
| `dydo init <integration> --join` | Join existing project as new team member |
|
|
192
|
-
|
|
|
218
|
+
| *`dydo whoami`* | *Show current agent identity* |
|
|
193
219
|
|
|
194
220
|
### Documentation
|
|
195
221
|
| Command | Description |
|
|
196
222
|
|---------|-------------|
|
|
197
|
-
| **`dydo check [path]`** | Validate documentation |
|
|
198
|
-
| **`dydo fix [path]`** | Auto-fix issues |
|
|
223
|
+
| **`dydo check [path]`** | **Validate documentation** |
|
|
224
|
+
| **`dydo fix [path]`** | **Auto-fix issues** |
|
|
199
225
|
| `dydo index [path]` | Regenerate index.md from structure |
|
|
200
226
|
| `dydo graph <file>` | Show graph connections for a file |
|
|
201
227
|
| `dydo graph stats [--top N]` | Show top docs by incoming links |
|
|
@@ -203,12 +229,12 @@ Commands frequently used by humans are **bold**.
|
|
|
203
229
|
### Agent Lifecycle
|
|
204
230
|
| Command | Description |
|
|
205
231
|
|---------|-------------|
|
|
206
|
-
|
|
|
207
|
-
|
|
|
208
|
-
|
|
|
209
|
-
| **`dydo agent list [--free] [--all]`** | List agents (default: current human's) |
|
|
210
|
-
| **`dydo agent tree`** | Show dispatch hierarchy of active agents |
|
|
211
|
-
|
|
|
232
|
+
| *`dydo agent claim <name\|auto>`* | *Claim an agent identity* |
|
|
233
|
+
| *`dydo agent release`* | *Release current agent* |
|
|
234
|
+
| *`dydo agent status [name]`* | *Show agent status* |
|
|
235
|
+
| **`dydo agent list [--free] [--all]`** | **List agents (default: current human's)** |
|
|
236
|
+
| **`dydo agent tree`** | **Show dispatch hierarchy of active agents** |
|
|
237
|
+
| *`dydo agent role <role> [--task X]`* | *Set role and permissions* |
|
|
212
238
|
|
|
213
239
|
### Agent Management
|
|
214
240
|
| Command | Description |
|
|
@@ -221,31 +247,31 @@ Commands frequently used by humans are **bold**.
|
|
|
221
247
|
### Workflow
|
|
222
248
|
| Command | Description |
|
|
223
249
|
|---------|-------------|
|
|
224
|
-
|
|
|
225
|
-
|
|
|
226
|
-
|
|
|
227
|
-
|
|
|
228
|
-
|
|
|
229
|
-
|
|
|
250
|
+
| *`dydo dispatch --wait/--no-wait --role <role> --task <name>`* | *Hand off work to another agent* |
|
|
251
|
+
| *`dydo dispatch --worktree ...`* | *Dispatch into an isolated git worktree* |
|
|
252
|
+
| *`dydo dispatch --queue <name> ...`* | *Serialize launches via named queue* |
|
|
253
|
+
| *`dydo inbox list`* | *List agents with inbox items* |
|
|
254
|
+
| *`dydo inbox show`* | *Show current agent's inbox* |
|
|
255
|
+
| *`dydo inbox clear --all`* | *Archive processed items* |
|
|
230
256
|
|
|
231
257
|
### Messaging
|
|
232
258
|
| Command | Description |
|
|
233
259
|
|---------|-------------|
|
|
234
|
-
|
|
|
235
|
-
|
|
|
236
|
-
|
|
|
237
|
-
|
|
|
260
|
+
| *`dydo msg --to <agent> --body "..."`* | *Send message to another agent* |
|
|
261
|
+
| *`dydo msg --to <agent> --subject <task> --body "..."`* | *Message with task context* |
|
|
262
|
+
| *`dydo wait --task <name>`* | *Wait for task-specific message* |
|
|
263
|
+
| *`dydo wait --cancel`* | *Cancel active waits* |
|
|
238
264
|
|
|
239
265
|
### Tasks
|
|
240
266
|
| Command | Description |
|
|
241
267
|
|---------|-------------|
|
|
242
268
|
| `dydo task create <name>` | Create a new task |
|
|
243
|
-
|
|
|
244
|
-
| **`dydo task approve <name>`** / **`--all`** | Approve task(s) (human only) |
|
|
269
|
+
| *`dydo task ready-for-review <name> --summary "..."`* | *Mark task ready for review* |
|
|
270
|
+
| **`dydo task approve <name>`** / **`--all`** | **Approve task(s) (human only)** |
|
|
245
271
|
| `dydo task reject <name>` | Reject task (human only) |
|
|
246
272
|
| `dydo task list` | List tasks |
|
|
247
273
|
| `dydo task compact` | Compact audit snapshots |
|
|
248
|
-
|
|
|
274
|
+
| *`dydo review complete <task>`* | *Complete a code review* |
|
|
249
275
|
|
|
250
276
|
### Issues
|
|
251
277
|
| Command | Description |
|
|
@@ -271,16 +297,16 @@ Commands frequently used by humans are **bold**.
|
|
|
271
297
|
| Command | Description |
|
|
272
298
|
|---------|-------------|
|
|
273
299
|
| `dydo guard` | Check permissions (for hooks) |
|
|
274
|
-
| **`dydo guard lift <agent> [minutes]`** | Temporarily lift guard restrictions |
|
|
300
|
+
| **`dydo guard lift <agent> [minutes]`** | **Temporarily lift guard restrictions** |
|
|
275
301
|
| `dydo guard restore <agent>` | Restore guard restrictions |
|
|
276
|
-
| **`dydo clean <agent>`** | Clean agent workspace |
|
|
277
|
-
|
|
|
278
|
-
|
|
|
302
|
+
| **`dydo agent clean <agent>`** | **Clean agent workspace** |
|
|
303
|
+
| *`dydo workspace init`* | *Initialize agent workspaces* |
|
|
304
|
+
| *`dydo workspace check`* | *Verify workflow before session end* |
|
|
279
305
|
|
|
280
306
|
### Audit
|
|
281
307
|
| Command | Description |
|
|
282
308
|
|---------|-------------|
|
|
283
|
-
| **`dydo audit`** | Generate activity replay visualization |
|
|
309
|
+
| **`dydo audit`** | **Generate activity replay visualization** |
|
|
284
310
|
| `dydo audit --list` | List available sessions |
|
|
285
311
|
| `dydo audit --session <id>` | Show details for a session |
|
|
286
312
|
| `dydo audit compact [year]` | Compact audit snapshots |
|
|
@@ -288,13 +314,12 @@ Commands frequently used by humans are **bold**.
|
|
|
288
314
|
### Template
|
|
289
315
|
| Command | Description |
|
|
290
316
|
|---------|-------------|
|
|
291
|
-
| **`dydo template update`** | Update framework templates and docs |
|
|
317
|
+
| **`dydo template update`** | **Update framework templates and docs** |
|
|
292
318
|
| `dydo template update --diff` | Preview changes without writing |
|
|
293
319
|
|
|
294
320
|
### Utility
|
|
295
321
|
| Command | Description |
|
|
296
322
|
|---------|-------------|
|
|
297
|
-
| `dydo completions <shell>` | Generate shell completions |
|
|
298
323
|
| `dydo version` | Display version |
|
|
299
324
|
|
|
300
325
|
---
|