Skip to content

Refactor: Split 'do it' from reasoning/fallback #102

@alberth

Description

@alberth

I randomly browsed some action server code, and eg 'find' and 'hand-over' does a lot more than just simply checking pre-conditions and (failing or) doing the requested thing.
It analyses what is missing, starts queries to get missing information, performs additional actions, etc.

I think it would be useful if a clean split is made between 'stupid' check & do-it code, and the intelligence/reasoning to make that elementary action smarter, so it can deal with more cases. Likely you'll end up with a tree of actions, where higher level actions use lower level actions to test and perform part of the action to perform.

@LoyVanBeek the reasoning code looks like it belongs in the conversation engine eventually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions