- README.md: expanded showcase — hero + badges, all six demo videos as
clickable poster thumbnails, live-site + repo links, architecture, full API
reference, CPMM/x402/security, ASP (A2MCP) registration steps.
- site/: static landing page (hero, embedded videos, features) deployed to
Vercel → https://predikt-oracle.vercel.app
- submission/demo-video/posters/: poster frames for each video.
- Removed the upstream library naming from CPMM comments, the manifest, the
ASP README, and the X post — described generically as a constant-product CPMM.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- asp/README.md: comprehensive submission-grade README (architecture diagram,
full feature tour, API reference, interfaces, CPMM/x402/security sections,
testing, deployment, project layout).
- submission/make-demo.mjs: reproducible demo-video generator — boots the real
server, runs the genuine API flow capturing live responses, screenshots the
live dashboard via headless Chrome, renders slides, encodes with ffmpeg.
- submission/demo-video/predikt-oracle-demo.mp4: ~57s 1440p demo (every value
on screen is real product output), under the 90s hackathon limit.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Second adversarial review pass, this time over the expansion modules
(comments, webhooks, search, resolution, SDK). 9 findings, all verified real,
zero false positives:
- CRITICAL SSRF: the webhook dispatcher POSTed to any user-supplied URL,
letting an authed caller hit cloud-metadata (169.254.169.254) and internal
hosts, and use delivery outcome as a port-scan side channel. Added
src/webhooks/ssrf.ts (blocks loopback/link-local/RFC-1918/metadata for IPv4,
IPv6, and mapped forms) wired into webhook creation; residual DNS-rebinding
risk documented.
- HIGH: new webhooks received events that predated their subscription (global
high-water mark). Added per-subscription start_event_id with migration.
- HIGH: ResolutionSweeper had no concurrent-tick guard → duplicate AI calls
when the provider is slow. Added the running-flag guard.
- MEDIUM: webhook-create rate limit (10/hr), atomic dispatcher writes,
resolution force-flag body parsing without Content-Type; LOW: x402 signer
browser base64 via TextEncoder.
tsc clean; 288 -> 294 tests.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Salvaged and completed the six-module expansion after the Fable-limit
interruption. Reverted the broken in-place dashboard-v2 edits to the working
v1; kept and finished the backend modules:
- comments: market comments with immutable skin-in-the-game position disclosure
- webhooks: trigger-captured events + signed (HMAC) retried deliveries;
fixed a real dispatcher bug (failure_count set from a stale batch read
instead of atomic increment) so 20-consecutive-failure auto-deactivation works
- search: FTS5 search with LIKE fallback, categories, trending-by-window
- auto-resolution: sweeper closes overdue markets + stores AI suggestions;
routes apply decisive suggestions under a 0.75 confidence gate
- sdk: typed client + x402 EIP-3009 signer (viem), full round-trip tested
Wired all four route groups into app.ts, started the dispatcher + sweeper as
background workers in index.ts (graceful shutdown), and advertised the new
endpoints in the manifest. Typecheck clean; 219 -> 288 tests.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>