- Frontend Delete button (kanban.js) called DELETE /api/kanban/tasks/{id}
but no such route existed; FastAPI returned 405 Method Not Allowed,
so tasks (including 'done' ones) could never be deleted from the board.
- Added the missing route: removes the task's JSON file, cleans up any
links on other tasks that pointed to it (no orphaned parent/child
pointers), audits the action, returns {status:deleted}.
- Verified end-to-end against the running server (create -> delete -> 404).
Also captures current working state across brain/, skills/, agents/,
data/, tests/, and docs.
|
||
|---|---|---|
| .. | ||
| projects | ||
| README.md | ||
| agentic-os.json | ||
| build-central.sh | ||
| keepalive-brain-wsl.sh | ||
| learn-loop.sh | ||
| learnings.md | ||
| link-project.sh | ||
| metrics.json | ||
| serve-brain-wsl.sh | ||
| serve-brain.sh | ||
| sync-to-windows.sh | ||
README.md
Central Brain — Graphify knowledge graph
One central, queryable brain that project graphs roll up into.
Topology (two brains)
- Agentic-OS brain (WSL) — this folder.
agentic-os.json+ mergedcentral-graph.json. - Windows central brain (device-wide, offline, standalone) —
C:\Users\Austin\Brains\central\. Its own Python venv + Graphify, servescentral-graph.jsonover HTTP MCP athttp://127.0.0.1:8090/mcpfrom Windows. No WSL dependency at query time. WSL'ssync-to-windows.shpushes the merged graph into it hourly.
Per-project graphs: projects/<name>.json (linked via link-project.sh) roll
up into central-graph.json here, which is then synced to Windows.
Commands (WSL side)
bash brain/graph/build-central.sh # rebuild WSL central brain (code graph + merge linked projects)
bash brain/graph/link-project.sh <name> <graph.json> # register a project's graph into the brain
bash brain/graph/sync-to-windows.sh # rebuild + push merged graph to Windows central brain
bash brain/graph/serve-brain.sh # serve WSL central brain over HTTP MCP (:8090)
bash brain/graph/serve-brain-wsl.sh # redundant WSL serve (:8090, independent of Windows brain)
bash brain/graph/keepalive-brain-wsl.sh # restart WSL serve if :8090 drops (fail-safe)
Set CENTRAL_BRAIN_PORT to override the serve port (default 8090).
Continuous learning
learn-loop.sh runs the self-improving pass (replaces the plain rebuild):
- Rebuild code graph + cluster (edges + community labels).
- If an LLM key is set (GEMINI/OPENAI/ANTHROPIC/GOOGLE), deep-extract
brain/corpus/(diagrams/designs/notes) into the graph. - Merge agentic-os + corpus + linked projects → central-graph.json.
- Measure + heuristically optimize (offline learning): computes node/link
counts, orphan rate, community-size balance, and file size; collapses tiny
communities into
_miscfor tighter recall; records metrics tometrics.jsonand writes what it improved tolearnings.md(the brain's own memory of improvements — compounds each run). - Sync to Windows brain (redundant).
Drop sources to learn from in brain/corpus/{diagrams,designs,notes}/.
Without an LLM key, corpus files are stored but only become graph nodes via
the semantic (keyed) path — code is always graphed offline.
Hourly cron agentic-os-brain-rebuild runs the learn-loop.
Notes
graphify's MCP HTTP serve requires the extra:pip install "graphifyy[mcp]"(done in the venv).- The write path for memory is still
brain/*.md+audit+data/; graphify reads those, never writes them. - Rebuild is scheduled hourly by the
agentic-os-brain-rebuildcron. - WSL serve is kept alive every 5 min by the
agentic-os-brain-keepalive-wslcron (fail-safe; mirrors Windowskeepalive-brain.bat). - Two independent brain endpoints exist on :8090 — WSL (this tree) and Windows (
C:\Users\Austin\Brains\central\). Either can answer if the other is down.