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: clarify post-commit action ledger guarantees

Adam Eivy8ee3dd10ec69
diff --git a/server/services/userActions.js b/server/services/userActions.js
index e6dbb7d7bf..268f08ec87 100644
--- a/server/services/userActions.js
+++ b/server/services/userActions.js
@@ -35,9 +35,10 @@
* than copying `humanActivity.js`'s DB-only `ensureReady()` shape, which would
* force every instrumented route's tests onto Postgres.
*
- * Writes are AWAITED by their callers (same posture as `history.logAction`), so
- * a route's response implies the row landed and a test can assert it. No
- * fire-and-forget layer.
+ * Callers await writes; this recorder rejects on failure. Hooks that run after
+ * a task mutation has committed catch and log that rejection so a successful
+ * task response does not imply that its diagnostic ledger row also landed.
+ * No fire-and-forget layer.
*/
import { join } from 'path';