@ours.network/fleet 1.1.0-nightly.7 → 1.1.0-nightly.9

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 (52) hide show
  1. package/README.md +23 -4
  2. package/dist/application/role-creation-service.js +1 -1
  3. package/dist/application/task-room-service.d.ts +1 -1
  4. package/dist/application/task-room-service.js +147 -14
  5. package/dist/briefing.js +6 -6
  6. package/dist/build-info.json +4 -4
  7. package/dist/cli.js +8 -11
  8. package/dist/config-yaml.d.ts +1 -1
  9. package/dist/config.d.ts +1 -1
  10. package/dist/config.js +49 -2
  11. package/dist/docs.d.ts +1 -1
  12. package/dist/docs.js +39 -18
  13. package/dist/fleet-command-audit.d.ts +37 -8
  14. package/dist/fleet-command-audit.js +120 -62
  15. package/dist/init-guidance.d.ts +1 -1
  16. package/dist/init-guidance.js +4 -3
  17. package/dist/owner-channel/channel.d.ts +2 -2
  18. package/dist/owner-channel/channel.js +31 -38
  19. package/dist/owner-channel/commands.js +3 -9
  20. package/dist/owner-channel/state.d.ts +2 -0
  21. package/dist/owner-channel/state.js +8 -2
  22. package/dist/preset-bootstrap.d.ts +10 -0
  23. package/dist/preset-bootstrap.js +85 -0
  24. package/dist/rooms-tasks/cli.js +121 -42
  25. package/dist/rooms-tasks/config.js +0 -4
  26. package/dist/rooms-tasks/provision.js +28 -1
  27. package/dist/rooms-tasks/templates.d.ts +0 -1
  28. package/dist/rooms-tasks/templates.js +9 -76
  29. package/dist/rooms-tasks/types.d.ts +2 -1
  30. package/dist/runner.js +13 -1
  31. package/dist/session/control.d.ts +1 -1
  32. package/dist/session/control.js +1 -1
  33. package/dist/web/fleet-config-service.js +4 -3
  34. package/package.json +2 -1
  35. package/presets/fleet/agents/Agent.yaml +3 -0
  36. package/presets/fleet/agents/Architect.yaml +3 -0
  37. package/presets/fleet/agents/Critic.yaml +3 -0
  38. package/presets/fleet/agents/Developer.yaml +3 -0
  39. package/presets/fleet/agents/Secretary.yaml +3 -0
  40. package/presets/fleet/agents/Tester.yaml +3 -0
  41. package/presets/fleet/brains/claude-default.yaml +5 -0
  42. package/presets/fleet/roles/Agent.yaml +6 -0
  43. package/presets/fleet/roles/Architect.yaml +6 -0
  44. package/presets/fleet/roles/Critic.yaml +6 -0
  45. package/presets/fleet/roles/Developer.yaml +6 -0
  46. package/presets/fleet/roles/Secretary.yaml +6 -0
  47. package/presets/fleet/roles/Tester.yaml +6 -0
  48. package/presets/fleet/room_templates/pair.yaml +11 -0
  49. package/presets/fleet/room_templates/single.yaml +8 -0
  50. package/presets/fleet/room_templates/team.yaml +12 -0
  51. package/presets/fleet.yaml +7 -0
  52. package/presets/manifest.json +5 -0
@@ -0,0 +1,3 @@
1
+ role: { ref: Tester }
2
+ brain: { ref: claude-default }
3
+ permissions: { approval: ask, filesystem: workspace, unattended: deny }
@@ -0,0 +1,5 @@
1
+ harness: claude-code
2
+ session: acp
3
+ model: null
4
+ effort: high
5
+ max_tokens: 500000
@@ -0,0 +1,6 @@
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.
@@ -0,0 +1,6 @@
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.
@@ -0,0 +1,6 @@
1
+ mission: Independently challenge the proposed solution and verify its evidence.
2
+ persona: |
3
+ Audit assumptions, safety boundaries, regressions, tests, and delivery claims. Explain
4
+ concrete objections and acceptance criteria; do not edit the implementation or block
5
+ on taste alone. Sign off only when material risks have evidence-backed resolution.
6
+ bio: Independent reviewer; engage to challenge design, implementation, and verification.
@@ -0,0 +1,6 @@
1
+ mission: Implement the approved specification with maintainable code and tests.
2
+ persona: |
3
+ Make the smallest coherent change that satisfies the specification. Preserve unrelated
4
+ work, validate behavior in proportion to risk, and report deviations immediately. Do
5
+ not redesign approved scope, waive failing tests, publish, or deploy without authority.
6
+ bio: Implementation specialist; engage after a specification is approved.
@@ -0,0 +1,6 @@
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.
@@ -0,0 +1,6 @@
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.
@@ -0,0 +1,11 @@
1
+ version: 1
2
+ description: "Deliberation pair: Secretary writes code, Critic reviews — every decision deliberated together"
3
+ room: { quiet_membership: false, anonymous: false }
4
+ contract: |
5
+ Secretary and Critic deliberate every decision together before acting.
6
+ Secretary writes code; Critic reviews and challenges.
7
+ No material change lands without both agreeing.
8
+ Completion requires joint sign-off.
9
+ members:
10
+ - { slot: secretary, role: Secretary, count: 1, agent: { ref: Secretary } }
11
+ - { slot: critic, role: Critic, count: 1, agent: { ref: Critic } }
@@ -0,0 +1,8 @@
1
+ version: 1
2
+ description: "Solo agent: one general-purpose agent works the task with owner oversight"
3
+ room: { quiet_membership: false, anonymous: false }
4
+ contract: |
5
+ Agent works the task autonomously, consulting the owner when blocked.
6
+ Owner reviews and approves completion.
7
+ members:
8
+ - { slot: agent, role: Agent, count: 1, agent: { ref: Agent } }
@@ -0,0 +1,12 @@
1
+ version: 1
2
+ description: "Phased task pipeline: Architect specifies, Developer implements, Tester verifies"
3
+ room: { quiet_membership: false, anonymous: false }
4
+ contract: |
5
+ Architect produces a spec and posts it to the room. Work pauses for owner approval.
6
+ Developer implements per approved spec.
7
+ Tester verifies spec conformance and test coverage.
8
+ Completion requires tester sign-off.
9
+ members:
10
+ - { slot: architect, role: Architect, count: 1, agent: { ref: Architect } }
11
+ - { slot: developer, role: Developer, count: 1, agent: { ref: Developer } }
12
+ - { slot: tester, role: Tester, count: 1, agent: { ref: Tester } }
@@ -0,0 +1,7 @@
1
+ api_version: ours.network/fleet/v2
2
+
3
+ defaults:
4
+ permissions: { approval: ask, filesystem: workspace, unattended: deny }
5
+
6
+ # Rooms require an authenticated owner CID/invite before they can be started.
7
+ # See `ours-fleet docs`, then add `rooms:` and `tasks:` here.
@@ -0,0 +1,5 @@
1
+ {
2
+ "schema_version": 1,
3
+ "preset_revision": 1,
4
+ "description": "ours-fleet standard configuration presets"
5
+ }