Canonical agent entry point. Tool configs (CLAUDE.md, Cursor rules) start here and route to .agents/.
Keep this file lean (~60 lines) — it routes to detailed sources. Loading a large AGENTS.md on every session wastes context tokens; use a thin navigation file plus on-demand docs (see agentsmd/agents.md).
Project knowledge lives in .agents/context/. Coding rules live in .agents/rules/ (below). See .agents/README.md for the full layout.
Before coding — read selectively:
- One stable file as needed:
- architecture / module layout →
systemPatterns.md - toolchain / CI / local dev →
techContext.md - API surface / users →
productContext.md - scope / goals →
projectBrief.md
- architecture / module layout →
- Quick lookup:
README.md,CONTRIBUTING.md, docs.rs/ydb
After significant work — update progress.md and stable context files when the work itself merges. Do not merge changes to activeContext.md (branch-only scratch pad — see file header).
On "update memory bank" — review all core files in .agents/context/README.md.
| Topic | File |
|---|---|
| Style, API boundaries, dependencies | .agents/rules/coding-standards.md |
| Unit vs integration tests, local YDB | .agents/rules/testing.md |
| Issue-first workflow, user boundaries | .agents/rules/workflow.md |
| Local dev, docker-compose, CI commands | .agents/rules/environment.md |
- Comments, doc comments, error messages, logs: English.
- Match style in the touched module; do not reformat unrelated code.
- Do not change
Cargo.toml/Cargo.lockunless the task requires it. - Integration tests are
#[ignore]; needYDB_CONNECTION_STRINGand--include-ignored. ydb-grpcis generated; clippy excludes it. Do not bump crate versions unless asked.- Non-trivial changes: discuss in a GitHub issue first (
CONTRIBUTING.md).
From repo root:
cargo fmt --check
cargo clippy --workspace --all-targets --no-deps --exclude=ydb-grpc -- -D warnings
cargo test --workspaceAlso: update progress.md only when the delivered work merges.
Ask the user before dependency upgrades, MSRV changes, or public API design choices.