Files
praxis/pyproject.toml
T
Praxis CI 6cf63cb064 docs(P01): verify — APPROVE_WITH_NOTES, 4 P0 fixed, 18/20 REQ covered
Verification layers:
  Structural: PASS (all scripts executable, syntax clean, Dockerfile valid)
  Behavioral: PASS (121 bats, 77 pytest, docker build succeeds, compose valid)
  Security: PASS (no secrets committed, .dockerignore excludes .env*, env_file pattern)
  Quality: PASS (coreci patterns followed, no coreci refs, G-104/G-105/G-106 verified)

P0 issues found and auto-fixed:
  1. docker-compose.yml: removed invalid restart_policy key, fixed env_file syntax
  2. pyproject.toml: added fastapi + uvicorn deps (v0.1 gap exposed by Dockerfile)
  3. timing.sh: renamed coreci_deploy_timing → praxis_deploy_timing (TASK-03-07)
  4. firstboot-hook.sh: fixed idempotency check (/opt/praxis/.git not /usr/local/bin/praxis-deploy)

P1+ issues: 8 (1 fixed: lxc-config.sh default alignment, 7 noted for post-hoc review)
REQ coverage: 18/20 covered, 2 deferred (live first-boot timing + live E2E require cluster)
Must-haves: 25/28 pass, 2 partial (comment-only diffs, no Makefile), 1 deferred

---ci---
project: praxis
phase: 1
milestone: v0.2
status: verify
---/ci---
2026-08-03 18:37:45 +00:00

60 lines
1.8 KiB
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "praxis-server"
version = "0.1.0"
description = "Praxis — voice-first AI apprenticeship platform (v0.1 foundation: minimal viable voice loop)"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Proprietary" }
authors = [{ name = "Praxis v0.1 (CIAgent)" }]
dependencies = [
# Web framework — FastAPI serves /health + /pipecat/webrtc + StaticFiles (D-023)
"fastapi>=0.110",
# ASGI server — uvicorn runs the FastAPI app (used by server.__main__.main)
"uvicorn>=0.30",
# Orchestration — Pipecat (D-017) with the three native service extras + WebRTC transport
"pipecat-ai[deepgram,cartesia,piper,webrtc]>=1.6.0",
# LLM access — Ollama Cloud direct API (D-020). Pipecat's OLLamaLLMService uses the
# OpenAI-compatible client; we point base_url at https://ollama.com/v1 + bearer key.
"openai>=1.40",
# Scenario format — YAML DSL → Pydantic (D-018)
"pydantic>=2.7",
"pyyaml>=6.0",
# Learner state — SQLite (D-007), async access
"aiosqlite>=0.20",
# Config
"python-dotenv>=1.0",
# Latency probes — HTTP client for the integrated e2e probe
"httpx>=0.27",
"websockets>=12.0",
# Audio probe fixture generation (synthesized PCM) for the ASR probe
"numpy>=1.26",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
]
[project.scripts]
praxis-server = "server.__main__:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["server*", "db*", "scenarios*"]
exclude = ["client*", "tests*", "scripts*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra -q"
[tool.coverage.run]
source = ["server", "db"]