From 076cdfaf30a389aff025fca2af6d0eca3e26dc45 Mon Sep 17 00:00:00 2001 From: Elena Yan Date: Thu, 21 Sep 2023 22:57:08 +0200 Subject: [PATCH] feat: add examples --- examples/alice-bob/alice.json | 1294 +++ examples/alice-bob/bob.json | 10566 +++++++++++++++++++++ examples/domestic-robot/owner.json | 1878 ++++ examples/domestic-robot/robot.json | 9497 ++++++++++++++++++ examples/domestic-robot/supermarket.json | 547 ++ 5 files changed, 23782 insertions(+) create mode 100644 examples/alice-bob/alice.json create mode 100644 examples/alice-bob/bob.json create mode 100644 examples/domestic-robot/owner.json create mode 100644 examples/domestic-robot/robot.json create mode 100644 examples/domestic-robot/supermarket.json diff --git a/examples/alice-bob/alice.json b/examples/alice-bob/alice.json new file mode 100644 index 0000000..f45508e --- /dev/null +++ b/examples/alice-bob/alice.json @@ -0,0 +1,1294 @@ +[ + { + "timestamp": 1694706272062, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + } + }, + "log": "Plan sayHello added to the plan library" + } + }, + { + "timestamp": 1694706272065, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__25", + "trigger": "achieveHello", + "context": "", + "body": "" + } + }, + "log": "Plan achieveHello added to the plan library" + } + }, + { + "timestamp": 1694706272071, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__26", + "trigger": "jcm::focus_env_art([],_29)", + "context": "", + "body": "" + } + }, + "log": "Plan jcm::focus_env_art([],_29) added to the plan library" + } + }, + { + "timestamp": 1694706272072, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__27", + "trigger": "jcm::focus_env_art(L,0)", + "context": "", + "body": ".print(\"Error handling \",L,\" (to join a workspace or focus on an artifact)\")" + } + }, + "log": "Plan jcm::focus_env_art(L,0) added to the plan library" + } + }, + { + "timestamp": 1694706272079, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + }, + "log": "Plan jcm::focus_env_art([H|T],Try) added to the plan library" + } + }, + { + "timestamp": 1694706272081, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__28", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_30),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_31); .print(\"join workspace \",FullW,\": done\")" + } + }, + "log": "Plan jcm::focus_env_art(art_env(W,\"\",_30),Try) added to the plan library" + } + }, + { + "timestamp": 1694706272084, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__29", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + "log": "Plan jcm::focus_env_art(art_env(W,A,NS),Try) added to the plan library" + } + }, + { + "timestamp": 1694706272089, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__30", + "trigger": "jcm::focus_env_art(L,Try)", + "context": "", + "body": ".print(\"waiting a bit to join/focus -- \",L,\" -- try #\",Try); .wait(200); !jcm::focus_env_art(L,(Try-1))" + } + }, + "log": "Plan jcm::focus_env_art(L,Try) added to the plan library" + } + }, + { + "timestamp": 1694706272095, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "l_focus_on_my_scheme", + "trigger": "schemes(L)[artifact_name(GroupName),workspace(_35,W)]", + "context": "", + "body": ".foreach(.member(S,L),lookupArtifact(S,ArtId)[wid(W)]; focus(ArtId)[wid(W)]; .concat(GroupName,\".\",S,NBName); lookupArtifact(NBName,NBId)[wid(W)]; focus(NBId)[wid(W)])" + } + }, + "log": "Plan schemes(L)[artifact_name(GroupName),workspace(_35,W)] added to the plan library" + } + }, + { + "timestamp": 1694706272096, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__31", + "trigger": "jcm::initial_roles([],_36)", + "context": "", + "body": "" + } + }, + "log": "Plan jcm::initial_roles([],_36) added to the plan library" + } + }, + { + "timestamp": 1694706272098, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__32", + "trigger": "jcm::initial_roles(L,0)", + "context": "", + "body": ".print(\"Error with initial role \",L)" + } + }, + "log": "Plan jcm::initial_roles(L,0) added to the plan library" + } + }, + { + "timestamp": 1694706272100, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "l_focus_org_art", + "trigger": "jcm::initial_roles([H|T],Try)", + "context": "", + "body": "!jcm::initial_roles(H,Try); !jcm::initial_roles(T,Try)" + } + }, + "log": "Plan jcm::initial_roles([H|T],Try) added to the plan library" + } + }, + { + "timestamp": 1694706272103, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__33", + "trigger": "jcm::initial_roles(role(O,G,R),Try)", + "context": "", + "body": ".concat(\"/main/\",O,FullO); joinWorkspace(FullO,WId); !jcm::focus_orgBoard(O,WId); lookupArtifact(G,GId)[wid(WId)]; focus(GId)[wid(WId)]; adoptRole(R)[artifact_id(GId)]" + } + }, + "log": "Plan jcm::initial_roles(role(O,G,R),Try) added to the plan library" + } + }, + { + "timestamp": 1694706272104, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__34", + "trigger": "jcm::initial_roles(L,Try)", + "context": "", + "body": ".wait(200); !jcm::initial_roles(L,(Try-1))" + } + }, + "log": "Plan jcm::initial_roles(L,Try) added to the plan library" + } + }, + { + "timestamp": 1694706272106, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__35", + "trigger": "jcm::focus_orgBoard(O,WId)", + "context": "focused(_37,O,_38)", + "body": "" + } + }, + "log": "Plan jcm::focus_orgBoard(O,WId)focused(_37,O,_38) added to the plan library" + } + }, + { + "timestamp": 1694706272108, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__36", + "trigger": "jcm::focus_orgBoard(O,WId)", + "context": "", + "body": "lookupArtifact(O,OId)[wid(WId)]; focus(OId)[wid(WId)]" + } + }, + "log": "Plan jcm::focus_orgBoard(O,WId) added to the plan library" + } + }, + { + "timestamp": 1694706272111, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "sayHello", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal sayHello created" + } + }, + { + "timestamp": 1694706272113, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellStructure", + "trigger": "kqml_received(Sender,tell,NS::Content,_39)", + "context": "(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))))", + "body": "++NS::CA" + } + }, + "log": "Plan kqml_received(Sender,tell,NS::Content,_39)(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)))) added to the plan library" + } + }, + { + "timestamp": 1694706272115, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList", + "trigger": "kqml_received(Sender,tell,Content,_40)", + "context": ".list(Content)", + "body": "!add_all_kqml_received(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,tell,Content,_40).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694706272117, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList1", + "trigger": "add_all_kqml_received(_41,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_received(_41,[]) added to the plan library" + } + }, + { + "timestamp": 1694706272120, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList2", + "trigger": "add_all_kqml_received(Sender,[NS::H|T])", + "context": "(.literal(H) \u0026 .ground(H))", + "body": ".add_nested_source(H,Sender,CA); ++NS::CA; !add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[NS::H|T])(.literal(H) \u0026 .ground(H)) added to the plan library" + } + }, + { + "timestamp": 1694706272122, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList3", + "trigger": "add_all_kqml_received(Sender,[_42|T])", + "context": "", + "body": "!add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[_42|T]) added to the plan library" + } + }, + { + "timestamp": 1694706272124, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTell", + "trigger": "kqml_received(Sender,untell,NS::Content,_43)", + "context": ".add_nested_source(Content,Sender,CA)", + "body": "--NS::CA" + } + }, + "log": "Plan kqml_received(Sender,untell,NS::Content,_43).add_nested_source(Content,Sender,CA) added to the plan library" + } + }, + { + "timestamp": 1694706272126, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieve", + "trigger": "kqml_received(Sender,achieve,NS::Content,_44)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": "!!NS::CA" + } + }, + "log": "Plan kqml_received(Sender,achieve,NS::Content,_44)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694706272128, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList", + "trigger": "kqml_received(Sender,achieve,Content,_45)", + "context": ".list(Content)", + "body": "!add_all_kqml_achieve(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,achieve,Content,_45).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694706272130, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList1", + "trigger": "add_all_kqml_achieve(_46,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_achieve(_46,[]) added to the plan library" + } + }, + { + "timestamp": 1694706272132, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList2", + "trigger": "add_all_kqml_achieve(Sender,[NS::H|T])", + "context": "", + "body": ".add_nested_source(H,Sender,CA); !!NS::CA; !add_all_kqml_achieve(Sender,T)" + } + }, + "log": "Plan add_all_kqml_achieve(Sender,[NS::H|T]) added to the plan library" + } + }, + { + "timestamp": 1694706272133, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnAchieve", + "trigger": "kqml_received(_47,unachieve,NS::Content,_48)", + "context": "", + "body": ".drop_desire(NS::Content)" + } + }, + "log": "Plan kqml_received(_47,unachieve,NS::Content,_48) added to the plan library" + } + }, + { + "timestamp": 1694706272135, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1d", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "kqml::bel_no_source_self(NS,Content,Ans)", + "body": ".send(Sender,tell,NS::Ans,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)kqml::bel_no_source_self(NS,Content,Ans) added to the plan library" + } + }, + { + "timestamp": 1694706272137, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694706272139, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne2", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)]", + "context": "", + "body": ".send(Sender,untell,NS::Content,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)] added to the plan library" + } + }, + { + "timestamp": 1694706272141, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskAll2", + "trigger": "kqml_received(Sender,askAll,NS::Content,MsgId)", + "context": "", + "body": ".findall(NS::Ans,kqml::bel_no_source_self(NS,Content,Ans),List); .send(Sender,tell,List,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askAll,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694706272143, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellHow", + "trigger": "kqml_received(Sender,tellHow,Content,_50)", + "context": "", + "body": ".remove_source_annot(Content,ContentAn); .add_plan(ContentAn,Sender)" + } + }, + "log": "Plan kqml_received(Sender,tellHow,Content,_50) added to the plan library" + } + }, + { + "timestamp": 1694706272145, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTellHow", + "trigger": "kqml_received(Sender,untellHow,Content,_51)", + "context": "", + "body": ".remove_plan(Content,Sender)" + } + }, + "log": "Plan kqml_received(Sender,untellHow,Content,_51) added to the plan library" + } + }, + { + "timestamp": 1694706272147, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskHow", + "trigger": "kqml_received(Sender,askHow,Content,MsgId)", + "context": "", + "body": ".relevant_plans(Content,ListOfPlans); .remove_source_annot(ListOfPlans,ListOfPlansAn); .send(Sender,tellHow,ListOfPlansAn,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askHow,Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694706272150, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedSignal", + "trigger": "kqml_received(Sender,signal,NS::Content,_52)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": ".signal({ +NS::CA },type_signal)" + } + }, + "log": "Plan kqml_received(Sender,signal,NS::Content,_52)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694706272154, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlError", + "trigger": "kqml_received(_53_Sender,_54_Per,_55_Content,_56_MsgId)[error(EID),error_msg(EMsg)]", + "context": "", + "body": ".print(\"Communication error -- \",EID,\": \",EMsg)" + } + }, + "log": "Plan kqml_received(_53_Sender,_54_Per,_55_Content,_56_MsgId)[error(EID),error_msg(EMsg)] added to the plan library" + } + }, + { + "timestamp": 1694706272156, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[]) from source: [self]" + } + }, + { + "timestamp": 1694706272158, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[])" + } + }, + { + "timestamp": 1694706272180, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 1 + }, + "log": "New reasoning cycle started: 1" + } + }, + { + "timestamp": 1694706272189, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "joinedWsp(cobj_0,main,\"/main\")", + "functor": "joinedWsp", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_0", + "main", + "\"/main\"" + ] + } + } + }, + "log": "Added belief joinedWsp(cobj_0,main,\"/main\") from source: [percept]" + } + }, + { + "timestamp": 1694706272194, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "joinedWsp(cobj_0,main,\"/main\")", + "functor": "joinedWsp", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_0", + "main", + "\"/main\"" + ] + } + } + }, + "log": "Added belief joinedWsp(cobj_0,main,\"/main\")" + } + }, + { + "timestamp": 1694706272200, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "joinedWsp(cobj_0,main,\"/main\")", + "artifactId": "cobj_1", + "artifactName": "session_alice", + "perceptType": "obs_prop" + } + }, + "log": "New obs_prop percept from session_alice: joinedWsp(cobj_0,main,\"/main\")" + } + }, + { + "timestamp": 1694706272211, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "sayHello[source(self)]", + "planOptions": [ + { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + } + ], + "selectedPlan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + } + }, + "log": "Plan options for sayHello[source(self)] are: \n\tsayHello \u003c- .print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello).\nThe plan selected for sayHello[source(self)] is \tsayHello \u003c- .print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)." + } + }, + { + "timestamp": 1694706272229, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "sayHello", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan sayHello selected, state: executing" + } + }, + { + "timestamp": 1694706272249, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 sayHello created, state: undefined\n\tcurrent step: .print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + } + }, + { + "timestamp": 1694706272254, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": ".send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 sayHello created, state: undefined\n\tcurrent step: .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + } + }, + { + "timestamp": 1694706272267, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"say hello to bob\")", + "type": "internalAction", + "srcInfo": "file:src/agt/alice.asl:4" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": ".send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .print(\"say hello to bob\") finished" + } + }, + { + "timestamp": 1694706272279, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 2 + }, + "log": "New reasoning cycle started: 2" + } + }, + { + "timestamp": 1694706272289, + "message": { + "type": "SendMessage", + "event": { + "messageInfo": { + "id": "mid1", + "type": "signal", + "sender": "alice", + "receiver": "bob", + "message": "signalHello" + } + }, + "log": "Send signal message to bob: signalHello" + } + }, + { + "timestamp": 1694706272294, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": ".send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 sayHello created, state: running\n\tcurrent step: .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + } + }, + { + "timestamp": 1694706272298, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".send(bob,signal,signalHello)", + "type": "internalAction", + "srcInfo": "file:src/agt/alice.asl:5" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": ".send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .send(bob,signal,signalHello) finished" + } + }, + { + "timestamp": 1694706272303, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 3 + }, + "log": "New reasoning cycle started: 3" + } + }, + { + "timestamp": 1694706272309, + "message": { + "type": "SendMessage", + "event": { + "messageInfo": { + "id": "mid2", + "type": "tell", + "sender": "alice", + "receiver": "bob", + "message": "tellHello" + } + }, + "log": "Send tell message to bob: tellHello" + } + }, + { + "timestamp": 1694706272314, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": ".send(bob,achieve,achieveHello)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 sayHello created, state: running\n\tcurrent step: .send(bob,achieve,achieveHello)" + } + }, + { + "timestamp": 1694706272320, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".send(bob,tell,tellHello)", + "type": "internalAction", + "srcInfo": "file:src/agt/alice.asl:6" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": ".send(bob,achieve,achieveHello)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .send(bob,tell,tellHello) finished" + } + }, + { + "timestamp": 1694706272323, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 4 + }, + "log": "New reasoning cycle started: 4" + } + }, + { + "timestamp": 1694706272331, + "message": { + "type": "SendMessage", + "event": { + "messageInfo": { + "id": "mid3", + "type": "achieve", + "sender": "alice", + "receiver": "bob", + "message": "achieveHello" + } + }, + "log": "Send achieve message to bob: achieveHello" + } + }, + { + "timestamp": 1694706272333, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "sayHello", + "type": "achieve", + "plan": { + "label": "p__24", + "trigger": "sayHello", + "context": "", + "body": ".print(\"say hello to bob\"); .send(bob,signal,signalHello); .send(bob,tell,tellHello); .send(bob,achieve,achieveHello)" + }, + "unifier": "{}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 sayHello created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706272341, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "sayHello", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal sayHello removed because the goal is achieved" + } + }, + { + "timestamp": 1694706272347, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 removed , state: running" + } + }, + { + "timestamp": 1694706272350, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".send(bob,achieve,achieveHello)", + "type": "internalAction", + "srcInfo": "file:src/agt/alice.asl:7" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .send(bob,achieve,achieveHello) finished" + } + }, + { + "timestamp": 1694706272407, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 5 + }, + "log": "New reasoning cycle started: 5" + } + }, + { + "timestamp": 1694706272559, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 6 + }, + "log": "New reasoning cycle started: 6" + } + }, + { + "timestamp": 1694706272812, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 7 + }, + "log": "New reasoning cycle started: 7" + } + }, + { + "timestamp": 1694706273165, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 8 + }, + "log": "New reasoning cycle started: 8" + } + }, + { + "timestamp": 1694706273884, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 9 + }, + "log": "New reasoning cycle started: 9" + } + }, + { + "timestamp": 1694706274761, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 10 + }, + "log": "New reasoning cycle started: 10" + } + }, + { + "timestamp": 1694706275583, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 11 + }, + "log": "New reasoning cycle started: 11" + } + }, + { + "timestamp": 1694706276341, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 12 + }, + "log": "New reasoning cycle started: 12" + } + }, + { + "timestamp": 1694706277197, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 13 + }, + "log": "New reasoning cycle started: 13" + } + }, + { + "timestamp": 1694706278148, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 14 + }, + "log": "New reasoning cycle started: 14" + } + }, + { + "timestamp": 1694706279199, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 15 + }, + "log": "New reasoning cycle started: 15" + } + }, + { + "timestamp": 1694706280250, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 16 + }, + "log": "New reasoning cycle started: 16" + } + } +] diff --git a/examples/alice-bob/bob.json b/examples/alice-bob/bob.json new file mode 100644 index 0000000..1d3dbee --- /dev/null +++ b/examples/alice-bob/bob.json @@ -0,0 +1,10566 @@ +[ + { + "timestamp": 1694706271652, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + } + }, + "log": "Plan g1(0)(count(X) \u0026 (X \u003c 3)) added to the plan library" + } + }, + { + "timestamp": 1694706271667, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__2", + "trigger": "g1", + "context": "(count(X) \u0026 (X \u003c 5))", + "body": "a1; !g2; a3" + } + }, + "log": "Plan g1(count(X) \u0026 (X \u003c 5)) added to the plan library" + } + }, + { + "timestamp": 1694706271673, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__3", + "trigger": "g1", + "context": "(count(X) \u0026 (X \u003e\u003d 3))", + "body": "a4; !g3" + } + }, + "log": "Plan g1(count(X) \u0026 (X \u003e\u003d 3)) added to the plan library" + } + }, + { + "timestamp": 1694706271680, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + "log": "Plan g2 added to the plan library" + } + }, + { + "timestamp": 1694706271683, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__5", + "trigger": "test2(2)", + "context": "", + "body": "" + } + }, + "log": "Plan test2(2) added to the plan library" + } + }, + { + "timestamp": 1694706271688, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + }, + "log": "Plan g added to the plan library" + } + }, + { + "timestamp": 1694706271691, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + } + }, + "log": "Plan count(3) added to the plan library" + } + }, + { + "timestamp": 1694706271693, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + } + }, + "log": "Plan b(0) added to the plan library" + } + }, + { + "timestamp": 1694706271696, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + } + }, + "log": "Plan tellHello added to the plan library" + } + }, + { + "timestamp": 1694706271699, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + } + }, + "log": "Plan achieveHello added to the plan library" + } + }, + { + "timestamp": 1694706271701, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + } + }, + "log": "Plan signalHello added to the plan library" + } + }, + { + "timestamp": 1694706271704, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + } + }, + "log": "Plan tick added to the plan library" + } + }, + { + "timestamp": 1694706271715, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__13", + "trigger": "jcm::focus_env_art([],_1)", + "context": "", + "body": "" + } + }, + "log": "Plan jcm::focus_env_art([],_1) added to the plan library" + } + }, + { + "timestamp": 1694706271716, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__14", + "trigger": "jcm::focus_env_art(L,0)", + "context": "", + "body": ".print(\"Error handling \",L,\" (to join a workspace or focus on an artifact)\")" + } + }, + "log": "Plan jcm::focus_env_art(L,0) added to the plan library" + } + }, + { + "timestamp": 1694706271718, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + }, + "log": "Plan jcm::focus_env_art([H|T],Try) added to the plan library" + } + }, + { + "timestamp": 1694706271720, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + } + }, + "log": "Plan jcm::focus_env_art(art_env(W,\"\",_2),Try) added to the plan library" + } + }, + { + "timestamp": 1694706271722, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + "log": "Plan jcm::focus_env_art(art_env(W,A,NS),Try) added to the plan library" + } + }, + { + "timestamp": 1694706271724, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__17", + "trigger": "jcm::focus_env_art(L,Try)", + "context": "", + "body": ".print(\"waiting a bit to join/focus -- \",L,\" -- try #\",Try); .wait(200); !jcm::focus_env_art(L,(Try-1))" + } + }, + "log": "Plan jcm::focus_env_art(L,Try) added to the plan library" + } + }, + { + "timestamp": 1694706271730, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "l_focus_on_my_scheme", + "trigger": "schemes(L)[artifact_name(GroupName),workspace(_7,W)]", + "context": "", + "body": ".foreach(.member(S,L),lookupArtifact(S,ArtId)[wid(W)]; focus(ArtId)[wid(W)]; .concat(GroupName,\".\",S,NBName); lookupArtifact(NBName,NBId)[wid(W)]; focus(NBId)[wid(W)])" + } + }, + "log": "Plan schemes(L)[artifact_name(GroupName),workspace(_7,W)] added to the plan library" + } + }, + { + "timestamp": 1694706271732, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__18", + "trigger": "jcm::initial_roles([],_8)", + "context": "", + "body": "" + } + }, + "log": "Plan jcm::initial_roles([],_8) added to the plan library" + } + }, + { + "timestamp": 1694706271734, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__19", + "trigger": "jcm::initial_roles(L,0)", + "context": "", + "body": ".print(\"Error with initial role \",L)" + } + }, + "log": "Plan jcm::initial_roles(L,0) added to the plan library" + } + }, + { + "timestamp": 1694706271737, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "l_focus_org_art", + "trigger": "jcm::initial_roles([H|T],Try)", + "context": "", + "body": "!jcm::initial_roles(H,Try); !jcm::initial_roles(T,Try)" + } + }, + "log": "Plan jcm::initial_roles([H|T],Try) added to the plan library" + } + }, + { + "timestamp": 1694706271738, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__20", + "trigger": "jcm::initial_roles(role(O,G,R),Try)", + "context": "", + "body": ".concat(\"/main/\",O,FullO); joinWorkspace(FullO,WId); !jcm::focus_orgBoard(O,WId); lookupArtifact(G,GId)[wid(WId)]; focus(GId)[wid(WId)]; adoptRole(R)[artifact_id(GId)]" + } + }, + "log": "Plan jcm::initial_roles(role(O,G,R),Try) added to the plan library" + } + }, + { + "timestamp": 1694706271740, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__21", + "trigger": "jcm::initial_roles(L,Try)", + "context": "", + "body": ".wait(200); !jcm::initial_roles(L,(Try-1))" + } + }, + "log": "Plan jcm::initial_roles(L,Try) added to the plan library" + } + }, + { + "timestamp": 1694706271741, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__22", + "trigger": "jcm::focus_orgBoard(O,WId)", + "context": "focused(_9,O,_10)", + "body": "" + } + }, + "log": "Plan jcm::focus_orgBoard(O,WId)focused(_9,O,_10) added to the plan library" + } + }, + { + "timestamp": 1694706271743, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__23", + "trigger": "jcm::focus_orgBoard(O,WId)", + "context": "", + "body": "lookupArtifact(O,OId)[wid(WId)]; focus(OId)[wid(WId)]" + } + }, + "log": "Plan jcm::focus_orgBoard(O,WId) added to the plan library" + } + }, + { + "timestamp": 1694706271762, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "test1(1)", + "functor": "test1", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Added belief test1(1) from source: [self]" + } + }, + { + "timestamp": 1694706271766, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "test1(1)", + "functor": "test1", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Added belief test1(1)" + } + }, + { + "timestamp": 1694706271866, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g1(0)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g1(0) created" + } + }, + { + "timestamp": 1694706271888, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellStructure", + "trigger": "kqml_received(Sender,tell,NS::Content,_11)", + "context": "(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))))", + "body": "++NS::CA" + } + }, + "log": "Plan kqml_received(Sender,tell,NS::Content,_11)(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)))) added to the plan library" + } + }, + { + "timestamp": 1694706271890, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList", + "trigger": "kqml_received(Sender,tell,Content,_12)", + "context": ".list(Content)", + "body": "!add_all_kqml_received(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,tell,Content,_12).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694706271892, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList1", + "trigger": "add_all_kqml_received(_13,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_received(_13,[]) added to the plan library" + } + }, + { + "timestamp": 1694706271893, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList2", + "trigger": "add_all_kqml_received(Sender,[NS::H|T])", + "context": "(.literal(H) \u0026 .ground(H))", + "body": ".add_nested_source(H,Sender,CA); ++NS::CA; !add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[NS::H|T])(.literal(H) \u0026 .ground(H)) added to the plan library" + } + }, + { + "timestamp": 1694706271900, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList3", + "trigger": "add_all_kqml_received(Sender,[_14|T])", + "context": "", + "body": "!add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[_14|T]) added to the plan library" + } + }, + { + "timestamp": 1694706271902, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTell", + "trigger": "kqml_received(Sender,untell,NS::Content,_15)", + "context": ".add_nested_source(Content,Sender,CA)", + "body": "--NS::CA" + } + }, + "log": "Plan kqml_received(Sender,untell,NS::Content,_15).add_nested_source(Content,Sender,CA) added to the plan library" + } + }, + { + "timestamp": 1694706271904, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieve", + "trigger": "kqml_received(Sender,achieve,NS::Content,_16)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": "!!NS::CA" + } + }, + "log": "Plan kqml_received(Sender,achieve,NS::Content,_16)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694706271906, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList", + "trigger": "kqml_received(Sender,achieve,Content,_17)", + "context": ".list(Content)", + "body": "!add_all_kqml_achieve(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,achieve,Content,_17).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694706271908, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList1", + "trigger": "add_all_kqml_achieve(_18,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_achieve(_18,[]) added to the plan library" + } + }, + { + "timestamp": 1694706271910, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList2", + "trigger": "add_all_kqml_achieve(Sender,[NS::H|T])", + "context": "", + "body": ".add_nested_source(H,Sender,CA); !!NS::CA; !add_all_kqml_achieve(Sender,T)" + } + }, + "log": "Plan add_all_kqml_achieve(Sender,[NS::H|T]) added to the plan library" + } + }, + { + "timestamp": 1694706271914, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnAchieve", + "trigger": "kqml_received(_19,unachieve,NS::Content,_20)", + "context": "", + "body": ".drop_desire(NS::Content)" + } + }, + "log": "Plan kqml_received(_19,unachieve,NS::Content,_20) added to the plan library" + } + }, + { + "timestamp": 1694706271917, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1d", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "kqml::bel_no_source_self(NS,Content,Ans)", + "body": ".send(Sender,tell,NS::Ans,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)kqml::bel_no_source_self(NS,Content,Ans) added to the plan library" + } + }, + { + "timestamp": 1694706271921, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694706271923, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne2", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)]", + "context": "", + "body": ".send(Sender,untell,NS::Content,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)] added to the plan library" + } + }, + { + "timestamp": 1694706271940, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskAll2", + "trigger": "kqml_received(Sender,askAll,NS::Content,MsgId)", + "context": "", + "body": ".findall(NS::Ans,kqml::bel_no_source_self(NS,Content,Ans),List); .send(Sender,tell,List,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askAll,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694706271945, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellHow", + "trigger": "kqml_received(Sender,tellHow,Content,_22)", + "context": "", + "body": ".remove_source_annot(Content,ContentAn); .add_plan(ContentAn,Sender)" + } + }, + "log": "Plan kqml_received(Sender,tellHow,Content,_22) added to the plan library" + } + }, + { + "timestamp": 1694706271948, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTellHow", + "trigger": "kqml_received(Sender,untellHow,Content,_23)", + "context": "", + "body": ".remove_plan(Content,Sender)" + } + }, + "log": "Plan kqml_received(Sender,untellHow,Content,_23) added to the plan library" + } + }, + { + "timestamp": 1694706271951, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskHow", + "trigger": "kqml_received(Sender,askHow,Content,MsgId)", + "context": "", + "body": ".relevant_plans(Content,ListOfPlans); .remove_source_annot(ListOfPlans,ListOfPlansAn); .send(Sender,tellHow,ListOfPlansAn,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askHow,Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694706271962, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedSignal", + "trigger": "kqml_received(Sender,signal,NS::Content,_24)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": ".signal({ +NS::CA },type_signal)" + } + }, + "log": "Plan kqml_received(Sender,signal,NS::Content,_24)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694706271966, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlError", + "trigger": "kqml_received(_25_Sender,_26_Per,_27_Content,_28_MsgId)[error(EID),error_msg(EMsg)]", + "context": "", + "body": ".print(\"Communication error -- \",EID,\": \",EMsg)" + } + }, + "log": "Plan kqml_received(_25_Sender,_26_Per,_27_Content,_28_MsgId)[error(EID),error_msg(EMsg)] added to the plan library" + } + }, + { + "timestamp": 1694706271969, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[]) from source: [self]" + } + }, + { + "timestamp": 1694706271977, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[])" + } + }, + { + "timestamp": 1694706272014, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5)", + "source": { + "value": null + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) created" + } + }, + { + "timestamp": 1694706272177, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 1 + }, + "log": "New reasoning cycle started: 1" + } + }, + { + "timestamp": 1694706272186, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "joinedWsp(cobj_0,main,\"/main\")", + "functor": "joinedWsp", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_0", + "main", + "\"/main\"" + ] + } + } + }, + "log": "Added belief joinedWsp(cobj_0,main,\"/main\") from source: [percept]" + } + }, + { + "timestamp": 1694706272190, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "joinedWsp(cobj_0,main,\"/main\")", + "functor": "joinedWsp", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_0", + "main", + "\"/main\"" + ] + } + } + }, + "log": "Added belief joinedWsp(cobj_0,main,\"/main\")" + } + }, + { + "timestamp": 1694706272203, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "joinedWsp(cobj_0,main,\"/main\")", + "artifactId": "cobj_1", + "artifactName": "session_bob", + "perceptType": "obs_prop" + } + }, + "log": "New obs_prop percept from session_bob: joinedWsp(cobj_0,main,\"/main\")" + } + }, + { + "timestamp": 1694706272226, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 removed , state: undefined" + } + }, + { + "timestamp": 1694706272232, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5)", + "planOptions": [ + { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + ], + "selectedPlan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + }, + "log": "Plan options for jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) are: \n\tjcm::focus_env_art([H|T],Try) \u003c- !jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try).\nThe plan selected for jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) is \tjcm::focus_env_art([H|T],Try) \u003c- !jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)." + } + }, + { + "timestamp": 1694706272252, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5)", + "source": { + "value": null + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) selected, state: executing" + } + }, + { + "timestamp": 1694706272257, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: !jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + }, + { + "timestamp": 1694706272260, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,\"\",default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art(art_env(w,\"\",default),5) (sub-goal of focus_env_art) created" + } + }, + { + "timestamp": 1694706272273, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "jcm::focus_env_art(H,Try)", + "type": "achieve", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:9" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed jcm::focus_env_art(H,Try) of type achieve executed - from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:9" + } + }, + { + "timestamp": 1694706272276, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 2 + }, + "log": "New reasoning cycle started: 2" + } + }, + { + "timestamp": 1694706272282, + "message": { + "type": "GoalRemoved", + "event": { + "result": "dropped", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5)", + "source": { + "value": null + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) removed because the goal is dropped" + } + }, + { + "timestamp": 1694706272286, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 removed, focus_env_art , state: undefined" + } + }, + { + "timestamp": 1694706272291, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "jcm::focus_env_art(art_env(w,\"\",default),5)[source(self)]", + "planOptions": [ + { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + ], + "selectedPlan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + } + }, + "log": "Plan options for jcm::focus_env_art(art_env(w,\"\",default),5)[source(self)] are: \n\tjcm::focus_env_art(art_env(W,\"\",_2),Try) \u003c- .concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\").\n\tjcm::focus_env_art(art_env(W,A,NS),Try) \u003c- .concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\").\nThe plan selected for jcm::focus_env_art(art_env(w,\"\",default),5)[source(self)] is \tjcm::focus_env_art(art_env(W,\"\",_2),Try) \u003c- .concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")." + } + }, + { + "timestamp": 1694706272296, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,\"\",default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan jcm::focus_env_art(art_env(w,\"\",default),5) selected, state: executing" + } + }, + { + "timestamp": 1694706272300, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, W\u003dw, Try\u003d5}", + "currentStep": { + "value": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: .concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + } + }, + { + "timestamp": 1694706272305, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + } + }, + { + "timestamp": 1694706272311, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".concat(\"/main/\",W,FullW)", + "type": "internalAction", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:14" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .concat(\"/main/\",W,FullW) finished" + } + }, + { + "timestamp": 1694706272316, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 3 + }, + "log": "New reasoning cycle started: 3" + } + }, + { + "timestamp": 1694706272327, + "message": { + "type": "MailBoxMessages", + "event": { + "messages": [ + { + "id": "mid1", + "type": "signal", + "sender": "alice", + "receiver": "bob", + "message": "signalHello" + }, + { + "id": "mid2", + "type": "tell", + "sender": "alice", + "receiver": "bob", + "message": "tellHello" + } + ] + }, + "log": "Messages in mailbox: \n\tsignal message from alice: signalHello\n\ttell message from alice: tellHello" + } + }, + { + "timestamp": 1694706272338, + "message": { + "type": "SelectedMessage", + "event": { + "selected": { + "id": "mid1", + "type": "signal", + "sender": "alice", + "receiver": "bob", + "message": "signalHello" + } + }, + "log": "Selected Message: signalHello" + } + }, + { + "timestamp": 1694706272344, + "message": { + "type": "NewSpeechActMessage", + "event": { + "message": { + "id": "mid1", + "type": "signal", + "sender": "alice", + "receiver": "bob", + "message": "signalHello" + } + }, + "log": "New speech act message [signal] from alice: signalHello" + } + }, + { + "timestamp": 1694706272354, + "message": { + "type": "NewAgentSignal", + "event": { + "signalInfo": { + "functor": "signalHello", + "source": "alice" + } + }, + "log": "New signal from alice: signalHello" + } + }, + { + "timestamp": 1694706272364, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(joinWorkspace(\"/main/w\", 3))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "joinWorkspace(\"/main/w\",_3)" + ] + } + } + } + }, + "log": "Intention 1 focus_env_art waiting to execute action joinWorkspace(\"/main/w\",_3), state: undefined\n\tcurrent step: joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + } + }, + { + "timestamp": 1694706272374, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "joinWorkspace(\"/main/w\",_3)", + "source": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:15", + "intention": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action joinWorkspace(\"/main/w\",_3) from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:15" + } + }, + { + "timestamp": 1694706272379, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "joinWorkspace(FullW,_3)", + "type": "action", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:15" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action joinWorkspace(FullW,_3) finished" + } + }, + { + "timestamp": 1694706272383, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 4 + }, + "log": "New reasoning cycle started: 4" + } + }, + { + "timestamp": 1694706272388, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "joinedWsp(cobj_2,w,\"/main/w\")", + "functor": "joinedWsp", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_2", + "w", + "\"/main/w\"" + ] + } + } + }, + "log": "Added belief joinedWsp(cobj_2,w,\"/main/w\") from source: [percept]" + } + }, + { + "timestamp": 1694706272391, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "joinedWsp(cobj_2,w,\"/main/w\")", + "functor": "joinedWsp", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_2", + "w", + "\"/main/w\"" + ] + } + } + }, + "log": "Added belief joinedWsp(cobj_2,w,\"/main/w\")" + } + }, + { + "timestamp": 1694706272394, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "joinedWsp(cobj_2,w,\"/main/w\")", + "artifactId": "cobj_1", + "artifactName": "session_bob", + "perceptType": "obs_prop" + } + }, + "log": "New obs_prop percept from session_bob: joinedWsp(cobj_2,w,\"/main/w\")" + } + }, + { + "timestamp": 1694706272397, + "message": { + "type": "MailBoxMessages", + "event": { + "messages": [ + { + "id": "mid2", + "type": "tell", + "sender": "alice", + "receiver": "bob", + "message": "tellHello" + }, + { + "id": "mid3", + "type": "achieve", + "sender": "alice", + "receiver": "bob", + "message": "achieveHello" + } + ] + }, + "log": "Messages in mailbox: \n\ttell message from alice: tellHello\n\tachieve message from alice: achieveHello" + } + }, + { + "timestamp": 1694706272402, + "message": { + "type": "SelectedMessage", + "event": { + "selected": { + "id": "mid2", + "type": "tell", + "sender": "alice", + "receiver": "bob", + "message": "tellHello" + } + }, + "log": "Selected Message: tellHello" + } + }, + { + "timestamp": 1694706272405, + "message": { + "type": "NewSpeechActMessage", + "event": { + "message": { + "id": "mid2", + "type": "tell", + "sender": "alice", + "receiver": "bob", + "message": "tellHello" + } + }, + "log": "New speech act message [tell] from alice: tellHello" + } + }, + { + "timestamp": 1694706272410, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "tellHello", + "functor": "tellHello", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "alice" + ] + }, + "terms": { + "value": null + } + } + }, + "log": "Added belief tellHello from source: [alice]" + } + }, + { + "timestamp": 1694706272412, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "tellHello", + "functor": "tellHello", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "alice" + ] + }, + "terms": { + "value": null + } + } + }, + "log": "Added belief tellHello" + } + }, + { + "timestamp": 1694706272416, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, _3\u003dcobj_2, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": ".print(\"join workspace \",FullW,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: .print(\"join workspace \",FullW,\": done\")" + } + }, + { + "timestamp": 1694706272420, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,\"\",default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(joinWorkspace(\"/main/w\", 3))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "joinWorkspace(\"/main/w\",_3)" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art(art_env(w,\"\",default),5) selected, state: executing" + } + }, + { + "timestamp": 1694706272424, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5)", + "source": { + "value": null + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(joinWorkspace(\"/main/w\", 3))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "joinWorkspace(\"/main/w\",_3)" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) selected, state: executing" + } + }, + { + "timestamp": 1694706272427, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__15", + "trigger": "jcm::focus_env_art(art_env(W,\"\",_2),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); joinWorkspace(FullW,_3); .print(\"join workspace \",FullW,\": done\")" + }, + "unifier": "{_2\u003ddefault, _3\u003dcobj_2, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": null + }, + "isFinished": true + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706272431, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,\"\",default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art(art_env(w,\"\",default),5) removed because the goal is achieved" + } + }, + { + "timestamp": 1694706272435, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"join workspace \",FullW,\": done\")", + "type": "internalAction", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:16" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .print(\"join workspace \",FullW,\": done\") finished" + } + }, + { + "timestamp": 1694706272438, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 5 + }, + "log": "New reasoning cycle started: 5" + } + }, + { + "timestamp": 1694706272440, + "message": { + "type": "MailBoxMessages", + "event": { + "messages": [ + { + "id": "mid3", + "type": "achieve", + "sender": "alice", + "receiver": "bob", + "message": "achieveHello" + } + ] + }, + "log": "Messages in mailbox: \n\tachieve message from alice: achieveHello" + } + }, + { + "timestamp": 1694706272443, + "message": { + "type": "SelectedMessage", + "event": { + "selected": { + "id": "mid3", + "type": "achieve", + "sender": "alice", + "receiver": "bob", + "message": "achieveHello" + } + }, + "log": "Selected Message: achieveHello" + } + }, + { + "timestamp": 1694706272446, + "message": { + "type": "NewSpeechActMessage", + "event": { + "message": { + "id": "mid3", + "type": "achieve", + "sender": "alice", + "receiver": "bob", + "message": "achieveHello" + } + }, + "log": "New speech act message [achieve] from alice: achieveHello" + } + }, + { + "timestamp": 1694706272451, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "achieveHello", + "source": { + "value": [ + "alice" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal achieveHello created" + } + }, + { + "timestamp": 1694706272454, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,c1,default)],5) (sub-goal of focus_env_art) created" + } + }, + { + "timestamp": 1694706272458, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "jcm::focus_env_art(T,Try)", + "type": "achieve", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:10" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed jcm::focus_env_art(T,Try) of type achieve executed - from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:10" + } + }, + { + "timestamp": 1694706272461, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 6 + }, + "log": "New reasoning cycle started: 6" + } + }, + { + "timestamp": 1694706272465, + "message": { + "type": "GoalRemoved", + "event": { + "result": "dropped", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5)", + "source": { + "value": null + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) removed because the goal is dropped" + } + }, + { + "timestamp": 1694706272470, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 removed, focus_env_art , state: undefined" + } + }, + { + "timestamp": 1694706272473, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "jcm::focus_env_art([art_env(w,c1,default)],5)[source(self)]", + "planOptions": [ + { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + ], + "selectedPlan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + }, + "log": "Plan options for jcm::focus_env_art([art_env(w,c1,default)],5)[source(self)] are: \n\tjcm::focus_env_art([H|T],Try) \u003c- !jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try).\nThe plan selected for jcm::focus_env_art([art_env(w,c1,default)],5)[source(self)] is \tjcm::focus_env_art([H|T],Try) \u003c- !jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)." + } + }, + { + "timestamp": 1694706272476, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan jcm::focus_env_art([art_env(w,c1,default)],5) selected, state: executing" + } + }, + { + "timestamp": 1694706272481, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5)", + "source": { + "value": null + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[art_env(w,c1,default)], H\u003dart_env(w,\"\",default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,\"\",default),art_env(w,c1,default)],5) removed because the goal is achieved" + } + }, + { + "timestamp": 1694706272486, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: !jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + } + }, + { + "timestamp": 1694706272490, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,c1,default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art(art_env(w,c1,default),5) (sub-goal of focus_env_art) created" + } + }, + { + "timestamp": 1694706272494, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "jcm::focus_env_art(H,Try)", + "type": "achieve", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:9" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed jcm::focus_env_art(H,Try) of type achieve executed - from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:9" + } + }, + { + "timestamp": 1694706272497, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 7 + }, + "log": "New reasoning cycle started: 7" + } + }, + { + "timestamp": 1694706272501, + "message": { + "type": "GoalRemoved", + "event": { + "result": "dropped", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,c1,default)],5) removed because the goal is dropped" + } + }, + { + "timestamp": 1694706272505, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 removed, focus_env_art , state: undefined" + } + }, + { + "timestamp": 1694706272509, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "jcm::focus_env_art(art_env(w,c1,default),5)[source(self)]", + "planOptions": [ + { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + ], + "selectedPlan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + "log": "Plan options for jcm::focus_env_art(art_env(w,c1,default),5)[source(self)] are: \n\tjcm::focus_env_art(art_env(W,A,NS),Try) \u003c- .concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\").\nThe plan selected for jcm::focus_env_art(art_env(w,c1,default),5)[source(self)] is \tjcm::focus_env_art(art_env(W,A,NS),Try) \u003c- .concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")." + } + }, + { + "timestamp": 1694706272513, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,c1,default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan jcm::focus_env_art(art_env(w,c1,default),5) selected, state: executing" + } + }, + { + "timestamp": 1694706272516, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, Try\u003d5}", + "currentStep": { + "value": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: .concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272521, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": ".print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272526, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".concat(\"/main/\",W,FullW)", + "type": "internalAction", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:18" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": ".print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .concat(\"/main/\",W,FullW) finished" + } + }, + { + "timestamp": 1694706272530, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 8 + }, + "log": "New reasoning cycle started: 8" + } + }, + { + "timestamp": 1694706272535, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272539, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS)", + "type": "internalAction", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:19" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS) finished" + } + }, + { + "timestamp": 1694706272544, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 9 + }, + "log": "New reasoning cycle started: 9" + } + }, + { + "timestamp": 1694706272549, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(joinWorkspace(\"/main/w\",WId))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "joinWorkspace(\"/main/w\",WId)" + ] + } + } + } + }, + "log": "Intention 1 focus_env_art waiting to execute action joinWorkspace(\"/main/w\",WId), state: undefined\n\tcurrent step: joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272554, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "joinWorkspace(\"/main/w\",WId)", + "source": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:20", + "intention": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action joinWorkspace(\"/main/w\",WId) from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:20" + } + }, + { + "timestamp": 1694706272561, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "joinWorkspace(FullW,WId)", + "type": "action", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:20" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action joinWorkspace(FullW,WId) finished" + } + }, + { + "timestamp": 1694706272616, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 10 + }, + "log": "New reasoning cycle started: 10" + } + }, + { + "timestamp": 1694706272625, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272630, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,c1,default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(joinWorkspace(\"/main/w\",WId))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "joinWorkspace(\"/main/w\",WId)" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art(art_env(w,c1,default),5) selected, state: executing" + } + }, + { + "timestamp": 1694706272636, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(joinWorkspace(\"/main/w\",WId))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "joinWorkspace(\"/main/w\",WId)" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art([art_env(w,c1,default)],5) selected, state: executing" + } + }, + { + "timestamp": 1694706272642, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(lookupArtifact(c1,AId)[wid(cobj 2)])", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "lookupArtifact(c1,AId)[wid(cobj_2)]" + ] + } + } + } + }, + "log": "Intention 1 focus_env_art waiting to execute action lookupArtifact(c1,AId)[wid(cobj_2)], state: undefined\n\tcurrent step: lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272649, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "lookupArtifact(c1,AId)[wid(cobj_2)]", + "source": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:21", + "intention": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action lookupArtifact(c1,AId)[wid(cobj_2)] from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:21" + } + }, + { + "timestamp": 1694706272655, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "lookupArtifact(A,AId)[wid(WId)]", + "type": "action", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:21" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5}", + "currentStep": { + "value": "lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action lookupArtifact(A,AId)[wid(WId)] finished" + } + }, + { + "timestamp": 1694706272710, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 11 + }, + "log": "New reasoning cycle started: 11" + } + }, + { + "timestamp": 1694706272715, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5, AId\u003dcobj_3}", + "currentStep": { + "value": "NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272720, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,c1,default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(lookupArtifact(c1,AId)[wid(cobj 2)])", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "lookupArtifact(c1,AId)[wid(cobj_2)]" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art(art_env(w,c1,default),5) selected, state: executing" + } + }, + { + "timestamp": 1694706272725, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(lookupArtifact(c1,AId)[wid(cobj 2)])", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "lookupArtifact(c1,AId)[wid(cobj_2)]" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art([art_env(w,c1,default)],5) selected, state: executing" + } + }, + { + "timestamp": 1694706272730, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5, AId\u003dcobj_3}", + "currentStep": { + "value": "NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(focus(cobj 3)[wid(cobj 2)])", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "focus(cobj_3)[wid(cobj_2)]" + ] + } + } + } + }, + "log": "Intention 1 focus_env_art waiting to execute action focus(cobj_3)[wid(cobj_2)], state: undefined\n\tcurrent step: NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272736, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "focus(cobj_3)[wid(cobj_2)]", + "source": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:22", + "intention": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5, AId\u003dcobj_3}", + "currentStep": { + "value": "NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5, AId\u003dcobj_3}", + "currentStep": { + "value": "NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action focus(cobj_3)[wid(cobj_2)] from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:22" + } + }, + { + "timestamp": 1694706272742, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "NS::focus(AId)[wid(WId)]", + "type": "action", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:22" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5, AId\u003dcobj_3}", + "currentStep": { + "value": "NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action NS::focus(AId)[wid(WId)] finished" + } + }, + { + "timestamp": 1694706272799, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 12 + }, + "log": "New reasoning cycle started: 12" + } + }, + { + "timestamp": 1694706272806, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "count(2)", + "functor": "count", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "2" + ] + } + } + }, + "log": "Added belief count(2) from source: [percept]" + } + }, + { + "timestamp": 1694706272815, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "count(2)", + "functor": "count", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "2" + ] + } + } + }, + "log": "Added belief count(2)" + } + }, + { + "timestamp": 1694706272820, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "count(2)", + "artifactId": "cobj_3", + "artifactName": "c1", + "perceptType": "obs_prop" + } + }, + "log": "New obs_prop percept from c1: count(2)" + } + }, + { + "timestamp": 1694706272827, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "focusing(cobj_3,c1,\"example.Counter\",cobj_2,w,\"/main/w\")", + "functor": "focusing", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_3", + "c1", + "\"example.Counter\"", + "cobj_2", + "w", + "\"/main/w\"" + ] + } + } + }, + "log": "Added belief focusing(cobj_3,c1,\"example.Counter\",cobj_2,w,\"/main/w\") from source: [percept]" + } + }, + { + "timestamp": 1694706272831, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "focusing(cobj_3,c1,\"example.Counter\",cobj_2,w,\"/main/w\")", + "functor": "focusing", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "cobj_3", + "c1", + "\"example.Counter\"", + "cobj_2", + "w", + "\"/main/w\"" + ] + } + } + }, + "log": "Added belief focusing(cobj_3,c1,\"example.Counter\",cobj_2,w,\"/main/w\")" + } + }, + { + "timestamp": 1694706272836, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "focusing(cobj_3,c1,\"example.Counter\",cobj_2,w,\"/main/w\")", + "artifactId": "cobj_4", + "artifactName": "body_bob", + "perceptType": "obs_prop" + } + }, + "log": "New obs_prop percept from body_bob: focusing(cobj_3,c1,\"example.Counter\",cobj_2,w,\"/main/w\")" + } + }, + { + "timestamp": 1694706272842, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5, AId\u003dcobj_3}", + "currentStep": { + "value": ".print(\"focus on \",A,\": done\")" + }, + "isFinished": false + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: .print(\"focus on \",A,\": done\")" + } + }, + { + "timestamp": 1694706272847, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,c1,default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(focus(cobj 3)[wid(cobj 2)])", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "focus(cobj_3)[wid(cobj_2)]" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art(art_env(w,c1,default),5) selected, state: executing" + } + }, + { + "timestamp": 1694706272853, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(focus(cobj 3)[wid(cobj 2)])", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "focus(cobj_3)[wid(cobj_2)]" + ] + } + } + } + }, + "log": "Plan jcm::focus_env_art([art_env(w,c1,default)],5) selected, state: executing" + } + }, + { + "timestamp": 1694706272858, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "jcm::focus_env_art(art_env(W,A,NS),Try)", + "context": "", + "body": ".concat(\"/main/\",W,FullW); .print(\"focusing on artifact \",A,\" (at workspace \",FullW,\") using namespace \",NS); joinWorkspace(FullW,WId); lookupArtifact(A,AId)[wid(WId)]; NS::focus(AId)[wid(WId)]; .print(\"focus on \",A,\": done\")" + }, + "unifier": "{A\u003dc1, WId\u003dcobj_2, NS\u003ddefault, W\u003dw, FullW\u003d\"/main/w\", Try\u003d5, AId\u003dcobj_3}", + "currentStep": { + "value": null + }, + "isFinished": true + }, + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706272862, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art(art_env(w,c1,default),5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art(art_env(w,c1,default),5) removed because the goal is achieved" + } + }, + { + "timestamp": 1694706272867, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"focus on \",A,\": done\")", + "type": "internalAction", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:23" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .print(\"focus on \",A,\": done\") finished" + } + }, + { + "timestamp": 1694706272872, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 13 + }, + "log": "New reasoning cycle started: 13" + } + }, + { + "timestamp": 1694706272876, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([],5) (sub-goal of focus_env_art) created" + } + }, + { + "timestamp": 1694706272881, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "jcm::focus_env_art(T,Try)", + "type": "achieve", + "srcInfo": "jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:10" + }, + "intentionInfo": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed jcm::focus_env_art(T,Try) of type achieve executed - from jar:file:C:\\Users\\yanel\\.gradle\\caches\\modules-2\\files-2.1\\org.jacamo\\jacamo\\1.2-SNAPSHOT\\f6df985af96fabd6443117397016d66fe8338735\\jacamo-1.2-SNAPSHOT.jar!/templates/common-cartago.asl:10" + } + }, + { + "timestamp": 1694706272887, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 14 + }, + "log": "New reasoning cycle started: 14" + } + }, + { + "timestamp": 1694706272897, + "message": { + "type": "GoalRemoved", + "event": { + "result": "dropped", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,c1,default)],5) removed because the goal is dropped" + } + }, + { + "timestamp": 1694706272905, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 removed, focus_env_art , state: undefined" + } + }, + { + "timestamp": 1694706272913, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "jcm::focus_env_art([],5)[source(self)]", + "planOptions": [ + { + "label": "p__13", + "trigger": "jcm::focus_env_art([],_1)", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__13", + "trigger": "jcm::focus_env_art([],_1)", + "context": "", + "body": "" + } + }, + "log": "Plan options for jcm::focus_env_art([],5)[source(self)] are: \n\tjcm::focus_env_art([],_1).\nThe plan selected for jcm::focus_env_art([],5)[source(self)] is \tjcm::focus_env_art([],_1)." + } + }, + { + "timestamp": 1694706272920, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan jcm::focus_env_art([],5) selected, state: executing" + } + }, + { + "timestamp": 1694706272925, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([art_env(w,c1,default)],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "lf_env_art", + "trigger": "jcm::focus_env_art([H|T],Try)", + "context": "", + "body": "!jcm::focus_env_art(H,Try); !jcm::focus_env_art(T,Try)" + }, + "unifier": "{T\u003d[], H\u003dart_env(w,c1,default), Try\u003d5}", + "currentStep": { + "value": "!jcm::focus_env_art(T,Try)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([art_env(w,c1,default)],5) removed because the goal is achieved" + } + }, + { + "timestamp": 1694706272930, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__13", + "trigger": "jcm::focus_env_art([],_1)", + "context": "", + "body": "" + }, + "unifier": "{_1\u003d5}", + "currentStep": { + "value": "" + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706272936, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "focus_env_art", + "type": "achieve", + "plan": { + "label": "p__13", + "trigger": "jcm::focus_env_art([],_1)", + "context": "", + "body": "" + }, + "unifier": "{_1\u003d5}", + "currentStep": { + "value": "" + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 focus_env_art created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706272940, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "jcm::focus_env_art([],5)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal jcm::focus_env_art([],5) removed because the goal is achieved" + } + }, + { + "timestamp": 1694706272944, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 removed , state: undefined" + } + }, + { + "timestamp": 1694706272949, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 15 + }, + "log": "New reasoning cycle started: 15" + } + }, + { + "timestamp": 1694706272956, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g1(0)[source(self)]", + "planOptions": [ + { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + } + ], + "selectedPlan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + } + }, + "log": "Plan options for g1(0)[source(self)] are: \n\tg1(0) : (count(X) \u0026 (X \u003c 3)) \u003c- a1; !g2; a3.\nThe plan selected for g1(0)[source(self)] is \tg1(0) : (count(X) \u0026 (X \u003c 3)) \u003c- a1; !g2; a3." + } + }, + { + "timestamp": 1694706272959, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g1(0)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "running", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g1(0) selected, state: executing" + } + }, + { + "timestamp": 1694706272963, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a1; !g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g1 created, state: undefined\n\tcurrent step: a1; !g2; a3" + } + }, + { + "timestamp": 1694706272967, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a1; !g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(a1)", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "a1" + ] + } + } + } + }, + "log": "Intention 3 g1 waiting to execute action a1, state: undefined\n\tcurrent step: a1; !g2; a3" + } + }, + { + "timestamp": 1694706272971, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "a1", + "source": "file:src/agt/bob.asl:5", + "intention": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a1; !g2; a3" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a1; !g2; a3" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action a1 from file:src/agt/bob.asl:5" + } + }, + { + "timestamp": 1694706272975, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "a1", + "type": "action", + "srcInfo": "file:src/agt/bob.asl:5" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a1; !g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action a1 finished" + } + }, + { + "timestamp": 1694706272979, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 16 + }, + "log": "New reasoning cycle started: 16" + } + }, + { + "timestamp": 1694706272983, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "signalHello[signal,source(alice)]", + "planOptions": [ + { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + } + ], + "selectedPlan": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + } + }, + "log": "Plan options for signalHello[signal,source(alice)] are: \n\tsignalHello \u003c- !g.\nThe plan selected for signalHello[signal,source(alice)] is \tsignalHello \u003c- !g." + } + }, + { + "timestamp": 1694706272988, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "signalHello", + "type": "signal", + "plan": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 signalHello created, state: undefined\n\tcurrent step: !g" + } + }, + { + "timestamp": 1694706272992, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g1 created, state: waiting\n\tcurrent step: !g2; a3" + } + }, + { + "timestamp": 1694706272997, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g1(0)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(a1)", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "a1" + ] + } + } + } + }, + "log": "Plan g1(0) selected, state: executing" + } + }, + { + "timestamp": 1694706273002, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "signalHello", + "type": "signal", + "plan": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g (sub-goal of signalHello) created" + } + }, + { + "timestamp": 1694706273006, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "g", + "type": "achieve", + "srcInfo": "file:src/agt/bob.asl:25" + }, + "intentionInfo": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "signalHello", + "type": "signal", + "plan": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed g of type achieve executed - from file:src/agt/bob.asl:25" + } + }, + { + "timestamp": 1694706273011, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 17 + }, + "log": "New reasoning cycle started: 17" + } + }, + { + "timestamp": 1694706273015, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "tellHello[source(alice)]", + "planOptions": [ + { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + } + ], + "selectedPlan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + } + }, + "log": "Plan options for tellHello[source(alice)] are: \n\ttellHello \u003c- !g; .print(\"receive tell hello\").\nThe plan selected for tellHello[source(alice)] is \ttellHello \u003c- !g; .print(\"receive tell hello\")." + } + }, + { + "timestamp": 1694706273020, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 5, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive tell hello\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 5 tellHello created, state: undefined\n\tcurrent step: !g; .print(\"receive tell hello\")" + } + }, + { + "timestamp": 1694706273024, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g2", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g2 (sub-goal of g1) created" + } + }, + { + "timestamp": 1694706273028, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "g2", + "type": "achieve", + "srcInfo": "file:src/agt/bob.asl:5" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed g2 of type achieve executed - from file:src/agt/bob.asl:5" + } + }, + { + "timestamp": 1694706273033, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 18 + }, + "log": "New reasoning cycle started: 18" + } + }, + { + "timestamp": 1694706273037, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "achieveHello[source(alice)]", + "planOptions": [ + { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + } + ], + "selectedPlan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + } + }, + "log": "Plan options for achieveHello[source(alice)] are: \n\tachieveHello \u003c- !g; .print(\"receive achieve hello\").\nThe plan selected for achieveHello[source(alice)] is \tachieveHello \u003c- !g; .print(\"receive achieve hello\")." + } + }, + { + "timestamp": 1694706273041, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "achieveHello", + "source": { + "value": [ + "alice" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan achieveHello selected, state: executing" + } + }, + { + "timestamp": 1694706273045, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 6, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive achieve hello\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 6 achieveHello created, state: undefined\n\tcurrent step: !g; .print(\"receive achieve hello\")" + } + }, + { + "timestamp": 1694706273050, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 5, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive tell hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g (sub-goal of tellHello) created" + } + }, + { + "timestamp": 1694706273054, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "g", + "type": "achieve", + "srcInfo": "file:src/agt/bob.asl:20" + }, + "intentionInfo": { + "value": { + "id": 5, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive tell hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed g of type achieve executed - from file:src/agt/bob.asl:20" + } + }, + { + "timestamp": 1694706273060, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 19 + }, + "log": "New reasoning cycle started: 19" + } + }, + { + "timestamp": 1694706273066, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + }, + "log": "Plan options for g[source(self)] are: \n\tg.\nThe plan selected for g[source(self)] is \tg." + } + }, + { + "timestamp": 1694706273071, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 5, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive tell hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g selected, state: executing" + } + }, + { + "timestamp": 1694706273076, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "signalHello", + "type": "signal", + "plan": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273081, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 6, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive achieve hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g (sub-goal of achieveHello) created" + } + }, + { + "timestamp": 1694706273085, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "g", + "type": "achieve", + "srcInfo": "file:src/agt/bob.asl:23" + }, + "intentionInfo": { + "value": { + "id": 6, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive achieve hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed g of type achieve executed - from file:src/agt/bob.asl:23" + } + }, + { + "timestamp": 1694706273090, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 20 + }, + "log": "New reasoning cycle started: 20" + } + }, + { + "timestamp": 1694706273096, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g2[source(self)]", + "planOptions": [ + { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + ], + "selectedPlan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + "log": "Plan options for g2[source(self)] are: \n\tg2 \u003c- a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10).\nThe plan selected for g2[source(self)] is \tg2 \u003c- a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)." + } + }, + { + "timestamp": 1694706273102, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g2", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 6, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive achieve hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g2 selected, state: executing" + } + }, + { + "timestamp": 1694706273106, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706273110, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "signalHello", + "type": "signal", + "plan": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273114, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 4, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "signalHello", + "type": "signal", + "plan": { + "label": "p__11", + "trigger": "signalHello", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g removed because the goal is achieved" + } + }, + { + "timestamp": 1694706273118, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 4, + "state": "running", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 removed , state: running" + } + }, + { + "timestamp": 1694706273122, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 21 + }, + "log": "New reasoning cycle started: 21" + } + }, + { + "timestamp": 1694706273125, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + }, + "log": "Plan options for g[source(self)] are: \n\tg.\nThe plan selected for g[source(self)] is \tg." + } + }, + { + "timestamp": 1694706273129, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 4, + "state": "running", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g selected, state: executing" + } + }, + { + "timestamp": 1694706273133, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 5, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive tell hello\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 5 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273137, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(a2)", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "a2" + ] + } + } + } + }, + "log": "Intention 3 g2 waiting to execute action a2, state: running\n\tcurrent step: a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706273143, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "a2", + "source": "file:src/agt/bob.asl:9", + "intention": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action a2 from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706273148, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "a2", + "type": "action", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action a2 finished" + } + }, + { + "timestamp": 1694706273152, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 22 + }, + "log": "New reasoning cycle started: 22" + } + }, + { + "timestamp": 1694706273156, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + }, + "log": "Plan options for g[source(self)] are: \n\tg.\nThe plan selected for g[source(self)] is \tg." + } + }, + { + "timestamp": 1694706273160, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g selected, state: executing" + } + }, + { + "timestamp": 1694706273166, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 6, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive achieve hello\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 6 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273171, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706273176, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g2", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(a2)", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "a2" + ] + } + } + } + }, + "log": "Plan g2 selected, state: executing" + } + }, + { + "timestamp": 1694706273182, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g1(0)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(a2)", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "a2" + ] + } + } + } + }, + "log": "Plan g1(0) selected, state: executing" + } + }, + { + "timestamp": 1694706273188, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 5, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive tell hello\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 5 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273193, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 5, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive tell hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g removed because the goal is achieved" + } + }, + { + "timestamp": 1694706273198, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 23 + }, + "log": "New reasoning cycle started: 23" + } + }, + { + "timestamp": 1694706273203, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 6, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive achieve hello\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 6 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273208, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 6, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"receive achieve hello\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g removed because the goal is achieved" + } + }, + { + "timestamp": 1694706273212, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 24 + }, + "log": "New reasoning cycle started: 24" + } + }, + { + "timestamp": 1694706273217, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(inc)", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "inc" + ] + } + } + } + }, + "log": "Intention 3 g2 waiting to execute action inc, state: running\n\tcurrent step: inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706273222, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "inc", + "source": "file:src/agt/bob.asl:9", + "intention": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action inc from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706273226, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "inc", + "type": "action", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action inc finished" + } + }, + { + "timestamp": 1694706273231, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 25 + }, + "log": "New reasoning cycle started: 25" + } + }, + { + "timestamp": 1694706273236, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "tick", + "functor": "tick", + "operator": "+", + "perceptType": { + "value": [ + "obs_ev" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [] + } + } + }, + "log": "Added belief tick from source: [percept]" + } + }, + { + "timestamp": 1694706273243, + "message": { + "type": "NewArtifactSignal", + "event": { + "signalInfo": { + "functor": "tick", + "artifactId": "cobj_3", + "artifactName": "c1", + "perceptType": "obs_ev" + } + }, + "log": "New obs_ev signal from c1: tick" + } + }, + { + "timestamp": 1694706273248, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "tick", + "artifactId": "cobj_3", + "artifactName": "c1", + "perceptType": "obs_ev" + } + }, + "log": "New obs_ev percept from c1: tick" + } + }, + { + "timestamp": 1694706273257, + "message": { + "type": "BeliefFromSrcRemoved", + "event": { + "beliefInfo": { + "literal": "count(2)", + "functor": "count", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": null + }, + "terms": { + "value": [ + "2" + ] + } + } + }, + "log": "Removed belief count(2)" + } + }, + { + "timestamp": 1694706273266, + "message": { + "type": "BeliefRemoved", + "event": { + "beliefInfo": { + "literal": "count(2)", + "functor": "count", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": null + }, + "terms": { + "value": [ + "2" + ] + } + } + }, + "log": "Removed belief count(2)" + } + }, + { + "timestamp": 1694706273273, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "count(3)", + "functor": "count", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "3" + ] + } + } + }, + "log": "Added belief count(3) from source: [percept]" + } + }, + { + "timestamp": 1694706273280, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "count(3)", + "functor": "count", + "operator": "+", + "perceptType": { + "value": [ + "obs_prop" + ] + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "3" + ] + } + } + }, + "log": "Added belief count(3)" + } + }, + { + "timestamp": 1694706273288, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "count(3)", + "artifactId": "cobj_3", + "artifactName": "c1", + "perceptType": "obs_prop" + } + }, + "log": "New obs_prop percept from c1: count(3)" + } + }, + { + "timestamp": 1694706273294, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "tick[artifact_id(cobj_3),artifact_name(c1),percept_type(obs_ev),source(percept),workspace(\"/main/w\",cobj_2)]", + "planOptions": [ + { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + } + ], + "selectedPlan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + } + }, + "log": "Plan options for tick[artifact_id(cobj_3),artifact_name(c1),percept_type(obs_ev),source(percept),workspace(\"/main/w\",cobj_2)] are: \n\ttick \u003c- !g; .print(\"tick message\").\nThe plan selected for tick[artifact_id(cobj_3),artifact_name(c1),percept_type(obs_ev),source(percept),workspace(\"/main/w\",cobj_2)] is \ttick \u003c- !g; .print(\"tick message\")." + } + }, + { + "timestamp": 1694706273301, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 7, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"tick message\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 7 tick created, state: undefined\n\tcurrent step: !g; .print(\"tick message\")" + } + }, + { + "timestamp": 1694706273306, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: waiting\n\tcurrent step: +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706273312, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g2", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(inc)", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "inc" + ] + } + } + } + }, + "log": "Plan g2 selected, state: executing" + } + }, + { + "timestamp": 1694706273318, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g1(0)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(inc)", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "inc" + ] + } + } + } + }, + "log": "Plan g1(0) selected, state: executing" + } + }, + { + "timestamp": 1694706273324, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 5, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tellHello", + "type": "belief", + "plan": { + "label": "p__9", + "trigger": "tellHello", + "context": "", + "body": "!g; .print(\"receive tell hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 5 tellHello created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273335, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 5, + "state": "running", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 5 removed , state: running" + } + }, + { + "timestamp": 1694706273342, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"receive tell hello\")", + "type": "internalAction", + "srcInfo": "file:src/agt/bob.asl:20" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .print(\"receive tell hello\") finished" + } + }, + { + "timestamp": 1694706273349, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 26 + }, + "log": "New reasoning cycle started: 26" + } + }, + { + "timestamp": 1694706273356, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "count(3)[artifact_id(cobj_3),artifact_name(c1),percept_type(obs_prop),source(percept),workspace(\"/main/w\",cobj_2)]", + "planOptions": [ + { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + } + ], + "selectedPlan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + } + }, + "log": "Plan options for count(3)[artifact_id(cobj_3),artifact_name(c1),percept_type(obs_prop),source(percept),workspace(\"/main/w\",cobj_2)] are: \n\tcount(3) \u003c- !g; a7.\nThe plan selected for count(3)[artifact_id(cobj_3),artifact_name(c1),percept_type(obs_prop),source(percept),workspace(\"/main/w\",cobj_2)] is \tcount(3) \u003c- !g; a7." + } + }, + { + "timestamp": 1694706273361, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; a7" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 8 count created, state: undefined\n\tcurrent step: !g; a7" + } + }, + { + "timestamp": 1694706273367, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 6, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "achieveHello", + "type": "achieve", + "plan": { + "label": "p__10", + "trigger": "achieveHello", + "context": "", + "body": "!g; .print(\"receive achieve hello\")" + }, + "unifier": "{}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 6 achieveHello created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273374, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "achieveHello", + "source": { + "value": [ + "alice" + ] + }, + "intention": { + "value": { + "id": 6, + "state": "running", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal achieveHello removed because the goal is achieved" + } + }, + { + "timestamp": 1694706273886, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 6, + "state": "running", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 6 removed , state: running" + } + }, + { + "timestamp": 1694706273892, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"receive achieve hello\")", + "type": "internalAction", + "srcInfo": "file:src/agt/bob.asl:23" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .print(\"receive achieve hello\") finished" + } + }, + { + "timestamp": 1694706273899, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 27 + }, + "log": "New reasoning cycle started: 27" + } + }, + { + "timestamp": 1694706273904, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 7, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"tick message\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g (sub-goal of tick) created" + } + }, + { + "timestamp": 1694706273909, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "g", + "type": "achieve", + "srcInfo": "file:src/agt/bob.asl:28" + }, + "intentionInfo": { + "value": { + "id": 7, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"tick message\")" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed g of type achieve executed - from file:src/agt/bob.asl:28" + } + }, + { + "timestamp": 1694706273915, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 28 + }, + "log": "New reasoning cycle started: 28" + } + }, + { + "timestamp": 1694706273921, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + }, + "log": "Plan options for g[source(self)] are: \n\tg.\nThe plan selected for g[source(self)] is \tg." + } + }, + { + "timestamp": 1694706273929, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 7, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"tick message\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g selected, state: executing" + } + }, + { + "timestamp": 1694706273939, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 7, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"tick message\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 7 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706273949, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "b(0)", + "functor": "b", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "0" + ] + } + } + }, + "log": "Added belief b(0) from source: [self]" + } + }, + { + "timestamp": 1694706273957, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "b(0)", + "functor": "b", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "0" + ] + } + } + }, + "log": "Added belief b(0)" + } + }, + { + "timestamp": 1694706273968, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "b(0)", + "type": "addBel", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed b(0) of type addBel executed - from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706273976, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 29 + }, + "log": "New reasoning cycle started: 29" + } + }, + { + "timestamp": 1694706273987, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "b(0)[source(self)]", + "planOptions": [ + { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + } + ], + "selectedPlan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + } + }, + "log": "Plan options for b(0)[source(self)] are: \n\tb(0) \u003c- !g.\nThe plan selected for b(0)[source(self)] is \tb(0) \u003c- !g." + } + }, + { + "timestamp": 1694706273995, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "b", + "type": "belief", + "plan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 b created, state: running\n\tcurrent step: !g" + } + }, + { + "timestamp": 1694706274002, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; a7" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g (sub-goal of count) created" + } + }, + { + "timestamp": 1694706274009, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "g", + "type": "achieve", + "srcInfo": "file:src/agt/bob.asl:15" + }, + "intentionInfo": { + "value": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; a7" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed g of type achieve executed - from file:src/agt/bob.asl:15" + } + }, + { + "timestamp": 1694706274014, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 30 + }, + "log": "New reasoning cycle started: 30" + } + }, + { + "timestamp": 1694706274034, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + }, + "log": "Plan options for g[source(self)] are: \n\tg.\nThe plan selected for g[source(self)] is \tg." + } + }, + { + "timestamp": 1694706274054, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; a7" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g selected, state: executing" + } + }, + { + "timestamp": 1694706274063, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; a7" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 8 g created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706274074, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 7, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"tick message\")" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 7 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706274083, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 7, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; .print(\"tick message\")" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g removed because the goal is achieved" + } + }, + { + "timestamp": 1694706274094, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 31 + }, + "log": "New reasoning cycle started: 31" + } + }, + { + "timestamp": 1694706274102, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "b", + "type": "belief", + "plan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g (sub-goal of b) created" + } + }, + { + "timestamp": 1694706274110, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "g", + "type": "achieve", + "srcInfo": "file:src/agt/bob.asl:17" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "b", + "type": "belief", + "plan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed g of type achieve executed - from file:src/agt/bob.asl:17" + } + }, + { + "timestamp": 1694706274118, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 32 + }, + "log": "New reasoning cycle started: 32" + } + }, + { + "timestamp": 1694706274126, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "g[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + } + }, + "log": "Plan options for g[source(self)] are: \n\tg.\nThe plan selected for g[source(self)] is \tg." + } + }, + { + "timestamp": 1694706274133, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "b", + "type": "belief", + "plan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan g selected, state: executing" + } + }, + { + "timestamp": 1694706274139, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "b", + "type": "belief", + "plan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706274145, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; a7" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 8 g created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706274151, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "!g; a7" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g removed because the goal is achieved" + } + }, + { + "timestamp": 1694706274155, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 33 + }, + "log": "New reasoning cycle started: 33" + } + }, + { + "timestamp": 1694706274163, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 7, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "tick", + "type": "belief", + "plan": { + "label": "p__12", + "trigger": "tick", + "context": "", + "body": "!g; .print(\"tick message\")" + }, + "unifier": "{}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 7 tick created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706274170, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 7, + "state": "running", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 7 removed , state: running" + } + }, + { + "timestamp": 1694706274175, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"tick message\")", + "type": "internalAction", + "srcInfo": "file:src/agt/bob.asl:28" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .print(\"tick message\") finished" + } + }, + { + "timestamp": 1694706274182, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 34 + }, + "log": "New reasoning cycle started: 34" + } + }, + { + "timestamp": 1694706274190, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "g", + "context": "", + "body": "" + }, + "unifier": "{}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "b", + "type": "belief", + "plan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706274197, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "b", + "type": "belief", + "plan": { + "label": "p__8", + "trigger": "b(0)", + "context": "", + "body": "!g" + }, + "unifier": "{}", + "currentStep": { + "value": "!g" + }, + "isFinished": false + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g removed because the goal is achieved" + } + }, + { + "timestamp": 1694706274205, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 35 + }, + "log": "New reasoning cycle started: 35" + } + }, + { + "timestamp": 1694706274210, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "a7" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(a7)", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "a7" + ] + } + } + } + }, + "log": "Intention 8 count waiting to execute action a7, state: undefined\n\tcurrent step: a7" + } + }, + { + "timestamp": 1694706274218, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "a7", + "source": "file:src/agt/bob.asl:15", + "intention": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "a7" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "a7" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action a7 from file:src/agt/bob.asl:15" + } + }, + { + "timestamp": 1694706274228, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "a7", + "type": "action", + "srcInfo": "file:src/agt/bob.asl:15" + }, + "intentionInfo": { + "value": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": "a7" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action a7 finished" + } + }, + { + "timestamp": 1694706274525, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 36 + }, + "log": "New reasoning cycle started: 36" + } + }, + { + "timestamp": 1694706274533, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "count", + "type": "belief", + "plan": { + "label": "p__7", + "trigger": "count(3)", + "context": "", + "body": "!g; a7" + }, + "unifier": "{}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 8 count created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706274651, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 8, + "state": "undefined", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 8 removed , state: undefined" + } + }, + { + "timestamp": 1694706274765, + "message": { + "type": "BeliefFromSrcRemoved", + "event": { + "beliefInfo": { + "literal": "b(0)", + "functor": "b", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "0" + ] + } + } + }, + "log": "Removed belief b(0) from source: [self]" + } + }, + { + "timestamp": 1694706274776, + "message": { + "type": "BeliefRemoved", + "event": { + "beliefInfo": { + "literal": "b(0)", + "functor": "b", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "0" + ] + } + } + }, + "log": "Removed belief b(0)" + } + }, + { + "timestamp": 1694706274786, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "b(0)", + "type": "delBel", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "-b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed b(0) of type delBel executed - from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706274796, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 37 + }, + "log": "New reasoning cycle started: 37" + } + }, + { + "timestamp": 1694706274808, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706274821, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "b(1)", + "functor": "b", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Added belief b(1) from source: [self]" + } + }, + { + "timestamp": 1694706274857, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "b(1)", + "functor": "b", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Added belief b(1)" + } + }, + { + "timestamp": 1694706274890, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "b(1)", + "type": "addBel", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "+b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed b(1) of type addBel executed - from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706274905, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 38 + }, + "log": "New reasoning cycle started: 38" + } + }, + { + "timestamp": 1694706274943, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{}", + "currentStep": { + "value": "-+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706274967, + "message": { + "type": "BeliefFromSrcRemoved", + "event": { + "beliefInfo": { + "literal": "b(1)", + "functor": "b", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Removed belief b(1) from source: [self]" + } + }, + { + "timestamp": 1694706274980, + "message": { + "type": "BeliefRemoved", + "event": { + "beliefInfo": { + "literal": "b(1)", + "functor": "b", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Removed belief b(1)" + } + }, + { + "timestamp": 1694706274994, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "b(2)", + "functor": "b", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "2" + ] + } + } + }, + "log": "Added belief b(2) from source: [self]" + } + }, + { + "timestamp": 1694706275110, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "b(2)", + "functor": "b", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "2" + ] + } + } + }, + "log": "Added belief b(2)" + } + }, + { + "timestamp": 1694706275119, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "b(2)", + "type": "delAddBel", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1}", + "currentStep": { + "value": "-+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed b(2) of type delAddBel executed - from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706275129, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 39 + }, + "log": "New reasoning cycle started: 39" + } + }, + { + "timestamp": 1694706275145, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1}", + "currentStep": { + "value": "?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706275161, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, T1\u003d1}", + "currentStep": { + "value": "?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: ?test2(T2); .print(T1,T2); (A \u003d 10)" + } + }, + { + "timestamp": 1694706275280, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "test1(T1)", + "type": "test", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, T1\u003d1}", + "currentStep": { + "value": "?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed test1(T1) of type test executed - from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706275320, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 40 + }, + "log": "New reasoning cycle started: 40" + } + }, + { + "timestamp": 1694706275335, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "test2(_58)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, T1\u003d1}", + "currentStep": { + "value": "?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal test2(_58) (sub-goal of g2) created" + } + }, + { + "timestamp": 1694706275367, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "test2(T2)", + "type": "test", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, T1\u003d1}", + "currentStep": { + "value": "?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed test2(T2) of type test executed - from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706275398, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 41 + }, + "log": "New reasoning cycle started: 41" + } + }, + { + "timestamp": 1694706275558, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "test2(_58)[source(self)]", + "planOptions": [ + { + "label": "p__5", + "trigger": "test2(2)", + "context": "", + "body": "" + } + ], + "selectedPlan": { + "label": "p__5", + "trigger": "test2(2)", + "context": "", + "body": "" + } + }, + "log": "Plan options for test2(_58)[source(self)] are: \n\ttest2(2).\nThe plan selected for test2(_58)[source(self)] is \ttest2(2)." + } + }, + { + "timestamp": 1694706275590, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "test2", + "type": "test", + "plan": { + "label": "p__5", + "trigger": "test2(2)", + "context": "", + "body": "" + }, + "unifier": "{_58\u003d2}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, T1\u003d1}", + "currentStep": { + "value": "?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 test2 created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706275603, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "test2", + "type": "test", + "plan": { + "label": "p__5", + "trigger": "test2(2)", + "context": "", + "body": "" + }, + "unifier": "{_58\u003d2}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, T1\u003d1}", + "currentStep": { + "value": "?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 test2 created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706275631, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "test2(2)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, T1\u003d1}", + "currentStep": { + "value": "?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal test2(2) removed because the goal is achieved" + } + }, + { + "timestamp": 1694706275651, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 42 + }, + "log": "New reasoning cycle started: 42" + } + }, + { + "timestamp": 1694706275732, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, _58\u003d2, T1\u003d1, T2\u003d_58}", + "currentStep": { + "value": "(A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: (A \u003d 10)" + } + }, + { + "timestamp": 1694706275760, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(T1,T2)", + "type": "internalAction", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, _58\u003d2, T1\u003d1, T2\u003d_58}", + "currentStep": { + "value": "(A \u003d 10)" + }, + "isFinished": false + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .print(T1,T2) finished" + } + }, + { + "timestamp": 1694706275774, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 43 + }, + "log": "New reasoning cycle started: 43" + } + }, + { + "timestamp": 1694706275791, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g2", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "g2", + "context": "", + "body": "a2; inc; +b(0); -b(0); +b(1); -+b(2); ?test1(T1); ?test2(T2); .print(T1,T2); (A \u003d 10)" + }, + "unifier": "{_57\u003d1, A\u003d10, _58\u003d2, T1\u003d1, T2\u003d_58}", + "currentStep": { + "value": null + }, + "isFinished": true + }, + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g2 created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706275807, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g2", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "!g2; a3" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g2 removed because the goal is achieved" + } + }, + { + "timestamp": 1694706275828, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "(A \u003d 10)", + "type": "constraint", + "srcInfo": "file:src/agt/bob.asl:9" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Deed (A \u003d 10) of type constraint executed - from file:src/agt/bob.asl:9" + } + }, + { + "timestamp": 1694706275867, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 44 + }, + "log": "New reasoning cycle started: 44" + } + }, + { + "timestamp": 1694706275939, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a3" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(a3)", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "a3" + ] + } + } + } + }, + "log": "Intention 3 g1 waiting to execute action a3, state: running\n\tcurrent step: a3" + } + }, + { + "timestamp": 1694706275965, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "a3", + "source": "file:src/agt/bob.asl:5", + "intention": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a3" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a3" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action a3 from file:src/agt/bob.asl:5" + } + }, + { + "timestamp": 1694706275980, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "a3", + "type": "action", + "srcInfo": "file:src/agt/bob.asl:5" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": "a3" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action a3 finished" + } + }, + { + "timestamp": 1694706276047, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 45 + }, + "log": "New reasoning cycle started: 45" + } + }, + { + "timestamp": 1694706276085, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "g1", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "g1(0)", + "context": "(count(X) \u0026 (X \u003c 3))", + "body": "a1; !g2; a3" + }, + "unifier": "{X\u003d2}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 g1 created, state: running\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694706276113, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "g1(0)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal g1(0) removed because the goal is achieved" + } + }, + { + "timestamp": 1694706276128, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 3, + "state": "running", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 removed , state: running" + } + }, + { + "timestamp": 1694706276189, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 46 + }, + "log": "New reasoning cycle started: 46" + } + }, + { + "timestamp": 1694706276351, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 47 + }, + "log": "New reasoning cycle started: 47" + } + }, + { + "timestamp": 1694706276628, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 48 + }, + "log": "New reasoning cycle started: 48" + } + }, + { + "timestamp": 1694706276983, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 49 + }, + "log": "New reasoning cycle started: 49" + } + }, + { + "timestamp": 1694706277439, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 50 + }, + "log": "New reasoning cycle started: 50" + } + }, + { + "timestamp": 1694706277997, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 51 + }, + "log": "New reasoning cycle started: 51" + } + }, + { + "timestamp": 1694706278654, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 52 + }, + "log": "New reasoning cycle started: 52" + } + }, + { + "timestamp": 1694706279415, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 53 + }, + "log": "New reasoning cycle started: 53" + } + }, + { + "timestamp": 1694706280271, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 54 + }, + "log": "New reasoning cycle started: 54" + } + } +] diff --git a/examples/domestic-robot/owner.json b/examples/domestic-robot/owner.json new file mode 100644 index 0000000..a884a55 --- /dev/null +++ b/examples/domestic-robot/owner.json @@ -0,0 +1,1878 @@ +[ + { + "timestamp": 1694697127157, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__11", + "trigger": "get(beer)", + "context": "", + "body": ".send(robot,achieve,has(owner,beer))" + } + }, + "log": "Plan get(beer) added to the plan library" + } + }, + { + "timestamp": 1694697127161, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__12", + "trigger": "has(owner,beer)", + "context": "", + "body": "!drink(beer)" + } + }, + "log": "Plan has(owner,beer) added to the plan library" + } + }, + { + "timestamp": 1694697127162, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__13", + "trigger": "has(owner,beer)", + "context": "", + "body": "!get(beer)" + } + }, + "log": "Plan has(owner,beer) added to the plan library" + } + }, + { + "timestamp": 1694697127164, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__14", + "trigger": "drink(beer)", + "context": "has(owner,beer)", + "body": "sip(beer); !drink(beer)" + } + }, + "log": "Plan drink(beer)has(owner,beer) added to the plan library" + } + }, + { + "timestamp": 1694697127166, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__15", + "trigger": "drink(beer)", + "context": "not (has(owner,beer))", + "body": "" + } + }, + "log": "Plan drink(beer)not (has(owner,beer)) added to the plan library" + } + }, + { + "timestamp": 1694697127173, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + "log": "Plan check_bored added to the plan library" + } + }, + { + "timestamp": 1694697127176, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__17", + "trigger": "msg(M)[source(Ag)]", + "context": "", + "body": ".print(\"Message from \",Ag,\": \",M); -msg(M)" + } + }, + "log": "Plan msg(M)[source(Ag)] added to the plan library" + } + }, + { + "timestamp": 1694697127188, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "get(beer)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal get(beer) created" + } + }, + { + "timestamp": 1694697127190, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "check_bored", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal check_bored created" + } + }, + { + "timestamp": 1694697127194, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellStructure", + "trigger": "kqml_received(Sender,tell,NS::Content,_27)", + "context": "(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))))", + "body": "++NS::CA" + } + }, + "log": "Plan kqml_received(Sender,tell,NS::Content,_27)(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)))) added to the plan library" + } + }, + { + "timestamp": 1694697127196, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList", + "trigger": "kqml_received(Sender,tell,Content,_28)", + "context": ".list(Content)", + "body": "!add_all_kqml_received(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,tell,Content,_28).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694697127198, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList1", + "trigger": "add_all_kqml_received(_29,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_received(_29,[]) added to the plan library" + } + }, + { + "timestamp": 1694697127200, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList2", + "trigger": "add_all_kqml_received(Sender,[NS::H|T])", + "context": "(.literal(H) \u0026 .ground(H))", + "body": ".add_nested_source(H,Sender,CA); ++NS::CA; !add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[NS::H|T])(.literal(H) \u0026 .ground(H)) added to the plan library" + } + }, + { + "timestamp": 1694697127203, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList3", + "trigger": "add_all_kqml_received(Sender,[_30|T])", + "context": "", + "body": "!add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[_30|T]) added to the plan library" + } + }, + { + "timestamp": 1694697127205, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTell", + "trigger": "kqml_received(Sender,untell,NS::Content,_31)", + "context": ".add_nested_source(Content,Sender,CA)", + "body": "--NS::CA" + } + }, + "log": "Plan kqml_received(Sender,untell,NS::Content,_31).add_nested_source(Content,Sender,CA) added to the plan library" + } + }, + { + "timestamp": 1694697127208, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieve", + "trigger": "kqml_received(Sender,achieve,NS::Content,_32)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": "!!NS::CA" + } + }, + "log": "Plan kqml_received(Sender,achieve,NS::Content,_32)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694697127210, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList", + "trigger": "kqml_received(Sender,achieve,Content,_33)", + "context": ".list(Content)", + "body": "!add_all_kqml_achieve(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,achieve,Content,_33).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694697127211, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList1", + "trigger": "add_all_kqml_achieve(_34,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_achieve(_34,[]) added to the plan library" + } + }, + { + "timestamp": 1694697127213, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList2", + "trigger": "add_all_kqml_achieve(Sender,[NS::H|T])", + "context": "", + "body": ".add_nested_source(H,Sender,CA); !!NS::CA; !add_all_kqml_achieve(Sender,T)" + } + }, + "log": "Plan add_all_kqml_achieve(Sender,[NS::H|T]) added to the plan library" + } + }, + { + "timestamp": 1694697127216, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnAchieve", + "trigger": "kqml_received(_35,unachieve,NS::Content,_36)", + "context": "", + "body": ".drop_desire(NS::Content)" + } + }, + "log": "Plan kqml_received(_35,unachieve,NS::Content,_36) added to the plan library" + } + }, + { + "timestamp": 1694697127220, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1d", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "kqml::bel_no_source_self(NS,Content,Ans)", + "body": ".send(Sender,tell,NS::Ans,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)kqml::bel_no_source_self(NS,Content,Ans) added to the plan library" + } + }, + { + "timestamp": 1694697127223, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127225, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne2", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)]", + "context": "", + "body": ".send(Sender,untell,NS::Content,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)] added to the plan library" + } + }, + { + "timestamp": 1694697127227, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskAll2", + "trigger": "kqml_received(Sender,askAll,NS::Content,MsgId)", + "context": "", + "body": ".findall(NS::Ans,kqml::bel_no_source_self(NS,Content,Ans),List); .send(Sender,tell,List,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askAll,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127231, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellHow", + "trigger": "kqml_received(Sender,tellHow,Content,_38)", + "context": "", + "body": ".remove_source_annot(Content,ContentAn); .add_plan(ContentAn,Sender)" + } + }, + "log": "Plan kqml_received(Sender,tellHow,Content,_38) added to the plan library" + } + }, + { + "timestamp": 1694697127233, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTellHow", + "trigger": "kqml_received(Sender,untellHow,Content,_39)", + "context": "", + "body": ".remove_plan(Content,Sender)" + } + }, + "log": "Plan kqml_received(Sender,untellHow,Content,_39) added to the plan library" + } + }, + { + "timestamp": 1694697127236, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskHow", + "trigger": "kqml_received(Sender,askHow,Content,MsgId)", + "context": "", + "body": ".relevant_plans(Content,ListOfPlans); .remove_source_annot(ListOfPlans,ListOfPlansAn); .send(Sender,tellHow,ListOfPlansAn,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askHow,Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127239, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedSignal", + "trigger": "kqml_received(Sender,signal,NS::Content,_40)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": ".signal({ +NS::CA },type_signal)" + } + }, + "log": "Plan kqml_received(Sender,signal,NS::Content,_40)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694697127242, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlError", + "trigger": "kqml_received(_41_Sender,_42_Per,_43_Content,_44_MsgId)[error(EID),error_msg(EMsg)]", + "context": "", + "body": ".print(\"Communication error -- \",EID,\": \",EMsg)" + } + }, + "log": "Plan kqml_received(_41_Sender,_42_Per,_43_Content,_44_MsgId)[error(EID),error_msg(EMsg)] added to the plan library" + } + }, + { + "timestamp": 1694697127245, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[]) from source: [self]" + } + }, + { + "timestamp": 1694697127248, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[])" + } + }, + { + "timestamp": 1694697127354, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 1 + }, + "log": "New reasoning cycle started: 1" + } + }, + { + "timestamp": 1694697127361, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "get(beer)[source(self)]", + "planOptions": [ + { + "label": "p__11", + "trigger": "get(beer)", + "context": "", + "body": ".send(robot,achieve,has(owner,beer))" + } + ], + "selectedPlan": { + "label": "p__11", + "trigger": "get(beer)", + "context": "", + "body": ".send(robot,achieve,has(owner,beer))" + } + }, + "log": "Plan options for get(beer)[source(self)] are: \n\tget(beer) \u003c- .send(robot,achieve,has(owner,beer)).\nThe plan selected for get(beer)[source(self)] is \tget(beer) \u003c- .send(robot,achieve,has(owner,beer))." + } + }, + { + "timestamp": 1694697127369, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "get(beer)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan get(beer) selected, state: executing" + } + }, + { + "timestamp": 1694697127407, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "get", + "type": "achieve", + "plan": { + "label": "p__11", + "trigger": "get(beer)", + "context": "", + "body": ".send(robot,achieve,has(owner,beer))" + }, + "unifier": "{}", + "currentStep": { + "value": ".send(robot,achieve,has(owner,beer))" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 get created, state: undefined\n\tcurrent step: .send(robot,achieve,has(owner,beer))" + } + }, + { + "timestamp": 1694697127416, + "message": { + "type": "SendMessage", + "event": { + "messageInfo": { + "id": "mid1", + "type": "achieve", + "sender": "owner", + "receiver": "robot", + "message": "has(owner,beer)" + } + }, + "log": "Send achieve message to robot: has(owner,beer)" + } + }, + { + "timestamp": 1694697127430, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "get", + "type": "achieve", + "plan": { + "label": "p__11", + "trigger": "get(beer)", + "context": "", + "body": ".send(robot,achieve,has(owner,beer))" + }, + "unifier": "{}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 get created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697127439, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "get(beer)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal get(beer) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697127457, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 1 removed , state: undefined" + } + }, + { + "timestamp": 1694697127464, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".send(robot,achieve,has(owner,beer))", + "type": "internalAction", + "srcInfo": "file:src/agt/owner.asl:7" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .send(robot,achieve,has(owner,beer)) finished" + } + }, + { + "timestamp": 1694697127467, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 2 + }, + "log": "New reasoning cycle started: 2" + } + }, + { + "timestamp": 1694697127470, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "check_bored[source(self)]", + "planOptions": [ + { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + ], + "selectedPlan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + "log": "Plan options for check_bored[source(self)] are: \n\tcheck_bored \u003c- .random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored.\nThe plan selected for check_bored[source(self)] is \tcheck_bored \u003c- .random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored." + } + }, + { + "timestamp": 1694697127473, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "check_bored", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 1, + "state": "undefined", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan check_bored selected, state: executing" + } + }, + { + "timestamp": 1694697127476, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{}", + "currentStep": { + "value": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 check_bored created, state: undefined\n\tcurrent step: .random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697127482, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.39229848772404496}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 check_bored created, state: undefined\n\tcurrent step: .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697127490, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".random(X)", + "type": "internalAction", + "srcInfo": "file:src/agt/owner.asl:22" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.39229848772404496}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .random(X) finished" + } + }, + { + "timestamp": 1694697127495, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 3 + }, + "log": "New reasoning cycle started: 3" + } + }, + { + "timestamp": 1694697127505, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.39229848772404496}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "wait(2)[time(3961)]", + "functor": { + "value": "wait" + }, + "terms": { + "value": [ + "2" + ] + } + } + } + }, + "log": "Intention 2 check_bored waiting with reason: wait(2)[time(3961)], state: running\n\tcurrent step: .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697127512, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".wait(((X*5000)+2000))", + "type": "internalAction", + "srcInfo": "file:src/agt/owner.asl:22" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.39229848772404496}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .wait(((X*5000)+2000)) finished" + } + }, + { + "timestamp": 1694697127565, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 4 + }, + "log": "New reasoning cycle started: 4" + } + }, + { + "timestamp": 1694697127720, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 5 + }, + "log": "New reasoning cycle started: 5" + } + }, + { + "timestamp": 1694697127972, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 6 + }, + "log": "New reasoning cycle started: 6" + } + }, + { + "timestamp": 1694697128326, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 7 + }, + "log": "New reasoning cycle started: 7" + } + }, + { + "timestamp": 1694697128778, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 8 + }, + "log": "New reasoning cycle started: 8" + } + }, + { + "timestamp": 1694697129331, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 9 + }, + "log": "New reasoning cycle started: 9" + } + }, + { + "timestamp": 1694697129983, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 10 + }, + "log": "New reasoning cycle started: 10" + } + }, + { + "timestamp": 1694697130735, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 11 + }, + "log": "New reasoning cycle started: 11" + } + }, + { + "timestamp": 1694697131476, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 12 + }, + "log": "New reasoning cycle started: 12" + } + }, + { + "timestamp": 1694697131477, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.39229848772404496}", + "currentStep": { + "value": ".send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 check_bored created, state: running\n\tcurrent step: .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697131479, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "check_bored", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan check_bored selected, state: executing" + } + }, + { + "timestamp": 1694697131480, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.39229848772404496}", + "currentStep": { + "value": ".send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "waiting ask", + "functor": { + "value": "waiting_ask" + }, + "terms": { + "value": null + } + } + } + }, + "log": "Intention 2 check_bored waiting with reason: waiting ask, state: running\n\tcurrent step: .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697131481, + "message": { + "type": "SendMessage", + "event": { + "messageInfo": { + "id": "samid3", + "type": "askOne", + "sender": "owner", + "receiver": "robot", + "message": "time(_26)" + } + }, + "log": "Send askOne message to robot: time(_26)" + } + }, + { + "timestamp": 1694697131489, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".send(robot,askOne,time(_26),R)", + "type": "internalAction", + "srcInfo": "file:src/agt/owner.asl:23" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.39229848772404496}", + "currentStep": { + "value": ".send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .send(robot,askOne,time(_26),R) finished" + } + }, + { + "timestamp": 1694697131642, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 13 + }, + "log": "New reasoning cycle started: 13" + } + }, + { + "timestamp": 1694697131655, + "message": { + "type": "MailBoxMessages", + "event": { + "messages": [ + { + "id": "mid4", + "type": "tell", + "sender": "robot", + "receiver": "owner", + "message": "time(\"15:12:11\")" + } + ] + }, + "log": "Messages in mailbox: \n\ttell message from robot: time(\"15:12:11\")" + } + }, + { + "timestamp": 1694697131657, + "message": { + "type": "SelectedMessage", + "event": { + "selected": { + "id": "mid4", + "type": "tell", + "sender": "robot", + "receiver": "owner", + "message": "time(\"15:12:11\")" + } + }, + "log": "Selected Message: time(\"15:12:11\")" + } + }, + { + "timestamp": 1694697131670, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": ".print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 check_bored created, state: running\n\tcurrent step: .print(R); !check_bored" + } + }, + { + "timestamp": 1694697131672, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "check_bored", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": ".print(R); !check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "ask answer(\"samid3\")", + "functor": { + "value": "ask_answer" + }, + "terms": { + "value": [ + "\"samid3\"" + ] + } + } + } + }, + "log": "Plan check_bored selected, state: executing" + } + }, + { + "timestamp": 1694697131674, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": "!check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 check_bored created, state: running\n\tcurrent step: !check_bored" + } + }, + { + "timestamp": 1694697131675, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(R)", + "type": "internalAction", + "srcInfo": "file:src/agt/owner.asl:24" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": "!check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .print(R) finished" + } + }, + { + "timestamp": 1694697131676, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 14 + }, + "log": "New reasoning cycle started: 14" + } + }, + { + "timestamp": 1694697131678, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "check_bored", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": "!check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal check_bored (sub-goal of check_bored) created" + } + }, + { + "timestamp": 1694697131680, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "check_bored", + "type": "achieve", + "srcInfo": "file:src/agt/owner.asl:25" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": "!check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed check_bored of type achieve executed - from file:src/agt/owner.asl:25" + } + }, + { + "timestamp": 1694697131681, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 15 + }, + "log": "New reasoning cycle started: 15" + } + }, + { + "timestamp": 1694697131682, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "check_bored[source(self)]", + "planOptions": [ + { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + ], + "selectedPlan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + "log": "Plan options for check_bored[source(self)] are: \n\tcheck_bored \u003c- .random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored.\nThe plan selected for check_bored[source(self)] is \tcheck_bored \u003c- .random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored." + } + }, + { + "timestamp": 1694697131684, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "check_bored", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": "!check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan check_bored selected, state: executing" + } + }, + { + "timestamp": 1694697131686, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "check_bored", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{R\u003dtime(\"15:12:11\")[source(robot)], X\u003d0.39229848772404496}", + "currentStep": { + "value": "!check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal check_bored removed because the goal is achieved" + } + }, + { + "timestamp": 1694697131689, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{}", + "currentStep": { + "value": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 check_bored created, state: running\n\tcurrent step: .random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697131691, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.7756524402083597}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 2 check_bored created, state: running\n\tcurrent step: .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697131692, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".random(X)", + "type": "internalAction", + "srcInfo": "file:src/agt/owner.asl:22" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.7756524402083597}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .random(X) finished" + } + }, + { + "timestamp": 1694697131693, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 16 + }, + "log": "New reasoning cycle started: 16" + } + }, + { + "timestamp": 1694697131695, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.7756524402083597}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "wait(2)[time(5878)]", + "functor": { + "value": "wait" + }, + "terms": { + "value": [ + "2" + ] + } + } + } + }, + "log": "Intention 2 check_bored waiting with reason: wait(2)[time(5878)], state: running\n\tcurrent step: .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + } + }, + { + "timestamp": 1694697131698, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".wait(((X*5000)+2000))", + "type": "internalAction", + "srcInfo": "file:src/agt/owner.asl:22" + }, + "intentionInfo": { + "value": { + "id": 2, + "state": "running", + "intendedMeansInfo": [ + { + "trigger": "check_bored", + "type": "achieve", + "plan": { + "label": "p__16", + "trigger": "check_bored", + "context": "", + "body": ".random(X); .wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "unifier": "{X\u003d0.7756524402083597}", + "currentStep": { + "value": ".wait(((X*5000)+2000)); .send(robot,askOne,time(_26),R); .print(R); !check_bored" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .wait(((X*5000)+2000)) finished" + } + }, + { + "timestamp": 1694697131849, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 17 + }, + "log": "New reasoning cycle started: 17" + } + }, + { + "timestamp": 1694697132102, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 18 + }, + "log": "New reasoning cycle started: 18" + } + }, + { + "timestamp": 1694697132454, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 19 + }, + "log": "New reasoning cycle started: 19" + } + }, + { + "timestamp": 1694697132906, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 20 + }, + "log": "New reasoning cycle started: 20" + } + }, + { + "timestamp": 1694697133457, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 21 + }, + "log": "New reasoning cycle started: 21" + } + }, + { + "timestamp": 1694697134113, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 22 + }, + "log": "New reasoning cycle started: 22" + } + } +] diff --git a/examples/domestic-robot/robot.json b/examples/domestic-robot/robot.json new file mode 100644 index 0000000..fe352ee --- /dev/null +++ b/examples/domestic-robot/robot.json @@ -0,0 +1,9497 @@ +[ + { + "timestamp": 1694697127003, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + "log": "Plan has(owner,beer)(available(beer,fridge) \u0026 not (too_much(beer))) added to the plan library" + } + }, + { + "timestamp": 1694697127013, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__2", + "trigger": "has(owner,beer)", + "context": "not (available(beer,fridge))", + "body": ".send(supermarket,achieve,order(beer,5)); !at(robot,fridge)" + } + }, + "log": "Plan has(owner,beer)not (available(beer,fridge)) added to the plan library" + } + }, + { + "timestamp": 1694697127017, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__3", + "trigger": "has(owner,beer)", + "context": "(too_much(beer) \u0026 limit(beer,L))", + "body": ".concat(\"The Department of Health does not allow me to give you more than \",L,\" beers a day! I am very sorry about that!\",M); .send(owner,tell,msg(M))" + } + }, + "log": "Plan has(owner,beer)(too_much(beer) \u0026 limit(beer,L)) added to the plan library" + } + }, + { + "timestamp": 1694697127021, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__4", + "trigger": "has(_4,_5)", + "context": "", + "body": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + } + }, + "log": "Plan has(_4,_5) added to the plan library" + } + }, + { + "timestamp": 1694697127024, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + } + }, + "log": "Plan at(robot,P)at(robot,P) added to the plan library" + } + }, + { + "timestamp": 1694697127026, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan at(robot,P)not (at(robot,P)) added to the plan library" + } + }, + { + "timestamp": 1694697127032, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__7", + "trigger": "delivered(beer,_6_Qtd,_7_OrderId)[source(supermarket)]", + "context": "", + "body": "+available(beer,fridge); !has(owner,beer)" + } + }, + "log": "Plan delivered(beer,_6_Qtd,_7_OrderId)[source(supermarket)] added to the plan library" + } + }, + { + "timestamp": 1694697127035, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__8", + "trigger": "stock(beer,0)", + "context": "available(beer,fridge)", + "body": "-available(beer,fridge)" + } + }, + "log": "Plan stock(beer,0)available(beer,fridge) added to the plan library" + } + }, + { + "timestamp": 1694697127037, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__9", + "trigger": "stock(beer,N)", + "context": "((N \u003e 0) \u0026 not (available(beer,fridge)))", + "body": "-+available(beer,fridge)" + } + }, + "log": "Plan stock(beer,N)((N \u003e 0) \u0026 not (available(beer,fridge))) added to the plan library" + } + }, + { + "timestamp": 1694697127042, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__10", + "trigger": "time(T)", + "context": "", + "body": "time.check(T)" + } + }, + "log": "Plan time(T) added to the plan library" + } + }, + { + "timestamp": 1694697127054, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "limit(beer,10)", + "functor": "limit", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "beer", + "10" + ] + } + } + }, + "log": "Added belief limit(beer,10) from source: [self]" + } + }, + { + "timestamp": 1694697127056, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "limit(beer,10)", + "functor": "limit", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "beer", + "10" + ] + } + } + }, + "log": "Added belief limit(beer,10)" + } + }, + { + "timestamp": 1694697127060, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "available(beer,fridge)", + "functor": "available", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "beer", + "fridge" + ] + } + } + }, + "log": "Added belief available(beer,fridge) from source: [self]" + } + }, + { + "timestamp": 1694697127062, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "available(beer,fridge)", + "functor": "available", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "beer", + "fridge" + ] + } + } + }, + "log": "Added belief available(beer,fridge)" + } + }, + { + "timestamp": 1694697127071, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellStructure", + "trigger": "kqml_received(Sender,tell,NS::Content,_8)", + "context": "(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))))", + "body": "++NS::CA" + } + }, + "log": "Plan kqml_received(Sender,tell,NS::Content,_8)(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)))) added to the plan library" + } + }, + { + "timestamp": 1694697127073, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList", + "trigger": "kqml_received(Sender,tell,Content,_9)", + "context": ".list(Content)", + "body": "!add_all_kqml_received(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,tell,Content,_9).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694697127075, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList1", + "trigger": "add_all_kqml_received(_10,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_received(_10,[]) added to the plan library" + } + }, + { + "timestamp": 1694697127077, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList2", + "trigger": "add_all_kqml_received(Sender,[NS::H|T])", + "context": "(.literal(H) \u0026 .ground(H))", + "body": ".add_nested_source(H,Sender,CA); ++NS::CA; !add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[NS::H|T])(.literal(H) \u0026 .ground(H)) added to the plan library" + } + }, + { + "timestamp": 1694697127080, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList3", + "trigger": "add_all_kqml_received(Sender,[_11|T])", + "context": "", + "body": "!add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[_11|T]) added to the plan library" + } + }, + { + "timestamp": 1694697127083, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTell", + "trigger": "kqml_received(Sender,untell,NS::Content,_12)", + "context": ".add_nested_source(Content,Sender,CA)", + "body": "--NS::CA" + } + }, + "log": "Plan kqml_received(Sender,untell,NS::Content,_12).add_nested_source(Content,Sender,CA) added to the plan library" + } + }, + { + "timestamp": 1694697127085, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieve", + "trigger": "kqml_received(Sender,achieve,NS::Content,_13)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": "!!NS::CA" + } + }, + "log": "Plan kqml_received(Sender,achieve,NS::Content,_13)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694697127087, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList", + "trigger": "kqml_received(Sender,achieve,Content,_14)", + "context": ".list(Content)", + "body": "!add_all_kqml_achieve(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,achieve,Content,_14).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694697127089, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList1", + "trigger": "add_all_kqml_achieve(_15,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_achieve(_15,[]) added to the plan library" + } + }, + { + "timestamp": 1694697127091, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList2", + "trigger": "add_all_kqml_achieve(Sender,[NS::H|T])", + "context": "", + "body": ".add_nested_source(H,Sender,CA); !!NS::CA; !add_all_kqml_achieve(Sender,T)" + } + }, + "log": "Plan add_all_kqml_achieve(Sender,[NS::H|T]) added to the plan library" + } + }, + { + "timestamp": 1694697127095, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnAchieve", + "trigger": "kqml_received(_16,unachieve,NS::Content,_17)", + "context": "", + "body": ".drop_desire(NS::Content)" + } + }, + "log": "Plan kqml_received(_16,unachieve,NS::Content,_17) added to the plan library" + } + }, + { + "timestamp": 1694697127097, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1d", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "kqml::bel_no_source_self(NS,Content,Ans)", + "body": ".send(Sender,tell,NS::Ans,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)kqml::bel_no_source_self(NS,Content,Ans) added to the plan library" + } + }, + { + "timestamp": 1694697127100, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127104, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne2", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)]", + "context": "", + "body": ".send(Sender,untell,NS::Content,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)] added to the plan library" + } + }, + { + "timestamp": 1694697127110, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskAll2", + "trigger": "kqml_received(Sender,askAll,NS::Content,MsgId)", + "context": "", + "body": ".findall(NS::Ans,kqml::bel_no_source_self(NS,Content,Ans),List); .send(Sender,tell,List,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askAll,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127115, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellHow", + "trigger": "kqml_received(Sender,tellHow,Content,_19)", + "context": "", + "body": ".remove_source_annot(Content,ContentAn); .add_plan(ContentAn,Sender)" + } + }, + "log": "Plan kqml_received(Sender,tellHow,Content,_19) added to the plan library" + } + }, + { + "timestamp": 1694697127120, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTellHow", + "trigger": "kqml_received(Sender,untellHow,Content,_20)", + "context": "", + "body": ".remove_plan(Content,Sender)" + } + }, + "log": "Plan kqml_received(Sender,untellHow,Content,_20) added to the plan library" + } + }, + { + "timestamp": 1694697127125, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskHow", + "trigger": "kqml_received(Sender,askHow,Content,MsgId)", + "context": "", + "body": ".relevant_plans(Content,ListOfPlans); .remove_source_annot(ListOfPlans,ListOfPlansAn); .send(Sender,tellHow,ListOfPlansAn,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askHow,Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127130, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedSignal", + "trigger": "kqml_received(Sender,signal,NS::Content,_21)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": ".signal({ +NS::CA },type_signal)" + } + }, + "log": "Plan kqml_received(Sender,signal,NS::Content,_21)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694697127133, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlError", + "trigger": "kqml_received(_22_Sender,_23_Per,_24_Content,_25_MsgId)[error(EID),error_msg(EMsg)]", + "context": "", + "body": ".print(\"Communication error -- \",EID,\": \",EMsg)" + } + }, + "log": "Plan kqml_received(_22_Sender,_23_Per,_24_Content,_25_MsgId)[error(EID),error_msg(EMsg)] added to the plan library" + } + }, + { + "timestamp": 1694697127137, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[]) from source: [self]" + } + }, + { + "timestamp": 1694697127139, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[])" + } + }, + { + "timestamp": 1694697127357, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 1 + }, + "log": "New reasoning cycle started: 1" + } + }, + { + "timestamp": 1694697127411, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 2 + }, + "log": "New reasoning cycle started: 2" + } + }, + { + "timestamp": 1694697127421, + "message": { + "type": "MailBoxMessages", + "event": { + "messages": [ + { + "id": "mid1", + "type": "achieve", + "sender": "owner", + "receiver": "robot", + "message": "has(owner,beer)" + } + ] + }, + "log": "Messages in mailbox: \n\tachieve message from owner: has(owner,beer)" + } + }, + { + "timestamp": 1694697127428, + "message": { + "type": "SelectedMessage", + "event": { + "selected": { + "id": "mid1", + "type": "achieve", + "sender": "owner", + "receiver": "robot", + "message": "has(owner,beer)" + } + }, + "log": "Selected Message: has(owner,beer)" + } + }, + { + "timestamp": 1694697127435, + "message": { + "type": "NewSpeechActMessage", + "event": { + "message": { + "id": "mid1", + "type": "achieve", + "sender": "owner", + "receiver": "robot", + "message": "has(owner,beer)" + } + }, + "log": "New speech act message [achieve] from owner: has(owner,beer)" + } + }, + { + "timestamp": 1694697127443, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal has(owner,beer) created" + } + }, + { + "timestamp": 1694697127486, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "has(owner,beer)[source(owner)]", + "planOptions": [ + { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + ], + "selectedPlan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + "log": "Plan options for has(owner,beer)[source(owner)] are: \n\thas(owner,beer) : (available(beer,fridge) \u0026 not (too_much(beer))) \u003c- !at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer).\nThe plan selected for has(owner,beer)[source(owner)] is \thas(owner,beer) : (available(beer,fridge) \u0026 not (too_much(beer))) \u003c- !at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)." + } + }, + { + "timestamp": 1694697127493, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697127499, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 has created, state: undefined\n\tcurrent step: !at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + { + "timestamp": 1694697127509, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) (sub-goal of has) created" + } + }, + { + "timestamp": 1694697127516, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,fridge)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:20" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,fridge) of type achieve executed - from file:src/agt/robot.asl:20" + } + }, + { + "timestamp": 1694697127520, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 3 + }, + "log": "New reasoning cycle started: 3" + } + }, + { + "timestamp": 1694697127523, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,fridge)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,fridge)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,fridge)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697127527, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,fridge) selected, state: executing" + } + }, + { + "timestamp": 1694697127533, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: undefined\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697127540, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(fridge))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(fridge), state: undefined\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697127548, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(fridge)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(fridge) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697127553, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697127703, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 4 + }, + "log": "New reasoning cycle started: 4" + } + }, + { + "timestamp": 1694697127706, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: undefined\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697127710, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Plan at(robot,fridge) selected, state: executing" + } + }, + { + "timestamp": 1694697127713, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697127717, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697127723, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697127726, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 5 + }, + "log": "New reasoning cycle started: 5" + } + }, + { + "timestamp": 1694697127729, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,fridge)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,fridge)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,fridge)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697127734, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,fridge) selected, state: executing" + } + }, + { + "timestamp": 1694697127739, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697127742, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: undefined\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697127746, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(fridge))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(fridge), state: undefined\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697127750, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(fridge)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(fridge) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697127754, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697127908, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 6 + }, + "log": "New reasoning cycle started: 6" + } + }, + { + "timestamp": 1694697127923, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 7 + }, + "log": "New reasoning cycle started: 7" + } + }, + { + "timestamp": 1694697127926, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: undefined\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697127928, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Plan at(robot,fridge) selected, state: executing" + } + }, + { + "timestamp": 1694697127931, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697127934, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697127938, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697127941, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 8 + }, + "log": "New reasoning cycle started: 8" + } + }, + { + "timestamp": 1694697127945, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,fridge)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,fridge)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,fridge)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697127950, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,fridge) selected, state: executing" + } + }, + { + "timestamp": 1694697127954, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697127959, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: undefined\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697127963, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(fridge))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(fridge), state: undefined\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697127968, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(fridge)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(fridge) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697127975, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697128130, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 9 + }, + "log": "New reasoning cycle started: 9" + } + }, + { + "timestamp": 1694697128134, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "at(robot,fridge)", + "functor": "at", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "robot", + "fridge" + ] + } + } + }, + "log": "Added belief at(robot,fridge) from source: [percept]" + } + }, + { + "timestamp": 1694697128137, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "at(robot,fridge)", + "functor": "at", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "robot", + "fridge" + ] + } + } + }, + "log": "Added belief at(robot,fridge)" + } + }, + { + "timestamp": 1694697128144, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "at(robot,fridge)", + "artifactId": "", + "artifactName": "", + "perceptType": "" + } + }, + "log": "New percept from : at(robot,fridge)" + } + }, + { + "timestamp": 1694697128149, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697128154, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Plan at(robot,fridge) selected, state: executing" + } + }, + { + "timestamp": 1694697128159, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(fridge)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697128165, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697128170, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697128175, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 10 + }, + "log": "New reasoning cycle started: 10" + } + }, + { + "timestamp": 1694697128181, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,fridge)[source(self)]", + "planOptions": [ + { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + } + ], + "selectedPlan": { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + } + }, + "log": "Plan options for at(robot,fridge)[source(self)] are: \n\tat(robot,P) : at(robot,P).\nThe plan selected for at(robot,fridge)[source(self)] is \tat(robot,P) : at(robot,P)." + } + }, + { + "timestamp": 1694697128188, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,fridge) selected, state: executing" + } + }, + { + "timestamp": 1694697128194, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697128200, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697128206, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + }, + "unifier": "{P\u003dfridge}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697128211, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,fridge)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,fridge) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697128217, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 11 + }, + "log": "New reasoning cycle started: 11" + } + }, + { + "timestamp": 1694697128223, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(open(fridge))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "open(fridge)" + ] + } + } + } + }, + "log": "Intention 3 has waiting to execute action open(fridge), state: waiting\n\tcurrent step: open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + { + "timestamp": 1694697128230, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "open(fridge)", + "source": "file:src/agt/robot.asl:21", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action open(fridge) from file:src/agt/robot.asl:21" + } + }, + { + "timestamp": 1694697128237, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "open(fridge)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:21" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action open(fridge) finished" + } + }, + { + "timestamp": 1694697128292, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 12 + }, + "log": "New reasoning cycle started: 12" + } + }, + { + "timestamp": 1694697128297, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "stock(beer,2)", + "functor": "stock", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "2" + ] + } + } + }, + "log": "Added belief stock(beer,2) from source: [percept]" + } + }, + { + "timestamp": 1694697128302, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "stock(beer,2)", + "functor": "stock", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "2" + ] + } + } + }, + "log": "Added belief stock(beer,2)" + } + }, + { + "timestamp": 1694697128309, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "stock(beer,2)", + "artifactId": "", + "artifactName": "", + "perceptType": "" + } + }, + "log": "New percept from : stock(beer,2)" + } + }, + { + "timestamp": 1694697128333, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 13 + }, + "log": "New reasoning cycle started: 13" + } + }, + { + "timestamp": 1694697128339, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 has created, state: waiting\n\tcurrent step: get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + { + "timestamp": 1694697128346, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(open(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "open(fridge)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697128352, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(get(beer))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "get(beer)" + ] + } + } + } + }, + "log": "Intention 3 has waiting to execute action get(beer), state: waiting\n\tcurrent step: get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + { + "timestamp": 1694697128360, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "get(beer)", + "source": "file:src/agt/robot.asl:22", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action get(beer) from file:src/agt/robot.asl:22" + } + }, + { + "timestamp": 1694697128365, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "get(beer)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:22" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action get(beer) finished" + } + }, + { + "timestamp": 1694697128481, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 14 + }, + "log": "New reasoning cycle started: 14" + } + }, + { + "timestamp": 1694697128488, + "message": { + "type": "BeliefFromSrcRemoved", + "event": { + "beliefInfo": { + "literal": "stock(beer,2)", + "functor": "stock", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "2" + ] + } + } + }, + "log": "Removed belief stock(beer,2) from source: [percept]" + } + }, + { + "timestamp": 1694697128494, + "message": { + "type": "BeliefRemoved", + "event": { + "beliefInfo": { + "literal": "stock(beer,2)", + "functor": "stock", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "2" + ] + } + } + }, + "log": "Removed belief stock(beer,2)" + } + }, + { + "timestamp": 1694697128502, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "stock(beer,1)", + "functor": "stock", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "1" + ] + } + } + }, + "log": "Added belief stock(beer,1) from source: [percept]" + } + }, + { + "timestamp": 1694697128507, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "stock(beer,1)", + "functor": "stock", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "1" + ] + } + } + }, + "log": "Added belief stock(beer,1)" + } + }, + { + "timestamp": 1694697128512, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "stock(beer,1)", + "artifactId": "", + "artifactName": "", + "perceptType": "" + } + }, + "log": "New percept from : stock(beer,1)" + } + }, + { + "timestamp": 1694697128518, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 has created, state: waiting\n\tcurrent step: close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + { + "timestamp": 1694697128524, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(get(beer))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "get(beer)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697128530, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(close(fridge))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "close(fridge)" + ] + } + } + } + }, + "log": "Intention 3 has waiting to execute action close(fridge), state: waiting\n\tcurrent step: close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + { + "timestamp": 1694697128537, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "close(fridge)", + "source": "file:src/agt/robot.asl:23", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action close(fridge) from file:src/agt/robot.asl:23" + } + }, + { + "timestamp": 1694697128543, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "close(fridge)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:23" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action close(fridge) finished" + } + }, + { + "timestamp": 1694697128637, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 15 + }, + "log": "New reasoning cycle started: 15" + } + }, + { + "timestamp": 1694697128644, + "message": { + "type": "BeliefFromSrcRemoved", + "event": { + "beliefInfo": { + "literal": "stock(beer,1)", + "functor": "stock", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "1" + ] + } + } + }, + "log": "Removed belief stock(beer,1) from source: [percept]" + } + }, + { + "timestamp": 1694697128650, + "message": { + "type": "BeliefRemoved", + "event": { + "beliefInfo": { + "literal": "stock(beer,1)", + "functor": "stock", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "beer", + "1" + ] + } + } + }, + "log": "Removed belief stock(beer,1)" + } + }, + { + "timestamp": 1694697128655, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 has created, state: waiting\n\tcurrent step: !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + } + }, + { + "timestamp": 1694697128662, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(close(fridge))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "close(fridge)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697128668, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) (sub-goal of has) created" + } + }, + { + "timestamp": 1694697128674, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,owner)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:24" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,owner) of type achieve executed - from file:src/agt/robot.asl:24" + } + }, + { + "timestamp": 1694697128680, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 16 + }, + "log": "New reasoning cycle started: 16" + } + }, + { + "timestamp": 1694697128686, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,owner)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,owner)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,owner)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697128693, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697128699, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697128707, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(owner))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(owner), state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697128719, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(owner)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(owner) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697128726, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697128882, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 17 + }, + "log": "New reasoning cycle started: 17" + } + }, + { + "timestamp": 1694697128889, + "message": { + "type": "BeliefFromSrcRemoved", + "event": { + "beliefInfo": { + "literal": "at(robot,fridge)", + "functor": "at", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "robot", + "fridge" + ] + } + } + }, + "log": "Removed belief at(robot,fridge) from source: [percept]" + } + }, + { + "timestamp": 1694697128895, + "message": { + "type": "BeliefRemoved", + "event": { + "beliefInfo": { + "literal": "at(robot,fridge)", + "functor": "at", + "operator": "-", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "robot", + "fridge" + ] + } + } + }, + "log": "Removed belief at(robot,fridge)" + } + }, + { + "timestamp": 1694697128902, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697128909, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697128916, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697128923, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697128931, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697128937, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 18 + }, + "log": "New reasoning cycle started: 18" + } + }, + { + "timestamp": 1694697128943, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,owner)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,owner)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,owner)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697128950, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697128957, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697128964, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697128971, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(owner))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(owner), state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697128978, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(owner)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(owner) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697128985, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697129041, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 19 + }, + "log": "New reasoning cycle started: 19" + } + }, + { + "timestamp": 1694697129148, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 20 + }, + "log": "New reasoning cycle started: 20" + } + }, + { + "timestamp": 1694697129154, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697129160, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129167, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697129173, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697129179, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697129185, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 21 + }, + "log": "New reasoning cycle started: 21" + } + }, + { + "timestamp": 1694697129192, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,owner)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,owner)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,owner)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697129199, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129206, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697129212, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129219, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(owner))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(owner), state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129226, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(owner)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(owner) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697129234, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697129391, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 22 + }, + "log": "New reasoning cycle started: 22" + } + }, + { + "timestamp": 1694697129399, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697129407, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129414, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697129421, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697129428, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697129435, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 23 + }, + "log": "New reasoning cycle started: 23" + } + }, + { + "timestamp": 1694697129443, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,owner)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,owner)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,owner)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697129450, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129457, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697129463, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129471, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(owner))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(owner), state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129478, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(owner)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(owner) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697129485, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697129642, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 24 + }, + "log": "New reasoning cycle started: 24" + } + }, + { + "timestamp": 1694697129649, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697129654, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129660, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697129667, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697129672, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697129678, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 25 + }, + "log": "New reasoning cycle started: 25" + } + }, + { + "timestamp": 1694697129683, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,owner)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,owner)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,owner)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697129690, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129696, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697129702, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129708, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(owner))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(owner), state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129714, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(owner)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(owner) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697129720, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697129779, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 26 + }, + "log": "New reasoning cycle started: 26" + } + }, + { + "timestamp": 1694697129864, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 27 + }, + "log": "New reasoning cycle started: 27" + } + }, + { + "timestamp": 1694697129873, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697129879, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129884, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697129890, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697129895, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697129900, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 28 + }, + "log": "New reasoning cycle started: 28" + } + }, + { + "timestamp": 1694697129906, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,owner)[source(self)]", + "planOptions": [ + { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + ], + "selectedPlan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + } + }, + "log": "Plan options for at(robot,owner)[source(self)] are: \n\tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P).\nThe plan selected for at(robot,owner)[source(self)] is \tat(robot,P) : not (at(robot,P)) \u003c- move_towards(P); !at(robot,P)." + } + }, + { + "timestamp": 1694697129912, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697129917, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697129922, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129928, + "message": { + "type": "IntentionWaiting", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": { + "reason": "action(move towards(owner))", + "functor": { + "value": "action" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Intention 3 at waiting to execute action move_towards(owner), state: waiting\n\tcurrent step: move_towards(P); !at(robot,P)" + } + }, + { + "timestamp": 1694697129934, + "message": { + "type": "ExternalActionTriggered", + "event": { + "action": { + "term": "move_towards(owner)", + "source": "file:src/agt/robot.asl:49", + "intention": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + }, + "log": "Execute action move_towards(owner) from file:src/agt/robot.asl:49" + } + }, + { + "timestamp": 1694697129939, + "message": { + "type": "ExternalActionFinished", + "event": { + "deedInfo": { + "term": "move_towards(P)", + "type": "action", + "srcInfo": "file:src/agt/robot.asl:49" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "move_towards(P); !at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Action move_towards(P) finished" + } + }, + { + "timestamp": 1694697130076, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 29 + }, + "log": "New reasoning cycle started: 29" + } + }, + { + "timestamp": 1694697130087, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "at(robot,owner)", + "functor": "at", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "robot", + "owner" + ] + } + } + }, + "log": "Added belief at(robot,owner) from source: [percept]" + } + }, + { + "timestamp": 1694697130093, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "at(robot,owner)", + "functor": "at", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "percept" + ] + }, + "terms": { + "value": [ + "robot", + "owner" + ] + } + } + }, + "log": "Added belief at(robot,owner)" + } + }, + { + "timestamp": 1694697130100, + "message": { + "type": "NewPercept", + "event": { + "perceptInfo": { + "functor": "at(robot,owner)", + "artifactId": "", + "artifactName": "", + "perceptType": "" + } + }, + "log": "New percept from : at(robot,owner)" + } + }, + { + "timestamp": 1694697130108, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: !at(robot,P)" + } + }, + { + "timestamp": 1694697130117, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697130129, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "action executed(move towards(owner))", + "functor": { + "value": "action_executed" + }, + "terms": { + "value": [ + "move_towards(owner)" + ] + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697130137, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) (sub-goal of at) created" + } + }, + { + "timestamp": 1694697130145, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "at(robot,P)", + "type": "achieve", + "srcInfo": "file:src/agt/robot.asl:50" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed at(robot,P) of type achieve executed - from file:src/agt/robot.asl:50" + } + }, + { + "timestamp": 1694697130150, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 30 + }, + "log": "New reasoning cycle started: 30" + } + }, + { + "timestamp": 1694697130155, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "at(robot,owner)[source(self)]", + "planOptions": [ + { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + } + ], + "selectedPlan": { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + } + }, + "log": "Plan options for at(robot,owner)[source(self)] are: \n\tat(robot,P) : at(robot,P).\nThe plan selected for at(robot,owner)[source(self)] is \tat(robot,P) : at(robot,P)." + } + }, + { + "timestamp": 1694697130160, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan at(robot,owner) selected, state: executing" + } + }, + { + "timestamp": 1694697130165, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__6", + "trigger": "at(robot,P)", + "context": "not (at(robot,P))", + "body": "move_towards(P); !at(robot,P)" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "!at(robot,P)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697130169, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697130174, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "at", + "type": "achieve", + "plan": { + "label": "p__5", + "trigger": "at(robot,P)", + "context": "at(robot,P)", + "body": "" + }, + "unifier": "{P\u003downer}", + "currentStep": { + "value": "" + }, + "isFinished": true + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 at created, state: waiting\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697130180, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "at(robot,owner)", + "source": { + "value": [ + "self" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "!at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal at(robot,owner) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697130185, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 31 + }, + "log": "New reasoning cycle started: 31" + } + }, + { + "timestamp": 1694697130191, + "message": { + "type": "GoalRemoved", + "event": { + "result": "failed", + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal has(owner,beer) removed because the goal is failed" + } + }, + { + "timestamp": 1694697130198, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": { + "reason": "has failure plan", + "functor": { + "value": "has_failure_plan" + }, + "terms": { + "value": null + } + } + } + }, + "log": "Plan has(owner,beer) selected, state: executing" + } + }, + { + "timestamp": 1694697130213, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "has(owner,beer)", + "type": "test", + "srcInfo": "file:src/agt/robot.asl:26" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed has(owner,beer) of type test executed - from file:src/agt/robot.asl:26" + } + }, + { + "timestamp": 1694697130225, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 32 + }, + "log": "New reasoning cycle started: 32" + } + }, + { + "timestamp": 1694697130231, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "has(owner,beer)[code(has(owner,beer)),code_line(26),code_src(\"file:src/agt/robot.asl\"),error(test_goal_failed),error_msg(\"Failed to test \u0027has(owner,beer)\u0027\"),source(owner)]", + "planOptions": [ + { + "label": "p__4", + "trigger": "has(_4,_5)", + "context": "", + "body": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + } + ], + "selectedPlan": { + "label": "p__4", + "trigger": "has(_4,_5)", + "context": "", + "body": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + } + }, + "log": "Plan options for has(owner,beer)[code(has(owner,beer)),code_line(26),code_src(\"file:src/agt/robot.asl\"),error(test_goal_failed),error_msg(\"Failed to test \u0027has(owner,beer)\u0027\"),source(owner)] are: \n\thas(_4,_5) \u003c- .current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I).\nThe plan selected for has(owner,beer)[code(has(owner,beer)),code_line(26),code_src(\"file:src/agt/robot.asl\"),error(test_goal_failed),error_msg(\"Failed to test \u0027has(owner,beer)\u0027\"),source(owner)] is \thas(_4,_5) \u003c- .current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)." + } + }, + { + "timestamp": 1694697130236, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "has(_4,_5)", + "context": "", + "body": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + }, + "unifier": "{_4\u003downer, _5\u003dbeer}", + "currentStep": { + "value": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 has created, state: waiting\n\tcurrent step: .current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + } + }, + { + "timestamp": 1694697130250, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "has(_4,_5)", + "context": "", + "body": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + }, + "unifier": "{_4\u003downer, _5\u003dbeer, I\u003dintention(3,[im(p__4[code_line(43),code_src(\"file:src/agt/robot.asl\"),source(self),url(\"file:src/agt/robot.asl\")],{ -!has(owner,beer)[code(has(owner,beer)),code_line(26),code_src(\"file:src/agt/robot.asl\"),error(test_goal_failed),error_msg(\"Failed to test \u0027has(owner,beer)\u0027\"),source(owner)] },{ .current_intention(_63); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",_63) },[map(_64_4,owner),map(_65_5,beer)]),im(p__1[code_line(19),code_src(\"file:src/agt/robot.asl\"),source(self),url(\"file:src/agt/robot.asl\")],{ +!has(owner,beer)[source(owner)] },{ ?has(owner,beer); .date(_66,_67,_68); .time(_69,_70,_71); +consumed(_66,_67,_68,_69,_70,_71,beer) },[])])}", + "currentStep": { + "value": ".print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 has created, state: waiting\n\tcurrent step: .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + } + }, + { + "timestamp": 1694697130258, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".current_intention(I)", + "type": "internalAction", + "srcInfo": "file:src/agt/robot.asl:44" + }, + "intentionInfo": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "has(_4,_5)", + "context": "", + "body": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + }, + "unifier": "{_4\u003downer, _5\u003dbeer, I\u003dintention(3,[im(p__4[code_line(43),code_src(\"file:src/agt/robot.asl\"),source(self),url(\"file:src/agt/robot.asl\")],{ -!has(owner,beer)[code(has(owner,beer)),code_line(26),code_src(\"file:src/agt/robot.asl\"),error(test_goal_failed),error_msg(\"Failed to test \u0027has(owner,beer)\u0027\"),source(owner)] },{ .current_intention(_63); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",_63) },[map(_64_4,owner),map(_65_5,beer)]),im(p__1[code_line(19),code_src(\"file:src/agt/robot.asl\"),source(self),url(\"file:src/agt/robot.asl\")],{ +!has(owner,beer)[source(owner)] },{ ?has(owner,beer); .date(_66,_67,_68); .time(_69,_70,_71); +consumed(_66,_67,_68,_69,_70,_71,beer) },[])])}", + "currentStep": { + "value": ".print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + }, + "isFinished": false + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .current_intention(I) finished" + } + }, + { + "timestamp": 1694697130266, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 33 + }, + "log": "New reasoning cycle started: 33" + } + }, + { + "timestamp": 1694697130276, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__4", + "trigger": "has(_4,_5)", + "context": "", + "body": ".current_intention(I); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)" + }, + "unifier": "{_4\u003downer, _5\u003dbeer, I\u003dintention(3,[im(p__4[code_line(43),code_src(\"file:src/agt/robot.asl\"),source(self),url(\"file:src/agt/robot.asl\")],{ -!has(owner,beer)[code(has(owner,beer)),code_line(26),code_src(\"file:src/agt/robot.asl\"),error(test_goal_failed),error_msg(\"Failed to test \u0027has(owner,beer)\u0027\"),source(owner)] },{ .current_intention(_63); .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",_63) },[map(_64_4,owner),map(_65_5,beer)]),im(p__1[code_line(19),code_src(\"file:src/agt/robot.asl\"),source(self),url(\"file:src/agt/robot.asl\")],{ +!has(owner,beer)[source(owner)] },{ ?has(owner,beer); .date(_66,_67,_68); .time(_69,_70,_71); +consumed(_66,_67,_68,_69,_70,_71,beer) },[])])}", + "currentStep": { + "value": null + }, + "isFinished": true + }, + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 has created, state: waiting\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697130284, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "has(owner,beer)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [ + { + "trigger": "has", + "type": "achieve", + "plan": { + "label": "p__1", + "trigger": "has(owner,beer)", + "context": "(available(beer,fridge) \u0026 not (too_much(beer)))", + "body": "!at(robot,fridge); open(fridge); get(beer); close(fridge); !at(robot,owner); ?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "unifier": "{}", + "currentStep": { + "value": "?has(owner,beer); .date(YY,MM,DD); .time(HH,NN,SS); +consumed(YY,MM,DD,HH,NN,SS,beer)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal has(owner,beer) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697130293, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 3, + "state": "waiting", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 3 removed , state: waiting" + } + }, + { + "timestamp": 1694697130300, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I)", + "type": "internalAction", + "srcInfo": "file:src/agt/robot.asl:45" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .print(\"Failed to achieve goal \u0027!has(_,_)\u0027. Current intention is: \",I) finished" + } + }, + { + "timestamp": 1694697130458, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 34 + }, + "log": "New reasoning cycle started: 34" + } + }, + { + "timestamp": 1694697130718, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 35 + }, + "log": "New reasoning cycle started: 35" + } + }, + { + "timestamp": 1694697131077, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 36 + }, + "log": "New reasoning cycle started: 36" + } + }, + { + "timestamp": 1694697131483, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 37 + }, + "log": "New reasoning cycle started: 37" + } + }, + { + "timestamp": 1694697131490, + "message": { + "type": "MailBoxMessages", + "event": { + "messages": [ + { + "id": "samid3", + "type": "askOne", + "sender": "owner", + "receiver": "robot", + "message": "time(_26)" + } + ] + }, + "log": "Messages in mailbox: \n\taskOne message from owner: time(_26)" + } + }, + { + "timestamp": 1694697131495, + "message": { + "type": "SelectedMessage", + "event": { + "selected": { + "id": "samid3", + "type": "askOne", + "sender": "owner", + "receiver": "robot", + "message": "time(_26)" + } + }, + "log": "Selected Message: time(_26)" + } + }, + { + "timestamp": 1694697131500, + "message": { + "type": "NewSpeechActMessage", + "event": { + "message": { + "id": "samid3", + "type": "askOne", + "sender": "owner", + "receiver": "robot", + "message": "time(_26)" + } + }, + "log": "New speech act message [askOne] from owner: time(_26)" + } + }, + { + "timestamp": 1694697131505, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "kqml_received(owner,askOne,time(_26),samid3)", + "source": { + "value": null + }, + "intention": { + "value": null + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal kqml_received(owner,askOne,time(_26),samid3) created" + } + }, + { + "timestamp": 1694697131510, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "kqml_received(owner,askOne,time(_26),samid3)", + "planOptions": [ + { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + ], + "selectedPlan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + "log": "Plan options for kqml_received(owner,askOne,time(_26),samid3) are: \n\tkqml_received(Sender,askOne,NS::Content,MsgId) \u003c- .add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId).\nThe plan selected for kqml_received(owner,askOne,time(_26),samid3) is \tkqml_received(Sender,askOne,NS::Content,MsgId) \u003c- .add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)." + } + }, + { + "timestamp": 1694697131516, + "message": { + "type": "PlanSelected", + "event": { + "goalInfo": { + "goalFunctor": "kqml_received(owner,askOne,time(_26),samid3)", + "source": { + "value": null + }, + "intention": { + "value": null + } + }, + "goalStates": "executing", + "reasonInfo": { + "value": null + } + }, + "log": "Plan kqml_received(owner,askOne,time(_26),samid3) selected, state: executing" + } + }, + { + "timestamp": 1694697131521, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3}", + "currentStep": { + "value": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 kqml_received created, state: undefined\n\tcurrent step: .add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + { + "timestamp": 1694697131531, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": "?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 kqml_received created, state: undefined\n\tcurrent step: ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + { + "timestamp": 1694697131536, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".add_nested_source(Content,Sender,CA)", + "type": "internalAction", + "srcInfo": "kqmlPlans.asl:91" + }, + "intentionInfo": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": "?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .add_nested_source(Content,Sender,CA) finished" + } + }, + { + "timestamp": 1694697131542, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 38 + }, + "log": "New reasoning cycle started: 38" + } + }, + { + "timestamp": 1694697131547, + "message": { + "type": "GoalCreated", + "event": { + "goalInfo": { + "goalFunctor": "time(_74)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": "?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "pending", + "reasonInfo": { + "value": null + } + }, + "log": "Goal time(_74) (sub-goal of kqml_received) created" + } + }, + { + "timestamp": 1694697131553, + "message": { + "type": "ExecutedDeed", + "event": { + "deedInfo": { + "term": "NS::CA", + "type": "test", + "srcInfo": "kqmlPlans.asl:92" + }, + "intentionInfo": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": "?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Deed NS::CA of type test executed - from kqmlPlans.asl:92" + } + }, + { + "timestamp": 1694697131559, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 39 + }, + "log": "New reasoning cycle started: 39" + } + }, + { + "timestamp": 1694697131565, + "message": { + "type": "SelectPlanEvent", + "event": { + "event": "time(_74)[source(owner)]", + "planOptions": [ + { + "label": "p__10", + "trigger": "time(T)", + "context": "", + "body": "time.check(T)" + } + ], + "selectedPlan": { + "label": "p__10", + "trigger": "time(T)", + "context": "", + "body": "time.check(T)" + } + }, + "log": "Plan options for time(_74)[source(owner)] are: \n\ttime(T) \u003c- time.check(T).\nThe plan selected for time(_74)[source(owner)] is \ttime(T) \u003c- time.check(T)." + } + }, + { + "timestamp": 1694697131571, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "time", + "type": "test", + "plan": { + "label": "p__10", + "trigger": "time(T)", + "context": "", + "body": "time.check(T)" + }, + "unifier": "{T\u003d_74}", + "currentStep": { + "value": "time.check(T)" + }, + "isFinished": false + }, + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": "?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 time created, state: undefined\n\tcurrent step: time.check(T)" + } + }, + { + "timestamp": 1694697131591, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "time", + "type": "test", + "plan": { + "label": "p__10", + "trigger": "time(T)", + "context": "", + "body": "time.check(T)" + }, + "unifier": "{T\u003d_74, _74\u003d\"15:12:11\"}", + "currentStep": { + "value": null + }, + "isFinished": true + }, + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": "?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 time created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697131597, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "time(_74)", + "source": { + "value": [ + "owner" + ] + }, + "intention": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, NS\u003ddefault, Content\u003dtime(_26), MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": "?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal time(_74) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697131604, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": "time.check(T)", + "type": "internalAction", + "srcInfo": "file:src/agt/robot.asl:68" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action time.check(T) finished" + } + }, + { + "timestamp": 1694697131610, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 40 + }, + "log": "New reasoning cycle started: 40" + } + }, + { + "timestamp": 1694697131616, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, _26\u003d\"15:12:11\", NS\u003ddefault, CA2\u003dtime(\"15:12:11\"), Content\u003dtime(_26), _74\u003d\"15:12:11\", MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": ".send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 kqml_received created, state: undefined\n\tcurrent step: .send(Sender,tell,NS::CA2,MsgId)" + } + }, + { + "timestamp": 1694697131622, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".remove_source_annot(CA,CA2)", + "type": "internalAction", + "srcInfo": "kqmlPlans.asl:94" + }, + "intentionInfo": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, _26\u003d\"15:12:11\", NS\u003ddefault, CA2\u003dtime(\"15:12:11\"), Content\u003dtime(_26), _74\u003d\"15:12:11\", MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": ".send(Sender,tell,NS::CA2,MsgId)" + }, + "isFinished": false + } + ] + } + } + }, + "log": "Internal action .remove_source_annot(CA,CA2) finished" + } + }, + { + "timestamp": 1694697131630, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 41 + }, + "log": "New reasoning cycle started: 41" + } + }, + { + "timestamp": 1694697131636, + "message": { + "type": "SendMessage", + "event": { + "messageInfo": { + "id": "mid4", + "type": "tell", + "sender": "robot", + "receiver": "owner", + "message": "time(\"15:12:11\")" + } + }, + "log": "Send tell message to owner: time(\"15:12:11\")" + } + }, + { + "timestamp": 1694697131644, + "message": { + "type": "IntentionCreated", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [ + { + "trigger": "kqml_received", + "type": "achieve", + "plan": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + }, + "unifier": "{Sender\u003downer, _26\u003d\"15:12:11\", NS\u003ddefault, CA2\u003dtime(\"15:12:11\"), Content\u003dtime(_26), _74\u003d\"15:12:11\", MsgId\u003dsamid3, CA\u003dtime(_26)[source(owner)]}", + "currentStep": { + "value": null + }, + "isFinished": true + } + ] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 kqml_received created, state: undefined\n\tcurrent step: finished" + } + }, + { + "timestamp": 1694697131649, + "message": { + "type": "GoalRemoved", + "event": { + "result": "achieved", + "goalInfo": { + "goalFunctor": "kqml_received(owner,askOne,time(_26),samid3)", + "source": { + "value": null + }, + "intention": { + "value": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [] + } + } + }, + "goalStates": "finished", + "reasonInfo": { + "value": null + } + }, + "log": "Goal kqml_received(owner,askOne,time(_26),samid3) removed because the goal is achieved" + } + }, + { + "timestamp": 1694697131658, + "message": { + "type": "IntentionRemoved", + "event": { + "intentionInfo": { + "id": 4, + "state": "undefined", + "intendedMeansInfo": [] + }, + "reasonInfo": { + "value": null + } + }, + "log": "Intention 4 removed , state: undefined" + } + }, + { + "timestamp": 1694697131663, + "message": { + "type": "InternalActionFinished", + "event": { + "deedInfo": { + "term": ".send(Sender,tell,NS::CA2,MsgId)", + "type": "internalAction", + "srcInfo": "kqmlPlans.asl:95" + }, + "intentionInfo": { + "value": null + } + }, + "log": "Internal action .send(Sender,tell,NS::CA2,MsgId) finished" + } + }, + { + "timestamp": 1694697131820, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 42 + }, + "log": "New reasoning cycle started: 42" + } + }, + { + "timestamp": 1694697132081, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 43 + }, + "log": "New reasoning cycle started: 43" + } + }, + { + "timestamp": 1694697132437, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 44 + }, + "log": "New reasoning cycle started: 44" + } + }, + { + "timestamp": 1694697132893, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 45 + }, + "log": "New reasoning cycle started: 45" + } + }, + { + "timestamp": 1694697133452, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 46 + }, + "log": "New reasoning cycle started: 46" + } + }, + { + "timestamp": 1694697134108, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 47 + }, + "log": "New reasoning cycle started: 47" + } + } +] diff --git a/examples/domestic-robot/supermarket.json b/examples/domestic-robot/supermarket.json new file mode 100644 index 0000000..46064d7 --- /dev/null +++ b/examples/domestic-robot/supermarket.json @@ -0,0 +1,547 @@ +[ + { + "timestamp": 1694697127264, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "p__18", + "trigger": "order(Product,Qtd)[source(Ag)]", + "context": "", + "body": "?last_order_id(N); (OrderId \u003d (N+1)); -+last_order_id(OrderId); deliver(Product,Qtd); .send(Ag,tell,delivered(Product,Qtd,OrderId))" + } + }, + "log": "Plan order(Product,Qtd)[source(Ag)] added to the plan library" + } + }, + { + "timestamp": 1694697127268, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "last_order_id(1)", + "functor": "last_order_id", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Added belief last_order_id(1) from source: [self]" + } + }, + { + "timestamp": 1694697127270, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "last_order_id(1)", + "functor": "last_order_id", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "1" + ] + } + } + }, + "log": "Added belief last_order_id(1)" + } + }, + { + "timestamp": 1694697127273, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellStructure", + "trigger": "kqml_received(Sender,tell,NS::Content,_45)", + "context": "(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))))", + "body": "++NS::CA" + } + }, + "log": "Plan kqml_received(Sender,tell,NS::Content,_45)(.literal(Content) \u0026 (.ground(Content) \u0026 (not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)))) added to the plan library" + } + }, + { + "timestamp": 1694697127275, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList", + "trigger": "kqml_received(Sender,tell,Content,_46)", + "context": ".list(Content)", + "body": "!add_all_kqml_received(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,tell,Content,_46).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694697127277, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList1", + "trigger": "add_all_kqml_received(_47,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_received(_47,[]) added to the plan library" + } + }, + { + "timestamp": 1694697127279, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList2", + "trigger": "add_all_kqml_received(Sender,[NS::H|T])", + "context": "(.literal(H) \u0026 .ground(H))", + "body": ".add_nested_source(H,Sender,CA); ++NS::CA; !add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[NS::H|T])(.literal(H) \u0026 .ground(H)) added to the plan library" + } + }, + { + "timestamp": 1694697127281, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellList3", + "trigger": "add_all_kqml_received(Sender,[_48|T])", + "context": "", + "body": "!add_all_kqml_received(Sender,T)" + } + }, + "log": "Plan add_all_kqml_received(Sender,[_48|T]) added to the plan library" + } + }, + { + "timestamp": 1694697127283, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTell", + "trigger": "kqml_received(Sender,untell,NS::Content,_49)", + "context": ".add_nested_source(Content,Sender,CA)", + "body": "--NS::CA" + } + }, + "log": "Plan kqml_received(Sender,untell,NS::Content,_49).add_nested_source(Content,Sender,CA) added to the plan library" + } + }, + { + "timestamp": 1694697127285, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieve", + "trigger": "kqml_received(Sender,achieve,NS::Content,_50)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": "!!NS::CA" + } + }, + "log": "Plan kqml_received(Sender,achieve,NS::Content,_50)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694697127287, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList", + "trigger": "kqml_received(Sender,achieve,Content,_51)", + "context": ".list(Content)", + "body": "!add_all_kqml_achieve(Sender,Content)" + } + }, + "log": "Plan kqml_received(Sender,achieve,Content,_51).list(Content) added to the plan library" + } + }, + { + "timestamp": 1694697127289, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList1", + "trigger": "add_all_kqml_achieve(_52,[])", + "context": "", + "body": "" + } + }, + "log": "Plan add_all_kqml_achieve(_52,[]) added to the plan library" + } + }, + { + "timestamp": 1694697127291, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAchieveList2", + "trigger": "add_all_kqml_achieve(Sender,[NS::H|T])", + "context": "", + "body": ".add_nested_source(H,Sender,CA); !!NS::CA; !add_all_kqml_achieve(Sender,T)" + } + }, + "log": "Plan add_all_kqml_achieve(Sender,[NS::H|T]) added to the plan library" + } + }, + { + "timestamp": 1694697127293, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnAchieve", + "trigger": "kqml_received(_53,unachieve,NS::Content,_54)", + "context": "", + "body": ".drop_desire(NS::Content)" + } + }, + "log": "Plan kqml_received(_53,unachieve,NS::Content,_54) added to the plan library" + } + }, + { + "timestamp": 1694697127295, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1d", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "kqml::bel_no_source_self(NS,Content,Ans)", + "body": ".send(Sender,tell,NS::Ans,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)kqml::bel_no_source_self(NS,Content,Ans) added to the plan library" + } + }, + { + "timestamp": 1694697127298, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne1c", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)", + "context": "", + "body": ".add_nested_source(Content,Sender,CA); ?NS::CA; .remove_source_annot(CA,CA2); .send(Sender,tell,NS::CA2,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127300, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskOne2", + "trigger": "kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)]", + "context": "", + "body": ".send(Sender,untell,NS::Content,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askOne,NS::Content,MsgId)[error(test_goal_failed)] added to the plan library" + } + }, + { + "timestamp": 1694697127303, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskAll2", + "trigger": "kqml_received(Sender,askAll,NS::Content,MsgId)", + "context": "", + "body": ".findall(NS::Ans,kqml::bel_no_source_self(NS,Content,Ans),List); .send(Sender,tell,List,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askAll,NS::Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127307, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedTellHow", + "trigger": "kqml_received(Sender,tellHow,Content,_56)", + "context": "", + "body": ".remove_source_annot(Content,ContentAn); .add_plan(ContentAn,Sender)" + } + }, + "log": "Plan kqml_received(Sender,tellHow,Content,_56) added to the plan library" + } + }, + { + "timestamp": 1694697127309, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedUnTellHow", + "trigger": "kqml_received(Sender,untellHow,Content,_57)", + "context": "", + "body": ".remove_plan(Content,Sender)" + } + }, + "log": "Plan kqml_received(Sender,untellHow,Content,_57) added to the plan library" + } + }, + { + "timestamp": 1694697127311, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedAskHow", + "trigger": "kqml_received(Sender,askHow,Content,MsgId)", + "context": "", + "body": ".relevant_plans(Content,ListOfPlans); .remove_source_annot(ListOfPlans,ListOfPlansAn); .send(Sender,tellHow,ListOfPlansAn,MsgId)" + } + }, + "log": "Plan kqml_received(Sender,askHow,Content,MsgId) added to the plan library" + } + }, + { + "timestamp": 1694697127313, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlReceivedSignal", + "trigger": "kqml_received(Sender,signal,NS::Content,_58)", + "context": "(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA))", + "body": ".signal({ +NS::CA },type_signal)" + } + }, + "log": "Plan kqml_received(Sender,signal,NS::Content,_58)(not (.list(Content)) \u0026 .add_nested_source(Content,Sender,CA)) added to the plan library" + } + }, + { + "timestamp": 1694697127316, + "message": { + "type": "PlanAdded", + "event": { + "planInfo": { + "label": "kqmlError", + "trigger": "kqml_received(_59_Sender,_60_Per,_61_Content,_62_MsgId)[error(EID),error_msg(EMsg)]", + "context": "", + "body": ".print(\"Communication error -- \",EID,\": \",EMsg)" + } + }, + "log": "Plan kqml_received(_59_Sender,_60_Per,_61_Content,_62_MsgId)[error(EID),error_msg(EMsg)] added to the plan library" + } + }, + { + "timestamp": 1694697127320, + "message": { + "type": "BeliefFromSrcAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[]) from source: [self]" + } + }, + { + "timestamp": 1694697127322, + "message": { + "type": "BeliefAdded", + "event": { + "beliefInfo": { + "literal": "kqml::clear_source_self([],[])", + "functor": "clear_source_self", + "operator": "+", + "perceptType": { + "value": null + }, + "source": { + "value": [ + "self" + ] + }, + "terms": { + "value": [ + "[]", + "[]" + ] + } + } + }, + "log": "Added belief kqml::clear_source_self([],[])" + } + }, + { + "timestamp": 1694697127351, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 1 + }, + "log": "New reasoning cycle started: 1" + } + }, + { + "timestamp": 1694697127424, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 2 + }, + "log": "New reasoning cycle started: 2" + } + }, + { + "timestamp": 1694697127578, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 3 + }, + "log": "New reasoning cycle started: 3" + } + }, + { + "timestamp": 1694697127831, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 4 + }, + "log": "New reasoning cycle started: 4" + } + }, + { + "timestamp": 1694697128186, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 5 + }, + "log": "New reasoning cycle started: 5" + } + }, + { + "timestamp": 1694697128642, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 6 + }, + "log": "New reasoning cycle started: 6" + } + }, + { + "timestamp": 1694697129198, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 7 + }, + "log": "New reasoning cycle started: 7" + } + }, + { + "timestamp": 1694697129849, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 8 + }, + "log": "New reasoning cycle started: 8" + } + }, + { + "timestamp": 1694697130601, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 9 + }, + "log": "New reasoning cycle started: 9" + } + }, + { + "timestamp": 1694697131452, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 10 + }, + "log": "New reasoning cycle started: 10" + } + }, + { + "timestamp": 1694697132404, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 11 + }, + "log": "New reasoning cycle started: 11" + } + }, + { + "timestamp": 1694697133459, + "message": { + "type": "ReasoningCycleStarted", + "event": { + "cycleNumber": 12 + }, + "log": "New reasoning cycle started: 12" + } + } +]