chore: checkpoint uncommitted work before session store fix
Pre-existing work-in-progress in the tree: karakeep, snippets, skills-health and redaction ingesters, the opencode.db session sweep, gossip and metrics changes. Checkpointed as-is so the adapter fix in the next commit stays reviewable on its own.
This commit is contained in:
@@ -20,6 +20,13 @@ type IngestResult struct {
|
||||
Confidence float64
|
||||
IngesterVersion string
|
||||
Provenance map[string]any
|
||||
// ContentHash is an optional stable hash of the result's *meaningful*
|
||||
// content. When set, the index treats an unchanged hash as "same knowledge"
|
||||
// even if the source grew (e.g. a log with the same error set).
|
||||
ContentHash string
|
||||
// Content is the full searchable body. Summary stays a short preview; this
|
||||
// is what full-text search matches against.
|
||||
Content string
|
||||
}
|
||||
|
||||
type Ingester interface {
|
||||
|
||||
Reference in New Issue
Block a user