Scheduled · 0 9 1 * *

Monthly platform audit

Adversarial review of every Worker, agent, and Workflow against the Cloudflare-Agents anti-pattern checklist. Surfaces drift before it becomes incidents.

Status

Draft

Trigger

Scheduled · 0 9 1 * *

Owner

devops

Steps

6

Definition

Steps, top to bottom.

  1. Snapshot all wrangler.tomls

    Pull every Worker config in the apps/ tree.

    Fetch
  2. Pull billing and invocation counts

    Prior-month spend and traffic per Worker.

    Fetch
  3. Pull Access policies

    CF Access app definitions; flag any drift from declared invariants.

    Fetch
  4. Adversarial review

    DevOps subagent runs each Worker through the §9 anti-pattern checklist; flags red/yellow/green.

    Agent
  5. Compose findings report

    Markdown report with per-Worker findings + suggested fixes + owner assignments.

    Agent → basal
  6. File issues

    One GitHub issue per ✗ finding, assigned to the Worker's owner.

    Deliver

Why we run this

The monthly platform audit is the system’s own immune system. It runs on the 1st of every month and produces a markdown report committed to docs/audits/, plus one issue per blocker.

This workflow is itself a Class A (shared) artifact — it touches infrastructure config and runs adversarial review against everything in apps/. Edits to its definition require AI-admin review like any other shared workflow.

The success metric isn’t the number of findings — it’s whether the findings get fixed. The “filed issues” step closes the loop by making each finding actionable, not just visible.

Run history

Mock data

Last six runs.

Durations, outcomes, and costs below are mock data — every number on this table is fabricated for the demo. The real run history will come from the workforce audit log + fleet-api Worker once Blocks 3 and 4 land (see /roadmap). The table renders the same; the source of truth changes.

When Status Duration Triggered by Version Cost
2026-05-10 07:00 Success 14.2s cron v3 $0.084
2026-05-09 07:00 Success 12.8s cron v3 $0.079
2026-05-08 07:00 Success 19.4s cron v3 $0.094
2026-05-07 07:00 Failed 11.7s cron v3 $0.012
2026-05-06 07:00 Success 13.1s cron v2 $0.081
2026-05-05 07:00 Success 16.4s cron v2 $0.090

Designer · Phase 4

Edit, version, A/B promote.

The in-UI designer lets you edit step lists, swap agents, adjust prompts and parameters, save a new version (immutable history), and promote a candidate when it wins on cost, latency, or quality. Wired with Phase 4. Today's edits go through a platform-team PR.

See /roadmap for sequencing.