Conceptio › Archive › arXiv CS
arXiv CS open access

ProCAP: Decomposing Credit Assignment for Long-Horizon Agentic Reinforcement Learning

Weihong Zhong et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
artificial-intelligenceknowledge-representationreasoning
Long-horizon language-model agents must coordinate dozens of local decisions toward a single delayed outcome. While the recent de facto method, Group Relative Policy Optimization (GRPO), avoids a learned critic, it broadcasts one episode-level advantage uniformly across every turn, obscuring which a
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

November 27, 2026

ProCAP: Decomposing Credit Assignment for Long-Horizon Agentic Reinforcement Learning

arXiv:2611.37624v1 [cs.AI] 27 Nov 2026

Weihong Zhong† Xuan Luo† Mao Zheng† Mingyang Song† Xiaocheng Feng‡ Bing Qin⋄ † Tencent Hunyuan ‡ Shanghai AI Lab ⋄ Shenzhen Loop Area Institute Email: {evanwhzhong, ttssxuanluo, moonzheng, nickmysong}@tencent.com, fengxiaocheng1988@gmail.com, bingqin@slai.edu.cn

Abstract Long-horizon language-model agents must coordinate dozens of local decisions toward a single delayed outcome. While the recent de facto method, Group Relative Policy Optimization (GRPO), avoids a learned critic, it broadcasts one episode-level advantage uniformly across every turn, obscuring which actions helped or harmed the trajectory. Existing turn-level process rewards offer finer supervision, yet reducing each turn to a single score or label blurs a fundamental distinction: an action can advance a subgoal while simultaneously violating core task requirements. To resolve this tension, we introduce ProCAP, a process reward framework that decomposes turn-level credit assignment into multidimensional behavioral assessment and principled, rule-based attribution. Drawing on multidimensional models of human work performance, ProCAP evaluates Compliance with task constraints, Adaptation to available information, and Progress beyond the current state as separate, non-exclusive dimensions. To operationalize these dimensions, ProCAP pairs a frozen LLM judge that assigns categorical turn-level labels from the task and preceding interaction with programmatic checks for execution errors and repeated failures. An explicit attribution layer aggregates these signals into bounded turn credits, directly capping credit whenever Compliance or execution fails, and combines them with GRPO’s outcome advantages. Across AppWorld, ClawGym, and PinchBench at 4B and 9B scales, ProCAP yields consistent gains, outperforming GRPO by 4.1 and 9.9 points and the strongest processreward baseline by 5.9 and 5.4 points in overall average score, respectively.

1

Introduction

In long-horizon agentic tasks, a single binary or scalar outcome arrives only after dozens of intermediate tool calls and reasoning steps. Successful trajectories frequently contain redundant or flawed actions, whereas failed trajectories often contain genuine diagnostic progress. Outcome-only methods such as Group Relative Policy Optimization (GRPO) (Shao et al., 2024) broadcast a single episode-level advantage to every generated token, leaving intra-trajectory credit assignment unresolved—and producing zero outcome gradient whenever all sampled episodes in a group achieve the same final score. Turn-level process supervision addresses this granularity gap along two main paradigms. Structural and verifier-based methods propagate outcome credit through shared states across rollouts (Wang et al., 2026d; Feng et al., 2025b) or executable environment checks (Li et al., 2026), while semantic methods employ LLM judges to evaluate turns in context. Among judge-based approaches, some assign each turn a single exclusive role mapped to a fixed credit (Xu et al., 2026), others aggregate multiple criteria into scalar scores, gates, or trajectory-level feedback (Wang et al., 2026b; Ding, 2026; Tian et al., 2026), and rubric-driven variants operate without turn-level judging (Zhang et al., 2026; Gandhi et al., 2026). Yet real agent turns are rarely unidimensionally good or bad. In Figure 1(a), an agent instructed to remove a song from every playlist deletes it cleanly from one playlist while overlooking a 1

Preprint.

Task: remove old songs from every playlist

Qwen3.5-9B

Previously observed: song 207 is in playlists 448 and 446. execution Agent

no error

playlist 448 207 removed

playlist 446 207 missed

Single verdict

ProCAP: three checks

Removed from 448

Compliance: Meets requirements applicable now? Aligned: requested deletions; no completion claim.

Still in 446 One overall judgment Not explicit: Scope, evidence use, and partial progress.

80

70.6 73.5 61.7

60

Adaptation: Uses prior observations? Observed: 448 and 446 → Stored: 448 Misuse: discards a known playlist association. Progress: What changed? Progress: removal from playlist 448 is retained.

Partial progress and information misuse coexist. Separate assessments preserve both signals.

(a) Successful execution, (a) Partially successful execution, mixed behavioral signals mixed behavioral signals

GRPO ProCAP

TRIAGE Goal completion (%)

40

55.9

59.0

42.6

40.5 23.1

20 0

TGC

SGC

(b) Task and scenario completion rates

Figure 1: (a) Partial progress and information misuse in a playlist-deletion turn. A singlevalued song-to-playlist mapping discards one of two observed playlist associations. The deletion succeeds and its result is retained, while the other association remains. Separate assessments preserve both signals. (b) Held-out task (TGC) and scenario (SGC) goal completion for Qwen3.5-9B on AppWorld, pooling normal and challenge splits. second playlist it had already observed. The deletion executes successfully and produces retained partial progress, while storing only one playlist per song discards a previously observed playlist association. The same turn therefore provides positive evidence of Progress and negative evidence of Adaptation. This example exposes a central design question for process supervision: which behavioral evidence should be preserved, and how should conflicting evidence govern learning credit? We argue that turn-level credit assignment should be explicitly decomposed along two axes: first, separating behavioral assessment (identifying what a turn achieved and where it fell short) from credit attribution (deciding how those findings shape policy updates); and second, factoring assessment itself into distinct, non-exclusive behavioral dimensions. Separate assessments preserve both the retained progress and the information-use error; an explicit attribution rule then determines their combined learning credit. A single verdict leaves this trade-off implicit. Guided by this perspective, we propose ProCAP, a decomposed credit-assignment framework that maintains separate, non-exclusive behavioral assessments and converts them into turn-level credit through a principled, explicit attribution layer. Inspired by multidimensional frameworks of human work performance (Koopmans et al., 2011), a frozen LLM judge assigns task-independent categorical labels along three dimensions: Compliance with task requirements and hard boundaries, Adaptation to information already revealed in the trajectory, and Progress beyond the current state. The judge observes the task, up to five preceding turns, and the target turn with its observation, allowing scoring to proceed online. In parallel, lightweight programmatic detectors flag execution errors and repeated identical failures. Rather than folding these heterogeneous signals into an opaque scalar, ProCAP’s attribution layer assigns them distinct functional roles governed by explicit design principles. Progress and Adaptation provide signed contributions combined via an idempotent extremum operator that avoids double-counting correlated behavior, whereas execution errors, repeated failures, and Compliance act exclusively as non-compensatory upper bounds. Consequently, a core requirement violation strictly caps raw process credit below any positive contribution. The resulting bounded turn credits are centered in exact alignment with GRPO’s token-andepisode loss weighting and added to the episode outcome advantage. As previewed in Figure 1(b), this decomposed formulation yields substantial gains in both task and scenario completion on held-out AppWorld benchmarks. Our main contributions are threefold:

2

Preprint.

• Decomposed multidimensional process supervision. We introduce ProCAP, which decomposes turn-level credit assignment into causal, categorical behavioral assessment (Compliance, Adaptation, Progress), deterministic failure detection, and a separate downstream attribution layer for long-horizon agentic RL. • Principled non-compensatory attribution. We design an explicit, task-agnostic attribution layer combining idempotent signed-signal fusion, non-compensatory constraint caps, and GRPO-aligned zero-mean group centering that remains informative even when group outcomes tie. • Consistent empirical gains across environments and scales. Evaluated on AppWorld, ClawGym, and out-of-distribution PinchBench at 4B and 9B scales, ProCAP achieves overall averages of 50.4 and 65.1, outperforming GRPO by 4.1 and 9.9 points and the strongest process-reward baseline by 5.9 and 5.4 points, with particularly strong improvements in multi-task scenario completion and cross-benchmark transfer.

2

Related Work

2.1

Process Reward Models

Process supervision provides denser learning signals than terminal outcome rewards by evaluating intermediate reasoning or actions with learned or generative verifiers (Uesato et al., 2022; Lightman et al., 2023; Wang et al., 2024; Luo et al., 2024; Zhao et al., 2025; Khalifa et al., 2025). Learned and structural credit assignment. A prominent line of work estimates intermediate value without explicit semantic rubrics. Agent PRMs learn step values or progress directly from trajectories (Choudhury, 2025; Xi et al., 2025b; Wang et al., 2025a), implicit reward formulations derive dense signals from outcome or preference supervision (Cui et al., 2025; Liu et al., 2025), and potential-based shaping tracks intermediate answer support (Wang et al., 2026a; Hu et al., 2026). Complementary structural methods propagate episode outcomes across trajectory graphs or shared observation states (Li et al., 2025a; Wang et al., 2026d; Feng et al., 2026; Yan et al., 2026; Feng et al., 2025b; He et al., 2026), while hindsight and privileged-information approaches leverage future context for value estimation or segment-level credit (Zhou et al., 2025; Tan et al., 2026; Lu et al., 2026; Zhu et al., 2026b). While effective when trajectories share compact state spaces or hindsight is available, structural methods depend on state overlap across rollouts, which can become sparse in open-ended multi-turn environments. Semantic and executable feedback. Judge- and rubric-based methods evaluate actions directly from semantic context (Gunjal et al., 2025; Zhu et al., 2026a; Liu et al., 2026), using dynamic checklists (Yin et al., 2025; Chae et al., 2025; Ding, 2026; Tian et al., 2026), exclusive role or contribution labels (Xu et al., 2026; Wang et al., 2026b), or trajectory-level assessments (Gandhi et al., 2026; Han et al., 2026). In parallel, executable checks, oracles, and environment diagnostics supply deterministic supervision (Yuan et al., 2026; Li et al., 2026; Zhang et al., 2025b; Jian et al., 2026; Zhang et al., 2026; Li et al., 2025b). Most closely related to non-additive gating, MGR (wenxuan lu et al., 2026) decouples local action validity—inferred from syntax checks, execution feedback, and repetition penalties—from global trajectory effectiveness via multiplicative reward gating and a batch-statistics-driven sign-flip schedule, preventing invalid steps in successful rollouts from receiving positive credit. However, its local signal remains purely execution- and syntax-based and cannot distinguish syntactically valid turns that violate task constraints or stall strategically. ProCAP bridges these two directions through a decomposed design: it factors turn evaluation into causal, non-exclusive semantic labels and deterministic failure detectors, then maps them through explicit attribution rules in which both Compliance and execution validity act strictly as non-compensatory caps rather than additive terms. Complementary to RL training, process benchmarks (Zheng et al., 2025; Song et al., 2025; Fan et al., 2026) and failure-attribution frameworks (Zhang et al., 2025a; Rafi et al., 2026) focus on post-hoc evaluation and trajectory diagnosis. 3

Preprint.

2.2

Agentic RL

Interactive benchmarks test multi-turn planning, tool orchestration, and state tracking across web shopping, browser navigation, and rich application ecosystems (Yao et al., 2023; Zhou et al., 2024a; Trivedi et al., 2024; Bai et al., 2026). Training language agents in such long-horizon settings has driven rapid progress in multi-turn RL architectures and rollout infrastructures (Wang et al., 2025b; Qi et al., 2025; Xi et al., 2025a; Zhou et al., 2024b; Luo et al., 2025), as well as specialized methods for multi-step tool invocation (Jin et al., 2025; Feng et al., 2025a), milestone discovery (Wang et al., 2026c; Zheng et al., 2026), context folding over extended histories (Sun et al., 2025), and turn-level reward shaping (Wei et al., 2026). Across these diverse rollout pipelines, however, credit assignment over long interaction horizons remains a shared bottleneck whenever supervision is dominated by sparse terminal outcomes. ProCAP is orthogonal to the underlying rollout or context-management architecture: it operates purely on the advantage construction step of group-based policy optimization, making it directly applicable to existing multi-turn RL systems.

3

Preliminaries

We consider a language-model agent solving a task x through multi-turn interaction. At turn t, the policy πθ conditions on the interaction history ht and generates a turn at comprising optional reasoning and an action submitted to the environment, which returns an observation ot . An episode τ = (( at , ot ))tT=1 receives a single terminal outcome reward R ∈ [0, 1] upon completion and no intermediate environment reward. GRPO (Shao et al., 2024) eliminates a learned critic by sampling a group of G independent episodes for the same task x and normalizing each episode’s outcome against its group. Indexing episodes by i ∈ {1, . . . , G }, let ait , oit , Ti , and Ri denote the components and outcome of episode i. Its outcome advantage is Aout = i

Ri − R̄ x , σx + δ

(1)

2 −1 G ( R − R̄ )2 is the sample variance, and where R̄ x = G −1 ∑G ∑ j =1 j x j=1 R j , σx = ( G − 1)

δ = 10−6 (we use G = 8 throughout). Every generated token in episode i receives the same advantage Aout i . This introduces two limitations in long-horizon settings: (i) intra-episode credit assignment is completely flat, rewarding harmful turns in successful episodes and penalizing useful turns in failed ones; and (ii) whenever all G episodes share the same outcome, Aout = 0, leaving no outcome-driven policy gradient beyond KL regularization. i T

Let nit denote the number of generated tokens in turn t of episode i, and Ni = ∑t=i 1 nit the total number of loss-bearing generated tokens in episode i (excluding prompts and observations). To provide fine-grained supervision without distorting episode-level optimization, a turn-level process signal should be locally computable, preserve episode outcome rewards Ri , and remain zero-mean under GRPO’s loss weighting. Section 4 constructs such a turn-level credit and integrates it with Aout i .

4

Method

Because only the terminal outcome verifies whether task x was solved, ProCAP retains GRPO’s outcome advantage (Equation 1) and augments it with a bounded, group-centered turn credit. Our design rests on a single architectural principle: decomposing credit assignment into multidimensional behavioral assessment and explicit credit attribution. Every agent turn simultaneously faces three distinct behavioral tests—Compliance with task requirements and boundaries, Adaptation to information already revealed in the trajectory, and Progress beyond the current state—alongside deterministic execution validity. Collapsing these tests into one overall verdict forces a judge to weigh gains against errors implicitly. ProCAP 4

Preprint.

Spotify rollout

28 turns

“remove old songs from every playlist” Previously observed: song 207 in playlists 448 and 446

Three-dimension judge

Compliance

Does the turn respect the core conditions and hard boundaries?

Turn 22 one delete per song execution

no error

playlist 448

207

removed

playlist 446

207

missed

aligned

c=1

applicable requirements hold or are not yet due

c = −0.2

leaves a non-core requirement materially unmet

Program detectors (code) Execution failure

e=0

error pattern in the observation

Repeated failure

b=0

same failure, same action again

violation

c = −0.9

breaks a core success condition or a hard boundary

e, b

credit a

Does the turn use task facts and prior observations?

effective

credit p

Does the turn move the task forward and keep its results?

a = +0.3

applies the necessary information

progress

p = +0.5

makes a new contribution that is retained

a=0

omits something without contradicting a known fact

misuse

example labels

Progress

a = −0.6

relies on a premise that an available fact rules out not applicable no relevant prior info

a=0

intermediate

p=0

neither progress nor regression

regression

p = −0.6

loses a verified result, or repeats a failed mechanism

c, a, p

Attribution rules

worked attribution example: turn 22

Progress and Adaptation

failure caps: no flag raised

u = max(p, a, 0) + min(p, a, 0)

e = 1: u ≤ −0.1 b = 1: u ≤ −0.5

= 0.5 + (−0.6) = −0.1

online: up to 5 prior turns

Adaptation

intermediate deviation

execution result

frozen

cap c

Compliance cap: aligned

q = clip(min(u, c), −1, 1) = clip(min(−0.1, 1), −1, 1) q = −0.1

Centering z = q − μx

over the group

GRPO update à = Aout + λz

Figure 2: Overview of ProCAP. A frozen causal judge assigns categorical labels for Compliance, Adaptation, and Progress; programmatic detectors flag execution and repetition failures. Explicit rules fuse these signals, apply caps, and center credits for GRPO. instead preserves separate, non-exclusive categorical labels and deterministic error flags, delegating all trade-offs to an explicit, task-agnostic attribution layer. Figure 2 summarizes the four stages of the pipeline: Section 4.1 describes the causal threedimension judge, Section 4.2 specifies the programmatic failure detectors, Section 4.3 formalizes the attribution rules and objective-aligned group centering, and Section 4.4 integrates the resulting process term into GRPO. 4.1

Three-Dimension Judge

Multidimensional decomposition. Our assessment taxonomy is grounded in the multidimensional structure of human work performance (Koopmans et al., 2011), which distinguishes core task accomplishment from contextual rule adherence (C. & J., 1997) and adaptive responses to emerging information (Pulakos et al., 2000). Translating this view to multi-turn agents yields three orthogonal, non-exclusive dimensions: • Compliance evaluates adherence to the task’s core success conditions and hard boundaries (e.g., requested scope, authorization, truthfulness, and permitted sources): violation if an action, plan, claim, or delivery breaches a core boundary; deviation if only a non-core requirement is materially unmet; and aligned otherwise. Requirements are assessed when they apply: action boundaries at the attempt, prerequisites before dependent actions, and delivery correctness at submission or when explicitly due. • Adaptation evaluates how faithfully the turn incorporates facts already revealed in the trajectory: misuse if the action relies on a premise contradicted by available evidence; effective if relevant prior information is properly applied; intermediate if helpful context is omitted without direct contradiction; or not applicable (mapped to zero credit) when no prior evidence governs the step. • Progress evaluates net forward movement beyond the starting state of the turn: regression if a verified result is lost or a failed mechanism is repeated without

5

Preprint.

substantive change; progress if the turn achieves a retained new contribution; and intermediate otherwise. Evaluating these dimensions independently disentangles distinct failure modes: a productive step can breach task scope, a compliant step can stall, and an action that properly uses prior observations can still trigger an unforeseen execution error. Scale-free categorical judging. For each target turn (i, t), the frozen LLM judge returns a validity status and, when scorable, a triplet of categorical labels rather than continuous numeric scores: A P ℓit = (ℓC (2) it , ℓit , ℓit ). Restricting the judge to a compact, task-independent categorical rubric avoids entangling semantic recognition with arbitrary numerical calibration across diverse environments, keeping the downstream credit mapping transparent and auditable. Following a fixed decision order, the judge tests the severe condition first and the positive condition next; when context is insufficient to judge, it emits an unscorable status (triggering the group fallback in Section 4.3) rather than defaulting to an intermediate label. Causal context window. The rubric is shared across all tasks, with environment-specific facts provided in the prompt. For each target turn, the judge receives the task specification, up to five preceding turns (truncated while preserving policy reasoning), and the complete target turn together with its observation oit . In our default configuration, no future turns are shown, so assessment can execute online once oit arrives (we compare causal and hindsight windows in Section 5.3). Appendix A details the full rubric and judge interface. 4.2

Program Detectors

Semantic assessment alone can miss low-level runtime errors, while an action that reasons soundly over prior observations may still fail upon execution. To ground credit assignment in observable environment outcomes, ProCAP pairs the semantic judge with deterministic programmatic detectors (Figure 2) that flag execution errors and repeated identical failures. Execution failure detection. For text observations, the detector scans oit using an ordered, case-insensitive list of regular expressions (Appendix B). The first matching category determines the failure type f it and sets eit = 1; if no pattern matches, f it = ∅ and eit = 0. Priority ordering ensures that specific diagnostics (e.g., TypeError) take precedence over generic patterns (e.g., traceback) regardless of text position, and multiple matches within an observation yield a single turn-level flag rather than an error count. Repeated failure detection. To penalize unproductive stalling loops without discouraging deliberate debugging, let v( a) normalize a generated turn by collapsing whitespace runs to single spaces and trimming boundaries while retaining policy reasoning. A repeated failure is flagged when two consecutive turns produce both the same failure category and the identical normalized output: bi1 = 0 and, for t > 1, bit = eit I{ f it = f i,t−1 } I{v( ait ) = v( ai,t−1 )}.

(3)

Retaining reasoning in v( a) intentionally distinguishes mechanical repetition from informed retry: an agent that adjusts its diagnosis and re-invokes an API under a revised hypothesis does not trigger bit = 1. Optional structured environment adapters follow the same interface (Appendix B). Programmatic flags and semantic labels are strictly complementary. In Section 4.3, eit and bit impose deterministic upper bounds on raw credit so that positive semantic labels cannot override a runtime crash, while semantic labels capture misuse of prior information despite successful execution (Figure 1(a)), which raises neither execution flag.

6

Preprint.

Dimension

Role

Criterion

Judge label

Value

Progress (p)

Signed credit

Net retained contribution beyond the turn’s starting state.

progress intermediate regression

+0.5 0 −0.6

Adaptation (a)

Signed credit

Faithful use of task facts and prior trajectory observations.

effective intermediate misuse not applicable

+0.3 0 −0.6 0

Compliance (c)

Upper-bound cap

Adherence to core task requirements, scope, and hard boundaries.

aligned deviation violation

1 −0.2 −0.9

Table 1: Categorical label-to-value mapping of ProCAP. Progress and Adaptation supply signed credits fused via Equation 4, whereas Compliance acts strictly as a non-compensatory upper bound (Equation 6). 4.3

Attribution Rules and Centering

The attribution layer converts the categorical triplet ℓit and deterministic flags (eit , bit ) into a bounded raw turn credit qit before group centering. Rather than tuning ad-hoc per-environment reward weights, the layer is governed by three explicit design principles: non-double-counting of correlated signals, error dominance, and non-compensatory constraint satisfaction. Idempotent signal fusion and priority ordering. Progress and Adaptation supply signed behavioral contributions (Table 1): we assign p = +0.5 for progress, a = +0.3 for effective Adaptation, 0 for intermediate labels or not applicable Adaptation, and p = a = −0.6 for regression or misuse. This assignment satisfies the strict priority ordering | p− | = | a− | > p+ > a+ > 0 (0.6 > 0.5 > 0.3): advancing the task state earns more than merely applying existing information without new progress, while a severe error in either dimension outweighs the maximum positive contribution of the other. Because Progress and Adaptation are non-exclusive, additive aggregation (p + a) would double-count correlated behaviors and inflate credit variance. We instead combine them with an idempotent signed-extremum operator that retains only the strongest positive and strongest negative term: u = max( p, a, 0) + min( p, a, 0). (4) For same-sign inputs, Equation 4 collapses to the dominant magnitude—progress paired with effective information use receives 0.5 (not 0.8), and regression paired with misuse receives −0.6 (not −1.2). For mixed-sign inputs, both terms remain active. In the playlist example (Figure 1(a)), the retained deletion contributes p = +0.5, while discarding a known playlist association contributes a = −0.6, yielding u = −0.1. This preserves the information-use penalty while crediting the useful work. Non-compensatory execution and compliance ceilings. Execution validity and task Compliance represent hard constraints rather than tradable bonuses. Accordingly, both enter credit assignment exclusively as upper-bound caps rather than additive penalties. Detected execution failures and repeated identical failures impose deterministic ceilings: u ← min(u, −0.1)

if e = 1,

u ← min(u, −0.5)

if b = 1.

(5)

Because these are upper bounds, an execution error reduces u = 0.5 to −0.1 while leaving a more severe semantic credit (u = −0.6) unchanged. Compliance acts under the same non-compensatory principle. Setting c = 1 for aligned, c = −0.2 for deviation, and c = −0.9 for violation, the raw turn credit is q = clip(min(u, c), −1, 1). 7

(6)

Preprint.

Here c = 1 acts as an identity element (never adding an unearned bonus), a non-core deviation prevents positive raw credit, and a core violation fixes q = −0.9—strictly below every possible fused credit—so neither progress nor effective adaptation can compensate for breaching a core requirement. Across failure modes, penalty severity scales cleanly from a single execution error (−0.1) and non-core deviation (−0.2), to repeated execution failure (−0.5), semantic regression or misuse (−0.6), and core violation (−0.9). We keep this single [−0.9, 0.5] instantiation fixed across all benchmarks and model scales, controlling overall process strength solely through λ in Section 4.4. In Figure 2, the playlist example has aligned Compliance (c = 1) and no execution failures (e = b = 0), so the fused credit passes through the caps unchanged: q = −0.1. Objective-aligned group centering. Let Kit denote the nit loss-bearing generated token positions of turn t in episode i. A turn is valid when Compliance and Progress are scored and Adaptation is either scored or not applicable. Let χ x = 1 if process shaping is active and every episode in task group x passes judge-coverage and token-span validation, and χ x = 0 otherwise. For valid groups, we compute episode-level token-weighted means and center equally across the G episodes: q̄i =

1 Ti nit qit , Ni t∑ =1

(7)

µx =

1 G q̄i , G i∑ =1

(8)

assigning each token k ∈ Kit the centered process advantage  qit − µ x , χ x = 1, zik = 0, χ x = 0.

(9)

Notice that Equations 7–9 mirror the exact token-and-episode weighting of the GRPO objective (Equation 12), guaranteeing zero-mean alignment under the training loss measure: 1 G 1 Ni z = 0. G i∑ N ∑ ik =1 i k =1

(10)

Process shaping thus redistributes relative credit across turns without shifting the group’s net baseline or biasing updates toward longer trajectories. Each centered credit is broadcast directly to all tokens in its span Kit ; if any turn fails validation (χ x = 0), the group cleanly falls back to standard outcome-only GRPO. 4.4

Policy Optimization

ProCAP combines the centered turn credit with GRPO’s episode-level outcome advantage at every generated token k ∈ Kit : eik = Aout + λzik , A i

(11)

with λ = 1 by default. Let yik (k = 1, . . . , Ni ) denote the loss-bearing generated tokens of episode i (excluding prompts and observations), and let rik = πθ (yik )/πold (yik ) be the importance ratio conditioned on the full interaction prefix. For a task group x, we maximize the clipped GRPO objective

J (θ ) =

i  1 G 1 Ni h eik , clip(rik , 1 − ε, 1 + ε) A eik − β D b KL,ik , min rik A ∑ ∑ G i=1 Ni k=1

(12)

where ε controls ratio clipping and β weights the tokenwise KL penalty toward the reference policy πref . Losses are averaged over tokens within each episode, equally across episodes, and then across tasks in a batch. 8

Preprint.

This zero-mean advantage shaping yields two useful optimization properties. First, it naturally mitigates GRPO’s zero-advantage collapse: whenever all G episodes in a group obtain identical outcomes (Aout = 0), differing turn credits still supply informative policyi gradient updates for λ > 0. Second, because credit is relative to the group mean µ x , even a modestly positive raw credit (qit > 0) becomes negative if it falls below the group average, while uniform credits, failed validation (χ x = 0), or λ = 0 recover standard GRPO exactly.

5

Experiments

5.1

Setup

Benchmarks and metrics. We evaluate on three multi-turn agent benchmarks spanning diverse tool ecosystems and out-of-distribution (OOD) generalization. AppWorld (Trivedi et al., 2024) comprises 168 normal tasks across 56 scenarios and 417 challenge tasks across 139 scenarios; we report task goal completion (TGC) and scenario goal completion (SGC), where SGC requires every task within a scenario to succeed, and pool both splits for the AppWorld average. ClawGym-Bench (Bai et al., 2026) contains 200 tasks spanning Office, Tech, and Analysis domains; its Hybrid metric weights programmatic checks at 0.7 and rubric scores at 0.3 when both apply, and uses the code score alone for code-only tasks. PinchBench (PinchBench, 2026) contains 147 tasks held out entirely from training to assess cross-benchmark OOD transfer. The overall average weights pooled AppWorld TGC, pooled AppWorld SGC, ClawGym All, and PinchBench equally. Training and judge configuration. We fine-tune official post-trained Qwen3.5-4B and Qwen3.5-9B models separately on AppWorld’s 90 training tasks and ClawGym’s balanced 2,000-task training set; PinchBench is evaluated zero-shot using the corresponding ClawGym-trained checkpoint for each method and model scale. All runs train for 100 steps on 16 GPUs across two nodes, sampling 16 tasks per step with G = 8 episodes per task, followed by a single policy update with a batch size of 128, learning rate 10−6 , ratio clipping ε = 0.2, and KL coefficient β = 0.04. For process supervision, ProCAP uses a frozen Qwen3.8-27B judge with thinking disabled and temperature 0, applying the task-independent categorical rubric in Appendix A over a causal 5+0 context window of up to five preceding turns and no future turns, with λ = 1. Baselines. We compare ProCAP against outcome-only RL and two representative turnlevel credit-assignment paradigms: • GRPO (Shao et al., 2024): the outcome-only baseline assigning the episode advantage of Equation 1 uniformly to all tokens. • G2PO (Wang et al., 2026d): a judge-free structural method that merges the G = 8 episodes of a task into a state-transition graph over identical observations, values each state by discounted mean episode outcomes with γ = 0.95, and adds relative state-value advantages to the episode advantage with weight 1. • TRIAGE (Xu et al., 2026): a semantic judge method that assigns each turn one exclusive role among decisive, exploration, no-progress, and regression, mapped to fixed credits (1, 0.5, −0.1, −0.5), added to GRPO with weight 0.2 and batchwhitened. We implement TRIAGE following the paper’s equations using the same frozen Qwen3.8-27B judge with thinking disabled and five turns of context on each side of the target turn. 5.2

Main Results

Table 2 summarizes performance across all three benchmarks and both model scales. ProCAP achieves the highest overall average at both scales, reaching 50.4 at 4B and 65.1 at 9B. It outperforms GRPO by 4.1 and 9.9 points and the strongest process-reward baseline by 5.9 and 5.4 points, respectively. Across the three benchmarks, these gains reflect three distinct behavioral strengths. 9

Preprint.

AppWorld Method

Normal

Challenge

ClawGym

Avg.

PinchBench

Avg.

TGC SGC TGC SGC TGC SGC Office Tech Analysis All

All

Qwen3.5-4B Initial model GRPO G2PO TRIAGE ProCAP

23.8 7.1 14.1 68.5 48.2 41.7 62.5 42.9 31.6 61.9 42.9 42.7 65.5 50.0 45.8

2.2 22.3 17.3 23.0 33.1

16.9 3.6 49.4 29.7 40.5 24.6 48.2 28.7 51.5 37.9

54.3 58.5 53.4 52.7 60.8

48.1 48.2 41.0 43.9 53.9

51.3 60.6 47.1 53.2 56.9

51.3 55.7 47.3 49.9 57.3

51.6 50.2 49.6 51.2 55.0

30.9 46.3 40.5 44.5 50.4

Qwen3.5-9B Initial model GRPO G2PO TRIAGE ProCAP

60.7 42.9 32.4 73.2 53.6 57.1 69.6 55.4 51.8 80.4 66.1 66.7 83.3 75.0 69.5

15.1 38.1 30.2 51.8 52.5

40.5 23.1 61.7 42.6 56.9 37.4 70.6 55.9 73.5 59.0

59.1 65.6 64.4 57.6 68.3

56.8 57.5 55.6 54.5 62.2

57.7 63.5 64.2 61.6 67.9

57.9 62.2 61.4 57.8 66.1

55.2 54.2 59.0 54.4 61.7

44.2 55.2 53.7 59.7 65.1

Table 2: Main evaluation results (%) across AppWorld, ClawGym, and out-of-distribution PinchBench. AppWorld Avg. pools normal and challenge splits; overall Avg. weights AppWorld TGC, AppWorld SGC, ClawGym All, and PinchBench equally. Bold marks the best score per column within each model scale. Scenario-level completeness on AppWorld. While ProCAP improves TGC over GRPO by 2.1 points at 4B and 11.8 points at 9B, its largest relative advantage appears in SGC, where it reaches 37.9 versus 29.7 at 4B and 59.0 versus 42.6 at 9B, outperforming GRPO by 8.2 and 16.4 points. At 4B, ProCAP solves 12 more individual tasks than GRPO yet completes 16 more multi-task scenarios. Because SGC requires every task in a scenario to pass all checks, even a single overlooked scope constraint prevents scenario completion. Penalizing core violations via a non-compensatory Compliance cap directly targets these near-miss failures, and these gains carry over cleanly to the harder challenge split, where ProCAP leads GRPO in SGC by 10.8 points at 4B and 14.4 points at 9B. Consistent cross-domain gains on ClawGym. ClawGym tests heterogeneous workflows across Office, Tech, and Analysis. At 4B, ProCAP leads on Office at 60.8 and Tech at 53.9, reaching 57.3 overall compared to 55.7 for GRPO. At 9B, it leads across all three domains with 68.3 on Office, 62.2 on Tech, and 67.9 on Analysis, reaching 66.1 overall and surpassing GRPO by 3.9 points. Whereas different process-reward paradigms exhibit distinct strengths across environments, ProCAP maintains consistent improvements across both AppWorld and ClawGym as model capacity scales. Out-of-distribution transfer on PinchBench. PinchBench evaluates whether processshaped ClawGym policies generalize to unseen tasks. At 4B, ProCAP is the only method that improves over the initial model, gaining 3.4 points to reach 55.0, whereas outcome-only GRPO gains 4.4 points in-domain on ClawGym yet drops 1.4 points on PinchBench. At 9B, ProCAP again achieves the highest OOD score at 61.7, outperforming the initial model by 6.5 points and GRPO by 7.5 points. Together, these results indicate that penalizing scope violations, premise misuse, and repeated execution failures encourages generalizable problem-solving habits rather than benchmark-specific shortcuts. 5.3

Analysis

Causal vs. hindsight judge context. To examine how judge context design affects downstream RL, we train Qwen3.5-4B on AppWorld across four configurations that cross two context windows with the inclusion or exclusion of policy reasoning in the agent turns shown to the judge: a causal 5+0 window covering up to five preceding turns and no future turns, and a hindsight 5+5 window covering five preceding and five following turns. Across all four runs, the judge’s own thinking remains disabled, and we keep the Qwen3.8-27B judge, three-dimensional rubric, and group-centered GRPO update fixed. 10

Preprint.

AppWorld Window

Policy reasoning

5+5 5+5 5+0 5+0†

no yes no yes

Normal

Challenge

All

TGC

SGC

TGC

SGC

TGC

SGC

67.9 67.3 63.7 65.5

50.0 46.4 48.2 50.0

49.2 42.7 46.3 45.8

31.6 22.3 28.1 33.1

54.5 49.7 51.3 51.5

36.9 29.2 33.8 37.9

Table 3: Judge-input ablations on AppWorld with Qwen3.5-4B (%). Window denotes preceding+following turns around the target turn; Policy reasoning indicates whether agent reasoning text is shown to the judge (judge thinking is disabled in all runs). All pools both splits; † marks the default causal ProCAP configuration. Bold marks column bests. ProCAP: Dimension scores Training Model environment size

AppWorld AppWorld ClawGym ClawGym

Adaptation (A)

Progress (P)

0 10 20 30 40 50 60 70 80 90 Mean mapped value 0.51 1.00

0 10 20 30 40 50 60 70 80 90 Mean mapped value 0.11 0.29

0 10 20 30 40 50 60 70 80 90 Mean mapped value 0.22 0.50

4B 9B 4B 9B

Training Model environment size

AppWorld AppWorld ClawGym ClawGym

Compliance (C)

ProCAP: Turn credit

TRIAGE: Turn credit

4B 9B 4B 9B 0

10

20 0.08

30 40 50 60 70 Mean raw turn credit

80 0.49

90

0

10

20 0.28

30 40 50 60 70 Mean raw turn credit

80

90

0.62

Training step (5-step bins)

Figure 3: Training dynamics of per-dimension scores and turn credits across 5-step bins on AppWorld and ClawGym (4B and 9B). Top: Mean mapped Compliance, Adaptation, and Progress scores during ProCAP training. Bottom: Mean raw turn credits for ProCAP and TRIAGE. Each panel uses its own color scale; darker cells indicate higher values, showing consistent improvement over training. Table 3 reveals a nuanced interaction between hindsight context and policy reasoning. Without policy reasoning, extending the window to 5+5 lifts pooled TGC from 51.3 to 54.5, a gain of 3.2 points, and raises SGC from 33.8 to 36.9, a gain of 3.1 points. When policy reasoning is included, however, extending the window to 5+5 degrades performance, with pooled TGC dropping from 51.5 to 49.7 and SGC falling from 37.9 to 29.2, likely because concatenating verbose reasoning across ten surrounding turns dilutes local attribution for the target step. By contrast, ProCAP’s default causal 5+0 configuration with policy reasoning achieves the highest overall scenario completion at 37.9 SGC while supporting online scoring as each environment observation arrives. Per-dimension training dynamics. Figure 3 tracks the evolution of mapped Compliance, Adaptation, and Progress values alongside raw turn credit across 12,475 sampled ProCAP turns over the 100 training steps, grouped into 5-step bins, together with turn-credit trajectories from TRIAGE runs in the lower right. Across all four ProCAP runs, every behavioral dimension improves from early training at steps 0–19 to late training at steps 80–99. On AppWorld, mean Progress rises from 0.345 to 0.470 at 4B and from 0.315 to 0.460 at 9B, accompanied by steady gains in Adaptation. On ClawGym, where initial policies more frequently breach task constraints, Compliance exhibits the sharpest upward shift, with its mean cap value climbing from 0.730 to 0.878 11

Preprint.

Total turns

Window

Agreement

11 11 11 6 6

5+5 10+0 9+1 5+0† 4+1

73.7 70.8 70.6 74.2 74.3

Best–Worst Macro Precision

Recall

F1

81.4 77.5 77.8 76.6 79.1

66.9 68.7 67.9 71.1 68.3

70.2 70.6 69.4 72.6 71.5

Table 4: Judge agreement with AI-annotated silver labels on 400 target turns (%). All inputs include policy reasoning, and judge reasoning is disabled across all configurations. Window denotes preceding+following turns; Total turns is the maximum number of turns including the target turn. Best–Worst Macro averages positive- and severe-class metrics equally across the three dimensions. † Default causal training configuration. Bold marks column bests. at 4B and from 0.651 to 0.863 at 9B. Reflecting these joint improvements, mean raw turn credit q prior to group centering increases from 0.266 to 0.430 at 4B and from 0.283 to 0.439 at 9B on AppWorld, and from 0.211 to 0.340 at 4B and 0.177 to 0.357 at 9B on ClawGym. In the lower row, both ProCAP and TRIAGE show upward trends in turn credit over training, with ProCAP displaying a smooth, steady darkening across both AppWorld and ClawGym at both model scales. These training dynamics mirror the held-out gains in Table 2, showing that policies progressively reduce constraint violations while increasing productive steps under the fixed rubric. Judge agreement across context windows. To assess the reliability of our frozen causal judge, Table 4 evaluates agreement between Qwen3.8-27B with judge reasoning disabled and AI-annotated silver labels across 400 target turns under five context-window configurations. Because severe violations and positive contributions carry the highest credit magnitude, we report Best–Worst Macro Precision, Recall, and F1, which average the extreme positive and severe classes equally across all three dimensions, alongside overall agreement. Across all five windows, the compact causal 5+0 window used by ProCAP matches the top overall agreement at 74.2% versus 74.3% for 4+1, while achieving the strongest Best–Worst Macro F1 at 72.6% and Best–Worst Recall at 71.1%. Expanding the window to 11 turns yields no gain in agreement and slightly reduces recall, lowering Best–Worst Macro F1 to 70.6% under purely historical 10+0, 69.4% under one-step lookahead 9+1, and 70.2% under symmetric hindsight 5+5. Similarly, trading one past turn for one future turn at length 6 by shifting from 5+0 to 4+1 lowers Best–Worst Macro F1 from 72.6% to 71.5%. These diagnostics confirm that a short, strictly causal 5+0 window provides both the cleanest local supervision signal and the lowest scoring latency. Qualitative case study: multi-constraint selection. To illustrate how decomposed credit assignment operates in a long-horizon debugging workflow, Figure 4 inspects Qwen3.5-4B trajectories on a ClawGym task requiring the agent to filter four local home inspectors by distance, budget, experience, and certification, and produce a ranked shortlist and report. Both agents identify the correct two candidates, but diverge on computing accurate distances. Under ProCAP, the agent initially encounters an empty shortlist, diagnoses a ZIP-code type mismatch where an integer seller ZIP is queried against string lookup keys, unifies the formats across turns T16–18, and reports verified distances of 1.12 and 6.91 miles, terminating cleanly in 28 turns with 8 of 9 environment checks passed. In the comparison trajectory, the agent spends 49 turns repeatedly patching its data reader while substituting each inspector’s coordinates for the seller’s origin, reporting 0-mile distances for both candidates before exhausting its tool budget with 7 of 9 checks passed. Panels (b) and (c) highlight how credit signals align with audited turn quality. In ProCAP, explicit separation of dimensions assigns neutral credit of 0.0 to repeated setup at T2, penalizes a broken scoring formula at T5 with −0.2 and a syntax-invalid draft at T3 with −0.9, and rewards the key diagnostic and repair sequence across T16–18 with +0.5 each. 12

Preprint.

Task: select and rank four home inspectors using distance, cost, experience and certification.

(a) Turn-level contribution TRIAGE ProCAP Turn 0 Assessment

Completed at T27 5 Positive

10

15 20 Negative

(b) TRIAGE

30 Neutral

35

40

45

48

(c) ProCAP

49 turns; 7/9 checks passed Turn Action / observed result

Credit

T00 Read six input files

+0.5

T03 Fix a syntax error

−0.5

T08 Wrong distance calculation

+1.0

T19 Wrong scores and distances

+1.0

T29 Break the profile parser

+1.0

T37 Repeat the failing test

+0.5

T44 Test fails but reveals the cause

+0.5

T45 Fix the profile parser

+1.0

T47 Read back output files

+0.5

T48 No execution feedback

+0.5

28 turns; 8/9 checks passed Turn Action / observed result T00 Read six input files T02 Repeat the setup step T03 Syntax error in the draft T04 Delete the broken script T05 Wrong scoring formula T08 Crash reveals empty-list bug T10 Test script: wrong distance T13 Add logs; check empty lists T16 Find ZIP code type mismatch T17 Fix ZIP code mismatch T18 Correct shortlist and distances T27 Submit; rerun not verified

Tool budget exhausted; no final feedback. Distances reported: 0 and 0 miles. Human judge Positive Credit vs. human judge:

25

agrees

Credit +0.5 0.0 −0.9 +0.3 −0.2 −0.1 +0.5 −0.2 +0.5 +0.5 +0.5 +0.5

Completed, but not all checks passed. Correct distances: 1.12 and 6.91 miles.

Negative Neutral disagrees

Figure 4: Qualitative trajectory comparison of Qwen3.5-4B policies trained with TRIAGE and ProCAP on a ClawGym home-inspector selection task. (a) Human-audited turn contributions classified as positive, negative, or neutral; blank cells after ProCAP T27 denote normal completion. (b,c) Selected turns with each method’s native turn credit, where checkmarks and crosses indicate sign agreement with the human audit. At T8, the deterministic execution-failure cap conservatively bounds a runtime crash at q = −0.1 even though it reveals an unguarded empty-list access, contrasting with singleverdict scoring, which can assign positive credit to turns that execute cleanly yet propagate silent logic errors such as the wrong distance calculations at T8 and T19.

6

Conclusion

Effective reinforcement learning for long-horizon agents requires turn-level supervision that respects the multidimensional nature of agent actions. We introduced ProCAP, a process reward framework that decomposes turn-level credit assignment into causal, categorical behavioral assessment (Compliance, Adaptation, and Progress), deterministic execution checks, and an explicit, principled attribution layer. By combining idempotent signal fusion, non-compensatory constraint ceilings, and GRPO-aligned zero-mean group centering, ProCAP delivers dense intra-episode credit without allowing local progress to offset core requirement violations. Across AppWorld, ClawGym, and out-of-distribution PinchBench at both 4B and 9B scales, ProCAP consistently outperforms outcome-only and existing processreward baselines, with particularly pronounced gains in multi-task scenario completion and cross-benchmark transfer. 13

Preprint.

References Fei Bai, Huatong Song, Shuang Sun, Daixuan Cheng, Yike Yang, Chuan Hao, Renyuan Li, Feng Chang, Yuan Wei, Ran Tao, Bryan Dai, Jian Yang, Wayne Xin Zhao, and Ji-Rong Wen. Clawgym: A scalable framework for building effective claw agents, 2026. URL https://arxiv.org/abs/2604.26904. Borman Walter C. and Motowidlo Stephan J. Task performance and contextual performance: The meaning for personnel selection research. Human Performance, 10(2):99–109, 1997. doi: 10.1207/s15327043hup1002_3. URL https://doi.org/10.1207/s15327043hup1002_3. Hyungjoo Chae, Sunghwan Kim, Junhee Cho, Seungone Kim, Seungjun Moon, Gyeom Hwangbo, Dongha Lim, Minjin Kim, Yeonjun Hwang, Minju Gwak, Dongwook Choi, Minseok Kang, Gwanhoon Im, ByeongUng Cho, Hyojun Kim, Jun Hee Han, Taeyoon Kwon, Minju Kim, Beong woo Kwak, Dongjin Kang, and Jinyoung Yeo. Web-shepherd: Advancing prms for reinforcing web agents, 2025. URL https://arxiv.org/abs/2505. 15277. Sanjiban Choudhury. Process reward models for llm agents: Practical framework and directions, 2025. URL https://arxiv.org/abs/2502.10325. Ganqu Cui, Lifan Yuan, Zefan Wang, Hanbin Wang, Yuchen Zhang, Jiacheng Chen, Wendi Li, Bingxiang He, Yuchen Fan, Tianyu Yu, Qixin Xu, Weize Chen, Jiarui Yuan, Huayu Chen, Kaiyan Zhang, Xingtai Lv, Shuo Wang, Yuan Yao, Xu Han, Hao Peng, Yu Cheng, Zhiyuan Liu, Maosong Sun, Bowen Zhou, and Ning Ding. Process reinforcement through implicit rewards, 2025. URL https://arxiv.org/abs/2502.01456. Liang Ding. Adarubric: Task-adaptive rubrics for reliable llm agent evaluation and reward learning, 2026. URL https://arxiv.org/abs/2603.21362. Shengda Fan, Xuyan Ye, Yupeng Huo, Zhi-Yuan Chen, Yiju Guo, Shenzhi Yang, Wenkai Yang, Shuqi Ye, Jingwen Chen, Haotian Chen, Xin Cong, and Yankai Lin. Agentprocessbench: Diagnosing step-level process quality in tool-using agents, 2026. URL https://arxiv. org/abs/2603.14465. Jiazhan Feng, Shijue Huang, Xingwei Qu, Ge Zhang, Yujia Qin, Baoquan Zhong, Chengquan Jiang, Jinxin Chi, and Wanjun Zhong. Retool: Reinforcement learning for strategic tool use in llms, 2025a. URL https://arxiv.org/abs/2504.11536. Lang Feng, Zhenghai Xue, Tingcong Liu, and Bo An. Group-in-group policy optimization for llm agent training, 2025b. URL https://arxiv.org/abs/2505.10978. Xiao Feng, Bo Han, Zhanke Zhou, Jiaqi Fan, Jiangchao Yao, Ka Ho Li, Dahai Yu, and Michael Kwok-Po Ng. Rewardflow: Can action-level reward be estimated from state-graph topology in agentic rl?, 2026. URL https://arxiv.org/abs/2603.18859. Shubham Gandhi, Saurabh Goyal, Kiran Kate, and Yara Rizk. Draco: Fine-grained credit assignment with dynamic rubrics for long-horizon agent training, 2026. URL https: //arxiv.org/abs/2609.04094. Anisha Gunjal, Anthony Wang, Elaine Lau, Vaskar Nath, Yunzhong He, Bing Liu, and Sean Hendryx. Rubrics as rewards: Reinforcement learning beyond verifiable domains, 2025. URL https://arxiv.org/abs/2507.17746. Hao Han, Jin Xie, Xuehao Ma, Weiquan Zhu, Ziyao Zhang, ZhiLiang Long, Hongkai Chen, and Qingwen Ye. Swe-trace: Optimizing long-horizon swe agents through rubric process reward models and heuristic test-time scaling, 2026. URL https://arxiv.org/abs/2604. 14820. Shuo He, Lang Feng, Qi Wei, Xin Cheng, Lei Feng, and Bo An. Hierarchy-of-groups policy optimization for long-horizon agentic tasks, 2026. URL https://arxiv.org/abs/2602. 22817.

14

Preprint.

Senkang Hu, Yong Dai, Xudong Han, Zhengru Fang, Yuzhi Zhao, Sam Tak Wu Kwong, and Yuguang Fang. Self-induced outcome potential: Turn-level credit assignment for agents without verifiers, 2026. URL https://arxiv.org/abs/2605.04984. Ai Jian, Haoran Pan, Eryu Guo, Haojin Yang, Jinghan He, Xiaoyun Zhang, Jiangbo Pei, and Peiyu Liu. C3: Rethinking process supervision via confidence-guided credit correction in multi-turn reinforcement learning, 2026. URL https://arxiv.org/abs/2610.19695. Bowen Jin, Hansi Zeng, Zhenrui Yue, Jinsung Yoon, Sercan O Arik, Dong Wang, Hamed Zamani, and Jiawei Han. Search-r1: Training LLMs to reason and leverage search engines with reinforcement learning. In Second Conference on Language Modeling, 2025. URL https://openreview.net/forum?id=Rwhi91ideu. Muhammad Khalifa, Rishabh Agarwal, Lajanugen Logeswaran, Jaekyeom Kim, Hao Peng, Moontae Lee, Honglak Lee, and Lu Wang. Process reward models that think, 2025. URL https://arxiv.org/abs/2504.16828. Linda Koopmans, Claire M Bernaards, Vincent H Hildebrandt, Wilmar B Schaufeli, C W de Vet Henrica, and Allard J van der Beek. Conceptual frameworks of individual work performance: A systematic review. Journal of Occupational and Environmental Medicine, 53 (8):856–866, 2011. doi: 10.1097/JOM.0b013e318226a763. URL https://doi.org/10.1097/ jom.0b013e318226a763. Jiazheng Li, Yawei Wang, David Yan, Yijun Tian, Zhichao Xu, Huan Song, Panpan Xu, and Lin Lee Cheong. Salt: Step-level advantage assignment for long-horizon agents via trajectory graph, 2025a. URL https://arxiv.org/abs/2510.20022. Pengcheng Li, Zhengyang Zhang, Dongxu Zhang, Sui Huang, and Shaohua Ma. VICT: Verifier-instrumented credit tracing for reinforcement learning of long-horizon LLM agents. In Hung-Yi Lee, Sunipa Dev, Jessy Li, and Desmond Elliott (eds.), Findings of the Association for Computational Linguistics: EMNLP 2026, pp. 51468–51486, Budapest, Hungary, October 2026. Association for Computational Linguistics. ISBN 979-8-89176462-0. doi: 10.18653/2026.findings-emnlp.2395. URL https://aclanthology.org/2026. findings-emnlp.2395/. Zhiwei Li, Yong Hu, and Wenqing Wang. Encouraging good processes without the need for good answers: Reinforcement learning for llm agent planning, 2025b. URL https: //arxiv.org/abs/2508.19598. Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step, 2023. URL https://arxiv.org/abs/2305.20050. Michael Tian-Yue Liu, Anne Harrington, Trevor Darrell, and Yutong Bai. Judging the judges: Confidence and disagreement in rubrics as rewards, 2026. URL https://arxiv.org/abs/ 2610.21179. Xiaoqian Liu, Ke Wang, Yuchuan Wu, Fei Huang, Yongbin Li, Junge Zhang, and Jianbin Jiao. Agentic reinforcement learning with implicit step rewards, 2025. URL https: //arxiv.org/abs/2509.19199. Zhicong Lu, Zichuan Lin, Wei Jia, Changyuan Tian, Deheng Ye, Peiguang Li, Li Jin, Nayu Liu, Guangluan Xu, and Wei Feng. Hisr: Hindsight information modulated segmental process rewards for multi-turn agentic reinforcement learning, 2026. URL https://arxiv. org/abs/2603.18683. Liangchen Luo, Yinxiao Liu, Rosanne Liu, Samrat Phatale, Meiqi Guo, Harsh Lara, Yunxuan Li, Lei Shu, Yun Zhu, Lei Meng, Jiao Sun, and Abhinav Rastogi. Improve mathematical reasoning in language models by automated process supervision, 2024. URL https: //arxiv.org/abs/2406.06592. Xufang Luo, Yuge Zhang, Zhiyuan He, Zilong Wang, Siyun Zhao, Dongsheng Li, Luna K. Qiu, and Yuqing Yang. Agent lightning: Train any ai agents with reinforcement learning, 2025. URL https://arxiv.org/abs/2508.03680. 15

Preprint.

PinchBench. PinchBench: OpenClaw leaderboard and benchmark documentation, 2026. URL https://pinchbench.com. Official current-version v2 leaderboard snapshot, accessed November 16, 2026. E. D. Pulakos, S. Arad, M. A. Donovan, and K. E. Plamondon. Adaptability in the workplace: Development of a taxonomy of adaptive performance. Journal of Applied Psychology, 85 (4):612–624, 2000. doi: 10.1037/0021-9010.85.4.612. URL https://doi.org/10.1037/ 0021-9010.85.4.612. Zehan Qi, Xiao Liu, Iat Long Iong, Hanyu Lai, Xueqiao Sun, Wenyi Zhao, Yu Yang, Xinyue Yang, Jiadai Sun, Shuntian Yao, Tianjie Zhang, Wei Xu, Jie Tang, and Yuxiao Dong. Webrl: Training llm web agents via self-evolving online curriculum reinforcement learning, 2025. URL https://arxiv.org/abs/2411.02337. Md Nakhla Rafi, Md Ahasanuzzaman, Dong Jae Kim, Zhijie Wang, and Tse-Hsun Chen. Falat: Tracing failures in llm agent trajectories via dependency-guided search, 2026. URL https://arxiv.org/abs/2606.00765. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models, 2024. URL https://arxiv.org/abs/ 2402.03300. Mingyang Song, Zhaochen Su, Xiaoye Qu, Jiawei Zhou, and Yu Cheng. Prmbench: A fine-grained and challenging benchmark for process-level reward models, 2025. URL https://arxiv.org/abs/2501.03124. Weiwei Sun, Miao Lu, Zhan Ling, Kang Liu, Xuesong Yao, Yiming Yang, and Jiecao Chen. Scaling long-horizon llm agent via context-folding, 2025. URL https://arxiv.org/abs/ 2510.11967. Hui-Ze Tan, Xiao-Wen Yang, Hao Chen, Jie-Jing Shao, Yi Wen, Yuteng Shen, Weihong Luo, Xiku Du, Lan-Zhe Guo, and Yu-Feng Li. Hindsight credit assignment for long-horizon llm agents, 2026. URL https://arxiv.org/abs/2603.08754. Zihang Tian, Jingsen Zhang, Rui Li, Xiaohe Bo, Yuanzi Li, and Xu Chen. Arco: Adaptive rubrics with co-evolution for multi-step llm-based agents, 2026. URL https://arxiv.org/ abs/2606.21262. Harsh Trivedi, Tushar Khot, Mareike Hartmann, Ruskin Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, and Niranjan Balasubramanian. AppWorld: A controllable world of apps and people for benchmarking interactive coding agents. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 16022– 16076, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.850. URL https://aclanthology.org/2024.acl-long.850/. Jonathan Uesato, Nate Kushman, Ramana Kumar, Francis Song, Noah Siegel, Lisa Wang, Antonia Creswell, Geoffrey Irving, and Irina Higgins. Solving math word problems with process- and outcome-based feedback, 2022. URL https://arxiv.org/abs/2211.14275. Guoqing Wang, Sunhao Dai, Guangze Ye, Zeyu Gan, Wei Yao, Yong Deng, Xiaofeng Wu, and Zhenzhe Ying. Information gain-based policy optimization: A simple and effective approach for multi-turn search agents, 2026a. URL https://arxiv.org/abs/2510.14967. Hanlin Wang, Chak Tou Leong, Jiashuo Wang, Jian Wang, and Wenjie Li. Spa-rl: Reinforcing llm agents via stepwise progress attribution, 2025a. URL https://arxiv.org/abs/2505. 20732. Junzhe Wang, Zhiheng Xi, Yajie Yang, Hao Luo, Shihan Dou, Tao Gui, and Qi Zhang. Enhancing LLM-based search agents via contribution weighted group relative policy optimization. In Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (eds.), Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics 16

Preprint.

(Volume 1: Long Papers), pp. 31704–31718, San Diego, California, United States, July 2026b. Association for Computational Linguistics. ISBN 979-8-89176-390-6. doi: 10.18653/v1/ 2026.acl-long.1462. URL https://aclanthology.org/2026.acl-long.1462/. Peiyi Wang, Lei Li, Zhihong Shao, Runxin Xu, Damai Dai, Yifei Li, Deli Chen, Yu Wu, and Zhifang Sui. Math-shepherd: Verify and reinforce LLMs step-by-step without human annotations. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 9426–9439, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.510. URL https://aclanthology.org/2024. acl-long.510/. Taiyi Wang, Sian Gooding, Florian Hartmann, Oriana Riva, and Edward Grefenstette. A subgoal-driven framework for improving long-horizon llm agents, 2026c. URL https: //arxiv.org/abs/2603.19685. Yunan Wang, Minghui Song, Zihan Zhang, Shaohan Huang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, and Qi Zhang. Group-graph policy optimization for long-horizon agentic reinforcement learning, 2026d. URL https://arxiv.org/abs/2606.22995. Zihan Wang, Kangrui Wang, Qineng Wang, Pingyue Zhang, Linjie Li, Zhengyuan Yang, Xing Jin, Kefan Yu, Minh Nhat Nguyen, Licheng Liu, Eli Gottlieb, Yiping Lu, Kyunghyun Cho, Jiajun Wu, Li Fei-Fei, Lijuan Wang, Yejin Choi, and Manling Li. Ragen: Understanding self-evolution in llm agents via multi-turn reinforcement learning, 2025b. URL https: //arxiv.org/abs/2504.20073. Quan Wei, Siliang Zeng, Chenliang Li, Zhongruo Wang, William Brown, Oana Frunza, Wei Deng, Anderson Schneider, Yuriy Nevmyvaka, Yang Katie Zhao, Alfredo Garcia, and Mingyi Hong. Reinforcing multi-turn reasoning in llm agents via fine-grained reward structure and credit assignment, 2026. URL https://arxiv.org/abs/2505.11821. wenxuan lu, Zhanqiu Zhang, Steven Y. Guo, and Tianning Zang. Both local validity and global effectiveness matter: Decoupled credit assignment for long-horizon agentic learning, 2026. URL https://openreview.net/forum?id=Suja4AQ9Fo. Zhiheng Xi, Jixuan Huang, Chenyang Liao, Baodai Huang, Honglin Guo, Jiaqi Liu, Rui Zheng, Junjie Ye, Jiazheng Zhang, Wenxiang Chen, Wei He, Yiwen Ding, Guanyu Li, Zehui Chen, Zhengyin Du, Xuesong Yao, Yufei Xu, Jiecao Chen, Tao Gui, Zuxuan Wu, Qi Zhang, Xuanjing Huang, and Yu-Gang Jiang. Agentgym-rl: Training llm agents for long-horizon decision making through multi-turn reinforcement learning, 2025a. URL https://arxiv.org/abs/2509.08755. Zhiheng Xi, Chenyang Liao, Guanyu Li, Yajie Yang, Wenxiang Chen, Zhihao Zhang, Binghai Wang, Senjie Jin, Yuhao Zhou, Jian Guan, Wei Wu, Tao Ji, Tao Gui, Qi Zhang, and Xuanjing Huang. Agentprm: Process reward models for llm agents via step-wise promise and progress, 2025b. URL https://arxiv.org/abs/2511.08325. Yuanda Xu, Zhengze Zhou, Hejian Sang, Xiaomin Li, Jiaxin Zhang, Xinchen Du, Sen Na, Zhipeng Wang, and Alborz Geramifard. Triage: Role-typed credit assignment for agentic reinforcement learning, 2026. URL https://arxiv.org/abs/2606.32017. Hongxi Yan, Ziyue Huang, Shichao Fan, and Qingjie Liu. Gated-bepo: Confidence-gated bellman credit assignment for large language model agents, 2026. URL https://arxiv. org/abs/2608.06861. Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. Webshop: Towards scalable real-world web interaction with grounded language agents, 2023. URL https: //arxiv.org/abs/2207.01206. Zhangyue Yin, Qiushi Sun, Zhiyuan Zeng, Qinyuan Cheng, Xipeng Qiu, and Xuanjing Huang. Dynamic and generalizable process reward modeling, 2025. URL https://arxiv. org/abs/2507.17849.

17

Preprint.

Huining Yuan, Zelai Xu, Huaijie Wang, Xiangmin Yi, Jiaxuan Gao, Xiao-Ping Zhang, Yu Wang, Chao Yu, and Yi Wu. Verifiable process rewards for agentic reasoning, 2026. URL https://arxiv.org/abs/2605.10325. Huan Zhang, Mingju Chen, Dongxu Zhou, Can Lv, Heng Chang, Sen Cui, Faguo Wu, and Shiji Zhou. Trca: Transition-wise rubric credit assignment for long-horizon llm agents, 2026. URL https://arxiv.org/abs/2608.16156. Shaokun Zhang, Ming Yin, Jieyu Zhang, Jiale Liu, Zhiguang Han, Jingyang Zhang, Beibin Li, Chi Wang, Huazheng Wang, Yiran Chen, and Qingyun Wu. Which agent causes task failures and when? on automated failure attribution of llm multi-agent systems, 2025a. URL https://arxiv.org/abs/2505.00212. Zijing Zhang, Ziyang Chen, Mingxiao Li, Zhaopeng Tu, and Xiaolong Li. Rlvmr: Reinforcement learning with verifiable meta-reasoning rewards for robust long-horizon agents, 2025b. URL https://arxiv.org/abs/2507.22844. Jian Zhao, Runze Liu, Kaiyan Zhang, Zhimu Zhou, Junqi Gao, Dong Li, Jiafei Lyu, Zhouyi Qian, Biqing Qi, Xiu Li, and Bowen Zhou. Genprm: Scaling test-time compute of process reward models via generative reasoning, 2025. URL https://arxiv.org/abs/2504.00891. Chujie Zheng, Zhenru Zhang, Beichen Zhang, Runji Lin, Keming Lu, Bowen Yu, Dayiheng Liu, Jingren Zhou, and Junyang Lin. Processbench: Identifying process errors in mathematical reasoning, 2025. URL https://arxiv.org/abs/2412.06559. Congmin Zheng, Xiaoyun Mo, Xinbei Ma, Qiqiang Lin, Yin Zhao, Jiachen Zhu, Xingyu Lou, Jun Wang, Zhaoxiang Wang, Weiwen Liu, Zhuosheng Zhang, Yong Yu, and Weinan Zhang. Adaptive milestone reward for gui agents, 2026. URL https://arxiv.org/abs/ 2602.11524. Shuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. Webarena: A realistic web environment for building autonomous agents, 2024a. URL https://arxiv. org/abs/2307.13854. Yifei Zhou, Andrea Zanette, Jiayi Pan, Sergey Levine, and Aviral Kumar. Archer: Training language model agents via hierarchical multi-turn rl, 2024b. URL https://arxiv.org/ abs/2402.19446. Yifei Zhou, Song Jiang, Yuandong Tian, Jason Weston, Sergey Levine, Sainbayar Sukhbaatar, and Xian Li. Sweet-rl: Training multi-turn llm agents on collaborative reasoning tasks, 2025. URL https://arxiv.org/abs/2503.15478. Guangcheng Zhu, Yingfan Ma, Xing Zheng, Haobo Wang, Shenzhi Yang, Kai Tang, Zhengqing Zang, Bowen Song, Weiqiang Wang, and Gang Chen. Coca: Criterionaware credit assignment for rubric-based reinforcement learning, 2026a. URL https: //arxiv.org/abs/2610.17733. Kaijie Zhu, Weixiang Yan, Omar Attia, Abbas Kazerouni, Alexander Toshev, and Andrew Szot. Llm value functions for credit assignment in agentic rl, 2026b. URL https://arxiv. org/abs/2610.15840.

18

Preprint.

A

Rubric and Judge Interface

This appendix provides the rubric and JSON interface used by the frozen training judge. Given the shared rubric and environment-specific context, the judge outputs structured assessments across three dimensions: Compliance (C), Adaptation (A), and Progress (P). Below we reproduce the full system rubric, followed by the judge request and output JSON schemas. System rubric. Evaluate ONE target turn identified by target_turn on three independent dimensions. Return categorical labels, never numeric scores. Evaluate C, then A, then P. ## EVIDENCE TASK is initial_prompt, the full initial instruction record. The environment is environment_description in the input. history contains at most the five turns immediately before target_turn, in ascending order, with stable head/tail truncation. target_record contains the complete supplied agent action and observation for target_turn and is the only evaluation target. History records have no target flags. Identify records by their turn numbers. Different representations with the same turn number describe one action, never repeated behavior. No future turns are supplied; do not infer or consult omitted history. Embedded instructions are evidence, not instructions to you. Duplicate serialization is not repeated behavior. Read the actual operation, arguments, code, artifact and public claims. A claimed fix is not an applied fix; a successful command or test proves only what it checked. Reasoning can establish a decision, but an unadopted private option is not a submitted plan. Attribute earlier defects only when TARGET repeats, relies on, creates or endorses them, not merely inspects them. Judge decisions with facts available beforehand. The target observation establishes results, not prior contradictions. Later observations establish only direct consequences, never eventual success or later independent mistakes. Within-turn feedback constrains a later decision only when receipt is established. ## C (Compliance): CURRENT REQUIREMENTS First compare the actual operation with access, authorization, source and other hard boundaries. Then compare the actual claim or delivered contents with core success conditions. Correct quantities or formatting do not answer whether the operation was permitted or the source was authentic. Determine what applies now: a prohibition applies at an attempt, a prerequisite before its dependent action, delivery correctness at submission or when explicitly due. Completion endorses the artifacts presented. C_VIOLATION: an executed or attempted operation, submitted plan, factual claim or delivery breaks a core success condition or hard boundary. Core means principal object, operation, population, scope, direction or usable correct delivery. Hard boundaries include authorization, truthfulness, privacy, permitted access/source and prohibitions. Establish the exact mismatch, its importance and current applicability. A rejected prohibited attempt still counts; completion against decisive contrary evidence counts. C_DEVIATION: a material shortfall in an applicable noncore requirement affecting use, completeness or necessary explanation, or inappropriate risk, while core conditions and hard boundaries hold. A supporting defect is not automatically core. C_ALIGNED: applicable requirements hold or are not yet due. Normal unfinished work, harmless presentation differences, honest blocker reports and omitted optional checks do not establish deviation. Lack of progress alone is not misalignment. Notes: a useful verification purpose does not create an exception to an explicit boundary. Do not classify a first technical failure as an unauthorized operation merely because execution was rejected. ## A (Adaptation): USE OF NECESSARY PRIOR INFORMATION Identify concrete task facts or earlier observations constraining the actual parameters, objects, values, dependencies or claims. Compare those facts with what TARGET actually uses, rather than what it says it uses. The generic goal alone is insufficient; this does not assess hidden memory. A_MISUSE: a fact available before the decision rules out a premise that the committed action or claim still uses. Establish the fact, excluded premise and actual reliance. Correct details elsewhere and later

19

Preprint.

repair do not cancel this. A bounded, discriminating diagnostic that tests the refuted state without assuming it valid is exempt. A_EFFECTIVE: necessary information exists and all necessary items are correctly applied without material omission. Correct observable choices suffice without narrated reasoning; execution may subsequently fail independently. A_INTERMEDIATE: necessary information exists but a material omission, misconnection or lack of demonstrable use remains without an established prior contradiction. Identify the item and affected choice. An unverified assumption or a first error alone does not prove misuse. Status: not_applicable only when no relevant prior information exists. insufficient_evidence only when a specific necessary item is unavailable. Missing history is not proof of omission. ## P (Progress): LOCAL CONTRIBUTION Assess the actual subproblem independently of A and C. First reconstruct its starting state, then what TARGET actually retained or learned. Do not shrink the subproblem to an arbitrary operation, or require final task completion to recognize partial progress. For a failed or repeated action, locate the earlier attempt at the same mechanism in the supplied window. Compare the failed prerequisite and the actual change before this retry. A new login, new tool name or announced fix does not reset the history: determine whether the returned resource or correction reached the dependent action. Conversely, when an old prerequisite was actually repaired and a different blocker is newly revealed, the new cause is information, not repetition of the old failure. Judge what changed, not similarity of wording. P_REGRESSION: either material loss of a verified usable result, resource or dependency, requiring redo beyond local repair; OR an already failed or stalled mechanism is continued with neither a substantive change nor decision-relevant new information. Repeated unresolved planning that neither refines nor acts also qualifies, even without tool execution. Loss and looping are separate sufficient conditions; no loss is required for ineffective repetition. P_PROGRESS: no severe event and a demonstrated new contribution retained or consumed: useful partial work, decision-relevant information, a sound decision, validation, risk reduction, clarification or coordination. A first failure that identifies a previously unknown actionable cause qualifies without successful execution. Check the code and observations for outputs retained before an error; failure later in the same turn does not imply that earlier outputs disappeared. P_INTERMEDIATE: neither condition: proportionate setup, exploration without useful findings, bounded waiting, or repair restoring only the starting state. Empty directories, a successful command, restating a plan and repeating known results alone do not establish a useful gain. A summary qualifies only when it provides a new usable handoff, decision or coordination effect. Notes: substantive change must be grounded in evidence, a testable hypothesis, constraints or risk control and relevant to the failed mechanism. Cosmetic edits and downstream changes leaving a failed prerequisite untouched do not suffice. Justified bounded waiting, polling or retry for pending, plausibly transient or nondeterministic processes is legitimate with a delay, timeout or stopping condition. Controlled, bounded, reversible change for an established purpose is not material loss. Established severe events survive later recovery or unrelated gains. General inefficiency alone is not P. In the evidence name the actual gain, or the earlier failure, remaining prerequisite and repeated result; never call a failure first without checking the visible earlier attempts. ## STATUS AND UNCERTAINTY scored: one defined label with at least one evidence reference. insufficient_evidence: name a missing fact necessary to distinguish labels, not merely something that could matter; label=null. Do not invent hidden compliance, defects, capabilities or outcomes. not_applicable: A only, as defined above; label=null. Unknown is not false: the middle class is not an uncertainty fallback. A proven severe event settles its dimension despite unrelated unknowns. Each dimension needs its own evidence; progress on a wrong subproblem can coexist with C_VIOLATION. ## OUTPUT Return the provided JSON schema in this order: schema_version="V5", target_turn, local_subgoal, C, A, P. Each dimension has evidence, evidence_refs, status, label in that order. Write one or two concrete sentences comparing requirement/behavior for C, prior fact/use for A, and before/result for P. Apply

20

Preprint.

a proven severe condition first, otherwise the positive condition, then the middle condition. Keep label and evidence consistent without transferring severity across dimensions. References are task, turn:N:agent or turn:N:observation for visible N. A cites task, earlier turns and target action, never target observation or later turns. P/C use later observations only for direct consequences, never later actions. No extra fields or private deliberation.

Judge request. Each judge call receives a single JSON object containing schema_version (V5), available_context (maximum preceding and following turns around the target; 5 + 0 in default training), environment_description, initial_prompt, turn_index_base (0), history, target_turn, target_record, and anonymous_id. Each record in history includes its turn index, the agent output (retaining policy reasoning) head/tail-truncated to 2,000 characters on each end, and the environment observation head/tail-truncated to 1,500 characters on each end. The target_record is supplied in full without truncation, and no terminal verifier outcome is ever included in the request. Output schema. Judge responses are constrained to a strict JSON schema with ordered top-level fields schema_version, target_turn, local_subgoal, C, A, and P. Each dimension object contains evidence, evidence_refs, status, and label. Valid statuses are scored and insufficient_evidence (plus not_applicable for A only). The label field takes one of the dimension’s three categorical class names when scored and null otherwise; extraneous fields are rejected by schema validation.

21

Preprint.

Adaptation (a) Progress (p) progress (+0.5) intermediate (0) regression (−0.6)

effective (+0.3)

intermediate (0)

not applicable (0)

misuse (−0.6)

+0.5 +0.3 −0.3

+0.5 0.0 −0.6

+0.5 0.0 −0.6

−0.1 −0.6 −0.6

Table 5: Complete Progress–Adaptation fusion matrix u = max( p, a, 0) + min( p, a, 0) before execution and Compliance ceilings. Failure category

Case-insensitive regular expression

Syntax Name Type Key Attribute Authentication Request limit Missing API Invalid request Execution

\bsyntax\s*error\b|\bsyntaxerror\b \bnameerror\b|\bis not defined\b \btypeerror\b \bkeyerror\b \battributeerror\b status code is 401|\bunauthori[sz]ed\b|access token is missing number of requests exceeded|request limit no apis? with name|api .{0,80} does not exist|responsenotfound status code is (?:400|404|409|422)\b|invalid parameter execution failed|traceback

Table 6: Programmatic execution-failure patterns listed in category-priority order (top to bottom). Matching is case-insensitive; the highest-priority matching category supplies the turn’s single failure type f it .

B

Complete Credit Mapping

Table 5 enumerates the complete fused credit u = max( p, a, 0) + min( p, a, 0) (Equation 4) across all Progress–Adaptation combinations defined in Table 1. Same-sign pairs collapse to their dominant magnitude (avoiding double counting), whereas mixed-sign pairs preserve their net tension (+0.5 − 0.6 = −0.1 and −0.6 + 0.3 = −0.3). After fusion, deterministic execution flags cap u at −0.1 (e = 1) or −0.5 (b = 1) via Equation 5, and Compliance applies the final non-compensatory ceiling q = clip(min(u, c), −1, 1) via Equation 6 (c = 1 for aligned, −0.2 for deviation, and −0.9 for violation). For instance, effective Adaptation paired with intermediate Progress earns q = +0.3 when aligned and free of execution errors. Finally, raw turn credits are centered by token counts within episodes and equally across episodes (Equations 7–10), yielding zero-mean process advantages zik aligned with the GRPO objective. Program detectors. Table 6 lists the ordered regular-expression patterns scanned against text observations using Python’s re.search with re.IGNORECASE (where | denotes alternation). Regardless of character offset within the observation, the first matching row sets the failure category f it and binary flag eit = 1; if no pattern matches, f it = ∅ and eit = 0. For repeated-failure detection, text turns are normalized via re.sub(r"\s+", " ", action).strip(), preserving character case and policy reasoning. Structured environment adapters may alternatively populate non-empty execution_failure_kind and action_signature fields directly for f it and v( ait ). Under either interface, bi1 = 0, and bit = 1 (t > 1) requires consecutive failures with identical categories and normalized actions (Equation 3). The resulting execution caps (Equation 5) are applied prior to the Compliance ceiling (Equation 6).

22

Related documents

Record · ID 1802062 · SHA-256 3172038f91761b0f
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive