Skip to content

Allow task to be gated#1

Open
simonjohansson wants to merge 1 commit intotintinweb:masterfrom
simonjohansson:gates
Open

Allow task to be gated#1
simonjohansson wants to merge 1 commit intotintinweb:masterfrom
simonjohansson:gates

Conversation

@simonjohansson
Copy link

@simonjohansson simonjohansson commented Mar 13, 2026

Sometimes I want to schedule work that should be gated behind a script.

Screenshot 2026-03-14 at 00 25 47
$ cat /tmp/exit0.sh
#!/usr/bin/env bash
exit 0

$ cat /tmp/exit1.sh
#!/usr/bin/env python3
import sys
sys.exit(1)

For example I might not want to run a cron job if there are unstaged changes. Easy enough to figure that out with a script and unnecessary to have a tool call and send over to the LLM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant