**Title:** Siri AI: a tool intent that returns a dialog ends planning (suppressPlanning: true), so multi-step requests never reach step 2 **Environment:** iPad Pro (M4), iPadOS 27.3 beta 1 and beta 2, Siri AI developer preview, Xcode 27.3 (27C5020n). Siri logging profile installed. ## Summary When an App Intent that adopts `ToolIntent` returns a dialog (`ProvidesDialog`), Siri makes that dialog the final response and ends the planning loop. This happens even when the request clearly needs more steps, and even after the planner has loaded an app skill that says the task continues. My request needs two tools: 1. **Get Active Timers**: returns `[TimelineEntity]`. Each entity has a `trackedEvent: EventEntity?` property. 2. **Edit Event**: takes an `EventEntity` and renames it. With a dialog on Get Active Timers, the planner calls it, speaks its dialog ("Timer for … has been running in Work for 4 hours…") and stops. Edit Event is never called. The only change that makes the request work is removing the dialog from Get Active Timers, so that it returns `.result(value:)` only. Then the same request completes: the planner calls `get_entity_details` on the returned entity, then calls Edit Event with the correct `EventEntity`. I made no other changes (no indexing, no new parameters). ## Setup ```swift struct GetTrackingStatus: AppIntent { static var title: LocalizedStringResource = "Get Active Timers" func perform() async throws -> some IntentResult & ProvidesDialog & ReturnsValue<[TimelineEntity]> { // … return .result(value: timelineEntities, dialog: "Timer for \(eventName) has been running in \(timelineName) for \(duration).") } } @available(iOS 27.3, *) extension GetTrackingStatus: ToolIntent {} ``` The app skill (`edit-running-timer/SKILL.md`), shortened: > A running timer is an event that is still being tracked. Changing it always takes two tools, in this order: > 1. Call "Get Active Timers". … Pick the timeline the person means. > 2. Call "Edit Event". Set its Event parameter to that timeline's "Tracked Event" … > > "Get Active Timers" only reports which timers are running and changes nothing. When the person asked to rename or change a timer, the task isn't done after "Get Active Timers": always continue with "Edit Event". **Request:** "Edit the active running timer in Work and set its event name to designing an app icon" ## Log: with the dialog (iPadOS 27.3 beta 2), planning stops after step 1 The output is trimmed to the relevant lines (`…` marks cuts). All lines are from `intelligenceflowd` unless they say `Timelines`. ``` 22:07:28.728 [GMSPlanner] PCCPlannerAgent: Creating action validator trace for function call 1/1: view_skill 22:07:28.743 [GMSPlanner] [INSIGHTS_TIMELINE|App Skill|Skill-loaded step for edit-running-timer|🧩|] view_skill statement 36 22:07:29.467 [GMSPlanner] PCCPlannerAgent: Creating action validator trace for function call 1/1: timelines_get_active_timers 22:07:29.590 Timelines [com.apple.appintents:Execution] Invoking GetTrackingStatus.perform() 22:07:29.604 Timelines [com.apple.appintents:Execution] GetTrackingStatus.perform() finished 22:07:29.647 [Executor] ToolExecution: com.glimsoft.Timelines.GetTrackingStatusIntent received result dialog event. Storing to be returned with output 22:07:29.716 [ResponseGeneration] [PostExecutionDialogHandler]: Running 22:07:29.716 [ResponseGeneration] [PostExecutionDialogHandler]: Static dialog for statementResult either inapplicable or invalid. 22:07:29.737 [ResponseGeneration] [PostExecutionDialogHandler]: ExternalDialogHandler produced dialog tool action. Action="Action(statementId: StatementID(index: 42), tool: …builtIn(toolId: "com.apple.intelligenceflow.response.dialog.inform") …, isConfirmed: true …)" 22:07:29.737 [Executor] [handlePostToolExecutionResponse(…)] Issuing post execution response result. keepPlanningReason=nil. Result: action(Action(… "com.apple.intelligenceflow.response.dialog.inform" …)) 22:07:29.739 [GMSPlanner] [execute] Finished execution for action: com.glimsoft.Timelines.GetTrackingStatusIntent - suppressPlanning: true result.payload.suppressPlanning: true isIntermediateAction: false oldShouldSuppressPlanningFlag: false 22:07:29.747 [GMSPlanner] [INSIGHTS_TIMELINE|App Skill|Captured exited from skill edit-running-timer, relaying via get_skill_response|🧩|] get_skill_response statement 43 22:07:29.747 [GMSPlanner] [INSIGHTS_TIMELINE|Planning Loop|Ending - Normal completion|✅|] AgenticPlannerService: Ending the progressive planning loop and returning - Reason: Normal completion (planningDone=true) after 2 meaningful steps 22:07:29.749 [ResponseGeneration] Augmenting SystemResponse display items for …inform(…Dialog(content: "From Timelines: Timer for something cool has been running in Work for 4 hours, 39 minutes." …), items: [], handControlToUser: true))) ``` ## Log: without the dialog, the chain completes This is the same code, except that `perform()` returns `some IntentResult & ReturnsValue<[TimelineEntity]>` and `.result(value: timelineEntities)`. The run was on iPadOS 27.3 beta 1. With the dialog, the request also failed on beta 1, exactly as above. ``` 21:55:10.046 [GMSPlanner] PCCPlannerAgent: Creating action validator trace for function call 1/1: timelines_get_active_timers 21:55:10.336 Timelines [com.apple.appintents:Execution] Invoking GetTrackingStatus.perform() 21:55:10.350 Timelines [com.apple.appintents:Execution] GetTrackingStatus.perform() finished 21:55:10.405 [ResponseGeneration] [PostExecutionDialogHandler]: Running 21:55:10.405 [ResponseGeneration] [PostExecutionDialogHandler]: Static dialog for statementResult either inapplicable or invalid. 21:55:10.406 [ResponseGeneration] [PostExecutionDialogHandler]: No handling for external dialog required. Skipping. 21:55:10.407 [ResponseGeneration] [PostExecutionDialogHandler]: Request does not require suppression (shouldSuppress=false). 21:55:10.407 [GMSPlanner] [execute] Finished execution for action: com.glimsoft.Timelines.GetTrackingStatusIntent - suppressPlanning: false result.payload.suppressPlanning: false isIntermediateAction: false oldShouldSuppressPlanningFlag: false 21:55:11.073 [GMSPlanner] PCCPlannerAgent: Creating action validator trace for function call 1/1: get_entity_details 21:55:12.166 [GMSPlanner] PCCPlannerAgent: Creating action validator trace for function call 1/1: timelines_edit_event 21:55:12.315 Timelines [com.apple.appintents:Execution] Invoking EditEvent.perform() 21:55:12.349 Timelines [com.apple.appintents:Execution] EditEvent.perform() finished 21:55:12.422 [ResponseGeneration] [PostExecutionDialogHandler]: ExternalDialogHandler produced dialog tool action. …response.dialog.inform… 21:55:12.423 [GMSPlanner] [execute] Finished execution for action: com.glimsoft.Timelines.EditEvent - suppressPlanning: true … 21:55:12.425 [GMSPlanner] [INSIGHTS_TIMELINE|Planning Loop|Ending - Normal completion|✅|] … after 3 meaningful steps ``` Edit Event's own dialog ends planning too, but there that is correct, because it is the last step. ## Observations - The deciding line is `[execute] Finished execution … suppressPlanning: true … isIntermediateAction: false`. It comes right after `ExternalDialogHandler` converts the intent's `IntentDialog` into a `response.dialog.inform` action, with `keepPlanningReason=nil`. - The planner chose the right tools. It loaded the skill, which says the task isn't done after step 1, and called step 1 correctly. Then the dialog overrode both the skill and the user's request. The skill is reported as "exited". - There is an `isIntermediateAction` flag in the logs. I couldn't find a public way to set it: `ToolIntent` is an empty marker protocol, and I found no `IntentResult` option to mark a result as intermediate or "keep planning". - I found nothing about this in the iOS 27.3 beta 2 or Xcode 27.3 beta 2 release notes, or in the app skills / `ToolIntent` documentation. ## Questions 1. Is it intended that a dialog returned by a tool intent always ends planning, even partway through a multi-step request? 2. If it is, what's the recommended pattern for an intent that should speak a result when run on its own (Shortcuts, App Shortcuts, Show When Run), but should also work as an intermediate step for Siri AI? Is there a way to know that `perform()` is running as a planner tool, or to mark the result as intermediate? 3. Is removing the dialog the intended workaround? If so, what does Siri AI say when the dialog-less intent is the only step, e.g. "What timer is running?"