You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai-pipeline.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,15 +111,27 @@ Trigger: `check_run` or `workflow_run` with `conclusion=failure` on a PR branch.
111
111
112
112
---
113
113
114
-
## 3. GitHub Actions workflow
114
+
## 3. GitHub Actions workflow — 3-agent harness
115
115
116
-
The workflow is defined in [`.github/workflows/ai-dev.yml`](../.github/workflows/ai-dev.yml).
116
+
The workflow is defined in [`.github/workflows/ai-dev.yml`](../.github/workflows/ai-dev.yml) and split into three jobs that communicate via the `.harness/<issue_number>/` directory committed to the AI branch:
117
117
118
-
- Trigger: `workflow_dispatch` only. It cannot be invoked by an issue/comment event directly.
119
-
- Inputs: `issue_number`, `task_type`, `prompt`.
120
-
- Branch: always `ai/issue-{issue_number}` cut from `develop`.
- Branch: `ai/issue-<issue_number>` by default; if `head_branch` is passed, that exact branch is updated (used by `/ai-apply-review`).
129
+
-`task_type=plan` runs only the Planner; the PR contains only the plan markdown.
130
+
- Any other `task_type` runs Planner + Generator + Evaluator in sequence. Generator commits code, Evaluator posts a verdict as a PR comment.
131
+
- Evaluator can only return text; any incidental file edits the model attempts are reverted.
121
132
- Target: PR is opened against `develop`, never `master`.
122
-
- Permissions are scoped to `contents: write`, `pull-requests: write`, `issues: write`. The workflow has no `id-token` and no `NPM_TOKEN`, so it cannot publish.
133
+
- Permissions scoped to `contents: write`, `pull-requests: write`, `issues: write`. No `id-token`, no `NPM_TOKEN`, so the workflow cannot publish.
134
+
- Each Gemini call uses [`.github/actions/gemini`](../.github/actions/gemini/action.yml), a composite action that retries through a model fallback chain (`GEMINI_MODELS` variable) and, where allowed (`plan`/`evaluate` only), falls back to a direct REST API call when the CLI hits quota.
0 commit comments