fix(07-06): launch-gate decisions — KV cron retune to 720/day (the $0 law holds), brand sweep araharah→arah² across user-facing copy, menu button text

This commit is contained in:
araharah-executor
2026-10-25 11:24:03 +08:00
parent 5f4fd8b297
commit dedcdcdbc5
10 changed files with 60 additions and 46 deletions
+8 -5
View File
@@ -28,10 +28,13 @@
// (docs/ROAD-GRAPH.md is the fork contract). The bucket name is public
// configuration, never a secret.
"r2_buckets": [{ "binding": "ROAD_GRAPH", "bucket_name": "araharah-graphs" }],
// The repo's FIRST Cron Trigger (06-07, D-11): 60 s scan; card cadence
// decided in code (CARD_CADENCE_S 180) — D-11's 60–120 s window. The tick
// is STATELESS (zero KV writes — the free-plan budget law). Local test:
// curl "http://localhost:8787/cdn-cgi/local/scheduled" against `wrangler dev`.
"triggers": { "crons": ["*/1 * * * *"] },
// The repo's FIRST Cron Trigger (06-07, D-11): */2 scan (LAUNCH-GATE decision
// 2025-10-25 — the $0 law holds: 2-min ticks × 1 list-op = 720/day, inside the
// free plan's 1,000/day KV-list ceiling; card cadence is 240 s in code
// (CARD_CADENCE_S). The tick is STATELESS (zero KV writes — the budget law).
// Local test: curl "http://localhost:8787/cdn-cgi/local/scheduled" under
// `wrangler dev`. 90 s granularity is NOT cron-expressible — */2 is the
// coarsest cadence that stays under the ceiling while honoring D-11's spirit.
"triggers": { "crons": ["*/2 * * * *"] },
"kv_namespaces": [{ "binding": "chat_sessions", "id": "59f58a54bc44483e89872b20a005a5eb" }]
}