Instructions for AI coding agents working on this project.
- Read
CLAUDE.mdfor project conventions and architecture overview - Read
docs/REQUIREMENTS.mdanddocs/DESIGN.mdto understand the design intent - Understand that this is a thin wrapper over
langgraph-temporal— most Workflow logic lives upstream
Run these commands before considering any task complete:
make format # auto-fix formatting and imports
make lint # ruff check + ruff format --diff + mypy
make test # unit tests (no external services)If your changes affect Temporal Workflow behavior, also run:
make test_integration # requires running Temporal server
make test_integration_docker # self-contained: starts Temporal, runs tests, tears down- Python 3.10+ syntax:
X | Yunions, nofrom __future__ import annotationsunless needed for forward refs - All functions must have type annotations
- Use single backticks for inline code in docstrings (not Sphinx double backticks)
- Keep imports sorted with
ruff check --select I --fix - No unused imports — ruff enforces this
A git pre-commit hook runs make format && make lint on staged Python files. If the hook fails, fix the issues before committing. Do not bypass with --no-verify.