preview_task_permissions
Preview standalone task permissions, writable paths, allowed commands, and Git settings before launch, without starting an agent or allocating scratch.
Instructions
Preview standalone task permissions without launching an agent or allocating scratch.
With qualification_only, returns only the cached qualification requirement plan before provider self-tests, path certification or owner checks; launch still validates those gates. Empty required feature sets need no binary inspection.
Uses the same bounded extra_writable_paths validation, installed-version checks and detected owner caps as start_task. Returns requested/effective typed paths, certification and truthful enforcement. Writable scratch-aware launches disclose future task, chain and group scratch symbolically in writable_roots without allocating them; read-only previews have no scratch root. The preview is an observation, not a reservation: launch revalidates paths and configuration. Extra grants never authorize publication. Workflow/native-adapter grants and unverified harness configurations are unavailable. Known external backend execution configuration is protected; unsupported existing inputs reject requests. Existing repository configuration authority retains its baseline limits. Grants authorize output writes, not trust in that output as a future repository, hook or executable. Startup inputs are checked, not atomically pinned against independently authorized concurrent writers; see docs/extra-writable-paths.md.
group_report_output opts in to a qualified read_only run whose sole writable root is its concrete canonical group folder (group is required or inherited). No folder is allocated. This excludes caller approvals, native children and extra writable grants.
allowed_commands is validated exactly as in start_task (grammar, installed backend version, nested-subset cap) and the returned enforcement lists it as extra_allowed_commands. branch, base and fetch are validated the same way as start_task and shown as dispatch_git without running Git.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>"
},
"name": "preview_task_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| fetch | No | ||
| group | No | ||
| branch | No | ||
| backend | No | ||
| freedom | No | ||
| network | No | ||
| repo_path | Yes | ||
| fetch_required | No | ||
| allowed_commands | No | ||
| caller_approvals | No | ||
| git_https_rewrite | No | ||
| qualification_only | No | ||
| group_report_output | No | ||
| extra_writable_paths | No | ||
| caller_write_approvals | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||