Preprint
Article

This version is not peer-reviewed.

FGAO: Feedback-Greedy Agentic Orchestration for Budgeted Retrieval-Augmented Generation

Submitted:

24 November 2026

Posted:

25 November 2026

You are already at the latest version

Abstract
Retrieval-augmented generation (RAG) requires sequential decisions about evidence acquisition, query reformulation, generation, verification, and abstention under resource constraints. A fixed workflow does not adapt its acquisition cost to observed evidence, while fully optimal partially observable control generally requires unknown stochastic models. We present Feedback-Greedy Agentic Orchestration (FGAO), a training-free controller for budgeted RAG. FGAO represents the state by externally assessed goal conditions and action preconditions, estimates state-normalized gain and harm rates by combining declared effects with within-query feedback, and scores actions by predicted deficiency reduction, cost, and bounded continuation value. We establish multi-action, budget-feasible source escalation; finite-horizon concentration for adaptively sampled feedback with explicit within-class heterogeneity; a continuation-aware action-selection error bound; and stopping and dependency-depth results under stated assumptions. We also characterize what verification can and cannot guarantee. On a matched 100-question SQuAD 2.0 evaluation using the same Sonnet-based serving path, FGAO v2 attains 76% exact match versus 72% for a CRAG-style implementation (exact paired p = .39); the difference is not statistically significant. FGAO v3 reaches 77% exact match at a higher mean cost (11.36 versus 8.48 declared units per question). In 1,000 synthetic episodes, the unlock-lookahead variant reaches 94.3% completion, comparable to a tuned verified planner (92.5%), whereas removing feedback or lookahead reduces completion to 72.9% or 2.6%, respectively. Beyond the mathematical analysis, FGAO is released as an open-source Python framework with reusable controller and RAG interfaces and a publicly deployed Docker-based HTTP API on Hugging Face Spaces. The analysis and experiments delimit the benefits and failure modes of explicit, cost-aware feedback control without claiming global POMDP optimality.
Keywords: 
;  ;  ;  ;  ;  ;  ;  

1. Introduction

Retrieval-augmented generation (RAG) combines a language model with retrieved evidence [1]. Retrieval and answer synthesis range from sparse and dense search to multi-passage fusion [2,3,4], yet even available evidence can be obscured by context position [5]. A query may require depth adjustment, rewriting, alternative-source access, answer generation, grading, verification, or abstention. Selecting the next operation under a budget is therefore a sequential acquisition problem. CRAG introduces retrieval correction [6]; Self-RAG uses trained reflection decisions [7]. FGAO instead exposes an explicit numerical control rule.
Sequential retrieval is directly studied by forward-looking active retrieval (FLARE) [8], interleaved reasoning and retrieval (IRCoT) [9], complexity-adaptive retrieval (Adaptive-RAG) [10], and interleaved reasoning and tool use (ReAct) [11]. These approaches choose or alternate retrieval and inference operations, but do not impose the particular state-normalized feedback and budget-feasible escalation rule analyzed here. More generally, planning in partially observed environments and adaptive stochastic optimization provide the formal background for reasoning about information-dependent actions [12,13]. Evaluation and hallucination detection are fallible measurements rather than guarantees of truth [14,15,16,17].
Contributions. FGAO (Feedback-Greedy Agentic Orchestration) (i) constructs a verifiable-deficiency surrogate motivated, but not derived, from partially observable control; (ii) combines state-normalized online effect estimates with cost-aware, dependency-sensitive action scoring; (iii) proves adaptive finite-horizon feedback bounds, candidate-set-aware unlock perturbation bounds, finite-budget source escalation, and stopping and dependency limits; (iv) evaluates the unchanged controller on 100 matched RAG questions and mechanism-isolating synthetic, real-file, noisy-verification and parallel tests; and (v) releases a model-independent Python controller, RAG/workflow APIs and a public Docker HTTP endpoint. No adaptive-submodularity or global-optimality claim is made [13]. The primary application is RAG; controlled auxiliary workloads probe mechanisms that a small QA sample cannot isolate. Raw data and replication scripts are separately archived [18].

2. From Partially Observable Control to Verifiable Progress

2.1. POMDP Formulation

Fix a query q, evidence-acquisition operations, an execution budget B 0 > 0 , and at most T decisions. Let X t denote the hidden information state, including whether relevant evidence exists and whether a proposed answer is substantively correct. The controller chooses a t ∈ A ( h t ) from the history h t = ( q , a 0 , o 1 , … , a t − 1 , o t ) and observes o t + 1 according to unknown transition and observation laws. The exact objective is
sup π , τ ≤ T E π U q ( X τ , Y τ ) − λ 0 ∑ t = 0 τ − 1 c t ( a t ) ,
subject to the cumulative cost constraint ∑ t < τ c t ( a t ) ≤ B 0 . The optimal belief-state policy solves a Bellman recursion over posterior distributions of X t  [12]. The unknown posteriors prevent direct computation of the ideal Bayesian risk reduction V ( a ∣ b t ) = R ( b t ) − E [ R ( b t + 1 ) ∣ b t , a ] , with R ( b ) = inf y ^ E [ ℓ ( X , y ^ ) ∣ b ] . This expression motivates rather than derives the operational deficiency in (2); passages are not physical measurements. FGAO records z t = ϕ ( h t ) (query, evidence, answer, verification, preconditions and remaining budget). The transition z t + 1 = F ( z t , a t , o t + 1 ) is bookkeeping, not a learned environmental kernel, and z t need not be Markov sufficient.

2.2. Observable Deficiency and Terminal Mismatch

Let G = { g 1 , … , g m } be externally assessed goal conditions with values v i ( z ) ∈ [ 0 , 1 ] and fixed w i > 0 , ∑ i w i = 1 . The deficiency is
Φ ( z ) = ∑ i = 1 m w i [ 1 − v i ( z ) ] ∈ [ 0 , 1 ] .
Let M ⊆ { 1 , … , m } denote mandatory conditions. Verified success means v i ( z ) ≥ 1 − ϵ ver for every i ∈ M ; optional conditions may remain incomplete. Define the observed step gain
r t = Φ ( z t ) − Φ ( z t + 1 ) , ∑ t < τ r t = Φ ( z 0 ) − Φ ( z τ ) .
This telescoping identity is exact, including when an action increases deficiency. It does not imply that maximizing ∑ r t is equivalent to maximizing the original utility U q ; mandatory success and weighted deficiency are different notions.
In the tested RAG system, the mandatory conditions are answered ( w = . 2 ), grounded ( w = . 3 ), and supported ( w = . 5 ). Grounding checks that the normalized answer string appears in a passage from which it was generated. The separate support operation uses an LLM judgment over the corresponding passage. The distinction matters: string occurrence is mechanically checkable, but entailment by an LLM is imperfect and is not ground truth.

2.3. Cost-normalized One-Step Control

For an action a, the unknown conditional expected deficiency reduction is Δ t ★ ( a ) : = E [ Φ ( z t ) − Φ ( z t + 1 ) ∣ h t , a ] , equivalently Δ t ★ ( a ) = ∑ i = 1 m w i δ i , t ★ ( a ) , where δ i , t ★ ( a ) : = E [ v i ( z t + 1 ) − v i ( z t ) ∣ h t , a ] . We reserve a hat for an estimated quantity and a star for its unknown conditional reference. The estimated one-step score (denoted S t , without an additional hat, throughout) is
S t ( a ) = Δ ^ t ( a ) − λ c ^ t ( a ) / B 0 .
The cost is normalized by the initial budget; λ ≥ 0 is measured in goal-value units. In contrast, the ratio Δ ^ t ( a ) / c ^ t ( a ) ranks actions differently, particularly when preparation steps deliver only downstream value. Equation (4) defines a tractable surrogate action score motivated by (1); it is not a Bellman approximation and need not rank actions as the optimal partially observable policy does.

3. The FGAO Controller

3.1. Action Semantics and Online Rate Estimates

An operation a declares preconditions, cost c 0 ( a ) > 0 , goal-wise gain rates g i 0 ( a ) ∈ [ 0 , 1 ] , harm rates h i 0 ( a ) ∈ [ 0 , 1 ] , and probabilities of enabling predicates. Rates normalize changes by the remaining or achieved fraction of each goal; they are not raw state increments. The true conditional normalized rates, if meaningful, are written g i ★ ( a ∣ h t ) and h i ★ ( a ∣ h t ) .
After an action changes v i by d i , t = v i ( z t + 1 ) − v i ( z t ) , feedback records
X i , t g = d i , t + 1 − v i ( z t ) , v i ( z t ) < 1 ,
X i , t h = − d i , t + v i ( z t ) , v i ( z t ) > 0 .
Both records lie in [ 0 , 1 ] and undefined rates are skipped. Feedback groups k ( a ) are identical signatures (exact), tool names (type), or task-defined classes (task). Write n i , k g and X ¯ i , k g for the gain-rate count and mean, and analogously for harm:
g ^ i , t ( a ) = ν g i 0 ( a ) + n i , k g X ¯ i , k g ν + n i , k g ,
h ^ i , t ( a ) = ν h i 0 ( a ) + n i , k h X ¯ i , k h ν + n i , k h ,
where ν > 0 is the prior strength; for n = 0 only the prior is used. Predicted goal change and progress become
δ ^ i , t ( a ) = 1 − v i ( z t ) g ^ i , t ( a ) − v i ( z t ) h ^ i , t ( a ) , Δ ^ t ( a ) = ∑ i w i δ ^ i , t ( a ) .
Cost and predicate-production rates are blended similarly. Feedback is local to each query: KB variants share a class, while the alternative source is separate; no neural weights are trained.

3.2. Dependency-Aware Continuation

Actions must satisfy declared preconditions and the residual budget. Since retrieval may not immediately verify an answer, the controller adds a continuation term
Q ^ t ( a ) = S t ( a ) + γ H ^ t ( a ) , 0 ≤ γ ≤ 1 .
The implementation supports three forms. Throughout, S t ( b ∣ z ) means evaluating the estimated immediate score (4) at an operational state z, with the feedback statistics and estimated costs held fixed at decision t. With a predicted successor z ^ a , deterministic lookahead uses
H ^ t det ( a ) = max b ∈ A ( z ^ a ) S t ( b ∣ z ^ a ) + .
The stochastic version averages max b S t ( b ∣ z ′ ) + over enumerated predicted outcomes, capped at six binary effect dimensions in the implementation. In both expressions the subscript t identifies the current, frozen feedback estimator; the score is evaluated at a hypothetical successor state, without executing a, observing a new outcome, or updating the estimator. Any “next-step” terminology refers solely to this successor-state evaluation. The default unlock approximation uses a success-conditioned successor z ^ a : each positively predicted gain completes its target goal, each positively predicted predicate becomes true, and, with corrective lookahead enabled, predicted harm reduces the attained goal value by its estimated harm fraction. The predicted cost is deducted from the residual budget. This is not the conditional-mean successor.
Let U ^ a contain newly admissible, affordable actions other than a; R ^ a contains affordable, successor-admissible repair actions associated with goals harmed by a. The former receive the product-form unlocking factor p ^ a b , obtained by multiplying the estimated rates of prerequisites newly enabled by a; the latter receive the increment over their current positive value. The product is the controller’s approximation, not in general the conditional probability that all required effects occur jointly: that interpretation additionally requires suitable conditional independence of the prerequisite outcomes. The default rule uses the product regardless of whether independence holds. Write S t + ( b ; z ) : = S t ( b ∣ z ) + , where S t always uses the current feedback estimates. At default lookahead depth one, the implementation computes
H ^ t unlock ( a ) = max { 0 , U ^ t ( a ) , R ^ t ( a ) } ,
U ^ t ( a ) = max b ∈ U ^ a p ^ a b S t + ( b ; z ^ a ) ,
R ^ t ( a ) = max b ∈ R ^ a [ S t + ( b ; z ^ a ) − 1 { b ∈ A ( z t ) } S t + ( b ; z t ) ] .
Both maxima over empty candidate sets are interpreted as zero. The repair increment is not multiplied by an unlock probability; the repair set is formed from the controller’s declared or observed goal-gaining actions. In particular, it does not credit the full positive score of a repair that was already useful. Equations (9) and (Section 3.2) are different approximations; deterministic lookahead may repeatedly credit an unsuccessful preparatory operation, while a large absolute continuation term can distort ratio scoring. The evaluated v2 configuration uses (Section 3.2) with lookahead depth one; greater depth is supported by the software but is not covered by the one-step perturbation bound below.

3.3. Action and Termination Policy

The selected action is
a t ∈ arg max a ∈ A t affordable Q ^ t ( a ) .
FGAO stops on verified mandatory completion, empty admissible actions, exhaustion of budget/step limit, or max a Q ^ t ( a ) ≤ 0 . Reading stored verification values is bookkeeping; a new relevance or support check occurs only as an admissible, budget-charged operation. The latter is a surrogate-value stopping rule and cannot certify the absence of a longer profitable plan. No exploration bonus is used in the main configuration: the tested bonus was neutral or detrimental.
Algorithm 1:FGAO for one budgeted query
1:
Input: Query q, operations A , budget B 0 , ν , λ , γ , verifiers
2:
Initialize operational state z 0 , goal values, group statistics, B ← B 0
3:
while B > 0 and step limit not reached do
4:
   Inspect stored goal-verification states; if mandatory goals pass, return verified answer
5:
   Form affordable, admissible operations A t
6:
   if  A t = ∅  then
7:
     break
8:
   end if
9:
   for each a ∈ A t  do
10:
     Compute normalized rates from (Section 3.1) and progress (7)
11:
     Evaluate S t ( a ) and H ^ t ( a ) ; form Q ^ t ( a )
12:
   end for
13:
   Select a t using (11); if Q ^ t ( a t ) ≤ 0 , break
14:
   Execute a t (including a separately charged verify action when selected); update evidence, stored verifier states, B, and statistics (Section 3.1)
15:
end while
16:
return abstention or terminal status and full trace

3.4. RAG Specialization

The tested v2 macro-action answer(source,graded) executes retrieval, optional grading and generation; verify is a separate paid operation for each new answer. Source costs for KB top-5, KB top-10, rewritten KB, and alternative-source top-5 are 1 , 1.5 , 3 , 4 ; grading and generation cost 2 each, with B 0 = 16 . KB variants share feedback, while the alternative source does not. Answering requires existence, substring grounding and support verification. Sonnet supplies language operations but never the numerical decision. The benchmark’s “web” source is a second BM25-indexed collection, not live internet search.

3.5. Open-Source Implementation and Public API

The open-source Python implementation [19] offers FGAOController (decision/update/stop), Workflow (goal-checked tools), and FGAORAG (retrieval/generation/verification). It exposes score and budget traces, synchronous/asynchronous streaming and batch interfaces, and LangChain, LangGraph and MCP adapters. The model-independent HTTP API supplies /v1/answer, /v1/answer/stream, /v1/batch and interactive /docs; a Docker Space is publicly listed on Hugging Face [20]. These interfaces are engineering features, not independently tested policies. The limited local-service validation is in Section 5.3.

4. Analysis

The results below state explicit conditions. In particular, feedback grouped solely by tool name need not be stationary, and an LLM support judgment need not be correct. The analysis does not silently assume either property.

4.1. When Does Feedback Correct Optimistic Action Estimates?

The feedback record is sampled adaptively: the decision to execute a member of comparison class k, and whether a gain or harm rate is defined, depend on earlier tool outcomes. Consequently an ordinary fixed-n i.i.d. concentration bound [21] cannot directly certify decisions made after repeatedly inspecting the same estimate. We allow different conditional means for executions pooled into one class.
Assumption 1 
(Complete-history predictable sampling). Fix an execution horizon T (counting received operation outcomes), m goals and finitely many comparison classes, giving M bounded feedback streams. At execution index s, let F s − contain thecompleteexecution history immediately before the outcome is observed: all earlier operation results, all other feedback streams, the selected current action and arguments, and all pre-observation randomization. Let F s = σ ( F s − , O s ) include the new observation and all feedback derived from it. For each stream ℓ, the indicator I ℓ , s that an observation will be recorded is F s − -measurable; any recorded value X ℓ , s lies in [ 0 , 1 ] . In particular, eligibility of a normalized gain or harm rate is determined by thepre-actiongoal value. Write τ ℓ , j for its jth selected index and μ ℓ , j = E [ X ℓ , τ ℓ , j ∣ F τ ℓ , j − ] . At decision t an offered action a has conditional target rate μ ℓ , t ( a ) ∈ [ 0 , 1 ] . Priors and comparison-class assignments are fixed before the outcomes they affect. No independence or common-mean hypothesis is made, either within a stream or across streams.
For n = n ℓ ( t ) > 0 prior observations in the comparison class, define its within-class heterogeneity at the current decision by
b ℓ , t ( a ) = 1 n ∑ j = 1 n μ ℓ , j − μ ℓ , t ( a ) .
The quantity is a theoretical bias term, not information available to the controller. It can be large when a common tool name pools noncomparable queries. We set b ℓ , t ( a ) = 0 when n = 0 .
Theorem 1 
(Uniform adaptive feedback bound). Under Assumption 1, fix δ ∈ ( 0 , 1 ) . With probability at least 1 − δ ,simultaneouslyfor every t ≤ T , every candidate action a, every relevant stream ℓ, and every data-dependent count n = n ℓ ( t ) ∈ { 0 , … , T } , the implemented shrinkage estimator satisfies
| r ^ ℓ , t ( a ) − μ ℓ , t ( a ) | ≤ ν | r ℓ 0 ( a ) − μ ℓ , t ( a ) | + n b ℓ , t ( a ) ν + n + n 2 log 2 M ( T + 1 ) δ ν + n .
For n = 0 , the statistical term is zero and the bound reduces to the prior error. The same statement applies to normalized bounded predicate-production and cost feedback when those observations are assigned feedback streams.
Proof. 
For each stream let τ ℓ , j be the index of its jth recorded observation. As I ℓ , s and the selected action are known from F s − , the selected-time conditional mean is defined using the whole history just before observation. Hence D ℓ , j = X ℓ , τ ℓ , j − μ ℓ , j has conditional mean zero given F τ ℓ , j − , which contains the post-observation history of every preceding selected index, including outcomes of all other streams. Thus ( D ℓ , j ) j is a martingale-difference sequence under predictable sampling, with conditional range width at most one. Conditional Hoeffding gives P { | ∑ j = 1 n D ℓ , j | > ( n / 2 ) log ( 2 M ( T + 1 ) / δ ) } ≤ δ / [ M ( T + 1 ) ] for each fixed n ≥ 1 . If a stream has fewer than n observations, adjoin zero increments after the last observed one. A union bound over streams and n ∈ { 1 , … , T } yields one event controlling all data-dependent sample counts, without requiring independence among streams. For any offered a, put μ = μ ℓ , t ( a ) and decompose ( ν + n ) ( r ^ − μ ) = ν ( r 0 − μ ) + ∑ j = 1 n D ℓ , j + ∑ j = 1 n ( μ ℓ , j − μ ) . The triangle inequality and (12) prove (13); the same event works for all offered actions because their target-specific deviations occur only in the deterministic bias terms.    □
Counterfactual target rates. The concentration event in Theorem 1 controls the selected-observation martingale sum, which does not depend on the rate to which the historical observations are compared. Thus, for any well-defined counterfactual conditional target rate μ ℓ , t ( a ; z ′ ) ∈ [ 0 , 1 ] —including a second-step action evaluated at a predicted successor z ′ without a fresh observation—the same event yields (13), with μ ℓ , t ( a ) replaced by μ ℓ , t ( a ; z ′ ) throughout and the corresponding heterogeneity b ℓ , t ( a ; z ′ ) = n − 1 ∑ j = 1 n μ ℓ , j − μ ℓ , t ( a ; z ′ ) for n > 0 (zero for n = 0 ). The prior-error term is likewise evaluated against this target. The stochastic term and confidence level are unchanged; this extension does not assert that the historical feedback is unbiased for the counterfactual action or that such a conditional rate is known to the controller.
Remark 1 
(Meaning of feedback pooling). The sampling term decreases at the usual n − 1 / 2 scale, but b ℓ , t ( a ) need not decrease. Thus increasing the number of pooled observations need not improve a prediction if the sampled actions have different conditional effects. The guarantee is uniform in the adaptive query history,nota claim that all pooled RAG operations are interchangeable. The finite horizon and finite stream set matter.
Let e i , t g ( a ) and e i , t h ( a ) denote the right-hand side of (13) for the corresponding conditional gain and harm rates at z t . More generally, write E i , t g ( a ; z ) , E i , t h ( a ; z ) , and E t c ( a ; z ) for the same target-specific bounds evaluated at any operational state z (including a well-defined counterfactual state), so e i , t g ( a ) = E i , t g ( a ; z t ) and similarly for harm. Because the normalized positive and negative changes satisfy the identity (Section 3.1), the conditional mean goal increment is exactly ( 1 − v i ) g i , t ★ ( a ) − v i h i , t ★ ( a ) , with undefined boundary rates multiplied by zero. Therefore,
| Δ ^ t ( a ) − Δ t ★ ( a ) | ≤ ∑ i w i [ ( 1 − v i ) e i , t g ( a ) + v i e i , t h ( a ) ] = : e t Δ ( a ) .
The identity covers state overwrites as well as incremental updates; their conditional rates may nevertheless vary sharply with the state, leading to a large heterogeneity term.

4.2. When Does Short Lookahead Correctly Value Dependencies?

The released controller’s default unlock routine evaluates a success-conditioned successor, not a conditional-mean state. For a first action a, let G a ★ , P a ★ and D a ★ be, respectively, the supports of its strictly positive conditional gain rates, predicate-production rates and eligible harm rates. Eligible harm excludes a goal with an active gain, as in the implementation. Define the reference successor
z a , ★ : = T succ ( z t , a ; θ t ★ ) , z ^ a : = T succ ( z t , a ; θ ^ t ) ,
where T succ sets a goal in G a to one, makes a predicate in P a true, applies v i ↦ v i ( 1 − h i ) for an eligible harm in D a when corrective lookahead is enabled, and deducts the respective estimated or reference action cost. This choice matches the implemented _success_state rule. Thus, when v i = 0 and g i ( a ) = 0.2 , a positive predicted gain sets v i a = 1 rather than its conditional mean 0.2 .
For either the estimated or true-rate reference state, define the newly unlocked, affordable candidate set U a and the affordable, successor-admissible repair set R a as in (Section 3.2), excluding a itself. The repair set contains recorded or declared gainers of harmed goals. Let p a b ★ denote the same product-form factor with each estimated prerequisite rate replaced by its true conditional rate, and put S t ★ + ( b ; z ) : = S t ★ ( b ∣ z ) + . Neither p a b ★ nor p ^ a b is generally the true joint unlocking probability; conditional independence of the required effects would be needed for that identification. The true-parameter immediate score S t ★ ( b ∣ z ) is the same state-conditioned scoring function as S t ( b ∣ z ) , with estimated rates and cost replaced by their conditional reference quantities; neither score entails a new feedback update. The true-rate reference continuation is H t ★ ( a ) = max { 0 , U t ★ ( a ) , R t ★ ( a ) } . Its unlock contribution is U t ★ ( a ) = max b ∈ U a ★ p a b ★ S t ★ + ( b ; z a , ★ ) . For the repair contribution, define the incremental repair score of a candidate b as S t ★ + ( b ; z a , ★ ) − 1 { b ∈ A ( z t ) } S t ★ + ( b ; z t ) ; R t ★ ( a ) is its maximum over b ∈ R a ★ (with empty maxima interpreted as zero). The action sets and their baseline-admissibility predicates are computed by the same fixed precondition and affordability rules as the implementation. This is the true-parameter version of the implemented one-step unlock surrogate, not a Bellman continuation or an optimal RAG policy.
Assumption 2 
(Stable local unlock comparisons). For every first action a, restrict attention to candidates common to the estimated and reference unlock or repair sets. The success-conditioned successors obey ∥ z ^ a − z a , ★ ∥ ≤ e z ; for a common candidate the reference immediate score is L S -Lipschitz between these successors. At the predicted successor, | S t ( b ∣ z ^ a ) − S t ★ ( b ∣ z ^ a ) | ≤ e S , 2 , and at the actual current state, | S t ( b ∣ z t ) − S t ★ ( b ∣ z t ) | ≤ e S , 0 . For common unlock candidates, | p ^ a b − p a b ★ | ≤ e p and 0 ≤ S t ★ ( b ∣ z a , ★ ) + ≤ M S . The original-state baseline-admissibility indicator is the same in both comparisons. Finally, e set bounds the largest nonnegative unmatched contribution in the two candidate families, after taking a positive part of a repair increment. These bounds hold uniformly over all first actions being ranked.
Lemma 1 
(Unlock and incremental-repair perturbation). Under Assumption 2, the exact one-step unlock rule (Section 3.2) satisfies
| H ^ t ( a ) − H t ★ ( a ) | ≤ e set + max { M S e p + e S , 2 + L S e z , e S , 2 + L S e z + e S , 0 } .
Proof. 
For a common unlock candidate, the map x ↦ x + is 1-Lipschitz and each product-form unlocking factor is in [ 0 , 1 ] . The argument compares the estimated and true-parameter products, not either product with an unknown joint unlocking probability. Hence the absolute difference between p ^ a b S t ( b ∣ z ^ a ) + and its reference contribution is at most M S e p + e S , 2 + L S e z . For a common repair candidate, the implemented contribution is a difference of two positive scores. Its successor term differs by at most e S , 2 + L S e z , while its original-state baseline differs by at most e S , 0 . Thus the repair-contribution error is at most their sum. The maximum with zero and the maximum over common candidates are each 1-Lipschitz in the supremum norm. Adding or deleting candidates changes the maximum by no more than the largest nonnegative unmatched contribution, bounded by e set . Taking the larger of the two family-wise bounds yields (16). □
Under state-invariant conditional rates and state-independent action cost, L S ≤ 2 for a fixed feasible candidate and the sup norm on normalized goal coordinates: each score derivative is bounded by ∑ i w i ( g i + h i ) ≤ 2 . Discrete changes in admissibility, availability, affordability, or action support cannot be hidden inside this Lipschitz constant; candidate mismatches contribute to e set , while successor-support mismatches are treated explicitly below.
Theorem 2 
(High-probability one-step unlock-score selection bound). Under Assumption 1, consider a decision t ≤ T where the first-step affordable/admissible action set is correctly identified. Assume the local conditions of Assumption 2 with unmatched-candidate contribution at most e set . On the joint high-probability event of Theorem 1, let E i , t g ( a ; z ) , E i , t h ( a ; z ) and E t c ( a ; z ) be the respective bounds from (13), with cost rescaled to actual cost units. For any operational state z, extend the error definition in (14) by setting e t Δ ( a ; z ) : = ∑ i w i [ ( 1 − v i ( z ) ) E i , t g ( a ; z ) + v i ( z ) E i , t h ( a ; z ) ] . Define the first-step bounds E Δ , 1 : = max a e t Δ ( a ; z t ) and E c , 1 : = max a E t c ( a ; z t ) ; their combined immediate-score bound is E S , 0 : = E Δ , 1 + λ E c , 1 / B 0 . For the second-step candidates b common to the estimated and reference sets, the error bound is as follows (with empty maxima interpreted as zero). By the counterfactual-target extension of Theorem 1, the same adaptive concentration event applies at z ^ a , with prior errors and within-class heterogeneity evaluated against the corresponding counterfactual conditional rates. No new outcome is observed and the estimator remains unchanged. Thus the second-step bound is E S , 2 : = max a , b { e t Δ ( b ; z ^ a ) + λ E t c ( b ; z ^ a ) / B 0 } , where the maximum is over candidates common to the estimated and reference continuation sets (and equals zero when empty). Let E p bound the difference between estimated and true-parameterproduct-formunlocking factors on common unlock candidates (not an error relative to the generally unknown joint unlocking probability). The success-conditioned map in (15) has discontinuous dependence on thesupportof positive effects. Set χ a : = 1 { ( G ^ a , P ^ a , D ^ a ) ≠ ( G a ★ , P a ★ , D a ★ ) } . When χ a = 0 , positively predicted gains set the same goal values to one, the same predicates become true, and only expected harm attenuation and deducted cost differ. With the sup norm on goal coordinates, Boolean predicates and B / B 0 , a valid reference-successor bound is therefore
E z = max a χ a , max i v i E i , t h ( a ; z t ) , E t c ( a ; z t ) / B 0 .
If χ a = 1 , the unit term covers the possibly discontinuous difference in the bounded goal and predicate coordinates; cost remains bounded separately. Extra modeled successor coordinates require their own error terms. In particular, simply replacing E z by the error of theconditional-meansuccessor is invalid even with perfect rate estimation.
Define E H : = e set + max { M S E p + E S , 2 + L S E z , E S , 2 + L S E z + E S , 0 } , and put ε Q , t fb : = E S , 0 + γ E H . Let a ^ maximize (8), and let a ★ maximize the true-parametersuccess-conditioned unlock surrogate Q t ★ ( a ) = Δ t ★ ( a ) − λ c t ★ ( a ) / B 0 + γ H t ★ ( a ) over the same first-step candidate set. With probability at least 1 − δ on the stated joint event, 0 ≤ Q t ★ ( a ★ ) − Q t ★ ( a ^ ) ≤ 2 ε Q , t fb . An estimated best-versus-second-best gap above 2 ε Q , t fb suffices for the same reference maximizer; if max a Q ^ t ( a ) ≤ 0 , then max a Q t ★ ( a ) ≤ ε Q , t fb . These are conditional,analytically specifiedguarantees, not directly computable runtime certificates unless independent valid upper bounds on heterogeneity, successor-support errors and unmatched-candidate effects are available.
Proof. 
On the event of Theorem 1, (14) and the cost bound yield the current-state score error E S , 0 . The same decomposition at z ^ a gives E S , 2 . Conditional on identical positive-effect supports, the success-conditioned transition is exactly constant in the magnitude of a positive gain or positive predicate-production probability; its remaining continuous errors are the harm attenuation and cost differences. When supports differ, a bounded binary or goal coordinate can change by as much as one, captured by χ a . Thus (17) bounds the implemented success-conditioned successor relative to its true-rate reference. Apply Lemma 1 with e S , 0 = E S , 0 , e S , 2 = E S , 2 , e p = E p , and e z = E z . Combining with the first-step score error gives | Q ^ t ( a ) − Q t ★ ( a ) | ≤ ε Q , t fb uniformly. The estimated maximizer then has reference regret at most twice the bound by the usual three-term comparison; the score-gap and stalled-decision claims follow from the same uniform inequality. □
Scope of the bound. Because the controller’s unlocking factor is a product of prerequisite rates, telescoping that product yields E p ≤ max a , b ∑ r ∈ R ( a , b ) E t r ( a ; z t ) , with gain or predicate rate errors chosen for each requirement. The magnitude of χ a is not generally inferable from finite-sample absolute errors without a strict positive-effect margin; it may remain one even when the errors are small. Likewise, e set depends on the missed or extra candidates and is not provided by the running controller. The theorem requires externally established bounds on these quantities and on within-class heterogeneity. It is a perturbation result for the fixed one-step algorithm, not a guarantee of POMDP optimality or an automatically verifiable runtime action-ranking certificate.
Remark 2. 
Even when the estimation errors vanish, FGAO may miss a deep profitable dependency because the one-step candidate set is restricted. A small feedback error therefore does not imply global optimality or completeness of the selected retrieval plan.

4.3. When Does Feedback Force Source Escalation?

The RAG source hierarchy provides a concrete instance in which optimistic beliefs about a cheap source should be revised after failures. The following result extends the two-action argument to competing KB variants, alternative acquisition actions, and finite budget. It is deliberately conditioned on frozen nonfeedback score components, because FGAO’s actual verification and admissibility state may change after an operation.
Proposition 1 
(Multi-action escalation with residual-budget feasibility). Suppose an escalation episode begins at decision t, with residual budget B t > 0 and T − t execution slots. Consider one unmet binary evidence condition of weight w > 0 and a family K = { K 1 , … , K r } of eligible cheap actions whose normalized gain observations are pooled in one comparison class. After n zero-gain observations, let their nonfeedback score components b j be fixed and their declared priors p j ∈ [ 0 , 1 ] , so that Q ^ K j ( n ) = b j + w ν p j / ( ν + n ) . The displayed ν , p j are interpreted as the effective prior mass and prior rateat the episode start. With n 0 earlier pooled observations having sum A 0 , the very same implemented estimator takes this form exactly after the algebraic substitution ν ← ν + n 0 and p j ← ( ν p j + A 0 ) / ( ν + n 0 ) ; this is notation only, not an estimator change. Let the other eligible actions W have fixed scores q u , and let W ★ ∈ arg max u ∈ W q u have q ★ > 0 . Suppose that these competing actions and their score components remain available and unchanged throughout the episode. Set D j = ( q ★ − b j ) / w .Only if D j > 0 for every j, define the finite strict-dominance threshold
n ★ = max 0 , 1 + max 1 ≤ j ≤ r ν p j D j − 1 .
Then after n ≥ n ★ pooled zero-gain observations, W ★ strictly outscores every remaining K j . Assume the actual cost of every cheap execution is at most c ¯ K > 0 and both the declared affordability cost and realized cost of W ★ are at most c W ★ . The twoepisode-localconditions
n ★ c ¯ K + c W ★ ≤ B t , n ★ + 1 ≤ T − t
are sufficient for W ★ to remain affordable and executable at the threshold. If the only selections before escalation are cheap zero-gain executions, and these remain eligible until that point, the controller selects an alternative no later than its ( n ★ + 1 ) st decision in the episode (possibly earlier).
Proof. 
For D j > 0 , strict dominance Q ^ K j ( n ) < q ★ is equivalent to n > ν ( p j / D j − 1 ) . The integer threshold in (18) ensures this simultaneously for all j. After any k ≤ n ★ cheap executions, the residual budget is at least B t − k c ¯ K , and at most k of the T − t slots have been used. Both inequalities in (19) therefore preserve one available slot and the declared/actual affordability of W ★ at k = n ★ . Until then, either an alternative is chosen already or the assumed cheap zero-gain selection increments the shared feedback count. At n ★ the alternative has the largest score, which is positive, and hence cannot be rejected by the nonpositive-score stopping rule. This is a conditional guarantee for the stated episode, not an unconditional guarantee about arbitrary intervening operations. □
Remark 3 
(Scope of the escalation threshold). If any D j ≤ 0 , the strict threshold n ★ is intentionallyundefined; repeated failures alone do not establish the claimed strict dominance. The residual budget B t , not the original B 0 , must be used at the beginning of any later escalation episode. The result is conditional on fixed scores and availability, a valid cost upper bound, and enough cheap actions to supply the indicated observations. One-shot KB variants can be exhausted earlier; a new candidate, changed verifier state, additional spending, or earlier stopping invalidates the fixed-episode premise. Conditions (19) are sufficient, not necessary.
Corollary 1 
(Pooling and cost of delayed escalation). Suppose the r cheap variants have identical prior p, fixed component b, and actual cost at most c ¯ K . Pooled failed executions decrease the estimated gain ofeveryvariant as ν p / ( ν + n ) . Under exact-signature feedback, a variant not yet executed retains its prior p. Consequently, pooling can force all variants below a fixed alternative score after n ★ total failures, whereas exact-signature feedback may require up to r n ★ failures if each variant remains repeatable. The additional episode budget required by the pooled bound is at most n ★ c ¯ K + c W ★ and must be available from B t with the remaining horizon as in (19); this is conditional on genuine within-class comparability.
Proof. 
The monotonicity of ν p / ( ν + n ) and Proposition 1 give the pooled claim. With separate counts n j , each variant retains ν p / ( ν + n j ) ; reducing all r variants below the same threshold can require ∑ j n j = r n ★ . The cost bound is additive. □
Theorem 3 
(Uniform stochastic escalation with its own feasibility threshold). Consider the fixed candidate scores and episode beginning at ( t , B t ) in Proposition 1. Suppose the common cheap-source feedback stream consists of adaptively selected X j ∈ [ 0 , 1 ] with conditional means μ j ≤ μ ¯ , each conditioned on thecomplete pre-observation historyof Assumption 1. For δ ∈ ( 0 , 1 ) , with probability at least 1 − δ , simultaneously for 0 ≤ n ≤ T and all cheap variants j,
Q ^ K j ( n ) ≤ b j + w ν + n [ ν p j + n μ ¯ + n 2 log 2 ( T + 1 ) δ ] .
Assume D j > μ ¯ for every j; in particular D j > 0 . Define n δ as thesmallestinteger in { 0 , … , T − t − 1 } satisfyingsimultaneouslyfor all j,
n δ ( D j − μ ¯ ) > ν ( p j − D j ) + n δ 2 log 2 ( T + 1 ) δ .
If no such count exists within the residual horizon, set n δ = ∞ and make no finite-horizon escalation claim. If n δ < ∞ and
n δ c ¯ K + c W ★ ≤ B t , n δ + 1 ≤ T − t ,
then, on the same high-probability event, the controller selects an alternative by at most n δ cheap observations (or earlier), provided the fixed-score, availability and cheap-selection premises of Proposition 1 continue to hold. In general n δ may exceed n ★ ; satisfying (19) alone does not imply (22).
Proof. 
Apply the selected-stream concentration argument of Theorem 1 with one pooled stream. Its sum of centered observations is at most ( n / 2 ) log ( 2 ( T + 1 ) / δ ) simultaneously for every n ≤ T ; ∑ j = 1 n μ j ≤ n μ ¯ . Substituting into the common shrinkage estimator yields (20) for all variants, without a separate union bound over j because they share the same feedback observations. Inequality (21) makes every resulting upper score strictly less than q ★ . The independent residual-budget and remaining-horizon conditions (22) guarantee that W ★ is feasible at that stochastic threshold; the same episode induction as Proposition 1 proves selection. The confidence statement is valid for the adaptively attained count because the deviation event is uniform over all counts. □

4.4. Dependency Depth and Macro-Actions

Write a 1 → a 2 → … → a d + 1 for a chain in which a j solely enables a j + 1 for j ≤ d , and only a d + 1 has positive verified goal gain. Call d the number of zero-progress prerequisite edges from the first action to a gain-bearing operation.
Proposition 2 
(Lookahead-depth obstruction). Fix d ≥ 1 . For any controller that credits only paths of at most L < d dependency edges, uses strictly positive execution costs, assigns no intrinsic reward to merely enabled predicates, and stops when all estimated scores are nonpositive, there exists a feasible d-edge chain with positive total terminal net gain on which the controller stalls before executing a 1 .
Proof. 
Construct d preparatory operations with zero change in every verified condition and deterministic enabling of the next operation. Choose small positive costs c j and a final action with deterministic goal gain G > λ ∑ j = 1 d + 1 c j / B 0 . The entire chain then has positive net gain. Yet for L < d , the truncated score of a 1 sees no goal-improving action. Its continuation is zero and its immediate score is − λ c 1 / B 0 ≤ 0 (including λ = 0 ). If it is the only initially admissible operation, the stipulated stopping rule halts before executing it. □
The obstruction is structural, not stochastic. Combining retrieval and generation into a macro-action reduces the number of unseen zero-progress dependencies. Conversely, deeper lookahead may recover a valuable sequence if its predicted discounted gain outweighs the accumulated cost. Neither technique universally resolves long, correlated, or falsely specified dependency chains.

4.5. Stopping, Verification, and Objective Mismatch

Theorem 4 
(Conditional expected stopping time). Let τ be the first time FGAO stops, capped by T < ∞ . Assume Φ ( z t ) ≥ 0 and that there exists a single constant d > 0 such that, for every t < τ ,
E [ Φ ( z t ) − Φ ( z t + 1 ) ∣ h t ] ≥ d .
Then E [ τ ] ≤ Φ ( z 0 ) / d .
Proof. 
For t < T , the event { t < τ } is measurable from h t . Multiplying (23) by its indicator and summing gives d ∑ t = 0 T − 1 P ( t < τ ) ≤ E [ Φ ( z 0 ) − Φ ( z τ ) ] ≤ Φ ( z 0 ) by telescoping and nonnegativity. Since ∑ t = 0 T − 1 P ( t < τ ) = E τ , the result follows. □
Remark 4. 
Theorem 4 does not assert that FGAO always satisfies (23); failures, costly preparatory steps and verification noise can violate positive drift. The bound applies to stopping foranyreason, not necessarily successful completion.
Proposition 3 
(Terminal false-acceptance bound). Suppose that at the algorithm’s (possibly adaptive) stopping time τ, each mandatory verifier i satisfies thejointerror bound P { verifier i accepts at τ , g i is false at τ } ≤ α i . Then, writing E false for the event that success is reported while some mandatory goal is false, P ( E false ) ≤ ∑ i ∈ M α i .
Proof. 
Every falsely reported success includes at least one accepted but false mandatory goal. Apply the union bound to these events. □
Every execution of the support verifier is an action with positive recorded cost and may be ruled out by residual-budget feasibility. The terminal joint-error assumption is stronger than evaluating a verifier once on nonadaptively selected data; repeated prompting and adaptive selection can increase error. If two checks share the same wrong judgment almost surely, repeating the check does not square its false-positive probability. This is consistent with the negative v3 corroboration experiment in Section 5.2.
Corollary 2 
(Charged, adaptively repeated verification). Let M f ⊆ M be the fallible mandatory verifiers; all other mandatory checks are assumed exact. A verification is invalidated whenever a change to the answer or evidence could invalidate the verified condition, so every accepted terminal condition has a still-valid corresponding invocation. Suppose each invocation of verifier i ∈ M f has realized cost at least c i , min > 0 . Conditional on every history at which it is invoked, assume its probability of jointly accepting a false condition is at most α i , with no independence required across calls. Let N i count its invocations before termination, and suppose every invocation is budget-charged. For the event E false defined above, P ( E false ) ≤ ∑ i ∈ M f α i E [ N i ] . Moreover, E [ N i ] ≤ min { T , ⌊ B 0 / c i , min ⌋ } for each i, so the corresponding sum of these budget-limited terms also bounds the false-success probability.
Proof. 
By the validity/invalidation condition and exactness of the remaining mandatory checks, every false success entails a false acceptance at some invoked i ∈ M f . For each step, condition on its pre-invocation history and use the assumed joint-error bound. Summing these predictable call events gives at most ∑ i α i E [ N i ] , without relying on independence. The budget and horizon bound the number of charged invocations of each verifier. □
Remark 5. 
The per-invocation conditional error assumption is stronger than an error rate measured on a fixed held-out sample. In particular, the same LLM examiner evaluated on adaptively modified evidence need not satisfy it. The bound quantifies the cost of repeated checksunderthat assumption; it does not certify the Sonnet support checker.

4.6. Objective Transfer and Answer–Abstain Decisions

Proposition 4 
(Surrogate transfer with explicit cost units). Suppose the true terminal utility satisfies U q ( z ) = u 0 − α Φ ( z ) + e ( z ) for all feasible terminal states, with α > 0 and | e ( z ) | ≤ κ . Let policies have cumulative realized cost C π ≤ B 0 almost surely. Define
J ( π ) = E [ U q ( z τ ) − λ 0 C π ] , J sur ( π ) = E [ u 0 − α Φ ( z τ ) − α λ C π / B 0 ] .
For any feasible π ^ , write its surrogate policy gap as ε pol : = sup π J sur ( π ) − J sur ( π ^ ) and define the cost-coefficient mismatch d c : = | λ 0 − α λ / B 0 | . Then sup π J ( π ) − J ( π ^ ) ≤ ε pol + 2 κ + 2 B 0 d c . If λ = λ 0 B 0 / α , the cost mismatch vanishes. No bound on ε pol for FGAO follows solely from local score stability.
Proof. 
For each policy, subtract the two objectives in (24). The absolute difference is at most κ + B 0 | λ 0 − α λ / B 0 | by the terminal approximation and budget bound. Apply this inequality to a true-optimal policy and π ^ , and insert the definition of ε pol . The normalized FGAO stage cost λ c / B 0 is in deficiency units; the terminal surrogate is multiplied by α , giving the factor α λ / B 0 . □
Remark 6. 
This is an objective-comparison statement, not a proof of global optimality. The exact identity (3) supports the undiscounted cumulative-progress surrogate, but truncated continuation and local greedy selection need not minimize expected terminal deficiency. A small error κ does not make the unquantified policy gap ε pol disappear.
Proposition 5 
(Answer–abstain threshold and useless corroboration). Let p be a calibrated conditional probability that a candidate answer is correct, with correctness payoff 1, wrong-answer loss c w > 0 and abstention payoff 0. In thesecorrectness-payoff units, answering without another observation is preferable to abstaining exactly when p > c w / ( 1 + c w ) . Let η ≥ 0 be the cost coefficientin these payoff units per normalized full budget. If a proposed paid verification costs c v , is affordable ( c v ≤ B t ) and fits one remaining execution slot, and yields a calibrated posterior p O , then its net value of information is
VOI ( O ) = E ( 1 + c w ) p O − c w + − ( 1 + c w ) p − c w + − η c v / B 0 .
If p O = p almost surely, then VOI ( O ) = − η c v / B 0 , negative if η , c v > 0 and zero if η = 0 or c v = 0 .
Proof. 
Answering has expected payoff p − c w ( 1 − p ) = ( 1 + c w ) p − c w ; abstaining gives zero. Following the observation one can select the better of the two actions at the updated posterior, giving the first term in (25). Deduct the best pre-observation payoff and the budget-normalized cost in the same payoff units. If p O = p almost surely, the information terms cancel. No independence between verification attempts is used. □
Remark 7 
(Cost-unit identification and limitation). The coefficient η is intentionally distinct from the FGAO controller’s deficiency-unit coefficient λ. Under the additional affine surrogate normalization U q = u 0 − α Φ + e of Proposition 4, choosing the same normalized cost tradeoffin utility unitswould set η = α λ (equivalently λ 0 = η / B 0 ). Absent that calibration, no numerical equality between η and λ is justified. The proposition concerns an ideal calibrated posterior and interprets the optional v3 experiment; v2 does not calculate such posteriors. Correlated checks can have negligible additional information, and the v2 support check itself is a charged action, not a free oracle.
These results distinguish the cost coefficient in deficiency units from the correctness-payoff coefficient and characterize the limited value of correlated corroboration; neither result asserts that the v2 policy solves the corresponding Bayes decision problem.

4.7. Complexity and Parallel Operations

Let n t be the number of admissible affordable actions, m the number of conditions, and E t the total number of action-effect evaluations (including continuation rescoring). With O ( m ) per effect evaluation, the arithmetic scoring cost is O ( m E t ) ; if each first-step action explores at most L continuation candidates, E t ≤ n t ( 1 + L ) and
T select = O n t m ( 1 + L ) .
Deterministic and stochastic continuation may require additional evaluations; enumerating r binary effect dimensions costs up to 2 r predicted successors. The measured implementation caps r at six. Equation (26) excludes LLM inference, retrieval, verification, candidate enumeration, and data transfer. If n t itself scales proportionally to m, the total is quadratic in m, not linear.

4.8. Parallel Operation Batches

Proposition 6 
(Commutativity of genuinely independent batches). Suppose two admissible operations act on disjoint goal/predicate coordinates, have no cross-action preconditions or shared mutable resources, and their joint outcome law factors conditionally on the starting state. If both are executed regardless of intermediate observations, either sequential ordering and concurrent execution yield the same distribution of final recorded coordinates and the same total additive cost.
Proof. 
The updates modify disjoint coordinates and hence commute. The product outcome distribution is invariant to execution order, and addition of costs is commutative. □
Remark 8. 
Proposition 6 concerns afixed batch, not the adaptive policy: sequential FGAO might change the second decision after observing the first. Unverified independence declarations and loss of within-batch feedback can reduce success even when elapsed time decreases.

4.9. Additional Structural Limitations

Proposition 7 
(Ratio continuation can reward null actions). Suppose γ > 0 and two candidate actions a and b have equal, positive absolute continuation estimate H ^ = H 0 > 0 . Let Δ ^ ( a ) = 0 , c ^ ( a ) = ε > 0 , and Δ ^ ( b ) = G > 0 , c ^ ( b ) = 1 . The ranking ( Δ ^ + γ H ^ ) / c ^ selects a for all sufficiently small ε, despite a contributing zero immediate gain. In contrast, the additive rule (8) selects b if G > λ ( 1 − ε ) / B 0 .
Proof. 
The ratio scores are γ H 0 / ε and G + γ H 0 . The first tends to infinity as ε ↓ 0 . The additive scores are γ H 0 − λ ε / B 0 and G + γ H 0 − λ / B 0 ; subtracting them gives the stated inequality. □
The proposition diagnoses the extreme failures of ratio ranking in Table 9 with absolute continuation estimates. It does not imply that ratios are universally inferior: the same ablation is benign when the continuation is restricted to marginally unlocked actions.
Proposition 8 
(Optional conditions can dominate mandatory completion). For every ε ∈ ( 0 , 1 / 2 ) there exists a unit-budget two-condition task with one mandatory condition of weight ε and one optional condition of weight 1 − ε , where a greedy policy maximizing immediate weighted progress completes the optional condition and fails the mandatory task, although successful completion was feasible.
Proof. 
Start with both binary conditions at zero. Let action a M satisfy the mandatory condition and action a O satisfy the optional condition. Give each cost one and allow exactly one call. Their predicted gains are ε and 1 − ε . The greedy policy chooses a O and fails; a M would have succeeded. □
This explains why the optional-weight parameter must be documented independently of the mandatory success predicate. Weighted deficiency is a progress surrogate, not a complete representation of discrete feasibility.

5. Experiments

5.1. Protocol and Provenance

The experimental archive is separately deposited on Zenodo [18]; the software repository [19] does not host the dump. Frozen configurations, cached responses, per-instance traces and aggregation scripts support metric reproduction, not an independent replay of every original model call. Synthetic hyperparameters were selected on 300 distinct tuning seeds (10000–10299): deterministic ( λ , ν ) = ( 0 , 2 ) , stochastic ( . 05 , 2 ) , and unlock ( . 1 , 4 ) , each with γ = . 9 and optional-condition mass . 1 . The principal plan-and-execute baseline uses five retries; fixed workflow uses eight. Test seeds are disjoint. Success denotes completion of mandatory conditions, not minimum deficiency. Exact McNemar tests and 95% intervals are reproduced from the archive.
The RAG experiment uses SQuAD 2.0 [22], the same Sonnet serving path and declared (not monetary) operation costs. The final, distinct sample comprises 100 matched questions (75 answerable, 25 unanswerable); 30 answerable items require a secondary BM25 passage index [2], not live internet access. The original 48 plus 52 added items form this sample; earlier samples 0 and 1 (48 each) informed v2 and v3 respectively. Neither prompted CRAG nor prompted Self-RAG replicates the original learned evaluator or reflection-token model. The exact Sonnet model release and per-call token/latency records were not preserved.

5.2. Matched RAG Comparison

Table 1 reports 76/100 exact matches for FGAO v2 versus 72/100 for CRAG-style (eight paired wins, four losses; p = . 39 ), 56/100 for vanilla RAG (22 wins, two losses; p ≃ 3.6 × 10 − 5 ), and 58/100 for prompted Self-RAG (21 wins, three losses; p ≃ 2.8 × 10 − 4 ). The FGAO v2 point-estimate advantage over CRAG is not statistically established or cost-dominant: v2 incurs 8.475 instead of 7.460 declared units/query (13.6% more). On secondary-only questions, CRAG correctly answers 20/30 versus FGAO v2’s 18/30; on unanswerable questions, v2/CRAG/Self-RAG abstain correctly on 18/25, 15/25 and 20/25. The 48+52 subcomparison and historical development samples are detailed in Section 5.7.1.
V3 reaches 77/100 EM and 20/25 correct abstentions but costs 11.355 units/query (34.0% above v2) and 531 versus 436 calls. It has only two paired EM wins and one loss against v2 ( p = 1 ). On the earlier 48-question evaluation it improved neither EM nor abstention while costing 39.2% more; repeated support assessments were correlated (23/24 agreements). This is evidence about the limits of extra corroboration, not proof of general verifier independence or accuracy; cf. Proposition 3.

5.3. HTTP Service

The public Docker interface is described in Section 3.5. A separate test sent 144 requests to three local FGAO v2 HTTP instances, not to the Hugging Face Space. All returned HTTP 200; earlier sample runs reproduced saved answers, operations and costs. The third local 48-query subset obtained EM .708 and cost 8.17/query. These responses validate the tested API path, not long-term availability or answer correctness; full service results appear in Table 4.

5.4. Controlled Synthetic Studies

The latent synthetic truth evaluates prerequisite handling, regressions, unreliable outcomes, and operation costs but is never revealed to the controller. Over 1,000 held-out episodes, FGAO unlock completes .943 versus .925 for a tuned verified planner (paired p = . 11 ). Oracle priors reach .961 but are inaccessible in operation; the ReAct proxy is rule-based rather than a real LLM controller.
Table 2. Synthetic benchmark (1,000 held-out instances). Budget used is the mean fraction consumed. Overhead measures controller time outside environment execution.
Table 2. Synthetic benchmark (1,000 held-out instances). Budget used is the mean fraction consumed. Overhead measures controller time outside environment execution.
Method Success 95% CI Budget
fraction
Calls Failed-call
recovery
Overhead
(ms/call)
Random .015 [.009,.025] .99 23.1 .482 .062
Fixed workflow (8 retries) .574 [.543,.604] .59 14.6 .617 .019
ReAct proxy (self-report) .083 [.067,.102] .40 9.7 .167 .097
ReAct proxy + verifier .176 [.154,.201] .42 9.9 .301 .092
Plan-and-execute (5 retries) .925 [.907,.940] .62 15.1 .952 .087
Greedy, prior only .021 [.014,.032] .49 9.6 .636 .251
Greedy, feedback, no lookahead .026 [.018,.038] .41 7.9 .776 .499
FGAO deterministic continuation .936 [.919,.950] .64 14.1 .908 .972
FGAO stochastic continuation .938 [.921,.951] .63 14.1 .914 1.035
FGAO unlock continuation .943 [.927,.956] .63 14.0 .926 .764
Oracle-prior reference .961 [.947,.971] .56 12.5 .974 .565
The graphical counterpart is in Figure 1. Table 9 isolates adaptation and short lookahead. Removing feedback lowers unlock success from .943 to .729; removing lookahead lowers it to .026. Tool-type pooling lowers it to .864. Removing the explicit cost penalty has little effect on this synthetic success metric; ratio ranking can fail for alternative continuation forms.

5.5. Budgets, Dependencies, and Real Execution

At budget slack 2.0, unlock FGAO completes .960 versus .917 for the tuned planner; at slack 1.0 the planner does better (Table 5). At .70 misleading self-report rate, unlock succeeds .920 versus .620 without feedback (Table 6). In the depth-two preparatory chain, depth-one variants complete .106 of 500 tasks while depth-two unlock and the planner reach .956; this supports the obstruction in Proposition 2 without establishing general planning optimality.
The 200 real-file workspaces execute actual load/clean/summarize operations. Unlock and stochastic lookahead each complete 100%; however, the verified planner with zero retries also reaches 100% at lower budget fraction (.60 versus .78). Transferring the tuned five-retry planner setting yields only .110. Alternate lookahead forms are sensitive to parameter transfer.
Table 3. Real-file benchmark (200 workspaces), transferred parameters.
Table 3. Real-file benchmark (200 workspaces), transferred parameters.
Method Success Budget fraction
Fixed workflow (8 retries) .000 .59
Plan-and-execute (5 retries) .110 .98
Plan-and-execute (0 retries) 1.000 .60
Greedy without lookahead .000 .30
FGAO deterministic .975 .80
FGAO stochastic 1.000 .78
FGAO unlock 1.000 .78
FGAO unlock without feedback .000 1.00
FGAO deterministic at unlock parameters .495 .85
FGAO stochastic at unlock parameters .445 .98
FGAO stochastic, raw-delta estimator .100 1.00

5.6. Imperfect Verification, Overhead, and Parallelism

The noisy-verifier results in Table 10 demonstrate why a repeated LLM judgment is not a correctness certificate [14,16]. V3 reduces wrong outcomes in these different synthetic and file regimes, at additional confirmation cost; this improvement does not generalize to the near-duplicate natural-language support checks.
The arithmetic decision time is 31.7 ms for unlock at 64 goals, excluding tool inference and retrieval (Table 7). Conditional on independent resources and outcome effects, parallelism can shorten makespan; nevertheless, batching removes intervening feedback and may lower success, as Table 8 demonstrates. The fixed-batch mathematical statement is Proposition 6.

5.7. Historical and Extended Experimental Analyses

5.7.1. Historical RAG Samples

The 100-question sample 2 combines its initial 48 questions with 52 subsequently added questions. On the initial 48 alone, FGAO v2/CRAG/FGAO v3 score 34/31/33 correct; on the added 52 they score 42/41/44, respectively. The latter split does not constitute an independent benchmark with separately tuned controllers. Sample 0 (48 questions) informed the v2 design and yields FGAO v2 EM .750 versus CRAG .604; sample 1 (48 questions) informed v3 and yields FGAO v2 EM .708 versus CRAG .667. Neither historical subset is presented as a new independent confirmatory evaluation.

5.7.2. HTTP-Service Response Replication

Table 4. HTTP-service replication: FGAO v2 only; 48 queries per sample.
Table 4. HTTP-service replication: FGAO v2 only; 48 queries per sample.
Sample EM F1 Secondary-only EM Abstain Cost/q
0 (matched) .750 .808 .533 .917 9.12
1 (matched) .708 .764 .615 .583 8.08
2 (initial 48) .708 .729 .462 .667 8.17

5.7.3. Budget Sensitivity

Table 5. Success versus relative budget slack (300 trials per setting).
Table 5. Success versus relative budget slack (300 trials per setting).
Slack Plan Det. Stoch. Unlock No feedback
1.00 .277 .223 .227 .243 .210
1.25 .543 .543 .570 .600 .467
1.50 .747 .787 .763 .770 .617
2.00 .917 .950 .910 .960 .743
3.00 .977 .997 .987 .993 .797
4.00 .977 .997 .990 .993 .863

5.7.4. Misleading Self-Reports

Table 6. Synthetic success versus probability of misleading tool self-reports (300 trials per setting).
Table 6. Synthetic success versus probability of misleading tool self-reports (300 trials per setting).
Overclaim Plan Det. Stoch. Unlock No feedback
.00 .987 .963 .960 .973 .970
.20 .943 .973 .957 .950 .827
.35 .917 .950 .910 .960 .743
.50 .923 .930 .927 .933 .680
.70 .887 .917 .947 .920 .620

5.7.5. Controller Selection Overhead

Table 7. Controller scaling (mean μ s per decision); n t grows with the number m of conditions.
Table 7. Controller scaling (mean μ s per decision); n t grows with the number m of conditions.
m n t (unlock) Unlock Determ. Stoch. E t (unlock)
4 6.8 219 417 368 16.1
8 14.4 687 911 986 34.3
16 28.7 2263 3169 3198 67.6
32 58.4 9111 10354 11578 141.2
64 117.7 31684 39930 39207 279.0

5.7.6. Parallel Execution

Table 8. Parallel evaluation: success and makespan relative to sequential FGAO. These seeds are distinct from the main synthetic table.
Table 8. Parallel evaluation: success and makespan relative to sequential FGAO. These seeds are distinct from the main synthetic table.
Domain Policy Success Makespan ratio
Synthetic (1,000) Sequential .930 1.00
Naive K = 4 .798 .74
Independent K = 4 .884 .78
Real-file (200) Sequential 1.000 1.00
Naive K = 4 .505 .71
Independent K = 4 1.000 .78

5.8. Controller Ablations and Noisy-Verifier Outcomes

5.8.1. Full Controller Ablations

Table 9. Ablations on 1,000 synthetic test instances: reported values are success probabilities. Hyperparameters were tuned on separate seeds.
Table 9. Ablations on 1,000 synthetic test instances: reported values are success probabilities. Hyperparameters were tuned on separate seeds.
Change relative to each variant Deterministic Stochastic Unlock
Full FGAO .936 .938 .943
Without lookahead (greedy with feedback) .026 .026 .026
Without feedback .727 .724 .729
Without cost penalty ( λ = 0 ) .936 .940 .944
Tool-type feedback matching .861 .837 .864
Raw-delta effect estimator .935 .939 .945
Original task weights (no optional mass adjustment) .856 .856 .837
Progress/cost ranking .004 .008 .946
Exploration bonus ( β = . 01 ) .811 .934 .946

5.8.2. Noisy-Verifier Decision Outcomes

Table 10. Correct / wrong / abstain under noisy verification. V3 uses explicit terminal decisions with wrong-answer penalty 1.
Table 10. Correct / wrong / abstain under noisy verification. V3 uses explicit terminal decisions with wrong-answer penalty 1.
Domain and policy Correct Wrong Abstain
Synthetic, v2 (1,000) .164 .554 .282
Synthetic, v3 (1,000) .558 .079 .363
Real-file, v2 (200) .130 .470 .400
Real-file, v3 (200) .360 .125 .515

5.9. Detailed Experimental Aggregates

Table 11. RAG sample 0 (development-context sample), 48 questions. Strict output policy.
Table 11. RAG sample 0 (development-context sample), 48 questions. Strict output policy.
Method EM F1 Secondary EM Abstain
Vanilla RAG .583 .617 .133 .667
CRAG-style .604 .686 .600 .333
Self-RAG-style .500 .587 .267 .500
FGAO v1 unlock .583 .603 .000 .917
FGAO v2 unlock .750 .808 .533 .917
Table 12. Subset of tuned success rates over prior strength ν and cost weight λ (300 tuning seeds; unlock continuation, optional mass .1).
Table 12. Subset of tuned success rates over prior strength ν and cost weight λ (300 tuning seeds; unlock continuation, optional mass .1).
λ ν = 2 ν = 4 ν = 8
.00 .907 .917 .887
.05 .913 .920 .887
.10 .923 .927 .890
.25 .920 .913 .887
Table 13. Noisy verification: wrong-answer penalty sweep for v3 explicit terminal decisions. Synthetic n = 1 , 000 ; real-file n = 200 .
Table 13. Noisy verification: wrong-answer penalty sweep for v3 explicit terminal decisions. Synthetic n = 1 , 000 ; real-file n = 200 .
Synthetic Real-file
c w Correct Wrong Abstain Correct Wrong Abstain
.25 .423 .227 .350 .150 .440 .410
1 .558 .079 .363 .360 .125 .515
4 .511 .050 .439 .320 .045 .635
19 .448 .004 .548 .275 .005 .720
Table 14. Selective validation and completion coverage. The first panel gives real-execution verified versus unverified planner comparison.
Table 14. Selective validation and completion coverage. The first panel gives real-execution verified versus unverified planner comparison.
200-workspace execution Success False claims
Plan/execution, self-report .000 200
Plan/execution, verified 1.000 0
FGAO unlock, verified 1.000 0

5.10. Implementation and Model-Use Boundaries

The software comprises a pure arithmetic controller and independently pluggable RAG operations. The controller’s effect updates require observed condition values and reported cost, not LLM-derived policy scores. The RAG operation layer used here nevertheless invokes Sonnet for rewriting, relevance grading, generation, and a separate support judgment. Consequently “model-free” denotes no trained orchestration model, not absence of a generative language model. The support judgment is a fallible observation channel. The implementation’s optional explorative bonus, deeper lookahead, and parallel batches are extensions of the same numerical decision rule, not separately trained variants.
For numerical-result reproduction, the separately published experimental archive [18] contains per-instance records, cached Sonnet prompt–response pairs, and table/figure-generation scripts. The public software repository does not contain this experimental dump. The exact resolved Sonnet release and complete historical inference harness are not preserved, so a fresh model-service replay cannot be guaranteed. The packaged public API may also serve new queries, but the demonstrated results remain conditional on the archived question split, prompts, retrieval collection, cached responses, and serving conditions. Replacing the generator or evaluator requires new benchmarks rather than recycling the same answer scores.

5.11. Interpretation and Reproducibility

The archive [18] preserves raw experimental metrics, frozen configurations, action traces, cache records and figure/table scripts. Its missing resolved Sonnet release and complete original serving harness limit model-level replay. The numerical advantages over CRAG remain nonsignificant; the real-file planner may be cheaper; and correlated verification can waste budget. Released interfaces beyond the benchmark configuration are engineering capabilities rather than separately validated algorithms.

6. Discussion and Conclusions

FGAO treats budgeted RAG operation selection as explicit cost-sensitive feedback control over externally verifiable progress, rather than a claim to Bellman-optimal planning. Under stated assumptions, the analysis bounds adaptive estimator errors, selection and unlock-continuation perturbations, retrieval-source escalation and stopping. The matched 100-question RAG results favor v2 over prompted comparators in point accuracy, but its gain over CRAG is nonsignificant and costs 13.6% more. Mechanism-isolating ablations show that feedback and dependency-aware continuation matter for the tested distributions; a tuned verified planner can be cheaper on real-file tasks, and extra corroboration may be wasteful. The model-independent Python framework and public Docker API expose these decisions and traces [19,20], while the experimental archive is separately citable [18]. Reliable context-specific effect estimation and error-controlled verification remain open limitations.

References

  1. Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Kuttler, H.; Lewis, M.; tau Yih, W.; Rocktaschel, T.; et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Proceedings of the Advances in Neural Information Processing Systems, 2020, Vol. 33, pp. 9459–9474.
  2. Robertson, S.; Zaragoza, H. The Probabilistic Relevance Framework: BM25 and Beyond. Found. Trends Inf. Retr. 2009; 3, pp. 333–389. [CrossRef]
  3. Karpukhin, V.; Oguz, B.; Min, S.; Lewis, P.; Wu, L.; Edunov, S.; Chen, D.; tau Yih, W. Dense Passage Retrieval for Open-Domain Question Answering. In Proceedings of the Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2020, pp. 6769–6781. [CrossRef]
  4. Izacard, G.; Grave, E. Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering. In Proceedings of the Proceedings of the European Chapter of the Association for Computational Linguistics, 2021, pp. 874–880. [CrossRef]
  5. Liu, N.F.; Lin, K.; Hewitt, J.; Paranjape, A.; Bevilacqua, M.; Petroni, F.; Liang, P. Lost in the Middle: How Language Models Use Long Contexts. Trans. Assoc. Comput. Linguist. 2024, 12, 157–173. [Google Scholar] [CrossRef]
  6. Yan, S.Q.; Gu, J.C.; Zhu, Y.; Ling, Z.H. Corrective Retrieval Augmented Generation. In Proceedings of the Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026. Association for Computational Linguistics, 2026, pp. 2991–3003. [CrossRef]
  7. Asai, A.; Wu, Z.; Wang, Y.; Sil, A.; Hajishirzi, H. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection. In Proceedings of the International Conference on Learning Representations, 2024.
  8. Jiang, Z.; Xu, F.; Gao, L.; Sun, Z.; Liu, Q.; Dwivedi-Yu, J.; Yang, Y.; Callan, J.; Neubig, G. Active Retrieval Augmented Generation. In Proceedings of the Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 2023; pp. 7969–7992. [Google Scholar] [CrossRef]
  9. Trivedi, H.; Balasubramanian, N.; Khot, T.; Sabharwal, A. Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questions. In Proceedings of the Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2023, pp. 10014–10037. [CrossRef]
  10. Jeong, S.; Baek, J.; Cho, S.; Hwang, S.J.; Park, J. Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexity. In Proceedings of the Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 2024, pp. 7036–7050. [CrossRef]
  11. Yao, S.; Zhao, J.; Yu, D.; Du, N.; Shafran, I.; Narasimhan, K.R.; Cao, Y. ReAct: Synergizing Reasoning and Acting in Language Models. In Proceedings of the International Conference on Learning Representations, 2023. [Google Scholar]
  12. Kaelbling, L.P.; Littman, M.L.; Cassandra, A.R. Planning and Acting in Partially Observable Stochastic Domains. Artif. Intell. 1998, 101, 99–134. [Google Scholar] [CrossRef]
  13. Golovin, D.; Krause, A. Adaptive Submodularity: Theory and Applications in Active Learning and Stochastic Optimization. J. Artif. Intell. Res. 2011, 42, 427–486. [Google Scholar] [CrossRef]
  14. Saad-Falcon, J.; Khattab, O.; Potts, C.; Zaharia, M. ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems. In Proceedings of the Proceedings of NAACL-HLT; 2024; pp. 338–354. [Google Scholar] [CrossRef]
  15. Es, S.; James, J.; Anke, L.E.; Schockaert, S. RAGAs: Automated Evaluation of Retrieval Augmented Generation. In Proceedings of the Proceedings of EACL: System Demonstrations, 2024, pp. 150–158. [CrossRef]
  16. Manakul, P.; Liusie, A.; Gales, M. SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models. In Proceedings of the Proceedings of the Conference on Empirical Methods in Natural Language Processing, 2023; pp. 9004–9017. [Google Scholar] [CrossRef]
  17. Dhuliawala, S.; Komeili, M.; Xu, J.; Raileanu, R.; Li, X.; Celikyilmaz, A.; Weston, J. Chain-of-Verification Reduces Hallucination in Large Language Models. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2024, 2024, pp. 3563–3578. [CrossRef]
  18. Majumdar, A. FGAO: Feedback-Greedy Agentic Orchestration — Experimental Dataset and Reproducibility Archive. In Zenodo research data record; 2026. [Google Scholar] [CrossRef]
  19. Majumdar, A. FGAO: Feedback-Greedy Agentic Orchestration, Public Software Repository. 2026. Available online: https://github.com/AngshulMajumdar/FGAO (accessed on November 2026).
  20. Majumdar, A. FGAO API: Public Docker Deployment on Hugging Face Spaces. 2026. Available online: https://huggingface.co/spaces/Angshul/FGAO-API (accessed on November 2026).
  21. Hoeffding, W. Probability Inequalities for Sums of Bounded Random Variables. J. Am. Stat. Assoc. 1963, 58, 13–30. [Google Scholar] [CrossRef]
  22. Rajpurkar, P.; Jia, R.; Liang, P. Know What You Don’t Know: Unanswerable Questions for SQuAD. Proceedings of the Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics 2018, Vol. 2, 784–789. [Google Scholar] [CrossRef]
Figure 1. Synthetic benchmark success with 95% Wilson confidence intervals (1,000 instances), reproduced from the fixed evaluation archive. The oracle uses true environment parameters. “ReAct proxy” is not an LLM ReAct implementation.
Figure 1. Synthetic benchmark success with 95% Wilson confidence intervals (1,000 instances), reproduced from the fixed evaluation archive. The oracle uses true environment parameters. “ReAct proxy” is not an LLM ReAct implementation.
Preprints 246049 g001
Table 1. Matched RAG evaluation, SQuAD 2.0 sample 2 (100 questions: 75 answerable, 25 unanswerable; 30 require the secondary index). Shared Sonnet prompt-serving procedure, retrieval corpora, costs, and budget B 0 = 16 . “Cost” is in declared operation units.
Table 1. Matched RAG evaluation, SQuAD 2.0 sample 2 (100 questions: 75 answerable, 25 unanswerable; 30 require the secondary index). Shared Sonnet prompt-serving procedure, retrieval corpora, costs, and budget B 0 = 16 . “Cost” is in declared operation units.
Method EM F1 Answerable
EM
Secondary
only EM
Correct
abstain
Cost per
query
Total tool
calls
Vanilla RAG .560 .570 .547 .033 .600 3.00 200
CRAG-style .720 .762 .760 .667 .600 7.46 382
Self-RAG-style .580 .615 .507 .133 .800 13.08 696
FGAO v1 (unlock) .580 .594 .533 .000 .720 9.21 525
FGAO v2 (unlock) .760 .786 .773 .600 .720 8.48 436
FGAO v3 (corroboration) .770 .796 .760 .600 .800 11.36 531
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.