Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/aw/debug-playbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Keep codes/severity; advisory/pending/skipped/policy-denied may be intentional.
| `blocked_network_requests` | Destination, caller, denial, necessity. | Fix URL/tool or authorize narrow destination; retain firewall. |
| `threat_detection_job_failed`, `engine_step_failed` | Detector/evals error/execution state. | Fix engine/proxy startup; failed/green job != clean verdict/evals. |
| `threat_detected` | Private structured verdict/artifact. | Stop unsafe effects; follow [security guidance](debug-security-review.md). Never publish payloads. |
| `safeoutputs_command_blocked` | Claude permission denial correlated to a Bash call of `safeoutputs`. | Add the narrow `safeoutputs *` entry to `tools.bash`; recompile. |
| `high_token_usage`, `many_iterations` | Tokens/cache/turns, repeated calls. | [Optimize](optimize-agentic-workflow.md) scope/context/loops before raising caps. |
| `agentic_resource_heavy_for_domain`, `agentic_overkill_for_agentic` | Assessment, deterministic alternatives. | Script mechanical work; retain necessary judgment. |
| `agentic_poor_agentic_control`, `agentic_partially_reducible` | Stop rules, tools, reducible stages. | Bound loops; extract deterministic work; preserve outcomes. |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/claude-code-user-docs-review.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/claude-code-user-docs-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ tools:
- "cat *"
- "ls *"
- "grep *"
- "safeoutputs *"

timeout-minutes: 30

Expand Down
1 change: 1 addition & 0 deletions pkg/cli/audit_finding_codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const (
AuditFindingDetectionJobFailed AuditFindingCode = "threat_detection_job_failed"
AuditFindingThreatDetected AuditFindingCode = "threat_detected"
AuditFindingEngineStepFailed AuditFindingCode = "engine_step_failed"
AuditFindingSafeOutputsBlocked AuditFindingCode = "safeoutputs_command_blocked"

AuditFindingAgenticResourceHeavy AuditFindingCode = "agentic_resource_heavy_for_domain"
AuditFindingAgenticOverkill AuditFindingCode = "agentic_overkill_for_agentic"
Expand Down
2 changes: 2 additions & 0 deletions pkg/cli/audit_report_analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func generateFindings(processedRun ProcessedRun, metrics MetricsData, errors []V
detectionFindings := generateThreatDetectionFindings(processedRun)
findings = append(findings, detectionFindings...)
findings = append(findings, generateEngineStepFailureFindings(processedRun)...)
findings = append(findings, generateSafeOutputsBlockedFindings(processedRun)...)
findings = append(findings, generatePerformanceFindings(metrics)...)
findings = append(findings, generateErrorVolumeFindings(errors)...)
findings = append(findings, generateToolingFindings(processedRun)...)
Expand Down Expand Up @@ -79,6 +80,7 @@ func generateRecommendations(processedRun ProcessedRun, metrics MetricsData, fin
recommendations = appendCostRecommendations(recommendations, hasHighCostFindings)
recommendations = appendIterationRecommendations(recommendations, hasManyTurns)
recommendations = appendToolingRecommendations(recommendations, processedRun)
recommendations = appendSafeOutputsBlockedRecommendations(recommendations, findings)
if metrics.SubagentFailureCount > 0 {
recommendations = append(recommendations, Recommendation{
Priority: "high",
Expand Down
Loading
Loading