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: document fleet usage writeback lifecycle

[._.]/ Adam Eivy76b7193ece98
diff --git a/server/jsonWritebackConventions.test.js b/server/jsonWritebackConventions.test.js
index 0f54354aaa..8c9d8346a0 100644
--- a/server/jsonWritebackConventions.test.js
+++ b/server/jsonWritebackConventions.test.js
@@ -23,7 +23,7 @@ it('classifies every same-path non-strict service read/write pair with no stale
expect(result, 'Use strict reads or document the actual lifecycle in test/jsonWritebackExceptions.js; remove stale entries.').toEqual({ unclassified: [], stale: [] });
expect(new Set(JSON_WRITEBACK_EXCEPTIONS.map(entry => entry.key)).size).toBe(JSON_WRITEBACK_EXCEPTIONS.length);
expect(JSON_WRITEBACK_EXCEPTIONS.every(entry => entry.reason.trim().length > 0)).toBe(true);
-});
+}, 15_000);
describe('syntax scanner regression contracts', () => {
it('finds new pairs with nested arguments, comments and quote/whitespace differences', () => {
diff --git a/server/test/jsonWritebackExceptions.js b/server/test/jsonWritebackExceptions.js
index 523e4374a8..80c71090b8 100644
--- a/server/test/jsonWritebackExceptions.js
+++ b/server/test/jsonWritebackExceptions.js
@@ -1,6 +1,11 @@
// Reviewed lifecycle exceptions from #6970–#6976. Keys are service-relative
// module + normalized first argument, never source positions. See JSON_WRITEBACK.md.
export const JSON_WRITEBACK_EXCEPTIONS = [
+ {
+ key: 'fleetLlmUsage.js :: USAGE_FILE',
+ reason: 'The usage ledger hydrates with a non-strict read so a missing or damaged optional report does not prevent the host from serving; writes remain atomic.',
+ issue: '#7753',
+ },
{
"key": "agentRunReconciler.js :: path",
"reason": "No failed-read write-back: repair planning and its final re-read skip null run metadata."