Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render formats the pack according to the requested format ("markdown", "xml", "json").
func RenderJSON ¶
RenderJSON serializes the Pack into indented JSON.
func RenderMarkdown ¶
RenderMarkdown produces human-and-agent readable Markdown.
Types ¶
type Options ¶
type Options struct {
Project string
Format string // "markdown", "xml", "json" (default "markdown")
MaxDecisions int // default 5
MaxBugfixes int // default 5
MaxGodNodes int // default 5
IncludeRules bool // default true
IncludeRepoMap bool // default false
RepoMapBudget int // default 1024
}
Options specifies criteria for building an agent context pack.
type Pack ¶
type Pack struct {
Project string `json:"project"`
Rules []*domain.Observation `json:"rules,omitempty"`
Decisions []*domain.Observation `json:"decisions,omitempty"`
Bugfixes []*domain.Observation `json:"bugfixes,omitempty"`
GodNodes []code.GodNode `json:"god_nodes,omitempty"`
RepoMap string `json:"repo_map,omitempty"`
}
Pack represents the assembled intelligence packet for an AI agent.
Click to show internal directories.
Click to hide internal directories.