Spaces:
Running
Running
Commit History
23 days ago
-
feat(portal): login-clone pipeline — branded TSE login pages (prototype)
Automates the hand-built branded login page (Firework/Snowrise/Travel Oregon) so a headless DemoPrep build can produce it. Prototype: capture, generate-verify- repair, the shared kit, real imagery and exact styles are built and tested end to end. The integration into builder.py / mcp_server.py is documented but NOT wired up yet, so nothing here runs until that step — merging is inert. Key design (do not undo): the model builds a MARKETING page only and never writes a login form — a fixed SignInDialog owns all credentials. This clears the Anthropic "cyber" refusal that reproducing a login page from a screenshot triggers, and keeps the SE password in one reviewed file that posts only to ThoughtSpot. Full rationale + the remaining integration steps are in demoprep_app/portal/login_clone/HANDOFF.md. - login_clone/: capture.py, generate.py, contract.py, __init__ (clone_login), LOGIN_CONTRACT.md, HANDOFF.md, three worked few-shot examples - template-tse kit: SignInDialog (fixed credentia…aa1927e