Ignore CodeGraph indexes from the repository root as well.
ci / vet-and-test (push) Failing after 1s
ci / docker-checkout-hostgateway (push) Failing after 2s

A second ignore layer keeps the SQLite database local even if codegraph init overwrites the nested policy file. Pin Agent-Native to the same policy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-29 13:30:16 +00:00
co-authored by Cursor
parent d611dd2d7b
commit 6a10c4272f
4 changed files with 20 additions and 3 deletions
+4
View File
@@ -178,6 +178,10 @@ go build -o agent-squad .
./agent-squad serve --addr :8090 # ③ HTTP API(REST + SSE)
```
## CodeGraph
`codegraph init` 的索引写在 `.codegraph/`。仓库只跟踪 `.codegraph/.gitignore`。SQLite 数据库、WAL、pid、socket 和日志留在本机;根目录 `.gitignore` 与该文件双重忽略,避免索引被提交。
## 验证
```bash