Documentation
¶
Overview ¶
Package check_journal implements the ctx system check-journal subcommand.
It detects unexported sessions and unenriched journal entries, then prints actionable commands to address them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the "ctx system check-journal" subcommand.
Returns:
- *cobra.Command: Configured check-journal subcommand
func Run ¶
Run executes the check-journal hook logic.
Checks for unexported Claude Code sessions and unenriched journal entries, then emits a journal reminder nudge if either is found. Throttled to once per day.
Parameters:
- cmd: Cobra command for output
- stdin: standard input for hook JSON
Returns:
- error: Always nil (hook errors are non-fatal)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.