Skip to content

[codex] Add permissionless market creation flow#77

Merged
krandder merged 2 commits into
mainfrom
codex/permissionless-stack-market-ui
Jun 30, 2026
Merged

[codex] Add permissionless market creation flow#77
krandder merged 2 commits into
mainfrom
codex/permissionless-stack-market-ui

Conversation

@krandder

@krandder krandder commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Adds a deterministic market creation workflow model for Gnosis/Kleros defaults, Snapshot-after-liquidity ordering, FLM defaults, candle/indexer readiness, arbitrage setup, and publish steps.
  • Wires the planner to concrete registry and FLM action descriptors: IFutarchyFactory.createProposal, FutarchyLiquidityManagerFactory.createLiquidityManager, FutarchyOrganizationMetadata.createAndAddProposalMetadata, FutarchyOrganizationMetadata.setDefaultLiquidityManager, and FutarchyOfficialProposalSource.setOfficialProposal.
  • Replaces /markets/new with a guided Create Market UI and adds a Companies page entry point.
  • Adds auto-qa coverage for KIP/GIP defaults, metadata shape, permissionless Chiado lifecycle, registry/FLM dependency order, and Snapshot-after-liquidity ordering.

Validation

  • npx eslint src/features/marketCreation/marketCreationWorkflow.js src/components/futarchyFi/createMarket/CreateMarketFlow.jsx src/components/futarchyFi/companyList/page/CompaniesPage.jsx src/pages/markets/new/index.jsx auto-qa/tests/market-creation-workflow.test.mjs
  • node --test auto-qa/tests/market-creation-workflow.test.mjs (8 tests)
  • npm run auto-qa:test -- --test-name-pattern "market creation|Kleros|Gnosis|permissionless|Snapshot|FLM factory|registry" (npm forwards this to the full unit suite; 685 tests passed)
  • curl -I http://127.0.0.1:3001/markets/new
  • curl -I http://127.0.0.1:3001/companies

Notes

Full npm run lint is still blocked by existing repo-wide lint failures outside this branch, including src/app/new-design/_lib/mockData.js, src/components/common/Header.jsx, and several pre-existing hook/display-name/no-unescaped-entities errors.

@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for futarchy ready!

Name Link
🔨 Latest commit e44b92e
🔍 Latest deploy log https://app.netlify.com/projects/futarchy/deploys/6a433c9ddc489900076610f2
😎 Deploy Preview https://deploy-preview-77--futarchy.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@krandder krandder marked this pull request as ready for review June 30, 2026 10:30
@krandder krandder merged commit cb071e0 into main Jun 30, 2026
5 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