@vuau/agent-memory 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/AGENTS.md +6 -3
- package/templates/CLAUDE.md +4 -3
package/package.json
CHANGED
package/templates/AGENTS.md
CHANGED
|
@@ -19,6 +19,9 @@ Router file for AI coding assistants: OpenCode, GitHub Copilot, Cursor, Windsurf
|
|
|
19
19
|
|
|
20
20
|
## Memory Protocol
|
|
21
21
|
|
|
22
|
+
### Session Start
|
|
23
|
+
- Read `.agents/MEMORY.md` before starting any task.
|
|
24
|
+
|
|
22
25
|
### When to write
|
|
23
26
|
- User approves a decision or pattern → append to `.agents/MEMORY.md`
|
|
24
27
|
- Explore codebase/architecture → update relevant `.agents/spec/*.md`
|
|
@@ -28,14 +31,14 @@ Router file for AI coding assistants: OpenCode, GitHub Copilot, Cursor, Windsurf
|
|
|
28
31
|
```
|
|
29
32
|
- YYYY-MM-DD: <1-line decision or pattern> → detail
|
|
30
33
|
```
|
|
31
|
-
Place under the appropriate category. Add `→ detail` pointer when full context exists in MEMORY-DETAIL.md
|
|
34
|
+
Place under the appropriate category. Add `→ detail` pointer when full context exists in `MEMORY-DETAIL.md`.
|
|
32
35
|
|
|
33
36
|
### TASKS.md update
|
|
34
37
|
Before ending a session with unfinished work, move items to `## In Progress` or `## Up Next`.
|
|
35
38
|
|
|
36
39
|
### Rules
|
|
37
|
-
- Keep MEMORY.md entries to 1 line each. Details go in spec files.
|
|
38
|
-
- If MEMORY.md > 150 lines, archive old entries.
|
|
40
|
+
- Keep `MEMORY.md` entries to 1 line each. Details go in spec files.
|
|
41
|
+
- If `MEMORY.md` > 150 lines, archive old entries.
|
|
39
42
|
- Do not create additional memory files outside `.agents/`.
|
|
40
43
|
|
|
41
44
|
## Coding Principles
|
package/templates/CLAUDE.md
CHANGED
|
@@ -4,11 +4,12 @@ Router file for Claude Code.
|
|
|
4
4
|
|
|
5
5
|
> **Note**: This file is auto-generated by `@vuau/agent-memory`.
|
|
6
6
|
> Do not edit directly.
|
|
7
|
-
>
|
|
8
|
-
> 👉 **All project rules live in `AGENTS.md`** — you MUST read that file for context and instructions.
|
|
9
7
|
|
|
10
8
|
## Rules
|
|
11
9
|
|
|
12
10
|
All project rules, memory protocol, and response style are defined in **[AGENTS.md](./AGENTS.md)**.
|
|
13
11
|
|
|
14
|
-
|
|
12
|
+
You MUST read `AGENTS.md` before making any changes.
|
|
13
|
+
|
|
14
|
+
### Session Start
|
|
15
|
+
- Read `.agents/MEMORY.md` for accumulated project context before starting any task.
|