Archived
feat(polymarket): skeleton and market-channel connectivity spike
Replaces the template's demo main.rs with a spike that connects to Polymarket's public market channel, subscribes to one market, and logs every frame with its receive time. Adds scripts/ci.sh (fmt, clippy, tests), the project CLAUDE.md, ADR 0001 (OS threads, shared-nothing), and the market channel's message shapes in docs/notes.md: no sequence number, a book hash on every change, mirrored Yes/No books.
This commit is contained in:
11 files changed
+713
-138
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# The single CI entry point; run it before every commit.
|
||||
# One check per line: `set -e` doesn't apply on the left of `&&` / `||`, so
|
||||
# chaining would let a failing check pass silently.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
cargo fmt --check
|
||||
cargo clippy --all-targets -- -D warnings
|
||||
cargo test
|
||||
Reference in new issue
Block a user