Troubleshooting
Start with the smallest check that answers the question:
aictx checkaictx diffaictx view --opencheck validates storage and index health. diff shows memory changes. view
opens the local read-only inspection UI.
aictx is not on PATH
Section titled “aictx is not on PATH”Package-manager and local-binary forms work without a global PATH entry:
pnpm exec aictx checknpm exec aictx check./node_modules/.bin/aictx checkFor one-off execution:
npx --package @aictx/memory -- aictx checkIf a project-local install is stale, update it or use a current global/source binary before trusting schema errors.
MCP tools are not available
Section titled “MCP tools are not available”aictx init creates local storage. It does not start MCP. MCP tools become
available when the MCP client is configured to launch aictx-mcp.
An agent generally cannot start aictx-mcp in a shell and then use it as MCP
tools in an already-running session. When MCP tools are not available, the CLI
path provides the same routine memory workflow.
Local MCP exposes exactly load_memory, search_memory, inspect_memory,
save_memory_patch, and diff_memory when the client already exposes Aictx
tools. Setup, maintenance, recovery, export, registry, viewer, docs, suggest,
audit, stale, and graph workflows remain CLI-only.
Local MCP is the near-term integration path. Remote MCP, hosted sync, cloud
auth, cloud hosting, and ChatGPT App SDK surfaces are future work, and future
search/fetch adapter names are not local MCP tool names.
Memory is empty after init
Section titled “Memory is empty after init”aictx init creates starter storage. It does not infer a full project memory
model by itself.
Guided setup:
aictx setupor ask for a bootstrap patch:
aictx suggest --bootstrap --patch > bootstrap-memory.jsonaictx patch review bootstrap-memory.jsonaictx save --file bootstrap-memory.jsonaictx checkThe bootstrap path is best for first-run product intent, feature map, roadmap, architecture, conventions, and agent guidance memory.
Schema or index errors
Section titled “Schema or index errors”Storage validation:
aictx checkGenerated index rebuild:
aictx rebuildrebuild does not change canonical memory.
Dirty memory warnings
Section titled “Dirty memory warnings”Dirty or untracked .aictx/ files are not by themselves a reason to skip saving
durable memory. Review the files, then use supported CLI/MCP save paths when
there is durable future value. Aictx backs up dirty touched files under
.aictx/recovery/ before overwrite/delete and continues where possible.
Git diff misses new memory files
Section titled “Git diff misses new memory files”The Aictx diff includes tracked and untracked memory files:
aictx diffPlain git diff -- .aictx/ can omit untracked memory files before staging.