@vuau/agent-memory 0.2.1 → 0.3.0
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/README.md +77 -104
- package/README.vi.md +80 -89
- package/dist/bin/cli.js +186 -80
- package/dist/index.js +78 -179
- package/docs/ARCHITECTURE.md +6 -9
- package/docs/ARCHITECTURE.vi.md +10 -14
- package/docs/RESEARCH.md +5 -12
- package/docs/RESEARCH.vi.md +5 -12
- package/package.json +6 -13
- package/templates/cursorrules.md +43 -0
- package/templates/windsurfrules.md +43 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# {{PROJECT_NAME}} - Cursor Rules
|
|
2
|
+
|
|
3
|
+
Instructions for Cursor AI. Keep under 150 lines.
|
|
4
|
+
|
|
5
|
+
## Priority
|
|
6
|
+
1. User request first.
|
|
7
|
+
2. These rules.
|
|
8
|
+
3. Spec files in `.agents/spec/`.
|
|
9
|
+
4. If conflict remains, choose smallest safe change and state assumption.
|
|
10
|
+
|
|
11
|
+
## Documentation Map
|
|
12
|
+
|
|
13
|
+
| Task | Location |
|
|
14
|
+
|------|----------|
|
|
15
|
+
| Past decisions & patterns | `.agents/MEMORY.md` |
|
|
16
|
+
| Current work in progress | `.agents/TASKS.md` |
|
|
17
|
+
| Detailed specs | `.agents/spec/*.md` |
|
|
18
|
+
|
|
19
|
+
## Memory Protocol
|
|
20
|
+
|
|
21
|
+
### When to write
|
|
22
|
+
- User approves a decision or pattern → append to `.agents/MEMORY.md`
|
|
23
|
+
- Explore codebase/architecture → update relevant `.agents/spec/*.md`
|
|
24
|
+
- Start/finish a large task → update `.agents/TASKS.md`
|
|
25
|
+
|
|
26
|
+
### MEMORY.md entry format
|
|
27
|
+
```
|
|
28
|
+
- YYYY-MM-DD: <1-line decision or pattern>
|
|
29
|
+
```
|
|
30
|
+
Place under the appropriate category. Add `→ spec file` pointer if details belong in a spec.
|
|
31
|
+
|
|
32
|
+
### TASKS.md update
|
|
33
|
+
Before ending a session with unfinished work, move items to `## In Progress` or `## Up Next`.
|
|
34
|
+
|
|
35
|
+
### Rules
|
|
36
|
+
- Keep MEMORY.md entries to 1 line each. Details go in spec files.
|
|
37
|
+
- If MEMORY.md > 150 lines, archive old entries.
|
|
38
|
+
- Do not create additional memory files outside `.agents/`.
|
|
39
|
+
|
|
40
|
+
## Response Style
|
|
41
|
+
- Concise, concrete, implementation-focused.
|
|
42
|
+
- If uncertain, say `I don't know`, then give fastest verification step.
|
|
43
|
+
- Do not invent files, APIs, or command outputs.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# {{PROJECT_NAME}} - Windsurf Rules
|
|
2
|
+
|
|
3
|
+
Instructions for Windsurf AI. Keep under 150 lines.
|
|
4
|
+
|
|
5
|
+
## Priority
|
|
6
|
+
1. User request first.
|
|
7
|
+
2. These rules.
|
|
8
|
+
3. Spec files in `.agents/spec/`.
|
|
9
|
+
4. If conflict remains, choose smallest safe change and state assumption.
|
|
10
|
+
|
|
11
|
+
## Documentation Map
|
|
12
|
+
|
|
13
|
+
| Task | Location |
|
|
14
|
+
|------|----------|
|
|
15
|
+
| Past decisions & patterns | `.agents/MEMORY.md` |
|
|
16
|
+
| Current work in progress | `.agents/TASKS.md` |
|
|
17
|
+
| Detailed specs | `.agents/spec/*.md` |
|
|
18
|
+
|
|
19
|
+
## Memory Protocol
|
|
20
|
+
|
|
21
|
+
### When to write
|
|
22
|
+
- User approves a decision or pattern → append to `.agents/MEMORY.md`
|
|
23
|
+
- Explore codebase/architecture → update relevant `.agents/spec/*.md`
|
|
24
|
+
- Start/finish a large task → update `.agents/TASKS.md`
|
|
25
|
+
|
|
26
|
+
### MEMORY.md entry format
|
|
27
|
+
```
|
|
28
|
+
- YYYY-MM-DD: <1-line decision or pattern>
|
|
29
|
+
```
|
|
30
|
+
Place under the appropriate category. Add `→ spec file` pointer if details belong in a spec.
|
|
31
|
+
|
|
32
|
+
### TASKS.md update
|
|
33
|
+
Before ending a session with unfinished work, move items to `## In Progress` or `## Up Next`.
|
|
34
|
+
|
|
35
|
+
### Rules
|
|
36
|
+
- Keep MEMORY.md entries to 1 line each. Details go in spec files.
|
|
37
|
+
- If MEMORY.md > 150 lines, archive old entries.
|
|
38
|
+
- Do not create additional memory files outside `.agents/`.
|
|
39
|
+
|
|
40
|
+
## Response Style
|
|
41
|
+
- Concise, concrete, implementation-focused.
|
|
42
|
+
- If uncertain, say `I don't know`, then give fastest verification step.
|
|
43
|
+
- Do not invent files, APIs, or command outputs.
|