FinSight is a Python-first, spec-driven system.
- Development on Windows laptop
- Deployment on Ubuntu server
- Local model endpoint available on LAN
- Offline-capable tests and tooling
- WSL2 may expose Docker as either
docker(native Linux CLI) ordocker.exe(Windows bridge) - Repo wrapper
scripts/docker-auto.shis the standard automation entrypoint for Docker commands
- FastAPI backend
- LangGraph supervisor orchestration
- Celery workers with Redis
- PostgreSQL + pgvector
- Runtime behavior in
config/runtime/*.yaml - Config validation via Pydantic at startup (fail-fast)
- No hardcoded business behavior in code
- No secrets in repository
- Strict typing with
mypy --strict - Lint with
ruff - Tests must run offline
- Agent role boundaries are enforced
- Read constitution and spec artifacts
- Implement only files in the active plan
- Run
mypy,ruff, andpytest - Commit with conventional commit format