farm: fix bad test
farm: fix delegation status
abilities: initial implementation
abilities: add tests
abilities: handle script/console detection