docs: instruções de ambiente de desenvolvimento (Cursor Cloud) - #7
docs: instruções de ambiente de desenvolvimento (Cursor Cloud)#7felippepestana wants to merge 1 commit into
Conversation
Co-authored-by: FelippePestana <felippepestana@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Guia do RevisorAdiciona Alterações por Arquivo
Dicas e comandosInteragindo com o Sourcery
Personalizando sua ExperiênciaAcesse seu dashboard para:
Obtendo Ajuda
Original review guide in EnglishReviewer's GuideAdds AGENTS.md with environment and runtime instructions for running this repo and related repos in Cursor Cloud, including venv setup, local dev server flags, required secrets, and references to sibling projects and tmux usage; no runtime code changes. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new documentation file AGENTS.md containing workspace instructions, local development setups, and environment configurations for Cursor Cloud. The review feedback suggests improving the setup instructions by using the generic python3-venv package instead of a hardcoded version to prevent compatibility issues, and consistently referencing the virtual environment's Python executable (.venv/bin/python) for CLI commands and syntax smoke tests.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
|
||
| - **Venv:** `.venv` na raiz (`python3 -m venv .venv` na primeira vez). | ||
| - **Instalar:** `.venv/bin/pip install -r requirements.txt` | ||
| - **Se venv falhar:** instalar pacote de sistema `python3.12-venv` (uma vez por VM). |
There was a problem hiding this comment.
Usar um pacote de versão fixa como python3.12-venv pode falhar se a VM do Cursor Cloud utilizar uma versão diferente do Python como padrão (por exemplo, Python 3.11, que é o especificado no deploy/setup.sh). Recomenda-se utilizar o pacote genérico python3-venv, que instala automaticamente a dependência correta para a versão padrão do Python do sistema.
| - **Se venv falhar:** instalar pacote de sistema `python3.12-venv` (uma vez por VM). | |
| - **Se venv falhar:** instalar pacote de sistema python3-venv (uma vez por VM). |
| - **CLI:** `nova`, `listar`, `info`, `analisar`, `consultar` — `python -m analista_processual --help`. | ||
| - **Smoke de sintaxe:** `python -m py_compile analista_processual/*.py` (não há pytest no repo). |
There was a problem hiding this comment.
Para garantir que os comandos CLI e o smoke test de sintaxe rodem no ambiente virtual correto (com todas as dependências instaladas), é recomendável utilizar o caminho do executável do venv (.venv/bin/python) de forma consistente com as instruções anteriores, ou indicar a ativação do ambiente virtual.
| - **CLI:** `nova`, `listar`, `info`, `analisar`, `consultar` — `python -m analista_processual --help`. | |
| - **Smoke de sintaxe:** `python -m py_compile analista_processual/*.py` (não há pytest no repo). | |
| - **CLI:** nova, listar, info, analisar, consultar — .venv/bin/python -m analista_processual --help. | |
| - **Smoke de sintaxe:** .venv/bin/python -m py_compile analista_processual/*.py (não há pytest no repo). |
Adiciona
AGENTS.mdcom instruções para agentes na nuvem: venv Python, flags--no-auth, portas, secrets (ANTHROPIC_API_KEY), e como rodar o AdvLabIA no repo irmãolegal-ai-flow-hub.Sem alterações de código de runtime.
Summary by Sourcery
Adicionar documentação do developer-agent para execução deste projeto e de seus repositórios relacionados em ambientes Cursor Cloud.
Documentação:
AGENTS.mdcom instruções para configurar o venv do Python, executar a UI local e a CLI, configurar segredos e realizar verificações básicas de sintaxe para este repositório no Cursor Cloud.Original summary in English
Summary by Sourcery
Add developer-agent documentation for running this project and its related repositories in Cursor Cloud environments.
Documentation: