# 设计原则 Design Principles

1. **每一层独立可验证** — L0/L1/L2/L3/L4 任一层 fraud / 升级不影响其他层
2. **写权限 permissionless，读权限公开** — 任何人都可注册 BehaviorSpec / Model / Policy；consumer 自己选信任谁
3. **经济安全 + 时间窗口** — L0 用 7 天 challenge + 0.5 ETH stake (PoC) 保证 aggregator 不能无成本作恶
4. **跨语言 byte-pin** — Rust / Sol / TS 三栈通过 12 个 keccak literal 锁定一致；任何一栈改 encoding 编译期 fail
5. **Mock 必有 swap 路径** — Halo2 / DCAP / SLM 三个 mock 都有明确的真实现 roadmap
6. **透明优于宣传** — PoC 不掩盖 G1-blocked-structural / 0 轮审计 / 三 mock，所有 status 公开

参考：[5-层架构](/overview/5-layer-architecture.md) §设计原则。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yellowpaper.axblade.io/overview/design-principles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
