feat: Add quota memory extraction for agy harness - #12
Merged
Merged
Conversation
A wedged family-run step was occupying the runner until the 75-minute job cap; bound that step so cleanup and timing artifacts still upload.
Extracts model, quota, and reset time from agy pane footer and stores it persistently in state/ so dispatch rules can read it. Fails open on ambiguous reads and resets on staleness.
prajwal-395
added a commit
that referenced
this pull request
Sep 8, 2026
#93) The prose-blocker guard still refused ordinary English such as the vision step's blocks produce, because bare blocks matched anywhere. It now requires an issue reference, since without one there is no edge for the frontier query to miss. Genuine blocks #12 prose is still refused, with the match and line printed.
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.
Give firstmate a memory of agy model quota, so a dispatch rule about quota can be obeyed BEFORE the dispatch rather than discovered by making it.
Known Limitations
A reading older than its own reset window returns "unknown" rather than a distinct "window-has-reset" result. This is safe—"unknown" means no constraint, so a healthy model is never stranded at the bottom of the ladder, fulfilling the primary requirement. However, it conflates "never seen this model" with "seen it and its window has since refilled." A future caller that needs to differentiate between these two states will need to distinguish them.