codesafe_audit_by_rule
Batch-assemble audit contexts for multiple defects from one rule, summarizing each bug and generating a verdict table for efficient review.
Instructions
Batch-assemble audit contexts for up to max_n defects of one rule.
Resolves the rule's bugIds via codesafe_bug_summary, then builds an audit_bug context for each (capped at max_n and CODESAFE_AUDIT_BATCH_LIMIT). Returns contexts + a summary table skeleton the calling LLM can fill with verdicts. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_n | No | ||
| task_id | Yes | ||
| rule_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||