⚠ INTERNAL — Operator UX mock · Design preview of V2 development path · demo-wired ≠ production-live · back to dev guide
Polygon · pUSD 10
📓 Developer Guide 📋 Reason Codes 📈 Shadow Mode
JD John Doe · Admin

MarketResolutionWatcher

intel.market_resolution_watcher
Intelligence planned Spec ready frozen

Watches the on-chain resolution state of every active Polymarket market.

What it does

Watches the on-chain resolution state of every active Polymarket market. As a market approaches resolution, it emits typed warnings (T-24h, T-1h, finalising, resolved) so downstream bots can stop opening new positions and start unwinding. Pure observer — never blocks; the actual blocking is done by Risk's PreResolutionFreeze guardrail downstream.

Pipeline placement

runs after: — MarketResolutionWatcher runs before: risk.pre_resolution_freeze

Applies to: Continuous

Why it matters

If this failsConsequence
Trading into resolutionOnce a market is in its finalising window, prices can become extremely sticky and orders can sit unfilled until expiry; opening fresh exposure here is high regret.
Missing the unwind windowWithout an explicit signal, strategies do not know when to switch from open-mode to unwind-mode.
Resolution-driven lossesBots that hold a position through a resolution event with the wrong outcome lose 100% of that position; the unwind window must be respected.

Inputs

Polymarket inputs

InputSourceRequiredUse
Polymarket conditional resolution metadataPolymarket REST + on-chain eventsrequiredSource of truth for resolution time and status.
Per-market clock / now_msRuntimerequiredDistance to scheduled resolution.

Internal inputs

InputSourceRequiredUse
Open positions per marketPortfolioGuardoptionalDecides whether to escalate the warning severity.

Authority

What this bot is permitted to do

Observe

State

Readiness

Spec ready

Status

planned

Class

Signal Service

Default mode

shadow

Developer owner

Intelligence pod

Capital impact

Indirect

Reason codes emitted

CodeSeverityMeaningAction
INTEL_RESOLUTION_WARNinfoIntel Resolution WarnSee decision output and developer log for context.
INTEL_RESOLUTION_URGENTinfoIntel Resolution UrgentSee decision output and developer log for context.
INTEL_RESOLUTION_FREEZEinfoIntel Resolution FreezeSee decision output and developer log for context.
INTEL_RESOLUTION_RESOLVEDinfoIntel Resolution ResolvedSee decision output and developer log for context.

Used by

Reverse index — strategies that currently reference intel.market_resolution_watcher. If you change this bot's authority or reason codes, these strategies must re-pass shadow.

StrategyStateActivity
AI Frontier — release-day takerfrozenlast triggered 14m ago
NBA props — line-shopdemo-wiredlast triggered 21m ago

Showing 2 of 2 · demo-wired ≠ production-live

Why this matters

Intelligence bots does NOT propose, veto, sign, or execute any trade. Understanding the authority boundary prevents misuse and makes promotion-gate reviews faster and more reliable. View raw spec JSON →
Polytraders Operator UX Mock · INTERNAL · demo-wired ≠ production-live · the plan · reason codes · shadow-mode pipeline
⚙ Page Configuration
Current page settings
Loading configuration…