Documentation
¶
Overview ¶
Package core provides shared helpers used by all system subcommand packages. It owns state management, hook I/O, message templating, SMB helpers, and session token utilities; subcommands import core, never each other.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package archive creates compressed tar archives of context data with optional SMB backup.
|
Package archive creates compressed tar archives of context data with optional SMB backup. |
|
Package bootstrap checks plugin installation status and emits warnings during context bootstrap.
|
Package bootstrap checks plugin installation status and emits warnings during context bootstrap. |
|
Package ceremony assembles hook ceremony output from recent journal files and message templates.
|
Package ceremony assembles hook ceremony output from recent journal files and message templates. |
|
Package check provides shared preamble logic and throttling for hook input processing.
|
Package check provides shared preamble logic and throttling for hook input processing. |
|
Package counter reads and writes integer counters persisted in state files.
|
Package counter reads and writes integer counters persisted in state files. |
|
Package drift detects version drift across VERSION, plugin, and marketplace files and reports stale context entries.
|
Package drift detects version drift across VERSION, plugin, and marketplace files and reports stale context entries. |
|
Package event formats and renders event log timestamps and entries.
|
Package event formats and renders event log timestamps and entries. |
|
Package health monitors context health by detecting stale architecture maps and pruning expired state files.
|
Package health monitors context health by detecting stale architecture maps and pruning expired state files. |
|
Package heartbeat reads and writes mtime values for session heartbeat tracking.
|
Package heartbeat reads and writes mtime values for session heartbeat tracking. |
|
Package journal scans journal directories for the newest file modification time and manages journal state.
|
Package journal scans journal directories for the newest file modification time and manages journal state. |
|
Package knowledge scans knowledge files against configured thresholds and emits warnings when limits are exceeded.
|
Package knowledge scans knowledge files against configured thresholds and emits warnings when limits are exceeded. |
|
Package load extracts index content from context files and handles load-gate logic during session startup.
|
Package load extracts index content from context files and handles load-gate logic during session startup. |
|
Package log appends timestamped messages to hook log files with automatic rotation.
|
Package log appends timestamped messages to hook log files with automatic rotation. |
|
Package message loads and renders hook message templates with priority resolution between user overrides and defaults.
|
Package message loads and renders hook message templates with priority resolution between user overrides and defaults. |
|
Package nudge emits checkpoint, pause, and oversize nudge notifications during sessions.
|
Package nudge emits checkpoint, pause, and oversize nudge notifications during sessions. |
|
Package persistence tracks edit counter state for persistence nudge timing.
|
Package persistence tracks edit counter state for persistence nudge timing. |
|
Package session builds hook JSON responses and manages session token tracking.
|
Package session builds hook JSON responses and manages session token tracking. |
|
Package state provides the project-scoped runtime state directory and initialization checks.
|
Package state provides the project-scoped runtime state directory and initialization checks. |
|
Package stats provides session token usage statistics reading and formatting.
|
Package stats provides session token usage statistics reading and formatting. |
|
Package time returns the most recent modification time across context files.
|
Package time returns the most recent modification time across context files. |
|
Package version parses semantic versions and checks for update availability.
|
Package version parses semantic versions and checks for update availability. |
Click to show internal directories.
Click to hide internal directories.