{"id":36778239,"url":"https://github.com/databendlabs/snowtree","last_synced_at":"2026-02-10T07:10:24.011Z","repository":{"id":331553092,"uuid":"1128318881","full_name":"databendlabs/snowtree","owner":"databendlabs","description":"Review-Driven Safe AI Coding","archived":false,"fork":false,"pushed_at":"2026-02-03T05:29:10.000Z","size":34434,"stargazers_count":48,"open_issues_count":1,"forks_count":8,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-03T18:51:11.779Z","etag":null,"topics":["ai-agents","claude-code","codereview","codex"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/databendlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-05T13:12:18.000Z","updated_at":"2026-02-03T05:28:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5597ac0-8555-4d15-ba4d-a4e06ddd0e9a","html_url":"https://github.com/databendlabs/snowtree","commit_stats":null,"previous_names":["bohutang/snowtree","databendlabs/snowtree"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/databendlabs/snowtree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databendlabs%2Fsnowtree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databendlabs%2Fsnowtree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databendlabs%2Fsnowtree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databendlabs%2Fsnowtree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/databendlabs","download_url":"https://codeload.github.com/databendlabs/snowtree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databendlabs%2Fsnowtree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29293261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T03:42:42.660Z","status":"ssl_error","status_checked_at":"2026-02-10T03:42:41.897Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","claude-code","codereview","codex"],"created_at":"2026-01-12T13:15:04.073Z","updated_at":"2026-02-10T07:10:23.913Z","avatar_url":"https://github.com/databendlabs.png","language":"TypeScript","readme":"# Snowtree\n\nSnowtree is Databend Labs' review-driven workflow for keeping AI coding sessions safe, auditable, and merge-ready.\n\nAI generates code. You must review. You can't review everything or roll back safely.  \nSnowtree fixes this with **worktree isolation**, **incremental review**, and **staging snapshots**.\n\n![Snowtree Demo](assets/snowtree-show.gif)\n\n## Highlights\n\n- **Worktree isolation** – every AI session runs in its own Git worktree, so you can spike multiple ideas in parallel with zero merge headaches.\n- **Incremental review loop** – review, stage, and lock in vetted changes after each AI round; subsequent rounds only diff against staged code.\n- **Native CLI agents** – run Claude Code, Codex, Gemini CLI, or Kimi Code CLI directly without wrappers, meaning no extra queues or limits.\n- **Stage-as-snapshot** – staged files become the canonical baseline. When you're ready, merge them back and ship the PR.\n\n## What Snowtree Automates\n\n- **AI agent writes code** – edits live in the isolated worktree while you review.\n- **AI agent commits** – generates messages and commits the staged snapshot.\n- **AI agent syncs PRs** – opens or refreshes pull requests on demand.\n- **AI agent updates from `main`** – rebases/merges the latest upstream changes.\n- **AI agent resolves conflicts** – fixes merge conflicts without touching staged files.\n\n## Prerequisites\n\nInstall at least one AI coding agent:\n\n| Agent | Install |\n|-------|---------|\n| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | `npm install -g @anthropic-ai/claude-code` |\n| [Codex](https://github.com/openai/codex) | `npm install -g @openai/codex` |\n| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | `npm install -g @google/gemini-cli` |\n| [Kimi Code CLI](https://github.com/MoonshotAI/kimi-cli) | `curl -LsSf https://code.kimi.com/install.sh \\| bash` |\n\n## Install\n\n**One-line installer (macOS/Linux):**\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/databendlabs/snowtree/main/install.sh | sh\n```\n\n**Manual download:** [GitHub Releases](https://github.com/databendlabs/snowtree/releases)\n\n| Platform | Format |\n|----------|--------|\n| macOS | `.dmg` (arm64, x64) |\n| Linux | `.deb`, `.AppImage` (x86_64) |\n\n## Development\n\n```bash\nmake install   # Install dependencies\nmake run       # Start development server\nmake check     # Typecheck, lint, and test\nmake build     # Build packages\n```\n\n## Learn More\n\n[Snowtree: Databend's Best Practices for AI-Native Development](https://www.databend.com/blog/category-engineering/snowtree/)\n\n## License\n\nApache-2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabendlabs%2Fsnowtree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatabendlabs%2Fsnowtree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabendlabs%2Fsnowtree/lists"}