Teacher / Manager Login
Passwords and API keys stay in your separate Cloudflare Worker. Pages only hosts this index.html.
New v0.5.7 flow: Prompt first, then confirm specs before AI. AI must only use selected/uploaded hardware and defaults. Work mode is individual by default.
Prompt-first Lesson Generation minimal input
How it works: enter a short prompt, upload EV3G/photo if available, then click Analyse + Lock Specs. AI will generate only from selected specs, selected sensors/motors, uploaded evidence, and CSA defaults. It will not invent pair work or extra hardware. If AI returns 401, login again because the Worker session token has expired or was cleared after deployment.
Spec/evidence analysis will appear here.
Defaults Apply, But Can Be Changed override enabled
Leave fields as default for fastest generation. Change any field only when the project needs a different duration, port, motor, sensor, or work mode. AI is not allowed to add unselected hardware.
Class Organisation + AI Guardrails
Default lock: individual work. No pair work, no team roles, and no extra motors/sensors unless selected below or written in the prompt/EV3G notes.
Confirmed Hardware / Components
Time & Lesson Flow
Golden template lock: Build Phase must stay as one 20-25 min section. Do not split it into Checkpoint 1/2/3 with separate timings. Programming may show steps, but main timing remains one Programming Phase.
Strict output rule: AI may list teacher checkpoints as bullets inside Build Phase, but no timed subheadings such as “Checkpoint 1 — 5 mins”. If detected, the app will clean the output before display.
EV3 Port Defaults / Overrides
Defaults are recommendations. Uploaded EV3G program files should override photos when exact ports conflict. Staff may still override here.
Uploads + Generated Plan Memory optional
Cover image policy: Image generation is not automatic. Upload a final robot photo if you want a visual reference. Later, manager-only cover image generation should be explicit, cached once per approved plan, and limited to about 1–4 images/week.
Memory Reference
Auto-selected STEM Concepts editable
Auto-selected from prompt/specs/uploads. Teachers may still tick or untick. AI must follow these selected concepts and not add unrelated ones.