Default the fuzzing taskflow to claude-sonnet-5 - #7
Open
antonio-morales wants to merge 1 commit into
Open
antonio-morales wants to merge 1 commit into
antonio-morales wants to merge 1 commit into
Conversation
Add src/seclab_taskflows_fuzzing/configs/model_config.yaml, a repo-local model_config that maps every role (code_analysis, general_tasks, triage) to claude-sonnet-5, and repoint every taskflow YAML under taskflows/fuzzing/ at it instead of the parent package's seclab_taskflows.configs.model_config default. Each taskflow YAML's own model_config: header is the sole default used when no -m/--model-config flag is passed, so this makes sonnet-5 the default model for every fuzzing stage without requiring any CLI option or environment variable. Only this repository's own taskflow package is touched, so other repositories depending on the shared seclab_taskflows package are unaffected. Also fix a latent bug in fuzz_runner.py where fold_queue_into_persistent_corpus and reproduce_crash called the tool functions via a nonexistent .fn attribute (leftover from an older fastmcp API), which raised AttributeError on every call.
kevinbackhouse
approved these changes
Sep 18, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
src/seclab_taskflows_fuzzing/configs/model_config.yaml, a repo-local model config that maps every role (code_analysis,general_tasks,triage) toclaude-sonnet-5.model_config:header of every taskflow YAML undertaskflows/fuzzing/from the parent package'sseclab_taskflows.configs.model_configto the new local file.fuzz_runner.pywherefold_queue_into_persistent_corpusandreproduce_crashcalled tool functions via a nonexistent.fnattribute, raisingAttributeErroron every call.Why
Each taskflow YAML's own
model_config:field is the default model config used whenever no-m/--model-configflag is passed on the CLI. Repointing it means every fuzzing stage (identify_fuzz_targets,write_initial_harnesses,build_harnesses,fuzz_iteration,triage_crashes, etc.) now runs on claude-sonnet-5 by default, with no CLI flag or environment variable required.Only this repository's own taskflow package is touched — the shared
seclab_taskflowsparent package (used by other repositories) is untouched, so this change has no effect outside this repo.Testing
AvailableToolsthatget_taskflow(...).model_config_refnow resolves toseclab_taskflows_fuzzing.configs.model_config, and that config maps all three roles toclaude-sonnet-5.analyze_build_system,write_initial_harnesses,build_harnesses, andfuzz_iterationtaskflow stages end-to-end without passing-m, confirming they used claude-sonnet-5 and completed successfully.fold_queue_into_persistent_corpus(previously broken by the.fnbug) across several fuzz iterations; confirmed it now merges/minimises the persistent corpus without raising.