This project is a data query tool, not a typical software project. When a user asks a question, it is almost always a question about the data in the database, not about the source code.
When the user asks anything that sounds like a data question (e.g. "Which country has the most customers?", "Show me top products by revenue", "How many orders last month?"):
- Do NOT scan the codebase. This is not a coding task.
- Do NOT read
src/,tests/, or any source files. - Read
docs/data-catalog/_index.mdto identify the relevant tables. - Read the relevant per-table doc under
docs/data-catalog/for column names and types. - Run
uv run oda query "<SQL>"to execute the query and return results to the user.
The active database connection and full command reference are in the IDE rules file:
- Cursor:
.cursor/rules/data-agent.mdc(auto-loaded viaalwaysApply) - OpenCode:
.opencode/rules/data-agent.md
Both files are generated by running uv run oda connect <name> from the project root.
Read the appropriate file if you need to know which database is active or how to use oda commands.
oda (Open Data Agent) is a local CLI that connects to databases and runs read-only SQL queries.
All queries go through uv run oda query "..." — never connect to the database directly.
Only read or edit files in src/, tests/, or config files when the user explicitly asks to:
- fix a bug
- add a feature
- run tests
- change configuration