load_gate

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: 0 Imported by: 0

Documentation

Overview

Package load_gate defines constants for the context load gate and auto-prune subsystem.

Index

Constants

View Source
const (
	// PrefixCtxLoaded is the filename prefix for session-loaded marker files.
	PrefixCtxLoaded = "ctx-loaded-"
	// EventContextLoadGate is the event name for context load gate hook events.
	EventContextLoadGate = "context-load-gate"
	// ContextLoadSeparatorChar is the character used for header/footer separators.
	ContextLoadSeparatorChar = "="
	// ContextLoadSeparatorWidth is the width of header/footer separator lines.
	ContextLoadSeparatorWidth = 80
	// ContextLoadIndexSuffix is the suffix appended to filenames for index entries.
	ContextLoadIndexSuffix = " (idx)"
)
View Source
const (
	// AutoPruneStaleDays is the number of days after which session state
	// files are eligible for auto-pruning during context load.
	AutoPruneStaleDays = 7
)
View Source
const (
	// JSONKeyTimestamp is the JSON key for timestamp extraction in event logs.
	JSONKeyTimestamp = `"timestamp":"`
)

Variables

This section is empty.

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