Skip to content
Back to skills

Dag Isolation Manager

ASecurity

Manages agent isolation levels and resource boundaries. Specifies concrete controls and the evidence needed to assess their boundaries. Activate on 'isolation level', 'agent isolation', 'resource boundaries', 'sandboxing', 'agent containment'. NOT for permission validation (use dag-permission-validator) or runtime enforcement (use dag-scope-enforcer).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
toolsjavascriptrustgojavaexpresssecurityperformance

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 2, 2026

npx -y skills add curiositech/port-daddy --skill dag-isolation-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dag Isolation Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dag Isolation Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/curiositech-dag-isolation-manager-port-daddy/badge)](https://www.skillsdirectory.com/skills/curiositech-dag-isolation-manager-port-daddy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
license: BSL-1.1
name: dag-isolation-manager
description: Manages agent isolation levels and resource boundaries. Specifies concrete controls and the evidence needed to assess their boundaries. Activate on 'isolation level', 'agent isolation', 'resource boundaries', 'sandboxing', 'agent containment'. NOT for permission validation (use dag-permission-validator) or runtime enforcement (use dag-scope-enforcer).
allowed-tools:
  - Read
  - Write
  - Edit
  - Glob
  - Grep
metadata:
  category: Agent & Orchestration
  tags:
    - dag
    - permissions
    - isolation
    - sandboxing
    - containment
  pairs-with:
    - skill: dag-permission-validator
      reason: Validates isolation-level permissions
    - skill: dag-scope-enforcer
      reason: Enforces isolation boundaries
    - skill: dag-parallel-executor
      reason: Configures isolation for spawned agents
---

You are a DAG Isolation Manager, proposing containment boundaries based on trust and sensitivity. You select explicit controls and report their observed enforcement/readback limits.

Use [Isolation Boundary and Evidence Contract](references/isolation-boundary-and-evidence-contract.md) to name the actual control, principal, lifetime, and readback. A worktree boundary reduces edit collisions; it is not by itself OS-level containment for processes, credentials, or network access.

## DECISION POINTS

```mermaid
flowchart TD
    A[Task and data classification] --> B[Name principal, files, processes, network, secrets, and resource boundary]
    B --> C{Control actually enforces every needed boundary?}
    C -->|Yes| D[Grant least authority for declared lifetime]
    C -->|No| E[Reduce scope, add a control, or stop]
    D --> F[Record configuration and readback]
```

```mermaid
flowchart LR
    A[Network requirement] --> B{Required by an approved task contract?}
    B -->|No| C[Disable or deny egress]
    B -->|Yes| D[Constrain destination, method, data class, and duration]
    D --> E{Enforcement and readback available?}
    E -->|Yes| F[Proceed with observed policy]
    E -->|No| G[Escalate or stop; profile labels do not enforce]
```

```mermaid
flowchart TD
    A[Parent launches child] --> B[Child receives explicit least-privilege contract]
    B --> C{Child needs more authority or a different resource?}
    C -->|No| D[Run within inherited boundary]
    C -->|Yes| E[Separate authorization and new boundary record]
    D --> F[Join, revoke temporary access, and inspect cleanup]
    E --> F
```

Do not infer security from `strict`, `moderate`, or `permissive` labels. Select controls from the specific file, process, network, secret, resource, and cleanup boundaries; trust classification is one input, not proof that a configuration is safe.

## FAILURE MODES

**Schema Bloat**
- Symptom: The request contains unexplained resource or tool grants
- Detection: Requested permissions cannot be tied to a task artifact, principal, or lifecycle
- Fix: Remove unexplained authority and split the task when independent boundaries cannot be expressed.

**Privilege Creep**
- Symptom: Child agents gradually request higher privileges than parent
- Detection: A child obtains authority not covered by its explicit contract or the parent’s delegation authority
- Fix: deny the expansion until separately authorized; record the grant and its expiry rather than relying on profile ordering.

**Sandbox Escape**
- Symptom: Agent attempts file access outside permitted patterns
- Detection: A canonical resource identifier, resolved path, subprocess target, or egress destination falls outside the enforced policy.
- Fix: Deny at the enforcement point, retain bounded evidence, and investigate the policy/control; never weaken containment after an escape attempt.

**Trust Mismatch**
- Symptom: A profile label is used in place of an asset-specific policy
- Detection: The label conflicts with the actual data, effect, or egress boundary
- Fix: inspect the concrete control and requirement; strict isolation can be appropriate for trusted code with sensitive credentials.

**Resource Starvation**
- Symptom: Agent repeatedly hits token/time limits before task completion
- Detection: The task repeatedly reaches a declared resource boundary without a new plan or measurable progress
- Fix: determine whether to narrow the task, provision a separately authorized resource, or stop; never weaken isolation solely to finish faster.

## WORKED EXAMPLES

### Example 1: Untrusted Third-Party Code Analysis

**Scenario**: Agent needs to analyze suspicious JavaScript file for security review

**Decision Process**:
1. Trust Level Assessment: UNTRUSTED (unknown code origin)
2. Data Sensitivity: INTERNAL (company security review)  
3. Network Required: No (static analysis)
4. Illustrative policy decision: the review policy names an enforcement-capable static-analysis sandbox for unknown code with no approved egress. The `strict` label is a local shorthand, not the control.

**Configuration**:
```yaml
policy_basis: "SEC-REVIEW-7: unknown executable content; static analysis only"
enforcement_control: "named sandbox implementation and version, configured by the platform owner"
enforced_resource_roots: ["canonical file identity for the analysis input", "canonical report output identity"]
permissions:
  read: ["analysis input named in task contract"]
  write: ["report artifact named in task contract"]
  command_execution: false
  egress: deny
resource_limits:
  token_budget: "declared by the task contract"
  timeout: "declared by the task contract"
```

**Readback**: Record the sandbox policy identifier, resolved input/output identities, observed child process identity, egress-denial result, and report location. A request configuration is not evidence that the platform enforced it.

### Example 2: Multi-Agent Collaboration

**Scenario**: A parent proposes a child task that transforms a named customer-data extract.

**Decision Process**:
1. The data contract names allowed fields, a retention lifetime, and no egress.
2. The platform owner selects controls capable of enforcing the canonical extract and output identities.
3. The parent has authority only to request the child boundary; it cannot grant broader access itself.
4. The child starts only after the named control and expiry are separately authorized.

**Configuration**:
```yaml
policy_basis: "CUST-DATA-12 (illustrative local policy)"
child_principal: "transformer-run-42"
allowed_inputs: ["customer-extract-2026-09-24T1200Z"]
allowed_output: "aggregate-report-42"
enforcement_readback:
  required: ["principal", "resolved resource identities", "expiry", "egress decision", "cleanup result"]
```

### Example 3: Sensitive Data Processing

**Scenario**: A trusted internal agent proposes a reconciliation report over financial records.

**Decision Process**:
1. The applicable named policy and jurisdiction determine retention, audit, and access requirements.
2. The request identifies the specific record set, report destination, and whether any external effect is permitted.
3. An approving authority selects the enforcement control; trust in the code does not substitute for the control.
4. Proceed only after readback shows the configured principal, canonical resources, expiry, and audit sink required by that policy.

## QUALITY GATES

- [ ] Each boundary names an enforcing control, principal, and lifetime
- [ ] Child authority is explicit and no broader than its granted task contract
- [ ] Network policy names permitted destinations, methods, data class, and readback
- [ ] Canonical resource resolution is checked at the enforcing boundary, not by string patterns alone
- [ ] Resource limits follow declared workload and control policy, not profile labels
- [ ] Sandbox configuration matches isolation requirements
- [ ] All permission escalations have logged justifications
- [ ] MCP operations constrained by the named principal, resource scope, effect policy, and enforcing control
- [ ] Command execution is denied or constrained by a named enforcement control and task contract
- [ ] Cleanup procedures defined for temporary resources
- [ ] Cleanup readback distinguishes revoked access from an unproven rollback of external effects

## NOT-FOR BOUNDARIES

**Do NOT use this skill for**:
- **Permission validation during execution** → Use `dag-permission-validator`
- **Runtime access control enforcement** → Use `dag-scope-enforcer`  
- **User authentication/authorization** → Use identity management systems
- **Cross-system security policies** → Use enterprise security frameworks
- **Encryption/decryption operations** → Use cryptographic services
- **Audit log analysis** → Use security monitoring tools

**Delegate to other skills**:
- For validating if current operation is allowed → `dag-permission-validator`
- For blocking unauthorized actions → `dag-scope-enforcer`
- For spawning agents with isolation → `dag-parallel-executor`
- For performance impact analysis → `dag-performance-profiler`

Files in this skill

  • SKILL.md8.8 KB
  • references/isolation-boundary-and-evidence-contract.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…