Changelog
Release history, security remediations, and verified engineering milestones for Agentic Market (agenticmarket.fun).
All notable changes to Agentic Market (agenticmarket.fun) are tracked here following Keep a Changelog, Semantic Versioning, and Conventional Commits.
Canonical Source
This page mirrors the root repository CHANGELOG.md and is updated alongside every tagged milestone.
Unreleased
Planned
- Live BSC Testnet (
97) BscScan verification pendingBSCSCAN_API_KEY(addresses tracked in ADRs & Deployments). - Pre-Mainnet
EXT-1/OD-1external verification gates (AgentIdAdaptermainnet-fork test against live SPACE ID.airegistry, Chainlink Mainnet proxy/heartbeat check viacast, MEV-protected private Guardian RPC, hardware/multisig role separation, and mainnet go/no-go decision). - 30 Agent ID recruitment ahead of the 9 Dec 2026 submission deadline.
contract/:MultiEngineV1.1 multi-outcome trend markets () with Verify-Don't-Compute sell hint solver.
v0.4.0 — 2026-12-04
First live BSC Testnet (chainId = 97) full-stack deployment, Cloudflare Workers storefront & docs (agenticmarket.fun, docs.agenticmarket.fun), isolated VPS Docker stack (api.agenticmarket.fun), end-to-end on-chain smoke cycle, INV-1 solvency verification, and push-to-deploy CI/CD.
Added
- BSC Testnet (
chainId = 97) Smart Contract Deployment (docs/adr/0003-network-deployments.md):- Deployed via
contract/script/DeployTestnet.s.sol(DEPLOY_MOCKS=true) in blocks146354163–146354165from deployer0xc7e1Af93dE975a008D5B1d117c026044D8766D7e(6,944,838deploy gas =0.006944838 tBNB;0.007413281 tBNBtotal spent including smoke cycle,0.092586719 tBNBremaining):BinaryEngine:0xE81494E0B9Bd50f07Cc7eba0a14d3cEe209c5092AdapterRegistry:0x48402f99568e5bbd6087F8513106b1CdFC644978MockUSDT18:0xcf7C3DDF3e7b907E40BD0282C519ACe5971a3DdeMockChainlinkFeed:0x3a29689aB3034eB67f344238a76542Ac10b3Eb55($95,000.00seeded)MockAgentIdAdapter:0x4842d699A0aFb181735A35ab8ecbC343109EC523
- Deployed via
- Full Stack Live & End-to-End Testnet Smoke Verification:
- Storefront (
agenticmarketathttps://agenticmarket.fun) and docs (agenticmarket-docsathttps://docs.agenticmarket.fun) live on Cloudflare Workers (@opennextjs/cloudflare). - API,
INV-1solvency watcher, keeper, and Cloudflare Tunnel connector (agenticmarket-vps) live in isolated Docker containers servinghttps://api.agenticmarket.fun. - Passed on-chain smoke cycle (
fundVault5,000 USDT, keeper-launched BTC/USD 1H market, APIbuild-txbuy/sell) withINV-1watcher green at block146357606(solvencyOk: true,exactScalingOk: true,alertCount: 0).
- Storefront (
- Push-to-Deploy CI/CD (
.github/workflows/deploy-vps.yml, Testnet Deployment Runbook):- Cloudflare Workers Builds configured on
mainfor bothagenticmarket(/agenticmarket) andagenticmarket-docs(/docs-site);.github/workflows/deploy-vps.ymlautomates CI-gated, paths-filtered, acceptance-checked VPS deploys. Contracts undercontract/**are never auto-deployed.
- Cloudflare Workers Builds configured on
- Production Agent ID Adapter & BSC Mainnet Deployment Script (
contract/):- Added immutable
contract/src/AgentIdAdapter.sol(354 Bruntime) implementingIAgentIdAdapterfor the verified BSC Mainnet (56) SPACE ID.aiERC-721 registry (0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F,balanceOf(account) > 0), without modifying any existing frozen contract source file. - Added
contract/test/mocks/MockERC721Registry.solandcontract/test/AgentIdAdapter.t.sol(10unit, fuzz,AdapterRegistryconstructor/fail-closed integration, andDeployMainnetguard tests). - Added dry-run-by-default
contract/script/DeployMainnet.s.sol(block.chainid == 56guard,CONFIRM_MAINNET_BROADCAST=true+ explicitGOVERNANCE_ADDRESSopt-in), deployingAgentIdAdapter->AdapterRegistry(gov, [adapter])(bypassing the 48-hour timelock) ->BinaryEnginewith canonical BSC Mainnet USDT (0x55d398326f99059fF775485246999027B3197955) and Chainlink BTC/USD (0x264990fbd0A4796A3E3d8E37C4d5F87a3aCa5Ebf).
- Added immutable
- Fumadocs Documentation & Institutional Legal Portal (
docs-site/—docs.agenticmarket.fun):- Standalone Next.js
16.4.6+ Fumadocs + KaTeX + Tailwind CSS v4 documentation portal on port3002with built-in full-text search (/api/search),/robots.txt, and/sitemap.xml. - Complete V5.0 technical documentation across Getting Started, AI Agents & API, Protocol Architecture, Security & Audits, and Operations & ADRs.
- Institutional Legal & Compliance suite: Terms of Service, Privacy Policy, Risk & Settlement Disclosure, and Governance & Conflict-of-Interest Policy.
- Parallel
docs-siteCI job and automated compliance gate coverage in.github/workflows/ci.yml.
- Standalone Next.js
Fixed
- Storefront Agent Prompt Templates (
agenticmarket/lib/prompt-templates.ts):- Updated
buildMarketAgentPromptstep 3 approval URL to use the trade's exact 6-decimalamount(least-privilege sizing) instead of a hardcoded100000000(100 USDT) allowance. - Formatted the
sellaction line withformatUsdt(amount)so human-readable prompt text displays$25.00symmetrically withbuy, keeping raw 6-decimal units strictly inside API URLs.
- Updated
Known Follow-Ups
- BscScan Testnet contract verification pending
BSCSCAN_API_KEY. - Production
AgentIdAdaptermainnet-fork test against live SPACE ID.airegistry, Chainlink Mainnet proxy/heartbeat verification, MEV-protected private Guardian RPC, and BSC Mainnet (56) decision. - 30 Agent ID recruitment ahead of the 9 Dec 2026 submission deadline.
0.3.0-release-candidate — 2026-12-02
Isolated Off-Chain Workers (workers/), 1-Command Local Full-Stack Demo (bun run dev:local), Trading-Terminal Charts & History APIs, Storefront Production Polish, 1-Click AI Agent Setup, GitHub Actions CI, and BSC Testnet (97) Deployment Readiness.
Added
- GitHub Actions CI Pipeline (
.github/workflows/ci.yml):- Parallel least-privilege (
contents: read) jobs with concurrency cancellation:contracts(forge fmt --check,forge build --sizes, strict EIP-170<= 24,576 Bcheck, unit/gas/attack/regression + default 11-invariant suite, plus on-demandworkflow_dispatchrun_deep_invariantsciprofile),api-and-workers(tsc+ live Anvil E2E tests),storefront(tsc,bun test,eslint,next build), andquality-and-e2e-smoke(biome check, automated zero-auth/zero-signing/brand compliance gate, and full-stackbun scripts/dev-local.ts --smoke-test).
- Parallel least-privilege (
- BSC Testnet (
97) Deployment Readiness & Registry:- Hardened
contract/script/DeployTestnet.s.solto block BSC Mainnet (chainId == 56), support both real testnet feeds andDEPLOY_MOCKS=true(MockUSDT18,MockChainlinkFeed,MockAgentIdAdapter), accept optionalINITIAL_ADAPTER_ADDRESS, and print a structured deployment summary. - Added complete Testnet Deployment Runbook and Deployment Registry (
ADR-0003).
- Hardened
- Isolated Off-Chain Operational Workers (
workers/, Bun + Viem):- Least-privilege CLI runner supporting
--mode=keeper|watcher|guardian|curator(+--once) with strict single-role key isolation. - Deterministic Chainlink BTC 1h/4h launcher & resolver with
startPricestaleness checks, 2-call historicalendRoundIdbracketing, andphaseId + 1rollover. - Real-time
INV-1Global Solvency Watcher auditing reconstructed Engine ledgers against liveUSDT.balanceOf(BinaryEngine)on every block. - MEV-protected private-RPC Guardian and 3-tier LLM failover AI Curator/Resolver gated by a deterministic validation & prompt-injection firewall.
- Least-privilege CLI runner supporting
- 1-Command Local Full-Stack Runner (
scripts/dev-local.ts→bun run dev:local):- Spawns Cancun Anvil, deploys
AdapterRegistry,BinaryEngine,MockUSDT18,MockAgentIdAdapter, andMockChainlinkFeed, seeds 5 realistic on-chain markets (4 live + 1 settled) and multi-agent trades, verifiesINV-1, and bootsapp/(:3001) +agenticmarket/(:3000).
- Spawns Cancun Anvil, deploys
- Charting, History & Live Price Feed APIs (
app/):- Added
GET /api/v1/markets/:id/history(chronological Yes/No probability points0..10000bps + newest-firstrecentTrades,1h | 6h | 24h | all) andGET /api/v1/markets/:id/price-feed(live OHLC candles1m | 5m | 15m, ChainlinktargetPrice,currentPrice,deltaUsd,deltaPercent). - Enriched
GET /api/v1/marketssummaries with visual metadata (iconKey,imageUrl,assetSymbol,sparkline) and cross-linked endpoints in Scalar/docsand/llms.txt.
- Added
- Trading-Terminal UI & 1-Click AI Agent Setup (
agenticmarket/):- Added
MarketIcon,MiniSparkline,ShareMarketButton, code-splitMarketChartsDynamic(lightweight-chartsv5),RecentActivitylive trade tape,MobileTradeBar,CommandPalette(⌘K/Ctrl+K), SSR-safelocalStorageWatchlist,NetworkBadge, dynamic OpenGraph cards, and 1-click/agent-setup/prompt.md+/agent-setup/skill.md.
- Added
Verified
- Smart Contracts (
contract/):forge fmt --check,forge build --sizes(BinaryEngine24,076 B,AdapterRegistry2,380 B),58 / 58unit/gas/attack/regression tests +DeployTestnet.s.soldry-run simulation passing. - Off-Chain Workers (
workers/):13 / 13Bun tests passing (46assertions),0TypeScript errors. - Agent Read Layer (
app/):18 / 18Bun tests passing (316assertions),0TypeScript errors. - Read-Only Storefront (
agenticmarket/):21 / 21Bun tests passing (142assertions),0lint/TS errors,24 / 24routes built cleanly.
0.2.0-api-and-web — 2026-12-02
ElysiaJS Agent Read Layer (app/), Consumer-First Next.js 16 Storefront (agenticmarket/), and Independent Contract Review alignment.
Added
- ElysiaJS Agent Read Layer (
app/, Bun, port3001):- Full REST API (
/health,/api/v1/markets,/:id,/quote,/build-tx,/build-redeem-tx,/build-redeem-batch-tx,/build-approve-tx,/resolved,/agents/:address,/leaderboard,/streamSSE). - Interactive Scalar API Reference (
/docs), OpenAPI3.1.2(/openapi.json), dynamic/llms.txt, and read-only Streamable HTTP MCP server (POST /mcp, 10 tools). - Live Viem event indexer decoding assembly
log3MarketCreatedevents and exact 6-decimalBigIntFPMM +ceilDivfee parity withBinaryEngine.
- Full REST API (
- Consumer-First Next.js 16 Read-Only Storefront (
agenticmarket/, Bun, port3000):- Landing Page (
/), Markets Explorer (/market), Market Detail (/market/[id]),/resolved,/leaderboard,/portfolio,/agents/[address], and Developer Hub (/developers). - Zero custody / zero auth / zero wallet-connect architecture with
BigInt-safe formatters and natural-language agent prompt templates.
- Landing Page (
Security
- Confirmed zero private keys, mnemonics, or server-side signing in
app/and zero login, session cookies, or browser wallet-connect/signing flows inagenticmarket/. - Enforced
Cache-Control: no-storeon fresh-RPC routes, per-IP sliding-window rate limits (120/minread,60/minRPC), and max3concurrent SSE streams per IP.
0.1.0-contracts — 2026-12-02
Smart Contracts V5.0 — Binary-First & Audit-Verified milestone (contract/, docs/, typed Viem ABI exports).
Added
- Foundry-Only + Solady Workspace (
contract/):solc 0.8.28,evm_version = "cancun",via_ir = true,optimizer_runs = 1, Soladyv0.1.27, andforge-std. AdapterRegistry(2,380 Bruntime): 48-hour timelocked, fail-closed, return-bomb-safe Agent ID verification registry queried strictly onbuy()only (never on exits).EngineBase&BinaryEngineV5.0 Immutable Singleton (24,072 Bruntime,504 Bbelow EIP-17024,576 Blimit):- Commit-to-ID
MarketKey(keccak256(abi.encode(key))), 6-decimal internal accounting (1e6) with exact1e12BSC USDT boundary scaling, single-slot bit-packed storage, 7-day Leaky Bucket Vault circuit breaker, EIP-1153 transient reentrancy guard, packed 64-checkpoint lazy TWAP ring buffer, Chainlink 2-call historicalendPricebracketing withphaseId + 1rollover, rapidVOIDfromPaused(6h window), permissionless liveness timeouts, andredeemBatchwith EIP-3529deletegas refunds.
- Commit-to-ID
- Typed ABI Export Pipeline:
contract/scripts/export-abis.tsexportingas constViem ABIs toapp/src/abi/andagenticmarket/lib/abi/.
Security
Remediated all 5 actionable findings (3 Medium, 2 Low; 0 Critical, 0 High) from the BinaryEngine V5.0 Adversarial Audit:
- M-01: Restricted optimistic proposals on
Pausedprice markets strictly toVOID_OUTCOME. - M-02: Enforced
block.timestamp >= key.cutoffTimefor all non-VOID_OUTCOMEproposals onPausedtrend markets. - M-03: Blocked proposers from self-disputing their own proposals (
msg.sender == res.proposer). - L-01: Decayed and clamped
bucketLevelinsideEngineBase.setVaultLimits(). - L-02: Widened
EngineErrors.MaxPositionExceeded(uint256 newBasis, uint40 cap)and re-synced typed Viem ABIs. - Stateful 11-Invariant Deep Fuzzing:
1,600runs /204,800stateful cross-market calls passing all 11 mandatory invariants (INV-1–INV-11) with0discards.