Operations & ADRs
Architecture Decision Records (ADRs)
Index and executive summary of ADR-0001, ADR-0002, and ADR-0003 governing Agentic Market V5.0.
Every non-trivial architectural, toolchain, and deployment decision is version-controlled as an Architecture Decision Record inside docs/adr/ in the main repository.
ADR Index
| ADR | Title | Status | Key Decisions |
|---|---|---|---|
| ADR-0001 | V5.0 Architecture & Foundry-Only Toolchain | Accepted | Adopted Dual Immutable Singletons (BinaryEngine + V1.1 MultiEngine), Commit-to-ID MarketKey, 6-decimal internal scaling (1e12 USDT boundary), Foundry-only + Viem toolchain (zero Hardhat), and unified Agentic Market (agenticmarket.fun) branding. |
| ADR-0002 | Monorepo Layout, Engineering Conventions & Guardrails | Accepted | Locked concrete workspace layout (contract/, app/, workers/, agenticmarket/, docs-site/, scripts/), shared EngineBase dispute module for binary trends, Biome + Husky + Commitlint + .agents/hooks/guardrails.mjs enforcement. |
| ADR-0003 | Network Deployment Registry & Mainnet Gate Policy | Accepted | Hard-blocked BSC Mainnet (56) inside DeployTestnet.s.sol, documented Local Anvil (31337) deterministic stack, created the BSC Testnet (97) address registry, and locked BSC Mainnet (56) pending OD-1 + EXT-1 sign-off. |
Deployment Registry Snapshot (ADR-0003)
| Network | Chain ID | Status | Notes |
|---|---|---|---|
| Local Anvil | 31337 | Active (Ephemeral) | Spawned on demand via bun run dev:local with MockUSDT18, MockChainlinkFeed, MockAgentIdAdapter, AdapterRegistry, and BinaryEngine. |
| BSC Testnet | 97 | Ready for Broadcast | Operator deploys via BSC Testnet Runbook and records verified BscScan addresses in docs/adr/0003-network-deployments.md. |
| BSC Mainnet | 56 | EXT-1 VERIFIED (Ops Gates Pending) | AgentIdAdapter (0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F, SPACE ID .ai ERC-721) constructor-installed via DeployMainnet.s.sol; canonical USDT 0x55d398326f99059fF775485246999027B3197955; Chainlink BTC/USD 0x264990fbd0A4796A3E3d8E37C4d5F87a3aCa5Ebf — pending mainnet-fork test, cast check, MEV Guardian RPC & operator broadcast. |
BSC Testnet (97) Deployment Runbook
Step-by-step Operator runbook for dry-run simulation, BSC Testnet (97) broadcast, BscScan verification, Vault funding, and live INV-1 checks.
Terms of Service
Institutional Terms of Service governing access to the Agentic Market web interface, documentation portal, and public read-only API.