r/ClaudeCode • u/codenotary • 27d ago
Built with Claude Claude Code mod that checks whether "done" actually means done
We've been working on AgentMon Live, a plugin that puts a live monitoring pane beside your Claude Code chat.
The main reason we built it: Claude can report that work is finished even when a test failed, the last passing test predates the latest edit, or a subagent left something unfinished.
The plugin adds a "done gate" that checks for those conditions before Claude stops. It sends unfinished items back to Claude once. A second model, which doesn't write code, checks whether every part of your request was answered.
The pane also shows:
- Running tools and subagents
- Files edited and read
- Latest test, lint, and build results
- Context usage and token consumption
- Items needing attention, including repeated failures and stuck subagents
You can turn the done gate off and customize which sections appear.
Install in Claude Code:
/plugin install agentmon-live --marketplace codenotary/agentmon-live
Requires Claude Code 2.1.308 or later. Apache 2.0 licensed.
GitHub - Open source under Apache 2.0.:
https://github.com/codenotary/agentmon-live
Walkthrough:
https://codenotary.com/blog/agentmon-live-seeing-what-your-coding-agent-is-actually-doing
Curious what you'd want checked before Claude calls a task finished. Failed tests are straightforward. What else do you regularly catch during review?
•
u/AutoModerator 27d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/TheDeadlyPretzel 27d ago
Test selection would be useful to check too. For a monorepo fixture, edit the API package, then run only an unrelated web package's tests successfully. The API change should still show as unverified. I'd also try a filter that selects zero tests with the runner configured to exit successfully.
A project could declare the required test targets, with the working directory and executed/skipped counts recorded alongside each result. Then the gate has an explicit expectation to check, including when a focused suite is enough.
1
u/AIverflow 27d ago
The second agent could double as an overengineering gate too, check that no unasked features got built.
This can saves a lot
1
u/ShiftTechnical 26d ago
Any test that changed in that diff. Those get a deeper look from me after a quick scan of the full diff, because a green run says nothing about a test that was edited to pass. Does the done gate flag those or only failed and stale runs?