Repository navigation
Open
Labels
bugSomething isn't working
Description
What happened?
Two things go wrong when a long-running workflow is driven from Auggie (v1.2.2, macOS arm64):
- Cloud session commands are killed or hang.
auggie cloud session create --expert <id> --message "<text>"is killed with SIGKILL (exit 137, "Killed: 9") within 1-2 seconds and no output. Run from Auggie's shell tool: always when backgrounded or redirected to a file, and intermittently even in the foreground with$(...).- In a normal Terminal, a --message of about 1,100 characters or more is killed instantly (0 s, exit 137). The same text cut to 900, 800 and 600 characters succeeds in 2-3 s.
auggie cloud session connect --headless <id> ["<question>"]prints nothing until a 60-120 s timeout on a session that is IDLE and finished (it had run about 7 minutes). It worked in earlier runs.session get <id> --jsonreturns metadata only (no transcript);session sync --agent-id <id> --forceworks and includes the final reply.- Suspected, not confirmed: a proxy (Zscaler) interfering with long-lived streams.
- Auggie returns to the prompt while still waiting.
- A custom slash command tells Auggie never to end its turn while waiting on CI (about 8 min, up to 13) or on reviewer sessions, and to poll with
sleep 30. It often stops anyway with a status line (for example "CI still running") and waits at the prompt. After context compaction mid-run the final handover can also be lost.
Also: a new auggie session sometimes starts without the MCP server's tools even after reconnecting in /mcp; a full quit and restart was needed. Possibly related: #149, #144.
Environment: Auggie CLI 1.2.2 (commit 6f24c7b3c15045713c7b3938b5e6c9bf117d1ff6), macOS on Apple silicon, corporate network that uses Zscaler.
What did you expect to happen?
auggie cloud session createsucceeds regardless of --message length, or fails with a clear error message instead of a silent SIGKILL.auggie cloud session connect --headlessreturns the session's reply, or fails clearly. There should also be a supported way to print the last assistant message of a finished session without opening a live connection.- Auggie keeps waiting and polling when the workflow tells it to, and does not return to the prompt until the run reaches a terminal state.
- The MCP server's tools are available after reconnecting in /mcp.
Steps to reproduce
- Terminal: auggie cloud session create --expert --name t --message "<any text of ~1,100+ characters>"
Result: exit 137, no output, 0 seconds. With ~900 characters or fewer the same command succeeds in 2-3 s. - Take a cloud session that has finished (status IDLE) and run:
auggie cloud session connect --headless "Please repeat your final answer"
Result: no output until timeout (60-120 s). - auggie cloud session get --json -> metadata only
auggie cloud session sync --agent-id --force -> writes the transcript under ~/.augment/sessions-v2/ - In an Auggie session, run a custom slash command that waits on a CI run of about 8-13 minutes and says never to end the turn while waiting.
Result: Auggie often returns to the prompt with a status message before the run finishes.
Auggie version
1.2.2 (commit 6f24c7b3c15045713c7b3938b5e6c9bf117d1ff6)
Request ID
NA
Environment details
Environment
- OS: macOS on Apple silicon (arm64)
- Shell: zsh
- Tool/CLI version: Auggie CLI 1.2.2
- Network: corporate network that uses Zscaler
- Other: custom user-level slash command in ~/.augment/commands that drives an MCP server and Cosmos cloud sessions
Anything else we need to know?
Workarounds in use:
- Keep
--messageunder 900 characters. - Run
auggie cloud session createin a separate Terminal process (not Auggie's shell tool) and have Auggie hand it requests through files. - Read a finished session's reply with
auggie cloud session sync --agent-id <id> --forceand parse the .jsonl, instead ofconnect --headless. - Re-enter long runs with a "resume" form of the slash command after Auggie returns to the prompt.
Timings seen: session create killed at 0-2 s; connect --headless produced no output for 60-120 s before the timeout.
I can supply more logs or the test scripts if useful.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity