Documentation
¶
Overview ¶
Package specs_nudge implements the ctx system specs-nudge subcommand.
It reminds the agent to save plans to the specs/ directory for release tracking when entering plan mode.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the "ctx system specs-nudge" subcommand.
Returns:
- *cobra.Command: Configured specs-nudge subcommand
func Run ¶
Run executes the specs-nudge hook logic.
Emits a PreToolUse nudge reminding the agent to save plans to specs/ when a new implementation is detected. Appends a context directory footer if available.
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.