Part of #66
Problem
~80% of a real BYO integration is the same glue: an edge worker that hides the engine's API key, reads/mints the visitor id, calls the engine, and returns a normalized decision. Every customer rebuilds it.
Proposal
A reference auth-proxy worker under examples/:
- a Cloudflare entry + a framework-neutral core (portable to other runtimes),
- hides the API key (server-side secret),
- reads/mints the visitor-id cookie,
- calls the engine and returns the normalized decision (per the contract sub-issue),
- documented env/secret setup + a minimal engine stub so it runs standalone.
Acceptance criteria
Part of #66
Problem
~80% of a real BYO integration is the same glue: an edge worker that hides the engine's API key, reads/mints the visitor id, calls the engine, and returns a normalized decision. Every customer rebuilds it.
Proposal
A reference auth-proxy worker under
examples/:Acceptance criteria
examples/worker that runs with documented setup.