feat(reusable): ship the curated swarm as the default config consumers inherit
Make the reusable workflow's input defaults BE the standard Gadfly swarm so a consumer subscribes by just calling it (no `with:` block) and inherits: - models: 3 strong cloud (minimax-m3, glm-5.2, deepseek-v4-pro) + Claude Code (sonnet, opus, opus:max) - specialists: the 5-lens default suite (security, correctness, maintainability, performance, error-handling) - provider_concurrency: ollama-cloud=3,claude-code=3 (all three claudes at once) - timeout_minutes default 45 -> 90 (5 lenses x 2 passes over a slow lane) The default is opinionated (needs OLLAMA_CLOUD_API_KEY + CLAUDE_CODE_OAUTH_TOKEN); consumers override `models:` for cloud-only / other providers. gadfly's own caller is slimmed to inherit (only allowed_users remains). examples/reusable.yml keeps a cloud-only `models:` override so a public copy works with just the Ollama key. README/CLAUDE.md updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Gadfly reviewing its OWN PRs — now a thin CALLER of the reusable workflow
|
||||
# (.gitea/workflows/review-reusable.yml), dogfooding the Phase-4 "subscribe"
|
||||
# path. The reusable holds the image pin + env plumbing; this file holds only
|
||||
# the triggers, the actor gate, and gadfly's specific swarm config.
|
||||
# Gadfly reviewing its OWN PRs — a thin CALLER of the reusable workflow
|
||||
# (.gitea/workflows/review-reusable.yml), dogfooding the "subscribe" path. The
|
||||
# reusable holds the image pin, env plumbing, AND the default swarm; this file
|
||||
# holds only the triggers, the actor gate, secret forwarding, and allow-list.
|
||||
#
|
||||
# Advisory only — never blocks a merge. Fleet: 6 cloud + Claude Code
|
||||
# (sonnet, opus, opus:max) competitors.
|
||||
# Advisory only — never blocks a merge. It inherits the default swarm: 3 cloud
|
||||
# models + Claude Code (sonnet, opus, opus:max), 5-lens suite, 3 claudes at once.
|
||||
|
||||
name: Adversarial Review (Gadfly)
|
||||
|
||||
@@ -48,11 +48,7 @@ jobs:
|
||||
GADFLY_FINDINGS_URL: ${{ secrets.GADFLY_FINDINGS_URL }}
|
||||
GADFLY_FINDINGS_TOKEN: ${{ secrets.GADFLY_FINDINGS_TOKEN }}
|
||||
with:
|
||||
models: "minimax-m3:cloud,glm-5.2:cloud,glm-5.1:cloud,deepseek-v4-pro:cloud,nemotron-3-super:cloud,qwen3-coder:480b-cloud,claude-code/sonnet,claude-code/opus,claude-code/opus:max"
|
||||
specialists: "security,correctness,error-handling"
|
||||
provider_concurrency: "ollama-cloud=3,claude-code=2"
|
||||
provider_lens_concurrency: "ollama-cloud=3"
|
||||
timeout_secs: "600"
|
||||
max_steps: "14"
|
||||
# Inherit the default swarm (3 cloud + Claude Code sonnet/opus/opus:max,
|
||||
# 5-lens suite, all three claudes concurrent) from review-reusable.yml.
|
||||
# Only the consumer-specific allow-list is set here.
|
||||
allowed_users: "steve,fizi,dazed"
|
||||
timeout_minutes: 90
|
||||
|
||||
Reference in New Issue
Block a user