Skip to content

Commit 586a714

Browse files
committed
chore(gates): retarget export maps, snapshots, and pins for the core moves
- packages/contracts exports ./deploy-result-target; contracts exports snapshot regenerated. - packages/host-kit exports ./doctor-lines, ./interaction-outcome and ./status-markers; R11 host-kit export pin extended. - R18 planted-ban message names @agent-device/host-kit/interaction-outcome as the WeakMap lifecycle owner instead of the retired src/core home.
1 parent 25803cc commit 586a714

6 files changed

Lines changed: 22 additions & 2 deletions

File tree

‎packages/contracts/package.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@
156156
"types": "./src/daemon-http.ts",
157157
"default": "./src/daemon-http.ts"
158158
},
159+
"./deploy-result-target": {
160+
"types": "./src/deploy-result-target.ts",
161+
"default": "./src/deploy-result-target.ts"
162+
},
159163
"./device": {
160164
"types": "./src/facades/device.ts",
161165
"default": "./src/facades/device.ts"

‎packages/host-kit/package.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
"types": "./src/diagnostics.ts",
4141
"default": "./src/diagnostics.ts"
4242
},
43+
"./doctor-lines": {
44+
"types": "./src/doctor-lines.ts",
45+
"default": "./src/doctor-lines.ts"
46+
},
4347
"./file": {
4448
"types": "./src/file.ts",
4549
"default": "./src/file.ts"
@@ -48,6 +52,10 @@
4852
"types": "./src/host-file.ts",
4953
"default": "./src/host-file.ts"
5054
},
55+
"./interaction-outcome": {
56+
"types": "./src/interaction-outcome.ts",
57+
"default": "./src/interaction-outcome.ts"
58+
},
5159
"./process": {
5260
"types": "./src/process.ts",
5361
"default": "./src/process.ts"
@@ -72,6 +80,10 @@
7280
"types": "./src/session-paths.ts",
7381
"default": "./src/session-paths.ts"
7482
},
83+
"./status-markers": {
84+
"types": "./src/status-markers.ts",
85+
"default": "./src/status-markers.ts"
86+
},
7587
"./transport": {
7688
"types": "./src/transport.ts",
7789
"default": "./src/transport.ts"

‎scripts/layering/contracts-exports.snapshot.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@agent-device/contracts/command",
3737
"@agent-device/contracts/command-platform-execution",
3838
"@agent-device/contracts/daemon-http",
39+
"@agent-device/contracts/deploy-result-target",
3940
"@agent-device/contracts/device",
4041
"@agent-device/contracts/device-boot",
4142
"@agent-device/contracts/device-readiness-runtime",

‎scripts/layering/contracts-implementation-policy.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ test('network traffic vocabulary cannot grow parser implementation inside contra
7878
test('contracts rejects mutable interaction-outcome lifecycle', () => {
7979
assert.match(
8080
messages('const targets = new WeakMap();', 'packages/contracts/src/interaction-outcome.ts')[0]!,
81-
/src\/core/,
81+
/host-kit\/interaction-outcome/,
8282
);
8383
});
8484

‎scripts/layering/contracts-implementation-policy.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function contractsImplementationAuthorityViolations(
4747
violation(
4848
file.path,
4949
1,
50-
'contracts may not own mutable interaction-outcome lifecycle; that WeakMap identity map belongs in src/core',
50+
'contracts may not own mutable interaction-outcome lifecycle; that WeakMap identity map lives in @agent-device/host-kit/interaction-outcome',
5151
),
5252
);
5353
}

‎scripts/layering/package-boundaries.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,14 +558,17 @@ test('the real tree parses, declares, and passes R11', () => {
558558
'@agent-device/host-kit/code-signature-cache',
559559
'@agent-device/host-kit/command',
560560
'@agent-device/host-kit/diagnostics',
561+
'@agent-device/host-kit/doctor-lines',
561562
'@agent-device/host-kit/file',
562563
'@agent-device/host-kit/host-file',
564+
'@agent-device/host-kit/interaction-outcome',
563565
'@agent-device/host-kit/process',
564566
'@agent-device/host-kit/project-runtime',
565567
'@agent-device/host-kit/request',
566568
'@agent-device/host-kit/retry',
567569
'@agent-device/host-kit/runtime-transport-hints',
568570
'@agent-device/host-kit/session-paths',
571+
'@agent-device/host-kit/status-markers',
569572
'@agent-device/host-kit/transport',
570573
'@agent-device/host-kit/version',
571574
]);

0 commit comments

Comments
 (0)