delegation-layer 0.3.0 → 0.3.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.
Files changed (30) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
  3. package/plugins/delegation-layer/.claude-plugin/plugin.json +1 -1
  4. package/plugins/delegation-layer/.codex-plugin/plugin.json +1 -1
  5. package/plugins/delegation-layer/skills/agent-integration/SKILL.md +16 -8
  6. package/plugins/delegation-layer/skills/agent-integration/evals/evals.json +23 -3
  7. package/plugins/delegation-layer/skills/agent-integration/examples/json-results.md +5 -2
  8. package/plugins/delegation-layer/skills/agent-integration/examples/managed-workspace.md +25 -10
  9. package/plugins/delegation-layer/skills/agent-integration/examples/read-only-task.md +3 -1
  10. package/plugins/delegation-layer/skills/agent-integration/references/ccr.md +5 -4
  11. package/plugins/delegation-layer/skills/agent-integration/references/collaboration.md +2 -2
  12. package/plugins/delegation-layer/skills/agent-integration/references/command-reference.md +38 -30
  13. package/plugins/delegation-layer/skills/agent-integration/references/continuation.md +7 -4
  14. package/plugins/delegation-layer/skills/agent-integration/references/interaction.md +6 -5
  15. package/plugins/delegation-layer/skills/agent-integration/references/result-handling.md +7 -4
  16. package/plugins/delegation-layer/skills/agent-integration/references/routing-rule.json +1 -1
  17. package/plugins/delegation-layer/skills/agent-integration/references/workspaces.md +18 -14
  18. package/skills/agent-integration/SKILL.md +16 -8
  19. package/skills/agent-integration/evals/evals.json +23 -3
  20. package/skills/agent-integration/examples/json-results.md +5 -2
  21. package/skills/agent-integration/examples/managed-workspace.md +25 -10
  22. package/skills/agent-integration/examples/read-only-task.md +3 -1
  23. package/skills/agent-integration/references/ccr.md +5 -4
  24. package/skills/agent-integration/references/collaboration.md +2 -2
  25. package/skills/agent-integration/references/command-reference.md +38 -30
  26. package/skills/agent-integration/references/continuation.md +7 -4
  27. package/skills/agent-integration/references/interaction.md +6 -5
  28. package/skills/agent-integration/references/result-handling.md +7 -4
  29. package/skills/agent-integration/references/routing-rule.json +1 -1
  30. package/skills/agent-integration/references/workspaces.md +18 -14
@@ -7,6 +7,10 @@ or attaches to a managed workspace (`--isolation git-worktree` or
7
7
  `--workspace ID`), or creates or removes a [Git checkpoint](#git-checkpoints).
8
8
 
9
9
  This reference is self-contained guidance for using managed workspaces.
10
+ Commands use the CLI default under the main skill's
11
+ [root rule](../SKILL.md#3-prepare-separate-paths-and-a-finite-brief). For a workspace
12
+ or checkpoint in an explicit custom or recorded historical root, pass that
13
+ exact `--root` on every related command.
10
14
 
11
15
  Provider-native permissions still apply inside an isolated checkout. A provider
12
16
  may edit files but be unable to stage or commit because linked-worktree Git
@@ -41,7 +45,7 @@ row ending or a provider outcome alone is not closure evidence.
41
45
  Create a managed workspace from a committed source base:
42
46
 
43
47
  ```text
44
- delegate --root ROOT dispatch --isolation git-worktree --cwd ABS \
48
+ delegate dispatch --isolation git-worktree --cwd ABS \
45
49
  [--base REV] [--workspace-budget DURATION] ... --json
46
50
  ```
47
51
 
@@ -55,7 +59,7 @@ removing that source does not block capture, release, or forget. A request that
55
59
  workspace uses its recorded checkout and source identity:
56
60
 
57
61
  ```text
58
- delegate --root ROOT dispatch --workspace WORKSPACE_ID ... --json
62
+ delegate dispatch --workspace WORKSPACE_ID ... --json
59
63
  ```
60
64
 
61
65
  Public `--workspace` cannot be combined with `--cwd`, `--base`, or
@@ -80,11 +84,11 @@ made no write outside the promised content scope.
80
84
  The CLI currently exposes these managed-workspace commands:
81
85
 
82
86
  ```text
83
- delegate --root ROOT workspace list [--after ID] [--limit 1..50] --json
84
- delegate --root ROOT workspace status ID [--operation OP] [--watch DURATION] --json
85
- delegate --root ROOT workspace exec ID --budget DURATION --json -- ARGV...
86
- delegate --root ROOT workspace release ID [--discard] [--budget DURATION] --json
87
- delegate --root ROOT workspace forget ID [--budget DURATION] --json
87
+ delegate workspace list [--after ID] [--limit 1..50] --json
88
+ delegate workspace status ID [--operation OP] [--watch DURATION] --json
89
+ delegate workspace exec ID --budget DURATION --json -- ARGV...
90
+ delegate workspace release ID [--discard] [--budget DURATION] --json
91
+ delegate workspace forget ID [--budget DURATION] --json
88
92
  ```
89
93
 
90
94
  `workspace exec` passes `ARGV...` directly to the supervised helper; the
@@ -110,7 +114,7 @@ must not mutate the predecessor's immutable records. A retained workspace can be
110
114
  read-only review by attaching its ID, for example:
111
115
 
112
116
  ```text
113
- delegate --root ROOT dispatch --provider codex:review \
117
+ delegate dispatch --provider codex:review \
114
118
  --workspace WORKSPACE_ID --review-target TARGET --brief ABS_BRIEF \
115
119
  --permission read-only --budget 1h --json
116
120
  ```
@@ -183,11 +187,11 @@ fixed Delegate values; trailers carry the checkpoint ID and request digest.
183
187
  This is unrelated to a provider continuation `mode: "checkpoint"`.
184
188
 
185
189
  ```text
186
- delegate --root ROOT checkpoint create --cwd ABS [--budget DURATION] --json
187
- delegate --root ROOT checkpoint create --workspace ID [--budget DURATION] --json
188
- delegate --root ROOT checkpoint status CHECKPOINT_ID [--operation OP] [--watch DURATION] --json
189
- delegate --root ROOT checkpoint list [--after CHECKPOINT_ID] [--limit 1..50] --json
190
- delegate --root ROOT checkpoint remove CHECKPOINT_ID [--budget DURATION] --json
190
+ delegate checkpoint create --cwd ABS [--budget DURATION] --json
191
+ delegate checkpoint create --workspace ID [--budget DURATION] --json
192
+ delegate checkpoint status CHECKPOINT_ID [--operation OP] [--watch DURATION] --json
193
+ delegate checkpoint list [--after CHECKPOINT_ID] [--limit 1..50] --json
194
+ delegate checkpoint remove CHECKPOINT_ID [--budget DURATION] --json
191
195
  ```
192
196
 
193
197
  - `create` names exactly one target: `--cwd` for an absolute ordinary Git
@@ -232,7 +236,7 @@ Save every response and exit code once; follow
232
236
  the same repository as `--cwd`, normally the source the Lead already uses:
233
237
 
234
238
  ```text
235
- delegate --root ROOT dispatch --auto --brief ABS_BRIEF --cwd ABS_SOURCE \
239
+ delegate dispatch --auto --brief ABS_BRIEF --cwd ABS_SOURCE \
236
240
  --isolation git-worktree --base COMMIT_OID \
237
241
  --permission workspace-write --budget 30m --json
238
242
  ```