diff --git a/.agents/code_review_guidelines.md b/.agents/code_review_guidelines.md index 546c5a6fb..17ecedff1 100644 --- a/.agents/code_review_guidelines.md +++ b/.agents/code_review_guidelines.md @@ -16,6 +16,7 @@ ### Python specific guide - Code should be "Pythonic" - We use `asyncio` where ever possible. Avoid threads unless there's a good reason we can't use async. +- `@pytest.mark.asyncio` is never required on async tests: `pytest.ini` sets `asyncio_mode=auto`. - Python json.dumps should always set `ensure_ascii=False` ### SDK @@ -30,8 +31,8 @@ The SDK in `/libs/core` is a SDK/library we expose to third parties. We code rev If the change contains UI changes read: - - `./frontend_design_guide.md` - - `./frontend_controls.md` + - `.agents/frontend_design_guide.md` + - `.agents/frontend_controls.md` ### FastAPI / OpenAPI Standards diff --git a/.gemini/config.yaml b/.gemini/config.yaml new file mode 100644 index 000000000..351ff9a8b --- /dev/null +++ b/.gemini/config.yaml @@ -0,0 +1,5 @@ +ignore_patterns: + - "app/desktop/studio_server/api_client/kiln_ai_server_client/**" + +memory_config: + disabled: false diff --git a/.gemini/styleguide.md b/.gemini/styleguide.md new file mode 100644 index 000000000..052beb385 --- /dev/null +++ b/.gemini/styleguide.md @@ -0,0 +1,5 @@ +# Kiln Code Review Guidelines + +Follow `.agents/code_review_guidelines.md` as the source of truth for how to review changes in this repository. + +If relevant to the change, also consult the more specific guides in `.agents/` (for example UI, API, Python tests). diff --git a/.github/workflows/debug_detector.yml b/.github/workflows/debug_detector.yml index 3dfa12b82..eb91f5c7f 100644 --- a/.github/workflows/debug_detector.yml +++ b/.github/workflows/debug_detector.yml @@ -17,14 +17,14 @@ jobs: found=0 echo "Checking for python print statements" - prints=$(grep -nRP --include='*.py' --exclude-dir=node_modules --exclude-dir=.venv --exclude-dir=.git --exclude-dir=.github --exclude-dir=build --exclude-dir=dist --exclude-dir=.svelte-kit -e '(?