41 lines
854 B
Markdown
41 lines
854 B
Markdown
# Stride Configuration
|
|
|
|
## before_doing
|
|
|
|
Executes before starting work on a task (blocking, 60s timeout).
|
|
|
|
```bash
|
|
echo "Starting task $TASK_IDENTIFIER: $TASK_TITLE"
|
|
git pull origin main
|
|
mix deps.get
|
|
```
|
|
|
|
## after_doing
|
|
|
|
Executes after completing work (blocking, 120s timeout).
|
|
If this fails, task completion should fail.
|
|
|
|
```bash
|
|
echo "Running precommit checks for $TASK_IDENTIFIER"
|
|
mix precommit
|
|
```
|
|
|
|
## before_review
|
|
|
|
Executes when task enters review (blocking, 60s timeout).
|
|
If this fails, task completion should fail.
|
|
|
|
```bash
|
|
echo "Creating PR for $TASK_IDENTIFIER"
|
|
# gh pr create --title "$TASK_TITLE" --body "Closes $TASK_IDENTIFIER"
|
|
```
|
|
|
|
## after_review
|
|
|
|
Executes after review approval (blocking, 60s timeout).
|
|
If this fails, mark_reviewed should fail.
|
|
|
|
```bash
|
|
echo "Task $TASK_IDENTIFIER approved"
|
|
# Add deployment commands here if needed
|
|
```
|