II.
Page JSON
Structured · livepage:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-007
GAP-AGENT-007: Delegation Policy Layer json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "page:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-007",
"_kind": "Page",
"_file": "wiki/docs/harness-features-backlog/gaps/agent-delegation/gap-agent-007.md",
"_cluster": "wiki",
"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": "\n# GAP-AGENT-007: Delegation Policy Layer\n\n| Field | Value |\n|-------|-------|\n| Category | agent-delegation |\n| Priority | Medium |\n| Effort | L |\n| Status | Missing |\n\n## Description\nPolicy-based capability restriction for delegated harness invocations. Control what tools, permissions, and capabilities sub-harnesses receive based on their role.\n\n## Current State\nNo delegation policy. Worker harness invocations get full capabilities. Task execution hints (execution.permissions) are advisory, not enforced.\n\n## Target State\nDelegation 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.\n\n## Dependencies\n- [GAP-SEC-001](../security/GAP-SEC-001.md) -- governance policy for enforcement\n- [GAP-HADAPT-001](../harness-adaptation/GAP-HADAPT-001.md) -- capability-based routing\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Agentic tools | `packages/sdk/src/harness/agenticTools.ts` |\n| Task definitions | `packages/sdk/src/tasks/` |\n\n## Recommendation\nPhase 3 implementation. Define CapabilityProfile types (full, read-only, plan-only, verify-only). Enforce via agentic tool filtering in createAgenticToolDefinitions().\n",
"documents": []
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "page:docs-harness-features-backlog",
"to": "page:docs-harness-features-backlog-gaps-agent-delegation-gap-agent-007",
"kind": "contains_page"
}
]
}