Refactor Holon solve/workflow to explicit goal routing #1710
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: Holon Trigger | |
| on: | |
| issue_comment: | |
| types: [created] | |
| issues: | |
| types: [labeled, assigned] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review, labeled] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| id-token: write | |
| jobs: | |
| holon: | |
| name: Run Holon (via holon-solve) | |
| uses: ./.github/workflows/holon-solve.yml | |
| with: | |
| issue_number: ${{ github.event.issue.number || github.event.pull_request.number }} | |
| lane: ${{ (github.event_name == 'pull_request' || github.event_name == 'pull_request_review') && 'review' || (github.event_name == 'issue_comment' && 'command' || 'meta') }} | |
| label_name: ${{ github.event.label.name || '' }} | |
| assignee_login: ${{ github.event.assignee.login || '' }} | |
| comment_id: ${{ github.event.comment.id || 0 }} | |
| review_id: ${{ github.event.review.id || 0 }} | |
| auto_review: ${{ fromJSON(vars.HOLON_AUTO_REVIEW || 'false') }} | |
| # Repo-local workflow uses the current branch Holon implementation. | |
| log_level: 'debug' | |
| build_from_source: true | |
| secrets: | |
| anthropic_auth_token: ${{ secrets.ANTHROPIC_AUTH_TOKEN }} | |
| holon_github_token: ${{ secrets.HOLON_GITHUB_TOKEN }} | |
| anthropic_base_url: ${{ secrets.ANTHROPIC_BASE_URL }} |