- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
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
Paper formatting concerns
No
Final justification
The author's rebuttal has addressed my concern about generalization and concepts.
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.
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.
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.
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.
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.
[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.