Add an opt-in local Polymarket trading pilot - #22
Open
gilbertsahumada wants to merge 44 commits into
Open
gilbertsahumada wants to merge 44 commits into
gilbertsahumada wants to merge 44 commits into
Conversation
…kground/AGENTS.md
…kground/worker.ts
…0005_snapshot.json
…ce/trading-store.ts
…et-trading.test.ts
gilbertsahumada
changed the base branch from
codex/market-categories
to
main
September 18, 2026 18:08
This was referenced Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Research and paper trading previously had no real Polymarket execution adapter. This adds a separately opt-in local Node pilot that prepares manual purchases and executes eligible, policy-approved NFL research through the pinned official SDK. Existing agents remain disabled and no signing tool is exposed to the model.
polymarket-tradingplugin, strict tenant API/CLI contracts, explicit local wallet/setup commands, and environment examples. Operator setup can deploy a Deposit Wallet; approvals require the explicit--approvalsflag.costUpperBoundseparate from actual fee accounting. Plugin revocation blocks new purchases while read-only reconciliation preserves external facts. Cloudflare composition explicitly disables the signing runtime.apps/agent-service/LIVE-TRADING.mdand affectedAGENTS.mdfiles.Validation:
Live acceptance is still pending: no actual pilot wallet was generated or funded, no approvals or live bets were sent, no automatic mode was enabled, and no remote deployment occurred. Wallet/setup/execution commands are for explicit operator use. Exact paid fee accounting, sales, redemption and production custody are outside this delivery.
Stacked on
codex/market-categorieswhile #20 remains open. Contains one commit per file. No merge requested.