
Commit Code, Update Docs: Building an AI Pipeline With Notion MCP
This is a submission for the Notion MCP Challenge What I Built Codebase Cortex is a multi-agent AI system that automatically keeps engineering documentation in sync with code. You commit code — your Notion docs update themselves. Why not just use Claude Code / Cursor / Copilot for docs? Coding AI tools are great at writing documentation — when you prompt them. The problem is you have to keep prompting. Every commit, you need to remember to ask, check if the right pages were updated, and verify nothing was overwritten. It's still a manual process — just with better writing. Cortex is different because it's autonomous : Coding AI Tools Codebase Cortex Trigger You prompt it manually Runs automatically on git commit Scope Updates what you point it to Finds related docs via semantic search across the entire codebase Consistency Different output each time Deterministic section-level merge — unchanged sections stay identical Memory Forgets between sessions FAISS index + page cache persist acr
Continue reading on Dev.to
Opens in a new tab



