@sentry/junior-cloudflare 0.80.0 → 0.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin.yaml +1 -0
- package/skills/cloudflare/SKILL.md +2 -1
package/package.json
CHANGED
package/plugin.yaml
CHANGED
|
@@ -32,7 +32,7 @@ Load references conditionally based on the request:
|
|
|
32
32
|
## Workflow
|
|
33
33
|
|
|
34
34
|
1. Classify the request as read-only investigation or state-changing work.
|
|
35
|
-
2. Resolve target scope: explicit user account/zone/resource wins; otherwise use `cloudflare.account.id` and `cloudflare.
|
|
35
|
+
2. Resolve target scope: explicit user account/zone/resource wins; otherwise use `cloudflare.account.id`, `cloudflare.zone.id`, and `cloudflare.worker.name` config where relevant; otherwise discover with MCP and ask one focused question if ambiguous.
|
|
36
36
|
3. For any Cloudflare API call, search the MCP API spec first. Do not call Cloudflare API paths from memory or from bundled docs.
|
|
37
37
|
4. Keep investigation bounded: last 30 minutes for "right now", last 24 hours for retrospective checks, and recent N builds/deployments unless the user asks for more.
|
|
38
38
|
5. Before any state-changing API call, load [references/safety-and-permissions.md](references/safety-and-permissions.md), show current state and the intended change, then wait for explicit approval.
|
|
@@ -42,6 +42,7 @@ Load references conditionally based on the request:
|
|
|
42
42
|
|
|
43
43
|
- **Read-first.** Default to investigation. Do not execute writes in response to ambiguous requests like "fix this" or "roll it back" — investigate and propose a plan first.
|
|
44
44
|
- **Search owns API selection.** The bundled references give workflows, not API authority.
|
|
45
|
+
- **Respect channel defaults.** When a request mentions "the Worker", "our Worker", deploys, builds, logs, or Worker errors without naming a Worker, use `cloudflare.worker.name` as the default Worker target if it is configured.
|
|
45
46
|
- **Confirm before writes.** No Worker deploy, rollback, DNS create/update/delete, load balancer change, WAF rule change, Access policy change, or R2/KV/D1 destructive action without explicit user approval after showing current state and change summary.
|
|
46
47
|
- **Never delete data by default.** For R2, KV, and D1, support list/inspect/read. Avoid delete/truncate/drop unless the user explicitly asks and confirms.
|
|
47
48
|
- **Redact sensitive data.** Do not paste raw log bodies, Worker source, env var values, token values, or authorization headers.
|