The HF server can't reach the PTT-internal SMP gateway, but the user's PTT-wifi
browser can (gateway sends CORS *). signer_lookup.py builds a client-side fetch
(PO -> SAP PR -> approver + receiving-committee chairman); streamlit-javascript
runs it and returns the names; fetch_signer_name picks by role, with a manual
text-box fallback when off-network. Uses the read-only no-reply token (SMP_TOKEN
Space secret), injected into client JS — Entra-gated.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Gate the whole app behind Streamlit native OIDC sign-in (auth_gate.py),
reusing the existing Azure App Registration. Auth config lives in a
gitignored .streamlit/secrets.toml locally, and is built at container
start from HF Space secrets by entrypoint.sh.
- Retheme to a black + burnt-orange ember palette across the login pass,
hero, stepper, cards, inputs and buttons (+ config.toml).
- requirements: streamlit>=1.42, add Authlib.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Delete auto_form_generator.py (the tkinter desktop GUI) and drop its
references from README.md and the form_logic.py docstring. The Streamlit
web app is now the only entry point.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>