fix: accept noDefaultAllow/noDefaultDeny aliases in bashConfig#474
fix: accept noDefaultAllow/noDefaultDeny aliases in bashConfig#474
Conversation
Visor's BashConfig uses noDefaultAllow/noDefaultDeny field names, but probe only accepted disableDefaultAllow/disableDefaultDeny. Accept both so workflow YAML using visor's convention works without a separate mapping step. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SummaryThis PR adds backward compatibility for field name aliases in
This enables Visor to pass Files Changed Analysis
Pattern: Simple OR fallback pattern ( Architecture & Impact AssessmentWhat this PR accomplishes: Enables interoperability between Visor and Probe by accepting both naming conventions for bash permission configuration. Key technical changes:
Affected components: flowchart LR
A[Visor Workflow YAML] -->|bashConfig| B[bashTool]
B -->|accepts both| C[BashPermissionChecker]
C -->|uses| D[Permission Evaluation]
subgraph "Field Name Aliases"
E[noDefaultAllow]
F[disableDefaultAllow]
G[noDefaultDeny]
H[disableDefaultDeny]
end
E -.->|alias| F
G -.->|alias| H
Scope Discovery & Context ExpansionDirect impact: Related files to consider:
Potential follow-up:
Labels
Metadata
Powered by Visor from Probelabs Last updated: 2026-03-04T09:34:11.673Z | Triggered by: pr_opened | Commit: a01bd8d 💡 TIP: You can chat with Visor using |
Summary
noDefaultAllow/noDefaultDenyfield names as aliases for probe'sdisableDefaultAllow/disableDefaultDenyinbashTool()bashConfigfrom workflow YAML directly to probe without field-name mapping, so probe needs to accept both conventionsTest plan
bashConfig: { noDefaultAllow: true }disables the default allow list (same asdisableDefaultAllow: true)disableDefaultAllow/disableDefaultDenyusage continues to work🤖 Generated with Claude Code