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

fix(backup): inject publication admission into toolkit recordings

[._.]/ Adam Eivya6a225adf4cc
diff --git a/server/services/bootstrap.js b/server/services/bootstrap.js
index 449144b43f..01eb664c51 100644
--- a/server/services/bootstrap.js
+++ b/server/services/bootstrap.js
@@ -1,3 +1,4 @@
+import { withBackupAssetPublication } from '../lib/backupSnapshotBoundary.js';
import { bindMaintenanceIo } from './maintenanceControl.js';
import { maintenance } from '../lib/maintenanceAdmission.js';
import { noteReadinessChanged } from './readinessNotify.js';
@@ -294,6 +295,7 @@ export const bootstrapServices = async ({ io, dataDir, dataReferenceDir, serverD
sampleProvidersFile: join(dataReferenceDir, 'providers.json'),
io,
asyncHandler,
+ withAssetPublication: withBackupAssetPublication,
withRunAdmission: handler => (req, res) => maintenance.run('manual-run', 'Runs', () => handler(req, res)),
// Inject PortOS's ServerError so toolkit route errors normalize into the
// canonical `{ error, code, timestamp, context? }` envelope (issue #1084).