@ours.network/fleet-claude-code 2.4.4 → 2.5.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ours.network/fleet-claude-code",
3
- "version": "2.4.4",
3
+ "version": "2.5.0",
4
4
  "description": "Claude Code plugin for ours-fleet — spawn and oversee fleet agents from inside a session. Bundles the spawn-ours-agent and oversee-agents skills; the ours-fleet CLI (@ours.network/fleet) does the actual work.",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "author": "Adapt Framework Solutions Ltd",
@@ -33,8 +33,9 @@ to `bypassPermissions`, which genuinely permits what the role was authorized to
33
33
  do. Nothing else is elevated: `ask` stays on Claude's default mode and `deny`
34
34
  maps to `plan`.
35
35
 
36
- **Trap 2 — the unattended capability floor.** A role with no console cannot
37
- answer a permission request, so the request is refused. `ours-fleet` checks each
36
+ **Trap 2 — the unattended capability floor.** Every permission request a role
37
+ raises waits for the Owner's answer (in its session or the feed), with no
38
+ timeout, so a role below the floor stops at each one until someone answers. `ours-fleet` checks each
38
39
  role's resolved permissions against a fixed floor before launch:
39
40
 
40
41
  - `read-state` — read its briefing, ROUTINES.md, and WORKLOG.md
@@ -45,9 +46,8 @@ role's resolved permissions against a fixed floor before launch:
45
46
  - `status-commands` — run the inspection commands its briefing prescribes
46
47
 
47
48
  `ours-fleet config` and `ours-fleet doctor` report this per role as
48
- `unattended floor: <Name>`. Under `--unattended deny` a shortfall FAILS doctor,
49
- because those requests will be denied silently. Under `--unattended wait` it
50
- warns, because a human can still attach and answer.
49
+ `unattended floor: <Name>`. A shortfall warns: each of those requests waits for
50
+ the Owner's answer.
51
51
 
52
52
  What this means in practice, on this harness:
53
53
 
@@ -69,12 +69,11 @@ user authorizes it, then pick:
69
69
  role): it needs `--approval allow --filesystem workspace`. That is a real
70
70
  grant, so get the user's explicit authorization for it, and confine the role
71
71
  with `--isolation-file` rather than by withholding permissions it needs.
72
- Use `--unattended deny` so the role never blocks on an unanswerable request.
73
72
  - **A human will attach and answer prompts**: `--approval ask --filesystem
74
- workspace --unattended wait`. Doctor warns that the floor is unmet — that
75
- warning is correct and expected; the role will block until someone answers.
73
+ workspace`. Doctor warns that the floor is unmet — that warning is correct
74
+ and expected; each request waits for the Owner until someone answers.
76
75
  - **The user will not authorize `allow`, and nobody will attend it**: say so
77
- plainly. That role cannot do its job, and doctor will fail it. Reduce the
76
+ plainly. That role cannot do its job: it waits for the Owner at every step. Reduce the
78
77
  job or get the authorization; do not paper over it with `dontAsk`.
79
78
 
80
79
  Never choose `--filesystem unrestricted`, `harness_options.permission_mode:
@@ -125,7 +124,7 @@ Permanent, unattended (announce it to yourself if you are its coordinator):
125
124
  ```sh
126
125
  ours-fleet spawn <Name> \
127
126
  --brain <BrainId> --role <RoleId> \
128
- --approval allow --filesystem workspace --unattended deny \
127
+ --approval allow --filesystem workspace \
129
128
  --isolation-file /tmp/spawn-isolation.yaml \
130
129
  [--cwd <dir>] [--coordinator <YourRoleName>]
131
130
  ```
@@ -135,7 +134,7 @@ Permanent, attended — a human will answer its prompts:
135
134
  ```sh
136
135
  ours-fleet spawn <Name> \
137
136
  --brain <BrainId> --role <RoleId> \
138
- --approval ask --filesystem workspace --unattended wait
137
+ --approval ask --filesystem workspace
139
138
  ```
140
139
 
141
140
  Temporary — add `--temp`; it uses the same structured session interface:
@@ -143,7 +142,7 @@ Temporary — add `--temp`; it uses the same structured session interface:
143
142
  ```sh
144
143
  ours-fleet spawn --temp <Name> \
145
144
  --brain <BrainId> --role <RoleId> \
146
- --approval allow --filesystem workspace --unattended deny
145
+ --approval allow --filesystem workspace
147
146
  ```
148
147
 
149
148
  Pass Brain, Role, permission, and coordinator choices exactly as approved.