[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-83448":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":24,"readmeContent":25,"aiSummary":9,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},83448,"codex-memory-brain","ccycv\u002Fcodex-memory-brain","ccycv","Local repo-aware durable memory for Codex through MCP",null,"Python",59,23,52,1,0,7,4,4.14,"MIT License",false,"main",true,[],"2026-06-12 02:04:34","# Codex Memory Brain\n\nLocal, repo-aware durable memory for Codex and OpenCode.\n\nCodex Memory Brain exposes a local memory layer through MCP. It stores engineering memory in SQLite with FTS5 search, runs fully on your machine, and makes no cloud calls.\n\n## Install\n\n### Codex\n\nmacOS or Linux:\n\n```bash\nbash -c \"$(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fccycv\u002Fcodex-memory-brain\u002FHEAD\u002Finstall.sh)\"\n```\n\nThen open a new Codex chat or restart Codex.\n\nVerify:\n\n```bash\ncodex mcp get codex-memory-brain\n```\n\nYou should see `enabled: true`.\n\n### OpenCode\n\nmacOS or Linux:\n\n```bash\nbash -c \"$(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fccycv\u002Fcodex-memory-brain\u002FHEAD\u002Fopencode\u002Finstall.sh)\"\n```\n\nThen start a new OpenCode session.\n\nVerify:\n\n```bash\nopencode mcp list\n```\n\nYou should see `codex-memory-brain` enabled. The OpenCode installer also adds a global instruction file so OpenCode knows to call `memory_resume_project`, `memory_context`, and `memory_task_checkpoint` during long-running work.\n\n### OpenCode Goal\n\nInstall a `\u002Fgoal`-like local goal tracker for OpenCode:\n\n```bash\nbash -c \"$(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fccycv\u002Fcodex-memory-brain\u002FHEAD\u002Fopencode-goal\u002Finstall.sh)\"\n```\n\nThen restart OpenCode and use:\n\n```text\n\u002Fgoal Ship the current feature end to end\n\u002Fgoal-status\n\u002Fgoal-complete Done and tested\n```\n\nFor a controlled autonomous loop with hard stop conditions:\n\n```bash\nopencode-goal-run --model opencode-go\u002Fqwen3.6-plus --max-steps 8 --goal \"Ship the current feature end to end\"\n```\n\n## What It Adds\n\nFor Codex, the plugin registers the `codex-memory-brain` MCP server and the `codex-memory` skill.\n\nFor OpenCode, the installer registers the same local MCP server under `~\u002F.config\u002Fopencode\u002Fopencode.jsonc` and adds `opencode\u002Fmemory-brain-instructions.md` to OpenCode's `instructions`.\n\nData is stored locally:\n\n```text\n~\u002F.codex-memory\u002Fmemory.db\n```\n\nOverride the storage location:\n\n```bash\nexport CODEX_MEMORY_HOME=\u002Fpath\u002Fto\u002Fmemory-home\n```\n\n## Daily Use\n\nStart a project session with:\n\n```text\nUse codex-memory. Resume this project first, then continue the task.\n```\n\nEnd substantial work with:\n\n```text\nSave a task checkpoint with files, tests, blockers, and next steps.\n```\n\nBuild memory for a new repo:\n\n```text\nUse codex-memory. Run memory_audit_repo for this repo with save=false and show me the proposed memories.\n```\n\nThen:\n\n```text\nSave the audit memories.\n```\n\n## Tools\n\n- `memory_context(task, cwd, files?, limit?)`\n- `memory_search(query, cwd?, files?, scope?, type?, limit?)`\n- `memory_remember(content, cwd?, scope, type, files?, tags?, confidence?)`\n- `memory_update(id, content?, files?, tags?, confidence?, archived?)`\n- `memory_forget(id)`\n- `memory_status(cwd?)`\n- `memory_audit_repo(cwd, save?, limit?)`\n- `memory_task_checkpoint(cwd, summary?, files?, changes?, decisions?, blockers?, next_steps?, tests_run?, tests_not_run?, branch?, commit?, tags?, confidence?)`\n- `memory_resume_project(cwd, task?, files?, limit?, checkpoint_limit?)`\n- `memory_timeline(cwd, days?, limit?, type?)`\n\n## Resources\n\n- `memory:\u002F\u002Fuser\u002Fprofile`\n- `memory:\u002F\u002Frepo\u002Fcurrent\u002Fbrief`\n- `memory:\u002F\u002Frepo\u002Fcurrent\u002Fcommands`\n- `memory:\u002F\u002Frepo\u002Fcurrent\u002Fdecisions`\n- `memory:\u002F\u002Frepo\u002Fcurrent\u002Fgotchas`\n- `memory:\u002F\u002Frepo\u002Fcurrent\u002Fresume`\n- `memory:\u002F\u002Frepo\u002Fcurrent\u002Ftimeline`\n\n## Prompts\n\n- `memory-check`\n- `memory-status`\n- `memory-save`\n- `memory-audit`\n- `memory-checkpoint`\n- `memory-resume`\n- `memory-timeline`\n\nIf the Codex UI surfaces MCP prompts or resources from the plus menu, these entries give Memory Brain visible options there. The skill also prints a short `Memory Brain:` status line when it checks, searches, saves, updates, archives, resumes, or checkpoints memory.\n\n## Project Continuity\n\nFor multi-day work, this is the most important workflow:\n\n1. Start with `memory_resume_project`.\n2. Work normally.\n3. End with `memory_task_checkpoint`.\n4. Use `memory_timeline` when you need to ask what happened recently or yesterday.\n\nCheckpoints capture:\n\n- changed files\n- decisions made\n- blockers\n- next steps\n- tests run\n- tests not run\n- branch and commit when available\n\n## Install From A Local Checkout\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fccycv\u002Fcodex-memory-brain.git\ncd codex-memory-brain\nbash install.sh\n```\n\nDry run:\n\n```bash\nbash install.sh --dry-run\n```\n\nInstall OpenCode support from a local checkout:\n\n```bash\nbash opencode\u002Finstall.sh\n```\n\nCustom install source:\n\n```bash\nCODEX_MEMORY_REPO_URL=https:\u002F\u002Fgithub.com\u002FYOUR_ORG\u002Fcodex-memory-brain.git bash -c \"$(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FYOUR_ORG\u002Fcodex-memory-brain\u002FHEAD\u002Finstall.sh)\"\n```\n\n## Development\n\nRun tests:\n\n```bash\npython3 -m unittest discover -s tests\n```\n\nValidate the plugin manifest if you have the Codex plugin creator skill available:\n\n```bash\nuv run --with pyyaml python ~\u002F.codex\u002Fskills\u002F.system\u002Fplugin-creator\u002Fscripts\u002Fvalidate_plugin.py .\n```\n\nRun the Codex CLI memory benchmark:\n\n```bash\npython3 benchmarks\u002Fcodex_memory_benchmark.py --repo \u002Fpath\u002Fto\u002Frepo --runs 1 --max-tasks 8\n```\n\nThe built-in benchmark tasks are Askio-oriented. The runner writes `results.json`, per-run event logs, final answers, and `benchmark_report.md` under `benchmarks\u002Fresults\u002F\u003Ctimestamp>\u002F`.\n\n## Safety\n\nThe server rejects likely secrets, `.env` dumps, private keys, oversized content, and common prompt-injection phrases before saving memory.\n\n`memory_forget` archives memories instead of hard-deleting them.\n\n## License\n\nMIT\n",2,"2026-06-11 04:11:11","CREATED_QUERY"]