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 agent-list error path and its tests, then patch both the underlying failure handling and Rich-safe rendering as appropriate.
- Assistant
rgisn’t installed in this checkout, so I’m usingfind/grepto inspect the same paths. The traceback already shows a secondary bug: exception text containing Rich markup-like brackets can itself crash the error reporter. - Assistant
The root cause is now clear:
listformats unknown/new statuses with empty Rich tags ([]status[/]). Rich raises on that, then the catch block embeds the first markup error—including[/]—inside another markup string, causing the reported traceback. I’m making status and exception rendering structural (using RichText) so neither agent state nor error text is parsed as markup. - Assistant
The patch now covers all persisted terminal statuses (
needs_attention,stalled, andbudget_exceeded) while remaining safe for future unknown values. I also added regressions for bracketed agent names and markup-shaped exception messages; I’m running the focused CLI suite and lint checks now. - Assistant
The focused suite passes all 19 tests. Ruff isn’t installed in the project environment, so that lint command cannot run locally; I’m compensating with the broader CLI test suite plus a compile check and reviewing the final diff.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.