Versions in this module Expand all Collapse all v0 v0.8.0 Mar 24, 2026 Changes in this version + const TargetSkip + func Archive(contextDir string) (string, error) + func ArchiveCount(contextDir string) int + func Diff(contextDir, sourcePath string) (string, error) + func DiscoverMemoryPath(projectRoot string) (string, error) + func EntryHash(text string) string + func HasDrift(contextDir, sourcePath string) bool + func MergePublished(existing, published string) (string, bool) + func ProjectSlug(absPath string) string + func Promote(e Entry, classification Classification) error + func RemovePublished(content string) (string, bool) + func SaveState(contextDir string, s State) error + type Classification struct + Keywords []string + Target string + func Classify(entry Entry) Classification + type Entry struct + Kind EntryKind + StartLine int + Text string + func ParseEntries(content string) []Entry + type EntryKind int + const EntryHeader + const EntryList + const EntryParagraph + type PublishResult struct + Conventions []string + Decisions []string + Learnings []string + Tasks []string + TotalLines int + func Publish(contextDir, memoryPath string, budget int) (PublishResult, error) + func SelectContent(contextDir string, budget int) (PublishResult, error) + func (r *PublishResult) Format() string + type State struct + ImportedHashes []string + LastImport *time.Time + LastPublish *time.Time + LastSync *time.Time + func LoadState(contextDir string) (State, error) + func (s *State) Imported(hash string) bool + func (s *State) MarkImported(hash, target string) + func (s *State) MarkImportedDone() + func (s *State) MarkSynced() + type SyncResult struct + ArchivedTo string + MirrorLines int + MirrorPath string + SourceLines int + SourcePath string + func Sync(contextDir, sourcePath string) (SyncResult, error)