Skip to content

Restore local Polymarket pilot on current runtime and migration history - #39

Merged
gilbertsahumada merged 44 commits into
mainfrom
codex/polymarket-trading-integration
Sep 22, 2026
Merged

gilbertsahumada merged 44 commits into
mainfrom
codex/polymarket-trading-integration

Conversation

@gilbertsahumada

Copy link
Copy Markdown
Contributor

Restore the opt-in local Polymarket pilot from #22 on current main without reverting the shared runtime, console authorization, or reconciled migration history. The original PR stays intact.

  • Compose local trading alongside @pickler/agent-runtime rather than restoring its obsolete research implementation.
  • Preserve disabled-by-default execution, the dedicated alpha account, plugin checks, durable order hashes, ambiguous-order reservations and bounded purchases.
  • Generate additive migration 0009_polymarket_trading after the current history; do not reuse old migration 0005.
  • Preserve all current public exports and dependencies. No deployed trading routes or signer are enabled.

Validation: lint and types pass; Supabase suite 285 passed, one opt-in compiled-Worker test skipped; migration-history checks 3 passed. API/research dry-run builds and OpenNext web build pass (web retried after a Google Fonts download failure). All migrations were applied only to disposable local databases. One commit per file.

Acceptance boundary: this recovers and reconciles the local pilot; it does NOT complete deployed multi-user trading. The hosted account-binding/signing/admission path remains a separate implementation requirement. No live provider checks, wallets, funding, approvals, orders, merges or deployments were performed.

…ing-integration

# Conflicts:
#	package-lock.json
#	packages/api-schema/AGENTS.md
#	packages/core/AGENTS.md
@gilbertsahumada
gilbertsahumada merged commit 85f33a5 into main Sep 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant