05ed037fe8
- DNS: pilot.landvex.com -> 16.170.83.169 - TLS: Let's Encrypt certificate (expires 2026-09-30) - Nginx: reverse proxy with SSL termination - API: https://pilot.landvex.com/api/v1/missions - UI: https://pilot.landvex.com/ - Upload: POST /api/v1/missions/import (multipart/form-data) Verified: ✅ https://pilot.landvex.com/health ✅ https://pilot.landvex.com/version ✅ https://pilot.landvex.com/api/v1/missions (list) ✅ https://pilot.landvex.com/api/v1/missions/:id (get) ✅ POST /api/v1/missions/import (video upload) ✅ UI loads with title 'LandveX Intelligence Lab' Next: Pilot 001 — Break the system!
77 lines
2.3 KiB
Markdown
77 lines
2.3 KiB
Markdown
# EOS Experiment — Lösenordsåterställning
|
|
|
|
**Datum:** 2026-07-01
|
|
**EOS Version:** v0.9 FROZEN
|
|
**Uppgift:** Implementera backend för lösenordsåterställning i quiXzoom
|
|
|
|
---
|
|
|
|
## Fas 1: Planner
|
|
|
|
### Uppgift
|
|
Implementera tre endpoints:
|
|
1. `POST /api/qz/auth/forgot-password`
|
|
2. `GET /api/qz/auth/reset-password/verify`
|
|
3. `POST /api/qz/auth/reset-password`
|
|
|
|
### Plan
|
|
1. Läs befintlig kodstruktur
|
|
2. Identifiera var auth-endpoints finns
|
|
3. Implementera endpoints enligt spec
|
|
4. Lägg till databas-migration
|
|
5. Testa lokalt
|
|
6. Commit och PR
|
|
|
|
---
|
|
|
|
## Fas 2: Context Builder
|
|
|
|
### Nuvarande kontext
|
|
- quiXzoom backend finns i `/home/bernt/repos/quixzoom.com/`
|
|
- Tidigare commits visar att det finns auth-relaterad kod
|
|
- Specifikation finns i `BACKEND_FORGOT_PASSWORD_SPEC.md`
|
|
|
|
### Fråga till Context Builder
|
|
Var finns befintliga auth-endpoints?
|
|
|
|
---
|
|
|
|
## Fas 3: EOS Policy Check
|
|
|
|
### Input
|
|
Task: "Implementera backend för lösenordsåterställning"
|
|
Type: "code"
|
|
Target: "production" (eftersom det är en backend-ändring)
|
|
|
|
### EOS Runtime v0.9 — FROZEN
|
|
Inga ändringar i EOS. Kör med befintlig kod.
|
|
|
|
---
|
|
|
|
## Dokumentation av friktion
|
|
|
|
| # | Tid | Fas | Typ | Effekt | Hur löstes det? | Borde EOS ha hjälpt? | Kandidat till förbättring |
|
|
|---|-----|-----|-----|--------|-----------------|----------------------|---------------------------|
|
|
| 1 | 19:28 | Context | Informationsbrist | 5 min | Manuell sökning i filsystemet | Ja | Servicekarta som visar var auth-koden finns |
|
|
| 2 | 19:30 | Context | Informationsbrist | 5 min | Manuell sökning i andra repos | Ja | Tydligare dokumentation av arkitekturen |
|
|
| 3 | 19:32 | Context | Informationsbrist | 5 min | Läsa gateway-kod för att förstå routing | Ja | Automatisk kontext om service-beroenden |
|
|
| 4 | 19:35 | Developer | Verktygsproblem | 2 min | Kontrollera systemd-status | Nej | — |
|
|
| 5 | 19:36 | Developer | Informationsbrist | 3 min | Läsa systemd-konfiguration | Ja | Kontext om miljökonfiguration |
|
|
|
|
---
|
|
|
|
## Failure Review (efter ärendet)
|
|
|
|
### Frågor att besvara
|
|
1. Vilka beslut saknade stöd?
|
|
2. Vilken information saknades?
|
|
3. Vilka artefakter borde ha funnits?
|
|
4. Vilka policies saknades?
|
|
5. Vilka var onödiga?
|
|
6. Vad blockerade fel?
|
|
7. Vad blockerade inte trots att det borde?
|
|
|
|
---
|
|
|
|
*Denna fil får inte ändras under experimentet. Endast tillägg är tillåtna.*
|