fakeagent

command
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

fakeagent is a deterministic stand-in for the real Claude, Codex, and OpenCode CLIs used by no-slop' e2e tests. One binary is compiled and then symlinked under each agent name; argv[0]'s basename selects which wire protocol to speak.

All invocations are appended to $FAKEAGENT_LOG (one JSON object per line) so tests can assert on exactly which prompts the pipeline issued.

Behaviour is driven by $FAKEAGENT_SCENARIO (a YAML file). When unset the agent returns an "all clean" canned response that satisfies every schema no-slop asks of it.

Jump to

Keyboard shortcuts

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