memory

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL