Top-down
From the extension entry point activate → Controller → the Task main loop → the tool system → Provider → prompts and modes → MCP / sub-agents, expanded layer by layer.
A learning site that dismantles the cline/cline VSCode AI coding extension layer by layer. Every step links directly to the corresponding source lines on GitHub, pinned to tag v4.0.10.