Repository navigation
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
29 lines (29 loc) · 2.68 KB
/
Copy pathwrangler.jsonc
File metadata and controls
29 lines (29 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// wrangler.jsonc — generated by the rosetta wizard (npm run cf:wizard).
// Do not edit by hand; re-run the wizard. The site is fully static and client-side: every
// binding below is OPTIONAL and nothing here is required to build, deploy, or use the site.
//
// Choose bindings: CF_BINDINGS=kv,r2,d1 npm run cf:wizard (then fill the placeholder ids)
//
// Each binding you enable is one more independent edge store/compute a forger must also
// reproduce, so they optionally — but eventually significantly — increase the tampering cost.
//
// The secret UUID generator is fused to the bindings (Secrets Store): the trinity always signs
// every access — a pair folds to a shared key under AES-256-GCM, hardware-accelerated to gigabit.
//
// All Cloudflare bindings (toggle by id in CF_BINDINGS):
// [ ] kv Workers KV (SEAL_KV) — seal roots and the digit-index cached at every edge; tampering: a forgery must match the value in every edge replica.
// [ ] r2 R2 (CORPUS_R2) — the immutable corpus (432 papers, 1024 diamonds) as content-addressed objects; tampering: the hash-keyed object store must be forged too.
// [ ] d1 D1 (RECEIPTS_D1) — a queryable index of receipts and gate outcomes; tampering: every row must be reproduced exactly.
// [ ] do Durable Objects (PRESENCE_DO) — realtime presence and the shared movie across devices; tampering: live coordination state is content-addressed per tick.
// [ ] queues Queues (WAVES_QUEUE) — wave processing (reform, development, cleanup) at the edge; tampering: each queued wave carries its receipt.
// [ ] ai Workers AI (AI) — optional bring-your-own inference for foldQuestion; tampering: inference is verified against the model, never trusted blindly.
// [ ] vectorize Vectorize (CORPUS_INDEX) — semantic search over the corpus vectors; tampering: vectors derive from content-addressed leaves.
// [ ] hyperdrive Hyperdrive (HYPERDRIVE) — pooled access to an external receipt database; tampering: pooled reads still verify the receipt root.
// [ ] analytics Analytics Engine (AUDIT_AE) — an append-only audit of seal recomputations; tampering: the audit trail is tamper-evident.
// [ ] service Service binding (SEAL_VERIFIER) — a verifier worker that recomputes the seal at the edge; tampering: the edge re-runs the full gate fabric.
// [ ] secrets Secrets Store (SECRET_UUID) — the secret UUID generator — a private seed every binding access is signed with; tampering: each binding call is signed by the trinity-derived key; a forgery needs the secret.
{
"name": "double-torus",
"compatibility_date": "2025-06-01",
"pages_build_output_dir": ".vitepress/dist"
}