Documentation
¶
Overview ¶
Package check_ceremonies implements the ctx system check-ceremonies subcommand.
It scans recent journal entries for session ceremony usage and nudges adoption of /ctx-remember and /ctx-wrap-up when missing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the "ctx system check-ceremonies" subcommand.
Returns:
- *cobra.Command: Configured check-ceremonies subcommand
func Run ¶
Run executes the check-ceremonies hook logic.
Scans recent journal files for /ctx-remember and /ctx-wrap-up usage. When either ceremony is missing, emits a nudge message and sends relay/nudge notifications. The check is daily-throttled and skipped when paused.
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.