Agent entrypoint for this repository. Start with the nearest nested AGENTS.md; use this file for repo-wide rules only.
- Read
handbook/index.mdfor repo topology, architecture entrypoints, and active engineering plans. Ifhandbook/plans/local/index.mdexists, treat it as a checkout-local extension to the tracked plan set after readinghandbook/plans/index.md. - Read the nearest nested
AGENTS.md. - For Backend work, read
handbook/domains/backend.mdandbe/AGENTS.md. - For Frontend work, read
handbook/domains/frontend.mdandfe/AGENTS.md. - For SQL tests, docs, generated code, Java extensions, or CI/tooling, read the matching
handbook/domains/page before the nested guide.
be/: C++ backend for execution, storage, services, and data processing.fe/: Java frontend for parsing, planning, metadata, and coordination.gensrc/: generated thrift/protobuf code.test/: SQL integration tests.docs/: user and admin documentation.java-extensions/: JNI and external source integrations.
# Build backend or frontend
./build.sh --be
./build.sh --fe
# Run backend or frontend unit tests
./run-be-ut.sh
./run-fe-ut.sh
# Run SQL integration tests
cd test && python3 run.py -v- Do not hand-edit generated outputs in
gensrc/unless the generator workflow explicitly requires it. - Protobuf fields must stay optional/repeated; never add
requiredand never reuse ordinals. - Thrift fields must stay optional/repeated; never add
requiredand never reuse ordinals. - User-facing config or metric changes must update the matching docs in
docs/en/anddocs/zh/when applicable.
- Commit messages: English, imperative, concise.
- PR titles:
[BugFix] ...,[Feature] ...,[Enhancement] ...,[Refactor] ...,[UT] ...,[Doc] ..., or[Tool] .... - Fill the repository PR template completely, including behavior-change classification and test/docs checkboxes.
- Bug-fix PRs intended for branch backports must set the version checkboxes that drive auto-backporting.