Documentation
¶
Overview ¶
Package patterns implements learning pipeline D: an offline cross-branch pattern index. The learn worker compares each configured repo's branch tips against persisted state (milliseconds of git, zero LLM); only branches whose tips moved are re-mined — commit clusters become work units, one cheap call per branch turns them into repo-scoped pattern cards whose bodies carry representative diff hunks (the payload that makes "apply this pattern" work at retrieval time). Deleted branches retire their cards unless the work was merged.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
Branches int // branches mined this run
Created []string
Skipped []string
Retired []string // cards of deleted, unmerged branches
Notes []string
Usage llmgen.Usage
}
Result reports one pattern-index run.
Click to show internal directories.
Click to hide internal directories.