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:
@@ -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-code=3) 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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user