← Ülevaadedocs\ai_context\OVERVIEW_SITE_20261127.md

WieldHaven overview website (wieldhaven.com), 27.11.2026

Owner request (Janari): one public, read-only site that always shows what is done, what is planned (roadmap), features with screenshots, gaps and open decisions. He reads it and answers in chat. Future updates must happen WITHOUT his involvement.

Where

UPDATE RULE (every thread / Codex)

After any owner-visible change (new feature, status change, owner decision, new doc with an "Open / next" section):

  1. Edit WieldHavenSite/content.json: feature card (status valmis|osaliselt|disain|plaanis|idee, summary, doc, image glob patterns, related ids), roadmap item, or remove/answer a decision.
  2. Run python C:/Users/…/Desktop/TeYa4/WieldHavenSite/build.py --deploy (non-interactive, ~30 s). Check the printed warnings (missing images/docs) and "Deployment complete".

Automatic from repo on every build: armor sets + classes (ArmorClassRules.gd), weapons by proficiency (TalentRules.gd WEAPONS), metals (Ingredients.gd), timeline (HANDOFF "NovNN Claude" lines), weapons-by-set images/summary from docs/ai_context/weapons_by_set_20261127/ (regenerate there to update), gaps (doc headings Open / Not done / Questions for Janari), rendered docs. Site is PUBLIC: never put secrets, server addresses or personal data in content.json; build scrubs C:/Users/<name> from rendered docs.

Auth

wrangler 4 via ../node-v24.15.0-win-x64 (npx). Uses CLOUDFLARE_API_TOKEN/CLOUDFLARE_ACCOUNT_ID user env vars if set (build.py reads them from HKCU\Environment), else wrangler's saved OAuth login (%APPDATA%/xdg.config/.wrangler). OAuth login expired once before; a Pages-only API token is the durable option. If deploy fails with auth: ask Janari to run AVALDA_SAIT.cmd (browser Allow).

Domain

Before: wieldhaven.com = Cloudflare Tunnel CNAME 574fcbf7-0de9-4f77-872b-d1dd5d504f1c.cfargotunnel.com -> server proxy answering 410 "WieldHaven is currently closed". Rollback: remove Pages custom domain, restore that CNAME (docs/deployment/wieldhaven_com_cloudflare_cutover.md).

Note: other threads' build.py --deploy may be blocked by their auto-mode safety check; then ask the coordinator to route the deploy to the site thread.