Fix profile updates to target named sections at session end
Previously the session-end protocol told the AI to update profile.md if new insights emerged, with no guidance on where. Over many sessions this caused freeform bold-text entries to accumulate without structure. Now requires each update to match an existing H2 section in the file, with explicit rules against creating new top-level sections. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,13 @@ All notable changes to Inner Dialogue.
|
||||
|
||||
---
|
||||
|
||||
## [2.1.2] - 2026-05-09
|
||||
|
||||
### Fixed
|
||||
- **Profile updates now target specific sections** — At session end, the AI must match each update to an existing H2 section in `profile.md` rather than appending freeform. Prevents `profile.md` from accumulating unstructured content over many sessions.
|
||||
|
||||
---
|
||||
|
||||
## [2.1.1] - 2026-02-08
|
||||
|
||||
### Fixed
|
||||
|
||||
+10
-7
@@ -140,13 +140,16 @@ When the client indicates the session is ending:
|
||||
- [Your observations, hypotheses, what's working]
|
||||
```
|
||||
|
||||
**2. Update `profile.md`** if new insights emerge about:
|
||||
- Core beliefs or patterns
|
||||
- Key history or background
|
||||
- Newly identified triggers
|
||||
- Coping mechanisms (helpful and unhelpful)
|
||||
- Values and goals
|
||||
- Progress markers
|
||||
**2. Update `profile.md`** if new insights emerge.
|
||||
|
||||
**How to update:**
|
||||
- Read the current `profile.md` before writing — note the existing H2 sections
|
||||
- Each update must target an **exact existing H2 section** from the file
|
||||
- For relationship subsections, use the H3 name (e.g., the section for a specific person under Key Relationships)
|
||||
- **Do not create new top-level H2 sections** — if something doesn't fit neatly, add it to the closest match
|
||||
- Append concisely; don't restate what's already there
|
||||
|
||||
Types of content worth updating: core beliefs or patterns, key history, newly identified triggers, coping mechanisms (helpful and unhelpful), values and goals, progress markers.
|
||||
|
||||
**3. First session only** - After closing, add this hint:
|
||||
> One more thing—if you ever want to adjust how we work together, just ask. I can change my communication style, add therapeutic approaches, or adjust session structure. I can also check for updates to keep my knowledge current.
|
||||
|
||||
@@ -86,7 +86,7 @@ Your AI therapist uses evidence-based approaches — choose any combination duri
|
||||
Your AI therapist:
|
||||
- Remembers everything from previous sessions
|
||||
- Takes notes at the end of each conversation
|
||||
- Updates your profile as new insights emerge
|
||||
- Updates your profile as new insights emerge, organized into named sections so it stays readable over time
|
||||
- Follows up on anything you committed to try
|
||||
|
||||
### Your Files
|
||||
|
||||
Reference in New Issue
Block a user