{"version":1,"pages":[{"id":"BuJwJJMMqDBNxeJzZfUW","title":"Overview","pathname":"/","siteSpaceId":"sitesp_d7Byp","icon":"compass","description":"Codna understands a repository before it acts. It maps the code for about zero model tokens, then fixes, reviews and secures from the evidence. Runs on your machine or your cloud.","breadcrumbs":[{"label":"Getting started"}]},{"id":"EDfybAPmHhBDEsLseK1c","title":"Installation","pathname":"/getting-started/installation","siteSpaceId":"sitesp_d7Byp","icon":"down-to-bracket","description":"Install the codna CLI from PyPI with one pip command. No Node, Bun, Docker, or separate engine.","breadcrumbs":[{"label":"Getting started"}]},{"id":"3ns1fuyAWbqtjiuEoeev","title":"Quickstart","pathname":"/getting-started/quickstart","siteSpaceId":"sitesp_d7Byp","icon":"bolt","description":"Install the Codna CLI, add a model key, triage a repository, and open an automated fix PR.","breadcrumbs":[{"label":"Getting started"}]},{"id":"LTdffMUbE5fOu21F6vtx","title":"codna review","pathname":"/guides/review","siteSpaceId":"sitesp_d7Byp","icon":"magnifying-glass-plus","description":"codna review reads a pull request, posts findings with severity, category and confidence, approves a clean diff, and names a red required check next to its verdict.","breadcrumbs":[{"label":"Guides"}]},{"id":"X6XAuSHNkdWWSEb05lKs","title":"Security Autofix","pathname":"/guides/security-autofix","siteSpaceId":"sitesp_d7Byp","icon":"shield-halved","description":"Prove which scanner findings are reachable, remediate only the eligible ones, and open a draft PR only when every safety condition holds.","breadcrumbs":[{"label":"Guides"}]},{"id":"HZyVz4NlVSGWSJrIzQsq","title":"Hooks","pathname":"/guides/hooks","siteSpaceId":"sitesp_d7Byp","icon":"bolt","description":"Hooks — lifecycle scripts that observe, block or annotate an agent turn, in .codna/hooks.json or a Cursor .cursor/hooks.json, which events run, and what an unsupported event does.","breadcrumbs":[{"label":"Guides"}]},{"id":"EaMJtUY6WaMmNVhc8dKF","title":"MCP Server","pathname":"/guides/mcp","siteSpaceId":"sitesp_d7Byp","icon":"plug","description":"Run Codna as a Model Context Protocol server so Cursor, Claude Desktop, or your own agent can triage, fix, secure, recall code, and file reports.","breadcrumbs":[{"label":"Guides"}]},{"id":"rRrfFy3uxrQbrSeOmpSD","title":"GitHub Action","pathname":"/guides/github-action","siteSpaceId":"sitesp_d7Byp","icon":"robot","description":"thyn-ai/codna-action@v1 runs codna fix, review or secure from your own CI. It installs codna from PyPI and runs the same commands you run on your machine.","breadcrumbs":[{"label":"Guides"}]},{"id":"Kxw2qpud1EmsvKkLJtiQ","title":"GitHub App","pathname":"/guides/github-app","siteSpaceId":"sitesp_d7Byp","icon":"github","description":"Install the Codna GitHub App. It reviews every pull request, answers @codna review and @codna fix, fixes red CI on a PR, proves scanner findings, and reports on merge-queue commits.","breadcrumbs":[{"label":"Guides"}]},{"id":"BcyebIwMAgH27WETofBr","title":"How It Works","pathname":"/concepts/concepts","siteSpaceId":"sitesp_d7Byp","icon":"diagram-project","description":"How Codna maps a repository deterministically for zero tokens, then hands an agent a tight evidence bundle to produce a fix with a measured regression risk.","breadcrumbs":[{"label":"Concepts"}]},{"id":"LaP3Fe7FOlxexPtndS5j","title":"Privacy and data","pathname":"/concepts/privacy","siteSpaceId":"sitesp_d7Byp","icon":"shield-check","description":"What leaves your machine when Codna runs, what never does, where keys live, and the privacy controls in codna.yaml.","breadcrumbs":[{"label":"Concepts"}]},{"id":"e9RhUA1WEkuAT5PjUSAU","title":"Models & BYOK","pathname":"/concepts/models-and-byok","siteSpaceId":"sitesp_d7Byp","icon":"key","description":"Your model provider key (BYOK) vs. your Codna account key, where keys are stored, and how to pin a model in codna.yaml.","breadcrumbs":[{"label":"Concepts"}]},{"id":"WyPKCNE9vm3ccG4ghxQ7","title":"Code Memory","pathname":"/concepts/memory","siteSpaceId":"sitesp_d7Byp","icon":"brain","description":"Codna's on-device code memory. A local semantic index of your repository, powered by the bundled Telys kernel. Offline and zero-configuration after a one-time free `codna login`.","breadcrumbs":[{"label":"Concepts"}]},{"id":"IiquJc7IHEyCKrKZCL4n","title":"Language support","pathname":"/concepts/languages","siteSpaceId":"sitesp_d7Byp","icon":"code","description":"Repository understanding is language-agnostic. On-device code memory uses a fixed set of tree-sitter grammars. Which one applies depends on the feature.","breadcrumbs":[{"label":"Concepts"}]},{"id":"0J2cLigcemMkzHZAo3sO","title":"CLI Reference","pathname":"/reference/cli","siteSpaceId":"sitesp_d7Byp","icon":"terminal","description":"Complete reference for every Codna CLI command, its flags, and usage.","breadcrumbs":[{"label":"Reference"}]},{"id":"F9WliGfQ5ZeNYZbp8wFZ","title":"Configuration","pathname":"/reference/configuration","siteSpaceId":"sitesp_d7Byp","icon":"gear","description":"Environment variables Codna reads for model keys, GitHub writes, the local runtime, code memory and security autofix, and the codna.yaml file with its model, privacy, fix and review blocks.","breadcrumbs":[{"label":"Reference"}]},{"id":"tGaehn0dvpCSgc8NNqvw","title":"CI fleet gate","pathname":"/reference/adaptive-concurrency","siteSpaceId":"sitesp_d7Byp","icon":"server","description":"codna ci keeps a self-hosted CI runner fleet inside a chosen share of one machine. A job asks for a slot before it does real work. The gate never fails a build.","breadcrumbs":[{"label":"Reference"}]},{"id":"6dahJaGn3xwka0lBcljh","title":"Local runtime","pathname":"/reference/operations","siteSpaceId":"sitesp_d7Byp","icon":"gauge-high","description":"Operate Codna's local runtime. Health checks, the full diagnostic, loopback ports, and the environment variables that control on-disk state.","breadcrumbs":[{"label":"Reference"}]},{"id":"pKodemFOP7QR2Dw117qq","title":"Troubleshooting","pathname":"/reference/troubleshooting","siteSpaceId":"sitesp_d7Byp","icon":"life-ring","description":"Fix the common Codna errors. A missing model key, a local runtime that did not start, a missing flag, or a GitHub App check that ended neutral.","breadcrumbs":[{"label":"Reference"}]},{"id":"Tpf6dscj8NYUEgGwAMUB","title":"Glossary","pathname":"/reference/glossary","siteSpaceId":"sitesp_d7Byp","icon":"book-open","description":"Plain-language definitions of the terms you'll see across Codna's docs and output. Snapshots, evidence bundles, blast radius, review verdicts, reachability verdicts, the G-gates, and more.","breadcrumbs":[{"label":"Reference"}]},{"id":"Q5MQWK4yKYU0Nm4udN1p","title":"FAQ","pathname":"/reference/faq","siteSpaceId":"sitesp_d7Byp","icon":"circle-question","description":"Short answers about offline use, where your code goes, cost, languages, pull-request commands, review verdicts, and private repositories.","breadcrumbs":[{"label":"Reference"}]},{"id":"q9TEuB9pxXDFbY6cp4ri","title":"Changelog","pathname":"/reference/changelog","siteSpaceId":"sitesp_d7Byp","icon":"clock-rotate-left","description":"What's new in Codna. The capabilities and fixes as they ship, newest first.","breadcrumbs":[{"label":"Reference"}]}]}