@ours.network/fleet-codex 2.4.3 → 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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ours-fleet",
3
- "version": "2.4.3",
3
+ "version": "2.5.0",
4
4
  "description": "Spawn, configure, and oversee ours-fleet roles from OpenAI Codex.",
5
5
  "author": {
6
6
  "name": "Adapt Framework Solutions Ltd",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ours.network/fleet-codex",
3
- "version": "2.4.3",
3
+ "version": "2.5.0",
4
4
  "description": "Native Codex plugin for spawning, configuring, and overseeing ours-fleet agents.",
5
5
  "type": "module",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -34,8 +34,9 @@ the same shape applies to native approval: only `never` reaches the tools
34
34
  without a console, and `on-request` becomes a refusal when nobody can answer.
35
35
  Judge a native mode by what it grants, not by how permissive its name sounds.
36
36
 
37
- **Trap 2 — the unattended capability floor.** A role with no console cannot
38
- answer a permission request, so the request is refused. `ours-fleet` checks each
37
+ **Trap 2 — the unattended capability floor.** Every permission request a role
38
+ raises waits for the Owner's answer (in its session or the feed), with no
39
+ timeout, so a role below the floor stops at each one until someone answers. `ours-fleet` checks each
39
40
  role's resolved permissions against a fixed floor before launch:
40
41
 
41
42
  - `read-state` — read its briefing, ROUTINES.md, and WORKLOG.md
@@ -46,9 +47,8 @@ role's resolved permissions against a fixed floor before launch:
46
47
  - `status-commands` — run the inspection commands its briefing prescribes
47
48
 
48
49
  `ours-fleet config` and `ours-fleet doctor` report this per role as
49
- `unattended floor: <Name>`. Under `--unattended deny` a shortfall FAILS doctor,
50
- because those requests will be denied silently. Under `--unattended wait` it
51
- warns, because a human can still attach and answer.
50
+ `unattended floor: <Name>`. A shortfall warns: each of those requests waits for
51
+ the Owner's answer.
52
52
 
53
53
  What this means in practice, on this harness:
54
54
 
@@ -74,12 +74,11 @@ user authorizes it, then pick:
74
74
  role): it needs `--approval allow --filesystem workspace`. That is a real
75
75
  grant, so get the user's explicit authorization for it, and confine the role
76
76
  with `--isolation-file` rather than by withholding permissions it needs.
77
- Use `--unattended deny` so the role never blocks on an unanswerable request.
78
77
  - **A human will attach and answer prompts**: `--approval ask --filesystem
79
- workspace --unattended wait`. Doctor warns that the floor is unmet — that
80
- warning is correct and expected; the role will block until someone answers.
78
+ workspace`. Doctor warns that the floor is unmet — that warning is correct
79
+ and expected; each request waits for the Owner until someone answers.
81
80
  - **The user will not authorize `allow`, and nobody will attend it**: say so
82
- plainly. That role cannot do its job, and doctor will fail it. Reduce the job
81
+ plainly. That role cannot do its job: it waits for the Owner at every step. Reduce the job
83
82
  or get the authorization; do not paper over it with a mode that only hides
84
83
  the prompt.
85
84
 
@@ -142,7 +141,7 @@ Build an argument array from the approved choices. Permanent, unattended:
142
141
  ```sh
143
142
  ours-fleet spawn Worker --brain CodexWorker --role Worker \
144
143
  --cwd /absolute/project \
145
- --approval allow --filesystem workspace --unattended deny \
144
+ --approval allow --filesystem workspace \
146
145
  --isolation-file /tmp/worker-isolation.yaml \
147
146
  --coordinator Coordinator
148
147
  ```
@@ -152,7 +151,7 @@ Permanent, attended — a human will answer its prompts:
152
151
  ```sh
153
152
  ours-fleet spawn Worker --brain CodexWorker --role Worker \
154
153
  --cwd /absolute/project \
155
- --approval ask --filesystem workspace --unattended wait
154
+ --approval ask --filesystem workspace
156
155
  ```
157
156
 
158
157
  Add `--temp` for a temporary role. Pass Brain and Role selections exactly as