AgentHarness 实施规范 pi 当前 main 分支的 AgentHarness 规范以 immutable… — Lakphy with FE&AI 见闻 — TG.ME

AgentHarness 实施规范
pi 当前 main 分支的 AgentHarness 规范以 immutable entries、mutable registers 和 append-only usage ledger 作为三类权威存储,并把完整 `op.state` register 作为可恢复的持久化程序计数器。文档完整定义 effect sandwich、lane 并发、对话树与 branch index、恢复/终止、hooks/events/telemetry、schema evolution、v3 兼容及确定性测试策略。

AgentHarness — implementation specification
The current implementation specification for pi's durable AgentHarness: immutable conversation entries, mutable typed registers holding total operation state, an append-only usage ledger, atomic effect-sandwich transactions, lane concurrency, crash recovery, schema evolution, and deterministic testing.
https://github.com/earendil-works/pi/blob/main/packages/agent/docs/harness.md
GitHub
pi/packages/agent/docs/harness.md at main · earendil-works/pi
AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI - earendil-works/pi
August 22, 2026 10