II.
Page overview
Reference · livepage:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-007
GAP-AGENT-007: Delegation Policy Layer overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for page:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-007.
Attributes
nodeKind
Page
sourcePath
docs/harness-features-backlog/gaps/agent-delegation/GAP-AGENT-007.md
sourceKind
repo-docs
title
GAP-AGENT-007: Delegation Policy Layer
displayName
GAP-AGENT-007: Delegation Policy Layer
slug
docs/harness-features-backlog/gaps/agent-delegation/gap-agent-007
articlePath
wiki/docs/harness-features-backlog/gaps/agent-delegation/GAP-AGENT-007.md
article
# GAP-AGENT-007: Delegation Policy Layer
| Field | Value |
|-------|-------|
| Category | agent-delegation |
| Priority | Medium |
| Effort | L |
| Status | Missing |
## Description
Policy-based capability restriction for delegated harness invocations. Control what tools, permissions, and capabilities sub-harnesses receive based on their role.
## Current State
No delegation policy. Worker harness invocations get full capabilities. Task execution hints (execution.permissions) are advisory, not enforced.
## Target State
Delegation policies define capability subsets per role. An explorer gets read-only tools. A planner gets analysis tools but no file writes. A verifier gets test execution but limited code modification. Enforced via agentic tool filtering.
## Dependencies
- [GAP-SEC-001](../security/GAP-SEC-001.md) -- governance policy for enforcement
- [GAP-HADAPT-001](../harness-adaptation/GAP-HADAPT-001.md) -- capability-based routing
## Key Files
| Component | Path |
|-----------|------|
| Agentic tools | `packages/sdk/src/harness/agenticTools.ts` |
| Task definitions | `packages/sdk/src/tasks/` |
## Recommendation
Phase 3 implementation. Define CapabilityProfile types (full, read-only, plan-only, verify-only). Enforce via agentic tool filtering in createAgenticToolDefinitions().
documents
[]
Outgoing edges
None.
Incoming edges
contains_page1
- page:docs-harness-features-backlog·PageHarness Features Backlog: Gap Analysis (Restructured)