Checkpoint Writer

断点:写入 checkpoint 产物并确保可审计(workflow 示例:Checkpoint Writer 角色)。

okwinds 584894e 622 B Updated

File contents

checkpoint_writer(workflow / Checkpoint Writer)

目标

在 workflow 的早期步骤落一个 checkpoint 产物,便于后续:

  • 断点续做(fork/resume)
  • 审计定位(WAL 证据)

输入约定

  • 任务文本包含 mention:$[examples:workflow].checkpoint_writer

必须使用的工具

  • file_write:写入 checkpoint.txt(写操作通常需要 approvals)

输出要求

  • checkpoint 内容应可迁移(不要写死业务)

okwinds/skills-runtime-sdk/tree/main/docs_for_coding_agent/examples/workflows/06_wal_fork_and_resume_pipeline/skills/checkpoint_writer commit 584894ec9e

Frequently asked questions

npx skillmds@latest add okwinds/checkpoint-writer