The cluster the agent is deciding is locked, and the Review page says it is working - #460
Merged
Merged
Conversation
… it is working Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: WaylandYang <wayland0916@gmail.com>
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.
Follow-up to #457 (record 0025's "What a reader sees" gains a paragraph).
What this adds
governjob takes a cluster it marks those pairsstage = adjudicating;decide_reviewrefuses such a pair with a 409 ("The agent is deciding this pair right now; wait for its proposal or turn governance off") while the base's switch is on and its job is running. All three conditions are needed, so a stale mark left by a crashed job, or by the old adjudicator when the switch is off, locks nothing; the job clears every mark when it starts and when it ends, whatever way it ends.ReviewCounts.agent_running/agent_queueandReviewSummary.agent.running/queuecarry the state; the page refreshes on the review events the job already emits after each cluster.Verified
governjob row, a locked pair refusesdecide_review; releasing the locks or removing the job unlocks it;queue_lencounts the pairs the agent has not looked at.🤖 Generated with Claude Code