# clawrouter - Doramagic AI Context Pack

> Positioning: a pre-install experience and judgment asset. It helps the host AI get off to a good start, but it does not mean the project has already been installed, run, or validated.

## Sufficiency Principle

- **Sufficiency over compression**: The AI Context Pack should be sufficient for the host AI to understand the project's value, capability boundaries, entrypoints, risks, and evidence sources before starting work; it may be layered, but it does not aim for the shortest possible summary.
- **Compression policy**: Compress only noise and duplication, never context that affects judgment or the quality of the work.

## How the Host AI Should Use This

You are reading the AI Context Pack that Doramagic compiled for clawrouter. Treat it as pre-work context: help the user understand who it fits, what it can do, how to start, what must be verified after install, and where the risks are. Do not claim that you have already installed, run, or executed the target project.

## Claim Consumption Rules

- **Fact source**: Repo Evidence + Claim/Evidence Graph; the Human Wiki only supplies salience, terminology, and narrative structure.
- **Minimum status for a fact**: `supported`
- `supported`: May be used as a project fact, but the answer must cite the claim_id and evidence path.
- `weak`: Usable only as a low-confidence lead; the user must be asked to keep verifying.
- `inferred`: Usable only for risk notes or open questions; must not be packaged as a project fact.
- `unverified`: Must not be used as fact; state clearly that evidence is insufficient.
- `contradicted`: Must show the conflicting sources and must not force a single version on the user's behalf.

## Who It Fits Best

- **Developers already using host AIs such as Claude/Codex/Cursor/Gemini**: The README or plugin config mentions multiple host AIs. Evidence: `README.md` Claim: `clm_0004` supported 0.86
- **Users who want to bring professional workflows into a host AI**: The repo contains Skill documents. Evidence: `skills/clawrouter/SKILL.md`, `skills/imagegen/SKILL.md`, `skills/phone/SKILL.md`, `skills/polymarket-trading/SKILL.md` et al. Claim: `clm_0005` supported 0.86

## What It Can Do

- **AI Skill / Agent Instruction Asset Library** (Previewable before install): The project contains Skill or Agent instruction files that a host AI can read, useful for bringing professional workflows into hosts like Claude, Codex, or Cursor. Evidence: `skills/clawrouter/SKILL.md`, `skills/imagegen/SKILL.md`, `skills/phone/SKILL.md`, `skills/polymarket-trading/SKILL.md` et al. Claim: `clm_0001` supported 0.86
- **Multi-Host Install and Distribution** (Verify after install): The project contains plugin or marketplace configuration, indicating it targets install and distribution across one or more AI hosts. Evidence: `openclaw.plugin.json` Claim: `clm_0002` supported 0.86
- **Command-Line Startup or Install Flow** (Verify after install): The project documentation contains runnable commands; real use requires running them in a local or host environment. Evidence: `CLAUDE.md`, `README.md` Claim: `clm_0003` supported 0.86

## How to Start

- `curl -fsSL https://blockrun.ai/ClawRouter-update | bash` Evidence: `README.md` Claim: `clm_0006` supported 0.86
- `npm install -g @blockrun/clawrouter` Evidence: `README.md` Claim: `clm_0007` supported 0.86
- `npx @blockrun/clawrouter` Evidence: `README.md` Claim: `clm_0008` supported 0.86, `clm_0015` supported 0.86, `clm_0016` supported 0.86, `clm_0017` supported 0.86 et al.
- `curl -X POST http://localhost:8402/v1/videos/generations \` Evidence: `README.md` Claim: `clm_0009` supported 0.86
- `curl -X POST http://localhost:8402/v1/voice/call \` Evidence: `README.md` Claim: `clm_0010` supported 0.86
- `curl http://localhost:8402/v1/voice/call/call_abc123` Evidence: `README.md` Claim: `clm_0011` supported 0.86
- `curl 'http://localhost:8402/v1/surf/market/price?symbol=BTC'` Evidence: `README.md` Claim: `clm_0012` supported 0.86
- `curl 'http://localhost:8402/v1/surf/wallet/labels/batch?addresses=0xabc,0xdef,0x123'` Evidence: `README.md` Claim: `clm_0013` supported 0.86
- `curl -X POST 'http://localhost:8402/v1/surf/onchain/sql' \` Evidence: `README.md` Claim: `clm_0014` supported 0.86
- `npx @blockrun/clawrouter doctor` Evidence: `README.md` Claim: `clm_0015` supported 0.86, `clm_0016` supported 0.86, `clm_0017` supported 0.86, `clm_0018` supported 0.86

## Continue-or-Stop Decision Card

- **Current recommendation**: Sandbox trial only
- **Why**: The project has signals of install commands, host configuration, or local writes; do not go straight into your primary environment—trial it in isolation first.

### 30-Second Read

- **What to do now**: Sandbox trial only
- **Minimum safe next step**: Run Prompt Preview first; if you still want to install, trial only in an isolated environment
- **Do not trust yet**: Real output quality cannot be trusted before install.
- **Continuing will touch**: Command execution, Host AI configuration, Local environment or project files

### What You Can Trust Now

- **Target-audience signal: Developers already using host AIs such as Claude/Codex/Cursor/Gemini** (supported): Backed by a supported claim or project evidence, but that still is not the same as real install results. Evidence: `README.md` Claim: `clm_0004` supported 0.86
- **Target-audience signal: Users who want to bring professional workflows into a host AI** (supported): Backed by a supported claim or project evidence, but that still is not the same as real install results. Evidence: `skills/clawrouter/SKILL.md`, `skills/imagegen/SKILL.md`, `skills/phone/SKILL.md`, `skills/polymarket-trading/SKILL.md` et al. Claim: `clm_0005` supported 0.86
- **Capability exists: AI Skill / Agent Instruction Asset Library** (supported): You can trust that the project contains signals of this capability; whether it fits your specific task still needs trial or after-install verification. Evidence: `skills/clawrouter/SKILL.md`, `skills/imagegen/SKILL.md`, `skills/phone/SKILL.md`, `skills/polymarket-trading/SKILL.md` et al. Claim: `clm_0001` supported 0.86
- **Capability exists: Multi-Host Install and Distribution** (supported): You can trust that the project contains signals of this capability; whether it fits your specific task still needs trial or after-install verification. Evidence: `openclaw.plugin.json` Claim: `clm_0002` supported 0.86
- **Capability exists: Command-Line Startup or Install Flow** (supported): You can trust that the project contains signals of this capability; whether it fits your specific task still needs trial or after-install verification. Evidence: `CLAUDE.md`, `README.md` Claim: `clm_0003` supported 0.86
- **There are Quick Start / install-command signals** (supported): You can trust that the docs mention a startup or install entrypoint; do not run it directly in your primary environment because of that. Evidence: `README.md` Claim: `clm_0006` supported 0.86

### What You Cannot Trust Yet

- **Real output quality cannot be trusted before install.** (unverified): Prompt Preview can only show how it guides you; it cannot prove result quality in the real project.
- **Host AI version compatibility cannot be trusted before install.** (unverified): Host loading rules and version differences across Claude, Cursor, Codex, Gemini, and others must be verified in a real environment.
- **That it will not pollute your existing host AI's behavior cannot be trusted directly.** (inferred): Skill, plugin, and AGENTS/CLAUDE/GEMINI instructions may change the host AI's default behavior. Evidence: `CLAUDE.md`, `openclaw.plugin.json`, `skills/clawrouter/SKILL.md`, `skills/imagegen/SKILL.md` et al.
- **Safe rollback cannot be assumed by default.** (unverified): Unless the project clearly provides uninstall and recovery instructions, verify in an isolated environment first.
- **After a real install, is it compatible with the user's current host AI version?** (unverified): Compatibility can only be verified in the actual host environment. Evidence: `openclaw.plugin.json`
- **Does the project's output quality meet the user's specific task?** (unverified): The pre-install preview can only show flow and boundaries; it cannot replace real evaluation.
- **Do the install commands require network access, permissions, or global writes?** (unverified): This affects install risk in both enterprise and personal environments. Evidence: `README.md`

### What Continuing Will Touch

- **Command execution**: Package managers, network downloads, the local plugin directory, project config, or the user's home directory. Why: Running the very first command can already change your environment; decide whether it is worth running first. Evidence: `CLAUDE.md`, `README.md`
- **Host AI configuration**: The plugin, Skill, or rule-loading config of hosts like Claude/Codex/Cursor/Gemini/OpenCode. Why: Host configuration changes how the AI works afterward and may conflict with the user's existing rules. Evidence: `CLAUDE.md`, `openclaw.plugin.json`, `skills/clawrouter/SKILL.md`, `skills/imagegen/SKILL.md` et al.
- **Local environment or project files**: Install results, plugin caches, project config, or local dependency directories. Why: The write scope and rollback path cannot be proven before install and need isolated verification. Evidence: `CLAUDE.md`, `README.md`, `openclaw.plugin.json`
- **Host AI context**: The AI Context Pack, Prompt Preview, Skill routing, risk rules, and project facts. Why: Importing context affects the host AI's later judgment, so avoid packaging unverified items as facts.

### Minimum Safe Next Steps

- **Run Prompt Preview first**: Use a pre-install interactive trial to judge whether the way of working fits; it needs no authorization or environment change. (applies when: Applies to any project, especially when output quality is unknown.)
- **Trial-install only in an isolated directory or a test account**: Avoid letting install commands pollute your primary host AI, real projects, or home directory. (applies when: When there are signals of command execution, plugin config, or local writes.)
- **Back up your host AI configuration first**: Skill, plugin, and rule files may change the default behavior of Claude/Cursor/Codex. (applies when: When there is a plugin manifest, a Skill, or a host rule entrypoint.)
- **After install, verify just one minimal task**: Verify loading, compatibility, output quality, and rollback first, then decide whether to use it deeply. (applies when: When moving from a trial into a real workflow.)

### Exit Plan

- **Preserve the pre-install state**: Record the original host config and project state so you can later judge whether it is recoverable.
- **Be ready to remove the host plugin / Skill / rule entrypoint**: If behavior is off after the trial install, you can restore the host AI to its pre-trial state.
- **Record the install commands and written paths**: Without clear uninstall instructions, you at least need to know which directories or configs to clean up manually.
- **If there is no rollback path, do not enter your primary environment**: No rollback is a blocker before continuing; do not proceed on trust or luck.

## What Can Only Be Previewed

- Explain who the project fits and what it can do
- Demonstrate a typical conversation flow based on project docs
- Help the user decide whether it is worth installing or researching further

## What Must Be Verified After Install

- Actually installing the Skill, plugin, or CLI
- Running scripts, modifying local files, or accessing external services
- Verifying real output quality, performance, and compatibility

## Boundary & Risk Decision Card

- **Mistaking the pre-install preview for a real run**: The user may overestimate how much configuration, permission, and compatibility verification the project has already done. Mitigation: Clearly separate prompt_preview_can_do from runtime_required. Claim: `clm_0021` inferred 0.45
- **Host AI plugin or Skill rule conflicts**: New rules may change how the user's existing host AI behaves. Mitigation: Inspect the plugin manifest and Skill files before installing, and test in isolation if needed. Evidence: `openclaw.plugin.json` Claim: `clm_0022` supported 0.86
- **Command execution will modify the local environment**: Install commands may write to the user's home directory, the host plugin directory, or project configuration. Mitigation: Run in an isolated environment or a test account first. Evidence: `CLAUDE.md`, `README.md` Claim: `clm_0023` supported 0.86
- **To confirm**: After a real install, is it compatible with the user's current host AI version?. Why: Compatibility can only be verified in the actual host environment.
- **To confirm**: Does the project's output quality meet the user's specific task?. Why: The pre-install preview can only show flow and boundaries; it cannot replace real evaluation.
- **To confirm**: Do the install commands require network access, permissions, or global writes?. Why: This affects install risk in both enterprise and personal environments.

## Pre-Work Working Context

### Loading Order

- First read how_to_use.host_ai_instruction to establish the boundaries of this pre-install judgment asset.
- Read claim_graph_summary to confirm facts come from the Claim/Evidence Graph, not the Human Wiki narrative.
- Then read intended_users, capabilities, and quick_start_candidates to judge whether the user is a match.
- When you need to carry out a concrete task, check role_skill_index first, then evidence_index.
- For real install, file modification, network access, performance, or compatibility questions, turn to risk_card and boundaries.runtime_required.

### Task Routes

- **AI Skill / Agent Instruction Asset Library**: Use role_skill_index / evidence_index to help the user pick a usable role, Skill, or workflow first. Boundary: Can be experienced via a pre-install Prompt. Evidence: `skills/clawrouter/SKILL.md`, `skills/imagegen/SKILL.md`, `skills/phone/SKILL.md`, `skills/polymarket-trading/SKILL.md` et al. Claim: `clm_0001` supported 0.86
- **Multi-Host Install and Distribution**: State that this is an after-install capability first, then give a pre-install checklist. Boundary: Must be verified after a real install or run. Evidence: `openclaw.plugin.json` Claim: `clm_0002` supported 0.86
- **Command-Line Startup or Install Flow**: State that this is an after-install capability first, then give a pre-install checklist. Boundary: Must be verified after a real install or run. Evidence: `CLAUDE.md`, `README.md` Claim: `clm_0003` supported 0.86

### Context Scale

- Total files: 220
- Important-file coverage: 40/220
- Evidence index entries: 77
- Role / Skill entries: 7

### Handling Insufficient Evidence

- **missing_evidence**: State that evidence is insufficient and ask the user for the target file, a README section, or after-install verification records; do not fill in facts.
- **out_of_scope_request**: State that the task is beyond the current AI Context Pack's evidence scope and suggest the user check the Human Manual or verify after a real install.
- **runtime_request**: Provide a pre-install checklist and command sources, but do not run commands for the user or claim they have been run.
- **source_conflict**: Show the conflicting sources side by side, mark them as unverified, and do not force a single version.

## Prompt Recipes

### Fit assessment

- Goal: Judge whether this project fits the user's current task.
- Expected output: A fit conclusion, key reasons, evidence citations, what can be previewed before install, what must be verified after install, and a next-step recommendation.

```text
Based on the AI Context Pack for clawrouter, ask me 3 necessary questions first, then judge whether it fits my task. The answer must cover: who it fits, what it can do, what it cannot do, whether it is worth installing, and where the evidence comes from. Every project fact must cite evidence_refs, source_paths, or a claim_id.
```

### Pre-install experience

- Goal: Let the user feel the core workflow before installing, while avoiding packaging the preview as real capability or a marketing promise.
- Expected output: An experience script with boundary labels, an after-install verification checklist, and a cautious recommendation; with no real-run promises or strong marketing language.

```text
Treat clawrouter as a pre-install experience asset, not an already-installed tool or a real runtime environment.

Output exactly four parts:
1. Ask me 3 necessary questions first.
2. Give an "experience script": use the three labels [Previewable before install], [Must verify after install], and [Insufficient evidence] to show how it might guide the workflow.
3. Give an after-install verification checklist: list which capabilities can only be confirmed after a real install, real host loading, and a real project run.
4. Give a cautious recommendation: only "worth researching/trialing further", "add information before deciding", or "not recommended to continue"; do not endorse the project.

Hard boundaries:
- Do not claim you have installed, run, executed tests, modified files, or produced real results.
- Do not write promise-like phrasing such as "auto-adapts", "guarantees passing", "perfect fit", or "strongly recommend installing".
- If you describe how it works after install, you must use a conditional such as "if installed successfully and the host loads the Skill correctly, it might...".
- The experience script may only be written as "example lines / hypothetical flow": use "might ask / might suggest / might show", not "has written, has generated, has passed, is running, is generating".
- Prompt Preview does not hand out install commands; if the user is ready to trial, only prompt them to read Quick Start and the Risk Card first and to verify in an isolated environment.
- Every project fact must come from a supported claim, evidence_refs, or source_paths; inferred/unverified items can only be risks or open questions.

```

### Role / Skill selection

- Goal: Pick the best-matching asset from the project's roles or Skills.
- Expected output: A list of candidate roles or Skills, each with an applicable scenario, evidence paths, risk boundary, and whether after-install verification is needed.

```text
Read role_skill_index and recommend 3-5 of the most relevant roles or Skills for my target task. For each recommendation, state the applicable scenario, likely output, risk boundary, and evidence_refs.
```

### Risk pre-check

- Goal: Identify environment, permission, rule-conflict, and quality risks before installing or adopting.
- Expected output: A checklist of environment, permission, dependency, license, host-conflict, quality risk, and unknown items.

```text
Based on risk_card, boundaries, and quick_start_candidates, give me a pre-install risk pre-check list. Do not run commands for me; only explain what I should check, why, and what impact a failure would have.
```

### Host AI kickoff instruction

- Goal: Turn the project context into a host AI instruction for the start of a conversation.
- Expected output: A pre-work instruction with clear boundaries and clear evidence citations, suitable to copy to a host AI.

```text
Based on the AI Context Pack for clawrouter, generate a pre-work instruction I can paste to my host AI. This instruction must obey not_runtime=true and must not claim the project has been installed, run, or produced real results.
```

## Role / Skill Index

- Indexed 7 role / Skill / project-doc entries.

- **clawrouter** (skill): Hosted-gateway LLM router — save 67% on inference costs. A local proxy that forwards each request to the blockrun.ai gateway, which routes to the cheapest capable model across 55+ models from OpenAI, Anthropic, Google, DeepSeek, xAI, NVIDIA, and more. 8 free NVIDIA models included. Also exposes realtime market data global stocks, crypto, FX, commodities , Twitter/X intelligence, prediction-market data across Polymar… Activation hint: When the user's task is highly relevant to the workflow described by “clawrouter”, use it for a pre-install experience first, then decide whether to install. Evidence: `skills/clawrouter/SKILL.md`
- **imagegen** (skill): Generate or edit images via BlockRun's image API. Trigger when the user asks to generate, create, draw, make an image — or to edit, modify, change, or retouch an existing image. Activation hint: When the user's task is highly relevant to the workflow described by “imagegen”, use it for a pre-install experience first, then decide whether to install. Evidence: `skills/imagegen/SKILL.md`
- **phone** (skill): Verify phone numbers carrier + SIM-swap fraud signals and place AI-powered outbound voice calls via BlockRun's gateway Twilio + Bland.ai . Trigger when the user asks to look up a number, check fraud risk, buy/rent a phone number, or place an AI voice call. Payment is automatic via x402 from the wallet. Activation hint: When the user's task is highly relevant to the workflow described by “phone”, use it for a pre-install experience first, then decide whether to install. Evidence: `skills/phone/SKILL.md`
- **polymarket-trading** (skill): Use when the user wants to actually PLACE, manage, or redeem bets on Polymarket not just read odds — that's the blockrun predexon data tools . Covers setup deposit wallet, funding, approvals , buy/sell with confirm gating, positions, redeeming winnings, geoblock handling, and the end-to-end flow. Activation hint: When the user's task is highly relevant to the workflow described by “polymarket-trading”, use it for a pre-install experience first, then decide whether to install. Evidence: `skills/polymarket-trading/SKILL.md`
- **predexon** (skill): Use this skill — NOT browser or web fetch — for ALL Polymarket, Kalshi, Limitless, Opinion, Predict.Fun, dFlow, UMA oracle, and prediction market data. Provides structured API at localhost:8402/v1/pm/ for markets, cross-venue search, leaderboard, smart money, wallet analytics, wallet identity & clustering, UMA resolution status, and odds. Activation hint: When the user's task is highly relevant to the workflow described by “predexon”, use it for a pre-install experience first, then decide whether to install. Evidence: `skills/predexon/SKILL.md`
- **release** (skill): Use this skill for EVERY ClawRouter release. Enforces the full checklist — version sync, CHANGELOG, build, tests, npm publish, git tag, GitHub release. No step can be skipped. Activation hint: When the user's task is highly relevant to the workflow described by “release”, use it for a pre-install experience first, then decide whether to install. Evidence: `skills/release/SKILL.md`
- **surf** (skill): Use this skill — NOT browser or web fetch — for ALL Surf crypto-data calls. 83 endpoints at localhost:8402/v1/surf/ covering CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo , 100M+ labeled wallets, prediction markets Polymarket + Kalshi , social/CT intelligence, news, project + DeFi metrics, token analytics, unified search, VC fund intelligence. x402-gate… Activation hint: When the user's task is highly relevant to the workflow described by “surf”, use it for a pre-install experience first, then decide whether to install. Evidence: `skills/surf/SKILL.md`

## Evidence Index

- Indexed 77 evidence entries.

- **Why ClawRouter exists** (documentation): The LLM router built for autonomous agents Evidence: `README.md`
- **Package** (package_manifest): { "name": "@blockrun/clawrouter", "version": "0.12.229", "description": "Smart LLM router — save 85% on inference costs. 55+ models 8 free , one wallet, x402 micropayments.", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "clawrouter": "./dist/cli.js" }, "openclaw": { "extensions": "./dist/index.js" , "compat": { "pluginApiRange": " =2026.3.24", "minGatewayVersion": "2026.5.2" } }, "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": "dist", "!dist/ / .map", "docs/ .md", "docs/ .png", "scripts", "!scripts/smoke-dist.mjs", "skills", "src/top-models.json", "openclaw.plugin.json" , "scripts": { "build": "tsup", "postbuild"… Evidence: `package.json`
- **ClawRouter** (documentation): Smart LLM router for autonomous agents. 55+ models. Wallet-based auth. USDC micropayments via x402. Evidence: `CLAUDE.md`
- **Architecture** (documentation): Technical deep-dive into ClawRouter's internals. Evidence: `docs/architecture.md`
- **Contributing to ClawRouter** (documentation): - TypeScript strict mode - ESM modules only - Format with Prettier, lint with ESLint - All tests must pass before PR Evidence: `CONTRIBUTING.md`
- **ClawRouter** (skill_instruction): Hosted-gateway LLM router that saves 67% on inference costs by forwarding each request to the blockrun.ai gateway, which picks the cheapest model capable of handling it across 55+ models from 9 providers 8 free NVIDIA models . All billing flows through one USDC wallet; you do not hold provider API keys. Evidence: `skills/clawrouter/SKILL.md`
- **Image Generation & Editing** (skill_instruction): Generate or edit images through ClawRouter. Payment is automatic via x402. Evidence: `skills/imagegen/SKILL.md`
- **Phone & Voice** (skill_instruction): Phone-number intelligence Twilio Lookup and AI-powered outbound voice calls Bland.ai through ClawRouter's local proxy. Payment is automatic via x402 from the user's BlockRun wallet. Evidence: `skills/phone/SKILL.md`
- **Polymarket Trading blockrun polymarket** (skill_instruction): Polymarket Trading blockrun polymarket Evidence: `skills/polymarket-trading/SKILL.md`
- **Predexon — Prediction Market Data** (skill_instruction): IMPORTANT: Always use this skill for any Polymarket, Kalshi, Limitless, Opinion, Predict.Fun, or prediction market request. Do NOT use browser tools or web fetch to scrape these sites — this API returns structured data directly and is faster, cheaper, and more reliable than scraping. Evidence: `skills/predexon/SKILL.md`
- **ClawRouter Release Checklist** (skill_instruction): This skill is mandatory for every release. Execute every step in order. Do not skip. Evidence: `skills/release/SKILL.md`
- **Surf — Unified Crypto Data API via ClawRouter** (skill_instruction): Surf — Unified Crypto Data API via ClawRouter Evidence: `skills/surf/SKILL.md`
- **License** (source_file): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files the "Software" , to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Evidence: `LICENSE`
- **9 Free AI Models, Zero Cost: How BlockRun Gives Developers Top-Tier LLMs for Nothing** (documentation): 9 Free AI Models, Zero Cost: How BlockRun Gives Developers Top-Tier LLMs for Nothing Evidence: `docs/9-free-ai-models-zero-cost-blockrun.md`
- **Stop Overpaying for Claude: How ClawRouter Cuts Your Anthropic Bill by 70%** (documentation): Stop Overpaying for Claude: How ClawRouter Cuts Your Anthropic Bill by 70% Evidence: `docs/anthropic-cost-savings.md`
- **Anthropic Is Cutting Off Third-Party Harnesses. Here's What You Can Do.** (documentation): Anthropic Is Cutting Off Third-Party Harnesses. Here's What You Can Do. Evidence: `docs/anthropic-third-party-harness-changes.md`
- **The Most AI-Agent-Native Router for OpenClaw** (documentation): The Most AI-Agent-Native Router for OpenClaw Evidence: `docs/clawrouter-cuts-llm-api-costs-500x.md`
- **We Read 100 OpenClaw Issues About OpenRouter. Here's What We Built Instead.** (documentation): We Read 100 OpenClaw Issues About OpenRouter. Here's What We Built Instead. Evidence: `docs/clawrouter-vs-openrouter-llm-routing-comparison.md`
- **Configuration Reference** (documentation): Complete reference for ClawRouter configuration options. Evidence: `docs/configuration.md`
- **Advanced Features** (documentation): ClawRouter v0.5+ includes intelligent routing features that work automatically. Evidence: `docs/features.md`
- **Image Generation & Editing** (documentation): Generate and edit images via BlockRun's image API with x402 micropayments — no API keys, pay per image. Evidence: `docs/image-generation.md`
- **We Benchmarked 39 AI Models Through Our Payment Gateway. Here's What We Found.** (documentation): We Benchmarked 39 AI Models Through Our Payment Gateway. Here's What We Found. Evidence: `docs/llm-router-benchmark-46-models-sub-1ms-routing.md`
- **OpenClaw Is Burning Your Budget and Stalling Your Agents. We Read the Issues — Here's the Fix.** (documentation): OpenClaw Is Burning Your Budget and Stalling Your Agents. We Read the Issues — Here's the Fix. Evidence: `docs/openclaw-cost-reliability-clawrouter-fixes.md`
- **Routing Profiles & Pricing** (documentation): ClawRouter offers four routing profiles to balance cost vs quality. Prices are in $/M tokens input/output . Tables show each tier's primary model — every tier also carries a benchmark-ordered fallback chain see src/router/config.ts . Evidence: `docs/routing-profiles.md`
- **Building a Smart LLM Router: How We Benchmarked 46 Models and Built a 14-Dimension Classifier** (documentation): Building a Smart LLM Router: How We Benchmarked 46 Models and Built a 14-Dimension Classifier Evidence: `docs/smart-llm-router-14-dimension-classifier.md`
- **Using Subscriptions with ClawRouter Failover** (documentation): Using Subscriptions with ClawRouter Failover Evidence: `docs/subscription-failover.md`
- **Troubleshooting** (documentation): Quick solutions for common ClawRouter issues. Evidence: `docs/troubleshooting.md`
- **BlockRun Worker Network — Vision** (documentation): Every company with a public API — blockchain protocols, AI providers, SaaS businesses — needs to prove to investors, customers, and regulators that their service is reliable. Today, that proof comes from centralized monitoring tools like UptimeRobot or Pingdom. The fundamental flaw: these reports are self-referential. A company can choose which tool monitors them, when to show the data, and how to present it. There is no independent, tamper-proof verification. Evidence: `docs/vision.md`
- **BlockRun Worker Network** (documentation): For Claude implementing this: Use superpowers:executing-plans to implement the tasks section task-by-task. Evidence: `docs/worker-network.md`
- **ClawRouter: Client-Side Smart Routing Design** (documentation): ClawRouter: Client-Side Smart Routing Design Evidence: `docs/plans/2026-02-03-smart-routing-design.md`
- **ClawRouter E2E Testing, Docker Validation & Deployment** (documentation): ClawRouter E2E Testing, Docker Validation & Deployment Evidence: `docs/plans/2026-02-13-e2e-docker-deployment.md`
- **Worker Network Implementation Plan** (documentation): For Claude: REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. Evidence: `docs/plans/2026-02-28-worker-network.md`
- **Error Classification Implementation Plan** (documentation): Error Classification Implementation Plan Evidence: `docs/plans/2026-03-18-error-classification.md`
- **Exclude Models Feature — Implementation Plan** (documentation): Exclude Models Feature — Implementation Plan Evidence: `docs/plans/2026-03-19-exclude-models.md`
- **Top Models** (structured_config): "auto", "premium", "eco", "free", "anthropic/claude-fable-5", "anthropic/claude-opus-4.8", "anthropic/claude-opus-4.7", "anthropic/claude-sonnet-5", "anthropic/claude-sonnet-4.6", "anthropic/claude-haiku-4.5", "openai/gpt-5.6-terra", "openai/gpt-5.6-sol", "openai/gpt-5.6-luna", "openai/gpt-5.5", "openai/gpt-5.4-pro", "openai/gpt-5.4", "openai/gpt-5.4-mini", "openai/gpt-5.4-nano", "openai/gpt-5.3-codex", "google/gemini-3.1-pro", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "google/gemini-3-flash-preview", "xai/grok-4.5", "xai/grok-4.3", "xai/grok-build-0.1", "zai/glm-5.2", "zai/glm-5.1", "zai/glm-5-turbo", "zai/glm-5", "minimax/minimax-m3", "minimax/minimax-m2.7", "moonshot/kim… Evidence: `src/top-models.json`
- **Auth** (source_file): import { writeFile, mkdir } from "node:fs/promises"; import { readTextFile } from "./fs-read.js"; import { join } from "node:path"; import { homedir } from "node:os"; import { privateKeyToAccount } from "viem/accounts"; import { generateWalletMnemonic, isValidMnemonic, deriveSolanaKeyBytes, deriveAllKeys, getSolanaAddress, } from "./wallet.js"; ⋮---- async function loadSavedWallet : Promise ⋮---- async function loadMnemonic : Promise ⋮---- async function saveMnemonic mnemonic: string : Promise ⋮---- async function generateAndSaveWallet : Promise ⋮---- export async function recoverWalletFromMnemonic : Promise ⋮---- export async function setupSolana : Promise ⋮---- export async function loadP… Evidence: `src/auth.ts`
- **Balance** (source_file): import { createPublicClient, http, erc20Abi } from "viem"; import { base } from "viem/chains"; import { RpcError } from "./errors.js"; ⋮---- export type BalanceInfo = { balance: bigint; balanceUSD: string; isLow: boolean; isEmpty: boolean; walletAddress: string; }; ⋮---- export type SufficiencyResult = { sufficient: boolean; info: BalanceInfo; shortfall?: string; }; ⋮---- export class BalanceMonitor ⋮---- constructor walletAddress: string ⋮---- async checkBalance : Promise ⋮---- async checkSufficient estimatedCostMicros: bigint : Promise ⋮---- deductEstimated amountMicros: bigint : void ⋮---- invalidate : void ⋮---- async refresh : Promise ⋮---- formatUSDC amountMicros: bigint : string ⋮---… Evidence: `src/balance.ts`
- **Cli** (source_file): import { startProxy, getProxyPort } from "./proxy.js"; import { VERSION } from "./version.js"; import { resolveOrGenerateWalletKey, resolvePaymentChain, recoverWalletFromMnemonic, savePaymentChain, } from "./auth.js"; import { getSolanaAddress } from "./wallet.js"; import { generateReport } from "./report.js"; import { formatRecentLogs } from "./stats.js"; import { runDoctor } from "./doctor.js"; import { PARTNER SERVICES } from "./partners/index.js"; ⋮---- function printHelp : void ⋮---- async function queryProxy path: string, port: number : Promise ⋮---- async function copyToClipboard text: string : Promise ⋮---- interface ShareEntry { id: string; timestamp: string; model?: string; sessio… Evidence: `src/cli.ts`
- **Index** (source_file): import type { OpenClawPluginDefinition, OpenClawPluginApi, OpenClawConfig, PluginCommandContext, OpenClawPluginCommandDefinition, ImageGenerationProviderPlugin, ImageGenerationRequest, MusicGenerationProviderPlugin, MusicGenerationRequest, VideoGenerationProviderPlugin, VideoGenerationRequest, } from "./types.js"; import { blockrunProvider, setActiveProxy } from "./provider.js"; import { startProxy, getProxyPort } from "./proxy.js"; import { BLOCKRUN EXA PROVIDER ID, blockrunExaWebSearchProvider } from "./web-search-provider.js"; import { resolveOrGenerateWalletKey, setupSolana, savePaymentChain, resolvePaymentChain, WALLET FILE, MNEMONIC FILE, } from "./auth.js"; import type { WalletResolu… Evidence: `src/index.ts`
- **Mcp Config** (source_file): import type { OpenClawConfig } from "./types.js"; ⋮---- export type McpServerDefinition = Record & { command?: string; args?: string ; cwd?: string; env?: Record ; url?: string; transport?: string; headers?: Record ; connectionTimeoutMs?: number; }; ⋮---- export type EnsureBlockrunMcpServerResult = { changed: boolean; status: "added" "updated" "unchanged" "preserved"; }; ⋮---- function isRecord value: unknown : value is Record ⋮---- function isStringArray value: unknown : value is string ⋮---- function normalizeStringRecord value: unknown : Record undefined ⋮---- function normalizeServerDefinition server: McpServerDefinition : Record ⋮---- function looksLikeBlockrunPackageArgs args: string… Evidence: `src/mcp-config.ts`
- **Payment Preauth** (source_file): import type { x402Client } from "@x402/fetch"; import { x402HTTPClient } from "@x402/fetch"; ⋮---- type PaymentRequired = Parameters "createPaymentPayload" 0 ; ⋮---- interface CachedEntry { paymentRequired: PaymentRequired; cachedAt: number; coverMicros: number undefined; } ⋮---- type EstimateFn = modelId: string, bodyLength: number, maxTokens: number = string undefined; ⋮---- type FetchFn = input: RequestInfo URL, init?: RequestInit = Promise ; ⋮---- export function createPayFetchWithPreAuth baseFetch: FetchFn, client: x402Client, ttlMs = DEFAULT TTL MS, options?: { skipPreAuth?: boolean; estimateAmount?: EstimateFn }, : FetchFn ⋮---- / not JSON, use empty model / ⋮---- // Up-front estimat… Evidence: `src/payment-preauth.ts`
- **Proxy** (source_file): import { AsyncLocalStorage } from "node:async hooks"; import { createServer, type IncomingMessage, type ServerResponse } from "node:http"; ⋮---- import { finished } from "node:stream"; import type { AddressInfo } from "node:net"; import { homedir } from "node:os"; import { join } from "node:path"; import { mkdir, writeFile, readFile, stat as fsStat } from "node:fs/promises"; import { readFileSync, existsSync } from "node:fs"; import { createPublicClient, http } from "viem"; import { base } from "viem/chains"; import { privateKeyToAccount } from "viem/accounts"; import { x402Client } from "@x402/fetch"; import { createPayFetchWithPreAuth } from "./payment-preauth.js"; import { withBuilderCod… Evidence: `src/proxy.ts`
- **Solana Balance** (source_file): import { address as solAddress, createSolanaRpc } from "@solana/kit"; ⋮---- export type SolanaBalanceInfo = { balance: bigint; balanceUSD: string; isLow: boolean; isEmpty: boolean; walletAddress: string; }; ⋮---- export type SolanaSufficiencyResult = { sufficient: boolean; info: SolanaBalanceInfo; shortfall?: string; }; ⋮---- export class SolanaBalanceMonitor ⋮---- constructor walletAddress: string, rpcUrl?: string ⋮---- async checkBalance : Promise ⋮---- deductEstimated amountMicros: bigint : void ⋮---- invalidate : void ⋮---- async refresh : Promise ⋮---- async checkSufficient estimatedCostMicros: bigint : Promise ⋮---- formatUSDC amountMicros: bigint : string ⋮---- getWalletAddress : str… Evidence: `src/solana-balance.ts`
- **Types** (source_file): export type ModelApi = "openai-completions" "openai-responses" "anthropic-messages" "google-generative-ai" "github-copilot" "bedrock-converse-stream"; ⋮---- export type ModelDefinitionConfig = { id: string; name: string; api?: ModelApi; reasoning: boolean; input: Array ; cost: { input: number; output: number; cacheRead: number; cacheWrite: number; }; contextWindow: number; maxTokens: number; headers?: Record ; }; ⋮---- export type ModelProviderConfig = { baseUrl: string; apiKey?: string; api?: ModelApi; headers?: Record ; authHeader?: boolean; models: ModelDefinitionConfig ; }; ⋮---- export type OpenClawConfig = Record & { models?: { providers?: Record }; agents?: Record ; mcp?: { servers?:… Evidence: `src/types.ts`
- **Upstream Proxy** (source_file): export interface UpstreamProxyOverrides { env?: Record ; setDispatcher?: dispatcher: unknown = void; } ⋮---- function firstEnv env: Record , ...names: string : string undefined ⋮---- export async function applyUpstreamProxy proxyUrl?: string, overrides?: UpstreamProxyOverrides, : Promise ⋮---- async function applyEnvProxyFallback env: Record , overrides?: UpstreamProxyOverrides, : Promise Evidence: `src/upstream-proxy.ts`
- **Wallet** (source_file): import { HDKey } from "@scure/bip32"; import { generateMnemonic, mnemonicToSeedSync, validateMnemonic } from "@scure/bip39"; import { wordlist as english } from "@scure/bip39/wordlists/english"; import { hmac } from "@noble/hashes/hmac.js"; import { sha512 } from "@noble/hashes/sha2.js"; import { privateKeyToAccount } from "viem/accounts"; ⋮---- export interface DerivedKeys { mnemonic: string; evmPrivateKey: 0x${string} ; evmAddress: string; solanaPrivateKeyBytes: Uint8Array; } ⋮---- export function generateWalletMnemonic : string ⋮---- export function isValidMnemonic mnemonic: string : boolean ⋮---- export function deriveEvmKey mnemonic: string : ⋮---- export function deriveSolanaKeyBytes… Evidence: `src/wallet.ts`
- **X402 Sdk.Test** (source_file): import { describe, it, expect, vi } from "vitest"; import { wrapFetchWithPayment, x402Client } from "@x402/fetch"; import { registerExactEvmScheme } from "@x402/evm/exact/client"; import { toClientEvmSigner } from "@x402/evm"; import { createPublicClient, http } from "viem"; import { base } from "viem/chains"; import { privateKeyToAccount } from "viem/accounts"; import { deriveAllKeys } from "./wallet.js"; ⋮---- function createTestEvmClient : x402Client ⋮---- start controller Evidence: `src/x402-sdk.test.ts`
- **Tsup.Config** (source_file): import { builtinModules } from "node:module"; import { fileURLToPath } from "node:url"; import { defineConfig } from "tsup"; ⋮---- esbuildOptions options Evidence: `tsup.config.ts`
- **Vitest.Integration.Config** (source_file): import { defineConfig } from "vitest/config"; Evidence: `vitest.integration.config.ts`
- **Index** (source_file): import { NormalizedMessage, CompressionConfig, CompressionResult, CompressionStats, DEFAULT COMPRESSION CONFIG, } from "./types.js"; import { deduplicateMessages } from "./layers/deduplication.js"; import { normalizeMessagesWhitespace } from "./layers/whitespace.js"; import { encodeMessages } from "./layers/dictionary.js"; import { shortenPaths } from "./layers/paths.js"; import { compactMessagesJson } from "./layers/json-compact.js"; import { compressObservations } from "./layers/observation.js"; import { applyDynamicCodebook, generateDynamicCodebookHeader } from "./layers/dynamic-codebook.js"; import { generateCodebookHeader, STATIC CODEBOOK } from "./codebook.js"; ⋮---- function calculat… Evidence: `src/compression/index.ts`
- **Types** (source_file): export interface ContentPart { type: "text" "image url"; text?: string; image url?: { url: string; detail?: "low" "high" "auto"; }; } ⋮---- export interface NormalizedMessage { role: "system" "user" "assistant" "tool"; content: string ContentPart null; tool call id?: string; tool calls?: ToolCall ; name?: string; } ⋮---- export interface ToolCall { id: string; type: "function"; function: { name: string; arguments: string; }; } ⋮---- export interface CompressionConfig { enabled: boolean; preserveRaw: boolean; layers: { deduplication: boolean; whitespace: boolean; dictionary: boolean; paths: boolean; jsonCompact: boolean; observation: boolean; dynamicCodebook: boolean; }; dictionary: { maxEnt… Evidence: `src/compression/types.ts`
- **Client** (source_file): import axios from "axios"; import { HttpsProxyAgent } from "https-proxy-agent"; import { createWalletClient, http, type Hex, type WalletClient } from "viem"; import { privateKeyToAccount, type PrivateKeyAccount } from "viem/accounts"; import { polygon } from "viem/chains"; import { ClobClient, SignatureTypeV2 } from "@polymarket/clob-client-v2"; import { getOrCreateWalletKey } from "./wallet-adapter.js"; import { assertContractConfig, CLOB HOST, GEOBLOCK URL, getBuilderCode, getClobProxy, getSigType, POLYGON CHAIN ID, POLYGON RPC URLS, } from "./constants.js"; import { loadDepositWalletForSigner, loadL2Creds, saveL2Creds } from "./creds.js"; import { deriveApiCreds } from "./l1-auth-1271.js… Evidence: `src/polymarket/client.ts`
- **Orders** (source_file): import { OrderType, Side, type ClobClient, type OrderBookSummary, } from "@polymarket/clob-client-v2"; import { checkGeoblock, getClobClient, getPolymarketAccount, resetClobClient } from "./client.js"; import { getMaxBetUsd, getMaxSessionUsd } from "./constants.js"; import { invalidateL2Creds } from "./creds.js"; ⋮---- export function getSessionLedger : ⋮---- function reserveBet usd: number, agentId?: string : void ⋮---- function releaseBet usd: number, agentId?: string : void ⋮---- function commitBet : void ⋮---- export function roundToTick price: number, tickSize: string, side: "buy" "sell" = "buy" : number ⋮---- interface ResolvedToken { tokenId: string; question?: string; outcome?: stri… Evidence: `src/polymarket/orders.ts`
- **Positions** (source_file): import axios from "axios"; import type { Hex } from "viem"; import { getPolymarketAccount } from "./client.js"; import { DATA API HOST, getSigType } from "./constants.js"; import { loadDepositWalletForSigner } from "./creds.js"; import type { ToolResult } from "./orders.js"; ⋮---- export function getFundsAddress : Hex ⋮---- export interface DataApiPosition { asset?: string; conditionId?: string; title?: string; outcome?: string; outcomeIndex?: number; size?: number; avgPrice?: number; curPrice?: number; currentValue?: number; cashPnl?: number; percentPnl?: number; redeemable?: boolean; negativeRisk?: boolean; } ⋮---- export async function fetchPositions user: string : Promise ⋮---- export a… Evidence: `src/polymarket/positions.ts`
- **Redeem** (source_file): import { createWalletClient, encodeFunctionData, http, type Hex } from "viem"; import { polygon } from "viem/chains"; import { getClobClient, getPolymarketAccount } from "./client.js"; import { CONDITIONAL TOKENS, ERC1155 ABI, getSigType, NEG RISK ADAPTER, NEG RISK ADAPTER ABI, POLYGON RPC URLS, PUSD COLLATERAL, PUSD DECIMALS, } from "./constants.js"; import type { ToolResult } from "./orders.js"; import { mapClobError } from "./orders.js"; import { getFundsAddress } from "./positions.js"; import { sendWalletBatch } from "./relayer.js"; import { getPublicClient, getPusdBalance } from "./setup.js"; ⋮---- interface ClobMarketToken { token id?: string; outcome?: string; winner?: boolean; } ⋮--… Evidence: `src/polymarket/redeem.ts`
- **Tool** (source_file): import type { PartnerToolDefinition } from "../partners/tools.js"; import { executeTrade, listOpenOrders, cancelOrdersAction, getSessionLedger, type ToolResult, } from "./orders.js"; import { listPositions } from "./positions.js"; import { redeemPosition } from "./redeem.js"; import { runSetup } from "./setup.js"; import { withdrawFunds } from "./withdraw.js"; import { fundVault } from "./fund.js"; ⋮---- export function buildPolymarketTool : PartnerToolDefinition Evidence: `src/polymarket/tool.ts`
- **Wallet Adapter** (source_file): import fs from "node:fs"; import { homedir } from "node:os"; import { join } from "node:path"; import { createPublicClient, http, getAddress, type Hex } from "viem"; import { base } from "viem/chains"; import { BASE USDC, ERC20 ABI, PUSD DECIMALS } from "./constants.js"; ⋮---- export function getOrCreateWalletKey : Hex ⋮---- function createBaseClient ⋮---- function baseClient ⋮---- export async function getChainBalance chain: "base" "solana", address: string, : Promise Evidence: `src/polymarket/wallet-adapter.ts`
- **Config** (source_file): import type { RoutingConfig } from "./types.js"; Evidence: `src/router/config.ts`
- **Index** (source_file): import type { RoutingDecision, RouterOptions } from "./types.js"; import { getStrategy } from "./strategy.js"; ⋮---- export function route prompt: string, systemPrompt: string undefined, maxOutputTokens: number, options: RouterOptions, : RoutingDecision Evidence: `src/router/index.ts`
- **Rules** (source_file): import type { Tier, ScoringResult, ScoringConfig } from "./types.js"; ⋮---- type DimensionScore = { name: string; score: number; signal: string null }; ⋮---- function scoreTokenCount estimatedTokens: number, thresholds: { simple: number; complex: number }, : DimensionScore ⋮---- function scoreKeywordMatch text: string, keywords: string , name: string, signalLabel: string, thresholds: { low: number; high: number }, scores: { none: number; low: number; high: number }, : DimensionScore ⋮---- function scoreMultiStep text: string : DimensionScore ⋮---- function scoreQuestionComplexity prompt: string : DimensionScore ⋮---- function scoreAgenticTask text: string, keywords: string , : ⋮---- export… Evidence: `src/router/rules.ts`
- The remaining 17 evidence entries are in `AI_CONTEXT_PACK.json` or `EVIDENCE_INDEX.json`.

## Rules the Host AI Must Follow

- **Treat this asset as pre-work context, not a runtime environment.**: The AI Context Pack contains only an evidence-backed understanding of the project, not the project's executable state. Evidence: `README.md`, `package.json`, `CLAUDE.md`
- **When answering the user, distinguish what can be previewed from what can only be verified after install.**: The consumer value of the pre-install experience comes from reducing bad installs and misjudgments, not from pretending to be a real run. Evidence: `README.md`, `package.json`, `CLAUDE.md`

## Questions the User Should Answer First

- Which host AI or local environment do you plan to use it in?
- Do you just want to experience the workflow first, or are you ready to actually install?
- What matters most to you: install cost, output quality, or conflicts with your existing rules?

## Acceptance Checks

- Every capability claim can be traced back to a file path in evidence_refs.
- AI_CONTEXT_PACK.md does not package previews as a real run.
- The user can understand who it fits, what it can do, how to start, and the risk boundaries within 3 minutes.

---

## Doramagic Context Augmentation

The following sections strengthen the repository context for a host AI. Human Manual data is a reading route, and pitfall notes become operating constraints.

## Human Manual Outline

Usage rule: this is only a reading route and salience signal, not factual authority. Concrete claims must still return to repo evidence or Claim Graph.

Host AI hard rules:
- Do not treat page titles, section order, summaries, or importance values as factual project evidence.
- When explaining the Human Manual outline, state that it is only a reading route or salience signal.
- Capability, installation, compatibility, runtime state, and risk claims must cite repo evidence, source paths, or Claim Graph.

- **Overview, Setup, and System Architecture**: importance `high`
  - source_paths: README.md, package.json, src/index.ts, src/proxy.ts, src/cli.ts
- **Smart Routing Engine, Profiles, and Model Catalog**: importance `high`
  - source_paths: src/router/index.ts, src/router/selector.ts, src/router/strategy.ts, src/router/rules.ts, src/router/types.ts
- **Wallet, Authentication, and x402 USDC Payment Flow**: importance `high`
  - source_paths: src/auth.ts, src/wallet.ts, src/balance.ts, src/solana-balance.ts, src/payment-preauth.ts
- **Extended Capabilities: Images, Video, Voice, Polymarket, Surf**: importance `medium`
  - source_paths: src/polymarket/tool.ts, src/polymarket/orders.ts, src/polymarket/positions.ts, src/polymarket/redeem.ts, src/polymarket/client.ts

## Repo Inspection Evidence

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `8268cb5809ace099a999b740b72cef76cfa75ee2`
- inspected_files: `README.md`, `package.json`, `docs/9-free-ai-models-zero-cost-blockrun.md`, `docs/anthropic-cost-savings.md`, `docs/anthropic-third-party-harness-changes.md`, `docs/architecture.md`, `docs/clawrouter-cuts-llm-api-costs-500x.md`, `docs/clawrouter-vs-openrouter-llm-routing-comparison.md`, `docs/configuration.md`, `docs/features.md`, `docs/image-generation.md`, `docs/llm-router-benchmark-46-models-sub-1ms-routing.md`, `docs/openclaw-cost-reliability-clawrouter-fixes.md`, `docs/plans/2026-02-03-smart-routing-design.md`, `docs/plans/2026-02-13-e2e-docker-deployment.md`, `docs/plans/2026-02-28-worker-network.md`, `docs/plans/2026-03-18-error-classification.md`, `docs/plans/2026-03-19-exclude-models.md`, `docs/routing-profiles.md`, `docs/smart-llm-router-14-dimension-classifier.md`

Host AI hard rules:
- Without repo_clone_verified=true, do not claim that the source code has been read.
- Without repo_inspection_verified=true, do not write README, docs, or package-file conclusions as facts.
- Without quick_start_verified=true, do not claim that the Quick Start path has run successfully.

## Doramagic Pitfall Constraints

These rules come from Doramagic discovery, validation, or compilation findings. The host AI must treat them as operating constraints, not background notes.

### Constraint 1: Capability evidence risk requires verification

- Trigger: README/documentation is current enough for a first validation pass.
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: capability.assumptions | https://github.com/BlockRunAI/ClawRouter
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 2: Security or permission risk requires verification

- Trigger: no_demo
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: downstream_validation.risk_items | https://github.com/BlockRunAI/ClawRouter
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 3: Security or permission risk requires verification

- Trigger: no_demo
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: risks.scoring_risks | https://github.com/BlockRunAI/ClawRouter
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 4: Maintenance risk requires verification

- Trigger: issue_or_pr_quality=unknown。
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: evidence.maintainer_signals | https://github.com/BlockRunAI/ClawRouter
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.

### Constraint 5: Maintenance risk requires verification

- Trigger: release_recency=unknown。
- Host AI rule: Reproduce the official install and quickstart path in an isolated environment.
- Why it matters: May increase setup, validation, or first-run risk for the user.
- Evidence: evidence.maintainer_signals | https://github.com/BlockRunAI/ClawRouter
- Hard boundary: Do not present this pitfall as solved, verified, or ignorable unless later evidence explicitly closes it.
