mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-08-02 18:59:36 -04:00
Two layers driven by test/agent/run.sh: - deterministic: replay a golden PandaScript against frozen local HN fixtures and diff the returned JSON exactly against a golden file. No API key, no network; gates every PR via e2e-test.yml. - live (GOOGLE_API_KEY): closed-form Q&A over a local fixture page (substring match), and a live Hacker News scrape saved with --save, replayed token-free and validated against a jq shape invariant. Runs nightly and on demand via agent-regression.yml. The live output contract lives in cases/hn-live.task (prompt) + schemas/hn-live.jq (invariant). Model pinned to gemini-3.5-flash in run.sh; per-task timeouts and a $usage token ceiling guard runaway loops. make test-agent for local runs.