|
1 | | -// Catches: a session resource field (appLog, appLogFailure, audioProbe, perfCapture) written |
| 1 | +// Catches: a session resource field (appLog, appLogFailure, audioProbe, perfCapture, screenRecording) written |
2 | 2 | // from outside its declared owner module — R7's session-state-ownership shape applied to the |
3 | 3 | // narrower set of per-resource fields these session-scoped runtimes carry, where the same |
4 | 4 | // aliasing hazard (get()/set() hand back and re-put the live reference) applies. |
@@ -27,15 +27,12 @@ const SCANNED_ROOTS = ['src/daemon/', 'packages/capture-kit/src/capture-admissio |
27 | 27 | const RESOURCE_OWNERS: Readonly<Record<string, ReadonlySet<string>>> = { |
28 | 28 | appLog: new Set(['src/daemon/app-log-session-resource.ts', 'src/daemon/session-state.ts']), |
29 | 29 | appLogFailure: new Set(['src/daemon/app-log-session-resource.ts', 'src/daemon/session-state.ts']), |
30 | | - audioProbe: new Set(['src/daemon/audio-probe-session-binding.ts', 'src/daemon/session-state.ts']), |
| 30 | + audioProbe: new Set(['src/daemon/session-capture-binding.ts', 'src/daemon/session-state.ts']), |
31 | 31 | screenRecording: new Set([ |
32 | | - 'src/daemon/screen-recording-session-binding.ts', |
33 | | - 'src/daemon/session-state.ts', |
34 | | - ]), |
35 | | - perfCapture: new Set([ |
36 | | - 'src/daemon/perf-capture-session-binding.ts', |
| 32 | + 'src/daemon/session-capture-binding.ts', |
37 | 33 | 'src/daemon/session-state.ts', |
38 | 34 | ]), |
| 35 | + perfCapture: new Set(['src/daemon/session-capture-binding.ts', 'src/daemon/session-state.ts']), |
39 | 36 | }; |
40 | 37 |
|
41 | 38 | /** Durable session-resource records have one whole-record construction owner per domain. */ |
|
0 commit comments