Documentation
¶
Index ¶
Constants ¶
View Source
const ( MarkerStart = "<!-- DARK-FACTORY-REPORT" MarkerEnd = "DARK-FACTORY-REPORT -->" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletionReport ¶
type CompletionReport struct {
Status string `json:"status"` // "success", "partial", "failed"
Summary string `json:"summary"` // one-line description of what was done
Blockers []string `json:"blockers"` // why it's not success (empty on success)
}
CompletionReport is the structured output the AI agent must produce at the end of every prompt execution.
func ParseFromLog ¶
func ParseFromLog(logFile string) (*CompletionReport, error)
ParseFromLog reads the last N bytes of a log file and extracts the CompletionReport. Returns nil if no report found (graceful — old prompts won't have one).
Click to show internal directories.
Click to hide internal directories.