Fix Review Interactive Setup and Defaults · Entire

Interactive Configuration of Entire Review

Issue Summary

The interactive configuration for the Entire review command has been affected due to incorrect terminal detection, leading to failures in executing --configure interactively.

Available Review Agents

Configured Profiles

Configuration Command Examples

To configure non-interactively, you can use:

entire review --configure --profile general --set-agents claude-code,codex --set-judge <agent>

Debugging Terminal Detection

Output from Console:

When running the command inside Pi, the output was:

1
PI_CODING_AGENT=true

This indicates that the terminal is treated as non-interactive.

Recommendations:

For proper execution, run:

entire review --configure

If the shell has inherited Pi’s environment, use:

env -u PI_CODING_AGENT entire review --configure

Bug Explanation

The CLI incorrectly categorizes a console as non-interactive due to various environmental conditions:

Required Terminal Checks

Please verify your terminal with:

tty
test -t 1; echo "stdout_tty=$?"
env | grep -E '^(CI|GIT_TERMINAL_PROMPT|PI_CODING_AGENT|GEMINI_CLI|COPILOT_CLI|ENTIRE_TEST_TTY)='

Conclusion on Interactive Mode

Despite previous claims, the interactive mode has not been removed. The current implementation allows for three interactive paths:

  1. entire review --configure → opens interactive setup.
  2. Bare entire review → opens an interactive profile picker.
  3. entire review --edit → opens an advanced profile picker.

Recent Fixes and Changes

Example Commit Links

For detailed discussions, refer to the full set of debug and resolution comments provided within the repo.