Document extension concurrency and ownership

This commit is contained in:
2026-11-26 03:09:32 +00:00
parent fed376351f
commit 753cd2081c
11 changed files with 54 additions and 2 deletions

View File

@@ -69,6 +69,8 @@ type ExecutionOptions struct {
// EvidenceWriter receives optional operation-scoped debug evidence. Modules get
// no filesystem root and cannot use capture as an execution or reporting service.
// An explicitly supplied writer shared by concurrent operations must support
// concurrent calls; per-operation capture wrappers do not serialize that writer.
type EvidenceWriter interface {
WriteJSON(string, any) error
WriteBytes(string, []byte) error