Skip to content

Open-source SEO, GEO, and marketing skills for AI agents.

feat(meta-ads): drop the local account-baseline file (#130)

Tong Chen5094263b5221
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 46b8ec34..8e779c2b 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -5,14 +5,14 @@
},
"metadata": {
"description": "The official ads, analytics, SEO, and GEO plugin from NotFair.",
- "version": "0.27.13"
+ "version": "0.27.14"
},
"plugins": [
{
"name": "notfair",
"source": "./",
"description": "Operate Google, Meta, X, LinkedIn, Reddit, and TikTok Ads; WordPress and GoHighLevel; analyze Search Console and GA4; and run open-source SEO, GEO, and content workflows.",
- "version": "0.27.13",
+ "version": "0.27.14",
"author": {
"name": "NotFair",
"url": "https://notfair.co"
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 5dcf75e7..ed125440 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "notfair",
- "version": "0.27.13",
+ "version": "0.27.14",
"description": "The official ads, analytics, SEO, and GEO plugin from NotFair. Operate Google, Meta, X, LinkedIn, Reddit, and TikTok Ads; WordPress and GoHighLevel; analyze Google Search Console and GA4; and run open-source search and content workflows from any compatible agent.",
"author": {
"name": "NotFair",
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index cc90f98f..a3be415e 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "notfair",
- "version": "0.27.13",
+ "version": "0.27.14",
"description": "The official ads, analytics, SEO, and GEO plugin from NotFair.",
"author": {
"name": "NotFair",
diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json
index 8150ce86..b5a64612 100644
--- a/.cursor-plugin/plugin.json
+++ b/.cursor-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "notfair",
"displayName": "NotFair",
- "version": "0.27.13",
+ "version": "0.27.14",
"description": "One NotFair OAuth MCP for Google, Meta, X, LinkedIn, Reddit, and TikTok Ads, GA4, Search Console, GoHighLevel, and WordPress, plus open-source SEO, GEO, and content skills.",
"author": {
"name": "Notfair",
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21abb7fd..c4150adf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,12 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
+## [0.27.14] — 2026-09-25
+
+### Changed
+
+- Meta Ads anomaly checks compare the last 7 complete days with the prior 28 in the insights read the skill already makes, instead of maintaining a local `meta/account-baseline.json`. Campaigns whose budget, bid strategy, optimization event or status changed inside either window are marked, so a change-driven movement is reported with its cause.
+
## [0.27.13] — 2026-09-25
### Changed
diff --git a/VERSION b/VERSION
index bfac895f..523c6995 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.27.13
+0.27.14
diff --git a/gemini-extension.json b/gemini-extension.json
index ac6eee1a..6db1369f 100644
--- a/gemini-extension.json
+++ b/gemini-extension.json
@@ -1,6 +1,6 @@
{
"name": "notfair",
- "version": "0.27.13",
+ "version": "0.27.14",
"description": "Operate ads and analytics, and run open-source SEO, GEO, and content workflows with NotFair.",
"contextFileName": "AGENTS.md",
"mcpServers": {
diff --git a/meta-ads/manage/SKILL.md b/meta-ads/manage/SKILL.md
index faf043ac..4e77834c 100644
--- a/meta-ads/manage/SKILL.md
+++ b/meta-ads/manage/SKILL.md
@@ -72,49 +72,9 @@ what can be read or changed. Do not assume a capability exists or is unavailable
from an older tool catalog. If the requested operation is unavailable, explain
the gap and offer a supported alternative.
-## Account baseline
-
-Maintain `{data_dir}/meta/account-baseline.json` for anomaly detection across sessions. Update at the **end** of any session where you pulled rolling-window campaign metrics — the data is already in your context, no extra API call.
-
-```json
-{
- "metaAccountId": "<from config>",
- "lastUpdated": "<ISO 8601>",
- "campaigns": {
- "<campaignId>": {
- "name": "<campaign name>",
- "objective": "<OUTCOME_SALES | OUTCOME_LEADS | OUTCOME_TRAFFIC | ...>",
- "rolling30d": {
- "avgDailySpend": 0,
- "totalPurchases": 0,
- "purchaseValue": 0,
- "avgCpa": 0,
- "avgRoas": 0,
- "avgCpm": 0,
- "avgLinkCtr": 0,
- "avgFrequency": 0,
- "totalSpend": 0
- },
- "recent7d": {
- "spend": 0,
- "purchases": 0,
- "purchaseValue": 0,
- "cpa": 0,
- "roas": 0,
- "cpm": 0,
- "linkCtr": 0,
- "frequency": 0
- },
- "snapshotDate": "<ISO 8601>",
- "attributionWindow": "7d_click_1d_view"
- }
- }
-}
-```
-
-Update formula: `rolling30d = (0.7 × previous_rolling30d) + (0.3 × recent7d × (30/7))`. The `(30/7)` factor projects 7-day numbers to a 30-day equivalent. New campaigns: initialize `rolling30d` from `recent7d` directly. Cap at 50 campaigns (spend > $0 in last 30 days only) so the file stays small.
-
-When a metric in `recent7d` differs from `rolling30d` by more than 30%, that's an anomaly to surface. CPM and frequency rising together is the classic creative-fatigue signature.
+## Anomaly check
+
+For cross-session anomaly detection, compare each campaign's last 7 complete days with its prior 28 complete days in the same insights read you already make for performance. Do not maintain a local baseline file; live data is the baseline. Mark campaigns whose budget, bid strategy, optimization event or status changed inside either window, so a movement caused by that change is reported with it, not as an unexplained anomaly. If no account-specific anomaly band or business guardrail exists, rank the largest movements for review and label them as triage signals, not failures. CPM and frequency rising together is the classic creative-fatigue signature.
## Conditional handoffs
diff --git a/plugin.json b/plugin.json
index f994c364..62d49955 100644
--- a/plugin.json
+++ b/plugin.json
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "notfair",
- "version": "0.27.13",
+ "version": "0.27.14",
"description": "Operate Google, Meta, X, LinkedIn, Reddit, and TikTok Ads plus GA4, Search Console, GoHighLevel, and WordPress through one OAuth MCP, and run open-source SEO, GEO, and content workflows.",
"author": {
"name": "NotFair",
diff --git a/server.json b/server.json
index 4ce2dca6..161c5d53 100644
--- a/server.json
+++ b/server.json
@@ -8,7 +8,7 @@
"url": "https://github.com/nowork-studio/notfair-plugin",
"source": "github"
},
- "version": "0.27.13",
+ "version": "0.27.14",
"remotes": [
{
"type": "streamable-http",