fix(pi): strengthen final release proof

This commit is contained in:
brother7 committed 2026-08-24 15:47:57 +08:00
1 parent c7e777246e
commit df1151b5eb
19 files changed
+1120 -149

No files matched your search

@@ -176,6 +176,8 @@ describe('managed Pi worker opener', () => {
'resources.ready', 'worker.spawn', 'rpc.ready', 'session.open',
'resources.ready', 'worker.spawn', 'rpc.ready', 'session.open',
]);
expect(telemetry.slice(0, 4).every(({ cold }) => cold)).toBe(true);
expect(telemetry.slice(4).every(({ cold }) => !cold)).toBe(true);
expect(JSON.stringify(telemetry)).not.toContain(created.id);
expect(JSON.stringify(telemetry)).not.toContain('PRIVATE MANAGED PROMPT');
expect(JSON.stringify(telemetry)).not.toContain('provider-secret-value');