runtime

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 runtime defines default values for runtime configuration options overridable via .ctxrc.

Index

Constants

View Source
const (
	// DefaultTokenBudget is the default token budget for context assembly.
	DefaultTokenBudget = 8000
	// DefaultArchiveAfterDays is the default days before archiving completed tasks.
	DefaultArchiveAfterDays = 7
	// DefaultEntryCountLearnings is the entry count threshold for LEARNINGS.md.
	DefaultEntryCountLearnings = 30
	// DefaultEntryCountDecisions is the entry count threshold for DECISIONS.md.
	DefaultEntryCountDecisions = 20
	// DefaultConventionLineCount is the line count threshold for CONVENTIONS.md.
	DefaultConventionLineCount = 200
	// DefaultInjectionTokenWarn is the token threshold for oversize injection warning.
	DefaultInjectionTokenWarn = 15000
	// DefaultContextWindow is the default context window size in tokens.
	DefaultContextWindow = 200000
	// DefaultTaskNudgeInterval is the Edit/Write calls between task completion nudges.
	DefaultTaskNudgeInterval = 5
	// DefaultKeyRotationDays is the days before encryption key rotation nudge.
	DefaultKeyRotationDays = 90
	// DefaultStaleAgeDays is the days before a context file is flagged as stale by drift detection.
	DefaultStaleAgeDays = 30
)

Runtime configuration defaults (overridable via .ctxrc).

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