feat: backport run scoping + steerability (Phase 2) #5
Reference in New Issue
Block a user
Delete Branch "far-137/backport-phase-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Backport of upstream Shannon PRs for config-driven run scoping and steerability:
#326 — Config-driven run scoping + report filtering
code_path-based avoid enforcement in config schema + SDK deny rulesvuln_classessubset selection andexploittogglerules_of_engagementfree-form operational guidelines#329 — Steer notes for analysis-only mode
New files
apps/worker/src/ai/settings-writer.ts— Syncs code_path avoid rules to~/.claude/settings.jsonapps/worker/src/services/findings-renderer.ts— Deterministic findings rendering from queue JSONapps/worker/src/utils/glob.ts— Glob matching utilityapps/worker/prompts/shared/_code-path-rules.txt— Shared partial for code path rulesapps/worker/prompts/shared/_rules-of-engagement.txt— Shared partial for rules of engagementVerification
pnpm run check— passespnpm biome— passescc @cpfarhood
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.