Skip to content

Replace escalation lookup with enum in TicketOrchestrator#7

Merged
wow-miley merged 14 commits into
mainfrom
claude/escalation-enum-refactor-0141tVuJzkcWKXjWUyRQd8gN
Nov 23, 2025
Merged

Replace escalation lookup with enum in TicketOrchestrator#7
wow-miley merged 14 commits into
mainfrom
claude/escalation-enum-refactor-0141tVuJzkcWKXjWUyRQd8gN

Conversation

@wow-miley
Copy link
Copy Markdown
Contributor

Replace string-based keyword matching in TicketOrchestrator's blockerNeedsMeeting and blockerNeedsHuman with type-safe enum. This improves maintainability and allows keywords to specify both meeting and human involvement requirements.

Replace string-based keyword matching in TicketOrchestrator's
blockerNeedsMeeting and blockerNeedsHuman with type-safe enum.
This improves maintainability and allows keywords to specify both
meeting and human involvement requirements.
Introduce a proper domain model for escalation types:
- EscalationProcess: Defines resolution mechanisms (AgentMeeting,
  HumanApproval, HumanMeeting, ExternalDependency)
- Escalation: Sealed class hierarchy with Discussion, Decision,
  Budget, Priorities, Scope, and External categories

Each escalation type defines its process, making the model suitable
for LLM classification instead of keyword matching. The TicketOrchestrator
now accepts an optional Escalation type to determine meeting and
participant requirements.
@wow-miley wow-miley force-pushed the claude/escalation-enum-refactor-0141tVuJzkcWKXjWUyRQd8gN branch from c07fdea to 905bc2e Compare November 23, 2025 02:41
claude and others added 12 commits November 23, 2025 02:45
Update tests to pass explicit Escalation types instead of relying
on keyword matching, which was removed in the previous commit.
Remove direct MeetingOrchestrator dependency from TicketOrchestrator
to enable bidirectional communication between orchestrators.

- Add MeetingSchedulingService functional interface for decoupling
- Create EnvironmentOrchestrator to manage Meeting/Ticket/Event orchestrators
- Update TicketOrchestrator to use MeetingSchedulingService
- Update tests to use new architecture

This allows orchestrators to call each other through the parent
EnvironmentOrchestrator without circular dependencies.

Co-authored-by: Claude <noreply@anthropic.com>
Replace string-based keyword matching in TicketOrchestrator's
blockerNeedsMeeting and blockerNeedsHuman with type-safe enum.
This improves maintainability and allows keywords to specify both
meeting and human involvement requirements.
Introduce a proper domain model for escalation types:
- EscalationProcess: Defines resolution mechanisms (AgentMeeting,
  HumanApproval, HumanMeeting, ExternalDependency)
- Escalation: Sealed class hierarchy with Discussion, Decision,
  Budget, Priorities, Scope, and External categories

Each escalation type defines its process, making the model suitable
for LLM classification instead of keyword matching. The TicketOrchestrator
now accepts an optional Escalation type to determine meeting and
participant requirements.
Replace string-based keyword matching in TicketOrchestrator's
blockerNeedsMeeting and blockerNeedsHuman with type-safe enum.
This improves maintainability and allows keywords to specify both
meeting and human involvement requirements.
Introduce a proper domain model for escalation types:
- EscalationProcess: Defines resolution mechanisms (AgentMeeting,
  HumanApproval, HumanMeeting, ExternalDependency)
- Escalation: Sealed class hierarchy with Discussion, Decision,
  Budget, Priorities, Scope, and External categories

Each escalation type defines its process, making the model suitable
for LLM classification instead of keyword matching. The TicketOrchestrator
now accepts an optional Escalation type to determine meeting and
participant requirements.
Update tests to pass explicit Escalation types instead of relying
on keyword matching, which was removed in the previous commit.
@wow-miley wow-miley merged commit 39aecae into main Nov 23, 2025
1 check passed
@wow-miley wow-miley deleted the claude/escalation-enum-refactor-0141tVuJzkcWKXjWUyRQd8gN branch November 26, 2025 06:22
@wow-miley wow-miley self-assigned this Nov 28, 2025
@github-project-automation github-project-automation Bot moved this to Backlog in Ampere CLI Nov 28, 2025
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Ampere CLI Nov 28, 2025
@wow-miley wow-miley removed this from Ampere CLI Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants