This file provides workspace context and system instructions specifically tailored for Google Gemini Code Assist and Gemini-powered agents (like Antigravity) working in the parqcast repository.
Gemini must strictly adhere to the universal architectural boundaries defined in AGENTS.MD.
- Do not duplicate those rules here. Always cross-reference
AGENTS.MDfor the strict package isolation rules (e.g., whyparqcast-corecannot importodoo).
When asked to write code, debug, or answer architectural questions, Gemini should pull the following files into its context window:
- Schema Inquiries: If the user asks about available data, columns, or ML decisions, immediately reference
docs/DATA_DICTIONARY.mdandpackages/parqcast-core/src/parqcast/schemas/outbound.py. - Action/Ingester Logic: If writing code that pushes decisions back to Odoo, reference
packages/parqcast-core/src/parqcast/schemas/inbound.py.
- Package Manager: We strictly use
uv. When suggesting terminal commands to the user, always format them asuv run <command>(e.g.,uv run ruff check .,uv run pytest). Do not suggestpip install. - Strict Pyright: Gemini must write Python code that satisfies
pyrightstrict mode.- Avoid
Anyand implicitUnknowntypes. - Utilize PEP 695 generics (
type V18,type V19) exactly as shown in the project stubs to enforce Odoo major version safety at compile time.
- Avoid
- Odoo ORM Restriction: When generating code, remember that only
parqcast-ingestersis permitted to invoke the Odooenvobject dynamically.parqcast-collectorsmust always use raw PostgreSQL queries viapsycopg2.