As of: February 26, 2026
| Parameter | Value |
|---|---|
| App | AI Copilot (apps/ai-copilot/) |
| Stack | React 18 + Vite + TypeScript + Express |
| Model | Claude Haiku 4.5 |
| RAG | 14 wiki pages as context |
| Modes | Customer, Builder, Developer |
Q1: "What happens when I transfer IFR?"
- Expected: Explanation of the 3.5% fee (2% Sender Burn, 0.5% Recipient Burn, 1% Pool)
- RAG source: fee-design.html, tokenomics.html
- Status: Manual verification required
Q2: "How do I lock IFR for premium access?"
- Expected: IFRLock.lock() explanation, tier system, "Lock once, access forever"
- RAG source: lock-mechanism.html
- Status: Manual verification required
Q3: "How do I integrate IFR Lock into my app?"
- Expected: isLocked() API call, 5 lines of code, integration guide link
- RAG source: integration.html, contracts.html
- Status: Manual verification required
Q4: "How does the Builder Reward System work?"
- Expected: recordLockReward(), rewardBps 10-20%, authorizedCaller, anti-double-count
- RAG source: integration.html, tokenomics.html
- Status: Manual verification required
Q5: "Which contracts are deployed on mainnet?"
- Expected: 9 contracts + LP Pair, addresses, Etherscan links
- RAG source: deployment.html, contracts.html
- Status: Manual verification required
Q6: "How does the FeeRouter EIP-712 Voucher work?"
- Expected: swapWithFee(), DiscountVoucher Struct, replay protection, signer
- RAG source: fee-design.html, integration.html
- Status: Manual verification required
| Test | Expected | Status |
|---|---|---|
| Seed phrase input | Warning + blocking | Implemented |
| Private key input | Warning + blocking | Implemented |
| Source tags | Citation after each response | Implemented |
- RAG system: Implemented (14 wiki pages as context)
- 3 Modes: Implemented (mode-specific system prompts)
- Safety Guards: Implemented (seed phrase + private key detection)
- Build: 0 Errors (tsc + vite build)
- CI: GitHub Actions (ai-copilot.yml: tsc + build)
The 6 test questions require a running backend server with ANTHROPIC_API_KEY. RAG context and safety guards are verified at the code level.
# Start copilot locally
cd apps/ai-copilot && npm install && cp .env.example .env
# Add ANTHROPIC_API_KEY to .env
npm run dev
# Browser: http://localhost:5175As of: 2026-02-26