Learning CLI Agents with Structured Action Credit under Selective Observation
Haoyang Su, Ying Wen
NeurIPS 2026
TL;DR. A3 improves reinforcement learning for command-line LLM agents by assigning credit to shell actions using command-structure similarity, supported by a new filesystem benchmark suite and a context-revealing evaluation harness.
Abstract. Command line interface (CLI) agents are emerging as a practical paradigm for agent-computer interaction over evolving filesystems, executable command line programs, and online execution feedback. Recent work has used reinforcement learning (RL) to learn these interaction abilities from verifiable task feedback, yet few methods exploit the native structured attributes of CLI actions as learning signals. Beyond this underused action structure, CLI learning also couples two bottlenecks for coding agents. First, the agent must identify task-relevant evidence in a large codebase from partial observations. Second, sparse terminal rewards must be assigned to the actions that shape a long multi-turn trajectory. We study these bottlenecks through shell-driven information extraction and file editing tasks. For selective observation, we introduce -Reveal, an inference-time mechanism that selects token-budgeted context for the same CLI. For credit assignment, we propose Action Advantage Assignment (), a native agentic RL method that preserves the algorithmic complexity of standard agentic RL. constructs turn-level advantages from episode-level relative feedback, abstract syntax tree (AST) based action sub-chain residuals, and tree-level trajectory margins. To further evaluate this problem setting, we construct ShellOps, a verifiable dataset suite covering CLI tasks in repository environments.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper combines structured action credit, selective context observation, and verifiable shell-task suites for CLI-agent reinforcement learning. The method constructs turn-level advantages from AST-based action similarity, episode-level relative feedback, and tree-level trajectory margins, and reports the best overall exact match among the compared 14B methods across six shell and repository suites. The central concern in review was whether AST similarity is a validated proxy for action credit or merely a correlation signal, since syntactically similar commands can have different effects and no ablation isolated the AST measure from simpler alternatives. Reviewers fmM9 and aJch found the added controls resolved their main concerns. The action-representation ablation shows AST-Levenshtein outperforming token overlap, verb-only matching, and raw edit distance, and the trajectory-SFT baseline and state-matching diagnostic they asked for tie the results back to the paper's stated motivation. The matched cross separates a ~9 point credit-assignment gain from a 1 to 2 point harness gain, though cross-family generalization remains untested. However, two claims overreach. Under a matched harness, a state-grouping baseline leads the out-of-distribution macro-average at all three reported horizons, so the best-14B claim fails. The AST signature's ~1.5 point edge over token overlap comes from single runs, lies within the seed spread, and ranks 3rd of 4 on the authors' own shell suite. The camera-ready should present AST similarity as an empirical proxy rather than a validated causal estimate and specify who performed the benchmark label audits and how many independent solvers were used.
Final justification
I am accepting on the strength of the matched cross the authors ran during discussion. It shows the objective is worth about 9 points and the harness only 1 to 2, so the gain is not an artifact of the scaffold. Two claims do not survive it. Under a matched harness the best-14B out-of-distribution claim does not hold, and their AST edge over token overlap falls inside the seed spread they report.
Read meta-review
Meta-review
This paper combines structured action credit, selective context observation, and verifiable shell-task suites for CLI-agent reinforcement learning. The method constructs turn-level advantages from AST-based action similarity, episode-level relative feedback, and tree-level trajectory margins, and reports the best overall exact match among the compared 14B methods across six shell and repository suites. The central concern in review was whether AST similarity is a validated proxy for action credit or merely a correlation signal, since syntactically similar commands can have different effects and no ablation isolated the AST measure from simpler alternatives. Reviewers fmM9 and aJch found the added controls resolved their main concerns. The action-representation ablation shows AST-Levenshtein outperforming token overlap, verb-only matching, and raw edit distance, and the trajectory-SFT baseline and state-matching diagnostic they asked for tie the results back to the paper's stated motivation. The matched cross separates a ~9 point credit-assignment gain from a 1 to 2 point harness gain, though cross-family generalization remains untested. However, two claims overreach. Under a matched harness, a state-grouping baseline leads the out-of-distribution macro-average at all three reported horizons, so the best-14B claim fails. The AST signature's ~1.5 point edge over token overlap comes from single runs, lies within the seed spread, and ranks 3rd of 4 on the authors' own shell suite. The camera-ready should present AST similarity as an empirical proxy rather than a validated causal estimate and specify who performed the benchmark label audits and how many independent solvers were used.
Final justification
I am accepting on the strength of the matched cross the authors ran during discussion. It shows the objective is worth about 9 points and the harness only 1 to 2, so the gain is not an artifact of the scaffold. Two claims do not survive it. Under a matched harness the best-14B out-of-distribution claim does not hold, and their AST edge over token overlap falls inside the seed spread they report.
2 comments
Part 2: SFT Baseline, Training Stability, and Gain Attribution
C2. “no SFT baseline to show RL is necessary”
Re(C2). We use prior evidence and a direct comparison to show why trajectory SFT alone is insufficient for interactive CLI tasks. A CLI task admits several Bash trajectories that reach the same verified outcome, while trajectory SFT observes one selected path per task. As discussed in our Introduction, Gu et al. [3] show across 16 agent environments that trajectory SFT amplifies interface dependence, while WebRL [7] demonstrates substantial gains from online interaction and outcome feedback. Further studies reach the same conclusion, showing that full-trajectory imitation can overfit demonstrated states and compound errors after deviations [4–6].
For experimental evidence, we trained a full-parameter Qwen3-14B trajectory-SFT baseline for 150 steps on verifier-exact Bash trajectories. As Table AC-2 shows, A³ leads SFT under both harnesses on the held-out suite and ShellOps-Pro OOD.
Table AC-2. A³ compared with trajectory SFT. Exact match in percent. Brackets report paired 95% task intervals on the held-out suite.
| Evaluation | Harness | Trajectory SFT | A³ | A³ gain |
|---|---|---|---|---|
| 909 held-out tasks | Vanilla | 33.84 | 38.55 | +4.71 [2.88, 6.53] |
| 909 held-out tasks | σ-Reveal | 34.72 | 39.71 | +4.99 [3.21, 6.80] |
| ShellOps-Pro OOD | Vanilla | 20.4 | 22.9 | +2.5 |
| ShellOps-Pro OOD | σ-Reveal | 22.7 | 29.9 | +7.2 |
We report the full task-level comparison in our response to Reviewer fmM9 W2.
C3. “no multi-seed runs for uncertainty”
Re(C3). Five independent runs support the stability of A³. As Table AC-3 shows, every run improves over the pretrained policy. The mean gain is 4.8 points with a sample standard deviation of 1.6.
Table AC-3. Independent A³ training runs. Exact match in percent.
| Seed | A³ | Gain over pretrained |
|---|---|---|
| 0 | 29.9 | +7.1 |
| 1 | 27.7 | +4.8 |
| 2 | 27.9 | +5.0 |
| 3 | 27.5 | +4.7 |
| 4 | 25.4 | +2.6 |
| Mean ± sample SD | 27.7 ± 1.6 | +4.8 ± 1.6 |
All six paired task intervals against GSPO, GiGPO, and HGPO remain positive under both harnesses. We provide the complete intervals in our response to Reviewer aJch Q4.
C4. “suggestive evidence that the observation mechanism rather than credit assignment drives most gains.”
Re(C4). We appreciate this attribution question. Appendix Table 9 aggregates the sweep and obscures the two effects. We therefore crossed A³ and GSPO, the strongest RL baseline in the article, with both harnesses. As Table AC-4 shows, A³ gains 9.2 points under Vanilla and 8.9 under σ-Reveal. The corresponding harness gains are 1.5 and 1.2 points. The interaction is -0.3 points, with a paired interval of [-2.2, 1.6].
Table AC-4. Training objective crossed with observation harness. Overall exact match in percent.
| Training objective | Vanilla | σ-Reveal | Harness gain |
|---|---|---|---|
| GSPO | 29.4 | 30.8 | +1.5 |
| A³ | 38.5 | 39.7 | +1.2 |
| A³ gain over GSPO | +9.2 | +8.9 | -0.3 |
The credit-assignment gain is present under either harness and is substantially larger than the harness gain. We provide the task and horizon breakdowns in our responses to Reviewer 6S38 Q1 and Reviewer aJch Q3.
[3] Gu, W., Li, C., Yu, Z., Sun, M., Yang, Z., Wang, W., Jia, H., Zhang, S., and Ye, W. 2026. What Do Agents Learn from Trajectory-SFT: Semantics or Interfaces? arXiv:2602.01611.
[4] Ross, S., Gordon, G., and Bagnell, D. 2011. A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning. Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, 627–635.
[5] Chen, Z., Li, M., Huang, Y., Du, Y., Fang, M., and Zhou, T. 2025. ATLAS: Agent Tuning via Learning Critical Steps. Findings of the Association for Computational Linguistics: ACL 2025, 25334–25349.
[6] Trung, L., Zhang, X., Jie, Z., Sun, P., Jin, X., and Li, H. 2024. ReFT: Reasoning with Reinforced Fine-Tuning. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics, 7601–7614.
[7] Qi, Z., Liu, X., Iong, I. L., Lai, H., Sun, X., Sun, J., Yang, X., Yang, Y., Yao, S., Xu, W., Tang, J., and Dong, Y. 2025. WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learning. The Thirteenth International Conference on Learning Representations.
Please let us know if further concerns remain, so that we can clarify the analysis or provide additional evidence.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses RL training for Command Line Interface (CLI) agents by highlighting two unresolved coupling bottlenecks: Selective Observation and Sparse Action credit assignment. Existing methods (e.g., GIGPO and HGPO) rely on the assumption of repeated states, making them impractical for the immense state spaces inherent in CLI+LLM environments.
To address these challenges, this paper proposes three main contributions:
- AST for measuring the similarity between two CLI commands.
- σ-Reveal for constructing Harness to create a subtree-closed set under token budget.
- A fused advantage named A3 to sequentially optimize the PPO objective.
This strategy demonstrates clear advantages over existing baselines in both computation efficiency and accuracy across open-source benchmarks and a newly introduced dataset, Shellops(pro).
Strengths and weaknesses
-
Strength:
- New datasets: The paper introduces Shellops(Pro), a comprehensive benchmark dataset consisting of 1,624 standard task corpora, complete with both in-distribution and out-of-distribution sets for robust training and evaluation. This provides a valuable resource for future research in this domain.
- Solid Performance & Cost-Efficiency: Tables 2 and 5 successfully justify the performance gains of -Reveal methods. Crucially, these improvements are achieved while maintaining inference costs comparable to GSPO and prompting baselines. It also leads to a substantial reduction in advantage-calculation costs by eliminating LLM Judges.
- Thorough Evaluation: Both the main paragraphs and appendices have provided detailed discussions and extensive ablation studies, increasing the necessity of some components in this framework.
-
Weakness:
- Appearance: Figure 2 is somewhat over-compact, those dense information with artistic figures and diagrames make its challenging for me to grasp the core takeaways.
- Shell commands can yield different results based on different workspace states. This proposed RL pipeline does not incorporate current workspace states with ASTs to capture a more comprehensive semantic context for clustering.
- The overall pipeline relies on empirical designs and hyperparameters tailored specifically to the CLI domain derived from user insight. It may raise my concern when it generalizes to broader scenarios like CUA (computer use agents) or SWE tasks.
Questions
- Effectiveness of A3 with -Reveal: While Table 3 demonstrates prominent performance gain with these two components compared with GIGPO and GSPO, the results in Table 9 seem to complicate this conclusion because the baseline RL objective integrated with solely -Reveal outperforms the proposed method. Could this be interpreted as evidence that the performance boost is primarily driven by the domain-specific harness design more than the RL objective?
- As mentioned in weakness point 2, because shell command outcomes are inherently tied to the underlying CLI environment, the distorted advantage calculation may degrade model performance when two actually conflicting states are mapped into the same cluster. Are these iconic trajectories included in your proposed benchmark? If not, are there backup strategies that can filter out these states?
- Orthogonal to the motivation of -Reveal: The initial motivation for -Reveal is to address the "workspace observation" bottleneck of ‘only partial observations’ in line 115. However, file-specific tasks seem to drop in Table 2. Could the author explain the possible reason?
Limitations
yes
Final justification
The author's rebuttal has addressed my concern about generalization and concepts.
Formatting concerns
No
3 comments
Rebuttal
Thank you for your careful review and constructive feedback. Please let us know if you still have further concerns, or if you are not satisfied with the current responses, so that we can further clarify our explanations and provide additional evidence.
Q1. “Effectiveness of A³ with σ-Reveal: While Table 3 demonstrates ... prominent performance gain ... could this be interpreted as evidence that the performance boost is primarily driven by the domain-specific harness design more than the RL objective?”
Re(Q1). We appreciate this concern. The results show that A³ provides the dominant gain under either observation harness. The limited task-type breakdown in Appendix Table 9 caused this ambiguity. As Table R3-1 shows, across Hmax ∈ {6, 7, 8, 9, 10}, σ-Reveal improves GiGPO by 14.2 points on String, 6.7 points on Files, and 4.1 points on Hybrid. Its macro average conceals that most of the gain comes from String. Appendix Table 9 shows that revealed context also helps a baseline policy, but it does not mean that the A³ gain comes from the harness.
Table R3-1. Mean GiGPO gain from σ-Reveal across five ShellOps-Pro horizons.
| Task type | String | Files | Hybrid |
|---|---|---|---|
| σ-Reveal gain | +14.2 | +6.7 | +4.1 |
We focus on ShellOps-Pro Hybrid, which is both OOD and the most composite task type, requiring the correct answer and the correct workspace change. As Table R3-2 shows, A³ leads GSPO, GiGPO, and HGPO at every reported horizon under both observation harnesses.
Table R3-2. ShellOps-Pro Hybrid across horizons. Exact match in percent.
| Method | Vanilla, Hmax = 6 | Vanilla, Hmax = 8 | Vanilla, Hmax = 10 | σ-Reveal, Hmax = 6 | σ-Reveal, Hmax = 8 | σ-Reveal, Hmax = 10 |
|---|---|---|---|---|---|---|
| GSPO | 3.6 | 4.8 | 2.4 | 9.2 | 6.8 | 9.6 |
| GiGPO | 4.8 | 4.8 | 5.2 | 9.2 | 9.6 | 8.4 |
| HGPO | 2.8 | 2.8 | 4.0 | 8.0 | 6.4 | 8.4 |
| A³ | 9.6 | 10.8 | 7.6 | 10.4 | 12.8 | 10.0 |
Q2. “Because shell command outcomes are inherently tied to the underlying CLI environment, the distorted advantage calculation may degrade model performance when two actually conflicting states are mapped into the same cluster. ... Are there backup strategies that can filter out these states?”
Re(Q2). Matching actions do not automatically receive the same credit. A³ handles this case through two mechanisms. 1. Each rollout's reward determines its credit. 2. The tree channel separates trajectories with different prefix histories, making matching actions from different histories less likely to enter the same group.
1. Different rollout returns produce different credit within the same action group. Two episodes may contain the same action but make different progress or reach different final outcomes. For two turns in an 𝑚-member action group, their leave-one-out credit difference equals 𝑚/(𝑚 − 1) times their rollout-return difference. Identical actions therefore receive different credit whenever their returns differ.
2. Prefix history controls tree-level grouping, thus controlling A³'s overall action grouping. At a given turn, two trajectories share an abstract state only when the time-weighted Hamming dissimilarity between their bucket histories is below threshold ξ. Different observation histories that induce different bucket histories therefore split into separate branches, even when the current actions match.
Two concrete rollout pairs illustrate the return-based and tree-based mechanisms above. In the first, one prefix extracts timestamps and the other extracts vendor identifiers. The same final report command writes nine lines in one workspace and four in the other. Although this pair remains in one tree component, its returns are 0 and 3.2, giving intent terms of -0.7665 and 0.9954 and fused advantages of -1.0146 and 1.1000. In the second pair, different prefixes reach the same incident-ID extraction command. The tree places them in different branches, and their fused advantages are 0 and -1.0995.
As Table R3-3 shows, A³ distinguishes both action-dependent and state-dependent execution effects. With the workspace state fixed, AST separates 1,954 of 1,970 action pairs with different effects. With the action fixed, prefix-sensitive tree grouping separates 41 of 50 state-induced conflicts, and return-based credit distinguishes all 159 unequal-return pairs across 12 settings.
Table R3-3. Direct tests of state-dependent credit and action grouping.
| What is tested | Pairs | Result |
|---|---|---|
| Same action, different execution effects | 50 | Tree separates 41 of 50 |
| Same action, different returns, all 12 settings | 159 | A³ credit differs for 159 of 159 |
| Different actions, same state, different effects | 1,970 | AST separates 1,954 of 1,970 |
An unresolved merge does not introduce a directional shift in the intent channel because the leave-one-out residuals sum to zero within every action group. Such a merge may make individual turn credit noisier while leaving the group mean unchanged. Every turn still retains the episode-level GSPO signal.
Q3. “The initial motivation for σ-Reveal is to address the ‘workspace observation’ bottleneck of ‘only partial observations’ ... However, file-specific tasks seem to drop in Table 2. Could the author explain the possible reason?”
Re(Q3). The small exact-match change does not indicate weaker workspace reasoning under σ-Reveal.
1. Exact match and the secondary evaluation in Table 8 should be read together. As Table R3-4 shows, on ShellOps Files, σ-Reveal improves file-change recall by 4.8 points, raises the answered rate by 1.6 points, and reduces the average interaction by 0.27 turns, while exact match changes by -0.8 points. LLM Judge and file-change recall capture partial correctness that exact match would otherwise mark as incorrect.
Table R3-4. Effect of σ-Reveal on ShellOps Files tasks.
| Measure | Change |
|---|---|
| Exact match | -0.8 |
| File-change recall | +4.8 |
| Answered rate | +1.6 |
| Average interaction turns | -0.27 |
2. Workspace and Files are different concepts in our formulation. All six benchmark streams are workspace POMDPs, spanning String, Files, and Hybrid tasks, with the agent acting through partial observations of a filesystem. Files denotes only the required output form, namely workspace edits. The Files exact-match change therefore cannot characterize the total effect of σ-Reveal on the workspace-observation bottleneck.
W1. “Figure 2 is somewhat over-compact, those dense information with artistic figures and diagrames make its challenging for me to grasp the core takeaways.”
Re(W1). We thank the reviewer for this suggestion. We will revise Fig. 2 to make the sibling rollouts, AST matching, A³ credit assignment, and the σ-Reveal mechanism easier to follow.
W2. “Shell commands can yield different results based on different workspace states. This proposed RL pipeline does not incorporate current workspace states with ASTs to capture a more comprehensive semantic context for clustering.”
Re(W2). We answer this concern in detail in Q2. A³ retains GSPO as the optimization backbone, with the realized rollout return providing the credit signal. This return reflects the outcome under the observed workspace state. A³ uses AST similarity only to assign that signal across actions, not to define its value. As Table R3-3 shows, identical commands under different states receive different fused credit in all 21 strict unequal-return cases and all 159 broader cases.
W3. “The overall pipeline relies on empirical designs and hyperparameters tailored specifically to the CLI domain ... It may raise my concern when it generalizes to broader scenarios like CUA ... or SWE tasks.”
Re(W3). CUA is broader than the shell setting studied here and also includes GUI interaction over visual states. As stated in the Limitations section, the present AST representation does not cover those actions. We will explore that extension separately.
SWE is a natural application of CLI agents, where an agent solves software-engineering tasks by interacting with a partially observed repository. To address the reviewer's concern, we evaluated the A³ checkpoint from the paper on the held-out SWE-QA split [1] as an OOD test. As Table R3-5 shows, A³ improves all five dimensions over its matched ablation and reaches 49.85, approaching the 50.80 reported for Qwen3-Coder-30B-A3B-Instruct, a coding model specialized for software-engineering tasks [1].
Table R3-5. Out-of-domain transfer to held-out SWE-QA repositories. Each dimension is scored out of 20.
| Model | Correctness | Completeness | Relevance | Clarity | Reasoning | Overall |
|---|---|---|---|---|---|---|
| Qwen3-14B (A³ ablated) | 8.19 | 6.97 | 12.22 | 12.46 | 8.78 | 48.62 |
| A³, Qwen3-14B | 8.20 | 7.36 | 12.40 | 12.86 | 9.03 | 49.85 |
| Qwen3-Coder-30B-A3B-Instruct, SWE-QA paper | 7.39 | 5.42 | 14.23 | 14.66 | 9.11 | 50.80 |
[1] Peng, W., Shi, Y., Wang, Y., Zhang, X., Shen, B., and Gu, X. 2026. SWE-QA: Can Language Models Answer Repository-level Code Questions? Findings of the Association for Computational Linguistics: ACL 2026, 8230–8245.
I appreciate the detailed clarifications provided. They have addressed my concern.
Thank you for your kind feedback. We are pleased that the clarification has addressed your concern. We hope the additional information strengthens your understanding of our work, and we would greatly appreciate it if you could take these clarifications into account in your final assessment.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies RL for CLI agents operating over partially observed filesystem workspaces. It proposes (\sigma)-Reveal, an inference-time mechanism for selecting token-budgeted workspace context, and Action Advantage Assignment (A3), a credit assignment method using episode feedback, AST-based command similarity, and tree-level trajectory margins. The paper also introduces ShellOps and ShellOps-Pro, verifiable CLI task suites covering lookup, aggregation, editing, and mixed output tasks. Experiments compare A3 with several agentic RL, search, and frontier- model baselines, including ablations, pass@k, horizon sweeps, and cost analysis.
Strengths and weaknesses
Strengths
The paper addresses an important problem: training CLI agents that must inspect files, execute commands, edit artifacts, and learn from sparse task-level rewards. Partial observation and long-horizon credit assignment are real bottlenecks in this setting.
A3 is a sensible and fairly original use of shell-command structure. Instead of treating trajectories only as flat token sequences or assigning one return to all actions, the method uses AST-based command structure to provide more fine-grained credit. This is well matched to CLI agents.
The empirical package is relatively strong. The paper compares against multiple RL baselines, agentic inference methods, and frontier-model baselines. It also includes vanilla A3, (\sigma)-Reveal variants, pass@k results, ShellOps-Pro horizon sweeps, ablations, and cost measurements. The fact that vanilla A3 is already strong makes the result more convincing.
The cost analysis is useful. A3 appears to avoid the heavy overhead of judge-based credit assignment while still improving performance.
Weaknesses
The main weakness is that the core proxy, AST similarity, is not directly validated as semantic action intent or causal action contribution. Two shell commands can have similar ASTs but very different effects because of paths, flags, working directory, file contents, or prior workspace state. Conversely, two syntactically different commands may be functionally equivalent.
More fundamentally, A3 appears to assign credit based on correlation with successful trajectories rather than a counterfactual estimate of an action’s contribution. A command pattern may appear frequently in successful rollouts because it co-occurs with later corrective actions, not because the command itself was beneficial. The ablations show that the AST channel helps on ShellOps, but they do not fully establish that it captures meaningful action credit.
A second concern is whether the intent and tree advantages have enough statistical support. Since A3 estimates structured credit from sibling rollouts, small rollout groups may produce many singleton or tiny AST clusters. If so, the residual advantages could be noisy or unstable. The paper should report cluster-size distributions and how often the tree gate is actually active.
The separation between A3 and (\sigma)-Reveal could also be clearer. (\sigma)-Reveal is an inference-time observation mechanism, while A3 is a training-time credit assignment method. The paper would be stronger with a fully matched (2\times2) comparison: baseline/A3 training crossed with vanilla/(\sigma)-Reveal observation.
Finally, the paper lacks enough RL training uncertainty. Fixed splits and fixed seeds are not enough for an RL paper; multiple training seeds or confidence intervals would make the empirical claims more reliable.
Questions
-
Can the authors directly validate AST similarity as an action-intent proxy, including cases where syntactically similar commands have different effects and syntactically different commands are functionally equivalent?
-
Can the authors report the effective support for the intent and tree advantages: AST-cluster size distributions, singleton-cluster fraction, fraction of turns where the tree gate is active, and sensitivity to rollout group size or clustering granularity?
-
Can the authors present a fully matched (2\times2) comparison: baseline/A3 training crossed with vanilla/ (\sigma)-Reveal observation, across the main benchmark settings and horizons?
-
Can the authors report multiple RL training seeds or confidence intervals for the main A3 vs GSPO/GiGPO/HGPO comparisons?
-
Can the authors provide more detail on ShellOps label auditing, including LLM-audit disagreement rates, manual validation, and whether the audit/filtering process introduces benchmark bias?
My score could increase if the authors provide stronger evidence that AST similarity tracks semantic action contribution and that A3’s structured credit estimates are statistically well supported. My score could decrease if the gains mostly come from (\sigma)-Reveal or from noisy/sparse command clusters rather than robust credit assignment.
Limitations
No. The paper discusses some limitations, including AST similarity as a proxy and (\sigma)-Reveal’s dependence on file hierarchy relevance. However, it should more directly discuss the gap between AST similarity and causal action credit, sparse cluster support for A3, LLM-audited label noise, benchmark bias, and missing multi-seed RL uncertainty.
Final justification
Thank you for the detailed rebuttal and the substantial additional experiments. The response directly addresses my main concerns and significantly strengthens the paper.
The new action-representation ablation supports the AST-based design choice, with AST-Levenshtein outperforming token overlap, verb-only matching, and raw command edit distance. The additional analyses of peer coverage, tree-gate activity, rollout-group size, and action-history granularity also provide stronger support for the structured credit mechanism.
The matched comparison between A³ and σ-Reveal clearly shows that the main gain comes from A³ rather than the observation harness. The five independent training runs and positive paired intervals against the main RL baselines substantially improve confidence in the robustness of the results. The added details on ShellOps construction and auditing also strengthen the benchmark contribution.
I still view AST similarity as an empirical proxy for action credit rather than a direct counterfactual estimate of causal contribution, and I encourage the final version to keep this distinction clear. Nevertheless, the rebuttal adequately addresses my concerns.
I am therefore updating my rating from 4 to 5: Accept.
Formatting concerns
None
3 comments
Rebuttal
Thank you for recognizing the motivation, originality, and empirical strength of our work. Please let us know if you still have further concerns, or if you are not satisfied with the current responses, so that we can provide further evidence.
Q1. “Can the authors directly validate AST similarity as an action-intent proxy, including cases where syntactically similar commands have different effects and syntactically different commands are functionally equivalent?”
Re(Q1). A³ handles these cases through two mechanisms.
1. Rollout returns determine credit magnitude. AST defines which actions are compared. For an AST group with members, the leave-one-out residuals of two turns satisfy
Matched actions therefore retain their rollout-return difference rather than receiving a fixed credit.
2. Prefix history controls tree-level grouping and thus A³’s overall action grouping. Under the paper’s tree construction, two trajectories share an abstract state only when the time-weighted distance between their prefix bucket sequences is below threshold ξ. Different observation histories enter different branches even when their current actions match.
We validate both mechanisms on executed actions. Among 50 same-action conflicts induced by different prefixes, tree history separates 41. All 159 unequal-return pairs across 12 policy and observation settings receive different fused advantages. In a separate replay, AST recognizes 20 differently written commands with identical effects, while falsely grouping only 16 of 1,970 different-effect pairs (0.8%).
To further illustrate this, we provide two rollout examples. The same set-difference command writes nine lines after one prefix and four after another. Its returns are 0 and 3.2, producing final advantages of -1.0146 and 1.1000. Conversely, the filters TLSv1.0\|TLSv1.1 and TLSv1\.\(0\|1\) produce the same stdout and file state. Both receive return 3.2, intent credit 0.5879, and final advantage 0.9271.
Q2. “Can the authors report the effective support for the intent and tree advantages: AST-cluster size distributions, singleton-cluster fraction, fraction of turns where the tree gate is active, and sensitivity to rollout group size or clustering granularity?”
Re(Q2). Both structured channels receive substantial support. In the paper’s 150-update run, groups with peers cover 47.4% of action turns. Tree comparisons occur in 121 of 147 updates. Intent and tree contribute 30.8% and 21.5% of fused credit, consistent with Fig. 4(a).
For further analysis, we provide a lightweight training comparison with a 50-update budget. Tables R2-1A and R2-1B report the last stable checkpoint. Larger raises tree support, while every tested size beats the pretrained policy. is omitted because its tree advantage is identically zero.
Table R2-1A. Comparison support across rollout group sizes.
| Peer groups | Singletons | Turns with peers | Tree gate | Nonzero tree credit | |
|---|---|---|---|---|---|
| 8 | 496 | 50.8% | 66.8% | 26.2% | 8.5% |
| 16 | 859 | 50.4% | 70.5% | 53.5% | 20.5% |
| 32 | 1,276 | 58.3% | 68.5% | 60.6% | 29.1% |
Table R2-1B. Group-size sensitivity under Vanilla. Exact match at the last stable checkpoint.
| AB-OS | AB-DB | DataBench | EHRCon | ShellOps | TableBench | Overall | |
|---|---|---|---|---|---|---|---|
| 8 | 55.2 | 35.4 | 57.3 | 47.8 | 19.4 | 19.5 | 30.0 |
| 16 | 55.2 | 28.2 | 58.7 | 38.9 | 13.2 | 21.2 | 25.6 |
| 32 | 51.0 | 32.0 | 52.3 | 41.5 | 10.1 | 22.1 | 25.2 |
Table R2-2 adds comparison support to the action-window ablation in Table 4. Peer coverage remains stable across all five windows.
Table R2-2. Action-history granularity, comparison support, and exact match.
| lmax | Turns with peers | String | Files | Hybrid | Macro |
|---|---|---|---|---|---|
| 1 | 46.1% | 34.7 | 27.4 | 18.0 | 26.7 |
| 2 | 47.6% | 29.8 | 28.3 | 13.0 | 23.7 |
| 3 | 48.1% | 44.5 | 38.1 | 21.9 | 34.8 |
| 4 | 49.0% | 41.1 | 33.4 | 16.6 | 30.4 |
| 5 | 47.6% | 36.2 | 33.2 | 23.2 | 30.9 |
Q3. “Can the authors present a fully matched 2 × 2 comparison: baseline/A3 training crossed with vanilla/σ-Reveal observation, across the main benchmark settings and horizons?”
Re(Q3). We agree that the aggregate comparison was not detailed enough. As Table R2-3 shows, A³ has the highest overall exact match under both harnesses and leads eight of nine streams in each setting. Its GSPO margin is 9.2 points under Vanilla and 8.9 under σ-Reveal, separating the training gain from the harness.
Table R2-3. Training objective and observation harness at Hmax = 6. Exact match in percent.
| Method | Harness | AB-OS | AB-DB-S | AB-DB-F | DataBench | EHRCon | ShellOps-S | ShellOps-F | ShellOps-H | TableBench | Overall |
|---|---|---|---|---|---|---|---|---|---|---|---|
| GSPO | Vanilla | 61.4 | 12.6 | 43.5 | 70.1 | 45.6 | 25.5 | 10.9 | 11.3 | 24.8 | 29.4 |
| GSPO | σ-Reveal | 66.9 | 10.8 | 42.6 | 72.5 | 47.4 | 31.5 | 14.6 | 12.5 | 26.3 | 30.8 |
| GiGPO | Vanilla | 54.5 | 9.5 | 37.8 | 56.8 | 59.3 | 24.0 | 11.3 | 10.1 | 23.5 | 27.1 |
| GiGPO | σ-Reveal | 69.7 | 10.8 | 37.5 | 63.2 | 57.8 | 31.5 | 18.1 | 15.4 | 18.2 | 29.3 |
| HGPO | Vanilla | 46.9 | 12.1 | 38.7 | 44.3 | 54.1 | 23.5 | 11.9 | 9.5 | 18.5 | 25.0 |
| HGPO | σ-Reveal | 62.8 | 10.3 | 37.9 | 51.2 | 53.7 | 35.0 | 12.9 | 11.8 | 16.6 | 26.4 |
| A³ | Vanilla | 58.6 | 23.6 | 46.6 | 74.1 | 66.7 | 46.5 | 26.5 | 21.9 | 30.7 | 38.5 |
| A³ | σ-Reveal | 60.7 | 26.2 | 46.4 | 77.9 | 67.4 | 48.5 | 25.7 | 24.6 | 31.6 | 39.7 |
For horizon sensitivity, we use ShellOps-Pro Hybrid, the most composite OOD task type. As Table R2-4 shows, A³ leads every baseline under both harnesses at Hmax = 6, 8, and 10.
Table R2-4. ShellOps-Pro Hybrid across horizons. Exact match in percent.
| Method | Vanilla, H6 | Vanilla, H8 | Vanilla, H10 | σ-Reveal, H6 | σ-Reveal, H8 | σ-Reveal, H10 |
|---|---|---|---|---|---|---|
| GSPO | 3.6 | 4.8 | 2.4 | 9.2 | 6.8 | 9.6 |
| GiGPO | 4.8 | 4.8 | 5.2 | 9.2 | 9.6 | 8.4 |
| HGPO | 2.8 | 2.8 | 4.0 | 8.0 | 6.4 | 8.4 |
| A³ | 9.6 | 10.8 | 7.6 | 10.4 | 12.8 | 10.0 |
Q4. “Can the authors report multiple RL training seeds or confidence intervals for the main A3 vs GSPO/GiGPO/HGPO comparisons?”
Re(Q4). We agree that RL uncertainty should be measured across independently trained policies. As Table R2-5 shows, all five A³ runs improve over the same pretrained policy. Their mean exact match is 27.7 ± 1.6, corresponding to a 4.8 ± 1.6 point gain. The paired intervals in Table R2-6 are positive against every main RL baseline under both harnesses.
Table R2-5. Five independent A³ training runs. Exact match in percent.
| Seed | A³ | Gain |
|---|---|---|
| 0 | 29.9 | +7.1 |
| 1 | 27.7 | +4.8 |
| 2 | 27.9 | +5.0 |
| 3 | 27.5 | +4.7 |
| 4 | 25.4 | +2.6 |
| Mean ± SD | 27.7 ± 1.6 | +4.8 ± 1.6 |
Table R2-6. A³ exact-match gain over each baseline. Percentage points with paired 95% task intervals.
| Baseline | Vanilla, A³ - baseline | σ-Reveal, A³ - baseline |
|---|---|---|
| GSPO | +9.2 [7.4, 10.9] | +8.9 [7.1, 10.6] |
| GiGPO | +11.5 [9.6, 13.4] | +10.4 [8.5, 12.3] |
| HGPO | +13.6 [11.7, 15.5] | +13.3 [11.5, 15.3] |
Q5. “Can the authors provide more detail on ShellOps label auditing, including LLM-audit disagreement rates, manual validation, and whether the audit/filtering process introduces benchmark bias?”
Re(Q5). We verify every ShellOps label through execution and audit. Experts screen topics spanning the four CLI capabilities in Fig. 1 and Appendix A. Claude Opus 4.7 instantiates each approved topic as an init/ workspace and grounded query.
Independent solvers produce Bash programs for the same query and workspace. Agreement on sandboxed stdout and file state defines the gold outcome. Four audits vote keep or drop after examining the query, program, and outcome. Release requires four keep votes. Of 7,693 executable candidates, 1,624 satisfy this rule, while all 2,022 candidates with three approvals are excluded. Pairwise disagreement is 20.4% to 39.4%.
Experts write all 150 ShellOps-Pro queries and reference programs. Seeded scripts construct their workspaces, and execution establishes their labels. Filtering retains all four capabilities. The Hybrid share increases from 33.3% to 43.6%, while mean workspace size changes from 3.48 to 3.50 files.
W1. “The main weakness is that the core proxy, AST similarity, is not directly validated as semantic action intent or causal action contribution. ...”
Re(W1). Q1 directly validates both cases. AST selects peers, while return contrasts supply credit and preserve within-group return differences. Frequency alone cannot produce positive credit.
W2. “A second concern is whether the intent and tree advantages have enough statistical support. ...”
Re(W2). Q2 reports the requested support. Intent peers cover 47.4% of turns, and tree contributes 21.5% of fused credit. Tables R2-1 and R2-2 show sensitivity results.
W3. “The separation between A3 and σ-Reveal could also be clearer. ...”
Re(W3). Table R2-3 isolates the two factors. A³ gains 9.2 points under Vanilla and 8.9 under σ-Reveal.
W4. “Finally, the paper lacks enough RL training uncertainty.”
Re(W4). Tables R2-5 and R2-6 report five independent A³ runs and paired intervals against all three RL baselines. Every run and interval is positive.
W5. “The paper ... should more directly discuss ... LLM-audited label noise, benchmark bias, and missing multi-seed RL uncertainty.”
Re(W5). Q4 reports training uncertainty. Q5 gives audit disagreement, manual validation, and filtering statistics. We will add them to the revision.
Thank you for the detailed rebuttal and the substantial additional experiments. The response directly addresses my main concerns and significantly strengthens the paper.
The new action-representation ablation supports the AST-based design choice, with AST-Levenshtein outperforming token overlap, verb-only matching, and raw command edit distance. The additional analyses of peer coverage, tree-gate activity, rollout-group size, and action-history granularity also provide stronger support for the structured credit mechanism.
The matched comparison between A³ and σ-Reveal clearly shows that the main gain comes from A³ rather than the observation harness. The five independent training runs and positive paired intervals against the main RL baselines substantially improve confidence in the robustness of the results. The added details on ShellOps construction and auditing also strengthen the benchmark contribution.
I still view AST similarity as an empirical proxy for action credit rather than a direct counterfactual estimate of causal contribution, and I encourage the final version to keep this distinction clear. Nevertheless, the rebuttal adequately addresses my concerns.
I am therefore updating my rating from 4 to 5: Accept.
Thank you for the helpful feedback. We are glad that the additional experiments and clarifications addressed your concerns. We also appreciate your insightful comment on AST similarity and will clarify this point in the final version. Thanks again for your support.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses reinforcement learning for CLI agents, which act over filesystems via executable shell commands and face two coupled bottlenecks: partial workspace observation and sparse credit assignment over long multi-turn trajectories. The authors propose A³, a multi-granularity credit-assignment method that uses an AST-based shell-action similarity measure (rather than the repeated-state assumption of prior GRPO-style methods) to define comparability, fusing episode-, turn-, and tree-level advantage channels at roughly the cost of standard agentic RL. They additionally introduce σ-Reveal, an inference-time mechanism that selects a token-budgeted workspace view before the first action, and construct ShellOps/ShellOps-Pro, two verifiable filesystem-interaction benchmark suites. Using a Qwen3-14B policy, A³ with σ-Reveal reports the strongest exact-match and Pass@k results among compared Qwen3-14B methods, with the largest gains on hybrid ShellOps tasks.
Strengths and weaknesses
Strength
S1. A well-motivated core idea that targets a real gap. The paper makes a clear and convincing argument that state-anchored credit assignment (e.g., GiGPO, HGPO) is weakened in the CLI setting because observations rarely repeat, and proposes using the AST structure of shell commands—an attribute that is genuinely underexploited in prior work—as an alternative basis for comparability. The reasoning from the two stated bottlenecks to the design of A³ and σ-Reveal is coherent and easy to follow.
S2. The efficiency claim is well supported. A recurring concern with richer credit-assignment schemes is computational overhead, and the paper addresses this directly: Appendix E measures the AST similarity passes at under ~26ms, and Table 5 shows that A³'s advantage computation stays at the level of standard group-relative training, far below the LLM-judge variants of GiGPO/HGPO whose advantage computation dominates cost. This makes the "no added algorithmic complexity" claim credible rather than merely asserted.
S3. Solid benchmark contribution and reproducibility detail. The ShellOps/ShellOps-Pro suites provide verifiable, outcome-based filesystem tasks across four task axes, and the paper normalizes several existing benchmarks into a common interface. Combined with the documented sandbox, constrained-decoding action protocol, training algorithm, and hyperparameters, this gives the work a relatively strong reproducibility story and a benchmark resource that could be useful to the community independent of the proposed method.
Weakness
W1. Limited attribution of the AST-based similarity measure. The AST-based action similarity is framed as a core contribution, but I couldn't find an ablation that isolates its benefit from the multi-granularity credit-assignment structure it sits within—Table 4 ablates whole channels and the action-window length ℓmax, while Appendix E reports only wall-clock cost rather than effect on accuracy. A comparison that holds the three-channel A³ structure fixed while replacing the AST-Levenshtein signature with a simpler measure (e.g., raw command-string edit distance, verb-only matching, or token overlap) would help clarify how much of the reported gain stems from the AST measure specifically versus the credit-assignment framework.
W2. Gaps between the paper's motivating claims and the empirical comparison. Two of the paper's central arguments are set up in the introduction/related work but do not seem to be substantiated by a corresponding baseline or measurement. First, trajectory SFT is used as a motivating foil (argued to memorize interface patterns rather than learn task understanding), yet I couldn't find an SFT baseline in the experiments to confirm empirically that RL—and A³ in particular—outperforms it. Second, the core rationale for A³ over state-anchored methods (GiGPO, HGPO) is that observations rarely repeat in the CLI setting, but while A³ does outperform these baselines, there appears to be no direct measurement of the state-repetition rate on ShellOps to confirm that the advantage stems from the claimed mechanism rather than other factors. Adding an SFT comparison and a simple diagnostic of observation/state-repetition would tie the empirical results more directly to the paper's stated motivation; if either is already present and I've overlooked it, a pointer would be appreciated.
W3. Generalization across policy models is untested. All training experiments use a single policy model from one family (Qwen3-14B), so it is unclear how robust the method is to model scale or architectural family. Since credit-assignment and context-selection mechanisms can interact with model capacity in non-obvious ways, demonstrating that the gains hold for at least one other scale (e.g., a 7B model) or a different family would substantially strengthen the generality of the claims. As-is, the results are convincing for the tested configuration but I'm left uncertain whether they extend beyond it.
Questions
Q1. Construction and validation of the ShellOps/ShellOps-Pro benchmark. The paper documents the task schema, the four task axes, scale statistics, and the verifiable scoring loop (Sec 4.1, App A), and the term "simulation data" suggests the instances are synthetically generated—but I could not find a description of the generation pipeline itself. Could you clarify how the ShellOps tasks are produced, specifically: (a) how the natural-language queries, initial file trees, and reference "gold" bash solutions are generated (hand-authored, templated, or LLM-synthesized); (b) how the correctness of each gold solution is verified, since the programmatic reward depends on it; and (c) the details of the label process described as "Claude Opus 4.7 audits aggregated by majority vote"—how many audits, what is voted on, and whether any human spot-check was performed to calibrate label accuracy? Since the benchmark is a stated core contribution, a fuller account of the pipeline plus even a small human audit of label accuracy would substantially increase my confidence in the resource (this concern is specific to the new assets; the reused benchmarks are appropriately cited to their original papers).
Limitations
yes
Final justification
The rebuttal substantially addressed my main concerns:
- The new controlled ablation isolates the contribution of the AST-based similarity measure and shows that it outperforms simpler alternatives.
- The added trajectory-SFT baseline and state-matching diagnostic directly support the paper’s motivation and empirical claims.
- The 4B and 8B experiments provide evidence that A³ generalizes across model scales within the Qwen3 family.
- The benchmark construction and validation pipeline is now much clearer.
Some minor issues remain. Cross-family generalization is still untested, and the paper should clarify who performed the four audits, how many independent solvers were used, and whether standard ShellOps received human spot-checking.
Overall, the rebuttal resolves the main evaluation limitations that motivated my initial borderline-reject score. I therefore place greater weight on the paper’s technical contribution, efficiency, and strengthened empirical evidence, and recommend a borderline accept.
Formatting concerns
N/A
3 comments
Rebuttal
Thank you for recognizing the motivation, efficiency, and reproducibility of our work. Please let us know if you still have further concerns, or if you are not satisfied with the current responses, so that we can further clarify our explanations and provide additional evidence.
Q1. “Construction and validation of the ShellOps/ShellOps-Pro benchmark. ... how many audits, what is voted on, and whether any human spot-check was performed to calibrate label accuracy?”
Re(Q1). We verify every label in ShellOps and ShellOps-Pro through execution and audit. The tasks follow the four practical CLI capabilities in Fig. 1 and Appendix A. Human experts first screen the task topics, such as IP lookup, security checks, log analysis, configuration updates, record matching, etc. Claude Opus 4.7 then instantiates a realistic sandbox from each approved topic, with an init/ workspace and a query grounded in its contents. For ShellOps-Pro, experts write all 150 queries and reference Bash programs, and seeded scripts construct the workspaces.
Gold labels come from sandboxed execution. Independent solvers produce Bash programs for the same query and workspace. We retain a task only when their stdout and final file states agree. The agreed outcome becomes the label.
Four audits use a common rubric defined with Claude Opus 4.7. Each votes keep or drop after checking whether the Bash program satisfies the query and whether its executed outcome matches the label. A task needs four keep votes. Human review is integrated into construction, covering topic screening and every ShellOps-Pro query and reference program. Standard ShellOps receives this executable and semantic validation on every released task.
The released 1,624 tasks are the unanimous subset of 7,693 candidates that passed executable backtesting. All 2,022 candidates with three approvals were excluded.
W1. “Limited attribution of the AST-based similarity measure. ... A comparison that holds the three-channel A³ structure fixed while replacing the AST-Levenshtein signature with a simpler measure ...”
Re(W1). We added the requested ablation by replacing the AST-Levenshtein signature in Eq. 2 with three simpler comparison rules. We keep all other settings fixed. Raw command-string edit distance applies normalized Levenshtein distance to characters. Verb-only matching applies the same distance to parser-extracted verbs. Token overlap uses Jaccard distance over whitespace tokens. (All four runs use the same 50-update budget.)
Table R1-1. Replacing the AST-Levenshtein signature under Vanilla evaluation. Exact match in percent.
| Action representation | AB-OS | AB-DB | DataBench | EHRCon | ShellOps | TableBench | Overall |
|---|---|---|---|---|---|---|---|
| AST-Levenshtein signature | 62.76 | 33.05 | 65.87 | 51.85 | 11.94 | 19.63 | 27.85 |
| Token overlap | 48.28 | 30.15 | 56.80 | 52.59 | 13.29 | 20.00 | 26.40 |
| Verb-only matching | 50.34 | 26.72 | 65.07 | 57.41 | 11.51 | 20.85 | 25.96 |
| Raw command-string edit distance | 44.14 | 8.78 | 73.07 | 26.30 | 16.31 | 21.95 | 21.32 |
Policy accuracy. As Table R1-1 shows, the AST-Levenshtein signature gives the highest overall exact match, improving over raw edit distance, verb-only matching, and token overlap by 6.53, 1.89, and 1.45 points. Compared with token overlap, AST also raises the answered rate by 14.28 points and reduces the interaction by 0.42 turns.
Action syntax and functional equivalence. We further test whether zero-distance syntax matches identify execution-equivalent actions.
Table R1-2. Action equivalence at zero representation distance over 2,180 pairs replayed from the same workspace state.
| Representation | Match precision | Different-effect pairs falsely matched |
|---|---|---|
| Exact AST signature | 55.6% | 16 / 1,970, 0.8% |
| Token overlap | 9.1% | 10 / 1,970, 0.5% |
| Verb-only matching | 16.5% | 439 / 1,970, 22.3% |
Table R1-2 shows that AST-Levenshtein has the highest match precision. Verb-only matching merges 439 pairs with different execution effects. AST provides the best balance for credit assignment, consistent with its highest overall exact match in Table R1-1.
W2. “Gaps between the paper’s motivating claims and the empirical comparison. ... Adding an SFT comparison and a simple diagnostic of observation/state-repetition would tie the empirical results more directly to the paper’s stated motivation.”
Re(W2). We added both requested controls. A³ outperforms trajectory SFT. Our state-matching diagnostic also shows that A³ supplies comparison peers to 78.18% of turns and produces nonzero within-group credit on 34.18%, more than twice the corresponding state-matching rates.
1. Outcome-supervised RL versus trajectory SFT
CLI tasks often admit multiple valid trajectories. SFT imitates one gold trace, while A³ optimizes verified outcomes across sampled trajectories. We trained full-parameter Qwen3-14B SFT for 150 steps on gold Bash trajectories, supervising only action tokens.
Table R1-3. A³ compared with trajectory SFT. Exact match in percent.
| Harness | Method | AB-OS, String | AB-DB, String | DataBench, String | EHRCon, String | ShellOps, String | TableBench, String | AB-DB, Files | ShellOps, Files | ShellOps, Hybrid |
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla | Trajectory SFT | 58.6 | 28.5 | 68.5 | 64.8 | 36.5 | 23.0 | 42.4 | 20.4 | 16.0 |
| Vanilla | A³ | 58.6 | 23.6 | 74.1 | 66.7 | 46.5 | 30.7 | 46.6 | 26.5 | 21.9 |
| σ-Reveal | Trajectory SFT | 63.4 | 24.9 | 71.7 | 65.2 | 40.0 | 23.7 | 43.6 | 19.0 | 18.8 |
| σ-Reveal | A³ | 60.7 | 26.2 | 77.9 | 67.4 | 48.5 | 31.6 | 46.4 | 25.7 | 24.6 |
As Table R1-3 shows, A³ improves overall exact match by 4.7 points under Vanilla and 5.0 points under σ-Reveal, leading in 15 of 18 task cells and tying one.
Table R1-4. A³ compared with trajectory SFT on secondary metrics. Scores are percentages.
| Harness | Method | AB-OS, Judge | AB-DB, Judge | DataBench, Judge | EHRCon, Judge | ShellOps, Judge | TableBench, Judge | AB-DB, Diff Recall | ShellOps, Diff Recall | ShellOps, Combined |
|---|---|---|---|---|---|---|---|---|---|---|
| Vanilla | Trajectory SFT | 58.6 | 28.5 | 68.5 | 64.8 | 36.5 | 23.0 | 44.3 | 42.3 | 31.9 |
| Vanilla | A³ | 58.6 | 27.8 | 74.6 | 66.7 | 49.0 | 32.0 | 48.8 | 53.5 | 47.2 |
| σ-Reveal | Trajectory SFT | 63.4 | 24.9 | 71.7 | 65.2 | 40.0 | 23.7 | 45.6 | 46.0 | 39.7 |
| σ-Reveal | A³ | 60.7 | 28.7 | 77.9 | 67.4 | 49.1 | 32.0 | 48.2 | 58.3 | 52.0 |
Table R1-4 confirms the same advantage on the secondary metrics.
The overall 95% paired task intervals are [2.88, 6.53] under Vanilla and [3.21, 6.80] under σ-Reveal. All six task-type intervals are also above zero, with the largest gains on Hybrid tasks that require both a returned answer and correct workspace edits.
2. State matching versus action matching
We compare how often state matching and action matching form usable turn-level groups. At M = 4, we apply each method’s grouping rule to the same sibling rollouts. GiGPO matches current observations, HGPO matches observation histories, and A³ matches actions with AST-Levenshtein. We use the SequenceMatcher and LLM Judge interfaces in the paper at the 0.95 threshold.
Table R1-5. State and action grouping on the same sibling rollouts at M = 4.
| Method | Matched pairs | Turns with a peer | Unequal-return groups | Turns with nonzero credit | Mean absolute LOO |
|---|---|---|---|---|---|
| GiGPO, SequenceMatcher | 25.71% | 38.80% | 303.8 | 16.26% | 0.281 |
| GiGPO, LLM Judge | 4.97% | 10.64% | 74.6 | 3.13% | 0.063 |
| HGPO, SequenceMatcher | 22.84% | 33.19% | 272.2 | 14.92% | 0.256 |
| HGPO, LLM Judge | 1.07% | 2.82% | 23.2 | 0.92% | 0.019 |
| A³, AST | 46.25% | 78.18% | 688.2 | 34.18% | 0.606 |
As Table R1-5 shows, A³ finds a comparison peer for 78.18% of turns, compared with 38.80% for GiGPO and 33.19% for HGPO under SequenceMatcher. The LLM Judge gives the state-matching methods still fewer peers. A³ also forms 688.2 unequal-return groups per four-rollout subset and produces nonzero turn-level credit for 34.18% of turns, more than twice the rate of either state-matching baseline.
W3. “Generalization across policy models is untested. ... demonstrating that the gains hold for at least one other scale ... or a different family would substantially strengthen the generality of the claims.”
Re(W3). We agree that evidence across policy scales was missing. We therefore trained A³ with Qwen3-4B and Qwen3-8B under the same A³ training and evaluation protocol, and compare it with GSPO, which has the highest average exact match among the RL baselines in the paper. As Table R1-6 shows, A³ improves overall exact match by 2.8 points at 4B and 6.1 points at 8B. The paired task intervals are [1.3, 4.5] at 4B and [4.5, 7.8] at 8B. At 8B, A³ leads on all six benchmarks.
Table R1-6. A³ across policy scales. Exact match in percent.
| Policy | Method | AB-OS | AB-DB | DataBench | EHRCon | ShellOps | TableBench | Overall | Overall gain |
|---|---|---|---|---|---|---|---|---|---|
| Qwen3-4B | GSPO | 41.4 | 19.8 | 51.5 | 18.2 | 5.9 | 8.5 | 16.0 | / |
| Qwen3-4B | A³ | 40.0 | 18.5 | 56.8 | 47.8 | 4.1 | 17.8 | 18.8 | +2.8 |
| Qwen3-8B | GSPO | 47.6 | 28.4 | 49.9 | 38.9 | 6.6 | 17.2 | 21.6 | / |
| Qwen3-8B | A³ | 53.1 | 33.9 | 70.4 | 65.6 | 7.8 | 20.7 | 27.7 | +6.1 |
We chose Qwen3-14B as the largest policy trainable under our compute budget. With A³, it reaches the ShellOps-Pro performance of models more than ten times larger. Smaller policies are generally weaker at coding, although A³ remains effective at 4B and 8B.
The rebuttal largely addresses my concerns. W1 is resolved by the controlled comparison against simpler action-similarity measures. W2 is resolved by the added SFT baseline and state-matching diagnostic. W3 is mostly resolved through the 4B and 8B experiments, though cross-family generalization remains untested. Q1 is also substantially clarified, but the final paper should specify who performed the four audits, how many independent solvers were used, and whether standard ShellOps received human spot-checking.
Overall, the main reasons for my original borderline-reject rating have been addressed, and I would consider raising the score to borderline accept.
We sincerely thank the reviewer for the constructive feedback. We are grateful that our additional experiments and clarifications have addressed the main concerns. We will incorporate the remaining clarifications regarding the audits, independent solvers, and human spot-checking into the final paper. Thank you again for your valuable suggestions and support.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Part 1: AST Representation and Action Credit
Thank you for the careful metareview and for recognizing the motivation and engineering contribution of our work. We summarize the central arguments and evidence below.
C1. “However, the core claim — that AST similarity is a good proxy for action credit — lacks direct validation. Syntactically similar commands can have vastly different effects depending on context, yet no ablation isolates AST structure from simpler alternatives like token overlap.”
Re(C1). We summarize theoretical and empirical evidence that AST-Levenshtein provides a stronger representation of shell actions and a more effective proxy for action credit in A³. AST is widely used to compare program structure [1]. Following this principle, the Tree-sitter [2] signature retains command order and control flow, as shown in Fig. 2 and Eqs. 1–2. This structure matters when commands share the same tokens but differ in execution semantics. For example, changing the order of input files in
catleaves token overlap unchanged but changes stdout, whereas the AST signature preserves that order. To test this choice directly, we follow the reviewers’ and AC’s suggestion and replace AST-Levenshtein with token overlap, verb-only matching, and raw command edit while keeping the other A³ components fixed.Table AC-1a. Action representation ablation under Vanilla evaluation. Overall exact match in percent.
The literature and experimental evidence above support AST as a suitable representation of shell actions. Besides, two mechanisms make AST a reliable proxy for action credit in A³ and limit distortion in credit assignment.
1. The same action can have different effects. AST determines which turns are compared, while each rollout’s return determines its credit magnitude. Identical actions can therefore receive different credit when their outcomes differ. The tree also uses prefix history to separate actions reached through substantially different trajectories.
2. Different syntax can produce the same execution effect. AST preserves program structure that affects execution beyond surface tokens, allowing differently written but functionally equivalent commands to enter the same peer group.
We provide the full derivation, aggregate statistics, and concrete rollout examples for both cases in our response to Reviewer aJch Q1. Our response to Reviewer 6S38 Q2 further analyzes identical actions under conflicting states.
[1] Baxter, I. D., Yahin, A., de Moura, L., Sant’Anna, M., and Bier, L. 1998. Clone Detection Using Abstract Syntax Trees. Proceedings of the International Conference on Software Maintenance, 368–377.
[2] Brunsfeld, M., and tree-sitter contributors. 2025. tree-sitter/tree-sitter, version 0.25.3. Zenodo software release.