Open fredo opened 1 year ago
Agent should not enter new challenges
This is just for other agents' claims, right?
I think it would be helpful to be more specific here. I can think of at least these situations (feel free to add more!):
Please check those cases where you think a passive-mode agent should take action.
Should ignore the whitelist check
What does this mean?
next turn of a challenge game in which the agent does not participate
Nothing happens here even in the normal mode
Should ignore the whitelist check
What does this mean?
The Agent should not crash if he is not whitelisted
I don't think that it makes a lot of sense to list all possible situations, rather I'd like to extend on the invariants. The goal of this mode is to successfully exit the system. In a bit more detail this means that the agent has no stake/tokens whatsoever in the contracts anymore. In order to achieve this state, the agent should not enter new positions.
If you are uncertain with a specific case, please look at the above statements and see if they answer your case. If not we should extend the list of invariants.
Cerated out of #1757
Recent events have shown that the agent needs to be able to run in a safe mode where it maintains the current position but does not engage in new positions. The main reason for it is, that the agent is required to have a certain amount of ETH to function properly. But currently the agent is designed to only spend ETH, eventually depleting its ETH funds.
With the minimum source balance, an LP could already mitigate entering new positions but I consider this more of a hack.
Passive Mode
I see the spec of the passive mode as follows:
Also, add documentation for some scenarios e.g. agent just wants to shut down the agent for a certain time or wants to exit the system etc.