pub async fn test_lifecycle_handler(
event_name: &str,
handler: &LifecycleHookHandler,
fallback_cwd: Option<PathBuf>,
) -> Result<LifecycleHookTestOutput, String>Expand description
Execute one configured handler against a deterministic synthetic payload. Production runtime limits and output caps are preserved, while result interpretation is skipped so callers receive raw diagnostics.