Enforce runtime report contracts and recoverable session exports

This commit is contained in:
2026-10-20 16:02:38 +01:00
parent 1d9cb80cdb
commit fdf0369ede
36 changed files with 1636 additions and 177 deletions
+5
View File
@@ -153,6 +153,11 @@ type Message struct {
// them; the same fields are echoed on the run record.
Model string `json:"model,omitempty"`
StageModels map[string]string `json:"stage_models,omitempty"`
// OutputFormat is an optional per-run runtime report contract, never a
// pipeline definition or model-stage prompt change.
OutputFormat string `json:"output_format,omitempty"`
// ExportSequence identifies the exact recorded visit for repair_session_export.
ExportSequence int `json:"export_sequence,omitempty"`
// NotifyMode is auto (definition), on (terminal success/failure and attention) or off
// (silence this run). It is optional so older clients keep auto.
NotifyMode string `json:"notify_mode,omitempty"`