Files
TieMeasureFlow/docs
Adriano 4de7d78b66 docs: document stations end-to-end (user guide + API + deployment)
Stations were the headline V2.0.0 feature but had no user-facing
documentation outside the architecture page. Filled the gap across
the three operational docs.

USER_GUIDE.md
- New entries in "Key Concepts": Station and Station assignment.
- New "Recipes you see are filtered by station" subsection in the
  MeasurementTec workflow, explaining why the Select Recipe page may
  legitimately show fewer recipes than expected and what the
  "Stazione non configurata" error means at the operator level.
- New "Station Management" section under Admin Workflow covering:
  the mental model, station create/edit/delete, the two-column
  recipe-assignment modal, the immutable-code rule, the role of the
  ST-DEFAULT seed station, and the tablet deployment cheat sheet.
- Admin role description updated to mention stations.

DEPLOYMENT.md
- Environment Variables Reference: added STATION_CODE row and noted
  that an empty value triggers the deliberate fail-fast HTTP 503 on
  /measure/select. Updated RATE_LIMIT_GENERAL default (300, per the
  V2.0.0 perf change). Clarified UPLOAD_DIR resolves against the
  project root.

API.md
- New "Stations" endpoint section listing all eight routes with
  request/response examples and the 401/403/404/409 error contract:
  GET / POST /stations, GET /stations/{id}, PUT /stations/{id},
  DELETE /stations/{id}, GET /stations/{id}/recipes,
  GET /stations/by-code/{code}/recipes (the operator-facing one used
  by the Flask client), POST /stations/{id}/recipes,
  DELETE /stations/{id}/recipes/{recipe_id}.
- TOC updated with the new "Stations" anchor.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 17:26:43 +02:00
..

Documentazione TieMeasureFlow

Indice della documentazione del progetto.

Stato e direzione

Documento Scopo
architecture/STATO_PROGETTO.md Cosa è fatto oggi (V2.0.0). Snapshot del sistema, componenti e capacità.
architecture/ROADMAP.md Cosa resta da fare. Fasi 2-7 della migrazione rev04 verso V1.1.0/M1 demo cliente.

Riferimenti operativi

Documento Scopo
API.md Riferimento endpoint REST esposti dal backend FastAPI.
DEPLOYMENT.md Guida deploy su VPS (Hostinger/Tielogic con Traefik + Let's Encrypt).
USER_GUIDE.md Manuale utente (operatore, maker, metrologist, admin).
I18N_SETUP.md Setup e workflow traduzioni (Flask-Babel + Alpine.js).

Piani dettagliati TDD (rev04)

Documento Scopo
superpowers/plans/2026-04-17-rev04-master-roadmap.md Master plan rev04 V1.0.7 → V1.1.0, le 7 fasi e le decisioni aperte.
superpowers/plans/2026-04-17-rev04-phase1-stations.md Piano TDD dettagliato Fase 1 (stazioni e identità per-tablet). COMPLETATO.

Specifiche esterne (binari)

Documento Scopo
specs/2026-04-16-schema-sviluppo-rev04.docx Schema sviluppo SW TieFlow rev04-2026 fornito dal committente.

Storico

Documento Scopo
archive/2026-02-06-piano-implementazione-v1.md Piano implementazione V1.0.0 originale (riferimento storico).

Ulteriori riferimenti nel repo

  • /CLAUDE.md — guidance per Claude Code (architettura, comandi, pattern critici).
  • /README.md — entry point del progetto.