SNIPER CENTRAL — DOCS

What Central is

SniperCentral is the launch wall of the sniper platform. Every sniper app — CryptoSniper today, the sport snipers as they are built — is a standalone app with its own repo, database and settings. Central is the one place they all appear together: the combined day across every app, the shared Kalshi account they all trade from, and one card per app with its status, its day, and its controls.

Central trades nothing. It has no order client at all — its Kalshi client is read-only by construction (balance and positions GETs only), and even that is optional. It watches, adds up, and launches. Every trading decision stays inside the app that makes it.

The registry

The wall is driven by Central's own app registry (the app_registry table in Central's database). Each row names an app, where it lives (base_url + port), what kind it is (crypto or sport), and — for sports — its season window. The registry is seeded absent-only: the seed inserts apps that are missing and never overwrites a row that exists, so edits made on the wall survive restarts. New apps join from the wall's Register an app panel or by POSTing to /api/apps.

Central polls each Enabled app's /api/state — the state contract every sniper app publishes — on the poll interval (a setting, default 10 s), with a short per-app timeout (default 3 s). The wall payload is cached for the interval, so page refreshes never hammer the apps.

The status pills

PillMeaning
LIVE — ARMEDThe app answered and its own banner says it is live and trading.
PAPER — RECORDINGThe app answered in paper mode — it watches, decides and records, and sends nothing. Every sport app of this wave lives here.
IN SEASONThe app answered but publishes no trading banner; it is up, inside its season window.
STOOD DOWNThe app's single-instance guard saw another copy of itself on the shared account and stood down.
STOPPEDThe app answered and its banner says it is stopped — kill switch, floor latch, or STOP file; the card's "App status" line says which.
OFFLINECentral could not read the app's /api/state (timeout, refused, bad payload). The wall never guesses a down app's numbers — its card shows dashes and the combined tiles simply cover the apps that reported.
OFF-SEASON — SLEEPINGA sport app outside its season window that is not answering. It is supposed to be dark; sleeping costs nothing.
BENCHPolling is Disabled in the registry — Central does not poll the app at all. New registrations start here.

Start / Stop — the honest scope

Each card's Start / Stop button flips the app's registry switch. Start (polling Enabled) means Central polls and displays the app; Stop (polling Disabled) parks it on the bench. In this wave the switch is registry-level only: it does not start or stop the app's containers, and it never touches the app's own kill switch or settings — those live on the app's own dashboard, one Launch click away. Real container control from Central wires in when the fleet deploys to the Production Center. Every flip is written to Central's settings log (registry:<app>, author "dashboard").

Launch opens the app's own dashboard in a new tab — the app itself, not a copy inside Central. Seeing and doing everything happens on the app; Central is the wall you launch from.

The account figure

All sniper apps share one Kalshi account, so the wall shows it once. The figure has three honest sources, in order:

The combined net and predictions are sums over the apps that reported; each app's figures are its own attribution from its own database, exactly as its dashboard shows them.

Seasons

Sport modules sleep off-season at zero cost. The seed windows: Football Sep–Feb · Tennis Jan–Nov · Basketball Oct–Jun (NBA + WNBA) · College Football Aug–Jan · College Hoops Nov–Apr · Baseball Apr–Oct · Hockey Oct–Jun · Soccer Aug–May · Fight (UFC) year-round. CryptoSniper never sleeps. Windows are registry data, editable in the database — they are not code.

The seeded wall

AppPortKindSeeds as
CryptoSniper (the live Edge15Sniper)5021cryptoEnabled — polled
FootballSniper5022sportBench
TennisSniper5023sportBench
BasketballSniper5024sportBench
CollegeFootballSniper5025sportBench
CollegeHoopsSniper5026sportBench
BaseballSniper5027sportBench
HockeySniper5028sportBench
SoccerSniper5029sportBench
FightSniper5030sportBench
SniperCentral (this wall)5033——

Settings

Central's own behaviour values are settings in its own database, authoritative like every app on the platform, each change logged with its author: poll_interval_s (how often the wall re-polls, default 10) and poll_timeout_s (how long one app may take before it reads OFFLINE, default 3). Deployment facts — the database URL, the optional Kalshi read credentials — are environment, never settings.