## Extensions inside those boundaries

The earlier parts established what the runtime keeps\,&#32;what it shares\,&#32;and what an operation does not prove\.&#32;This part turns those lessons into interface design\.

Start with the smallest appropriate surface\.&#32;A human command can answer locally\.&#32;A model\-callable tool needs a schema and a useful result contract\.&#32;A skill supplies guidance\,&#32;not executable enforcement\.&#32;An SDK host owns initialization and disposal\.&#32;A plugin selects distribution entries\;&#32;installing it and executing a factory are different events\.

### Follow the progressive projects

**Seed Desk**&#32;begins with a welcome command and a read\-only tool over the same fictional information\.&#32;It grows into inventory queries\,&#32;then branch\-local reservations with exact IDs\,&#32;revision checks\,&#32;human\-granted authority\,&#32;and persisted state\.&#32;Load only one complete Seed Desk stage at a time\:&#32;all stages intentionally own&#32;`/seeds`\.

**Review Desk**&#32;keeps a different promise\.&#32;A person can edit and accept a release note locally\;&#32;acceptance does not publish it\.&#32;The agent’s one\-action grant is held in memory and tied to the session and revision\.&#32;Pending dialogs must be aborted and generation\-invalidated so a late positive response cannot restore revoked authority\.&#32;Standard dialogs and a native panel expose the same small domain through different presentation capabilities\.

**Package Lab**&#32;follows Field Notes from one file to helpers\,&#32;a manifest\,&#32;optional features\,&#32;and an embedded SDK host\.&#32;Its selection is factory\-local\,&#32;not transcript\-local\:&#32;a new conversation can reuse the same closure\.&#32;The package chapters make that lifetime correction explicit rather than concealing it behind the word session\.

All supplied files remain available under their original paths in&#32;[the complete archive](<https://present-sketch-tp94.here.now/examples.zip>)\,&#32;including adjacent descriptions\,&#32;JSON fixtures\,&#32;manifests\,&#32;and helper modules\.&#32;Additional complete exercises printed in the chapters remain printed exercises\;&#32;they are not silently relabelled as separately observed downloads\.

### Match the host before claiming the behavior

The examples target the recorded custom build\.&#32;Bun and the named runtime packages are real prerequisites where used\.&#32;Do not replace an unavailable custom dependency with an unrelated upstream package and call the original example verified\.

Binding a factory is not initializing its live actions\.&#32;A session reload is not necessarily a factory reimport\.&#32;`hasUI`&#32;is not proof that a native component works in RPC or ACP\.&#32;A provider appearing in a catalog is not proof of authentication or inference\.&#32;A file\-fallback adapter is not an elevated writer without a real host broker and policy\.

Those distinctions are part of the teaching\,&#32;not unfinished work to paper over with successful no\-ops\.

### Keep authority inside the domain

Host approval\,&#32;the example’s human grant\,&#32;and operating\-system authority are separate gates\.&#32;In\-process extension code is trusted code\;&#32;`isProjectTrusted()`&#32;is not a sandbox in the described build\.&#32;Revisions prevent stale actions only when the domain validates them\,&#32;and cancellation before commit is different from cancellation after a stored effect\.

Read the focused laboratories after the progressive projects\,&#32;then use the complete public feature inventory and all 46 event descriptions as references\.&#32;The final debugging and distribution chapters explain what evidence is needed at each layer\.&#32;No real provider\,&#32;authentication\,&#32;privileged\-broker\,&#32;or publication exercise is added by this unified edition\.
