Skip to content

fix/slash autosend package load - #2525

Merged
flora131 merged 3 commits into
mainfrom
fix/slash-autosend-package-load
Aug 19, 2026
Merged

fix/slash autosend package load#2525
flora131 merged 3 commits into
mainfrom
fix/slash-autosend-package-load

Conversation

@flora131

@flora131 flora131 commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Stack created with GitHub Stacks CLIGive Feedback 💬


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Greptile Summary

This change keeps unfinished slash drafts in the editor while explicit extension and workflow packages load, and lets queue-control requests reach a running prompt. The examined queue-state concern was disproved: overlapping failed clear requests did not overwrite a later authoritative queue update in either completion order, and the focused queue-clear and RPC scheduler suites passed.

Confidence Score: 5/5

Safe to merge based on the focused checks of the changed interactive startup and queue-control behavior.

No publishable defects remain. Execution covered two overlapping clear requests, a later authoritative queue update, and both rejection orders; the authoritative steering and follow-up queues were retained in each case.

Files Needing Attention: No additional files need attention. The focused verification covered packages/coding-agent/src/modes/interactive-engine/isolated-runtime.ts and packages/coding-agent/src/modes/rpc/rpc-input-scheduler.ts.

T-Rex T-Rex Logs

What T-Rex did

  • Ran a focused reproduction against the parent implementation with two overlapping queue-clear requests, a later authoritative queue update, and both oldest-first and newest-first rejected clear responses.
  • Ran the same reproduction against the changed implementation together with the focused queue-clear and RPC scheduler suites.
  • The later authoritative steering and follow-up queues remained intact in both response orders, and all 20 focused tests passed.
  • Before: the parent implementation reproduction passed 2/2, preserving 'later' and 'later follow-up' after both rejection orders; After: the changed implementation plus focused suites passed 20/20.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (1): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile

@flora131

Copy link
Copy Markdown
Collaborator Author

Slash auto-send tmux evidence

This evidence uses the dummy Atomic package and dummy workflow package listed below, in a dedicated tmux session. It ran the real logged-in CLI from the worktree; no Enter key was sent.

Slash auto-send tmux evidence

  • Timestamp (UTC): 2026-08-19T04:29:11Z
  • Session target: atomic-slash-autosend-evidence:0.0
  • Launch command:
    bun run --cwd /Users/tonystark/Documents/projects/atomic-slash-autosend/packages/coding-agent start:fast -- --approve -e /tmp/atomic-slash-autosend-evidence.r4qY9w/dummy-atomic-package -e /tmp/atomic-slash-autosend-evidence.r4qY9w/dummy-workflow-package
  • Dummy Atomic package: /tmp/atomic-slash-autosend-evidence.r4qY9w/dummy-atomic-package
  • Dummy workflow package: /tmp/atomic-slash-autosend-evidence.r4qY9w/dummy-workflow-package

The CLI first painted its resource disclosure, then waited 18 seconds before the first keystroke so deferred package and workflow loading could finish. No Enter key was sent.

Capture 1 — /


   ██████▙                  ▟██████    Atomic v0.0.0                                      
    ██████▙                ▟██████░░   (xai) grok-4.6 xhigh                               
     ██████▙              ▟██████░░    ~/Documents/projects/atomic-slash-autosend/packages/coding-agent                                                                             
      ██████▙            ▟██████░░           
       ████████████████████████░░      We question,                                       
        ██████▛░░░░░░░░▜██████░░       we break away from what is accepted.               
         ██████▛      ▜██████░░        Engineering matters.                               
          ██████▛    ▜██████░░               
           ██████▛  ▜██████░░                
            ░████████████░░░                 
              ░░░░░░░░░░░░                   

RESOURCES ~/Documents/projects/atomic-slash-autosend/AGENTS.md · 18 skills · 14 prompts   

























                                                                                                                                                     $0.000 (sub) • 0.0%/500k (auto)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❯ /                                          
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  → settings                        Open settings menu                                    
    model                           Select model (opens selector UI)                      
    scoped-models                   Enable/disable models for ctrl+p cycling              
    fast                            Configure Codex fast mode for chat and workflows      
    export                          Export session (HTML default, or specify path: .html/.jsonl)                                                                                    
    (1/65)                                   
(xai) grok-4.6 xhigh • ~/Documents/projects/atomic-slash-autosend/packages/coding-agent (fix/slash-autosend-package-load)

Capture 2 — /foo


   ██████▙                  ▟██████    Atomic v0.0.0                                      
    ██████▙                ▟██████░░   (xai) grok-4.6 xhigh                               
     ██████▙              ▟██████░░    ~/Documents/projects/atomic-slash-autosend/packages/coding-agent                                                                             
      ██████▙            ▟██████░░           
       ████████████████████████░░      We question,                                       
        ██████▛░░░░░░░░▜██████░░       we break away from what is accepted.               
         ██████▛      ▜██████░░        Engineering matters.                               
          ██████▛    ▜██████░░               
           ██████▛  ▜██████░░                
            ░████████████░░░                 
              ░░░░░░░░░░░░                   

RESOURCES ~/Documents/projects/atomic-slash-autosend/AGENTS.md · 18 skills · 14 prompts   






























                                                                                                                                                     $0.000 (sub) • 0.0%/500k (auto)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❯ /foo                                       
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  → foo         [t] Harmless slash auto-send evidence command                             
(xai) grok-4.6 xhigh • ~/Documents/projects/atomic-slash-autosend/packages/coding-agent (fix/slash-autosend-package-load)

Verdict

PASS. Both captures keep the typed slash draft in the editor. The second capture resolves the dummy foo command; no user message, agent turn, or slash-command execution appears.

…ckage-load

Assistant-model: Grok 4.6

# Conflicts:
#	packages/coding-agent/CHANGELOG.md
@flora131
flora131 marked this pull request as ready for review August 19, 2026 08:52
@flora131
flora131 merged commit 9bb62ab into main Aug 19, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant