11# Code ownership
22
3- Read this for shared contracts, package boundaries, request routing, or diagnostics.
43Before you edit a module with many callers, run ` pnpm depgraph affected <path> ` to identify callers and guarantees.
54
65## Declarations
76
8- Read the owner. Do not copy its policy into consumers.
9-
107| Question | Owner |
118| --- | --- |
129| Command names | ` packages/command-registry/src/catalog.ts ` |
@@ -15,8 +12,11 @@ Read the owner. Do not copy its policy into consumers.
1512| Interaction guarantees | ` packages/contracts/src/interaction-guarantees.ts ` |
1613| Runtime-fact admission | ` packages/daemon/src/core/runtime-admission.ts ` , ` src/platform-runtime-gateway.ts ` |
1714| Input fields and audiences | ` src/commands/common-input-fields.ts ` , ` src/commands/input-audience.ts ` |
15+ | Released SDK default hosts | ` src/sdk/host.ts ` |
1816
19- Shared selectors belong in ` @agent-device/selectors ` .
17+ For SDK entries ` android-adb ` , ` artifacts ` , ` limrun ` , ` metro ` , and ` remote-config ` , use ` captureSdkHost ` for defaults.
18+ For command-host readers, use ` withSdkHost ` .
19+ Keep provider callbacks on their supplied host.
2020Request cancellation and progress belong in ` @agent-device/host-kit/request ` .
2121Per-call abort guards belong beside transports in ` src/daemon-client/daemon-client-transport.ts ` .
2222Contracts shared across layers belong in ` packages/contracts/src ` .
@@ -32,16 +32,9 @@ Before you add behavior, split files over 1,000 lines, except generated or fixtu
3232Split a source module and its tests together.
3333Do not extend legacy interaction or platform index test aggregations.
3434Keep tests beside their named module. Put repository artifact guards in ` test/repo-guards/ ` .
35- Shared helpers belong in ` @agent-device/test-kit ` , a devDependency.
36- Production code never imports test-kit.
37- Test-kit never depends on:
38-
39- - Platforms.
40- - Providers.
41- - The daemon.
42- - Root.
43-
44- Do not export test support from production packages.
35+ Shared test support belongs in ` @agent-device/test-kit ` , a devDependency.
36+ Production code must not import test-kit.
37+ Test-kit must not depend on platforms, providers, the daemon, or root.
4538
4639## Diagnostics
4740
0 commit comments