dag-scope-enforcer

Enforce runtime permissions across tool, file, and network operations in DAG execution.

10|1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/curiositech/windags-skills --skill dag-scope-enforcer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dag-scope-enforcer
Source: https://github.com/curiositech/windags-skills/tree/main/skills/dag-scope-enforcer
Command: npx skills add https://github.com/curiositech/windags-skills --skill dag-scope-enforcer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Runtime enforcement of permission boundaries across tools, file operations, and network access prevents unauthorized actions and ensures traceable compliance during DAG execution.

Core Features & Use Cases

  • Real-time tool access control to block disallowed commands and MCP tools.
  • File system and network enforcement to prevent unsafe access and data leakage.
  • Violation logging and integration with tracers and isolation managers for auditing and safety.

Quick Start

Activate the enforcement middleware in your runtime to start blocking unauthorized tool, file, and network operations.

Frequently Asked Questions about dag-scope-enforcer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce runtime permissions for tool invocations and file access in a DAG-based agent execution?▼

Runtime permissions for tool invocations, file reads/writes, and network calls are enforced using middleware that blocks unauthorized actions and logs violations during DAG-based agent execution. It ensures operations stay within defined scopes.

What is the best way to prevent unauthorized network calls during agent DAG execution?▼

Preventing unauthorized network calls during DAG execution requires applying an enforcement middleware that intercepts runtime operations, blocks unsafe access, and logs violations for traceable compliance and auditing.

How does runtime boundary enforcement work for file system access in agent workflows?▼

Runtime boundary enforcement for file system access works by defining an EnforcementContext and EnforcementMiddleware that intercept file reads and writes, immediately blocking operations that violate predefined scopes.

Can I log permission violations for tracing during DAG agent execution?▼

Yes, permission violations can be logged for tracing during DAG agent execution. The enforcement mechanism integrates with a tracer and isolation manager to record all blocked operations and ensure traceable compliance.

Do I need an isolation manager to enforce tool access control in runtime environments?▼

An isolation manager is needed to enforce tool access control effectively, as the enforcement middleware integrates directly with it and a tracer to block disallowed commands, MCP tools, and unsafe file operations.

Why does my agent perform operations outside the defined runtime scope during DAG execution?▼

Operations occur outside the defined runtime scope when enforcement middleware is not activated. Activating it intercepts tool, file, and network operations to block disallowed commands and log violations for tracing.