- Verify the command runs standalone in your terminal.
- If the CLI needs a shell, use
commandinstead ofcmd+args. - On Windows, confirm your CLI is in
PATH. - Interactive setup requires a real TTY (not piped stdin).
- Increase
timeoutMsoridleMsincriticloop.config.json. - Some CLIs buffer output; try a larger
idleMs(e.g. 3000).
- Ensure the CLI is not stripping or wrapping the sentinel line.
- If a model does not follow instructions, set
session.endStrategytoidlein config.
- This is normal for many tools. The sentinel is used to delimit responses.
- If banners are too noisy, add a
bootstrapnote to the agent to reduce chatter.
node-ptyuses ConPTY. If you see broken characters, try a different terminal font.- If the CLI uses ANSI-less output, it still works; CriticLoop strips ANSI codes.
- Check
sessions/<timestamp>/agentA.logandagentB.logfor raw PTY output. - Make sure the process is still running and the PTY did not exit early.
- Share the
summary.jsonand the raw logs for both agents.