Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs: register backup runtime helpers in the shared catalog

[._.]/ Adam Eivyfca622ceaabb
diff --git a/server/lib/README.md b/server/lib/README.md
index 8f8976f2be..d02baa21c0 100644
--- a/server/lib/README.md
+++ b/server/lib/README.md
@@ -25,6 +25,8 @@ The barrel `server/lib/index.js` is a machine-checkable enumeration of every pub
| Module | Purpose |
|---|---|
+| `backupSharedAdmission.js` | Durable cross-process backup cuts and publication leases, with fail-closed owner recovery. |
+| `runtimeFilePublication.js` | Admitted runtime recording updates with rollback of the prior file pair on failure. |
| `maintenanceAdmission.js` | Durable machine-local workflow drain, cross-process admission permits, continuation ownership and stale-resume fencing. |
| `maintenanceExclusive.js` | Coordinator-owned exclusive claims, opaque idle observations, durable ownership, one-use fixed-adapter capabilities and verified settlement. Peer credentials alone never grant authority. |
| `peerExecutionAuthority.js` | Non-rewound receiver execution epoch and restore-owner journal; default-deny on stale evidence or pending/conflicting recovery. Invalidates grants on identity changes and refuses stale epochs. |
diff --git a/server/lib/backupAssetOwners.js b/server/lib/backupAssetOwners.js
index 4575ecd423..c817ca254b 100644
--- a/server/lib/backupAssetOwners.js
+++ b/server/lib/backupAssetOwners.js
@@ -17,10 +17,12 @@
* neither captured.
* - `reference-only`: writes rows naming bytes that were already durable before
* its trigger was published, and writes no bytes itself, so there is no gap
- * for a cut to land in. A deletion that commits the row that stops naming
- * its bytes before it removes them belongs here too: the dump that follows a
+ * for a cut to land in. A deletion that commits the PostgreSQL row that stops
+ * naming its bytes before it removes them belongs here too: the dump that follows a
* cut's file copy either sees no row, or sees one whose bytes were removed
- * only after the copy finished. So does a record whose bytes no row names:
+ * only after the copy finished. File-primary indexes require admission because
+ * their copy order relative to referenced bytes is not guaranteed. So does a
+ * record whose bytes no row names:
* the copy takes it whole or not at all, and no dumped row can dangle.
* - `outstanding`: still changes bytes and rows outside admission.
*
diff --git a/server/lib/index.js b/server/lib/index.js
index 54452509b8..c83468a7f7 100644
--- a/server/lib/index.js
+++ b/server/lib/index.js
@@ -844,3 +844,5 @@ export * as peerAdminValidation from './peerAdminValidation.js';
export * from './speechMatch.js';
export * from './musicVideoReviewDraft.js';
+export * from './backupSharedAdmission.js';
+export * from './runtimeFilePublication.js';