-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Problem
Four issues:
-
Resume is off by default. The module passes
--continueto auggie whencontinue_previous_conversationis true, but this variable defaults tofalse. -
Task reporting is off by default.
report_tasksdefaults tofalse, so Auggie tasks don't benefit from activity-based TTL. This may be related to Bug: Auggie module is not reporting in task mode in latest versions #614. -
Prompt is re-sent on resume. In
build_auggie_args(),--instruction "$PROMPT"is always appended when a task prompt is set, regardless of whether--continueis also being passed. According to upstream docs, when both are passed "new instructions are appended to the resumed session" -- meaning the same task prompt gets re-sent as a new message in the resumed conversation. -
--typeis missing. Theagentapi servercommand instart_agentapi_server()doesn't pass--type auggie.
To reproduce: set continue_previous_conversation = true, report_tasks = true, and an ai_prompt. Start the module, have a conversation, stop, restart. --instruction will be present alongside --continue, and --type will be absent from the agentapi process args.
Desired outcome
continue_previous_conversationdefaults totrue.report_tasksdefaults totrue.- The task prompt is only sent on cold start, not when resuming.
--type auggieis passed toagentapi server.- After feat(coder/modules/agentapi): add state persistence #736 lands:
enable_state_persistence = true.
Risks
- Headless
--continueis unverified. It's unknown whether auggie's--continueworks correctly when wrapped by agentapi's PTY. This needs to be tested in a workspace before shipping. If it doesn't work, keep the default atfalseand document the limitation. --continuewith no prior session is unverified. Unlike OpenCode (which gracefully creates a new session), auggie's behavior when--continueis passed on first run with no existing sessions is unknown. Test this.- Backend dependency unknown. Auggie's session data may be partially stored on Augment's cloud servers. If
--continuerequires network connectivity, air-gapped environments can't use it.
Version bump
minor