{
  "schema": "kh-project-page/1",
  "kit_version": "0.1.2-alpha",
  "updated_utc": "2026-12-01T08:00:00Z",
  "languages": ["cs", "en"],
  "visibility": "public",
  "project": {
    "id": "cafe-nova",
    "name": "Café Nova",
    "description": { "cs": "Ukázkový projekt: nový web malé kavárny Café Nova s online rezervací stolů. Fiktivní data pro výuku.", "en": "Example project: a new website for Café Nova, a small café, with online table booking. Fictional data for teaching." },
    "goal": { "cs": "Web s menu, otevírací dobou a rezervací stolů běží naživo a majitelka ho umí sama aktualizovat.", "en": "A live website with menu, opening hours and table booking that the owner can update herself." },
    "deadline_utc": "2027-01-31",
    "stage": "alpha",
    "links": [
      { "label": { "cs": "Web (náhled)", "en": "Website (preview)" }, "href": "https://example.com/" },
      { "label": { "cs": "Rezervace", "en": "Booking" }, "href": "https://example.com/rezervace/" },
      { "label": { "cs": "Administrace", "en": "Admin" }, "href": "https://example.com/admin/" }
    ]
  },
  "theme": {
    "accent": "#2E7D5B",
    "logo": { "src": "logo.svg", "alt": "Café Nova", "width": 160, "height": 56 },
    "favicon": "logo.svg",
    "fonts": false
  },
  "identity": { "endpoints": [] },
  "build": { "version": "0.3.0-alpha", "data_utc": "2026-12-01T08:00:00Z" },
  "summary": {
    "progress": { "done": 2, "total": 5 },
    "current_release": "0.3.0-alpha",
    "next_release": "0.4.0-alpha (rezervace / booking)"
  },
  "waiting": [
    { "id": "W-001", "who": "JN", "kind": "decision", "text": { "cs": "Vybrat rezervační systém: vlastní formulář, nebo hotová služba?", "en": "Choose the booking system: own form or a ready-made service?" }, "why_only": { "cs": "Rozhoduje o měsíčním poplatku kavárny — to umí jen majitelka.", "en": "It decides the café's monthly fee — only the owner can do that." }, "ref": "Q-002" },
    { "id": "W-002", "who": "JN", "kind": "action", "text": { "cs": "Poslat fotky interiéru (aspoň 6).", "en": "Send interior photos (at least 6)." }, "why_only": { "cs": "Fotky má jen majitelka; agent je nevyrobí.", "en": "Only the owner has the photos; an agent cannot make them." } }
  ],
  "goals": [
    { "cs": "Návštěvník do 10 sekund najde otevírací dobu a menu.", "en": "A visitor finds opening hours and menu within 10 seconds." },
    { "cs": "Rezervace stolu bez telefonu, potvrzení e-mailem.", "en": "Table booking without a phone call, confirmed by e-mail." },
    { "cs": "PageSpeed 100 na mobilu i počítači.", "en": "PageSpeed 100 on mobile and desktop." }
  ],
  "status": [
    { "area": { "cs": "Web a obsah", "en": "Website and content" }, "state": "green", "updated_utc": "2026-11-30", "note": { "cs": "Menu a otevírací doba naživo.", "en": "Menu and opening hours live." } },
    { "area": { "cs": "Rezervace", "en": "Booking" }, "state": "amber", "updated_utc": "2026-11-28", "note": { "cs": "Čeká na rozhodnutí W-001.", "en": "Waiting for decision W-001." } },
    { "area": { "cs": "Měření návštěvnosti", "en": "Analytics" }, "state": "unknown", "note": { "cs": "Zatím nevíme — měření ještě není připojené.", "en": "Not known yet — analytics are not connected yet." } }
  ],
  "known_gaps": [
    { "cs": "Anglická verze menu chybí (překlad čeká na finální ceník).", "en": "English menu is missing (translation waits for the final price list)." }
  ],
  "achievements": [
    { "utc": "2026-11-30", "text": { "cs": "Vydání 0.3.0-alpha: menu se načítá z jednoho souboru menu.json.", "en": "Release 0.3.0-alpha: the menu loads from one file, menu.json." } },
    { "utc": "2026-11-22", "text": { "cs": "Web běží na Cloudflare Pages, nasazení z gitu.", "en": "Website runs on Cloudflare Pages, deployed from git." } }
  ],
  "questions": [
    { "id": "Q-001", "text": { "cs": "Má web i anglickou verzi?", "en": "Does the website get an English version?" }, "asked_by": "AG", "asked_utc": "2026-11-20", "state": "answered", "answer": { "cs": "Ano, CS i EN; turisté tvoří třetinu hostů.", "en": "Yes, CS and EN; tourists are a third of the guests." }, "answered_utc": "2026-11-21", "owner": "JN" },
    { "id": "Q-002", "text": { "cs": "Vlastní rezervační formulář, nebo hotová služba?", "en": "Own booking form or a ready-made service?" }, "asked_by": "AG", "asked_utc": "2026-11-27", "state": "open", "owner": "JN" }
  ],
  "decisions": [
    { "id": "ADR-0001", "title": { "cs": "Hosting na Cloudflare Pages", "en": "Hosting on Cloudflare Pages" }, "date_utc": "2026-11-18", "who": "JN", "state": "accepted",
      "context": { "cs": "Kavárna nechce platit za hosting a web musí být rychlý.", "en": "The café does not want to pay for hosting and the site must be fast." },
      "options": [
        { "name": "Cloudflare Pages", "pro": { "cs": "zdarma, rychlé, nasazení z gitu", "en": "free, fast, deploy from git" }, "con": { "cs": "nastavení DNS jednou ručně", "en": "DNS set up once by hand" } },
        { "name": { "cs": "Klasický webhosting", "en": "Classic web hosting" }, "pro": { "cs": "známé", "en": "familiar" }, "con": { "cs": "měsíční poplatek, pomalejší", "en": "monthly fee, slower" } }
      ],
      "decision": { "cs": "Cloudflare Pages, nasazení z větve main.", "en": "Cloudflare Pages, deploy from the main branch." },
      "consequences": { "cs": "Každá změna jde přes git; majitelka dostane jednoduchý formulář pro menu.", "en": "Every change goes through git; the owner gets a simple form for the menu." },
      "source": "Q-001" },
    { "id": "ADR-0002", "title": { "cs": "Menu z jednoho souboru menu.json", "en": "Menu from one file, menu.json" }, "date_utc": "2026-11-29", "who": "AG", "state": "accepted",
      "context": { "cs": "Ceny se mění často; přepisovat HTML je zdroj chyb.", "en": "Prices change often; editing HTML causes mistakes." },
      "decision": { "cs": "Menu žije v menu.json, stránka se z něj generuje při buildu.", "en": "The menu lives in menu.json and the page is generated from it at build time." } }
  ],
  "team": [
    { "short": "JN", "name": "Jana Nováková", "role": { "cs": "majitelka kavárny (zadavatelka)", "en": "café owner (client)" }, "decides": { "cs": "rozpočet, texty, rezervační systém", "en": "budget, copy, booking system" }, "channel": { "cs": "e-mail, jednou týdně krátký hovor", "en": "e-mail, a short call once a week" }, "sees": { "cs": "celou projektovou stránku", "en": "the whole project page" } },
    { "short": "AG", "name": "Adam Gregor", "role": { "cs": "student, vede projekt s agenty", "en": "student, runs the project with agents" }, "decides": { "cs": "technické řešení (ADR)", "en": "technical solution (ADR)" }, "channel": { "cs": "chat s agentem, git", "en": "chat with the agent, git" }, "sees": { "cs": "vše včetně repa", "en": "everything including the repo" } },
    { "short": "AI", "name": { "cs": "Agent (Claude)", "en": "Agent (Claude)" }, "role": { "cs": "staví web, udržuje tuto stránku", "en": "builds the site, keeps this page up to date" }, "decides": { "cs": "nic samo — navrhuje, AG schvaluje", "en": "nothing on its own — proposes, AG approves" }, "channel": { "cs": "README, CLAUDE.md, WISHLIST, CHANGELOG", "en": "README, CLAUDE.md, WISHLIST, CHANGELOG" }, "sees": { "cs": "repo", "en": "the repo" } }
  ],
  "sprints": [
    { "id": "S1", "title": { "cs": "Základ webu", "en": "Website basics" }, "scope": { "cs": "šablona, menu, otevírací doba", "en": "template, menu, opening hours" }, "start_utc": "2026-11-16", "end_utc": "2026-11-22", "state": "done", "estimate": { "tokens": 1800000, "usd": 9 }, "actual": { "tokens": 2100000, "usd": 10.5, "source": { "cs": "přehled spotřeby v aplikaci Claude", "en": "usage view in the Claude app" } } },
    { "id": "S2", "title": { "cs": "Menu z dat", "en": "Menu from data" }, "scope": { "cs": "menu.json, build, PSI 100", "en": "menu.json, build, PSI 100" }, "start_utc": "2026-11-23", "end_utc": "2026-11-30", "state": "done", "estimate": { "tokens": 1200000, "usd": 6 }, "actual": null },
    { "id": "S3", "title": { "cs": "Rezervace", "en": "Booking" }, "scope": { "cs": "formulář nebo služba podle W-001", "en": "form or service according to W-001" }, "start_utc": "2026-12-07", "end_utc": "2026-12-18", "state": "planned", "estimate": { "tokens": 2500000, "usd": 12.5 }, "actual": null }
  ],
  "milestones": [
    { "id": "M1", "title": { "cs": "Web naživo", "en": "Website live" }, "due_utc": "2026-11-22", "done": true },
    { "id": "M2", "title": { "cs": "Menu z dat", "en": "Menu from data" }, "due_utc": "2026-11-30", "done": true },
    { "id": "M3", "title": { "cs": "Rezervace naživo", "en": "Booking live" }, "due_utc": "2026-12-18", "done": false },
    { "id": "M4", "title": { "cs": "Anglická verze", "en": "English version" }, "due_utc": "2027-01-15", "done": false },
    { "id": "M5", "title": { "cs": "Předání majitelce", "en": "Handover to the owner" }, "due_utc": "2027-01-31", "done": false }
  ],
  "releases": [
    { "version": "0.3.0-alpha", "date_utc": "2026-11-30", "stage": "alpha", "notes": { "cs": "Menu z menu.json.", "en": "Menu from menu.json." } },
    { "version": "0.2.0-alpha", "date_utc": "2026-11-22", "stage": "alpha", "notes": { "cs": "První verze naživo.", "en": "First live version." } }
  ],
  "wishlist": [
    { "id": "WL-01", "text": { "cs": "Online rezervace stolu", "en": "Online table booking" }, "awaits_decision": true },
    { "id": "WL-02", "text": { "cs": "Fotogalerie interiéru", "en": "Interior photo gallery" } },
    { "id": "WL-03", "text": { "cs": "Věrnostní karta do Apple Wallet", "en": "Loyalty card for Apple Wallet" } }
  ],
  "tests": [
    { "id": "T-001", "title": { "cs": "Otevírací doba je na úvodní stránce vidět bez rolování (390 px).", "en": "Opening hours visible on the home page without scrolling (390 px)." }, "origin": { "cs": "chyba 2026-11-24: na telefonu byla až pod menu", "en": "bug 2026-11-24: on phones it was below the menu" }, "automated": true, "added_utc": "2026-11-24" },
    { "id": "T-002", "title": { "cs": "Ceny v menu odpovídají menu.json.", "en": "Prices in the menu match menu.json." }, "origin": { "cs": "chyba 2026-11-29: stará cena kávy v HTML", "en": "bug 2026-11-29: old coffee price left in HTML" }, "automated": true, "added_utc": "2026-11-29" }
  ],
  "practices": [
    { "name": "ADR", "what": { "cs": "rozhodnutí s kontextem a variantami, trvalé číslo", "en": "decisions with context and options, permanent number" }, "enforcement": "checklist", "where": { "cs": "project.json → decisions", "en": "project.json → decisions" } },
    { "name": "SemVer", "what": { "cs": "číslo verze MAJOR.MINOR.PATCH + alfa/beta/stable", "en": "version number MAJOR.MINOR.PATCH + alpha/beta/stable" }, "enforcement": "automatic", "where": { "cs": "CHANGELOG.md, kontrola v CI", "en": "CHANGELOG.md, checked in CI" } },
    { "name": { "cs": "Test z každé chyby", "en": "A test from every bug" }, "what": { "cs": "chyba, která prošla k lidem, dostane trvalý test", "en": "a bug that reached people gets a permanent test" }, "enforcement": "checklist", "where": { "cs": "sekce Chyby a testy", "en": "Lab tests section" } }
  ],
  "glossary": [
    { "term": "ADR", "def": { "cs": "Architecture Decision Record — krátký zápis rozhodnutí: kontext, varianty, co jsme zvolili a proč.", "en": "Architecture Decision Record — a short record of a decision: context, options, what we chose and why." } },
    { "term": "Sprint", "def": { "cs": "Krátký úsek práce (typicky 1–2 týdny) s jasným rozsahem a jedním vydáním.", "en": "A short stretch of work (usually 1–2 weeks) with a clear scope and one release." } },
    { "term": "CHANGELOG", "def": { "cs": "Soubor v repu se seznamem změn po vydáních, nejnovější nahoře.", "en": "A file in the repo listing changes per release, newest first." } },
    { "term": "WISHLIST", "def": { "cs": "Soubor v repu se seznamem přání a nápadů, které čekají na zařazení.", "en": "A file in the repo listing wishes and ideas waiting to be scheduled." } }
  ],
  "images": [
    { "src": "logo.svg", "alt": { "cs": "Logo Café Nova", "en": "Café Nova logo" }, "caption": { "cs": "Logo — klikni pro zvětšení", "en": "Logo — click to enlarge" }, "width": 320, "height": 112 }
  ],
  "files": {
    "readme": "https://github.com/your-name/your-project/blob/main/README.md",
    "claude_md": "https://github.com/your-name/your-project/blob/main/CLAUDE.md",
    "changelog": "https://github.com/your-name/your-project/blob/main/CHANGELOG.md",
    "wishlist": "https://github.com/your-name/your-project/blob/main/WISHLIST.md",
    "data": "project.json"
  }
}
