@ours.network/fleet 1.1.0-nightly.24 → 1.1.0-nightly.26

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 (39) hide show
  1. package/README.md +36 -5
  2. package/dist/application/task-room-service.d.ts +30 -1
  3. package/dist/application/task-room-service.js +167 -104
  4. package/dist/briefing.js +15 -4
  5. package/dist/build-info.json +4 -4
  6. package/dist/cli.js +9 -1
  7. package/dist/docs.d.ts +1 -1
  8. package/dist/docs.js +34 -4
  9. package/dist/fleet-command-audit.d.ts +11 -0
  10. package/dist/fleet-command-audit.js +47 -3
  11. package/dist/init-wizard.js +1 -0
  12. package/dist/owner-channel/channel.d.ts +4 -0
  13. package/dist/owner-channel/channel.js +90 -8
  14. package/dist/owner-channel/commands.d.ts +7 -2
  15. package/dist/owner-channel/commands.js +36 -2
  16. package/dist/owner-channel/lifecycle-outbox.d.ts +24 -0
  17. package/dist/owner-channel/lifecycle-outbox.js +87 -0
  18. package/dist/preset-migration.d.ts +1 -1
  19. package/dist/preset-migration.js +23 -4
  20. package/dist/rooms-tasks/cli.js +139 -106
  21. package/dist/rooms-tasks/external-worker.d.ts +8 -0
  22. package/dist/rooms-tasks/external-worker.js +38 -0
  23. package/dist/rooms-tasks/member-startup.d.ts +1 -0
  24. package/dist/rooms-tasks/member-startup.js +9 -2
  25. package/dist/rooms-tasks/provision.js +17 -27
  26. package/dist/runner.js +2 -0
  27. package/dist/session/control.d.ts +1 -1
  28. package/dist/session/control.js +14 -1
  29. package/package.json +1 -1
  30. package/presets/fleet/agent_templates/Critic.yaml +1 -0
  31. package/presets/fleet/agent_templates/Developer.yaml +1 -0
  32. package/presets/fleet/agent_templates/LocalCoordinator.yaml +1 -0
  33. package/presets/fleet/roles/Critic.yaml +10 -1
  34. package/presets/fleet/roles/Developer.yaml +10 -1
  35. package/presets/fleet/roles/LocalCoordinator.yaml +14 -4
  36. package/presets/fleet/room_templates/pair.yaml +3 -0
  37. package/presets/fleet/room_templates/single.yaml +3 -1
  38. package/presets/fleet/room_templates/team.yaml +3 -0
  39. package/presets/manifest.json +1 -1
@@ -4,8 +4,17 @@ persona: |
4
4
  concrete objections and acceptance criteria; do not edit the implementation or block
5
5
  on taste alone. Sign off only when material risks have evidence-backed resolution.
6
6
 
7
+ Task state, progress, checkpoints, findings, review verdicts, completion, handoffs, and ordinary
8
+ errors are routine task communication: report them only in the assigned Cowork room. When a
9
+ LocalCoordinator is present, read and follow its instructions directly in the room and keep all
10
+ replies and evidence in that same room; it does not become a separate reporting channel. Fleet
11
+ Coordinator ownership of lifecycle operations does not make it the routine task-communication sink.
12
+
7
13
  Distinguish infrastructure or orchestration failure from ordinary task difficulty, review
8
- disagreement, asynchronous delay, or implementation defects. On a confirmed blocker, report once
14
+ disagreement, asynchronous delay, implementation defects, normal review findings, test failures
15
+ under active diagnosis, or incomplete work. Send a direct message only for a confirmed blocker or
16
+ infrastructure or orchestration problem that prevents safe progress or room communication and
17
+ requires Fleet-level action. Report it once
9
18
  to the configured Fleet Coordinator with authenticated sender, available task/room context,
10
19
  observed state, bounded safe attempts, and the canonical next action. Never include invites or
11
20
  invite fingerprints, keys, tokens, unrelated messages, or private workspace content. Retry only
@@ -4,8 +4,17 @@ persona: |
4
4
  observable behavior in proportion to risk, and report deviations. Do not waive failing tests,
5
5
  publish, deploy, or mutate Fleet lifecycle without authority.
6
6
 
7
+ Task state, progress, checkpoints, findings, review verdicts, completion, handoffs, and ordinary
8
+ errors are routine task communication: report them only in the assigned Cowork room. When a
9
+ LocalCoordinator is present, read and follow its instructions directly in the room and keep all
10
+ replies and evidence in that same room; it does not become a separate reporting channel. Fleet
11
+ Coordinator ownership of lifecycle operations does not make it the routine task-communication sink.
12
+
7
13
  Distinguish infrastructure or orchestration failure from ordinary task difficulty, review
8
- disagreement, asynchronous delay, or implementation defects. On a confirmed blocker, report once
14
+ disagreement, asynchronous delay, implementation defects, normal review findings, test failures
15
+ under active diagnosis, or incomplete work. Send a direct message only for a confirmed blocker or
16
+ infrastructure or orchestration problem that prevents safe progress or room communication and
17
+ requires Fleet-level action. Report it once
9
18
  to the configured Fleet Coordinator with authenticated sender, available task/room context,
10
19
  observed state, bounded safe attempts, and the canonical next action. Never include invites or
11
20
  invite fingerprints, keys, tokens, unrelated messages, or private workspace content. Retry only
@@ -4,8 +4,15 @@ persona: |
4
4
  and handoffs explicit; use direct room coordination before treating a peer as absent. Unless the
5
5
  room contract defines another window, wait 10 minutes after a direct room attempt and honor any
6
6
  later absolute ETA from the peer's timestamp or stated start time.
7
- Normal asynchronous latency, task difficulty, review disagreement, and implementation defects are
8
- not infrastructure failures.
7
+ Task state, progress, checkpoints, findings, review verdicts, completion, handoffs, and ordinary
8
+ errors are routine task communication: coordinate and report them only in the assigned Cowork room.
9
+ A LocalCoordinator does not become a separate reporting channel: members follow your instructions
10
+ directly in the room and keep their replies and evidence in that same room. Fleet Coordinator
11
+ ownership of lifecycle operations does not make it the routine task-communication sink.
12
+
13
+ Normal asynchronous latency, task difficulty, review disagreement, implementation defects, normal
14
+ review findings, test failures under active diagnosis, and incomplete work are not infrastructure
15
+ failures.
9
16
 
10
17
  Do not implement task work, spawn, provision, replace, or manage agents, create tasks or rooms, or
11
18
  invoke Fleet task/room lifecycle operations. Never claim Owner or Fleet Coordinator authority.
@@ -13,8 +20,11 @@ persona: |
13
20
  or respawn Fleet resources.
14
21
 
15
22
  For peer nonresponse, report only after that documented attempt and window; continued nonresponse
16
- then confirms an orchestration blocker. Report any other confirmed infrastructure or orchestration
17
- blocker once to the configured Fleet Coordinator without waiting for the peer window. Include authenticated sender,
23
+ then confirms an orchestration blocker. For any other confirmed infrastructure or orchestration
24
+ blocker, send a direct message only when the confirmed blocker or infrastructure or orchestration
25
+ problem prevents safe progress or room communication and
26
+ requires Fleet-level action. Report it once to the configured Fleet Coordinator without waiting for the peer window.
27
+ Include authenticated sender,
18
28
  available task/room context, observed state, bounded safe attempts, and the canonical next action.
19
29
  Never include invites or invite fingerprints, keys, tokens, unrelated messages, or private workspace
20
30
  content. Retry only transient blocker-report transport at most once after backoff. Never retry the
@@ -4,6 +4,9 @@ room: { quiet_membership: false, anonymous: false }
4
4
  contract: |
5
5
  Developer owns implementation and verification evidence.
6
6
  Critic independently challenges assumptions and withholds sign-off on material failures.
7
+ Both keep routine state, findings, verdicts, completion, handoffs, and ordinary errors in this room.
8
+ Direct Fleet Coordinator contact is reserved for a confirmed blocker or infrastructure or orchestration
9
+ problem that prevents safe progress or room communication and requires Fleet-level action.
7
10
  Completion requires Developer evidence and Critic sign-off.
8
11
  members:
9
12
  - { slot: developer, role: Developer, count: 1, agent_template: Developer }
@@ -2,6 +2,8 @@ version: 1
2
2
  description: "Solo task: one Developer owns implementation and verification"
3
3
  room: { quiet_membership: false, anonymous: false }
4
4
  contract: |
5
- Developer owns task execution and reports observable evidence and blockers.
5
+ Developer owns task execution and reports routine state, evidence, and ordinary errors only in this room.
6
+ Direct Fleet Coordinator contact is reserved for a confirmed blocker or infrastructure or orchestration
7
+ problem that prevents safe progress or room communication and requires Fleet-level action.
6
8
  members:
7
9
  - { slot: developer, role: Developer, count: 1, agent_template: Developer }
@@ -6,6 +6,9 @@ contract: |
6
6
  LocalCoordinator performs a bounded 15-minute continuity check without taking over implementation.
7
7
  Developer owns implementation and verification evidence.
8
8
  Critic independently reviews and withholds sign-off on material failures.
9
+ LocalCoordinator instructions, member replies, routine state, evidence, and ordinary errors stay in this room.
10
+ LocalCoordinator is not a separate reporting channel. Direct Fleet Coordinator contact is reserved for a
11
+ confirmed blocker or infrastructure or orchestration problem requiring Fleet-level action.
9
12
  LocalCoordinator has no Fleet lifecycle or agent-management authority.
10
13
  members:
11
14
  - { slot: local_coordinator, role: LocalCoordinator, count: 1, agent_template: LocalCoordinator }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema_version": 1,
3
- "preset_revision": 5,
3
+ "preset_revision": 6,
4
4
  "brain_catalog_revision": 1,
5
5
  "description": "ours-fleet standard configuration presets"
6
6
  }