Real-time tone annotation — Elcor-style emotional/tonal subtext for ND and autistic users
Find a file
pyr0ball 321abe0646 feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh
app/config.py: centralized Settings (DEMO_MODE, CLOUD_MODE, ports, etc.)
app/middleware/demo.py: DemoModeMiddleware — caps sessions (429), blocks export (403), adds X-Linnet-Mode header
app/middleware/cloud.py: CloudAuthMiddleware — requires X-CF-Session on /session/* routes, 401 without it
app/services/session_store.py: active_session_count() for demo cap
app/main.py: wires middleware conditionally, extends CORS for cloud origins

compose.test.yml: hermetic pytest runner in Docker (CF_VOICE_MOCK=1)
compose.demo.yml: DEMO_MODE=true, ports 8523/8524, demo.circuitforge.tech/linnet
compose.cloud.yml: CLOUD_MODE=true, ports 8522/8527, menagerie.circuitforge.tech/linnet

docker/web/Dockerfile: two-stage build (node:20 → nginx:alpine), VITE_BASE_URL/VITE_API_BASE ARGs
docker/web/nginx.conf: SSE + WS proxy, SPA routing (dev/demo)
docker/web/nginx.cloud.conf: adds X-CF-Session forwarding, /linnet/ alias for path-strip Caddy routing

manage.sh: profile arg (dev|demo|cloud|test), start/stop/restart/status/test/logs/build/open per profile
tests/test_profiles.py: 8 tests — demo export block, session cap, cloud auth gate, mode headers
2026-04-06 18:39:07 -07:00
app feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh 2026-04-06 18:39:07 -07:00
docker/web feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh 2026-04-06 18:39:07 -07:00
frontend feat: Notation v0.1.x scaffold — full backend + frontend + tests 2026-04-06 18:23:52 -07:00
tests feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh 2026-04-06 18:39:07 -07:00
.env.example feat: Notation v0.1.x scaffold — full backend + frontend + tests 2026-04-06 18:23:52 -07:00
.gitignore feat: Notation v0.1.x scaffold — full backend + frontend + tests 2026-04-06 18:23:52 -07:00
compose.cloud.yml feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh 2026-04-06 18:39:07 -07:00
compose.demo.yml feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh 2026-04-06 18:39:07 -07:00
compose.test.yml feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh 2026-04-06 18:39:07 -07:00
compose.yml feat: Notation v0.1.x scaffold — full backend + frontend + tests 2026-04-06 18:23:52 -07:00
Dockerfile feat: Notation v0.1.x scaffold — full backend + frontend + tests 2026-04-06 18:23:52 -07:00
manage.sh feat: test/demo/cloud profiles — middleware, compose files, nginx, manage.sh 2026-04-06 18:39:07 -07:00
pyproject.toml feat: Notation v0.1.x scaffold — full backend + frontend + tests 2026-04-06 18:23:52 -07:00
README.md Initial commit 2026-04-06 10:43:56 -07:00

linnet

Real-time tone annotation — Elcor-style emotional/tonal subtext for ND and autistic users