return map $_->action, grep $_->has_action, values %$by_id;
}
-sub dependent_actions {
+sub independent_actions {
+ my ($self) = @_;
+ return grep !@{$_->dependencies}, $self->actions;
+}
+
+sub expand_action_dependencies {
my ($self, $action) = @_;
my $by_id = $self->_state->by_id;
return map $by_id->{$_}->action, @{$action->dependencies};