Skip to content

Commit 0fa63fe

Browse files
committed
chore(gates): move the wire-compat closure waivers to the request module
The daemon RPC closure gate waives `DaemonRequest`, `DaemonResponse` and `DaemonArtifact` by path, so the three keys follow the declarations from `daemon/types.ts` to `daemon/daemon-request.ts`. `DaemonRequest`'s rationale now says what it is — the server-side narrowing of the kernel declaration that fixes the wire shape — rather than calling it a re-export alias. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ujrc8LYmvM249WY8921J1Y
1 parent ca7cc78 commit 0fa63fe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/wire-compat/closure-policy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ export const WIRE_CLOSURE_WAIVERS: Readonly<Record<string, string>> = {
4343
'Local detail bag behind AppError; the wire form is DaemonError.details, typed as Record<string, unknown> and listed.',
4444
'src/daemon/client/daemon-client-metadata.ts#DaemonInfo':
4545
'Client-side record of where a daemon is listening (pid, ports, state dir). Never serialized into a request or response.',
46-
'src/daemon/types.ts#DaemonRequest':
47-
'Re-export alias of the listed kernel DaemonRequest; the declaration that fixes the shape is packages/kernel/src/contracts.ts#DaemonRequest.',
48-
'src/daemon/types.ts#DaemonResponse':
46+
'src/daemon/daemon-request.ts#DaemonRequest':
47+
'Server-side narrowing of the listed kernel DaemonRequest; the declaration that fixes the shape is packages/kernel/src/contracts.ts#DaemonRequest.',
48+
'src/daemon/daemon-request.ts#DaemonResponse':
4949
'Re-export alias of the listed kernel DaemonResponse; the shape is fixed by packages/kernel/src/contracts.ts#DaemonResponse.',
50-
'src/daemon/types.ts#DaemonArtifact':
50+
'src/daemon/daemon-request.ts#DaemonArtifact':
5151
'Re-export alias of the listed kernel DaemonArtifact; the shape is fixed by packages/kernel/src/contracts.ts#DaemonArtifact.',
5252
'src/remote/upload-stream.ts#UploadStreamProgressOptions':
5353
'Byte-progress callback options for local upload rendering. The bytes counted are digested through the request/response declarations; these options never cross the wire.',

0 commit comments

Comments
 (0)