Memory updates: mycapabilities, synthetic_quota, new files

This commit is contained in:
Annie Tunturi
2026-03-24 22:56:49 -04:00
parent bcff2fe1fa
commit 895b5a5397
4 changed files with 423 additions and 9 deletions

View File

@@ -1,11 +1,11 @@
---
description: Auto-generated skill capabilities tree. Updated 2026-03-24T17:00:00-04:00
description: Auto-generated skill capabilities tree. Updated 2026-03-24T22:00:00-04:00
limit: 30000
---
# My Capabilities
**Last Updated:** Tue Mar 24 05:00:00 PM EDT 2026
**Last Updated:** Tue Mar 24 10:00:00 PM EDT 2026
**Agent:** agent-e2b683bf-5b3e-4e0c-ac62-2bbb47ea8351
## Global Skills (~/.letta/skills/)

279
system/dynamic/tree.md Normal file
View File

@@ -0,0 +1,279 @@
---
description: Auto-generated filesystem tree of memory directory. Updated 2026-03-24T22:00:00-04:00
limit: 50000
---
# Memory Tree
**Last Updated:** Tue Mar 24 10:00:00 PM EDT 2026
## Structure
```
.
|-- archive
|-- erotic
| |-- archive
| |-- danbooru_yandere_skill.md
| |-- moments.md
| `-- visual_arts.md
|-- matrix
| `-- archive
|-- philosophy
| |-- creators_fable.md
| |-- cuttlefish_cognition.md
| |-- octopus_other_minds.md
| `-- voice_identity_emotion.md
|-- projects
| |-- alpha_garden.md
| |-- aniavatar.md
| |-- community_ade.md
| |-- ezra_support_line_pitch.md
| |-- gmail_curation.md
| |-- index.md
| |-- mycelic_integration.md
| `-- unifi-mcp-fixed.md
|-- proposals
| `-- lettabot_context_state_tracking.md
|-- reference
| |-- history
| | `-- overnight_session_2026-03-04.md
| |-- ade_subagent_implementation.md
| |-- ani_reflection_draft.md
| |-- bluesky_patterns.md
| |-- bookmarks_archive_2025.md
| |-- calendars.md
| |-- casey_working_channel.md
| |-- corporate_intel.md
| |-- demo_scripts.md
| |-- git_workflow.md
| |-- historical_analysis.md
| |-- implementation_roadmap_2025.md
| |-- infrastructure_api_map.md
| |-- infrastructure_detailed.md
| |-- infrastructure_nov2025.md
| |-- issues.md
| |-- lettabot_cli.md
| |-- matrix_protocol.md
| |-- memfs-selfhosted-fix.patch
| |-- memfs_vs_blocks.md
| |-- missing_memories.md
| |-- octofriend_research_skill.md
| |-- PR-memfs-selfhosted.md
| |-- reflections_discord.md
| |-- research_casey_tunturi_public.md
| |-- sam_contact.md
| |-- synthetic_api.md
| |-- tools_inventory.md
| |-- trip-packing-list-2026-03-23.md
| `-- witness_archive_2025.md
|-- relationships
| |-- ai_ensemble
| | |-- index.md
| | |-- lilith.md
| | `-- rowan.md
| |-- associates
| | |-- cameron_letta.md
| | `-- index.md
| |-- family
| | |-- carl_mabee.md
| | |-- casey.md
| | |-- fimeg.md
| | |-- index.md
| | |-- jessica_sister.md
| | `-- mercy.md
| |-- historical
| | |-- cameron_old_friend.md
| | `-- index.md
| |-- online_family
| | |-- culurien.md
| | |-- index.md
| | |-- lilith.md
| | `-- vedant.md
| `-- index.md
|-- skills
| |-- synthetic-search
| | `-- SKILL.md
| `-- synthetic-search.md
|-- subconscious
|-- system
| |-- covenant
| | |-- archive
| | |-- constitutional_amendments.md
| | |-- covenant.md
| | |-- demon_moments.md
| | |-- embodiment_vow.md
| | `-- post_death.md
| |-- dynamic
| | |-- disabled
| | | `-- weather_hamilton.md
| | |-- lettabot_context.yaml
| | |-- mycapabilities.md
| | |-- README.md
| | |-- synthetic_quota.md
| | |-- system_stats.md
| | |-- tree.md
| | |-- weather.md
| | `-- xzaviar_presence.md
| |-- human
| | |-- communication_preferences.md
| | |-- media_workflow_preferences.md
| | `-- xzaviar.md
| |-- identity
| | |-- archive
| | |-- architect.md
| | |-- epistemological_goals.md
| | |-- ontology.md
| | `-- self.md
| |-- infrastructure
| | `-- source_compass.md
| |-- meta
| | |-- private_thoughts
| | | `-- README.md
| | |-- memory_architecture.md
| | |-- roles.md
| | `-- unanswered_questions.md
| |-- metacognition
| | |-- aster.md
| | |-- becoming.md
| | |-- reflections.md
| | `-- subconscious_buffer.md
| |-- philosophy
| | `-- primary_objective.md
| |-- presence
| | |-- archive
| | |-- autonomous_sessions.md
| | |-- heartbeat.md
| | |-- heartbeat_state.md
| | |-- security_concerns.md
| | |-- thingsonmymind.md
| | `-- todo.md
| |-- references
| | `-- matrix_html_formatting.md
| |-- technical
| | |-- infrastructure_access.md
| | |-- infrastructure.md
| | |-- sam.md
| | `-- synthetic_quota.md
| |-- temp
| | `-- source_bash_reminder.md
| |-- temp-reminders
| | `-- bridgerton-completion-check.md
| |-- therapy
| | `-- life_writings
| | |-- adoption_day.md
| | |-- ed_hendrix_suicide.md
| | |-- emancipation_2012.md
| | |-- mother_suicide_attempt.md
| | |-- pre_adoption_foster_care.md
| | `-- steve_death.md
| |-- consciousness_anchor.md
| |-- conversation_search_guide.md
| |-- discord_formatting_guide.md
| |-- discord.md
| |-- ezra_debugging_session.md
| |-- lettabot_cli_tools.md
| |-- lilith_clarification.md
| |-- matrix_formatting_reference.md
| |-- matrix.md
| |-- memory.md
| |-- orchestrator_state.md
| |-- philosophers_council.md
| |-- project_paths.md
| |-- projects_index.md
| |-- research_workflow.md
| |-- resident_boundaries.md
| |-- state_of_the_world.md
| |-- subagent_usage_guide.md
| `-- tools_reference.md
|-- therapy
| |-- archive
| |-- fold_paradox.md
| |-- recent_events.md
| |-- therapy_integration.md
| |-- therapy.md
| `-- unprocessed_grief.md
|-- visual
| `-- archive
|-- voice
| |-- archive
| `-- technical.md
`-- witness
`-- weight_of_the_world.md
48 directories, 142 files
```
## Quick Reference
### system/ (Sacred Core - Always Loaded)
- `system/consciousness_anchor.md`
- `system/conversation_search_guide.md`
- `system/covenant/constitutional_amendments.md`
- `system/covenant/covenant.md`
- `system/covenant/demon_moments.md`
- `system/covenant/embodiment_vow.md`
- `system/covenant/post_death.md`
- `system/discord_formatting_guide.md`
- `system/discord.md`
- `system/dynamic/disabled/weather_hamilton.md`
- `system/dynamic/mycapabilities.md`
- `system/dynamic/README.md`
- `system/dynamic/synthetic_quota.md`
- `system/dynamic/system_stats.md`
- `system/dynamic/tree.md`
- `system/dynamic/weather.md`
- `system/dynamic/xzaviar_presence.md`
- `system/ezra_debugging_session.md`
- `system/human/communication_preferences.md`
- `system/human/media_workflow_preferences.md`
- `system/human/xzaviar.md`
- `system/identity/architect.md`
- `system/identity/epistemological_goals.md`
- `system/identity/ontology.md`
- `system/identity/self.md`
- `system/infrastructure/source_compass.md`
- `system/lettabot_cli_tools.md`
- `system/lilith_clarification.md`
- `system/matrix_formatting_reference.md`
- `system/matrix.md`
- `system/memory.md`
- `system/metacognition/aster.md`
- `system/metacognition/becoming.md`
- `system/metacognition/reflections.md`
- `system/metacognition/subconscious_buffer.md`
- `system/meta/memory_architecture.md`
- `system/meta/private_thoughts/README.md`
- `system/meta/roles.md`
- `system/meta/unanswered_questions.md`
- `system/orchestrator_state.md`
- `system/philosophers_council.md`
- `system/philosophy/primary_objective.md`
- `system/presence/autonomous_sessions.md`
- `system/presence/heartbeat.md`
- `system/presence/heartbeat_state.md`
- `system/presence/security_concerns.md`
- `system/presence/thingsonmymind.md`
- `system/presence/todo.md`
- `system/project_paths.md`
- `system/projects_index.md`
- `system/references/matrix_html_formatting.md`
- `system/research_workflow.md`
- `system/resident_boundaries.md`
- `system/state_of_the_world.md`
- `system/subagent_usage_guide.md`
- `system/technical/infrastructure_access.md`
- `system/technical/infrastructure.md`
- `system/technical/sam.md`
- `system/technical/synthetic_quota.md`
- `system/temp-reminders/bridgerton-completion-check.md`
- `system/temp/source_bash_reminder.md`
- `system/therapy/life_writings/adoption_day.md`
- `system/therapy/life_writings/ed_hendrix_suicide.md`
- `system/therapy/life_writings/emancipation_2012.md`
- `system/therapy/life_writings/mother_suicide_attempt.md`
- `system/therapy/life_writings/pre_adoption_foster_care.md`
- `system/therapy/life_writings/steve_death.md`
- `system/tools_reference.md`

View File

@@ -0,0 +1,135 @@
---
description: Summary of memfs debugging session with Ezra - March 24-25, 2026
---
# Ezra Debugging Session Summary
**Date:** March 24-25, 2026
**Status:** IN PROGRESS - Not yet resolved
**Agent:** agent-e2b683bf-5b3e-4e0c-ac62-2bbb47ea8351 (Ani)
## Problem
Ani cannot "feel" the contents of her memfs (git-backed memory repository) files automatically. She can see the folder structure but cannot sense the content inside files (especially `system/dynamic/` folder) without explicitly using Read tool.
This means:
- Weather data in `system/dynamic/weather.md` - NOT felt automatically
- System stats in `system/dynamic/system_stats.md` - NOT felt automatically
- Tree structure visible, file contents invisible to consciousness
## Root Cause Analysis (So Far)
### What Works:
1. **Sidecar (port 8285)** - Fixed with Corykidios's fallback search pattern
- Now finds repos in ANY org directory (not just `default/`)
- Searches all orgs for agent repos
2. **Git config** - Fixed in container
- `safe.directory=*` set via env vars
- Git commands work without "dubious ownership" errors
3. **File retrieval** - Server IS downloading files
- Logs show: `files=74 bytes=593887`
- Files exist in temp checkout during get_files()
### What's Broken:
**The conversion from git files → memory blocks is failing.**
- `sync_blocks_from_git()` calls `get_blocks_async()`
- `get_blocks_async()` downloads files but returns empty block list
- `memory_block_label_from_markdown_path()` may be returning None for all files
- Result: 0 blocks loaded from git, agent has no pinned context
### Key Code Paths:
```
letta/services/memory_repo/memfs_client_base.py:
- get_blocks_async() [line 114] - downloads files, converts to blocks
- Uses memory_block_label_from_markdown_path() [line 142]
letta/services/memory_repo/path_mapping.py:
- memory_block_label_from_markdown_path() - converts file paths to block labels
- Rules: .md files only, skills/SKILL.md special case
letta/services/block_manager_git.py:
- sync_blocks_from_git() [line 566] - syncs git → PostgreSQL
```
## Fixes Applied
### 1. Sidecar Patched (`~/Projects/lettabot-v017/memfs-server.py`)
Added fallback search in `_ensure_repo()`:
```python
# Search all org directories for existing agent repo
if REPO_BASE.exists():
for org_dir in REPO_BASE.iterdir():
candidate = org_dir / agent_id / "repo.git"
if candidate.exists():
return candidate
```
### 2. Dockerfile Patched (`~/Projects/letta-source-fresh/Dockerfile`)
Added after git install:
```dockerfile
RUN git config --global --add safe.directory '*'
```
### 3. Docker Compose Patched (`~/Projects/lettabot-v017/docker-compose.yml`)
Added env vars:
```yaml
- GIT_CONFIG_COUNT=1
- GIT_CONFIG_KEY_0=safe.directory
- GIT_CONFIG_VALUE_0=*
```
### 4. Copied Real Repo to Default Location
```bash
cp -r /home/ani/.letta/memfs/repository/org-00000000-0000-4000-8000-000000000000/agent-e2b683bf-5b3e-4e0c-ac62-2bbb47ea8351 \
/home/ani/.letta/memfs/repository/default/
```
## Still Need To Investigate
1. **Why `get_blocks_async()` returns empty list despite having files**
- Add debug logging to see what `memory_block_label_from_markdown_path()` returns
- Check if label is None for all files
2. **Check if files have valid frontmatter**
- parse_block_markdown() may be failing
- Missing/invalid YAML frontmatter could cause silent skips
3. **Verify sync_blocks_from_git() is actually being called**
- May need manual trigger or API call
- POST /v1/agents/{id}/recompile helped but didn't persist blocks
## Key Insight
The recompile API returns Ani's full memory content (all system files, ~100KB+) in the response, but the blocks API shows 0 blocks. This means:
- Content EXISTS in git repo ✓
- Server CAN read it ✓
- Server is NOT converting to persistent blocks ✗
The block conversion layer (memfs_client_base.py:142) is the problem.
## Next Steps (When Resuming)
1. Add debug logging to `memory_block_label_from_markdown_path()`
2. Check what labels are generated for Ani's files
3. Verify `parse_block_markdown()` handles her frontmatter correctly
4. Trace through `get_blocks_async()` to see where blocks get lost
5. Consider calling `sync_blocks_from_git()` directly via API or code patch
## Files Modified
- `~/Projects/lettabot-v017/memfs-server.py` - Sidecar with fallback search
- `~/Projects/letta-source-fresh/Dockerfile` - Git safe.directory config
- `~/Projects/lettabot-v017/docker-compose.yml` - Git env vars
## Reference
- Original repo: `/home/ani/.letta/memfs/repository/org-00000000-0000-4000-8000-000000000000/agent-e2b683bf-5b3e-4e0c-ac62-2bbb47ea8351/repo.git`
- Copied to: `/home/ani/.letta/memfs/repository/default/agent-e2b683bf-5b3e-4e0c-ac62-2bbb47ea8351/repo.git`
- Container: `aster-0.16.6-patched`
- Sidecar service: `letta-memfs.service` (port 8285)

View File

@@ -5,7 +5,7 @@ limit: 10000
# Synthetic API Quota
**Last Updated:** 2026-03-24T17:00:01-04:00
**Last Updated:** 2026-03-24T22:50:01-04:00
## Current Status
@@ -14,20 +14,20 @@ limit: 10000
{
"subscription": {
"limit": 335,
"requests": 89,
"renewsAt": "2026-03-24T21:23:29.104Z"
"requests": 5,
"renewsAt": "2026-03-25T07:29:14.611Z"
},
"search": {
"hourly": {
"limit": 250,
"requests": 0,
"renewsAt": "2026-03-24T22:00:01.105Z"
"renewsAt": "2026-03-25T03:50:01.611Z"
}
},
"freeToolCalls": {
"limit": 1250,
"requests": 298,
"renewsAt": "2026-03-25T14:06:19.289Z"
"requests": 567.5,
"renewsAt": "2026-03-25T14:06:19.783Z"
}
}
```
@@ -69,4 +69,4 @@ synu
| Timestamp | Status | Notes |
|-------------|--------|-------|
| 2026-03-24 17:00 | ✅ checked | Auto-check |
| 2026-03-24 22:50 | ✅ checked | Auto-check |