Updating  to reflect new ideas about structure of agenda. This empty template shows recursion but with separation of conditions (logic) and criteria (selectors/filters).
Added some example data to example-agenda.json in order to think more thoroughly about how to model this. Minor change to beth.js; changed indent on a few lines to tidy up.
Created a new file called empty-agenda.json to create a template without examples in it. This might be easier to play with than example-agenda.json.
Changed labels and structure in agenda to better represent recursion as it should happen. Also added eliza-agenda, as if this cannot be achieved within Beth then there is something wrong with the model as a whole.
Updated eliza-agenda as main phase of agenda was missing.
Merge branch 'develop' into feature-agenda
Added agenda to beth-eliza-orig.json to start work on how the model interacts with it.
Changed the condition in the eliza agenda example to watch for a flag called quit to return true.
Merge branch 'develop' into feature-agenda
Added proactive moveset to the Beth-Eliza agenda, and a ruleset for the user quitting.
Added basic filter callback to beth.js, which is called by the process method. It only checks one particular agenda item currently. It will only work with beth-eliza-orig.json for now, which has been modified slightly for testing.
Set up an agendaManager though it is not yet invoked.
Agenda manager set up to check and return relevant agenda item.
Updated agenda manager so it now moves through the items. Had to edit beth-eliza-orig.json to continue with testing.
Added a check so that Beth has a chance of knowing when to disconnect. Further testing with beth-eliza-orig.json.
Created sessionStats tracker and refactored agendaManager accordingly. Minor updates to beth-eliza-orig.json, yet again for purposes of testing.
Moved filter creation into agenda manager and refactored timed check accordingly.
Changed structure of agenda so that filters objects are now inside proactive and reactive objects.
Fixed problem with agenda not updating by putting a timed interval call in agenda manager. Changed agenda filter method to specify where it should get the filter from (e.g. proactive or reactive).
Added a simple proactive prompt handler that is cued to deliver after reaction. Changed bot.js as a result as the getInitial for a hello world greeting is no longer required.