Grand Quiz โ Production Agents with the GitHub Copilot SDK
Lesson 11: Grand Quiz โ Production Agents with the GitHub Copilot SDK
Twenty questions, two per lesson, spanning Foundations (1โ2), State (3โ4), Guardrails (5โ6), Extension (7โ8), and Operations (9โ10). Answer all twenty to see your grade. If something catches you out, the lesson number is worth revisiting before you ship.
๐ง Grand Quiz
1. What is the SDK's actual role in a Copilot SDK application?
2. Which single setting removes ambient OS tools, bundled skills, and implicit plugins, and why is it required for shared servers?
3. A prompt produces three assistant.turn_start/assistant.turn_end pairs. What does that tell you?
4. Which envelope field distinguishes sub-agent events from root-agent events, and what is its value on the root agent?
5. What is not persisted in session state, with a direct design consequence?
6. Why should a clear_context tool set isTerminal: true?
7. A tool handler returns undefined on its happy path. What does the runtime report?
8. A tool returns resultType: "failure". Which hook observes it, and what does it receive?
9. Which onPreToolUse return value hands the decision to the permission handler rather than resolving it?
10. Why is onPostToolUse the right place to redact secrets, and what should it return when nothing matched?
11. A session has enableManagedSettings: true and you pass onPermissionRequest: approveAll. What happens?
12. Which permission decision is most dangerous in a multi-tenant system, and what scope does it grant?
13. A custom agent has a skills list; a sub-agent omits the field. What does the sub-agent receive?
14. Which MCP OAuth model keeps the runtime owning PKCE, state, persistence and refresh while your host merely receives the callback?
15. You want the main agent unable to run a context-heavy tool so it must delegate. Which setting?
16. The agent has already committed to a destructive tool call. You send a steering message. What is the guarantee?
17. You need a reliable completion signal for a headless job. Which event, and why not the other?
18. Why is maxAiCredits a soft cap for both sessions and workflows?
19. A multi-user app passes each user's OAuth token. Which extra flag is required, and what breaks without it?
20. In a container, "resume" silently behaves like "create" after every restart. Most likely cause?
Answered 0 of 20
Where To Go Next
Wire up telemetry.otlpEndpoint and sessionLimits on your first real deployment โ both are one-line wins.
Write the guardrail evals from Lesson 9 layer 2 before your next prompt change.
Read the CHANGELOG โ several surfaces you relied on here are explicitly experimental and will move.