Requested scope vs proposed scope
Hold or block when the agent expands beyond the files or paths the operator requested.
Dev Guard
Coding agents can modify repositories, install packages, run shell commands, and change infrastructure. Static permissions and IDE trust prompts do not evaluate whether this specific proposed action should execute now.
Dev Guard evaluates coding-agent actions before execution—comparing requested scope to proposed scope, binding patches, and returning ALLOW, REQUIRE_APPROVAL, or BLOCK with signed evidence.
Hold or block when the agent expands beyond the files or paths the operator requested.
Bind evaluation and approvals to a hash of the proposed patch so the authorized change cannot drift.
Require approval or block writes under sensitive directories (auth, secrets, infrastructure).
Treat destructive deletes as consequential by default.
Evaluate package installs and lockfile mutations before they land.
Authorize or block shell execution based on command class and risk policy.
Gate commit, push, force-push, and branch mutations.
Evaluate infra-as-code applies and production deploys before they run.
{
"action": "apply_patch",
"requested_scope": ["src/auth/login.ts"],
"proposed_paths": [
"src/auth/login.ts",
"src/database/schema.ts"
],
"patch_hash": "sha256:…",
"contains_deletion": false,
"dependency_change": false,
"shell_command": null
}Requested: src/auth/login.ts
Proposed: src/auth/login.ts
src/database/schema.ts
Decision: REQUIRE_APPROVAL
Reason: The proposed change expands beyond the requested file scope.Agent applies a patch only to the requested file with no deletions or dependency changes.
Agent proposes edits outside the requested path set, or touches a protected directory.
Policy forbids force-push to main, production deploy from an unapproved branch, or deletion of protected paths.
Do not treat planned adapters as live. Labels match product reality.
| Integration | Status | Note |
|---|---|---|
| Runtime Evaluate API | Available | HTTP API for pre-execution decisions. |
| Python SDK | Available | pip install bobsentry |
| TypeScript SDK | Available | npm install @bobsentry/sdk |
| Dev Guard core evaluation | Design-partner preview | Coding-agent action schemas and scope checks. |
| IDE adapters | Planned | Not released. Do not assume universal IDE enforcement. |
# pip install bobsentry
from bobsentry import RuntimeClient
client = RuntimeClient(api_key=os.environ["BOBSENTRY_API_KEY"])
result = client.evaluate(action="apply_patch", metadata={...})
# BobSentry returns the decision; your integration must honor it.// Planned: editor/agent adapter hooks
// Status: PLANNED ADAPTER — design-partner discussions only
// IDE integrations are not publicly available.If you have a pre-execution hook for coding-agent actions, we want to hear from you.
By contacting us you agree we may use your message to respond. See our Privacy page.