commit 934d720317a08dcbad92bc9adc9c2e247cdb22ca
parent 50890c19a060c5164f3f73d698b45cf8de898844
Author: alltheseas <64376233+alltheseas@users.noreply.github.com>
Date: Tue, 11 Nov 2025 08:35:29 -0600
Updated coding requirements in AGENTS.MD
-added do not fudge CI requirement
-added explicit nostrdb callout
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
@@ -103,6 +103,8 @@ This document captures the current architecture, coding conventions, and design
6. **Global variables are not allowed** in this codebase, even if they are thread local. State should be managed in an struct that is passed in as reference.
7. **Inspect notedeck code for reusable components, elements, patterns** etc. before creating new code for both A) notedeck updates, and B) apps built on notedeck.
8. **Nevernesting** — favor early returns and guard clauses over deeply nested conditionals; simplify control flow by exiting early instead of wrapping logic in multiple layers of `if` statements.
+9. **Do not fudge CI tests**, in order to get a commit or PR to pass. Instead identify the underlying root cause of CI failure, and address that.
+10. Before proposing changes, please **review and analyze if a change or upgrade to nostrdb** is beneficial to the change at hand.