[Agent] Submission layer and orchestrator#229
Merged
Conversation
Member
aaron-iz
commented
Apr 23, 2026
- IAgentSubmitter + ServiceBackedSubmitter - delegates to existing services (no queue duplication)
- IAgentConstraintService / IAgentPreferenceService thin adapter interfaces
- AgentOrchestrator - main entry point (session
$\rightarrow$ FSM$\rightarrow$ LLM$\rightarrow$ extraction$\rightarrow$ submission) - AgentResponse record
- 12 new tests (82 total) - submitter delegation, orchestrator e2e flow
- Create Chronos.Agent class library (net8.0) + Chronos.Tests.Agent - Add AgentState enum, ChatMessage record - Add ConstraintDraft (mutable) and ConstraintProposal (immutable) - Add ConversationSession with guarded state transitions - Add IConversationStore + InMemoryConversationStore - 24 unit tests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add ILlmAdapter polymorphic interface with CancellationToken support - Add LlmResponse and LlmOptions records - Add OllamaLlmAdapter (university API, JSON mode support) - Add PuterLlmAdapter (free AI API, isolated DTOs) - Add OllamaOptions + PuterOptions configuration classes - 8 new tests (32 total) with HTTP wire contract verification Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add AgentStateMachine with FSM transitions and AgentAction enum - Add KnownConstraintKeys catalog with IsValid() check - Add PromptTemplates (conversation + extraction system prompts) - 32 new tests (64 total) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add ConstraintExtractor (LLM JSON extraction into ConstraintDraft) - Add ExtractionException for malformed LLM output - Filters invalid keys against KnownConstraintKeys - 6 new tests (70 total) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add IAgentSubmitter, IAgentConstraintService, IAgentPreferenceService - Add ServiceBackedSubmitter (delegates to existing Chronos services) - Add AgentOrchestrator coordinating full conversation lifecycle - 12 new tests (82 total) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ubmission-orchestrator
noamarg
approved these changes
Apr 25, 2026
Collaborator
noamarg
left a comment
There was a problem hiding this comment.
This is good. I also like the comments that describe what each class does - makes it much easier to understand :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.