Add focused headless hypothesis runs - #1
Draft
vaalessi wants to merge 3 commits into
Draft
Conversation
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.
What changed
focus_thing_idto the official core run, filtering candidates before the global cap and recording the focus in provenancehypgen-run, a stable file-in/file-out command that returns the canonical hypothesis document, existing cards payload, and a complete current rNPV module requestLIVEandREPLAYmodes with no fallback between themFunctional interface
LIVEalways constructs the provider-backed Judge.REPLAYnever constructs it and is labeledDETERMINISTIC_REPLAY; it runs the deterministic local pipeline over the caller-supplied graph, not a saved hypothesis fixture.The result always carries
status,execution_mode,output_origin,hypothesis,cards,roi_request, anderror. If only ROI adaptation cannot complete, the canonical hypothesis and cards remain available with an explicit reason.Why
The existing orchestrator imports internal generator state, takes several candidates from one run, and projects them across unrelated contexts. It also builds ROI input by overlaying a fixture. This PR gives the orchestrator one supported, focus-bound call per branch and a complete downstream request.
Checks
336 passed, 3 skippedrnpv-roi-calculatorinstalled:338 passed, 1 skippedroi_requestvalidates as the current ROIModuleRunRequestNo live model call or deployment change was made before the demo.