Fix replay policy wire commands and register the agent smoke tool

Send complete op/steps/value records to the Lean decoder for every operation. Preserve companion exit status and a bounded stderr tail on transport failure. Register the smoke fixture read tool explicitly without weakening the allowlist or changing its output assertion.

Validation: 462 library tests and 312 gold tests passed. The repository regression run passed 946 tests with two existing ignored experiments; the previously passed 1000-document scale test was not repeated.
This commit is contained in:
cflmy committed 2026-11-08 21:50:01 +08:00
1 parent 5080136d65
commit 16c44588d5
5 files changed
+216 -50

No files matched your search

+13
View File
@@ -25,6 +25,19 @@ import:
**模型 = > llm.llm**
**助手 = > agent.agent model=`模型` tools=`工具表` standing="you are a readable Marqdo agent"**
The allowlist names what the agent may call; ToolSpec registration declares the
actual capability. This deterministic read tool takes no arguments and keeps
this smoke test independent of a real clock or mutating effect ledger.
`spec` =
| id | version | description | effect |
|----|---------|-------------|--------|
| 获取时间 | "1" | deterministic smoke value | read |
> agent.tools_clear
> agent.tools_register spec=`spec`
**id = > json.get value=`助手` key="id"**
**ctx = > agent.build_step_context agent=`助手` task="probe"**