You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 73d562b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/adr/0033-collocation-decision-table.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Re-evaluate those files against their remaining edges.
43
43
|`src/capture-admission/screen-recording-admission-ledger.ts`| keep (proposed move rejected) | The same direction is rejected. Capture-kit's screen-recording session resource and stop-recovery consume it. |
44
44
|`src/durable-json.ts`| keep (proposed move rejected) | Managed-allocation already imports this capture-kit module. Reversal forms a package cycle unless that import disappears first. A design that first removes that import stays open. Contracts beside `json.ts` was also rejected: under R18, contracts holds wire vocabulary, not durable-descriptor validation mechanics. Three managed-allocation `record-*` consumers explain the community coupling and can remain. |
45
45
|`src/snapshot/snapshot-evidence.ts`| keep | This is snapshot-capture mechanics. The daemon-dominated community represents consumers. A daemon-server home would force every platform and provider to depend on the daemon zone for capture evidence. |
46
-
|`src/snapshot/snapshot-freshness/index.ts`| keep | The reason for the row above applies. This is platform-neutral freshness policy. All its consumers, capture-kit itself, platforms, and daemon, import it downward today. |
46
+
|`packages/capture-kit/src/snapshot/snapshot-freshness/index.ts`(moved from `src/snapshot/snapshot-freshness/index.ts` in #2385) | keep | The reason for the row above applies. This is platform-neutral freshness policy. Its consumers today are the root command layer and the daemon; capture-kit owns the module. |
47
47
|`src/snapshot/touch-reference-frame.ts`| keep | Interaction and capture share these snapshot-geometry mechanics. Only capture-kit is below both. |
48
48
49
49
### contracts
@@ -154,7 +154,7 @@ They are not independent proof that the placement is optimal.
154
154
| File | Decision | Reason |
155
155
| --- | --- | --- |
156
156
|`src/daemon-diagnostics-scope.ts`| moved → `packages/daemon-contracts/src/daemon-diagnostics-scope.ts` ([#3297](https://github.com/callstack/agent-device/pull/3297) into `src/daemon-contracts/`, then the package extraction) | The complete zone resides in `packages/daemon-contracts`. Its directory derives zone ownership without per-file `ROOT_MODULE_ZONES` rows. An internal rename therefore needs no ownership-table edit. |
157
-
|`packages/daemon-contracts/src/device-claim-recovery.ts`| keep (shared-below-both) | The owner-scoped claim reconciler recovers durable resources from a dead owner's state directory. Daemon `open`/startup and daemonless `device release --stale` both run it. It therefore belongs below both. Runtime recovery may reside in `daemon-contracts` only when both sides run it and root composition supplies only the gateway, per ADR 0019 section 1. The package depends on `capture-kit`. Capture-kit cannot depend back on it, because that dependency forms a project-reference cycle through `selectors`. |
157
+
|`packages/daemon-contracts/src/device-claim-recovery.ts`| keep (shared-below-both) | The owner-scoped claim reconciler recovers durable resources from a dead owner's state directory. Daemon `open`/startup and daemonless `device release --stale` both run it. It therefore belongs below both. Runtime recovery may reside in `daemon-contracts` only when both sides run it and root composition supplies only the gateway, per ADR 0019 section 1. The package depends on `capture-kit`. Capture-kit cannot depend back on it: that dependency forms a direct project-reference cycle between `daemon-contracts` and `capture-kit`. |
158
158
|`src/daemon-policy-file.ts`| moved → `packages/daemon-contracts/src/daemon-policy-file.ts`| This shared daemon/client contract follows #2559 and #3288's `daemon-contracts` declaration. Rank-5 daemon-client dynamically imports it, so the spine requires a home below both. Package extraction supplies that physical home with manifest-owned exports. |
159
159
|`src/daemon.ts`| keep | This is the `internal/daemon` bundle entry. Umbrella §4 keeps composition roots at the root. |
160
160
|`src/platform-runtime-apple-runner-owner.ts`| retain for this batch | This is a `platform-runtime-*` composition seam. R13's exact-importer rule and ADR 0022's R76 ban on the `src/platform-runtime-*.ts` family key on its path. Relocation requires coordinated ownership changes to both declarations. The rules constrain the move without independently proving placement. |
0 commit comments