Add CLI flags to ppi wrapper for pi-mono coding agent
Session from combust-labs_pi-mono-docker on Hugging Face by rgruchalski · Apache-2.0 · condensed by Coders Talk
35msession
1interventions
GOAL
Extend the ppi Docker wrapper script to support additional pi-mono CLI flags (prompt, provider, system-prompt, session control, thinking level, etc.) and document them in the README.
- +0Prompt · +0Summarize the project, learn pi-mono's CLI args from source, and plan adding a --prompt flag to ppi
- +4mAgent did · +4mCreated feature/add-prompt-flag branch and added --prompt flag parsing to ppi, verified via grep/read
- +6mIntervention · +6mCorrected the model name used for co-author credit in commit messages, twice (first to MiniMax-M2.7, then fixing 2.6 to 2.7)Why: the agent kept getting its own model name wrong in the commit credit, had to fix it manually
- +7mAgent did · +7mMerged feature/add-prompt-flag into main with --no-ff and co-author credit, verified clean working tree
- +9mAgent did · +9mOn new branch feature/add-ppi-flags, added --provider, --system-prompt, --append-system-prompt, --continue, --resume, --no-session, --verbose, --offline flags with conditional passing, syntax-checked each time
- +24mAgent did · +24mAdded --thinking flag with is_valid_thinking() validation function, warning and clearing invalid values
- +27mAgent did · +27mListed supported/unsupported pi flags, merged feature/add-ppi-flags into main, then updated README with tables of 13 supported and 22+ unsupported flags plus usage examples
- +35mOutcome · +35mREADME documents 13 supported and 22+ unsupported ppi flags; main branch is clean, 9 commits ahead of origin/main
VERDICT
I'd start by asking for the full flag list and a plan for all of them up front instead of adding flags one at a time across many prompts and commits. The one correction that mattered was fixing the model name used in the co-authored-by credit, since the agent got its own name wrong twice; everything else it handled cleanly with syntax checks after each edit.