Repository navigation
v0.3.0
memory-with-files v0.3.0
Breaking changes
- 0.1 support removed.
lifecycle/migrate.tsis gone. 0.1 projects getUNSUPPORTED_LEGACY_INSTALLand no files are written.migrate --from 0.1only returns that error. The managed allowlist no longer covers.pi/*or.agents/skills/*. - Receipt v3.
statusanddoctorupgrade v2 receipts in memory only.--applyoperations write v3 atomically before making any other change. A v2 receipt that still owns 0.1 resources returnsLEGACY_RESOURCE_PENDINGand nothing is changed. Detach it with 0.2.x first. - No downgrade. 0.2.x can't read a v3 receipt. To go back to 0.2.x, detach with 0.3.0 first. See UNINSTALL.
- The forwarding stubs
src/storage.ts,setup.ts,pi-adapter.ts,protocol.tsandintegrations/shared/identity.tsare removed. The package entry point is stillsrc/core.ts.
Refactor
- Code is now layered as contracts → storage → retrieval/context → core → integrations → lifecycle → cli/mcp.
- Adapters go through one
HarnessAdaptercontract (contracts/harness.ts) and theintegrations/registry.tsregistry. - The managed allowlist is closed (
contracts/managed-surface.ts), and only the storage layer checks writes against it. See architecture.
Release criteria
- The release criteria are now linux-cli-harness/1. The Codex CLI and Pi harnesses must both pass on the packaged commit on Linux.
publishableis computed from the harness evidence and is never set by hand.- Not verified: the Codex desktop GUI, macOS, a performance report, and real (billed) model hosts. This release does not claim full verification.
Fixes
- The Codex hook timeout went from 5 s to 15 s, and the runner limit from 4.7 s to 14.5 s. On slow hosts, the tokenizer takes about 2.8 s to start, so the hook could miss the old limit and skip memory injection. On a slow machine each message may now wait up to about 15 s. Follow-up work is tracked in #30.
doctornow reportsOWNERSHIP_CONFLICTwhen Pi is enabled and.pi/mcp.jsonhas a conflictingmcpServers.mwfentry (#20).
Artifacts
zht7063-mwf-0.3.0.tgz, mwf-codex-0.3.0.zip, SHA256SUMS, RELEASE-STATUS.json
memory-with-files v0.3.0(中文)
破坏性变更
- 不再支持 0.1。 删除了
lifecycle/migrate.ts。0.1 项目会返回UNSUPPORTED_LEGACY_INSTALL,不写入任何文件;migrate --from 0.1也只返回这个错误。受管白名单不再包含.pi/*和.agents/skills/*。 - receipt 升到 v3。
status和doctor只在内存里把 v2 升级成 v3。--apply操作会先原子写入 v3,再做其他改动。如果 v2 receipt 还占着 0.1 的资源,会返回LEGACY_RESOURCE_PENDING,并且不做任何改动;需要先用 0.2.x detach。 - 不能降级。 写成 v3 之后,0.2.x 就读不了了。要退回 0.2.x,得先用 0.3.0 detach,详见 UNINSTALL。
- 删除了转发桩
src/storage.ts、setup.ts、pi-adapter.ts、protocol.ts和integrations/shared/identity.ts。包入口仍是src/core.ts。
重构
- 代码分层为 contracts → storage → retrieval/context → core → integrations → lifecycle → cli/mcp。
- 适配器统一通过
HarnessAdapter契约(contracts/harness.ts)和注册表integrations/registry.ts访问。 - 受管白名单改为封闭式(
contracts/managed-surface.ts),只有存储层按它校验写入。详见架构文档。
发布标准
- 发布标准改为 linux-cli-harness/1:在 Linux 上,Codex CLI 和 Pi 两个 harness 对打包的同一 commit 都要通过。
publishable根据 harness 证据自动计算,从不手动设置。- 未验证: Codex 桌面 GUI、macOS、性能报告、真实(计费)模型宿主。本版本不声称已完全验证。
修复
- Codex hook 超时从 5 秒放宽到 15 秒,runner 上限从 4.7 秒放宽到 14.5 秒。慢主机上 tokenizer 启动约需 2.8 秒,hook 可能超过旧上限,导致记忆没有注入。现在在慢机器上每条消息最多可能要等约 15 秒。后续优化见 #30。
- 启用 Pi 且
.pi/mcp.json里有冲突的mcpServers.mwf条目时,doctor现在会报告OWNERSHIP_CONFLICT(#20)。
产物
zht7063-mwf-0.3.0.tgz、mwf-codex-0.3.0.zip、SHA256SUMS、RELEASE-STATUS.json