@canonry/canonry 7.108.2 → 7.110.0
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/assets/agent-workspace/skills/aero/SKILL.md +16 -7
- package/assets/agent-workspace/skills/aero/references/aeo-discovery.md +40 -30
- package/assets/agent-workspace/skills/aero/references/agent-operations.md +14 -7
- package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +12 -20
- package/assets/agent-workspace/skills/aero/references/memory-patterns.md +3 -3
- package/assets/agent-workspace/skills/aero/references/orchestration.md +22 -9
- package/assets/agent-workspace/skills/aero/references/portfolio-analysis.md +10 -8
- package/assets/agent-workspace/skills/aero/references/regression-playbook.md +11 -7
- package/assets/agent-workspace/skills/aero/references/seo-analysis.md +4 -3
- package/assets/agent-workspace/skills/aero/references/site-health.md +3 -2
- package/assets/agent-workspace/skills/aero/references/wordpress-elementor-mcp.md +48 -219
- package/assets/agent-workspace/skills/aero/soul.md +1 -1
- package/assets/agent-workspace/skills/canonry/SKILL.md +14 -7
- package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +18 -25
- package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +12 -20
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +70 -27
- package/assets/agent-workspace/skills/canonry/references/google-business-profile.md +18 -24
- package/assets/agent-workspace/skills/canonry/references/google-marketing.md +10 -10
- package/assets/agent-workspace/skills/canonry/references/indexing.md +25 -27
- package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +8 -15
- package/assets/agent-workspace/skills/canonry/references/wordpress-integration.md +6 -2
- package/assets/assets/{AccessControls-B6bkOAge.js → AccessControls-DmKPF5t5.js} +2 -2
- package/assets/assets/{AgentSetupPage-H8VoauIK.js → AgentSetupPage-BvoJ7cu0.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-Cmm537Mw.js → AuditHistoryPanel-GHjaPPXk.js} +1 -1
- package/assets/assets/{BacklinksPage-Dg6IJr83.js → BacklinksPage-Ca3l7bel.js} +1 -1
- package/assets/assets/{ChartPrimitives-C1meaNiX.js → ChartPrimitives-CJLgYfSw.js} +1 -1
- package/assets/assets/{HistoryPage-DMmZ0fSd.js → HistoryPage-HqdlYIsd.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-x4S_SV30.js → MeasurementPropertyPage-D71Ki-q4.js} +1 -1
- package/assets/assets/ProjectPage-wGYGNnLC.js +15 -0
- package/assets/assets/{RunsPage-DG43ZJib.js → RunsPage-CeXFTDg4.js} +1 -1
- package/assets/assets/{ServerTrafficSection-B-QGjFGD.js → ServerTrafficSection-BZVlcCO2.js} +1 -1
- package/assets/assets/{SettingsPage-CJlAiPn3.js → SettingsPage-MiW1TGtF.js} +1 -1
- package/assets/assets/ToneBadge-BXxSLZUc.js +60 -0
- package/assets/assets/{TrafficPage-Dlp26Fvy.js → TrafficPage-1ZXZ2BLa.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-D-x32dzk.js → TrafficSourceDetailPage-BJPiUWus.js} +1 -1
- package/assets/assets/{account-context-C66suepK.js → account-context-DHUo7ntg.js} +1 -1
- package/assets/assets/{agent-trust-copy-BKQRIoVJ.js → agent-trust-copy-x8ECjEJu.js} +1 -1
- package/assets/assets/{card-iPmHn3JZ.js → card-bE38V9NH.js} +1 -1
- package/assets/assets/{index-C05Wdzzv.js → index-Ce3zYiH3.js} +15 -15
- package/assets/assets/{query-client-D_jULVYr.js → query-client-CBtgvGgy.js} +1 -1
- package/assets/assets/{react-query-ih29UP0I.js → react-query-CsgUn_pT.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-sHrGO6oc.js → react-sigma_core.esm.min-DeLn6mIk.js} +1 -1
- package/assets/assets/{server-traffic-BScF0-_t.js → server-traffic-Dwwd7cw6.js} +1 -1
- package/assets/assets/{service-DYJdF5mP.js → service-Bq_5mBI4.js} +1 -1
- package/assets/index.html +8 -8
- package/dist/{ads-IJHKPMDL.js → ads-VITOHLIW.js} +3 -3
- package/dist/{agent-X5SDBTII.js → agent-N57IKFTH.js} +10 -10
- package/dist/{agent-ask-UPROPFVK.js → agent-ask-VPK4ED7D.js} +3 -3
- package/dist/{agent-conversations-A7W74X6Q.js → agent-conversations-DPEGQ5NJ.js} +3 -3
- package/dist/{agent-journeys-WOLFWP3G.js → agent-journeys-7AS543HY.js} +3 -3
- package/dist/{agent-memory-TH6ORG63.js → agent-memory-OKKNU2MA.js} +3 -3
- package/dist/{agent-providers-FKVRHV4J.js → agent-providers-JZGGMH5H.js} +3 -3
- package/dist/{agent-transcript-UFEBYD4L.js → agent-transcript-AICHEB4B.js} +3 -3
- package/dist/{analytics-XNFXAKRP.js → analytics-FXNYSIAY.js} +3 -3
- package/dist/{apply-O46BRKQG.js → apply-DYYB2I2S.js} +3 -3
- package/dist/{backfill-IUCWBDEI.js → backfill-CXKKDOST.js} +10 -10
- package/dist/{backlinks-PB2Y3APJ.js → backlinks-442C4H4M.js} +3 -3
- package/dist/{bing-YOUZDEA2.js → bing-HRSXPL7O.js} +3 -3
- package/dist/{bootstrap-E4EI2W54.js → bootstrap-U5UVQDHJ.js} +10 -10
- package/dist/{cdp-72553DTZ.js → cdp-JSOEQZJJ.js} +7 -7
- package/dist/{chunk-46QQ3MQC.js → chunk-35H5E662.js} +1 -2
- package/dist/{chunk-7K3EFBNK.js → chunk-3AVO5OWE.js} +26 -1
- package/dist/{chunk-WTNB7B2K.js → chunk-3WAGCCAO.js} +1 -1
- package/dist/{chunk-WJUF7P7N.js → chunk-4CTVYOBQ.js} +1 -1
- package/dist/{chunk-K6HCS36A.js → chunk-5RMDU4MM.js} +6 -6
- package/dist/{chunk-PYLSLW6L.js → chunk-5SN2O7QH.js} +1 -1
- package/dist/{chunk-VGJCR6MC.js → chunk-66OTF2QQ.js} +587 -354
- package/dist/{chunk-JH6E6IV4.js → chunk-7GU4F2QO.js} +2 -2
- package/dist/{chunk-IZMQNTWQ.js → chunk-A334LHJ7.js} +3 -3
- package/dist/{chunk-V342HTLC.js → chunk-DMCJJ5FT.js} +3 -3
- package/dist/{chunk-QJGQOAUK.js → chunk-ES7XSOBY.js} +1 -1
- package/dist/{chunk-5KH7Y233.js → chunk-EU6JYD3C.js} +5 -5
- package/dist/{chunk-OEV6HQ3X.js → chunk-FEIDW5BU.js} +70 -2
- package/dist/{chunk-4FEKXZYP.js → chunk-FRKHFU6D.js} +5 -5
- package/dist/{chunk-J7RHAKTA.js → chunk-HGKB6J7I.js} +4 -4
- package/dist/{chunk-7XDDCPZV.js → chunk-HH4XK3FX.js} +1 -1
- package/dist/{chunk-LU3TWJX7.js → chunk-HX4KJWQO.js} +3 -3
- package/dist/{chunk-FU324DV3.js → chunk-JJ7RXQ2W.js} +2 -2
- package/dist/{chunk-AVBTCCAY.js → chunk-JXFFKZOI.js} +2 -2
- package/dist/{chunk-QNSTLSVL.js → chunk-M7R7GSO5.js} +2 -2
- package/dist/{chunk-6OBPZ6WK.js → chunk-ME74SV2T.js} +1 -1
- package/dist/{chunk-MA5VHGWC.js → chunk-OJYY6W5S.js} +1438 -1206
- package/dist/{chunk-CLWAZBJY.js → chunk-Q3IXAH34.js} +1 -1
- package/dist/{chunk-CORHE557.js → chunk-QIGC5JGR.js} +4 -4
- package/dist/{chunk-HAOLFBSD.js → chunk-QXBHZSOW.js} +3 -3
- package/dist/{chunk-6Y3I2QFU.js → chunk-RHY7GL5R.js} +2 -2
- package/dist/{chunk-2S25YWMO.js → chunk-S2I5FPQC.js} +1 -1
- package/dist/{chunk-EFY5C7ZJ.js → chunk-TV6BFBRI.js} +4 -4
- package/dist/{chunk-PKD22D4H.js → chunk-UC2LPOW4.js} +1 -1
- package/dist/chunk-UX3HJV2V.js +12 -0
- package/dist/{chunk-SHCFV7PL.js → chunk-VDAC54IW.js} +7 -7
- package/dist/{chunk-HOKR2Q26.js → chunk-VYPDVWRG.js} +1 -1
- package/dist/{chunk-BPKV6YLN.js → chunk-XS3S3UQE.js} +7 -7
- package/dist/{chunk-HABH5YAF.js → chunk-YKEXZBB4.js} +1 -1
- package/dist/{chunk-3XYCTAL7.js → chunk-ZABO7FFF.js} +13 -15
- package/dist/{chunk-E2ACURKW.js → chunk-ZVKWDSKW.js} +2 -2
- package/dist/{chunk-L6G22DGG.js → chunk-ZVLZ7YFW.js} +366 -366
- package/dist/{citations-A3N7E44V.js → citations-A6QP2QOT.js} +4 -4
- package/dist/{cli-catalog-2IKVWAJ7.js → cli-catalog-OJT3WVRE.js} +3 -3
- package/dist/{cli-commands-SEYCDGTO.js → cli-commands-KQQPOXIP.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-CZV7O3YY.js → competitor-AY5SURO6.js} +3 -3
- package/dist/{content-7Y6QZH2G.js → content-UZJF7XQV.js} +3 -3
- package/dist/{dashboard-OOCOW7VZ.js → dashboard-IXNMMT5P.js} +6 -6
- package/dist/{demo-72QLTRMQ.js → demo-Y7DDERG7.js} +1 -1
- package/dist/{demo-server-NFJOZ6ZF.js → demo-server-PNPTTPGQ.js} +13 -12
- package/dist/{discover-LUCA6O5X.js → discover-45FOFNGO.js} +4 -4
- package/dist/{discover-eval-U2XY45WE.js → discover-eval-CJ5G32A6.js} +3 -3
- package/dist/{doctor-4O3ZZJAG.js → doctor-2R4J6QC7.js} +3 -3
- package/dist/{evidence-COM64MWY.js → evidence-HDUJMIIR.js} +3 -3
- package/dist/{export-cmd-HEQ5TZER.js → export-cmd-3AXP4C3S.js} +3 -3
- package/dist/{ga-F5KCSFBL.js → ga-RYK2FEEH.js} +3 -3
- package/dist/{gbp-GNHJKLUF.js → gbp-TAA3TNDA.js} +16 -5
- package/dist/{google-SAW6YWIC.js → google-62PQ4SMC.js} +4 -4
- package/dist/{google-marketing-SIZWYSL2.js → google-marketing-UWGFDUUZ.js} +1 -1
- package/dist/{health-cmd-5IZFIQK2.js → health-cmd-ZDHMZLYQ.js} +4 -4
- package/dist/{history-O3VAYWT6.js → history-RVBQUMCX.js} +3 -3
- package/dist/index.d.ts +87 -3
- package/dist/index.js +26 -25
- package/dist/{init-KAEFZHQB.js → init-XP3J3HPB.js} +12 -12
- package/dist/{insights-UFSQCY2N.js → insights-I2YS7U6L.js} +3 -3
- package/dist/intelligence-service-OHEFN77N.js +16 -0
- package/dist/{journeys-XUPV4POH.js → journeys-BELWHYCZ.js} +3 -3
- package/dist/{keys-MWIC2RAM.js → keys-XDILBZFM.js} +3 -3
- package/dist/{keyword-BI6JIKFU.js → keyword-BQ4ECK2Z.js} +3 -3
- package/dist/{logs-DJAPNQRC.js → logs-UAZUYRCJ.js} +3 -3
- package/dist/{mcp-K7KJOU2D.js → mcp-4262JRAS.js} +4 -4
- package/dist/mcp.js +10 -9
- package/dist/{measurement-plan-IZ3ONXKO.js → measurement-plan-D4DFV7XU.js} +5 -5
- package/dist/{notify-23XROT44.js → notify-TIAGVEYL.js} +12 -22
- package/dist/{organic-evidence-MY3YS2FV.js → organic-evidence-2TUODD26.js} +3 -3
- package/dist/{overview-XF3HRTRP.js → overview-WP2DO3GW.js} +5 -5
- package/dist/{project-BTX7G7RS.js → project-OOUUH5QM.js} +3 -3
- package/dist/{project-setup-OEF4VHVO.js → project-setup-HBKPIBNL.js} +3 -3
- package/dist/{query-67PA6WZ2.js → query-M7XT5UL3.js} +3 -3
- package/dist/{research-AFDDYAZS.js → research-O36LMQ6N.js} +3 -3
- package/dist/{results-export-6BI6P2MI.js → results-export-EQWWL2FH.js} +3 -3
- package/dist/{run-24TJZZXB.js → run-2I7SGZWI.js} +5 -5
- package/dist/{schedule-J2LIJ52P.js → schedule-UIPFPM64.js} +3 -3
- package/dist/{search-6RAWS2IO.js → search-L3BSPUWL.js} +3 -3
- package/dist/{serve-IURZ4D4U.js → serve-CKQIXMZH.js} +27 -26
- package/dist/{session-ZZG6G4D7.js → session-JMUEO4JX.js} +14 -13
- package/dist/{settings-UV6TFSYN.js → settings-CCYLUD6M.js} +3 -3
- package/dist/{sitemaps-YVX6NKUG.js → sitemaps-QKEA3DLO.js} +3 -3
- package/dist/{skills-6GYQKVDM.js → skills-6QCTDYJX.js} +2 -2
- package/dist/{snapshot-N6RFEDB5.js → snapshot-SPVUDPYM.js} +3 -3
- package/dist/{src-U2E6JQJF.js → src-TV6FYYJC.js} +4 -2
- package/dist/{status-HZHN6UNX.js → status-FU5K5ZIP.js} +5 -5
- package/dist/{technical-aeo-ZQD4Q7DP.js → technical-aeo-A2UNMVHB.js} +3 -3
- package/dist/{telemetry-GQA2LXOM.js → telemetry-4UAREPKB.js} +4 -4
- package/dist/{tools-XH6DGBGV.js → tools-OLOHKI7B.js} +12 -11
- package/dist/{traffic-Y6T2OKJF.js → traffic-3TQUDBQB.js} +5 -5
- package/dist/{trends-DTHOUJUU.js → trends-IHC2MH5V.js} +3 -3
- package/dist/{users-JSG4WKPW.js → users-TYU5PIYM.js} +3 -3
- package/dist/{visibility-stats-4FW4DZSK.js → visibility-stats-BWJF57ON.js} +4 -4
- package/dist/{wordpress-AHTU5C7M.js → wordpress-T4CVB32J.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/ProjectPage-DnDw0Cvk.js +0 -15
- package/assets/assets/ToneBadge-BkNG9buI.js +0 -60
- package/dist/intelligence-service-OZIEPTCK.js +0 -16
|
@@ -191,7 +191,7 @@ counted and are listed in `leads.countedEvents.ignoredKeyEvents`; configure
|
|
|
191
191
|
one as a lead event to count it. Omitted
|
|
192
192
|
`measurement.countKeyEvents` means on; `--no-count-key-events` (or
|
|
193
193
|
`countKeyEvents: false`) counts only the configured events. When the counted set
|
|
194
|
-
changes, the next GA sync refreshes
|
|
194
|
+
changes, the next GA sync refreshes 180 days of lead-event data. A failed
|
|
195
195
|
key-event read keeps the previous list and never fails the sync.
|
|
196
196
|
|
|
197
197
|
The CLI sends the revision it read, or validates an explicit positive
|
|
@@ -211,11 +211,10 @@ The native MCP tool `canonry_project_update` accepts the same partial request.
|
|
|
211
211
|
|
|
212
212
|
```bash
|
|
213
213
|
cnry get <project> scores.mentionShare.value
|
|
214
|
-
cnry get <project>
|
|
215
|
-
cnry get <project>
|
|
216
|
-
cnry get <project> insights[0].severity
|
|
214
|
+
cnry get <project> mentionCoverage.populations --format json
|
|
215
|
+
cnry get <project> topInsights
|
|
217
216
|
cnry get <project> latestRun.status
|
|
218
|
-
cnry get <project> --from overview
|
|
217
|
+
cnry get <project> --from overview mentionCoverage.selection # pick a registered source
|
|
219
218
|
cnry get <project> <path> --format json # raw JSON output
|
|
220
219
|
```
|
|
221
220
|
|
|
@@ -244,7 +243,7 @@ cnry snapshot "Acme Corp" --domain acme.example.com --provider gemini --format j
|
|
|
244
243
|
cnry snapshot "Acme Corp" --domain acme.example.com --provider-mode api # all configured API providers
|
|
245
244
|
cnry snapshot "Acme Corp" --domain acme.example.com --provider-mode browser --queries "best widget suppliers"
|
|
246
245
|
|
|
247
|
-
cnry run <project> # sweep
|
|
246
|
+
cnry run <project> # sweep the project's configured measurement scope
|
|
248
247
|
cnry run preview <project> --format json # stored-only workload/admission for the next default full manual sweep
|
|
249
248
|
cnry run <project> --provider gemini # single provider only
|
|
250
249
|
cnry run <project> --query "alpha" --query "beta" # scope sweep to a subset of tracked queries (repeatable)
|
|
@@ -452,6 +451,7 @@ cnry analytics <project> --feature gaps # brand gap analysis — mention
|
|
|
452
451
|
cnry analytics <project> --feature sources # source breakdown by category
|
|
453
452
|
cnry analytics <project> --window 7d # time window: 7d, 30d, 90d, all
|
|
454
453
|
cnry analytics <project> --feature metrics --query-class non-brand # branded|non-brand answers only (metrics and sources); omitted = all, which pools both
|
|
454
|
+
cnry organic-evidence <project> --period 90 --format json # reconcile stored Search Console, GA4, and server traffic evidence
|
|
455
455
|
```
|
|
456
456
|
|
|
457
457
|
### Cited-source rankings (`cnry sources`)
|
|
@@ -610,7 +610,7 @@ cnry backfill insights <project> # backfill insights for all comple
|
|
|
610
610
|
cnry backfill insights <project> --from-run <id> --to-run <id> # backfill a range
|
|
611
611
|
```
|
|
612
612
|
|
|
613
|
-
|
|
613
|
+
`cnry health` reports mention and citation rates with separate denominators. Use `cnry overview` for coverage by query class and scoped mention share.
|
|
614
614
|
|
|
615
615
|
### Content-target dismissals
|
|
616
616
|
|
|
@@ -668,6 +668,16 @@ cnry competitor suggest <project> --window 30d --min-answers 3 --query-class non
|
|
|
668
668
|
|
|
669
669
|
`competitor suggest` reads stored answer and citation evidence and ranks possible competitors. It never starts a sweep or writes data. Use `--format jsonl` for one candidate per line. The response keeps naming counts separate from citation counts and includes the query class, answer floor, run IDs, sample URLs, exclusions, and count units. An exact suggestion read refuses with `VALIDATION_ERROR` above 10,000 eligible answer rows instead of sampling; narrow `--window` or use `--group-key` for one Advanced market. A Simple project without a usable brand alias uses the pooled `all` class unless an explicit class filter is requested. Exact reads also refuse more than 200,000 characters in one answer, 20 million evidence characters, or 200,000 source references with narrowing guidance. Scans yield so other requests remain responsive. Unknown untracked candidates with only unpaired prose matches are excluded as `unpaired-name`; mention counts stay unchanged for comparison with a bare-add preview. Human output shows both-answer and paired-answer counts and exclusion reasons.
|
|
670
670
|
|
|
671
|
+
### Tracking assignments
|
|
672
|
+
|
|
673
|
+
```bash
|
|
674
|
+
cnry query workspace <project> --format json # read current assignments and workspace version
|
|
675
|
+
cnry query preview <project> changes.json --format json # preview assignment changes
|
|
676
|
+
cnry query commit <project> reviewed.json --format json # publish the reviewed changes
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
The assignment preview takes `expectedWorkspaceVersion`, `additions`, `removals`, and optional `edits`. Commit the same request with the returned `previewToken` and `reviewedAt`. Preview and commit require write access.
|
|
680
|
+
|
|
671
681
|
### Query class
|
|
672
682
|
|
|
673
683
|
Every tracked query is `branded` (it names the project) or `non-brand`, and the two are never counted together. The server decides the class; read it, never work it out from the query text.
|
|
@@ -731,6 +741,19 @@ for competitive percentages (REST `queryClass=non-brand`, MCP
|
|
|
731
741
|
`queryClass: "non-brand"`). Omitted class or `all` returns pooled counts and
|
|
732
742
|
null shares. Request branded evidence separately for brand recall.
|
|
733
743
|
|
|
744
|
+
## Research
|
|
745
|
+
|
|
746
|
+
```bash
|
|
747
|
+
cnry research run <project> "Which suppliers serve this market?" --provider gemini --idempotency-key <key> --wait --format json
|
|
748
|
+
cnry research batch <project> reviewed-runs.json --wait --format json
|
|
749
|
+
cnry research list <project> --limit 20 --format json
|
|
750
|
+
cnry research show <project> <run-id> --format json
|
|
751
|
+
```
|
|
752
|
+
|
|
753
|
+
Research saves answers separately from tracked measurement. `research run` accepts up to 50 queries. Use `--market` or `--property` for one Advanced destination. Select an engine location separately with `--location` or `--no-location`. `--model` requires `--provider`.
|
|
754
|
+
|
|
755
|
+
For a reviewed batch, provide one `idempotencyKey` and a `runs` array. Each run needs final `queries`, `provider`, `model`, and `location` (an object or `null`). For an Advanced destination, include `expectedPlanRevision` in `scope`. A batch can submit up to 20 destinations and 50 total queries. Use the same key and payload on retry. Pass the returned `nextCursor` to `research list --cursor` to read older runs.
|
|
756
|
+
|
|
734
757
|
## Target Measurement Plans
|
|
735
758
|
|
|
736
759
|
```bash
|
|
@@ -739,6 +762,8 @@ cnry measurement-plan discover <project> --sitemap-url https://example.com/sitem
|
|
|
739
762
|
cnry measurement-plan show <project> # active immutable revision
|
|
740
763
|
cnry measurement-plan show <project> --revision 2 # one historical revision
|
|
741
764
|
cnry measurement-plan versions <project>
|
|
765
|
+
cnry measurement-plan visibility <project> --format json # stored AI Visibility for Simple or Advanced
|
|
766
|
+
cnry measurement-plan visibility <project> selection.json --format json # filter the report
|
|
742
767
|
cnry measurement-plan publish <project> plan.yaml # legacy schema v1 only; refuses over an active v2 plan (use: measurement-plan advanced <project> draft-action)
|
|
743
768
|
cnry measurement-plan report <project> --revision 2 # stored evidence only; never starts provider work; a schema v2 revision reads non-brand unless --query-class branded|all; a schema v1 revision reads every answer and refuses --query-class non-brand or branded
|
|
744
769
|
cnry measurement-plan retire <project> <stable-key>
|
|
@@ -775,20 +800,25 @@ cnry doctor --project <project> --check site.reachability # probe the homepage
|
|
|
775
800
|
cnry schedule set <project> --kind site-audit --preset weekly # Agent Readiness audit scan: bounded full-site crawl and audit (no --source/--provider)
|
|
776
801
|
cnry schedule set <project> --kind site-audit --check-dead-links --include-geo # weekly deep scan: dead links + location checks on every scheduled scan
|
|
777
802
|
cnry schedule set <project> --kind seo-sync --cron '0 7 2 * *' # paid SEO refresh of every saved profile, monthly (needs seo.run; no --source/--provider)
|
|
803
|
+
cnry schedule preview <project> --preset weekly --format json # preview the next occurrence without enabling a schedule
|
|
778
804
|
cnry schedule show <project>
|
|
779
805
|
cnry schedule list <project> --format json # all configured schedule kinds
|
|
780
806
|
cnry schedule enable <project>
|
|
781
807
|
cnry schedule disable <project>
|
|
782
808
|
cnry schedule remove <project>
|
|
783
809
|
|
|
784
|
-
cnry notify add <project> --webhook <url> --events citation.lost,citation.gained
|
|
810
|
+
cnry notify add <project> --webhook <url> --events mention.lost,mention.gained,citation.lost,citation.gained
|
|
785
811
|
cnry notify events # list all available event types
|
|
786
812
|
cnry notify list <project>
|
|
787
813
|
cnry notify remove <project> <id>
|
|
788
814
|
cnry notify test <project> <id>
|
|
789
815
|
```
|
|
790
816
|
|
|
791
|
-
|
|
817
|
+
Use `cnry notify events --target server` for the connected server's current event catalog.
|
|
818
|
+
|
|
819
|
+
`mention.lost` / `mention.gained` fire when the project's brand or domain leaves or enters an answer's text since the previous sweep; `citation.lost` / `citation.gained` fire when its domain leaves or enters the answer's source links. The two move independently, so subscribe to both to see every AI visibility change. Each transition names the query, engine, location and `queryClass` (`branded`, `non-brand`, or null); mention transitions read `mentioned` / `not-mentioned`, citation transitions `cited` / `not-cited`. An answer whose mention was never checked, or whose citation was not measured (an engine with no sources), sends neither. On an Advanced project each transition is one Property's answer and adds `property` and `markets`, compared with the comparable previous sweep exactly as `cnry overview`'s What changed compares it: a sweep with different engines, models or plan definition, a partial one, or a spot check sends no transitions. `run.completed` keeps carrying the citation transitions only.
|
|
820
|
+
|
|
821
|
+
`sentiment.unfavorable` fires when sentiment rates an answer unfavorable where the previous rated sweep's matching answer (same query, engine, location and subject) had a known verdict that was not: `favorable`, `mixed`, `factual`, `subject-not-mentioned` or `wrong-subject`. It is sent once per sweep, in sweep order, after that sweep's automatic sentiment work settles (verdicts arrive minutes after `run.completed`; a sweep also waits for earlier sweeps to settle, and for sentiment to be on), listing each answer's query, `queryClass`, engine, location, `previousOutcome` and the evaluator's quoted `conclusion` and `complaint`, plus `property` and `markets` on an Advanced project. An answer that stays unfavorable is reported once; backfills, probes, answers whose engine or evaluator model changed, and a class judged by another evaluator definition send nothing. Non-brand verdicts are exceptions to read, not a share. Follow up with `cnry sentiment evidence <project> --run-id <id> --query-class <class> --outcome unfavorable`.
|
|
792
822
|
|
|
793
823
|
`insight.critical` and `insight.high` fire when the intelligence engine generates critical- or high-severity insights after a sweep completes.
|
|
794
824
|
|
|
@@ -806,7 +836,7 @@ A webhook that lists either event receives **only the health events it lists**,
|
|
|
806
836
|
|
|
807
837
|
**Site Health alerts** (`site-health.issue.new`) go only to webhooks that list the event. After each site audit, Canonry sends it when the scan found a critical page problem (no H1, several H1s, no title, or a page that names another property) on pages where that problem was not reported before. The payload lists each problem with `affectedPages`, `newPages` and up to five new example URLs, plus `scanComplete`. A problem that stays unfixed is reported once. An alert no webhook accepted is sent again after the next audit. A complete scan that no longer finds a problem clears it, so it is reported again if it comes back; a partial scan never clears anything. Nothing is recorded while no webhook lists the event, so a new subscriber hears about every current problem after the next audit.
|
|
808
838
|
|
|
809
|
-
|
|
839
|
+
For mention-first monitoring, use `cnry overview` to read `mentionCoverage.populations`, `scores.mentionShare`, and `whatChanged.lostMentions`. The citation webhooks report citation changes. See `cnry notify events --target server` for available events.
|
|
810
840
|
|
|
811
841
|
**What changed.** `cnry overview <project>` prints the dashboard's "What changed" rows: the queries that lost a mention and those that lost a citation in the latest check (each query once, the two signals counted apart, with the engines, locations, and for Advanced the Properties and markets that lost it) and the runs in progress. `cnry overview --all` prints the portfolio's rows under its table. JSON carries them as `whatChanged`: `lostMentions` / `lostCitations` (`queryCount`, at most 25 `queries`, `truncated`), `activeRuns`, the rows as `items`, and `comparison`. Simple compares each engine's answer with its previous check of the same query and location; Advanced compares each Property's answer with the comparable previous sweep.
|
|
812
842
|
|
|
@@ -821,7 +851,7 @@ A project whose overview `cnry overview --all` can't read keeps its table row, m
|
|
|
821
851
|
## Provider Settings & Quotas
|
|
822
852
|
|
|
823
853
|
```bash
|
|
824
|
-
cnry settings # show
|
|
854
|
+
cnry settings # show connected server's provider and Google OAuth settings
|
|
825
855
|
cnry settings --format json
|
|
826
856
|
cnry settings reload-providers --format json # apply the server's saved provider config
|
|
827
857
|
cnry settings provider gemini --api-key <KEY> --model gemini-flash-latest
|
|
@@ -1034,7 +1064,7 @@ cnry discover run <project> --icp "..." --locations michigan,florida # geo-cons
|
|
|
1034
1064
|
|
|
1035
1065
|
cnry discover list <project> # newest-first session list
|
|
1036
1066
|
cnry discover show <project> <session-id> # per-query probe rows + buckets + classified competitor domains
|
|
1037
|
-
cnry discover harvest <project> <session-id> #
|
|
1067
|
+
cnry discover harvest <project> <session-id> # candidates from stored probes, with a possible live embedding call
|
|
1038
1068
|
cnry discover harvest <project> <session-id> --min-probe-hits 2 --no-anchor # raise the recurrence floor / disable the subject anchor
|
|
1039
1069
|
cnry discover promote preview <project> <session-id> # preview bucketed candidates + recurring suggested competitors of every classified type (read-only)
|
|
1040
1070
|
cnry discover promote <project> <session-id> # adopt cited + aspirational queries + direct-competitor domains
|
|
@@ -1042,7 +1072,19 @@ cnry discover promote <project> <session-id> --competitor-types direct-competito
|
|
|
1042
1072
|
cnry discover promote <project> <session-id> --bucket aspirational --no-competitors # scope to a bucket subset / skip competitor merge
|
|
1043
1073
|
```
|
|
1044
1074
|
|
|
1045
|
-
Discovery
|
|
1075
|
+
Discovery probes use Gemini. The embedding step requires a Gemini API key, including on a Vertex-only installation. Use `--seed-provider gemini`, `--seed-provider openai`, or repeat the flag to use both for seed generation.
|
|
1076
|
+
|
|
1077
|
+
The pipeline writes a `discovery_sessions` row, a `runs` row (kind `aeo-discover-probe`), and one `discovery.basket-divergence` insight when the session completes.
|
|
1078
|
+
|
|
1079
|
+
`discover harvest` ranks search queries from stored probe responses by how many probes issued each one. With Gemini embeddings, it can send candidate and tracked query text to Gemini to check for paraphrases. Obtain approval for that live provider read. The CLI needs a bearer key with `*` scope and access to the project. For stored-only work, use `discover show`. Read `semanticNoveltyApplied` to see whether the server used embeddings. When the embedding step cannot run, harvest checks for exact matches.
|
|
1080
|
+
|
|
1081
|
+
These are a third signal — *issued retrieval queries*, neither "mention" nor "cited" — and carry no demand of their own; they are candidate seeds, so review them and add the good ones with `cnry query add`. Use `--min-probe-hits` to require recurrence and `--no-anchor` to allow new-subject discovery on a well-scoped project.
|
|
1082
|
+
|
|
1083
|
+
Seed generation is location-aware: a project with locations configured (or a `--locations` label subset) geo-constrains the seed prompt so generated queries stay inside the service area, and a multi-location project gets a per-area seed quota so one area cannot dominate — `--locations` labels must match the project's configured locations or the run is rejected; projects with no locations are unaffected.
|
|
1084
|
+
|
|
1085
|
+
After probing, the configured classifier labels recurring cited domains. Gemini is the default. Failed or legacy classification leaves the type `unknown`. Aero wakes unprompted with the bucket-count payload so the operator can act without polling.
|
|
1086
|
+
|
|
1087
|
+
`discover eval` (quality-regression panel vs committed baseline, exit 1 on regression, --update-baseline to capture), `discover promote` defaults to cited + aspirational queries and `direct-competitor` domains only — aggregators and editorial media are suppressed; pass `--competitor-types` to widen the merge (or to recover legacy `unknown` entries) and `--bucket wasted-surface` for off-ICP competitor gaps. Promotion is add-only and idempotent — queries/domains already tracked are reported as skipped, never inserted twice — and only works on `completed` sessions; promoted rows carry `provenance="discovery:<sessionId>"`. Cited hosts are grouped into the registrable domain a competitor is stored as (`offers.rival.example` promotes as `rival.example`, shown with its source hosts) before the hit floor and the cap, counting each probe once. A competitor that is the project's own site, was cited as two or more different subdomains of one possibly shared host (`shared-host`), or whose name another competitor's alias claims (`claimed-by-alias`) is left out with a reason (`skippedCompetitors` in the preview, `competitorDetails` in the result) while the rest of the promote proceeds.
|
|
1046
1088
|
|
|
1047
1089
|
## Bing Webmaster Tools
|
|
1048
1090
|
|
|
@@ -1355,7 +1397,7 @@ cnry ga social-referral-summary <project> [--trend]
|
|
|
1355
1397
|
# socialSharePct, topSources[]; --trend adds 7d/30d direction
|
|
1356
1398
|
cnry ga session-history <project> [--window 30d] [--start YYYY-MM-DD] [--end YYYY-MM-DD]
|
|
1357
1399
|
# daily totals: {date, sessions, organicSessions, users}
|
|
1358
|
-
cnry ga overview <project> [--window 7d|30d|90d]
|
|
1400
|
+
cnry ga overview <project> [--window 7d|30d|90d|180d]
|
|
1359
1401
|
# GA4's overview for the complete days ending yesterday
|
|
1360
1402
|
# (default 30d): users, new users, sessions, organic
|
|
1361
1403
|
# sessions, views, event count, key events, engagement
|
|
@@ -1392,7 +1434,11 @@ cnry gbp locations discover <project> [--account accounts/{n}] [--switch-account
|
|
|
1392
1434
|
cnry gbp locations <project> [--selected-only] # list discovered locations + selection state
|
|
1393
1435
|
cnry gbp locations select <project> --location locations/{n}
|
|
1394
1436
|
cnry gbp locations deselect <project> --location locations/{n}
|
|
1395
|
-
# only SELECTED locations are synced
|
|
1437
|
+
# only SELECTED locations are synced; deselect also deletes
|
|
1438
|
+
# that location's stored reviews, rating history and stats
|
|
1439
|
+
# (selecting again fetches current data only). The list and
|
|
1440
|
+
# select flag a location whose website is not one of the
|
|
1441
|
+
# project's domains; discover leaves such a location unselected
|
|
1396
1442
|
cnry gbp sync <project> [--location locations/{n}] [--days N] [--months N] [--wait]
|
|
1397
1443
|
# fires the gbp-sync run: daily metrics + keyword impressions
|
|
1398
1444
|
# + place-action links + lodging snapshot per selected location;
|
|
@@ -1808,16 +1854,16 @@ To keep backlinks fresh automatically, schedule a `backlinks-sync` kind (`cnry s
|
|
|
1808
1854
|
|
|
1809
1855
|
## CDP / Browser Provider
|
|
1810
1856
|
|
|
1811
|
-
The
|
|
1857
|
+
The `cdp:chatgpt` provider uses Chrome DevTools Protocol (CDP) to submit queries to the ChatGPT web UI. It captures the answer and citations from the browser session.
|
|
1812
1858
|
|
|
1813
1859
|
```bash
|
|
1814
1860
|
cnry cdp connect --host localhost --port 9222 # connect to Chrome CDP
|
|
1815
1861
|
cnry cdp status # show connection status
|
|
1816
|
-
cnry cdp targets # list
|
|
1862
|
+
cnry cdp targets # list supported browser targets
|
|
1817
1863
|
cnry cdp screenshot <query> --targets chatgpt # screenshot a query result
|
|
1818
1864
|
```
|
|
1819
1865
|
|
|
1820
|
-
|
|
1866
|
+
Start Chrome with `--remote-debugging-port=9222` and sign in to ChatGPT before you run browser queries.
|
|
1821
1867
|
|
|
1822
1868
|
## Telemetry
|
|
1823
1869
|
|
|
@@ -1848,8 +1894,8 @@ Kinds: `struggle`, `bug`, `improvement`, `other` (default). MCP equivalent: `can
|
|
|
1848
1894
|
[--request-id <id>] [--since <ISO>] [--until <ISO>]
|
|
1849
1895
|
[--limit <1..200>] [--cursor <cursor>] --format json`
|
|
1850
1896
|
returns `{entries,nextCursor,truncated,dropped,retention,retentionPolicy,captureErrors,observedAt}`.
|
|
1851
|
-
`jsonl` preserves this object envelope. It requires
|
|
1852
|
-
grant (or wildcard)
|
|
1897
|
+
`jsonl` preserves this object envelope. It requires a host-approved operator key
|
|
1898
|
+
with an instance-wide `logs.read` grant (or wildcard). Only allowlisted
|
|
1853
1899
|
diagnostic metadata and sanitized messages are exposed, including application
|
|
1854
1900
|
and HTTP failures. File-backed hosts retain logs across restarts, capped at
|
|
1855
1901
|
10,000 events and seven days; in-memory hosts report process retention. Raw
|
|
@@ -1874,7 +1920,6 @@ and request IDs are exposed when available; no mutation is automatically retried
|
|
|
1874
1920
|
cnry apply project.yaml # apply declarative config
|
|
1875
1921
|
cnry apply file1.yaml file2.yaml # multiple files
|
|
1876
1922
|
cnry export <project> --include-results > project.yaml
|
|
1877
|
-
cnry sitemap inspect <project>
|
|
1878
1923
|
```
|
|
1879
1924
|
|
|
1880
1925
|
## Agent
|
|
@@ -1895,6 +1940,7 @@ cnry agent ask <project> "<prompt>" --provider claude
|
|
|
1895
1940
|
cnry agent ask <project> "<prompt>" --provider zai
|
|
1896
1941
|
cnry agent ask <project> "<prompt>" --provider openai
|
|
1897
1942
|
cnry agent ask <project> "<prompt>" --provider gemini
|
|
1943
|
+
cnry agent ask <project> "<prompt>" --provider openrouter --model publisher/model
|
|
1898
1944
|
|
|
1899
1945
|
# Restrict the tool surface. Default is --scope all (full read+write surface).
|
|
1900
1946
|
# --scope read-only matches the dashboard bar default so pasted "Copy as CLI"
|
|
@@ -1921,11 +1967,8 @@ cnry agent memory set <project> --key <k> --value <v> # 2 KB cap per value
|
|
|
1921
1967
|
cnry agent memory forget <project> --key <k>
|
|
1922
1968
|
```
|
|
1923
1969
|
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
`~/.canonry/config.yaml` providers block, or the matching env var
|
|
1927
|
-
`ANTHROPIC_API_KEY` / `OPENAI_API_KEY` / `GEMINI_API_KEY` / `ZAI_API_KEY`).
|
|
1928
|
-
The `deepinfra` provider was removed; pin one of the four above.
|
|
1970
|
+
An explicit `--provider` takes precedence over the server's `agent.provider` setting. An unpinned turn can reuse the conversation's provider. Otherwise Aero checks for keys in order (`claude`, `openai`, `gemini`, `zai`, then `openrouter`) and picks the first match. Use `cnry agent providers <project>` to inspect the server's available choices.
|
|
1971
|
+
If an older configuration uses the retired `deepinfra` provider, switch to a supported provider.
|
|
1929
1972
|
|
|
1930
1973
|
Conversations **persist per project** — `cnry agent ask` continues the
|
|
1931
1974
|
active conversation each invocation. Use `cnry agent conversations list <project>`
|
|
@@ -1965,7 +2008,7 @@ cnry agent detach <project> # remove the agent webhoo
|
|
|
1965
2008
|
cnry agent detach <project> --format json # JSON output
|
|
1966
2009
|
```
|
|
1967
2010
|
|
|
1968
|
-
**Agent webhooks** fire on `run.completed`, `insight.critical`, `insight.high`, and `
|
|
2011
|
+
**Agent webhooks** fire on `run.completed`, `insight.critical`, `insight.high`, `citation.gained`, and `mention.gained`. The attach/detach pair is idempotent per project (one agent webhook per project, matched by source tag).
|
|
1969
2012
|
|
|
1970
2013
|
## Output Formats
|
|
1971
2014
|
|
|
@@ -16,12 +16,14 @@ Canonry integrates with the Google Business Profile (GBP) API to surface local A
|
|
|
16
16
|
|
|
17
17
|
## What Stays Manual
|
|
18
18
|
|
|
19
|
-
- Replying to reviews
|
|
20
|
-
-
|
|
21
|
-
- Updating lodging attributes
|
|
22
|
-
- Pub/Sub notifications
|
|
19
|
+
- Replying to reviews
|
|
20
|
+
- Publishing offers and other posts outside the editorial article format
|
|
21
|
+
- Updating lodging attributes
|
|
22
|
+
- Configuring Google Pub/Sub notifications
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Canonry can publish a `STANDARD` editorial article with one photo and a `LEARN_MORE` link. Publishing requires explicit approval for the exact post and a credential with `gbp.posts.write`. Signed-in users must also be administrators.
|
|
25
|
+
|
|
26
|
+
Use `canonry gbp posts create <project> --request <file>` for the approved request. The request binds the selected account and location to an attempt ID and package ID. If the result is uncertain, read the saved attempt with `canonry gbp posts attempt <project> --attempt <id> --package <id>`. Reconcile the attempt before you retry that publication. MCP can read posts and saved attempts.
|
|
25
27
|
|
|
26
28
|
## Hard Prerequisite: API Access Approval
|
|
27
29
|
|
|
@@ -73,7 +75,7 @@ In Cloud Console → APIs & Services → Library, enable:
|
|
|
73
75
|
|
|
74
76
|
### The legacy "Google My Business API" (v4 — reviews)
|
|
75
77
|
|
|
76
|
-
|
|
78
|
+
Reviews and Local Posts use the legacy `mybusiness.googleapis.com` v4 API. In May 2026, the v4 reviews endpoint returned `403 SERVICE_DISABLED` for a project with Basic API Access.
|
|
77
79
|
|
|
78
80
|
What we confirmed, with a project approved and running the v1 family at 300 QPM, authenticated as the exact approved account with the `business.manage` scope:
|
|
79
81
|
|
|
@@ -86,7 +88,7 @@ What we confirmed, with a project approved and running the v1 family at 300 QPM,
|
|
|
86
88
|
|
|
87
89
|
### Review alerts
|
|
88
90
|
|
|
89
|
-
`cnry gbp sync` tries v4 reviews for every selected location.
|
|
91
|
+
`cnry gbp sync` tries v4 reviews for every selected location. `cnry gbp reviews <project>` and `gbp.reviews.access` show the stored outcome per location. If v4 is unavailable, the fallback needs the `atmosphere` Places tier, an API key, and a Maps place ID. Canonry waits 20 hours after the last Places review observation before refreshing it. The fallback stops once v4 covers the location.
|
|
90
92
|
|
|
91
93
|
| | Business Profile v4 | Places fallback |
|
|
92
94
|
|---|---|---|
|
|
@@ -121,19 +123,12 @@ does not change ADC. See [Google's ADC configuration and search order](https://c
|
|
|
121
123
|
1. Cloud Console → APIs & Services → **OAuth consent screen** → set up consent (External works). Add your own email under "Test users" while the app is in test mode.
|
|
122
124
|
2. Cloud Console → APIs & Services → **Credentials** → **+ Create Credentials** → **OAuth client ID**.
|
|
123
125
|
3. Application type: **Web application**.
|
|
124
|
-
4.
|
|
126
|
+
4. Register the exact redirect URI that `canonry gbp connect <project>` prints. A default local install uses `http://localhost:4100/api/v1/google/callback`. Include the base path if your Canonry URL has one.
|
|
125
127
|
5. Save the **Client ID** and **Client secret**.
|
|
126
128
|
|
|
127
129
|
### Store credentials for canonry
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
```bash
|
|
132
|
-
export GOOGLE_CLIENT_ID="…"
|
|
133
|
-
export GOOGLE_CLIENT_SECRET="…"
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
Or persist them in `~/.canonry/config.yaml`:
|
|
131
|
+
Enter the OAuth client ID and secret under **Settings → Google OAuth**. You can also store them in `~/.canonry/config.yaml`.
|
|
137
132
|
|
|
138
133
|
```yaml
|
|
139
134
|
google:
|
|
@@ -156,7 +151,7 @@ canonry gbp sync <project> --wait # run a first sync
|
|
|
156
151
|
canonry gbp summary <project> # check derived metrics
|
|
157
152
|
```
|
|
158
153
|
|
|
159
|
-
The
|
|
154
|
+
The consent screen requests `https://www.googleapis.com/auth/business.manage`. Canonry applies separate permissions and approval to editorial publishing.
|
|
160
155
|
|
|
161
156
|
### Account selection is per project
|
|
162
157
|
|
|
@@ -236,7 +231,7 @@ For hotel groups, two extra signal sources are critical:
|
|
|
236
231
|
|
|
237
232
|
Hotel amenities are a high-signal local-AEO surface: answer engines often answer queries like "does X hotel have a pool?" or "is Y pet-friendly?" from structured hotel facts instead of website copy alone. Canonry therefore treats the Lodging API as a separate hotel-only source from generic Business Information `getAttributes`.
|
|
238
233
|
|
|
239
|
-
Canonry
|
|
234
|
+
Canonry reads the Lodging API during `gbp sync` and saves a new snapshot when the resource changes. It reports how many top-level groups are readable. If the count is zero, check the Hotel details panel. Generic Business Information attributes cover a separate surface.
|
|
240
235
|
|
|
241
236
|
A non-lodging location returns HTTP 400 `FAILED_PRECONDITION` ("This operation is not supported for this location. Please check the value of `Location.location_state.can_operate_lodging_data`") — not a 404. Fix the primary category in the Business Profile UI to a lodging category first. A lodging-category location can return HTTP 200 with only `{ "name": "..." }`. That is the common case observed on a complete hotel, even when the owner-facing "Hotel details" panel has amenities filled in. So an empty result is a "can't read via the API" verify, not proof the hotel has no amenities.
|
|
242
237
|
|
|
@@ -285,11 +280,10 @@ Every GBP number belongs to one of three planes. **Tag each figure by plane befo
|
|
|
285
280
|
## Important Constraints
|
|
286
281
|
|
|
287
282
|
- **GBP API returns owner-configured data only** — the API exposes only what the profile owner has set. Google's *rendered* hotel listing synthesizes additional amenities, room pricing, and booking links from Google Hotel Center, OTA feeds (Booking/Expedia/Hotels.com), and Places/user-contributed data — none of which the GBP API returns. So an empty Lodging API result does **not** mean the public listing is empty, and it does **not** prove the owner set no amenities: the owner-facing "Hotel details" amenity panel writes to a separate surface the Lodging API does not return, so it is commonly empty even for complete hotels. Treat it as a "verify the Hotel details panel", not a confirmed gap. **Canonry pulls the rendered-listing side from the Places API and cross-references it against the GBP profile** (issue #648, shipped) — see "Places enrichment" below.
|
|
288
|
-
- **
|
|
283
|
+
- **Write permission.** The provider scope covers profile management. Canonry limits GBP writes to approved editorial Local Posts.
|
|
289
284
|
- **300 QPM shared quota** — across all GBP sub-APIs on one Google Cloud project. Canonry's sync worker caps per-location concurrency at 4 (~28 in-flight calls at peak) to stay well under the cap.
|
|
290
|
-
- **10 edits/min per profile** — hard cap on writes (relevant for Phase 4). Cannot be raised.
|
|
291
285
|
- **Privacy-redacted keyword impressions** — for each keyword aggregated over the requested window, Google returns either an exact `value` or only a `threshold` floor (`<N`). Canonry stores both shapes (`valueCount` / `valueThreshold`) against the row's `periodStart`/`periodEnd` and surfaces a "% thresholded" stat so the user understands data fidelity. Note the Performance API aggregates each keyword over the **whole** requested date range — it does not break impressions down per calendar month.
|
|
292
|
-
- **
|
|
286
|
+
- **Separate API access.** Canonry uses the legacy v4 host for Reviews and Local Posts. Other GBP clients use v1. The v1 sync can continue when v4 reviews are unavailable.
|
|
293
287
|
- **Multi-location chains** — a 200-location chain hits ~600+ API calls per sync. Default sync may take minutes for large chains; scope with `canonry gbp sync <project> --location locations/XXX` to retry a subset.
|
|
294
288
|
|
|
295
289
|
## Real-World Data Shapes & Signal Patterns
|
|
@@ -316,16 +310,16 @@ Validated against three live businesses of different types (a computer-support s
|
|
|
316
310
|
| Symptom | Likely cause | Fix |
|
|
317
311
|
|---|---|---|
|
|
318
312
|
| Every API call returns HTTP 403 | Access form not yet approved (0 QPM) | Submit the form; wait for approval email. Check quota in Cloud Console. |
|
|
319
|
-
| `redirect_uri_mismatch` during connect | OAuth client
|
|
313
|
+
| `redirect_uri_mismatch` during connect | The OAuth client lacks the Canonry callback URL | Add the exact URI that `canonry gbp connect <project>` prints |
|
|
320
314
|
| "App not verified" warning at consent | Consent screen in test mode | Add the OAuth user to test users, or publish the consent screen |
|
|
321
315
|
| Empty accounts list after connect | OAuth user lacks manager access on any profile | Ask the profile owner to add the user at [business.google.com](https://business.google.com) → Users |
|
|
322
316
|
| Lodging endpoint returns 400 `FAILED_PRECONDITION` | Location primary category is not a lodging category | Update the primary category in the GBP UI to `Hotel`, `Resort`, `Motel`, etc. |
|
|
323
317
|
| Lodging returns 200 with only `{ "name": ... }` | The GBP Lodging API returned no readable structured groups. In live testing this happened even when the "Hotel details" panel had amenities set | Not an error, and not proof of a gap. Surface as a verify: have the operator check the "Hotel details" panel; flag only if genuinely unset there |
|
|
324
318
|
| Place action links empty | No CTAs configured | Set them up in the GBP UI; for many local businesses this is genuinely empty (an AEO gap) |
|
|
325
319
|
| Reviews 403 `SERVICE_DISABLED` while v1 APIs work (`gbp reviews` shows `unavailable (SERVICE_DISABLED)`) | Legacy v4 `mybusiness.googleapis.com` not enabled for this account/project | See "The legacy Google My Business API" above — enable via the approval-email shortcut as the approved account; can't be done via library or gcloud. Meanwhile, the Places fallback covers review alerts partially |
|
|
326
|
-
| No review alerts arrive | No webhook
|
|
320
|
+
| No review alerts arrive | No subscribed webhook, first-sync baseline, missing review source, or delivery failure | Run `cnry notify list <project>` and `cnry doctor --project <project> --check gbp.reviews.access --check gbp.reviews.delivery` |
|
|
327
321
|
| Q&A API unreachable | Google retired the Q&A API on 2025-11-03 | Permanent. Q&A is not available programmatically |
|
|
328
|
-
| Keyword impressions mostly `threshold` instead of `value` |
|
|
322
|
+
| Keyword impressions mostly `threshold` instead of `value` | Google redacts low-volume counts | Read `keywords.thresholdedPct` in the summary |
|
|
329
323
|
|
|
330
324
|
## Related Files in This Skill
|
|
331
325
|
|
|
@@ -75,20 +75,20 @@ OAuth starts and finishes in the same signed-in dashboard browser.
|
|
|
75
75
|
|
|
76
76
|
## Agent procedure
|
|
77
77
|
|
|
78
|
-
1. Call `
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
7. Report static failures separately from unknown runtime evidence.
|
|
78
|
+
1. Call `canonry_help` with `intent: "integrations"` and `includeCatalog: true` if you need tool discovery.
|
|
79
|
+
On progressive stdio, load `google-ads`, `gtm`, and `conversion-tracking` if the catalog lists them. Wait for each load to finish.
|
|
80
|
+
2. Read provider status and stored snapshots from the available tools.
|
|
81
|
+
3. Read the declared contracts.
|
|
82
|
+
4. Assess each contract with `canonry_conversion_tracking_integrity`.
|
|
83
|
+
5. Report static failures separately from unknown runtime evidence.
|
|
85
84
|
|
|
86
85
|
Use stored evidence first. Before a live provider discovery or sync, get
|
|
87
86
|
explicit approval.
|
|
88
87
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
`google-marketing.
|
|
88
|
+
For a signed-in user, live discovery and sync require the administrator role.
|
|
89
|
+
With API credentials, live discovery needs a full-instance key with
|
|
90
|
+
`google-marketing.read-live`. Sync also needs `google-marketing.write` and can
|
|
91
|
+
use a project-scoped key. A sync queues a run.
|
|
92
92
|
Poll `canonry_run_get` with the returned run ID until its status is `completed`,
|
|
93
93
|
`failed`, or `cancelled`. Assess new evidence only after `completed`. If the run
|
|
94
94
|
fails or is cancelled, report that result instead.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Indexing Workflows for AEO
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use stored inspection evidence to find search indexing gaps. Google and Bing inspection results describe their own indexes.
|
|
4
|
+
|
|
5
|
+
Obtain approval for the exact site, URLs, and action before starting a live inspection, sync, crawl request, or sitemap submission.
|
|
4
6
|
|
|
5
7
|
## Priority Order
|
|
6
8
|
|
|
@@ -18,9 +20,9 @@ cnry google coverage <project>
|
|
|
18
20
|
```
|
|
19
21
|
|
|
20
22
|
Statuses to act on:
|
|
21
|
-
- `URL is unknown to Google` →
|
|
22
|
-
- `Discovered - currently not indexed` →
|
|
23
|
-
- `indexed` →
|
|
23
|
+
- `URL is unknown to Google` → check that the sitemap lists the URL and that Google can access the page.
|
|
24
|
+
- `Discovered - currently not indexed` → review crawl access, internal links, and the sitemap.
|
|
25
|
+
- `indexed` → the inspection confirms indexing for that URL.
|
|
24
26
|
|
|
25
27
|
### Sync GSC data
|
|
26
28
|
```bash
|
|
@@ -38,7 +40,7 @@ cnry google query-totals <project> --window 30d # one row per named query
|
|
|
38
40
|
|
|
39
41
|
### Discover and inspect sitemaps
|
|
40
42
|
```bash
|
|
41
|
-
cnry google discover-sitemaps <project> --wait #
|
|
43
|
+
cnry google discover-sitemaps <project> --wait # select a submitted GSC sitemap and queue inspection
|
|
42
44
|
cnry google list-sitemaps <project> # list submitted sitemaps
|
|
43
45
|
cnry google inspect-sitemap <project> --wait # bulk inspect all sitemap URLs
|
|
44
46
|
```
|
|
@@ -65,11 +67,8 @@ cnry google deindexed <project> # pages that lost indexing
|
|
|
65
67
|
|
|
66
68
|
### Submit URLs to Google Indexing API
|
|
67
69
|
```bash
|
|
68
|
-
#
|
|
70
|
+
# An eligible URL
|
|
69
71
|
cnry google request-indexing <project> <url>
|
|
70
|
-
|
|
71
|
-
# All unindexed at once
|
|
72
|
-
cnry google request-indexing <project> --all-unindexed
|
|
73
72
|
```
|
|
74
73
|
|
|
75
74
|
**Requirements:**
|
|
@@ -77,9 +76,7 @@ cnry google request-indexing <project> --all-unindexed
|
|
|
77
76
|
- OAuth connection set up in canonry (`cnry settings` shows Google connection)
|
|
78
77
|
- The URL has eligible `JobPosting` or livestream `BroadcastEvent` structured data
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
explicit approval before running a quota-consuming sweep — pages must be
|
|
82
|
-
indexed before citation is possible.
|
|
79
|
+
The bulk `--all-unindexed` flag uses stored inspection results on the project domain. If every selected URL qualifies, you can use the bulk command. Check coverage again after submission.
|
|
83
80
|
|
|
84
81
|
---
|
|
85
82
|
|
|
@@ -120,11 +117,16 @@ cnry bing request-indexing <project> <url>
|
|
|
120
117
|
cnry bing request-indexing <project> --all-unindexed
|
|
121
118
|
```
|
|
122
119
|
|
|
123
|
-
### Submit
|
|
124
|
-
Bing WMT → Sitemaps → submit `https://example.com/sitemap.xml`
|
|
120
|
+
### Submit or resubmit a sitemap
|
|
125
121
|
|
|
126
|
-
|
|
127
|
-
|
|
122
|
+
```bash
|
|
123
|
+
cnry bing submit-sitemap <project> https://example.com/sitemap.xml
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
An accepted submission asks Bing to read the sitemap. The stored sitemap list updates after Bing reads it and Canonry syncs again.
|
|
127
|
+
|
|
128
|
+
### IndexNow
|
|
129
|
+
IndexNow notifies participating search engines when URLs change. Search engines decide when to crawl and index them.
|
|
128
130
|
|
|
129
131
|
**Host the key file at the root:**
|
|
130
132
|
```
|
|
@@ -147,9 +149,7 @@ curl -X POST "https://www.bing.com/indexnow" \
|
|
|
147
149
|
}'
|
|
148
150
|
```
|
|
149
151
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
**Note:** IndexNow only covers Bing (and Yandex). It does NOT affect ChatGPT, Claude, or Gemini.
|
|
152
|
+
HTTP `200` means the search engine received the URLs. HTTP `202` means it received them and key validation is pending. See the [IndexNow protocol](https://www.indexnow.org/documentation).
|
|
153
153
|
|
|
154
154
|
---
|
|
155
155
|
|
|
@@ -158,7 +158,7 @@ Expected response: `202 Accepted`
|
|
|
158
158
|
| Goal | Tool |
|
|
159
159
|
|---|---|
|
|
160
160
|
| Notify Google about an eligible job or livestream page | Google Indexing API |
|
|
161
|
-
|
|
|
161
|
+
| Notify participating search engines of changed URLs | IndexNow |
|
|
162
162
|
| Audit what Google currently knows | `cnry google coverage <project>` |
|
|
163
163
|
| Audit what Bing currently knows | `cnry bing coverage <project>` |
|
|
164
164
|
| Fast crawl of new/updated pages on Bing | IndexNow batch submit |
|
|
@@ -172,10 +172,8 @@ Expected response: `202 Accepted`
|
|
|
172
172
|
## General Workflow for New Client Pages
|
|
173
173
|
|
|
174
174
|
1. `cnry google submit-sitemap <project> --configured` — submit the saved sitemap
|
|
175
|
-
2. `cnry google coverage <project>`
|
|
176
|
-
3. For eligible job or livestream
|
|
177
|
-
4. `cnry bing
|
|
178
|
-
5.
|
|
179
|
-
6.
|
|
180
|
-
7. Re-check coverage after 48h
|
|
181
|
-
8. After explicit approval, run a sweep once pages are confirmed indexed
|
|
175
|
+
2. Read `cnry google coverage <project>` to identify unindexed pages.
|
|
176
|
+
3. For each eligible job or livestream page, run `cnry google request-indexing <project> <url>`.
|
|
177
|
+
4. Submit the sitemap with `cnry bing submit-sitemap <project> <url>`.
|
|
178
|
+
5. Notify Bing about changed URLs with `cnry bing request-indexing <project> <url>` or IndexNow.
|
|
179
|
+
6. Check coverage again before interpreting changes in search visibility.
|
|
@@ -63,7 +63,7 @@ replace GA or change the raw traffic totals.
|
|
|
63
63
|
|
|
64
64
|
## Architecture
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
Canonry stores the shared traffic evidence in these tables.
|
|
67
67
|
|
|
68
68
|
| Table | What's in it |
|
|
69
69
|
|---|---|
|
|
@@ -73,7 +73,7 @@ Four tables store the shared output from every adapter:
|
|
|
73
73
|
| `agent_scanner_clients` | One row per `(project, source, client)` — the latest run of scanner probes from one IP (stored as a keyed hash), kept two days so a burst split across batches is still recognized |
|
|
74
74
|
| `journey_visitor_aliases` | One row per `(project, alias key)` — a visitor key found to be another visitor seen from a new IP (same AI-tagged page, same browser, within 5 seconds); requests under the alias key are kept under that visitor. Both are keyed hashes, never an IP |
|
|
75
75
|
| `ai_referral_events_hourly` | One row per `(project, source, hour, product, source_domain, evidence_type, landing_path, status)` — click-through arrivals rolled up by hour; a visitor's later same-site requests are not arrivals |
|
|
76
|
-
| `ai_referral_visitors` |
|
|
76
|
+
| `ai_referral_visitors` | Recent AI arrivals by project, source, and visitor key. The key hashes the IP address, user agent, and engine to group follow-up requests across batches. |
|
|
77
77
|
| `raw_event_samples` | Bounded forensic samples for spot checks. Source writes plus a startup/daily global sweep enforce 30-day retention; Cloudflare also uses a per-source, per-hour cap |
|
|
78
78
|
|
|
79
79
|
Each `traffic_sources` row is one server-log integration for a project.
|
|
@@ -267,10 +267,9 @@ if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && preg_match( '/GPTBot|OAI-SearchBot|
|
|
|
267
267
|
> `204` for scripts stranded in old cached HTML, but never records an event.
|
|
268
268
|
|
|
269
269
|
```bash
|
|
270
|
-
# 1.
|
|
271
|
-
#
|
|
272
|
-
#
|
|
273
|
-
# Plugins → Add New → Upload Plugin → upload + activate.
|
|
270
|
+
# 1. Download the latest Canonry Traffic Logger release zip from GitHub.
|
|
271
|
+
# GitHub publishes a zip for each new plugin version.
|
|
272
|
+
# In wp-admin, upload and activate it under Plugins → Add New → Upload Plugin.
|
|
274
273
|
|
|
275
274
|
# 2. In wp-admin, create an Application Password for the operator user:
|
|
276
275
|
# Users → Profile → Application Passwords. Copy the generated password.
|
|
@@ -1263,12 +1262,7 @@ domains, or PII are surfaced.
|
|
|
1263
1262
|
records the `cache` HIT/MISS label), and `cloud-run` logs every request that
|
|
1264
1263
|
reaches the service, missing only what a CDN ahead of Cloud Run serves at its
|
|
1265
1264
|
own edge.
|
|
1266
|
-
- **
|
|
1267
|
-
citation store is domain-grain (`query_snapshots.cited_domains`). A
|
|
1268
|
-
future iteration that lands URL-grain citation evidence will extend
|
|
1269
|
-
the `topCrawledPaths` entry with a `citationState` flag. Until then,
|
|
1270
|
-
treat traffic analytics' crawled-paths table as "engine attention" — the
|
|
1271
|
-
signal is the bot fetched it, not whether it was cited.
|
|
1265
|
+
- **Crawled paths.** `topCrawledPaths` reports bot requests by path. Read citation evidence separately with `cnry run show <run-id> --format json`.
|
|
1272
1266
|
- **Verified vs unverified.** Verified crawler counts include only
|
|
1273
1267
|
published-IP-range-verified hits. Unverified crawler counts remain separate:
|
|
1274
1268
|
those bots claim a known UA but
|
|
@@ -1413,9 +1407,8 @@ every source and needs no site snippet or goal setup. Read it with
|
|
|
1413
1407
|
as browser groups. A key stores at most 300
|
|
1414
1408
|
requests per UTC day besides AI touches; `cappedDays` counts the days it hit
|
|
1415
1409
|
that cap.
|
|
1416
|
-
- By default the Cloudflare Worker
|
|
1417
|
-
|
|
1418
|
-
Reconnect with `--forward-page-views` and redeploy to forward page views too
|
|
1410
|
+
- By default the Cloudflare Worker filters traffic for AI, bot, and unrecognized agent signals.
|
|
1411
|
+
Reconnect with `--forward-page-views` and redeploy to forward ordinary browser page views
|
|
1419
1412
|
(one Queue message or push per page view; see the Cloudflare setup guide for
|
|
1420
1413
|
volume and Queue drain limits). Reads list a source in `partialSources` until
|
|
1421
1414
|
its deployed Worker reports the `+page-views` version.
|