Tool Affected
gemini-cli
What Happened
After apc sync --all --yes with 203 memory entries in cache:
~/.gemini/ contains only settings.json
- No
GEMINI.md or memory file was created
apc status shows ● synced
$ find ~/.gemini -type f
/Users/frank/.gemini/settings.json
What Was Expected
The GEMINI_MEMORY_SCHEMA in gemini.py describes writing to a GEMINI.md path. After sync, this file should exist with transformed memory entries.
Root Cause
Memory sync was skipped due to LLM 401 auth error in this test. However, even with a valid LLM, the path needs verification.
Looking at the schema comment: "## Gemini Added Memories" — Gemini CLI's save_memory tool appends facts here. This implies Gemini CLI stores memories in a specific Markdown file — likely ~/.gemini/GEMINI.md or similar.
Concerns
- Gemini CLI's memory file location may vary by version or OS — hardcoding
~/.gemini/GEMINI.md could be wrong
- The
settings.json format at ~/.gemini/settings.json may be the actual memory location for newer Gemini CLI versions
To Reproduce
- Install
gemini-cli and run gemini to initialize config
apc configure with valid Gemini API key
apc memory sync --tools gemini-cli --yes
- Check
ls ~/.gemini/ — confirm GEMINI.md was created with correct format
Tool Affected
gemini-cli
What Happened
After
apc sync --all --yeswith 203 memory entries in cache:~/.gemini/contains onlysettings.jsonGEMINI.mdor memory file was createdapc statusshows● syncedWhat Was Expected
The
GEMINI_MEMORY_SCHEMAingemini.pydescribes writing to aGEMINI.mdpath. After sync, this file should exist with transformed memory entries.Root Cause
Memory sync was skipped due to LLM 401 auth error in this test. However, even with a valid LLM, the path needs verification.
Looking at the schema comment: "## Gemini Added Memories" — Gemini CLI's save_memory tool appends facts here. This implies Gemini CLI stores memories in a specific Markdown file — likely
~/.gemini/GEMINI.mdor similar.Concerns
~/.gemini/GEMINI.mdcould be wrongsettings.jsonformat at~/.gemini/settings.jsonmay be the actual memory location for newer Gemini CLI versionsTo Reproduce
gemini-cliand rungeminito initialize configapc configurewith valid Gemini API keyapc memory sync --tools gemini-cli --yesls ~/.gemini/— confirm GEMINI.md was created with correct format