Skip to content

Observability, health, and operator tasks

Persistent audit / rows: the canonical skill (see the Ops section in fifa-mcp-server.md) lists which Supabase tables receive rows for study_queries, scout_queries, saved exams, hashed anonymous IP counters, and similar. Scout read tools do not write a per-row audit; mutations happen in scheduled crons, admin routes, and refresh_scout_player.

Public health (no auth)

bash
curl -s https://fifa.qtech.hr/api/health

Typical body:

  • ok: true
  • service: "fifa-agent-mentor-api"

Operator: mint a fam_live_ key

Premium profile required. The canonical skill shows POST with x-worker-secret to /api/internal/mcp/mint and the repo’s npm run mcp:mint helper.

Deployment smoke (from repo)

With FAM_LIVE_KEY and ADMIN_WORKER_SECRET exported: npm run ops:smoke at the fifa-agent-mentor package root in this repository.

Refresh schedule: daily 06:30 UTC Scout spotlight, weekly deep player refresh Monday 02:00 UTC, Wednesday 03:00 UTC Grok mid-week touch-up, Market Pulse 07:25 UTC daily / Mon 07:40 UTC weekly — Player data freshness · Ops.

fam_live_ caps: default 150 / day and 2000 / month (UTC) for premium agent tools.

Case research automation (Cases Workspace)

Background Case research runs the Cursor Cloud agent via GitHub Actions (.github/workflows/case-research.yml). Operators must configure Wrangler secrets (GITHUB_DISPATCH_TOKEN, GITHUB_DISPATCH_OWNER, GITHUB_DISPATCH_REPO) and repository Action secrets (CURSOR_API_KEY, LAW_LAB_INGEST_SECRET, optionally FIFA_MCP_API_KEY). Full checklist: case-research-operator-checklist.md in the repo.

NextChangelog → · Cases workspace →