You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move feedback memory home to PAI-native directory (#118)
Apply.md previously labeled Claude Code per-cwd auto-memory
as "the PAI memory directory", and pointed AISTEERINGRULES at
a phantom ~/.claude/AISTEERINGRULES.md that does not exist.
Both read and write targets now use PAI-native locations:
~/.pai/PAI/AISTEERINGRULES.md and ~/.pai/MEMORY/FEEDBACK/.
Part 1 of Path B; Part 2 (loader + MEMORYSYSTEM.md update +
migration) is a follow-up.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
| Feedback memories | Read the PAI feedback memory directory `~/.pai/MEMORY/FEEDBACK/` to understand existing structure. If the directory does not exist yet, there are no existing feedback memories.|
71
71
72
72
### Step 3: Generate Concrete Diffs
73
73
@@ -79,7 +79,7 @@ For each ACCEPTED proposal, generate a concrete edit against the **current** tar
79
79
|--------|---------------------|
80
80
|**Algorithm spec**| Section-aware edit. Read the spec structure, identify the correct section using the Algorithm Section Routing Table (from Review workflow). Generate a diff that inserts, replaces, or augments the specific section. Most changes are additions or rewording of existing steps. |
81
81
|**AISTEERINGRULES.md**| Append. Almost always a new rule added to an existing section. Identify the appropriate section in AISTEERINGRULES.md and generate an append diff. Simplest target. |
82
-
|**Feedback memories**| File-based. Generate a new memory file with proper frontmatter (name, description, type: feedback). The file will be written to the PAI memory directory. |
82
+
|**Feedback memories**| File-based. Generate a new memory file with proper frontmatter (name, description, type: feedback). The file will be written to `~/.pai/MEMORY/FEEDBACK/` (global, not per-cwd). |
83
83
84
84
**Edge cases to handle:**
85
85
-**Target file changed since proposal:** Diffs are generated against the current file, not a snapshot from proposal time. If someone already made the change by hand, detect the overlap and flag it rather than duplicating.
| Feedback memories | Read the PAI feedback memory directory `~/.pai/MEMORY/FEEDBACK/` to understand existing structure. If the directory does not exist yet, there are no existing feedback memories.|
71
71
72
72
### Step 3: Generate Concrete Diffs
73
73
@@ -79,7 +79,7 @@ For each ACCEPTED proposal, generate a concrete edit against the **current** tar
79
79
|--------|---------------------|
80
80
|**Algorithm spec**| Section-aware edit. Read the spec structure, identify the correct section using the Algorithm Section Routing Table (from Review workflow). Generate a diff that inserts, replaces, or augments the specific section. Most changes are additions or rewording of existing steps. |
81
81
|**AISTEERINGRULES.md**| Append. Almost always a new rule added to an existing section. Identify the appropriate section in AISTEERINGRULES.md and generate an append diff. Simplest target. |
82
-
|**Feedback memories**| File-based. Generate a new memory file with proper frontmatter (name, description, type: feedback). The file will be written to the PAI memory directory. |
82
+
|**Feedback memories**| File-based. Generate a new memory file with proper frontmatter (name, description, type: feedback). The file will be written to `~/.pai/MEMORY/FEEDBACK/` (global, not per-cwd). |
83
83
84
84
**Edge cases to handle:**
85
85
-**Target file changed since proposal:** Diffs are generated against the current file, not a snapshot from proposal time. If someone already made the change by hand, detect the overlap and flag it rather than duplicating.
0 commit comments