Documentation
¶
Overview ¶
Package memory defines constants for memory bridge files, publish budgets, and mirror paths.
Index ¶
Constants ¶
View Source
const ( // MemorySource is the Claude Code auto memory filename. MemorySource = "MEMORY.md" // MemoryMirror is the raw copy of Claude Code's MEMORY.md. MemoryMirror = "mirror.md" // MemoryState is the sync/import tracking state file. MemoryState = "memory-import.json" )
Memory bridge file constants for .context/memory/ directory.
View Source
const ( // DefaultPublishBudget is the default line budget for published content. DefaultPublishBudget = 80 // PublishMaxTasks is the maximum number of pending tasks to publish. PublishMaxTasks = 10 // PublishMaxDecisions is the maximum number of recent decisions to publish. PublishMaxDecisions = 5 // PublishMaxConventions is the maximum number of convention items to publish. PublishMaxConventions = 10 // PublishMaxLearnings is the maximum number of recent learnings to publish. PublishMaxLearnings = 5 // PublishRecentDays is the lookback window in days for recent entries. PublishRecentDays = 7 )
Publish budget and limits.
View Source
const (
PrefixMirror = "mirror-"
)
Variables ¶
View Source
var PathMemoryMirror = filepath.Join(dir.Context, dir.Memory, MemoryMirror)
PathMemoryMirror is the relative path from the project root to the memory mirror file. Constructed from directory and file constants.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.