reminder

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArchitectStopGuard

func NewArchitectStopGuard(st *store.Store) agentcore.StopGuard

NewArchitectStopGuard 要求 architect 本轮至少落盘一次 save_foundation。

func NewEditorStopGuard

func NewEditorStopGuard(st *store.Store, task string) agentcore.StopGuard

NewEditorStopGuard 要求 editor 本轮落盘与"任务"匹配的产物后才能结束。

任务感知:被派去生成摘要时,仅 save_review(复核)不算完成——必须产出对应摘要。 否则"被派生成弧摘要却先复核"的 editor 会满足旧的宽松判据提前结束,弧摘要永不落盘 (配合 dispatcher 去重哑火曾导致卷中骨架弧死循环,详见 outline-exhaustion-livelock)。 StopAfterTool 退出会绕过 StopGuard(loop.go),故 build.go 同步把 save_review 移出硬停, 让复核后能继续走到摘要工具,再由本 guard 把关收尾。

func NewStopGuard

func NewStopGuard(st *store.Store, onBlock func(reason string, consecutive int32)) agentcore.StopGuard

NewStopGuard 构造 Coordinator 专用 StopGuard。 onBlock 可选,非 nil 时每次阻拦调一次,用于审计。

func NewWriterStopGuard

func NewWriterStopGuard(st *store.Store) agentcore.StopGuard

NewWriterStopGuard 要求 writer 本轮至少产生一次成功的 commit_chapter。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL