cyberneticlibrary

Verify and audit Claude Code operations

claude-code-audit-stackpluginsetup L33,035
davepoon/buildwithclaude
What it does

Catch daemon crashes and silent restart skips in remote execution

Best for

Cloud automation teams that deploy daemons via Claude Code and need adversarial verification that restarts actually succeeded (not just reported success).

Inputs
  • · remote host address
  • · PID or systemd unit name
  • · error log paths
Outputs
  • · restart state verification
  • · probability-stack error analysis
  • · lost-PID detection alert
Requires
  • · systemd (remote)
  • · SSH/remote shell access
Preconditions
  • · remote host has systemd or process manager
  • · SSH access to remote host
  • · daemons instrumented for PID tracking
Failure modes
  • · SSH connection intermittent — audit incomplete
  • · remote systemd logs rotated — historical data lost
  • · PID reuse on server — false positives on detection
Trust signals
  • · explicit detection of lost-PID daemons
  • · probability-stacking error analysis
  • · remote systemd integration