Human overview · for understanding
Andrea's round-2 review, turned into a hand-off + an autonomous build prompt · 2026-06-26
Andrea's round-2 review, turned into a hand-off + an autonomous build prompt
Master summary — the gist in 30 seconds
Inputs: Andrea's latest email + the live codebase. Outputs: HANDOFF.md (the worklist), PROMPT_to_execute.md (the autonomous build+deploy+QA prompt), and this overview. Nothing is built yet — this is the plan an agent executes.
flowchart LR A[Andrea email:<br/>make it free] --> B[Lock intent<br/>HANDOFF.md] B --> C[Autonomous prompt<br/>PROMPT_to_execute.md] C --> D[AI agent builds<br/>+ deploys + QA] D --> E[Client happy:<br/>free live funnel]
In: her email. Out: four moves — (a) hide paid cards, (b) auto-email the full PDF to everyone, (c) a 'book on WhatsApp' button, (d) keep fixing the Hungarian wording.
mindmap
root((Free launch))
Remove paid
feature flag
Free PDF
auto-email all
WhatsApp
book consult
Translations
glossary fix
In: birth data → free teaser on /keplet. Out (today): only after paying does the webhook generate + email the real PDF.
flowchart TD F[Lead form] --> C[/api/chart<br/>teaser only/] C --> K[/keplet<br/>paid cards/] K --> S[Stripe pay] S --> W[webhook:<br/>generate + email PDF]
In: the lead's birth data at /api/chart. Out: the full Hungarian PDF generated and emailed automatically, without payment, without blocking the page.
flowchart LR C[/api/chart/] --> L[captureLead<br/>welcome email] C --> R[generateAndDeliverReport<br/>fire-and-forget] R --> P[full PDF emailed<br/>FREE]
In: the flag. Out: no Stripe buttons, no broken pay links. Flip it back to true when Andrea approves quality — one line.
flowchart LR
FL{PAYMENTS_ENABLED} -->|false now| OFF[Free CTA +<br/>WhatsApp booking]
FL -->|true later| ON[Paid cards +<br/>Stripe]
In: your Google Sheet of English→Hungarian terms (+ tekintély→autoritás). Out: every report's text passed through a find-replace before it's rendered.
flowchart LR SH[Glossary sheet] --> M[hungarian-corrections.js] API[BodyGraph text] --> AP[applyCorrections] M --> AP AP --> PDF[clean PDF]
In: PROMPT_to_execute.md. Out: the change set live on tukorkeplet.com, QA'd at 3 screen sizes, with a report + the one line to re-enable payments.
flowchart TD PR[PROMPT] --> RD[Read HANDOFF] RD --> SUB[Spawn sub-agents:<br/>frontend / middleware / QA] SUB --> ED[Edit + backup .bak] ED --> DP[Deploy to VPS] DP --> QA[Playwright QA x3<br/>fix and retry] QA --> DONE[Live + report]