feat(repo): add clear_memory and enable_prs workflow inputs and update brain instructions

This commit is contained in:
Christian Gunderman
2026-04-24 15:59:29 -07:00
parent 5d058b93eb
commit 62b430e67d
2 changed files with 22 additions and 48 deletions
@@ -44,6 +44,11 @@ jobs:
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
if [ "${{ github.event.inputs.clear_memory }}" = "true" ]; then
echo "Memory clear requested. Skipping previous state download."
exit 0
fi
# Find the last successful run of this workflow
LAST_RUN_ID=$(gh run list --workflow "${{ github.workflow }}" --status success --limit 1 --json databaseId --jq '.[0].databaseId')
@@ -73,6 +78,7 @@ jobs:
GEMINI_API_KEY: '${{ secrets.GEMINI_API_KEY }}'
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GEMINI_MODEL: 'gemini-3-flash-preview'
ENABLE_PRS: '${{ github.event.inputs.enable_prs || 'false' }}'
run: 'node bundle/gemini.js --policy tools/gemini-cli-bot/ci-policy.toml tools/gemini-cli-bot/brain/metrics.md'
- name: 'Stash Brain Outputs'
@@ -112,3 +118,5 @@ jobs:
name: 'brain-scripts'
path: 'temp_outputs/reflexes/scripts/'
retention-days: 90
_outputs/reflexes/scripts/'
retention-days: 90