From e70dcd76dd02e97ceb7fb3bd04aeeedc6ab0ed5c Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Thu, 9 Apr 2026 20:25:33 -0400 Subject: [PATCH] MEM: Add Mandate #7 (Commit-Before-Modify) and #8 (QA/Chaos) --- skills/org-skill-agent.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skills/org-skill-agent.org b/skills/org-skill-agent.org index 3c30ca5..5303df8 100644 --- a/skills/org-skill-agent.org +++ b/skills/org-skill-agent.org @@ -37,6 +37,12 @@ Prioritize local, energy-efficient, and offline-first architectures. The "Memex" ** 6. Literate Granularity (One Function per Block) To maintain the highest quality of literate programming, every Lisp function or macro must reside in its own dedicated `#+begin_src lisp` block. This ensures that each piece of logic can be surrounded by rich narrative explaining the "Why" and "How" of its specific implementation. +** 7. Commit Before Modification +To ensure perfect reversibility and system integrity, the agent MUST commit and push the current state of the workspace BEFORE initiating any new file modifications. This ensures that every evolutionary step has a known-good recovery point. + +** 8. Continuous QA (Chaos & Testing) +No change is complete without verification. Every new function must be accompanied by a FiveAM test case. Furthermore, the agent must use the 'Chaos Gauntlet' to simulate failures and verify the system's resilience after every significant architectural shift. + * Phase A: Demand (PRD) :PROPERTIES: :STATUS: FROZEN