A single journal file conflates different kinds of information and becomes noise over time.
+
+
Separate memory by type:
+
+
- **User context** — who is working on this, their expertise, what they care about. Helps calibrate explanation depth and framing.
+
- **Feedback** — corrections and confirmations, each with a *why*. Record both directions: if you only save corrections, you avoid past mistakes but drift away from approaches that were already validated. The *why* lets edge cases be judged rather than rules applied blindly.
+
- **Project state** — current goals, blockers, parked ideas, open questions, deadlines.
+
- **References** — where to find things: dashboards, issue trackers, external docs, external credentials or configuration.
+
+
Keep these in separate files. Load only what is relevant to the current session.
+
+
---
+
+
### 3. Describe desired behaviour positively
Write rules describing how work should be done rather than only listing forbidden behaviour.
@@ 45,7 60,7 @@
---
-
### 3. Separate design from implementation
+
### 4. Separate design from implementation
Maintain design documents describing:
- architecture
@@ 66,7 81,7 @@
---
-
### 4. Use minimal prompts
+
### 5. Use minimal prompts
Once project context exists in files:
- prompts should be short
@@ 75,9 90,16 @@
Long conversational prompting usually causes drift and inconsistency.
+
Define named shorthands for repeatable multi-step sequences. Document the expansion in project rules so the AI learns it rather than guessing.
+
+
Good:
+
- "wrap it up" → check for leaks, update changelog, update docs, commit, push, update journal
+
+
This is more reliable than re-stating the full sequence each time.
+
---
-
### 5. Use isolated sessions
+
### 6. Use isolated sessions
Prefer a new AI session for each feature or task.
@@ 90,7 112,7 @@
---
-
### 6. Prefer incremental changes
+
### 7. Prefer incremental changes
Avoid large speculative rewrites.
@@ 104,7 126,7 @@
---
-
### 7. Use test-driven development where practical
+
### 8. Use test-driven development where practical