Tip: Pass system_prompt_suffix to steer the orchestrator

Recommendation

When BugPredictionWorkflow produces findings that are too broad or miss your project's specific conventions, pass a system_prompt_suffix to its constructor to append instructions directly to the orchestrator prompt — without replacing the built-in guidance for the three subagents (pattern-scanner, risk-correlator, and prevention-advisor).

from workflows.bug_predict import BugPredictionWorkflow

workflow = BugPredictionWorkflow(
    system_prompt_suffix="Focus on HIGH-severity patterns only. Ignore TODO comments in migrations/."
)
result = workflow.execute(path="src/")

Why

The orchestrator synthesizes output from all three subagents into a single report — injecting your constraints at that level is more reliable than filtering results after the fact.

Tradeoff

A narrowly scoped system_prompt_suffix can cause the orchestrator to under-report MEDIUM and LOW findings (such as broad_exception and incomplete_code patterns) that sometimes precede HIGH-severity regressions. If you're running a pre-release health check rather than a focused review, omit the suffix and let all three severity levels through.

Unresolved references

Auto-generated by attune-author fact-check. Review and either fix the source code, fix this doc, or add an override.

Location Severity Issue
Line 17 (code fence) error from workflows.bug_predict import … — module not importable