Files
whisper-remote/AGENTS.md
space 0dd078b4ef
All checks were successful
CI / Backend (pull_request) Successful in 10s
CI / CLI (pull_request) Successful in 10s
Add repo agent guidance
2026-05-24 12:50:31 +02:00

1.3 KiB

AGENTS.md

This repository contains two Python packages:

  • backend/: a FastAPI wrapper around the upstream whisper CLI
  • cli/: a local whisper-remote command that forwards transcription jobs to the backend

Working rules

  • Keep changes focused and scoped to the request.
  • Prefer small, verifiable edits over broad refactors.
  • When behavior changes, update tests or add coverage in the same change.
  • If a change touches the request/response contract, verify both backend/ and cli/ paths.

Local commands

Backend:

cd backend
python -m pip install -e .[dev]
python -m pytest
python -m build
uvicorn server:app --app-dir src --host 0.0.0.0 --port 8000

CLI:

cd cli
python -m pip install -e .[dev]
python -m pytest
python -m build

Delivery policy

  • All new pushes must go through a pull request.
  • Do not push directly to main.
  • Open a PR, wait for CI to pass, and merge through the review flow.
  • If a change is ready, create a branch commit and hand it off via PR instead of bypassing review.

Notes for future agents

  • The repo uses Gitea Actions for CI in .gitea/workflows/ci.yml.
  • The backend package requires the upstream whisper CLI to already be available on PATH for runtime use.
  • On Windows, PowerShell examples are preferred when documenting local setup.