it is your script, so you can do whatever you want; i just provide some env variables specific to the branch, e.g.
$AGENTASTIC_BRANCH
$AGENTASTIC_BASE_BRANCH
$AGENTASTIC_WORKTREE_PATH
$AGENTASTIC_MAIN_REPO_PATH
$AGENTASTIC_COMMIT
$AGENTASTIC_REPO_NAME
if you give me some examples, i see i can also add that.