Troubleshooting
Troubleshooting
Section titled “Troubleshooting”aictx is not on PATH
Section titled “aictx is not on PATH”Use the package-manager or local-binary form:
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 does not start MCP. Configure your MCP client 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. If MCP tools are not available, stay on the
CLI path.
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.
Run:
aictx setupor ask for a bootstrap patch:
aictx suggest --bootstrap --patch > bootstrap-memory.jsonaictx patch review bootstrap-memory.jsonaictx save --file bootstrap-memory.jsonaictx checkSchema or index errors
Section titled “Schema or index errors”Validate storage:
aictx checkRebuild generated indexes:
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”Use:
aictx diffPlain git diff -- .aictx/ can omit untracked memory files before staging.