Personal Telegram developer console for GitHub

test(cp4): update manifest contract for completed ops

davoodmehraban89 committed Oct 5, 2026 at 06:08 UTC fe2eec083e4db1c21e936c459a4b2f88481d441a
1 file changed +4 -2
test/cloudflare-plugin.test.js
+4 -2
@@ -14,11 +14,13 @@ function telegramContract(view) {
14 }
15 }
16
17 -test('Cloudflare plugin exposes only READ actions in phase 1', () => {
17 +test('Cloudflare plugin exposes CP4 read and destructive actions explicitly', () => {
18 const plugin = createCloudflarePlugin({ cloudflare: { isConfigured: () => true } });
19 assert.equal(plugin.manifest.id, 'cloudflare');
20 assert.deepEqual(plugin.manifest.actions, {
21 - 'cloudflare.worker.status': { risk: 'READ' }
21 + 'cloudflare.worker.status': { risk: 'READ' },
22 + 'cloudflare.worker.versions': { risk: 'READ' },
23 + 'cloudflare.worker.deploy_version': { risk: 'DESTRUCTIVE' }
24 });
25 });
26