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.
- package/README.md +4 -2
- package/package.json +1 -1
- package/plugins/delegation-layer/.claude-plugin/plugin.json +1 -1
- package/plugins/delegation-layer/.codex-plugin/plugin.json +1 -1
- package/plugins/delegation-layer/skills/agent-integration/SKILL.md +16 -8
- package/plugins/delegation-layer/skills/agent-integration/evals/evals.json +23 -3
- package/plugins/delegation-layer/skills/agent-integration/examples/json-results.md +5 -2
- package/plugins/delegation-layer/skills/agent-integration/examples/managed-workspace.md +25 -10
- package/plugins/delegation-layer/skills/agent-integration/examples/read-only-task.md +3 -1
- package/plugins/delegation-layer/skills/agent-integration/references/ccr.md +5 -4
- package/plugins/delegation-layer/skills/agent-integration/references/collaboration.md +2 -2
- package/plugins/delegation-layer/skills/agent-integration/references/command-reference.md +38 -30
- package/plugins/delegation-layer/skills/agent-integration/references/continuation.md +7 -4
- package/plugins/delegation-layer/skills/agent-integration/references/interaction.md +6 -5
- package/plugins/delegation-layer/skills/agent-integration/references/result-handling.md +7 -4
- package/plugins/delegation-layer/skills/agent-integration/references/routing-rule.json +1 -1
- package/plugins/delegation-layer/skills/agent-integration/references/workspaces.md +18 -14
- package/skills/agent-integration/SKILL.md +16 -8
- package/skills/agent-integration/evals/evals.json +23 -3
- package/skills/agent-integration/examples/json-results.md +5 -2
- package/skills/agent-integration/examples/managed-workspace.md +25 -10
- package/skills/agent-integration/examples/read-only-task.md +3 -1
- package/skills/agent-integration/references/ccr.md +5 -4
- package/skills/agent-integration/references/collaboration.md +2 -2
- package/skills/agent-integration/references/command-reference.md +38 -30
- package/skills/agent-integration/references/continuation.md +7 -4
- package/skills/agent-integration/references/interaction.md +6 -5
- package/skills/agent-integration/references/result-handling.md +7 -4
- package/skills/agent-integration/references/routing-rule.json +1 -1
- 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
|
|
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
|
|
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
|
|
84
|
-
delegate
|
|
85
|
-
delegate
|
|
86
|
-
delegate
|
|
87
|
-
delegate
|
|
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
|
|
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
|
|
187
|
-
delegate
|
|
188
|
-
delegate
|
|
189
|
-
delegate
|
|
190
|
-
delegate
|
|
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
|
|
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
|
```
|