feat(reusable): ship the curated swarm as the default config consumers inherit (#10)
Build & push image / build-and-push (push) Successful in 8s
Build & push image / build-and-push (push) Successful in 8s
This commit was merged in pull request #10.
This commit is contained in:
@@ -46,9 +46,11 @@ entrypoint.sh container brains: trigger gating, PR clone, model loop (t
|
||||
used to live in workflow YAML)
|
||||
Dockerfile multi-stage; private-module creds via BuildKit secrets never reach the final image
|
||||
.gitea/workflows/build-image.yml push main → :latest; tag v* → :<tag>+:latest; PR → build-only
|
||||
.gitea/workflows/review-reusable.yml reusable (workflow_call) review job; consumers subscribe with
|
||||
an ~8-line caller forwarding only the secrets the reviewer needs (Phase 4). gadfly's own
|
||||
adversarial-review.yml is a thin caller of it (dogfoods the path).
|
||||
.gitea/workflows/review-reusable.yml reusable (workflow_call) review job; ships the DEFAULT swarm as
|
||||
input defaults (3 cloud + Claude Code sonnet/opus/opus:max, 5-lens suite;
|
||||
claude models serial, 5 lenses each) so consumers inherit it by omitting `with:`. Consumers subscribe
|
||||
with an ~8-line caller forwarding only the secrets the reviewer needs (Phase 4);
|
||||
gadfly's own adversarial-review.yml is a thin caller of it (dogfoods the path).
|
||||
examples/ copy-paste consumer stub workflows for different providers
|
||||
```
|
||||
|
||||
@@ -98,7 +100,10 @@ comment with a section each. Default suite = security/correctness/maintainabilit
|
||||
error-handling; opt-in built-ins = tests/docs/conventions/improvements. Select via
|
||||
`GADFLY_SPECIALISTS` (csv or `all`); define/override via `GADFLY_SPECIALIST_<NAME>` env or a repo
|
||||
`.gadfly.yml` (`specialists:` + `define:`). See `cmd/gadfly/specialists.go`. Cost ≈
|
||||
specialists × models × 2 passes — keep the default model count low (entrypoint defaults to one).
|
||||
specialists × models × 2 passes — the **image/entrypoint** default stays minimal (one model) for
|
||||
that reason; the **reusable workflow** (`review-reusable.yml`) deliberately ships a heavier
|
||||
opinionated default swarm (3 cloud + Claude Code, 5 lenses) for steve's own fleet, which consumers
|
||||
inherit or override per-input.
|
||||
**Dynamic `auto`** (`GADFLY_SPECIALISTS=auto`): a selector (`GADFLY_SELECTOR_MODEL` or the review
|
||||
model) picks lenses per-diff and may invent ad-hoc ones (`cmd/gadfly/auto.go`). **Worker-tier**
|
||||
(`GADFLY_WORKER_MODEL`): a `delegate_investigation` tool offloads grep/read legwork to a cheap
|
||||
|
||||
Reference in New Issue
Block a user