Skip to content

Commit 8b2cc64

Browse files
committed
worker 执行面也记下执行代码的身份:代码身份的通用实现(快照、指纹、git、旧代码检查、盖章与只告警一次)从 omm_api 搬进 omm_agent_harness.code_identity,快照哪些包、提示词目录、告警里怎么称呼进程与怎么重启改成参数,harness 不导入 skills;omm_api/code_identity.py 收成 API 口径的适配层,engine_glue / main / /api/system 调用与告警原文不变;worker 新增同口径适配层与 StampingSink,STEP_STARTED 写进 JSONL 事件日志前复制一份盖上 executor,引擎内存事件不动、盖章出错只缺章,WorkerRuntime 构造时先拍快照、stamp_executor 缺省开,评测 build_runtime 关掉以保事件日志逐字节可复现;对接规范补 10-03 记录
1 parent d35b3a2 commit 8b2cc64

7 files changed

Lines changed: 649 additions & 472 deletions

File tree

‎agents/evals/src/omm_agent_evals/scenario.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def build_runtime(root: Path, require_confirmation: bool = True) -> WorkerRuntim
258258
worker_id="worker_eval",
259259
clock=FixedClock(),
260260
ids=SequentialIdGenerator(),
261+
stamp_executor=False,
261262
)
262263

263264

0 commit comments

Comments
 (0)