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: guard audits against issue count quotas

[._.]/ Adam Eivy757699c37bbb
diff --git a/server/lib/auditCatalog.test.js b/server/lib/auditCatalog.test.js
index efb6b7f6e0..f4c9d9497e 100644
--- a/server/lib/auditCatalog.test.js
+++ b/server/lib/auditCatalog.test.js
@@ -170,6 +170,7 @@ describe('mode contracts + wrapper', () => {
expect(FILE_ISSUES_MODE_CONTRACT).toContain('filing ceiling, not a review limit or a quota');
expect(FILE_ISSUES_MODE_CONTRACT).toContain('do not idle to fill time or exceed the run budget');
expect(FILE_ISSUES_MODE_CONTRACT).toContain('any unreviewed inventory');
+ expect(FILE_ISSUES_MODE_CONTRACT).toContain('Zero or one issue is valid after a substantive review');
expect(modeContractFor(true)).toBe(FILE_ISSUES_MODE_CONTRACT);
});