evorule-primitives 0.1.0

EvoRule base primitive types: the deterministic JSON value model and the I/O handler contract (single definition site, zero evorule-* dependencies)
Documentation
<!--
  Copyright 2026 EvoRule Project

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.

  SPDX-License-Identifier: AGPL-3.0-or-later
-->

# EvoRule — 声明

**版权所有 (c) 2026 EvoRule Project**

本项目包含由 EvoRule Project 开发的软件。

## 协议选择指引

| 你是 | 走哪条路 | 链接 |
|---|---|---|
| 个人 / 自由职业者 / 开源项目 | **AGPL**(免费) | [LICENSE]LICENSE |
| 年营收 < ¥1 亿企业 / 政府 / 高校 / 非营利 | **FCL**(免费闭源豁免) | [FREE_COMMERCIAL_LICENSE.md]FREE_COMMERCIAL_LICENSE.md |
| 愿意开源修改版的任意实体 | **AGPL**(免费) | [LICENSE]LICENSE |
| 年营收 ≥ ¥1 亿且不愿开源 | **商业许可**(付费) | [COMMERCIAL_LICENSE.md]COMMERCIAL_LICENSE.md · <evorulelab@gmail.com> |

> 完整决策指引见 [DUAL_LICENSE.md]DUAL_LICENSE.md。

## 协议分离

| 资产 | 协议 | 说明 |
|---|---|---|
| **代码** | AGPL-3.0-or-later | 详见 [LICENSE]LICENSE |
| **`core_eval.json`** | **CC0 1.0 公共领域** | EvoRule 宪法(解释器规范)—— 任何人都可以自由实现兼容的 EvoRule 引擎,无需保留版权声明。官方文本:<https://creativecommons.org/publicdomain/zero/1.0/legalcode.txt> ;仓内副本:[LICENSES/core_eval-CC0-1.0.txt]LICENSES/core_eval-CC0-1.0.txt |

**协议分离的战略意义**:

- 代码(copyleft, AGPL-3.0):保护 EvoRule 当前实现,阻止大厂"白嫖 fork 后卖闭源 SaaS"
- 宪法(public domain, CC0-1.0):鼓励广泛采用,任何人都可以基于宪法实现兼容引擎
- 这把"标准"和"实现"分开,类似 HTTP 规范(W3C 公共)vs Apache HTTP Server(版权)
- 社区贡献物可经**通道 D(Contribution Grant, CONTRIBUTION_GRANT.md)**以 Apache-2.0 局部再授权进入开源社区/学术仓;主仓 AGPL 主线不变;签发记录见 docs/grants/

## 第三方组件声明

本项目依赖的第三方组件(crates.io / npm 等)以其自身许可授权,义务边界与逐项清单见 [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md),许可证正文逐字归档于 [LICENSES/third-party/](LICENSES/third-party/)。分发本项目的任何产物时,须随附该声明与对应许可证正文(随附规范见 [SOURCE.md](SOURCE.md))。

## 源码提供(AGPL §13)

以网络服务形式交付本软件者,须向其用户提供对应源码。源码定位与完整性校验入口:[SOURCE.md](SOURCE.md)。

## 设计原则

EvoRule 的核心设计原则:

- 规则即数据(可读、可审计、可序列化)
- 自解释引擎(解释器本身也是可被审计的规则)
- 完全可追溯(每次状态变化留下因果链)
- 零隐藏逻辑(解释器可读 + 可审计)
- 不可变状态(基于不可变数据结构)
- 确定性执行(相同输入 = 永远相同输出)

## 联系信息

- **项目**: EvoRule — 反应式执行引擎
- **作者**: EvoRule Project
- **邮箱**: <evorulelab@gmail.com>
- **组织**: [EvoRule]https://github.com/evorule
- **GitHub**: <https://github.com/evorule/evorule-hash>