This repository was archived by the owner on Apr 19, 2026. It is now read-only.
refactor: Chitin rebrand β go.mod, imports, README, workflows, docs #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Clawta Agent Dispatch | ||
| on: | ||
| repository_dispatch: | ||
| types: [octi-pulpo-dispatch] | ||
| jobs: | ||
| clawta-agent: | ||
| runs-on: ubuntu-latest | ||
| if: | | ||
| github.event.client_payload.type == 'evolve' || | ||
| github.event.client_payload.type == 'code-gen' || | ||
| github.event.client_payload.type == 'bugfix' || | ||
| github.event.client_payload.type == 'config' | ||
| env: | ||
| TASK_ID: ${{ github.event.client_payload.task_id }} | ||
| TASK_TYPE: ${{ github.event.client_payload.type }} | ||
| TASK_PRIORITY: ${{ github.event.client_payload.priority }} | ||
| TASK_PROMPT: ${{ github.event.client_payload.prompt }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Download Clawta binary | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| echo "Task ID: ${TASK_ID}" | ||
| echo "Type: ${TASK_TYPE}" | ||
| echo "Priority: ${TASK_PRIORITY}" | ||
| gh release download --repo chitinhq/clawta \ | ||
| --pattern "clawta-linux-amd64" \ | ||
| --output clawta \ | ||
| --clobber || echo "WARN: clawta release not yet published" | ||
| chmod +x clawta 2>/dev/null || true | ||
| - name: Configure git identity | ||
| run: | | ||
| git config --global user.email "octi-pulpo@chitinhq.com" | ||
| git config --global user.name "Octi Pulpo Bot" | ||
| - name: Run Clawta agent | ||
| env: | ||
| DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| if [ ! -f ./clawta ]; then | ||
| echo "ERROR: clawta binary not available" | ||
| exit 1 | ||
| fi | ||
| ./clawta run \ | ||
| --provider deepseek \ | ||
| --model deepseek-chat \ | ||
| --max-turns 100 \ | ||
| "${TASK_PROMPT}" \ | ||
| || echo "WARN: clawta exited non-zero for task ${TASK_ID}" | ||
| - name: Report outcome | ||
| if: always() | ||
| run: echo "Task ${TASK_ID} dispatch complete. Status: ${{ job.status }}" | ||