Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 50 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@

All notable changes to the DLRS project will be documented in this file.

## v0.8 (Draft)
## v0.8-asset-architecture (2026-04-26)

**Status**: In progress. v0.8 closes the four asset-architecture gaps left
**Status**: Released. v0.8 closes the four asset-architecture gaps left
by v0.7-vision-shift: provenance (Genesis), evolution (Lifecycle),
consumption (Binding), and orchestration (Assembly), plus a
multi-dimensional tier system that replaces v0.7's single-axis
`verification_level`.

Tracked in epic
[#106](https://github.com/Digital-Life-Repository-Standard/DLRS/issues/106).
Sub-issues #100–#105.
[#106](https://github.com/Digital-Life-Repository-Standard/DLRS/issues/106)
(closed). Sub-issues #100–#105 all merged; four post-merge review
follow-ups (#109, #112, #114, #116) merged alongside. Final integration
step (this release) folds the tier block into `life-package.schema.json`
and teaches `tools/build_life_package.py` to auto-compute it from
package contents, completing the v0.8 spec → builder loop.

### Added

Expand All @@ -38,7 +42,7 @@
`compute.hosted_api_used: true` requires at least one entry in
`compute.hosted_api_providers[]`. [#101]
- `tools/test_genesis_schema.py` — 36 sanity-test cases (4 happy-path
+ 32 negative) wired into `tools/batch_validate.py`. [#101]

Check failure on line 45 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

Unordered list style

CHANGELOG.md:45:1 MD004/ul-style Unordered list style [Expected: dash; Actual: plus] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md004.md
- `docs/LIFE_LIFECYCLE_SPEC.md` — per-topic normative spec for Topic 2
(Asset Lifecycle). Defines four document shapes
(`package_lifecycle`, `asset_lifecycle`, `mutation_event`,
Expand Down Expand Up @@ -80,7 +84,7 @@
non-`x-` keys reject statically (decision D4=C fail-close at schema
layer). [#103]
- `tools/test_binding_schema.py` — 63 sanity-test cases (11 happy-path
+ 52 negative) wired into `tools/batch_validate.py`. The 63 includes

Check failure on line 87 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

Unordered list style

CHANGELOG.md:87:1 MD004/ul-style Unordered list style [Expected: dash; Actual: plus] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md004.md
three negatives for `providers_whitelist_ref` path-traversal (added
in #111 review fix-up) and eight more cases (6 negative + 2 happy)
for path-traversal rejection on `surface.ui_hints.avatar_image_ref`
Expand All @@ -107,7 +111,7 @@
`LIFE_TIER_SPEC.md` so future naming schemes can ship without a
spec major bump. [#104]
- `tools/test_tier_schema.py` — 81 sanity-test cases (26 happy-path
+ 55 negative) covering both ends of every score → level range,

Check failure on line 114 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

Unordered list style

CHANGELOG.md:114:1 MD004/ul-style Unordered list style [Expected: dash; Actual: plus] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md004.md
every score → level mismatch boundary, every required-field
removal, every dimension off-enum, and the auto-computation guard
on `computed_by`. Wired into `tools/batch_validate.py`. [#104]
Expand All @@ -123,9 +127,50 @@
first-class), D4=C (three-field surface — already in binding
spec), D5=C (OS package manager bootstrap), and the new D6
(fail-close stage gating). Adds four new audit event types:
`capability_bound`, `assembly_aborted`, `withdrawal_check`, and
`capability_bound`, `assembly_aborted`, `withdrawal_poll` (reuse of
the v0.7 event with a v0.8 field requirement), and
`lifecycle_transition_observed`. Part A (the v0.7 eight-step
load sequence) is unchanged. [#105]
- `schemas/life-package.schema.json` — v0.8 integration: adds optional
top-level `tier` property referencing inlined `$defs.tier_block` +
`$defs.tier_dimensions` (copied verbatim from
`schemas/tier.schema.json` so offline validators do not need to
resolve cross-file `$ref`). Marks `verification_level` as deprecated
in description text (remains REQUIRED for v0.1 back-compat). 10 new
sanity cases in `tools/test_life_package_schema.py` (64 total, up
from 54): tier omitted (back-compat), tier present (consistent
score/level), lowest / highest boundary, score↔level mismatch
rejection, hand-rolled `computed_by` rejection, score out of range,
off-enum dimension, missing required dimension, unknown tier field.
- `tools/build_life_package.py` v0.2 — auto-computes the `tier` block
from the staged package: maps v0.7 `verification_level` to v0.8
`identity_verification` per `docs/LIFE_TIER_SPEC.md` §6, infers
`asset_completeness` from capability-bearing top-level directories,
defaults the remaining four dimensions conservatively, applies
weighted-average scoring (identity & consent ×2, others ×1), and
bands the result into the 12 Schema D tiers. Adds six
`--tier-<dim>` CLI overrides and a `--no-tier` escape hatch for
emitting v0.7-shaped descriptors. `computed_by` is stamped with the
mandatory `@<version>` separator so hand-rolled tier blocks fail
schema validation.
- `docs/LIFE_FILE_STANDARD.md` — adds the `tier` row to the
top-level descriptor table and marks `verification_level` as
deprecated in v0.8, pointing at `docs/LIFE_TIER_SPEC.md` §6 for the
migration mapping.

### Changed

- `docs/IMPLEMENTATION_STATUS.md` — bumped to doc version 6.0 with a
new v0.8 increment summary; overall maturity adjusted from ~80% to
~82% (Asset Architecture + Tier + Assembly spec deltas).
- `docs/GAP_ANALYSIS.md` — baseline moved to post-#106; `.life`
Archive Standard maturity 70% → 82%, `.life` Runtime Standard
30% → 45%; overall 80% → 82%.
- `ROADMAP.md` — marks `life-format v0.1.0` and `life-runtime v0.1`
as Delivered; adds `life-format v0.1.1` (Asset Architecture) and
`life-runtime v0.1.1` (Assembly) rows as Delivered under
v0.8-asset-architecture; reference runtime deferral moved from
v0.8+ to v0.9+.

[#101]: https://github.com/Digital-Life-Repository-Standard/DLRS/issues/101
[#102]: https://github.com/Digital-Life-Repository-Standard/DLRS/issues/102
Expand All @@ -133,7 +178,7 @@
[#104]: https://github.com/Digital-Life-Repository-Standard/DLRS/issues/104
[#105]: https://github.com/Digital-Life-Repository-Standard/DLRS/issues/105


Check failure on line 181 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

Multiple consecutive blank lines

CHANGELOG.md:181 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
## v0.7-vision-shift (2026-04-26)

**Status**: Released. Repositions DLRS's ULTIMATE from "Digital Life
Expand All @@ -141,7 +186,7 @@
to "**`.life` 可运行数字生命档案文件标准**" — a dual standard:

1. **`.life` archive file format** — the distribution unit, a packaged
+ signed subset of a DLRS v0.6 record.

Check failure on line 189 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

Unordered list style

CHANGELOG.md:189:1 MD004/ul-style Unordered list style [Expected: dash; Actual: plus] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md004.md
2. **`.life` runtime protocol** — how compatible runtimes load + execute
a `.life` to produce an *AI digital life instance*.

Expand All @@ -154,7 +199,7 @@
under milestone
[`.life Archive + Runtime Standard (v0.7-vision-shift)`](https://github.com/Digital-Life-Repository-Standard/DLRS/milestone/5).
All 8 sub-issues #80–#87 closed; PRs #88, #89, #91, #92, #93, #94,
#95, #97, #98 merged.

Check failure on line 202 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

No space after hash on atx style heading

CHANGELOG.md:202:1 MD018/no-missing-space-atx No space after hash on atx style heading [Context: "#95, #97, #98 merged."] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md018.md

This epic ships **specs + schema + example builder**. It does **not**
ship a working runtime — that is deferred to v0.8+.
Expand Down Expand Up @@ -468,7 +513,7 @@

### Closes

#28 (epic), #29, #30, #31, #32, #33, #34, #35, #36, #37, #38.

Check failure on line 516 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

No space after hash on atx style heading

CHANGELOG.md:516:1 MD018/no-missing-space-atx No space after hash on atx style heading [Context: "#28 (epic), #29, #30, #31, #32..."] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md018.md

---

Expand Down Expand Up @@ -522,7 +567,7 @@

### Closes

#17, #18, #19, #20, #21, #22, #23, #24, #25, #26.

Check failure on line 570 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

No space after hash on atx style heading

CHANGELOG.md:570:1 MD018/no-missing-space-atx No space after hash on atx style heading [Context: "#17, #18, #19, #20, #21, #22, ..."] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md018.md

---

Expand All @@ -530,8 +575,8 @@

**Status**: RFC (Request for Comments) stage — minimum viable repository goals.

### Added

Check failure on line 578 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

Headings should be surrounded by blank lines

CHANGELOG.md:578 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "### Added"] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md022.md
- `docs/COLLECTION_STANDARD.md` — minimum media collection standard (audio,

Check failure on line 579 in CHANGELOG.md

View workflow job for this annotation

GitHub Actions / Lint docs (markdownlint + linkcheck)

Lists should be surrounded by blank lines

CHANGELOG.md:579 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "- `docs/COLLECTION_STANDARD.md..."] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md032.md
video, image, text, 3D) with hard rules and validation checklist.
- `docs/HIGH_FIDELITY_GUIDE.md` — aspirational high-fidelity collection
guide and quality rubric.
Expand Down
8 changes: 5 additions & 3 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ DLRS Hub 致力于建立一个**全球化、标准化、可审计的数字生命

| `.life` 格式版本 | 状态 | 主题 | 主要交付物 |
|---|---|---|---|
| **life-format v0.1.0** | 进行中(v0.7-vision-shift) | 双形态档案(pointer / encrypted)+ 不透明 `signature_ref` | `LIFE_FILE_STANDARD.md`、`life-package.schema.json`、`examples/minimal-life-package/` + `build_life.sh` |
| life-format v0.1.0 | 已交付(v0.7-vision-shift) | 双形态档案(pointer / encrypted)+ 不透明 `signature_ref` | `LIFE_FILE_STANDARD.md`、`life-package.schema.json`、`examples/minimal-life-package/` + `build_life.sh` |
| **life-format v0.1.1**(Asset Architecture) | 已交付(v0.8-asset-architecture) | Genesis / Lifecycle / Binding / Tier 四层资产架构 + Schema D Cosmic Evolution 12 档命名 + `tier` 块集成入 `life-package.json` | `LIFE_ASSET_ARCHITECTURE.md`、`LIFE_GENESIS_SPEC.md`、`LIFE_LIFECYCLE_SPEC.md`、`LIFE_BINDING_SPEC.md`、`LIFE_TIER_SPEC.md` + 对应 schemas + `tools/build_life_package.py` v0.2(auto-tier) |
| life-format v0.2.0 | 计划 | 加密签名规范(C2PA / 等价方案):把不透明 `signature_ref` 替换为可验证签名;引入完整性签名而非仅 sha256 清单 | 签名规范文档、签名/校验 CLI、reference 验证脚本 |
| life-format v0.3.0 | 计划 | 联邦撤回登记表 + 跨 runtime 同步:`withdrawal_endpoint` 之外,引入可解析的"被撤回包标识符"集合,使 runtime 在断网时也能就近查询 | 撤回登记 schema、参考客户端、跨实现互通测试 |

Expand All @@ -67,12 +68,13 @@ DLRS Hub 致力于建立一个**全球化、标准化、可审计的数字生命

| 运行时协议版本 | 状态 | 主题 | 主要交付物 |
|---|---|---|---|
| **life-runtime v0.1** | 进行中(v0.7-vision-shift) | 加载序列、挂载语义、运行时义务(disclosure / forbidden_uses / 撤回轮询 / 身份冒充防护)、终止条件 | `LIFE_RUNTIME_STANDARD.md`(spec only) |
| life-runtime v0.1 | 已交付(v0.7-vision-shift) | 加载序列、挂载语义、运行时义务(disclosure / forbidden_uses / 撤回轮询 / 身份冒充防护)、终止条件 | `LIFE_RUNTIME_STANDARD.md`(spec only) |
| **life-runtime v0.1.1**(Assembly) | 已交付(v0.8-asset-architecture) | Part B:5 阶段 assembly(Verify / Resolve / Assemble / Run / Guard)+ Provider Registry + `LifeCapabilityProvider` 接口 + 分级沙箱 + hosted-API AND-gate + OS 包管理器 bootstrap + 4 条新审计事件(capability_bound / assembly_aborted / withdrawal_poll / lifecycle_transition_observed) | `LIFE_RUNTIME_STANDARD.md` Part B(spec only) |
| life-runtime v0.2 | 计划 | 跨实现互操作测试套件 + 加密签名验证(与 life-format v0.2 配套) | conformance suite、`tools/test_life_runtime.py`、签名验证测试 |
| life-runtime v0.3 | 计划 | 多 `.life` ensemble 协议(一个 runtime 同时挂载多个 `.life`,各自独立实例 + 跨实例隔离 invariants) | ensemble 协议文档、隔离不变量测试 |

**v0.1 范围内非目标**(明确推迟):
- 参考实现(runtime 实现本身推迟到 DLRS v0.8+,或下游项目独立实现)
- 参考实现(runtime 实现本身推迟到 DLRS v0.9+,或下游项目独立实现)
- 具体 transport(WebSocket / gRPC / REST 任选;spec 只规定语义)
- LLM / TTS / avatar 选型(不在 spec 控制内)

Expand Down
22 changes: 11 additions & 11 deletions docs/GAP_ANALYSIS.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# DLRS 实现与终极标准的差距分析

> 版本:v0.7-vision-shift release(2026-04 刷新,epic #79 收尾)
> 上一版基线:v0.6 release(epic #52),整体完成度 88%
> 本次基线:post-v0.7-vision-shift epic #79(PRs #88、#89、#91、#92、#93、#94、#95、#97、#98),整体完成度 **~80%**(ULTIMATE 重新定位带来的 scope 扩展 → 分母后移
> 版本:v0.8-asset-architecture release(2026-04 刷新,epic #106 收尾)
> 上一版基线:v0.7-vision-shift release(epic #79),整体完成度 80%
> 本次基线:post-v0.8-asset-architecture epic #106(PRs #107、#108、#109、#110、#111、#112、#113、#114、#115、#116 + 本次 tier 集成 PR),整体完成度 **~82%**(Asset Architecture 四补丁 + Tier 系统 + 5-stage assembly 补齐 spec 层,runtime 实现仍是分母最大缺口

## 📊 执行摘要

epic #79 把 `DLRS_ULTIMATE.md` 的目标态从"Git-shaped 仓库结构标准"升级为"`.life` 文件格式 + runtime 协议双标准"。本 epic 只交付 specs + schema + example builder,**不**实现 runtime(推迟到 v0.8+)。本文档在保留 v0.6 原本 1–12 节的同时,在 §0 新增两条 ULTIMATE 重定位后的主线维度(`.life` Archive Standard / `.life` Runtime Standard),并在 §13 阐释维度差距
epic #106 在 v0.7 `.life` 双标准的基础上补齐 **Asset Architecture 四补丁**(Genesis / Lifecycle / Binding / Assembly)+ **Tier 系统**(6 维加权派生 + Schema D Cosmic Evolution 12 档 Quark→Singularity)+ **5 阶段 assembly 流水线**(Verify / Resolve / Assemble / Run / Guard),把"`.life` 是一个完整的、带自授权、机器可编排的包"从概念落成规范。v0.8 仍然只交付 specs + schema + builder,**不**实现 runtime(推迟到 v0.9+)。本文档在保留 v0.6–v0.7 原有节的基础上,在 §0 扩展两条 `.life` 双标准维度为"含 Asset Architecture + Tier"的现状

| 维度 | v0.2.0 基线 | v0.3 | v0.4 | v0.5 | v0.6 | v0.7-vision-shift(本次) | ULTIMATE 目标 |
| 维度 | v0.2.0 基线 | v0.3 | v0.4 | v0.5 | v0.6 | v0.8-asset-architecture(本次) | ULTIMATE 目标 |
|---|---|---|---|---|---|---|---|
| **`.life` Archive Standard**(文件格式) | n/a | n/a | n/a | n/a | n/a | **70%**(specs + schema + pointer-mode builder + 54/54 测试用例) | 100%(life-format v0.3.0:encrypted-mode + signing + transfer) |
| **`.life` Runtime Standard**(runtime 协议) | n/a | n/a | n/a | n/a | n/a | **30%**(specs only:加载序列 / mount 语义 / runtime 义务 / 终止触发器 / 伦理全部定义;零 runtime 实现) | 100%(life-runtime v0.3:hot-reload 与联邦审计) |
| **`.life` Archive Standard**(文件格式) | n/a | n/a | n/a | n/a | n/a | **82%**(v0.7 specs + schema + pointer-mode builder + v0.8 Genesis / Lifecycle / Binding / Tier 四组 spec + schema + sanity tests;builder 自动计算 tier) | 100%(life-format v0.3.0:encrypted-mode + signing + transfer) |
| **`.life` Runtime Standard**(runtime 协议) | n/a | n/a | n/a | n/a | n/a | **45%**(v0.7 8 步加载序列 / mount / 义务 / 伦理 + v0.8 Part B 5 阶段 assembly / Provider Registry / LifeCapabilityProvider 接口 / 分级沙箱 / hosted-API AND-gate / OS 包管理器 bootstrap / 4 条新审计事件;仍零 runtime 实现) | 100%(life-runtime v0.3:hot-reload 与联邦审计) |
| 仓库与目录 | 90% | 95% | 95% | 95% | 95% | **95%** | 100%(pointer-first 完成) |
| 数据采集规范 | 40% | 80% | 85% | 85% | 85% | **85%** | 100% |
| 数据分层与存储 | 50% | 65% | 70% | 75% | 80% | **80%** | 100% |
Expand All @@ -25,11 +25,11 @@ epic #79 把 `DLRS_ULTIMATE.md` 的目标态从"Git-shaped 仓库结构标准"
| 跨境 / 法域引擎 | 30% | 50% | 55% | 55% | 55% | **55%** | 100% |
| 工具与自动化 | 40% | 75% | 88% | 94% | 96% | **97%**(+ `tools/build_life_package.py` + `tools/test_minimal_life_package.py` + `tools/test_life_package_schema.py` 54 用例) | 100% |

**总体成熟度**:⭐⭐⭐⭐ **80%**(v0.6 88% 基础上因 ULTIMATE 重定位为"`.life` 双标准"带来的分母扩展而回调;已交付维度本身未退步,`.life` 两条新主线以 specs/schema/example 为形式均走完
**总体成熟度**:⭐⭐⭐⭐ **82%**(v0.7 80% 基础上 +Asset Architecture 四补丁 + Tier 系统 + 5-stage assembly 拉升约 2 分;已交付维度本身持续推进

- ✅ **已完成**:v0.2–v0.6 的所有内容,加上 v0.7-vision-shift epic #79 交付的:`docs/LIFE_FILE_STANDARD.md` + `docs/LIFE_RUNTIME_STANDARD.md` + `schemas/life-package.schema.json`(54/54 sanity 用例)+ `examples/minimal-life-package/` + `tools/build_life_package.py`(life-format v0.1.0 参考 builder)+ `audit-event.schema.json::event_type.enum` 追加 `package_emitted` + README 第一屏重新定位 + ROADMAP 双轨(`.life Archive Standard` + `.life Runtime Standard` 独立 semver)。
- 🟡 **部分完成**:`.life` runtime 协议只有 specs,零 runtime 实现(v0.8+);`.life` archive encrypted-mode 与 signing 未实现(life-format v0.2 + v0.3);hosted-API 策略门只落框架,实际 hosted SDK 接入留 v0.7+;Web 审核台原型下沉到 v0.7+。
- ❌ **未实现**:`.life` 实际 runtime 实例化(v0.8+)、运行层(REST/WS/3D)、RBAC/ReBAC/ABAC、C2PA 实际签发、联邦化注册表同步。
- ✅ **已完成**:v0.2–v0.7 的所有内容,加上 v0.8-asset-architecture epic #106 交付的:`docs/LIFE_ASSET_ARCHITECTURE.md`(4 补丁总览)+ `docs/LIFE_GENESIS_SPEC.md` / `docs/LIFE_LIFECYCLE_SPEC.md` / `docs/LIFE_BINDING_SPEC.md` / `docs/LIFE_TIER_SPEC.md` + 对应 schemas/ + sanity tests + `docs/LIFE_RUNTIME_STANDARD.md` Part B(5 阶段 assembly)+ `docs/appendix/TIER_NAMING_SCHEMA_D.md`(Quark→Singularity 12 档)+ `life-package.schema.json` 集成 tier 块 + `tools/build_life_package.py` v0.2(自动计算 tier 6 维)。
- 🟡 **部分完成**:`.life` runtime 协议只有 specs(含 v0.8 Part B 5 阶段),零 runtime 实现(v0.9+);`.life` archive encrypted-mode 与 signing 未实现(life-format v0.2 + v0.3);hosted-API 策略门只落框架 + AND-gate 规则,实际 hosted SDK 接入留 v0.9+;Web 审核台原型下沉到 v0.9+。
- ❌ **未实现**:`.life` 实际 runtime 实例化(v0.9+)、运行层(REST/WS/3D)、RBAC/ReBAC/ABAC、C2PA 实际签发、联邦化注册表同步。

---

Expand Down
22 changes: 16 additions & 6 deletions docs/IMPLEMENTATION_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@

## 📊 快速概览

**当前版本**: v0.7-vision-shift(epic [#79](https://github.com/Digital-Life-Repository-Standard/DLRS/issues/79) 收尾)
**总体完成度**: ~80%(v0.6 88% 基础上因 ULTIMATE 重新定位带来的 scope 扩展而回调;详见下方 "重新定位的影响"
**当前版本**: v0.8-asset-architecture(epic [#106](https://github.com/Digital-Life-Repository-Standard/DLRS/issues/106) 收尾)
**总体完成度**: ~82%(v0.7 的 ~80% 基础上 +Asset Architecture 四补丁 + Tier 系统 + 5-stage assembly;v0.9 runtime 参考实现仍是最大缺口
**参考标准**: DLRS_ULTIMATE.md(已升级为"`.life` 文件格式 + runtime 协议双标准")
**最近发布**: v0.7-vision-shift epic #79(PRs #88、#89、#91、#92、#93、#94、#95、#97、#98 — 8 个子 issue 全部交付)
**仍在跑**: 无(epic #79 全部 8 个子 issue 已关闭;下一程跨入 v0.8 Encryption + Signing for `.life` Archive,详见 ROADMAP.md)。
**最近发布**: v0.8-asset-architecture epic #106(PRs #107、#108、#109、#110、#111、#112、#113、#114、#115、#116 — 6 个 sub-issue 全部交付 + 4 个 post-merge follow-up)
**仍在跑**: 无(epic #106 全部 6 个 sub-issue 已合;下一程跨入 v0.9 Reference Runtime Implementation,详见 ROADMAP.md)。

### v0.8 主要增量(epic #106)

- **`docs/LIFE_ASSET_ARCHITECTURE.md`** — 4 补丁(Genesis / Lifecycle / Binding / Assembly)+ Tier 系统的架构总览文档;锁定 D1–D6 决策、Schema D Cosmic Evolution 命名表(Quark → Singularity)、拒绝的备选方案附录、与 v0.7 spec 的衔接说明。
- **`docs/LIFE_GENESIS_SPEC.md` + `schemas/genesis.schema.json`** — 每个派生资产的 `genesis/<asset_id>.genesis.json` 字段规范(method / source_inputs / compute / consent_scope_checked / audit_event_ref),base_model 作为虚资产、reproducibility_level 三档、consent_scope enum。
- **`docs/LIFE_LIFECYCLE_SPEC.md` + `schemas/lifecycle.schema.json`** — 包级 supersedes / lifecycle_state / memorial_metadata,资产级 lifecycle + mutation log JSONL,cascade_index.json,semver+hash 双标识,分叉允许 / 合并禁止,mark tainted 撤回级联,7 天 memorial 异议期。
- **`docs/LIFE_BINDING_SPEC.md` + `schemas/binding.schema.json`** — `binding/runtime_binding.json` 字段(capabilities / orchestration / hard_constraints / surface / hosted_api_preference),capability 词表 hybrid(核心 enum + `x-` 扩展前缀),engine.strict、hard_constraints fail-close。
- **`docs/LIFE_TIER_SPEC.md` + `schemas/tier.schema.json` + `docs/appendix/TIER_NAMING_SCHEMA_D.md`** — 6 维度(identity / asset_completeness / consent / detail / audit_chain / jurisdiction)加权派生 score 0–100 → 12 档(I–XII),机器字段冻结 + name/glyph 进可演化附录;取代 v0.7 `verification_level`(向后兼容保留)。
- **`docs/LIFE_RUNTIME_STANDARD.md` Part B** — 5 阶段 assembly(Verify / Resolve / Assemble / Run / Guard)+ Provider Registry + `LifeCapabilityProvider` 接口 + 分级沙箱(built-in / user-installed OS 进程级;`.life`-bundled v0.8 禁止)+ hosted-API AND-gate(binding 允许 AND user opt-in)+ OS 包管理器 bootstrap + 4 条新审计事件(capability_bound / assembly_aborted / withdrawal_poll / lifecycle_transition_observed)。
- **`schemas/life-package.schema.json` + `tools/build_life_package.py` v0.2** — tier 块集成到 top-level descriptor(optional,v0.7 back-compat),builder 自动从 contents + CLI 覆盖派生 6 维 → 计分 → 带 name/glyph 写回 descriptor;hand-rolled tier 被 `computed_by` 模式(必须 `@` 分隔)直接 schema 层拒绝。

### ULTIMATE 重新定位的影响(v0.7-vision-shift)

Expand Down Expand Up @@ -160,6 +170,6 @@ epic #79 把 DLRS 的目标态从"Git-shaped 仓库结构标准"升级为:

---

**文档版本**: 5.0(v0.7-vision-shift release,epic #79 收尾)
**文档版本**: 6.0(v0.8-asset-architecture release,epic #106 收尾)
**最后更新**: 2026-04-26
**参考**: DLRS_ULTIMATE.md(已升级为 `.life` 双标准),docs/GAP_ANALYSIS.md, docs/LIFE_FILE_STANDARD.md, docs/LIFE_RUNTIME_STANDARD.md, ROADMAP.md
**参考**: DLRS_ULTIMATE.md(已升级为 `.life` 双标准),docs/GAP_ANALYSIS.md, docs/LIFE_FILE_STANDARD.md, docs/LIFE_RUNTIME_STANDARD.md, docs/LIFE_ASSET_ARCHITECTURE.md, docs/LIFE_TIER_SPEC.md, ROADMAP.md
3 changes: 2 additions & 1 deletion docs/LIFE_FILE_STANDARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ asset, used as a stable identifier.
| `expires_at` | yes | string (RFC 3339) | Runtimes MUST refuse to mount after this. |
| `issued_by` | yes | object | `{role, identifier, signature_ref}` — see below. |
| `consent_evidence_ref` | yes | string | Path inside `.life` (e.g., `consent/consent.md`) or external URI. |
| `verification_level` | yes | enum | `"self_attested"`, `"third_party_verified"`, `"memorial_authorized"`. |
| `verification_level` | yes (DEPRECATED v0.8) | enum | `"self_attested"`, `"third_party_verified"`, `"memorial_authorized"`. Retained required for v0.1 back-compat; new packages SHOULD carry a `tier` block and new consumers SHOULD read `tier.dimensions.identity_verification` instead. Mapping table in `docs/LIFE_TIER_SPEC.md` §6. |
| `tier` | no (v0.8+) | object | v0.8 multi-dimensional credit rating. Auto-computed at build time; see `docs/LIFE_TIER_SPEC.md` for the full normative definition. Absent in v0.7 packages; present in v0.8+ packages built with `tools/build_life_package.py` ≥ 0.2.0. |
| `withdrawal_endpoint` | yes | string (URI) | Runtimes MUST poll this at session start + at least every 24h. |
| `runtime_compatibility` | yes | array of strings | Required runtime interfaces (e.g., `["dlrs-runtime-v0", "openai-chat-tool", "vrm-1.0"]`). |
| `ai_disclosure` | yes | enum | Mirrors v0.4 `ai_disclosure`. Minimum is `visible_label_required`. |
Expand Down
Loading
Loading