healthcheck

package
v0.136.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: BSD-2-Clause Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgent

func NewAgent(step agentlib.Step) *agentlib.Agent

NewAgent wraps any Step in a phase-agnostic *agentlib.Agent. The step is registered under all three canonical phase names so the healthcheck task succeeds regardless of which PHASE env the executor injects (planning, execution, ai_review per CLAUDE.md doctrine).

func NewClaudeStep

func NewClaudeStep(runner claudelib.ClaudeRunner) agentlib.Step

NewClaudeStep returns a Step that runs a "reply 'ok'" smoke prompt via the configured Claude CLI runner. Used by the agent-claude binary to verify that its Claude CLI dependency is reachable.

On success the Result.Message is populated with the trimmed reply text — this is intentional to capture the liveness response for operator log/audit.

func NewGeminiStep

func NewGeminiStep(parser agentlib.AIParser) agentlib.Step

NewGeminiStep returns a Step that calls the AIParser with a "reply 'ok'" prompt. Used by the agent-gemini binary to verify Gemini API reachability.

On success the Result.Message is populated with the reply text — this is intentional to capture the liveness response for operator log/audit.

func NewNopStep

func NewNopStep() agentlib.Step

NewNopStep returns a Step that immediately returns done with output "ok". No external calls — reaching this step proves the binary booted and the framework wired the phase. Used by pure-Go agent binaries.

func NewPiStep

func NewPiStep(runner pilib.Runner) agentlib.Step

NewPiStep returns a Step that runs a "reply 'ok'" smoke prompt via the configured Pi CLI runner. Used by the agent-pi binary to verify that its Pi CLI dependency is reachable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL