mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-07-03 20:40:37 +00:00
docs: add project-level AGENTS.md as the shared agent/contributor guide Promote the agent guidance that was previously a personal, gitignored root file into a committed, contributor-facing AGENTS.md, and tie together the existing .agents/ resources (architecture invariants, generated-files list, skills) and the per-crate AGENTS.md guides under one auto-discoverable root entry point. - Add root AGENTS.md: core commands, repo map, must-read rules, high-signal entry points, and pre-PR checks. Worded for any coding agent, not just one. - CLAUDE.md becomes a symlink to AGENTS.md for Claude Code compatibility. - .gitignore: stop ignoring root AGENTS.md/CLAUDE.md; ignore /.local/ instead, which is where personal/local agent config now lives. Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
83 lines
1.3 KiB
Plaintext
83 lines
1.3 KiB
Plaintext
# Generated by Cargo
|
|
# will have compiled files and executables
|
|
/target/
|
|
# also ignore if it's a symbolic link
|
|
/target
|
|
|
|
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
|
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
|
|
|
# These are backup files generated by rustfmt
|
|
**/*.rs.bk
|
|
|
|
# Mac DS_Store
|
|
**/*.DS_Store
|
|
|
|
debug/
|
|
|
|
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
*.pdb
|
|
|
|
# JetBrains IDE config directory
|
|
.idea/
|
|
*.iml
|
|
|
|
# VSCode IDE config directory
|
|
.vscode/
|
|
|
|
# Logs
|
|
**/__unittest_logs
|
|
logs/
|
|
!grafana/dashboards/logs/
|
|
|
|
# cpython's generated python byte code
|
|
**/__pycache__/
|
|
|
|
# Benchmark dataset
|
|
benchmarks/data
|
|
|
|
# dotenv
|
|
.env
|
|
|
|
# dashboard files
|
|
!/src/servers/dashboard/VERSION
|
|
/src/servers/dashboard/*
|
|
|
|
# Vscode workspace
|
|
*.code-workspace
|
|
|
|
venv/
|
|
|
|
# Fuzz tests
|
|
tests-fuzz/artifacts/
|
|
tests-fuzz/corpus/
|
|
|
|
# cargo-udeps reports
|
|
udeps-report.json
|
|
|
|
# Nix
|
|
.direnv
|
|
.envrc
|
|
|
|
## default data home
|
|
greptimedb_data
|
|
|
|
# github
|
|
!/.github
|
|
|
|
# AI related
|
|
# Root AGENTS.md is the shared project guide (tracked); CLAUDE.md symlinks to it.
|
|
# Personal/local agent config goes under .local/ and stays untracked.
|
|
/.local/
|
|
.codex
|
|
.gemini
|
|
.opencode
|
|
.worktrees/
|
|
|
|
# local design docs
|
|
docs/specs/
|
|
.vs/
|
|
|
|
# Claude Code personal/local overrides (keep shared .claude/ content tracked)
|
|
.claude/*.local.*
|