Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgent ¶
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 ¶
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 ¶
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.
Types ¶
This section is empty.