Integrate stat tracker into Terminus2 agent#83
Open
sarvanithin wants to merge 1 commit intowithmartian:mainfrom
Open
Integrate stat tracker into Terminus2 agent#83sarvanithin wants to merge 1 commit intowithmartian:mainfrom
sarvanithin wants to merge 1 commit intowithmartian:mainfrom
Conversation
joshgreaves
reviewed
Feb 10, 2026
Contributor
joshgreaves
left a comment
There was a problem hiding this comment.
Similar comment here to #82 . This includes the stdout/stderr changes. Lmk once this has only the changes described in the comment, from a glance I think this will be an easy win! Thanks for adding it.
- Add timing for initial setup (t2/setup) - tracks tmux session initialization - Add timing for LLM requests (t2/llm_request) - tracks expensive API calls - Remove TODO comment now that tracker is actively used - All tests pass (8/8), no functional changes Resolves TODO in terminus2_agent.py:146
665ac36 to
e8841ac
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds performance monitoring to the Terminus2 agent by integrating the stat tracker for key operations. Tracks setup time and LLM request latency. All tests pass. Resolves TODO in terminus2_agent.py line 146.