agnes-the-ai-analyst/app/api
ZdenekSrotyr 49f109bf73 fix: address PR review findings — config write, CalVer, error handling
- Config writes to DATA_DIR/state/instance.yaml (writable) instead of
  CONFIG_DIR (read-only :ro in Docker)
- instance_config.py checks DATA_DIR/state/ first, then falls back to
  CONFIG_DIR for backward compat
- CalVer counter is now global across channels (*-YYYY.MM.*) per spec
- Keboola error messages sanitized — log full error, return generic msg
- chmod in secrets.py wrapped in try/except for Windows compat
- Setup wizard JS handles 401 (expired JWT) with user-facing message
- deploy.yml changed to workflow_dispatch only (no duplicate test runs)
- Smoke test uses docker-compose.prod.yml + AGNES_TAG instead of sed
- docker-compose.prod.yml uses ${AGNES_TAG:-stable} env var

663 tests pass. 8 E2E verification tests pass.
2026-04-10 13:16:40 +02:00
..
__init__.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00
access_requests.py feat: access request UI — catalog badges, request modal, admin approval page 2026-03-31 12:45:29 +02:00
admin.py fix: address PR review findings — config write, CalVer, error handling 2026-04-10 13:16:40 +02:00
catalog.py fix: enforce per-table access control on catalog profile endpoints 2026-04-09 16:30:24 +02:00
data.py feat: add graceful shutdown handler 2026-04-09 07:03:45 +02:00
health.py feat: multi-instance deployment — all 14 must-have items from spec 2026-04-10 11:57:42 +02:00
jira_webhooks.py chore: Docker prod config (Python 3.13, no reload), fix utcnow deprecation, update docs 2026-04-08 12:10:47 +02:00
memory.py fix: route admin_edit through KnowledgeRepository.update instead of raw SQL 2026-04-09 18:42:52 +02:00
permissions.py feat: implement data access control — table-level permissions 2026-03-31 12:33:31 +02:00
query.py fix: block DuckDB metadata functions and relative paths in query endpoint 2026-04-09 16:29:11 +02:00
scripts.py fix: restrict script execution endpoints to analyst/admin roles 2026-04-09 16:31:42 +02:00
settings.py feat: add dataset permissions, script execution, Kamal config, CI/CD 2026-03-27 15:40:11 +01:00
sync.py feat: multi-instance deployment — all 14 must-have items from spec 2026-04-10 11:57:42 +02:00
telegram.py feat: complete system — web UI, all API endpoints, governance, admin, CLI commands 2026-03-27 16:52:22 +01:00
upload.py fix: remove duplicate Path alias in upload.py, replace _Path with Path 2026-04-09 18:42:48 +02:00
users.py feat: add FastAPI server with auth, RBAC, and all API endpoints 2026-03-27 15:19:18 +01:00