Repository navigation
Add verified goal engine and controlled agent comparison - #143
Merged
Merged
Conversation
bitomule
marked this pull request as ready for review
November 13, 2026 10:03
This was referenced Nov 13, 2026
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
mav goalwith driver-independent observation, planning, execution and verification. A model'sdoneis recorded separately from a caller-defined condition; two fresh stable observations verify success. An already satisfied condition performs no actions.The engine preserves navigation budgets and refusal policies, offers only supported operation/target pairs and declared text, discards stale decisions, and stops after partial or unknown delivery. AXe simulator input uses its checked snapshot/ref API; CUA uses fresh opaque tokens. Other drivers retain an explicitly weaker tree-preflight guarantee. MAV never invokes
axe agent.Includes the AXe v2.0.4 source analysis, CLI/YAML contract, synthetic live-comparison harness and independent oracle. Goto remains available in this PR. Its retirement requires a complete three-arm comparison, zero false successes, at least 27/30 verified positive runs without falling below the baseline, and the regression below. The complete final cohort passes: goal 30/30, goto 20/30, AXe agent 30/30 verified positives; false public successes 0, 0, 3 respectively across the negative cases. The initial 26/30 goal cohort is retained, with its form failures and subsequent context correction documented. Full methodology, metrics and per-trial data disclose provider, transport, observation-unit and shared-machine limitations. Goal was slower than goto in this run; this is not a speed claim.
Validation
make check: PASS (all Go tests and build).go vet ./...: PASS; Homebrew packaging tests: PASS.python3 -m unittest discover -s tools/goal-bench: 7 PASS, including missing/duplicate corpus rejection, independent heading/PID checks, timeout child cleanup and reviewed metric export.mav flow lint examples/flows/goal.yaml: PASS.TestGoalResolvesGotoStaleCoordinateRegressionexecutes the old loop with a correct model choice while the target moves during planning: old goto sends its saved(50,20)point; goal discards the stale decision, uses the current target and verifies the destination. The same supplied choice isolates this regression from model randomness.python3 tools/goal-bench/ablate.pyremoves one guard at a time, requires an executed failing assertion, restores the guard and reruns the same test. Output:TestGoalVerifiesAndAlreadySatisfiedDoesNotActTestGoalDiscardsDecisionWhenGeometryFocusOrValueChangesTestGoalModelDoneCannotVerifyAndNoCriterionStaysUnverifiedTestGoalNeverRepeatsPartialUnknownOrPostInputReadFailureTestGoalFlowFailureNeverReplaysDeliveredInputTestGoalNavigationKeepsUnchangedPolicyDespiteGeometryJitterTestGoalModalDoesNotConsumeNavigationBudgetTestGoalCancellationDuringPreflightPreventsInputTestGoalHiddenTextAndHeadingCannotSatisfyConditionTestGoalNavigationCountsUnreferencedWizardTitlesAsProgressTestGoalRunRefusesKnownRotationWithoutValidatedScreenSizeTestGoalUnknownReferenceCleanupNeverAllowsRetryTestGoalPlanningContextExplainsAppendCurrentValueAndPendingSaveTestGoalPlanningHintComesFromVerifierAndCannotProveCompletion(hint supply)TestGoalPlanningHintComesFromVerifierAndCannotProveCompletion(expected-value redaction)Public content review: reviewed the English README, skill additions, help, design analysis, benchmark instructions, final and initial evaluation reports/data, and synthetic examples. No new public images, personal paths, device identities or private app names are included.