jarvis agents list Traceback Description Learning OpenJarvis on a Windows machine with…
- User
jarvis agents list Traceback
Description
Learning OpenJarvis on a Windows machine with WSL2. I was wondering what would happen on a clean reboot and listed the agents. This worked the first two times and listed the "... My Assistant │ deep_research ...". I even used the ID to ask it questions which worked (jarvis agents ask b0e6dece007b "How can I contribute to the OpenJarvis Project"). I had not loaded the model (Gemma 4 31b) into Ollama (this was direct from an open WSL Ubuntu window). My alias for jarvis is jarvis() { cd "@" }
- Assistant
I’ll trace the agents-list error path and its tests, then patch the underlying failure and ensure error rendering can’t mask exceptions.
- Assistant
rgisn’t installed in this checkout, so I’m using targeted filesystem and text searches instead. The traceback already suggests a secondary Rich-markup crash; I’m checking what original exception contains brackets and why listing triggers it after Ollama unloads. - Assistant
I reproduced the exact traceback: an agent status not present in the CLI’s style map (notably
budget_exceededorneeds_attention) creates invalid[]…[/]Rich markup. The exception handler then parses that exception as markup and crashes again. I’m fixing both layers and adding regressions for the two status paths. - Assistant
The focused CLI tests pass. The fix now renders statuses as Rich text objects instead of constructing markup strings, so both known terminal states and future unknown states are safe; error messages are explicitly rendered with markup disabled. I’m running lint and the related manager/budget tests now.
- Assistant
The related manager and budget suite passes (37 tests). This environment doesn’t have the configured
ruffexecutable, so I’ll compensate with the broader CLI test suite and a direct syntax check; I won’t alter dependencies or the existing lockfile change.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.