-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
Description
Parent Issue
Part of #880 — Introduce Batch-Level Learning and Strategy Memory
Context
The batch learning feature must be opt-in. A new configuration setting is needed to control whether cross-task learning is active during batch runs. When off (default), behavior is identical to today — each task runs in a fresh, isolated context.
Task
Add a LearningMode setting to the Agent/Spec settings UI.
Key Changes
-
Create
LearningModeenum:public enum LearningMode { OFF, // default — no cross-task learning BATCH // learning summaries injected into subsequent tasks }
-
Add settings fields to the Agent settings UI:
- Learning mode dropdown (Off / Batch)
- Max learning context length spinner (default 1500 chars)
- "Include telemetry in context" checkbox (inject timing/cost data)
-
Persist via
DevoxxGenieSettingsServiceor equivalent state service. -
Expose so
SpecTaskRunnerServiceandSpecContextBuildercan read the mode.
Files to Create / Modify
src/main/java/com/devoxx/genie/model/enumarations/LearningMode.java(new)src/main/java/com/devoxx/genie/ui/settings/agent/AgentSettingsComponent.javasrc/main/java/com/devoxx/genie/service/DevoxxGenieSettingsService.java
Acceptance Criteria
-
LearningModeenum with OFF and BATCH values - Settings UI exposes mode toggle, max context length, and telemetry checkbox
- Settings persist across IDE restarts
- Default is OFF (backward compatible)
Reactions are currently unavailable