Repository navigation
Surface child permission requests in parent tasks - #4270
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Test evidence — a-parent-task-surfaces-and-resolves-its-child-session-permission-request — 0/1 screenshots passed · 3 assertions⚪ 0/1 screenshots passed · 3 assertions · 3 expectations passed · 0 failed · 0 pending
ℹ️ ASSERTION — 1. The parent identifies the blocked child without making the user open its sessionThe delegated-task row showed a shield and “Build isolated Azure repro · Executor Deep agent Needs permission”, while the parent approval panel named “Requested by Investigate the deployment failure”.
ℹ️ ASSERTION — 2. The parent exposes the child request and all decision controlsThe approval panel showed the requested shell scope with Deny, Allow once, and Allow for session enabled.
ℹ️ ASSERTION — 3. Approving from the parent clears the child's blocked stateAfter Allow once, the parent approval panel and child shield both disappeared, and the same child row returned to its running treatment.
⚪ UNVALIDATED — 4. a-parent-task-surfaces-and-resolves-its-child-session-permission-request artifact 3
Test run created 2026-09-01T05:02:28.193Z · Source: |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (5b48102e0e4139da0d0412757961bd4c43a7b67b). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
5b48102 to
1d1f7cf
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (1d1f7cf5a98418df86e924e1b1a897016df8487e). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Summary
Why
A delegated task could stop for permission while its parent continued to look busy. Resolving the request required finding and opening the child task. The parent now exposes that blocked state and lets the user make the permission decision in context.
Testing
corepack pnpm --dir apps/app exec bun test --isolate tests/session-sync-permissions.test.ts tests/session-sidebar-utils.test.ts tests/permission-approval-modal.test.ts tests/subagent-run-line.test.tsx— 30 passed, 0 failedcorepack pnpm --dir apps/app typecheck— passedcorepack pnpm evals:e2e parent-child-permission-approval --daytona— 1 passed, 0 failed, 0 skipped on the PR headgit diff --check— passedExact-head testkit evidence is published in the PR verification comment.