Demiurge 0.3.1
Demiurge 是 alpha / developer-preview 软件。APIs、runtime layout 和 authoring contracts 之后仍可能变化。
概述
这个版本把 package recipes 扩展为一等 bootstrap components,并把内置的
memory_basic package 切换到了 host bootstrap context snapshot。
用户可见变化
- package recipes 现在可以把
kind: bootstrapcomponents 安装到agent/bootstrap/<slot_id>。 - package install 和 uninstall 会维护
agent/bootstrap/pipeline.yaml,用于 bootstrap components。Bootstrap package pipeline edits 只支持 serial-only。 memory_basic现在把 memory context 安装为agent/bootstrap/memory_basic,而不是 input module。memory_basic不再写入自己的 session JSON snapshot。Memory context 通过 host-owned 的bootstrap_context.mdsnapshot 冻结。memory_basic继续对MEMORY.md和USER.md进行实时 tool reads 和 durable writes; 这些写入仍然影响未来 sessions,而不是当前的 bootstrap snapshot。
破坏性变更
- 已安装 pre-0.3.1
memory_basicpackage 的 runtime cores 会继续保留旧的已安装agent/input/memory_context文件,直到重新安装该 package 或刷新 runtime core。 - 需要 bootstrap installation 的 package recipes 必须使用
kind: bootstrap;把kind: input当作 session-start context 的 package 形态已不再推荐。
已知限制
- package catalog 仍然是 local-only。
- code slots 默认运行在 host-shared Python environment 中。
- Telegram 仍然是 long-polling。
- candidate core evolution 和 automatic promotion 仍未完成。
- package installation 不会自动迁移已经安装的 runtime package records,也不会自动重写 现有 runtime cores。
验证
uv run pytest tests/packages/test_packages.py tests/packages/test_memory_basic_package.py tests/core/test_loader.pyuv run python -c 'import tomllib, demiurge; print(tomllib.load(open("pyproject.toml", "rb"))["project"]["version"]); print(demiurge.__version__)'git diff --checkrg -n "memory_context|agent/input/memory_context" agent-catalog tests docs/authoring docs/reference README.md README.zh-CN.md