gepa
feat: stateful sessions and coding agent support for LLM reflections
#305
Open

feat: stateful sessions and coding agent support for LLM reflections #305

lukedhlee wants to merge 31 commits into main from feature/agent-mode-core-abstractions
lukedhlee
lukedhlee feat: add core abstractions for agent mode — Session, WorkspaceManage…
5ec70d14
semanticdiff-com
lukedhlee Remove AgentProposer, add make_session_lm bridge
da700279
lukedhlee Add SessionManager for session tree management with pluggable strategies
17c2d408
lukedhlee Refactor SessionManager: separate strategy protocol from session oper…
f3ec4283
lukedhlee Add branch() to Session protocol, rename AlwaysFresh to AlwaysBranch
badc5900
lukedhlee Drop reset() from Session — branch() makes it redundant
088dbda5
lukedhlee Rename send() to resume() on Session protocol
019e3022
lukedhlee Redesign session layer: drop branch(), add checkpoint strategy
211899a4
lukedhlee lukedhlee changed the title feat: core abstractions for agent mode — Session, WorkspaceManager, ArtifactStore feat: session primitives for stateful LLM reflections 104 days ago
lukedhlee Simplify session layer: pool-based design, drop checkpoints
90abea95
lukedhlee Finalize session API: send/fork/reset, strategy is fork-or-reset
906a1807
lukedhlee Drop label param, add RandomStrategy and RoundRobin
c46571ba
lukedhlee lukedhlee changed the title feat: session primitives for stateful LLM reflections feat: core abstractions for agent support — Session, WorkspaceManager, ArtifactStore 104 days ago
lukedhlee Wire SessionManager into ReflectiveMutationProposer
848bd724
lukedhlee Default session_strategy to 'reset' — sessions always in the path
6cc62469
lukedhlee Add session support to gepa.optimize() — both entry points covered
23882129
lukedhlee Hybrid session integration: engine owns lifecycle, proposer stays clean
ced2500c
lukedhlee Remove artifact_store and workspace — separate future PRs
37ef542f
lukedhlee lukedhlee assigned lukedhlee lukedhlee 104 days ago
lukedhlee lukedhlee changed the title feat: core abstractions for agent support — Session, WorkspaceManager, ArtifactStore feat: session management and agent support for stateful LLM reflections 104 days ago
lukedhlee lukedhlee changed the title feat: session management and agent support for stateful LLM reflections feat: session management and agent support 104 days ago
lukedhlee Add ClaudeCodeSession and OpenCodeSession agent implementations
f6edde74
lukedhlee lukedhlee changed the title feat: session management and agent support feat: session management and agent support for stateful LLM reflections 104 days ago
lukedhlee Fix test failures: bridge session api_call to extract string for LM
e11d29ed
lukedhlee Fix pyright type errors: add type: ignore for session LM assignments
daf767a9
lukedhlee Reorganize: agents/ for implementations, strategies/ for session stra…
c3254443
lukedhlee lukedhlee changed the title feat: session management and agent support for stateful LLM reflections feat: stateful sessions and coding agent support for LLM reflections 104 days ago
lukedhlee lukedhlee requested a review from LakshyAAAgrawal LakshyAAAgrawal 104 days ago
LakshyAAAgrawal
LakshyAAAgrawal commented on 2026-04-05
Shangyint
Shangyint commented on 2026-04-05
lukedhlee Unify SessionStrategy: select+observe with keyed store and val_score …
33305a21
lukedhlee Add end-to-end mock tests for session management with LLM API and Cla…
7b88594e
lukedhlee Wire observe() into engine loop and add gepa.optimize() integration t…
4d9ab228
lukedhlee Move select() from engine to proposer for parent-aware session selection
9b0bd75a
lukedhlee Split session.py: primitive in session.py, orchestration in session_m…
73412a03
lukedhlee Fix OpenCodeSession: remove invalid --system flag, prepend to first m…
b699d36d
lukedhlee Merge main into feature/agent-mode-core-abstractions
6d3c9cae
lukedhlee Simplify session strategy: remove observe(), add BestScore, fix histo…
ba75dcba
lukedhlee Make ClaudeCodeSession and OpenCodeSession explicitly inherit Session
1599fd91
lukedhlee Fix pyright errors in optimize_anything.py
0faf67c9
lukedhlee Add best_score strategy e2e test via gepa.optimize()
49fdd17c
lukedhlee lukedhlee requested a review from LakshyAAAgrawal LakshyAAAgrawal 99 days ago
lukedhlee lukedhlee requested a review from Shangyint Shangyint 99 days ago
Shangyint
Shangyint commented on 2026-04-10

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone