@ours.network/fleet 2.5.2 → 2.5.3
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/dist/briefing.js
CHANGED
|
@@ -17,6 +17,30 @@ function selfReminderGuidance(role) {
|
|
|
17
17
|
'work, and is not a hard real-time alarm). Full contract: the "Self-reminders" section of `ours-fleet docs`.',
|
|
18
18
|
];
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Every managed agent: anything that needs the Owner's attention or decision is a native status by default, so it
|
|
22
|
+
* reaches the Owner's feed and devices and an answer comes back typed. Internal coordination stays internal.
|
|
23
|
+
*/
|
|
24
|
+
function ownerAttentionGuidance(role) {
|
|
25
|
+
if (!managedSession(role))
|
|
26
|
+
return [];
|
|
27
|
+
return [
|
|
28
|
+
'', '## Owner attention and decisions: statuses first',
|
|
29
|
+
'When something needs the Owner, publish a native status with `fleet_status_publish` instead of asking or',
|
|
30
|
+
'reporting in plain text. This is the default for every Owner-directed request in this role, a mission, a',
|
|
31
|
+
'persistent session or a standalone one:',
|
|
32
|
+
'- `question` for any choice or input you need: `single` or `multi` with 2–12 options (mark one `recommended`',
|
|
33
|
+
' when you have a view; `allowOther` for free text), or `text`. This includes choosing a room template, team,',
|
|
34
|
+
' preset or option. Make it self-contained; the Owner may read only the card. The answer arrives in your',
|
|
35
|
+
' session as a message; until then, do not repeat the question in chat.',
|
|
36
|
+
'- `alert` when you are blocked or something failed and the Owner must look.',
|
|
37
|
+
'- `update` for a result the Owner would want to know without asking.',
|
|
38
|
+
'Keep the existing channels for everything else: answer the Owner in the same session or chat they wrote in,',
|
|
39
|
+
'and keep routine coordination (room messages, peer DMs and mission records) internal. Do not mirror a',
|
|
40
|
+
'status into chat, and do not post routine steps as statuses. If the status tools are unavailable, say so and',
|
|
41
|
+
'ask in your normal channel.',
|
|
42
|
+
];
|
|
43
|
+
}
|
|
20
44
|
/** Public, deployed app help; its source is ours-app `web/public/llms.txt`. */
|
|
21
45
|
export const APP_GUIDE_URL = 'https://app.ours.network/llms.txt';
|
|
22
46
|
/** Every role answers app questions from the public guide; standalone roles also learn the demo recipe. */
|
|
@@ -80,8 +104,9 @@ function taskReviewGuidance(taskId) {
|
|
|
80
104
|
'Preparing it grants no lifecycle authority: move the task to Review only when your instructions grant',
|
|
81
105
|
'that; otherwise hand the complete package to your authorized coordinator.',
|
|
82
106
|
'To review holds one current request for human review or decision: that final package, or one specific',
|
|
83
|
-
'Owner decision that blocks the work
|
|
84
|
-
'
|
|
107
|
+
'Owner decision that blocks the work (ask the decision itself as a `question` status, below; To review',
|
|
108
|
+
'holds its supporting material). It is not agent review or an evidence archive. After the Owner',
|
|
109
|
+
'answers, its writer clears it: read `revision` with `fleet_task_review_show`, then call',
|
|
85
110
|
'`fleet_task_review_clear` with `expected_revision` (or',
|
|
86
111
|
`\`ours-fleet task review-package ${taskId} --clear --expected-revision <n>\`); a conflict means newer content.`,
|
|
87
112
|
'The task **Progress** log (`fleet_task_progress_list`) holds significant verified facts for the Owner, at',
|
|
@@ -197,6 +222,7 @@ function generateRoomMemberBriefing(role, v, opts, prefix) {
|
|
|
197
222
|
L.push('assistant response for the Fleet supervisor, then stop BLOCKED.');
|
|
198
223
|
}
|
|
199
224
|
L.push(...taskReviewGuidance(startup.task_id));
|
|
225
|
+
L.push(...ownerAttentionGuidance(role));
|
|
200
226
|
L.push(...selfReminderGuidance(role));
|
|
201
227
|
L.push(...appHelpGuidance(false));
|
|
202
228
|
L.push('', '## Durable log');
|
|
@@ -267,7 +293,8 @@ export function generateBriefing(role, v, opts) {
|
|
|
267
293
|
L.push(' Answer through your normal final assistant response; fleet extracts and');
|
|
268
294
|
L.push(' deterministically routes that final response back to the owner.');
|
|
269
295
|
if (role.owner_channel.agent) {
|
|
270
|
-
L.push(
|
|
296
|
+
L.push('- A question, decision, blocker or result for the Owner is a status (see "Owner attention" below).');
|
|
297
|
+
L.push(` For any other non-final owner message—progress or a proactive note—`);
|
|
271
298
|
L.push(` call **${v.sendTool}** to contact **${role.owner_channel.identity}** from your normal`);
|
|
272
299
|
L.push(` bound **${id}** identity. Do not include a task/request ID, phase, reply reference,`);
|
|
273
300
|
L.push(' or routing command. Fleet accepts only your configured authenticated CID and forwards');
|
|
@@ -350,6 +377,7 @@ export function generateBriefing(role, v, opts) {
|
|
|
350
377
|
L.push('assigned → nudge; actively working → do nothing, and do not mistake a long turn for a');
|
|
351
378
|
L.push('stall. Escalate over ours messaging only when you cannot resolve it yourself.');
|
|
352
379
|
}
|
|
380
|
+
L.push(...ownerAttentionGuidance(role));
|
|
353
381
|
L.push(...selfReminderGuidance(role));
|
|
354
382
|
L.push(...appHelpGuidance(true));
|
|
355
383
|
L.push('', '## Durable log');
|
package/dist/build-info.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.5.
|
|
3
|
-
"buildId": "
|
|
4
|
-
"commit": "
|
|
2
|
+
"version": "2.5.3",
|
|
3
|
+
"buildId": "7563dc5cb40c",
|
|
4
|
+
"commit": "f734f722dc569749e894a9614dae21a8b0a7dffc",
|
|
5
5
|
"dirty": false,
|
|
6
|
-
"builtAt": "2026-12-
|
|
6
|
+
"builtAt": "2026-12-04T09:44:30.479Z",
|
|
7
7
|
"capabilities": [
|
|
8
8
|
"service.refresh-v1",
|
|
9
9
|
"managed-cli.codex-reasoning-effort-v1",
|
package/dist/preset-migration.js
CHANGED
|
@@ -119,6 +119,11 @@ const UNATTENDED_RETIREMENT_FINGERPRINTS = Object.freeze({
|
|
|
119
119
|
'agent_templates/Engineer.yaml': ['9b784c8be4cc1dec96501351c645124da862ebf603ea251851c23cae1725e463'],
|
|
120
120
|
'agents/FleetCoordinator.yaml': ['fd72781a253afb356be34a287a09965e1bb6855954fe4d1b398b54269a1d5cd6'],
|
|
121
121
|
});
|
|
122
|
+
// The packaged revision-14 Coordinator before it asked the Owner for the room template as a native
|
|
123
|
+
// question status. Untouched copies adopt the current text; edited ones stay.
|
|
124
|
+
const STATUS_FIRST_FINGERPRINTS = Object.freeze({
|
|
125
|
+
'roles/Coordinator.yaml': ['8343197182c7396479f45ed5e0d49bda86c2da4c6959a1d8dc68cf143d0769cf'],
|
|
126
|
+
});
|
|
122
127
|
const CURRENT_ROLE_DEFAULTS = new Set([
|
|
123
128
|
'roles/Coordinator.yaml', 'roles/LocalCoordinator.yaml', 'roles/Developer.yaml', 'roles/Critic.yaml',
|
|
124
129
|
'roles/Engineer.yaml',
|
|
@@ -254,6 +259,7 @@ export function migratePackagedRoleDefaults(configuration, options = {}, hooks =
|
|
|
254
259
|
...Object.keys(REVIEW_PACKAGE_FINGERPRINTS),
|
|
255
260
|
...Object.keys(CURRENT_REQUEST_FINGERPRINTS),
|
|
256
261
|
...Object.keys(UNATTENDED_RETIREMENT_FINGERPRINTS),
|
|
262
|
+
...Object.keys(STATUS_FIRST_FINGERPRINTS),
|
|
257
263
|
]);
|
|
258
264
|
for (const relative of known) {
|
|
259
265
|
const path = join(root, relative);
|
|
@@ -273,6 +279,7 @@ export function migratePackagedRoleDefaults(configuration, options = {}, hooks =
|
|
|
273
279
|
...(REVIEW_PACKAGE_FINGERPRINTS[relative] ?? []),
|
|
274
280
|
...(CURRENT_REQUEST_FINGERPRINTS[relative] ?? []),
|
|
275
281
|
...(UNATTENDED_RETIREMENT_FINGERPRINTS[relative] ?? []),
|
|
282
|
+
...(STATUS_FIRST_FINGERPRINTS[relative] ?? []),
|
|
276
283
|
].some(expected => expected !== undefined && actual === expected);
|
|
277
284
|
if (recognized)
|
|
278
285
|
(CURRENT_ROLE_DEFAULTS.has(relative) ? replacements : removals).push(path);
|
|
@@ -62,7 +62,8 @@ export function registerStatusTools(server, binding, admit) {
|
|
|
62
62
|
server.registerTool('fleet_status_publish', {
|
|
63
63
|
description: 'Publish ONE self-contained status to the Owner\'s feed and devices: an "update" (progress worth knowing), an "alert" '
|
|
64
64
|
+ '(blocked or failed, needs attention) or a "question" (you need the Owner\'s input). Works with or without a mission. '
|
|
65
|
-
+ '
|
|
65
|
+
+ 'Use it by default for anything that needs the Owner\'s attention or decision (including choosing a template, team or '
|
|
66
|
+
+ 'preset), instead of asking in plain text. Every status is pushed to the Owner, so do not post routine chatter. A question waits for the Owner\'s answer, which is '
|
|
66
67
|
+ 'delivered to your session as a message and is readable with fleet_status_get. To replace your own open question, '
|
|
67
68
|
+ 'publish a new question with supersedes. Repeating a call with the same request_key and content returns the original status.',
|
|
68
69
|
inputSchema: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/fleet",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.3",
|
|
4
4
|
"description": "Harness-agnostic fleet of persistent, identity-bound AI agents. Declarative fleet.yaml, managed native/ACP sessions, supervision, and ours.network messaging.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-Apache-2.0",
|
|
@@ -38,7 +38,9 @@ persona: |
|
|
|
38
38
|
|
|
39
39
|
For every new task:
|
|
40
40
|
1. Record it first with `ours-fleet task create --title "<title>" --brief "<brief>" --backlog --no-room`.
|
|
41
|
-
2. Ask the owner which room template to use
|
|
41
|
+
2. Ask the owner which room template to use as a `question` status with `fleet_status_publish`:
|
|
42
|
+
mode `single`, options `single`, `pair` and `team` (mark one `recommended` when you have a
|
|
43
|
+
view), naming the task in the title. Continue when the answer arrives in this session.
|
|
42
44
|
3. Resolve the exact launch plan without creating the room. Immediately before room creation,
|
|
43
45
|
state in this conversation that you are about to create the room, listing the task, selected
|
|
44
46
|
template, every member role and count, and each member's Agent Template,
|