Skip to content

Latest commit

 

History

History
62 lines (54 loc) · 3.67 KB

File metadata and controls

62 lines (54 loc) · 3.67 KB

Project State

Last updated: 2026-03-13

Current Capability

Data APIs

  • JSON-RPC passthrough (read operations)
  • Hyperliquid public WS market subscriptions
  • gRPC bridge calls:
    • health/reflection
    • mid price and block number
    • stream mids
    • stream liquidations (dedicated method)
  • Unified REST/SSE feed access
  • Disk-sync WS first-event path in benchmarks

Tooling

  • CLI with typed command groups
  • Public package layout with license, contributing guide, changelog, and customer-facing quickstart docs
  • Latency benchmark suite for feed comparison
  • Provider matrix benchmark script (Aleatoric vs public vs third-party endpoints)
  • Live console examples for public WS ladder+trades and gRPC l2Book+trades feeds
  • Shared example auth/env helper module for consistent scoped key selection across benchmark, preflight, and gRPC live tools
  • gRPC examples now prefer RPC-scoped keys before unified-stream fallbacks
  • gRPC console preflights both health and PriceService access so endpoint auth failures stop before the live stream loop
  • Benchmark/preflight output now classify upstream HTTP 502/503/504 failures as upstream_unavailable
  • Benchmark output now has typed report models, shipped JSON profiles, checked-in baseline snapshots, and machine-readable exit_recommendation codes
  • GitHub Actions CI and tag-driven release automation cover tests, mypy, package build, and twine check
  • API interface reference updated for public distribution and customer support handoff
  • MCP tool matrix is now contract-tested as part of the published outward-facing surface
  • gRPC console now shows selected key source and distinguishes:
    • health success + stream authorization denial
    • health authorization denial + stream authorization denial
  • Test suite with coverage gate (>=90%)

Known Operational Risks

  1. Environment drift:
    • Running a global hypercore-sdk shim can bypass repo state and fail imports.
    • Mitigation: always use .venv and validate which hypercore-sdk.
  2. Endpoint configuration drift:
    • Incorrect WS host mapping can produce misleading benchmark results.
    • Mitigation: keep market WS and disk-sync WS explicitly separated in benchmark args.
  3. Rate-limit variability:
    • Unified endpoints may return 429 under bursty test runs.
    • Mitigation: use configurable pacing/retry flags in benchmark scripts.
  4. Mixed-key gRPC auth drift:
    • Environments that export both RPC-scoped and unified-stream keys can select the wrong key class and produce misleading 403/PERMISSION_DENIED results.
    • Some endpoint deployments may also authorize health/reflection and PriceService stream methods differently.
    • Mitigation: gRPC examples now prefer ALEATORIC_GRPC_KEY, then RPC-scoped keys; inspect key_source and the console preflight diagnosis before blaming the endpoint.
  5. Aleatoric RPC availability drift:
    • Benchmark smoke on 2026-03-10 again saw https://rpc.aleatoric.systems/ return 502 Bad Gateway.
    • Mitigation: the benchmark and preflight tools now mark this as upstream_unavailable; treat RPC latency baselines as invalid until the upstream endpoint is healthy again.

Near-Term Next Work

  1. Investigate and restore https://rpc.aleatoric.systems/ after the repeated 502 Bad Gateway results observed on 2026-03-10.
  2. Add automated drift comparison between fresh profile runs and the checked-in baseline snapshots.
  3. Extend the typed report/output model discipline to provider-matrix aggregation results.
  4. Decide whether preflight strict mode should default to the new availability-specific exit codes in CI/operator automation.
  5. Publish the refreshed customer package and release artifacts to the intended external distribution channels.