@ours.network/fleet 1.2.0-nightly.13 → 1.2.0-nightly.14
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/application/task-room-service.d.ts +3 -0
- package/dist/application/task-room-service.js +1 -1
- package/dist/atomic-file.d.ts +5 -0
- package/dist/atomic-file.js +62 -1
- package/dist/build-info.json +4 -4
- package/dist/erased-resources.d.ts +9 -0
- package/dist/erased-resources.js +87 -0
- package/dist/fleet-command-audit.d.ts +1 -0
- package/dist/fleet-command-audit.js +9 -5
- package/dist/owner-channel/lifecycle-outbox.js +4 -3
- package/dist/rooms-tasks/close.d.ts +2 -2
- package/dist/rooms-tasks/close.js +128 -22
- package/dist/rooms-tasks/deletion.d.ts +1 -1
- package/dist/rooms-tasks/deletion.js +41 -9
- package/dist/rooms-tasks/erasure.d.ts +6 -0
- package/dist/rooms-tasks/erasure.js +169 -0
- package/dist/rooms-tasks/room-state.d.ts +3 -1
- package/dist/rooms-tasks/room-state.js +37 -7
- package/dist/rooms-tasks/task-state.d.ts +10 -4
- package/dist/rooms-tasks/task-state.js +54 -12
- package/dist/rooms-tasks/types.d.ts +2 -0
- package/dist/temp-lifecycle.d.ts +5 -0
- package/dist/temp-lifecycle.js +28 -12
- package/docs/task-workspaces.md +34 -2
- package/package.json +1 -1
package/docs/task-workspaces.md
CHANGED
|
@@ -52,8 +52,21 @@ matching archived launches, including failed and replaced attempts, using the
|
|
|
52
52
|
workspace descriptor plus role and termination/launch evidence. It preflights
|
|
53
53
|
these archives and atomically transfers them to `.fleet-retired-agents` in the
|
|
54
54
|
workspace before removal. Unrelated archives are not adopted by a name prefix.
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
Explicit deletion also erases legacy archives with exact launch/action or room
|
|
56
|
+
provenance, matching private supervisor journals and admission/launch descriptors,
|
|
57
|
+
and the exact retired-launch rows in the global termination journal. It never
|
|
58
|
+
infers ownership from an Agent's shared `cwd`. Artifact removal uses a durable
|
|
59
|
+
manifest, ownership fingerprints and per-entry rename/removal checkpoints, so
|
|
60
|
+
an interrupted deletion can resume without deleting a replacement at the old path.
|
|
61
|
+
Task deletion acceptance receipts exist only during cleanup and are erased after
|
|
62
|
+
settlement (including retry after a crash between Task unlink and receipt cleanup).
|
|
63
|
+
Shared Fleet command audit and lifecycle delivery ledgers have exactly attributed
|
|
64
|
+
target labels, configuration and command arguments removed; unrelated entries are
|
|
65
|
+
preserved. Delivery/deduplication metadata and a content-free erased-resource ID
|
|
66
|
+
registry remain so a running writer cannot resurrect erased content. Infrastructure
|
|
67
|
+
logs without structured ownership, backups, and copies already delivered to other
|
|
68
|
+
identities are external retention boundaries; this is not a claim to erase every
|
|
69
|
+
external copy.
|
|
57
70
|
|
|
58
71
|
Provisioning serializes Task operation then Room close locks, including bounded
|
|
59
72
|
seat waits, so concurrent retries cannot publish competing members and deletion
|
|
@@ -96,3 +109,22 @@ remote result; this change deduplicates locally recorded rooms and does not clai
|
|
|
96
109
|
to solve that remote transaction window. Inspect remote room ownership before
|
|
97
110
|
retrying ambiguous remote creation. No services or installed Fleet code are
|
|
98
111
|
changed by building or testing this feature.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
## Broken provisioning and deletion recovery
|
|
115
|
+
|
|
116
|
+
Deletion accepts every lifecycle state. Missing temporary directories, identities,
|
|
117
|
+
remote rooms and already-erased artifacts are settled outcomes. Retry the same
|
|
118
|
+
explicit delete after an interruption. A missing local member CID is recovered
|
|
119
|
+
only from a matching authenticated seat in the pinned room (exact invite and
|
|
120
|
+
role, uniquely matched), or a supervisor journal tied to the selected daemon,
|
|
121
|
+
temporary instance and recorded creation action. These sources must agree.
|
|
122
|
+
The recovered CID is persisted before retirement consumes the evidence.
|
|
123
|
+
|
|
124
|
+
A contradictory CID, replacement launch, ambiguous seat, unreadable/corrupt
|
|
125
|
+
record, or unreachable authority is not evidence of absence. Cleanup retains its
|
|
126
|
+
cursor and reports the conflict instead of deleting an unrelated resource or
|
|
127
|
+
claiming complete erasure. An identity with no recoverable authenticated binding
|
|
128
|
+
requires restoring its actual ownership evidence; a name-only force removal is
|
|
129
|
+
not supported. Room deletion removes the linked Task's dead room/member links and preserves its workspace; use explicit
|
|
130
|
+
Task deletion when the request includes the associated Task and its artifacts.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/fleet",
|
|
3
|
-
"version": "1.2.0-nightly.
|
|
3
|
+
"version": "1.2.0-nightly.14",
|
|
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",
|