feat(embabel): Phase 3 — Akces Platform Development Goals, Actions, and Conditions#319
Closed
feat(embabel): Phase 3 — Akces Platform Development Goals, Actions, and Conditions#319
Conversation
10 tasks
…nd Conditions Create Embabel conditions, actions, and goals for agentic aggregate command processing and external event handling: Conditions: - IsCommandProcessingCondition: evaluates true during command processing - IsExternalEventCondition: evaluates true during external event handling Actions: - SendCommandAction: sends commands via CommandBus for cross-aggregate coordination - AnalyzeAggregateStateAction: serializes aggregate state for LLM reasoning - DiscoverAggregateServicesAction: exposes AggregateServiceRecords for system discovery Goals: - ProcessCommandGoal: top-level goal for AI-assisted command processing - ReactToExternalEventGoal: top-level goal for AI-assisted external event handling All 83 tests pass (45 existing + 38 new). Agent-Logs-Url: https://github.com/elasticsoftwarefoundation/akces-framework/sessions/e9799c15-f2e1-42a9-91d9-0140ab5c5cc4 Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Phase 3 actions and conditions for Akces platform
feat(embabel): Phase 3 — Akces Platform Development Goals, Actions, and Conditions
Apr 9, 2026
Contributor
|
will change the implementation plan |
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.
Higher-level Embabel Goals, Actions, and Conditions enabling agentic aggregates to reason about command processing, external event handling, and cross-aggregate coordination.
Conditions (
@Configuration→ComputedBooleanConditionbeans)IsCommandProcessingCondition— reads"isCommandProcessing"binding from blackboard;trueduring command handlingIsExternalEventCondition— reads"isExternalEvent"binding;trueduring external event handlingActions (
@EmbabelComponent+@Action)SendCommandAction— routes aCommandthrough theCommandBusfor cross-aggregate coordinationAnalyzeAggregateStateAction(readOnly) — serializesAggregateStateto pretty-printed JSON viaObjectMapper; falls back totoString()on failureDiscoverAggregateServicesAction(readOnly) — formatsCollection<AggregateServiceRecord>into a structured text summary (name, topics, type, commands, events)Goals (
@Configuration→Goalbeans)ProcessCommandGoal— precondition:isCommandProcessing. Top-level goal replacing deterministic@CommandHandlerfor agent-handled commandsReactToExternalEventGoal— precondition:isExternalEvent. Top-level goal replacing deterministic@EventHandlerfor agent-handled eventsNot implemented (per spec)
— events collected from Blackboard byEmitDomainEventsActionAgentProcessResultTranslator— subsumed byManageKnowledgeGoalLearnFromProcessGoal(Phase 2)Notable API detail
Goal.Companion.createInstance()parameter order is(description, outputType, name)— not(name, outputType, description)as javap suggests. GOAP preconditions are added via.withPreconditions(...):Package:
org.elasticsoftware.akces.agentic.agent38 new unit tests (83 total in agentic module).