---
title: "特性表"
---

> Documentation Index
> Fetch the complete documentation index at: https://koine.systems/llms.txt
> Use this file to discover all available pages before exploring further.

# 特性表

本表是 Koine 语言特性的索引。**它不定义语义**；规范以 [语言规范](https://koine.systems/reference/spec/) 为准。

一个特性是“可被实现、可被测试的语言能力”，不是每个语法 token。比如 `transition` 是特性，`require` 是它的子能力；`stutter` 是语义规则，不单独编号。

## 编号规则

- `K-###` 单调分配，从 `K-001` 开始，三位数字。
- 编号永不复用；特性删除或合并后保留原编号，标 `deprecated` 或 `superseded`。
- 一个特性只有一个规范定义；其他文档用 `K-###` 引用，不重写定义。
- 改名不改编号；旧名字写在“特性”列的括号里。
- 新增特性：先加规范节，再分配下一个编号，最后补本表。

## 状态

| 状态 | 含义 |
| --- | --- |
| `draft` | 有文字描述，规则、诊断或例子不完整 |
| `specified` | 有规范定义，可以据此实现 |
| `formalized` | 有类型规则或求值规则 |
| `implemented` | 有实现 |
| `tested` | 有可复现的测试或证明 |
| `deprecated` | 已废弃；编号保留，不复用 |
| `superseded` | 被新特性替代；编号保留，链接新特性 |

“证据”列只写可点击的测试、证明或实现路径；没有可点击路径就写 `—`，不要在没有路径时写 ✅。

## 世界

| ID | 特性 | 规范 | 状态 | 决策 | 诊断 | 示例 | 证据 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `K-001` | entity（实体） | [world#实体值与别名](https://koine.systems/reference/spec/world/#实体值与别名) | tested | ADR-0001, ADR-0002 | `koine.resolve.unknown-entity`、`koine.state.duplicate-entity` | market | `conformance/fixtures/K-001` |
| `K-002` | value（值类型） | [world#实体值与别名](https://koine.systems/reference/spec/world/#实体值与别名) | tested | ADR-0002, ADR-0023 | `koine.resolve.unknown-sort` | market | `conformance/fixtures/K-002` |
| `K-003` | alias（完全别名：value/entity） | [world#实体值与别名](https://koine.systems/reference/spec/world/#实体值与别名) | tested | ADR-0002, ADR-0018 | `koine.resolve.*` | market | `conformance/fixtures/K-003` |
| `K-004` | relation（关系） | [world#关系与-key](https://koine.systems/reference/spec/world/#关系与-key) | tested | ADR-0001 | `koine.resolve.unknown-relation` | market | `conformance/fixtures/K-004` |
| `K-005` | key（键） | [world#关系与-key](https://koine.systems/reference/spec/world/#关系与-key) | tested | ADR-0001, ADR-0019 | `koine.type.*` | market | `conformance/fixtures/K-005` |
| `K-006` | state（具体世界） | [world#状态](https://koine.systems/reference/spec/world/#状态) | tested | ADR-0003 | `koine.state.*` | market | `conformance/fixtures/K-006` |
| `K-007` | time（世界时间） | [world#时间](https://koine.systems/reference/spec/world/#时间) | tested | ADR-0005, ADR-0023 | `koine.type.sort-mismatch` | market | `conformance/fixtures/K-007` |
| `K-008` | conversion（已弃用，物理单位见 quantity/unit） | [units#边界](https://koine.systems/reference/spec/units/#边界) | deprecated | ADR-0010, ADR-0021 | `koine.type.*` | — | — |
| `K-009` | operator（内置运算符） | [运算符](https://koine.systems/reference/spec/operators/) | tested | ADR-0023 | `koine.type.operator-*`、`koine.eval.*`、`koine.parse.chained-comparison` | market | `conformance/fixtures/K-009` |
| `K-027` | product value（产品值） | [world#产品值](https://koine.systems/reference/spec/world/#产品值) | tested | ADR-0020 | `koine.type.*` | market | `conformance/fixtures/K-027` |
| `K-028` | quantity（量纲值类型） | [units#quantity](https://koine.systems/reference/spec/units/#quantity) | tested | ADR-0021 | `koine.quantity.*` | units | `conformance/fixtures/K-028` |
| `K-029` | unit（单位声明与 unit expression） | [units#unit](https://koine.systems/reference/spec/units/#unit) | tested | ADR-0021, ADR-0022 | `koine.unit.*` | units | `conformance/fixtures/K-029` |
| `K-030` | dimension（量纲运算） | [units#dimension](https://koine.systems/reference/spec/units/#dimension) | tested | ADR-0021, ADR-0022, ADR-0023 | `koine.type.dimension-mismatch` | units | `conformance/fixtures/K-030` |
| `K-031` | unit literal（单位字面量与 canonical 化） | [units#unit-literal](https://koine.systems/reference/spec/units/#unit-literal) | tested | ADR-0022 | `koine.unit.*` | units | `conformance/fixtures/K-031` |

## 表面

| ID | 特性 | 规范 | 状态 | 决策 | 诊断 | 示例 | 证据 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `K-025` | doc-comment（文档注释） | [doc-comments](https://koine.systems/reference/spec/doc-comments/) | tested | D5 | `koine.doc.*` | market | `conformance/fixtures/K-025` |

## 变化

| ID | 特性 | 规范 | 状态 | 决策 | 诊断 | 示例 | 证据 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `K-010` | transition（变化，旧称 step） | [transitions#变化](https://koine.systems/reference/spec/transitions/#变化) | tested | ADR-0004 | `koine.run.*` | market | `conformance/fixtures/K-010` |
| `K-011` | require（守卫） | [transitions#require](https://koine.systems/reference/spec/transitions/#require) | tested | ADR-0026 | `koine.run.step-rejected`、`koine.type.expected-bool`、`koine.type.functional-read-partial`、`koine.eval.*` | market | `conformance/fixtures/K-011` |
| `K-012` | axiom（世界约束） | [transitions#axiom](https://koine.systems/reference/spec/transitions/#axiom) | tested | ADR-0006, ADR-0026 | `koine.axiom.violated`、`koine.eval.*` | market | `conformance/fixtures/K-012` |
| `K-013` | init（起点） | [transitions#init](https://koine.systems/reference/spec/transitions/#init) | tested | — | `koine.state.*` | market | `conformance/fixtures/K-013` |
| `K-014` | actor（动作参数） | [transitions#actor-与事件](https://koine.systems/reference/spec/transitions/#actor-与事件) | tested | ADR-0011 | `koine.run.binding-mismatch` | market | `conformance/fixtures/K-014` |

## 定义

| ID | 特性 | 规范 | 状态 | 决策 | 诊断 | 示例 | 证据 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `K-015` | define（命名表达式） | [definitions#定义](https://koine.systems/reference/spec/definitions/#定义) | tested | ADR-0024 | `koine.resolve.define-cycle`、`koine.type.define-*` | market | `conformance/fixtures/K-015` |
| `K-016` | aggregate（聚合） | [definitions#聚合](https://koine.systems/reference/spec/definitions/#聚合) | tested | ADR-0008, ADR-0025 | `koine.type.aggregate-*` | market | `conformance/fixtures/K-016` |
| `K-026` | derived relation（派生关系，可选 key） | [derived](https://koine.systems/reference/spec/derived/) | tested | ADR-0016, ADR-0019 | `koine.derive.*` | market | `conformance/fixtures/K-026` |

## 观察

| ID | 特性 | 规范 | 状态 | 决策 | 诊断 | 示例 | 证据 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `K-017` | view（视角） | [observations#视角](https://koine.systems/reference/spec/observations/#视角) | tested | ADR-0013 | `koine.resolve.unknown-relation` | market | `conformance/fixtures/K-017` |
| `K-018` | path（路径） | [observations#路径](https://koine.systems/reference/spec/observations/#路径) | tested | ADR-0013 | `koine.run.*` | market | `conformance/fixtures/K-018` |
| `K-019` | diff（差异） | [observations#差异](https://koine.systems/reference/spec/observations/#差异) | tested | ADR-0013 | `koine.run.*` | — | `conformance/fixtures/K-019` |
| `K-020` | find（查找世界/路径） | [observations#find-与-explore](https://koine.systems/reference/spec/observations/#find-与-explore) | tested | ADR-0013, ADR-0028 | `koine.run.*` | — | `conformance/fixtures/K-020` |
| `K-021` | explore（探索可达世界） | [observations#find-与-explore](https://koine.systems/reference/spec/observations/#find-与-explore) | tested | ADR-0013, ADR-0028 | `koine.run.*` | — | `conformance/fixtures/K-021` |

## 组织与驱动

| ID | 特性 | 规范 | 状态 | 决策 | 诊断 | 示例 | 证据 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `K-022` | module（模块） | [organization#模块](https://koine.systems/reference/spec/organization/#模块) | tested | 宪法 #4 | `koine.resolve.*` | market | `conformance/fixtures/K-022` |
| `K-023` | scenario（场景） | [driving#场景](https://koine.systems/reference/spec/driving/#场景) | tested | — | `koine.run.*` | market | `conformance/fixtures/K-023` |

## 诊断

| ID | 特性 | 规范 | 状态 | 决策 | 诊断 | 示例 | 证据 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `K-024` | diagnostic（诊断结构） | [diagnostics#结构](https://koine.systems/reference/spec/diagnostics/#结构) | tested | ADR-0007 | `koine.*` | — | `conformance/fixtures/K-024` |

## 相关

- [语言规范](https://koine.systems/reference/spec/)
- [错误码](https://koine.systems/reference/errors/)
- [设计决策](https://koine.systems/notes/decisions/)
- [未决问题](https://koine.systems/notes/open-questions/)

Source: https://koine.systems/reference/features/index.mdx
