refactor: rename API and frontend projects to Vocero

Rename the project directories, Python distribution and import package, and npm package. Update launcher, Docker, tooling, tests, lockfiles, and documentation while preserving existing API contracts.

Make AGENTS.md self-contained and remove external skill and workflow references.
This commit is contained in:
2026-10-06 19:26:55 -03:00
parent e0304b2bdb
commit abd03ed07d
105 changed files with 353 additions and 312 deletions
+18
View File
@@ -0,0 +1,18 @@
"""Validate service-owned response structure without rewriting the wire body."""
from typing import Any
from fastapi.responses import JSONResponse
from pydantic import BaseModel
def validated_json_response(
content: Any,
model: type[BaseModel],
*,
status_code: int = 200,
) -> JSONResponse:
model.model_validate(content)
# model_dump would insert defaults, potentially coerce values, and reorder
# fields. Keeping the original JSONResponse serialization is intentional.
return JSONResponse(content=content, status_code=status_code)