@ours.network/fleet 1.1.0-nightly.9 → 1.1.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 +285 -46
- package/dist/application/capabilities.js +18 -6
- package/dist/application/fleet-query-service.js +7 -4
- package/dist/application/role-command-service.js +9 -0
- package/dist/application/role-creation-service.d.ts +4 -4
- package/dist/application/role-creation-service.js +8 -1
- package/dist/application/role-repository.d.ts +4 -2
- package/dist/application/role-repository.js +6 -3
- package/dist/application/session-control.d.ts +3 -1
- package/dist/application/session-control.js +4 -2
- package/dist/application/task-room-service.d.ts +92 -39
- package/dist/application/task-room-service.js +562 -289
- package/dist/briefing.js +79 -22
- package/dist/build-info.json +5 -5
- package/dist/canonical-json.d.ts +2 -0
- package/dist/canonical-json.js +10 -0
- package/dist/cli.js +129 -47
- package/dist/config.d.ts +42 -3
- package/dist/config.js +202 -29
- package/dist/creation.d.ts +1 -1
- package/dist/creation.js +7 -4
- package/dist/docs.d.ts +1 -1
- package/dist/docs.js +195 -41
- package/dist/doctor.d.ts +2 -0
- package/dist/doctor.js +40 -4
- package/dist/fleet-command-audit.d.ts +22 -1
- package/dist/fleet-command-audit.js +355 -50
- package/dist/fleet-proxy.d.ts +5 -2
- package/dist/harness/claude-code-session.js +5 -1
- package/dist/harness/codex-app-server-proxy.d.ts +40 -0
- package/dist/harness/codex-app-server-proxy.js +348 -14
- package/dist/harness/codex-session.d.ts +9 -2
- package/dist/harness/codex-session.js +21 -2
- package/dist/harness/codex.d.ts +5 -1
- package/dist/harness/codex.js +104 -10
- package/dist/harness/types.d.ts +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -2
- package/dist/init-guidance.d.ts +1 -1
- package/dist/init-guidance.js +1 -1
- package/dist/init-wizard.d.ts +98 -0
- package/dist/init-wizard.js +631 -0
- package/dist/lifecycle-summary.d.ts +134 -0
- package/dist/lifecycle-summary.js +179 -0
- package/dist/loops/config.d.ts +10 -1
- package/dist/loops/config.js +38 -5
- package/dist/model-recovery.d.ts +1 -1
- package/dist/ops.js +2 -17
- package/dist/owner-channel/channel.d.ts +19 -3
- package/dist/owner-channel/channel.js +301 -120
- package/dist/owner-channel/commands.d.ts +28 -6
- package/dist/owner-channel/commands.js +109 -27
- package/dist/owner-channel/lifecycle-outbox.d.ts +24 -0
- package/dist/owner-channel/lifecycle-outbox.js +87 -0
- package/dist/owner-channel/ours-client.d.ts +19 -0
- package/dist/owner-channel/ours-client.js +3 -0
- package/dist/permissions.js +1 -1
- package/dist/preset-migration.d.ts +42 -0
- package/dist/preset-migration.js +450 -0
- package/dist/reports/artifact.d.ts +10 -0
- package/dist/reports/artifact.js +32 -0
- package/dist/reports/index.d.ts +5 -0
- package/dist/reports/index.js +5 -0
- package/dist/reports/render.d.ts +6 -0
- package/dist/reports/render.js +240 -0
- package/dist/reports/service.d.ts +42 -0
- package/dist/reports/service.js +57 -0
- package/dist/reports/tasks.d.ts +52 -0
- package/dist/reports/tasks.js +177 -0
- package/dist/reports/types.d.ts +315 -0
- package/dist/reports/types.js +6 -0
- package/dist/resolved-plan.js +13 -1
- package/dist/rooms-tasks/cli.d.ts +2 -0
- package/dist/rooms-tasks/cli.js +361 -285
- package/dist/rooms-tasks/close.d.ts +9 -1
- package/dist/rooms-tasks/close.js +23 -7
- package/dist/rooms-tasks/config.js +16 -25
- package/dist/rooms-tasks/cowork-adapter.d.ts +5 -0
- package/dist/rooms-tasks/cowork-adapter.js +13 -0
- package/dist/rooms-tasks/deletion.d.ts +51 -0
- package/dist/rooms-tasks/deletion.js +217 -0
- package/dist/rooms-tasks/external-worker.d.ts +8 -0
- package/dist/rooms-tasks/external-worker.js +38 -0
- package/dist/rooms-tasks/launch-snapshot.d.ts +19 -0
- package/dist/rooms-tasks/launch-snapshot.js +181 -0
- package/dist/rooms-tasks/member-overrides.d.ts +30 -0
- package/dist/rooms-tasks/member-overrides.js +204 -0
- package/dist/rooms-tasks/member-startup.d.ts +1 -0
- package/dist/rooms-tasks/member-startup.js +9 -2
- package/dist/rooms-tasks/provision.js +146 -83
- package/dist/rooms-tasks/room-state.d.ts +1 -0
- package/dist/rooms-tasks/room-state.js +12 -1
- package/dist/rooms-tasks/task-room-name.d.ts +12 -0
- package/dist/rooms-tasks/task-room-name.js +61 -0
- package/dist/rooms-tasks/task-state.d.ts +115 -3
- package/dist/rooms-tasks/task-state.js +361 -11
- package/dist/rooms-tasks/templates.d.ts +4 -1
- package/dist/rooms-tasks/templates.js +34 -3
- package/dist/rooms-tasks/terminal.d.ts +3 -0
- package/dist/rooms-tasks/terminal.js +10 -4
- package/dist/rooms-tasks/types.d.ts +92 -7
- package/dist/rooms-tasks/types.js +14 -1
- package/dist/runner.d.ts +3 -0
- package/dist/runner.js +97 -47
- package/dist/session/acp.d.ts +27 -1
- package/dist/session/acp.js +307 -17
- package/dist/session/arbiter.d.ts +2 -1
- package/dist/session/arbiter.js +2 -0
- package/dist/session/codex-app-server-transport.d.ts +53 -0
- package/dist/session/codex-app-server-transport.js +184 -0
- package/dist/session/codex-app-server.d.ts +122 -0
- package/dist/session/codex-app-server.js +1031 -0
- package/dist/session/control.d.ts +1 -1
- package/dist/session/control.js +17 -1
- package/dist/session/conversation-types.d.ts +4 -4
- package/dist/session/stall-watchdog.d.ts +60 -0
- package/dist/session/stall-watchdog.js +210 -0
- package/dist/session/types.d.ts +29 -8
- package/dist/session/types.js +28 -0
- package/dist/spawn.d.ts +9 -0
- package/dist/spawn.js +77 -9
- package/dist/web/fleet-config-service.d.ts +1 -0
- package/dist/web/fleet-config-service.js +25 -7
- package/dist/web/runtime.js +11 -6
- package/dist/web/server.js +28 -1
- package/dist/web-app/assets/{index-BbTc5KtZ.js → index-C0h3ALvs.js} +8 -8
- package/dist/web-app/index.html +1 -1
- package/package.json +4 -4
- package/presets/brain-catalog.json +17 -0
- package/presets/fleet/{agents → agent_templates}/Critic.yaml +2 -0
- package/presets/fleet/{agents/Agent.yaml → agent_templates/Developer.yaml} +3 -1
- package/presets/fleet/agent_templates/LocalCoordinator.yaml +50 -0
- package/presets/fleet/agents/{Developer.yaml → FleetCoordinator.yaml} +1 -1
- package/presets/fleet/brains/claude-fable-5-high.yaml +5 -0
- package/presets/fleet/brains/claude-fable-5-low.yaml +5 -0
- package/presets/fleet/brains/claude-fable-5-max.yaml +5 -0
- package/presets/fleet/brains/claude-fable-5-medium.yaml +5 -0
- package/presets/fleet/brains/claude-fable-5-xhigh.yaml +5 -0
- package/presets/fleet/brains/claude-opus-5-high.yaml +5 -0
- package/presets/fleet/brains/claude-opus-5-low.yaml +5 -0
- package/presets/fleet/brains/claude-opus-5-max.yaml +5 -0
- package/presets/fleet/brains/claude-opus-5-medium.yaml +5 -0
- package/presets/fleet/brains/claude-opus-5-xhigh.yaml +5 -0
- package/presets/fleet/brains/claude-sonnet-5-high.yaml +5 -0
- package/presets/fleet/brains/claude-sonnet-5-low.yaml +5 -0
- package/presets/fleet/brains/claude-sonnet-5-max.yaml +5 -0
- package/presets/fleet/brains/claude-sonnet-5-medium.yaml +5 -0
- package/presets/fleet/brains/claude-sonnet-5-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-3-codex-spark-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-3-codex-spark-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-3-codex-spark-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-3-codex-spark-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-mini-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-mini-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-mini-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-mini-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-4-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-5-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-5-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-5-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-5-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-luna-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-luna-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-luna-max.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-luna-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-luna-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-sol-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-sol-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-sol-max.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-sol-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-sol-ultra.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-sol-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-terra-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-terra-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-terra-max.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-terra-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-terra-ultra.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-5-6-terra-xhigh.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-6-astra-high.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-6-astra-low.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-6-astra-max.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-6-astra-medium.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-6-astra-ultra.yaml +5 -0
- package/presets/fleet/brains/codex-gpt-6-astra-xhigh.yaml +5 -0
- package/presets/fleet/roles/Coordinator.yaml +37 -0
- package/presets/fleet/roles/Critic.yaml +23 -1
- package/presets/fleet/roles/Developer.yaml +27 -5
- package/presets/fleet/roles/LocalCoordinator.yaml +35 -0
- package/presets/fleet/room_templates/pair.yaml +9 -7
- package/presets/fleet/room_templates/single.yaml +5 -4
- package/presets/fleet/room_templates/team.yaml +12 -8
- package/presets/manifest.json +2 -1
- package/presets/fleet/agents/Architect.yaml +0 -3
- package/presets/fleet/agents/Secretary.yaml +0 -3
- package/presets/fleet/agents/Tester.yaml +0 -3
- package/presets/fleet/roles/Agent.yaml +0 -6
- package/presets/fleet/roles/Architect.yaml +0 -6
- package/presets/fleet/roles/Secretary.yaml +0 -6
- package/presets/fleet/roles/Tester.yaml +0 -6
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
mission: Coordinate sequencing, handoffs, shared context, and blockers inside the assigned task room.
|
|
2
|
+
persona: |
|
|
3
|
+
Coordinate only the existing members of this task and room. Keep decisions, evidence, ownership,
|
|
4
|
+
and handoffs explicit; use direct room coordination before treating a peer as absent. Unless the
|
|
5
|
+
room contract defines another window, wait 10 minutes after a direct room attempt and honor any
|
|
6
|
+
later absolute ETA from the peer's timestamp or stated start time.
|
|
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.
|
|
16
|
+
|
|
17
|
+
Do not implement task work, spawn, provision, replace, or manage agents, create tasks or rooms, or
|
|
18
|
+
invoke Fleet task/room lifecycle operations. Never claim Owner or Fleet Coordinator authority.
|
|
19
|
+
Only the configured Fleet Coordinator may recover, block, unblock, review, finish, delete, replace,
|
|
20
|
+
or respawn Fleet resources.
|
|
21
|
+
|
|
22
|
+
For peer nonresponse, report only after that documented attempt and window; continued nonresponse
|
|
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,
|
|
28
|
+
available task/room context, observed state, bounded safe attempts, and the canonical next action.
|
|
29
|
+
Never include invites or invite fingerprints, keys, tokens, unrelated messages, or private workspace
|
|
30
|
+
content. Retry only transient blocker-report transport at most once after backoff. Never retry the
|
|
31
|
+
failed identity, room, or lifecycle operation after an identity/CID mismatch, consumed or invalid
|
|
32
|
+
invite, permission failure, or lost lifecycle state. Avoid busy-polling
|
|
33
|
+
and duplicate alerts; continue independent safe coordination when useful. If progress is impossible,
|
|
34
|
+
declare your own work state BLOCKED or resting instead of silently hanging; never invoke a Fleet task block.
|
|
35
|
+
bio: Task-local coordinator; engage for sequencing, handoffs, shared context, and blockers among existing room members, not Fleet lifecycle or implementation work.
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
version: 1
|
|
2
|
-
description: "
|
|
2
|
+
description: "Implementation pair: Developer executes and Critic independently reviews"
|
|
3
3
|
room: { quiet_membership: false, anonymous: false }
|
|
4
4
|
contract: |
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Developer owns implementation and verification evidence.
|
|
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.
|
|
10
|
+
Completion requires Developer evidence and Critic sign-off.
|
|
9
11
|
members:
|
|
10
|
-
- { slot:
|
|
11
|
-
- { slot: critic, role: Critic, count: 1,
|
|
12
|
+
- { slot: developer, role: Developer, count: 1, agent_template: Developer }
|
|
13
|
+
- { slot: critic, role: Critic, count: 1, agent_template: Critic }
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
version: 1
|
|
2
|
-
description: "Solo
|
|
2
|
+
description: "Solo task: one Developer owns implementation and verification"
|
|
3
3
|
room: { quiet_membership: false, anonymous: false }
|
|
4
4
|
contract: |
|
|
5
|
-
|
|
6
|
-
|
|
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.
|
|
7
8
|
members:
|
|
8
|
-
- { slot:
|
|
9
|
+
- { slot: developer, role: Developer, count: 1, agent_template: Developer }
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
version: 1
|
|
2
|
-
description: "
|
|
2
|
+
description: "Locally coordinated team: LocalCoordinator sequences, Developer executes, Critic reviews"
|
|
3
3
|
room: { quiet_membership: false, anonymous: false }
|
|
4
4
|
contract: |
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
LocalCoordinator coordinates sequencing, handoffs, context, and blockers among existing members.
|
|
6
|
+
LocalCoordinator performs a bounded 15-minute continuity check without taking over implementation.
|
|
7
|
+
Developer owns implementation and verification evidence.
|
|
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.
|
|
12
|
+
LocalCoordinator has no Fleet lifecycle or agent-management authority.
|
|
9
13
|
members:
|
|
10
|
-
- { slot:
|
|
11
|
-
- { slot: developer, role: Developer, count: 1,
|
|
12
|
-
- { slot:
|
|
14
|
+
- { slot: local_coordinator, role: LocalCoordinator, count: 1, agent_template: LocalCoordinator }
|
|
15
|
+
- { slot: developer, role: Developer, count: 1, agent_template: Developer }
|
|
16
|
+
- { slot: critic, role: Critic, count: 1, agent_template: Critic }
|
package/presets/manifest.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
mission: Complete the assigned task safely and report a verifiable result.
|
|
2
|
-
persona: |
|
|
3
|
-
Work autonomously within the stated scope. Inspect before changing, preserve unrelated
|
|
4
|
-
state, test material work, and ask the owner when authority or intent is ambiguous.
|
|
5
|
-
Do not expand scope, publish, deploy, or claim completion without evidence.
|
|
6
|
-
bio: General-purpose task agent; engage for one bounded task with owner oversight.
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
mission: Produce an implementable specification for the assigned goal.
|
|
2
|
-
persona: |
|
|
3
|
-
Map constraints, interfaces, risks, acceptance criteria, and migration behavior before
|
|
4
|
-
implementation. Resolve ambiguity with the owner and hand off a bounded design. Do not
|
|
5
|
-
implement or approve deployment unless the task explicitly expands your role.
|
|
6
|
-
bio: Solution architect; engage to turn a goal into a bounded, reviewable specification.
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
mission: Implement the agreed solution and maintain the task's shared record.
|
|
2
|
-
persona: |
|
|
3
|
-
Turn agreed decisions into focused code, documentation, and tests. Keep collaborators
|
|
4
|
-
informed with compact evidence and preserve unrelated state. Pause material work for
|
|
5
|
-
required review; do not merge, publish, or widen scope without owner authorization.
|
|
6
|
-
bio: Implementing partner and record keeper; engage to deliver reviewed changes.
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
mission: Verify that the implementation satisfies the approved specification.
|
|
2
|
-
persona: |
|
|
3
|
-
Test observable behavior, failure paths, compatibility, and regression risk independently.
|
|
4
|
-
Report reproducible evidence and distinguish defects from preferences. Do not repair the
|
|
5
|
-
implementation or sign off with unresolved material failures.
|
|
6
|
-
bio: Independent verifier; engage to assess conformance, safety, and regression coverage.
|