@canonry/canonry 7.108.1 → 7.108.3

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.
Files changed (145) hide show
  1. package/assets/agent-workspace/skills/aero/SKILL.md +16 -7
  2. package/assets/agent-workspace/skills/aero/references/aeo-discovery.md +40 -30
  3. package/assets/agent-workspace/skills/aero/references/agent-operations.md +14 -7
  4. package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +12 -20
  5. package/assets/agent-workspace/skills/aero/references/memory-patterns.md +3 -3
  6. package/assets/agent-workspace/skills/aero/references/orchestration.md +22 -9
  7. package/assets/agent-workspace/skills/aero/references/portfolio-analysis.md +10 -8
  8. package/assets/agent-workspace/skills/aero/references/regression-playbook.md +11 -7
  9. package/assets/agent-workspace/skills/aero/references/seo-analysis.md +4 -3
  10. package/assets/agent-workspace/skills/aero/references/site-health.md +3 -2
  11. package/assets/agent-workspace/skills/aero/references/wordpress-elementor-mcp.md +48 -219
  12. package/assets/agent-workspace/skills/aero/soul.md +1 -1
  13. package/assets/agent-workspace/skills/canonry/SKILL.md +14 -7
  14. package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +18 -25
  15. package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +12 -20
  16. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +59 -24
  17. package/assets/agent-workspace/skills/canonry/references/google-business-profile.md +18 -24
  18. package/assets/agent-workspace/skills/canonry/references/google-marketing.md +10 -10
  19. package/assets/agent-workspace/skills/canonry/references/indexing.md +25 -27
  20. package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +8 -15
  21. package/assets/agent-workspace/skills/canonry/references/wordpress-integration.md +6 -2
  22. package/assets/assets/{AgentSetupPage-CR6hyf9a.js → AgentSetupPage-H8VoauIK.js} +1 -1
  23. package/assets/assets/{MeasurementPropertyPage-CpYhSd3d.js → MeasurementPropertyPage-x4S_SV30.js} +1 -1
  24. package/assets/assets/ProjectPage-DnDw0Cvk.js +15 -0
  25. package/assets/assets/{RunsPage-Cc3kJZ39.js → RunsPage-DG43ZJib.js} +1 -1
  26. package/assets/assets/{ServerTrafficSection-umoq1lg0.js → ServerTrafficSection-B-QGjFGD.js} +1 -1
  27. package/assets/assets/{SettingsPage-NebxmvVG.js → SettingsPage-CJlAiPn3.js} +1 -1
  28. package/assets/assets/{TrafficPage-Dia9_FuQ.js → TrafficPage-Dlp26Fvy.js} +1 -1
  29. package/assets/assets/{TrafficSourceDetailPage-DJ5EQEL9.js → TrafficSourceDetailPage-D-x32dzk.js} +1 -1
  30. package/assets/assets/{index-CyETulrn.js → index-C05Wdzzv.js} +2 -2
  31. package/assets/assets/{react-sigma_core.esm.min-4xPWl4Kl.js → react-sigma_core.esm.min-sHrGO6oc.js} +1 -1
  32. package/assets/index.html +1 -1
  33. package/dist/{ads-IJHKPMDL.js → ads-ZU44TW6I.js} +3 -3
  34. package/dist/{agent-X5SDBTII.js → agent-R5WTIW7T.js} +7 -7
  35. package/dist/{agent-ask-UPROPFVK.js → agent-ask-YDKBWYQG.js} +3 -3
  36. package/dist/{agent-conversations-A7W74X6Q.js → agent-conversations-QJOBINIB.js} +3 -3
  37. package/dist/{agent-journeys-WOLFWP3G.js → agent-journeys-4GGOACCO.js} +3 -3
  38. package/dist/{agent-memory-TH6ORG63.js → agent-memory-3YG553SD.js} +3 -3
  39. package/dist/{agent-providers-FKVRHV4J.js → agent-providers-TVVMJQN7.js} +3 -3
  40. package/dist/{agent-transcript-UFEBYD4L.js → agent-transcript-RZC6273N.js} +3 -3
  41. package/dist/{analytics-XNFXAKRP.js → analytics-U4TVQGMD.js} +3 -3
  42. package/dist/{apply-O46BRKQG.js → apply-GVBOUXIO.js} +3 -3
  43. package/dist/{backfill-IUCWBDEI.js → backfill-5FQEVO4U.js} +10 -10
  44. package/dist/{backlinks-PB2Y3APJ.js → backlinks-YGCLFL6X.js} +3 -3
  45. package/dist/{bing-YOUZDEA2.js → bing-LT62N7BY.js} +3 -3
  46. package/dist/{bootstrap-E4EI2W54.js → bootstrap-XSFNQARX.js} +10 -10
  47. package/dist/{cdp-72553DTZ.js → cdp-5MY2I2N3.js} +7 -7
  48. package/dist/{chunk-WTNB7B2K.js → chunk-2QJP2EKJ.js} +1 -1
  49. package/dist/{chunk-HABH5YAF.js → chunk-3T5N2K7K.js} +1 -1
  50. package/dist/{chunk-CLWAZBJY.js → chunk-7XJZM7F5.js} +1 -1
  51. package/dist/{chunk-FU324DV3.js → chunk-A2XEI5JG.js} +2 -2
  52. package/dist/{chunk-3XYCTAL7.js → chunk-BPGQZNU6.js} +8 -7
  53. package/dist/{chunk-BPKV6YLN.js → chunk-BUJD4PDG.js} +7 -7
  54. package/dist/{chunk-7K3EFBNK.js → chunk-C5PWXO5G.js} +1 -1
  55. package/dist/{chunk-HOKR2Q26.js → chunk-DHPVTGOX.js} +1 -1
  56. package/dist/{chunk-2S25YWMO.js → chunk-DJA35P57.js} +1 -1
  57. package/dist/{chunk-JH6E6IV4.js → chunk-E3B4JEYL.js} +2 -2
  58. package/dist/{chunk-EFY5C7ZJ.js → chunk-E4WDOYDS.js} +4 -4
  59. package/dist/{chunk-MA5VHGWC.js → chunk-F5KJWMYH.js} +10 -8
  60. package/dist/{chunk-JRG52PSI.js → chunk-FCKYBJCJ.js} +366 -366
  61. package/dist/{chunk-E2ACURKW.js → chunk-HASKRW5X.js} +2 -2
  62. package/dist/{chunk-LU3TWJX7.js → chunk-JKXLOSXJ.js} +3 -3
  63. package/dist/{chunk-7SPS7ZPW.js → chunk-LDYUNH5Q.js} +22 -22
  64. package/dist/{chunk-QNSTLSVL.js → chunk-NWKFGMF3.js} +2 -2
  65. package/dist/{chunk-6OBPZ6WK.js → chunk-NXX3E7JX.js} +1 -1
  66. package/dist/{chunk-SHCFV7PL.js → chunk-OQ4BIGR5.js} +7 -7
  67. package/dist/{chunk-IZMQNTWQ.js → chunk-PQL22SU6.js} +3 -3
  68. package/dist/{chunk-7XDDCPZV.js → chunk-QGGHCVKX.js} +1 -1
  69. package/dist/{chunk-CORHE557.js → chunk-QHNM2UTO.js} +4 -4
  70. package/dist/{chunk-AVBTCCAY.js → chunk-QRYPKPBN.js} +2 -2
  71. package/dist/{chunk-PYLSLW6L.js → chunk-R25V7AQG.js} +1 -1
  72. package/dist/{chunk-6Y3I2QFU.js → chunk-SAAYXL6V.js} +2 -2
  73. package/dist/{chunk-WJUF7P7N.js → chunk-SDF6U4XX.js} +1 -1
  74. package/dist/{chunk-VHXEXBGL.js → chunk-TV6CKQ2M.js} +4 -4
  75. package/dist/{chunk-PKD22D4H.js → chunk-UMPRDHNQ.js} +1 -1
  76. package/dist/{chunk-4FEKXZYP.js → chunk-VHESSGBR.js} +5 -5
  77. package/dist/{chunk-K6HCS36A.js → chunk-VQIEAP5U.js} +6 -6
  78. package/dist/{chunk-QJGQOAUK.js → chunk-VSYYI634.js} +1 -1
  79. package/dist/{chunk-46QQ3MQC.js → chunk-VYIM2IUO.js} +1 -2
  80. package/dist/{chunk-OEV6HQ3X.js → chunk-XHFLXURT.js} +1 -1
  81. package/dist/{chunk-5KH7Y233.js → chunk-XZ25DG73.js} +5 -5
  82. package/dist/{chunk-HAOLFBSD.js → chunk-ZBNFFCA5.js} +3 -3
  83. package/dist/{chunk-V342HTLC.js → chunk-ZVCDFSFW.js} +3 -3
  84. package/dist/{citations-A3N7E44V.js → citations-YW5QU7GI.js} +4 -4
  85. package/dist/{cli-catalog-2IKVWAJ7.js → cli-catalog-VSPAEL7Y.js} +3 -3
  86. package/dist/{cli-commands-RQNXVVYE.js → cli-commands-GJD73IE6.js} +7 -7
  87. package/dist/cli.js +13 -13
  88. package/dist/{competitor-CZV7O3YY.js → competitor-KUG7ZH4D.js} +3 -3
  89. package/dist/{content-7Y6QZH2G.js → content-SE7WEAKG.js} +3 -3
  90. package/dist/{dashboard-OOCOW7VZ.js → dashboard-43VOXHID.js} +6 -6
  91. package/dist/{demo-72QLTRMQ.js → demo-TWI6ROFX.js} +1 -1
  92. package/dist/{demo-server-NFJOZ6ZF.js → demo-server-AQKTQ6AW.js} +12 -12
  93. package/dist/{discover-LUCA6O5X.js → discover-X65CLZYY.js} +4 -4
  94. package/dist/{discover-eval-U2XY45WE.js → discover-eval-R4XVP5LH.js} +3 -3
  95. package/dist/{doctor-4O3ZZJAG.js → doctor-VUBA5CN3.js} +3 -3
  96. package/dist/{evidence-COM64MWY.js → evidence-UIFGERY4.js} +3 -3
  97. package/dist/{export-cmd-HEQ5TZER.js → export-cmd-6RTU5OZG.js} +3 -3
  98. package/dist/{ga-F5KCSFBL.js → ga-AZG7BHWQ.js} +3 -3
  99. package/dist/{gbp-GNHJKLUF.js → gbp-FBC5KMEQ.js} +3 -3
  100. package/dist/{google-SAW6YWIC.js → google-6TQ4YWAS.js} +4 -4
  101. package/dist/{google-marketing-SIZWYSL2.js → google-marketing-7MPF6LFW.js} +1 -1
  102. package/dist/{health-cmd-5IZFIQK2.js → health-cmd-Y5ZQ4TLG.js} +4 -4
  103. package/dist/{history-O3VAYWT6.js → history-YGGU2RYB.js} +3 -3
  104. package/dist/index.d.ts +70 -70
  105. package/dist/index.js +25 -25
  106. package/dist/{init-PYBQBY4K.js → init-Z64A6CBW.js} +12 -12
  107. package/dist/{insights-UFSQCY2N.js → insights-7XFNQHTX.js} +3 -3
  108. package/dist/intelligence-service-3U6RMPRG.js +16 -0
  109. package/dist/{journeys-XUPV4POH.js → journeys-PDWXN3IM.js} +3 -3
  110. package/dist/{keys-MWIC2RAM.js → keys-BKNJETWE.js} +3 -3
  111. package/dist/{keyword-BI6JIKFU.js → keyword-Z37NIEW4.js} +3 -3
  112. package/dist/{logs-DJAPNQRC.js → logs-ENWHNCTC.js} +3 -3
  113. package/dist/{mcp-K7KJOU2D.js → mcp-MV2VUJ4E.js} +4 -4
  114. package/dist/mcp.js +9 -9
  115. package/dist/{measurement-plan-IZ3ONXKO.js → measurement-plan-AWNVH5MW.js} +5 -5
  116. package/dist/{notify-23XROT44.js → notify-ZAFR4B47.js} +3 -3
  117. package/dist/{organic-evidence-MY3YS2FV.js → organic-evidence-ZK5IAVLI.js} +3 -3
  118. package/dist/{overview-XF3HRTRP.js → overview-ZFZYSJPU.js} +5 -5
  119. package/dist/{project-BTX7G7RS.js → project-HPZQGUR7.js} +3 -3
  120. package/dist/{project-setup-OEF4VHVO.js → project-setup-CEVH6KLJ.js} +3 -3
  121. package/dist/{query-67PA6WZ2.js → query-TOOIX2PP.js} +3 -3
  122. package/dist/{research-AFDDYAZS.js → research-HYJ76XNV.js} +3 -3
  123. package/dist/{results-export-6BI6P2MI.js → results-export-2MMDPWIU.js} +3 -3
  124. package/dist/{run-24TJZZXB.js → run-NNYEDFEF.js} +5 -5
  125. package/dist/{schedule-J2LIJ52P.js → schedule-S5W3XMP3.js} +3 -3
  126. package/dist/{search-6RAWS2IO.js → search-CPOTR6WQ.js} +3 -3
  127. package/dist/{serve-NI5YIJIJ.js → serve-5Y342F64.js} +26 -26
  128. package/dist/{session-ZZG6G4D7.js → session-WWV5MXI4.js} +13 -13
  129. package/dist/{settings-UV6TFSYN.js → settings-4UFTKOY4.js} +3 -3
  130. package/dist/{sitemaps-YVX6NKUG.js → sitemaps-FAZT7L64.js} +3 -3
  131. package/dist/{skills-6GYQKVDM.js → skills-K5RXHUIL.js} +2 -2
  132. package/dist/{snapshot-N6RFEDB5.js → snapshot-JM2B2WXU.js} +3 -3
  133. package/dist/{src-U2E6JQJF.js → src-UU4CGSEN.js} +2 -2
  134. package/dist/{status-HZHN6UNX.js → status-DYJPL4WJ.js} +5 -5
  135. package/dist/{technical-aeo-ZQD4Q7DP.js → technical-aeo-XSLLHFE5.js} +3 -3
  136. package/dist/{telemetry-GQA2LXOM.js → telemetry-26GTSZNT.js} +4 -4
  137. package/dist/{tools-XH6DGBGV.js → tools-QR2RY6LW.js} +11 -11
  138. package/dist/{traffic-Y6T2OKJF.js → traffic-OF52YJKX.js} +5 -5
  139. package/dist/{trends-DTHOUJUU.js → trends-SECIYTNL.js} +3 -3
  140. package/dist/{users-JSG4WKPW.js → users-ZM7IR4US.js} +3 -3
  141. package/dist/{visibility-stats-4FW4DZSK.js → visibility-stats-V5P4CZO4.js} +4 -4
  142. package/dist/{wordpress-AHTU5C7M.js → wordpress-Z32JMXJK.js} +3 -3
  143. package/package.json +1 -1
  144. package/assets/assets/ProjectPage-2oJ95fiK.js +0 -15
  145. 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 the full 90-day GA4 window. A failed
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> scores.mentionCoverage.value
215
- cnry get <project> scores.citationCoverage.value
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 scores.citationCoverage.value # pick a registered source
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 all configured providers
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
- > **Known gap (mention-first read):** `cnry health` is **citation-only** today — it has no mention dimension. For the primary mention-first read, use `cnry overview` and `cnry get <project> scores.mentionCoverage.value` / `cnry get <project> scores.mentionShare.value` until health is extended.
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,6 +800,7 @@ 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>
@@ -788,7 +814,7 @@ cnry notify remove <project> <id>
788
814
  cnry notify test <project> <id>
789
815
  ```
790
816
 
791
- Available events: `citation.lost`, `citation.gained`, `run.completed`, `run.failed`, `insight.critical`, `insight.high`
817
+ Use `cnry notify events --target server` for the connected server's current event catalog.
792
818
 
793
819
  `insight.critical` and `insight.high` fire when the intelligence engine generates critical- or high-severity insights after a sweep completes.
794
820
 
@@ -806,7 +832,7 @@ A webhook that lists either event receives **only the health events it lists**,
806
832
 
807
833
  **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
834
 
809
- > **No mention events yet.** Notification events cover the citation signal only — there are **no** `mention.lost` / `mention.gained` events today. For mention-first monitoring, read `scores.mentionCoverage` / `scores.mentionShare` via `cnry overview` (or the `insight.*` events, which can be driven by mention-side insights); do not wire automation to mention events that aren't emitted.
835
+ 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
836
 
811
837
  **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
838
 
@@ -821,7 +847,7 @@ A project whose overview `cnry overview --all` can't read keeps its table row, m
821
847
  ## Provider Settings & Quotas
822
848
 
823
849
  ```bash
824
- cnry settings # show config: providers, apiUrl, db path
850
+ cnry settings # show connected server's provider and Google OAuth settings
825
851
  cnry settings --format json
826
852
  cnry settings reload-providers --format json # apply the server's saved provider config
827
853
  cnry settings provider gemini --api-key <KEY> --model gemini-flash-latest
@@ -1034,7 +1060,7 @@ cnry discover run <project> --icp "..." --locations michigan,florida # geo-cons
1034
1060
 
1035
1061
  cnry discover list <project> # newest-first session list
1036
1062
  cnry discover show <project> <session-id> # per-query probe rows + buckets + classified competitor domains
1037
- cnry discover harvest <project> <session-id> # gated candidate seeds from the model's issued search-query fan-out (read-only; nothing is probed/tracked/promoted)
1063
+ cnry discover harvest <project> <session-id> # candidates from stored probes, with a possible live embedding call
1038
1064
  cnry discover harvest <project> <session-id> --min-probe-hits 2 --no-anchor # raise the recurrence floor / disable the subject anchor
1039
1065
  cnry discover promote preview <project> <session-id> # preview bucketed candidates + recurring suggested competitors of every classified type (read-only)
1040
1066
  cnry discover promote <project> <session-id> # adopt cited + aspirational queries + direct-competitor domains
@@ -1042,7 +1068,19 @@ cnry discover promote <project> <session-id> --competitor-types direct-competito
1042
1068
  cnry discover promote <project> <session-id> --bucket aspirational --no-competitors # scope to a bucket subset / skip competitor merge
1043
1069
  ```
1044
1070
 
1045
- Discovery requires Gemini configured (API key today; Vertex-mode embeddings are deferred). The pipeline writes a `discovery_sessions` row, a `runs` row (kind `aeo-discover-probe`), and one `discovery.basket-divergence` insight when the session completes. `discover harvest` is a separate read-only view over a completed session: it reads the search queries the answer engine actually issued to answer each probe (Gemini's `groundingMetadata.webSearchQueries` fan-out, already stored in the probe's `raw_response`) back out — no new model call — runs a mandatory quality gate (drops navigational/phone lookups, over-specific outliers, off-subject acronym collisions, exact already-tracked matches, and — via an embedding cosine pass over your tracked queries — semantic duplicates like paraphrases/synonyms that exact match can't see) and returns the survivors ranked by how many distinct probes issued each one. The output's `semanticNoveltyApplied` reports whether the embedding pass ran (it falls back to exact-match when no Gemini key is configured). 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. 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. After probing, one Gemini call classifies every recurring cited domain as `direct-competitor`, `ota-aggregator`, `editorial-media`, or `other` (a failed/legacy classification leaves domains `unknown`). Aero wakes unprompted with the bucket-count payload so the operator can act without polling. `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.
1071
+ 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.
1072
+
1073
+ The pipeline writes a `discovery_sessions` row, a `runs` row (kind `aeo-discover-probe`), and one `discovery.basket-divergence` insight when the session completes.
1074
+
1075
+ `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.
1076
+
1077
+ 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.
1078
+
1079
+ 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.
1080
+
1081
+ 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.
1082
+
1083
+ `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
1084
 
1047
1085
  ## Bing Webmaster Tools
1048
1086
 
@@ -1355,7 +1393,7 @@ cnry ga social-referral-summary <project> [--trend]
1355
1393
  # socialSharePct, topSources[]; --trend adds 7d/30d direction
1356
1394
  cnry ga session-history <project> [--window 30d] [--start YYYY-MM-DD] [--end YYYY-MM-DD]
1357
1395
  # daily totals: {date, sessions, organicSessions, users}
1358
- cnry ga overview <project> [--window 7d|30d|90d]
1396
+ cnry ga overview <project> [--window 7d|30d|90d|180d]
1359
1397
  # GA4's overview for the complete days ending yesterday
1360
1398
  # (default 30d): users, new users, sessions, organic
1361
1399
  # sessions, views, event count, key events, engagement
@@ -1808,16 +1846,16 @@ To keep backlinks fresh automatically, schedule a `backlinks-sync` kind (`cnry s
1808
1846
 
1809
1847
  ## CDP / Browser Provider
1810
1848
 
1811
- The CDP (Chrome DevTools Protocol) provider enables browser-based queries against AI chat interfaces (e.g., ChatGPT). This gives more accurate results than API-based providers for some use cases.
1849
+ 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
1850
 
1813
1851
  ```bash
1814
1852
  cnry cdp connect --host localhost --port 9222 # connect to Chrome CDP
1815
1853
  cnry cdp status # show connection status
1816
- cnry cdp targets # list available targets (ChatGPT, etc.)
1854
+ cnry cdp targets # list supported browser targets
1817
1855
  cnry cdp screenshot <query> --targets chatgpt # screenshot a query result
1818
1856
  ```
1819
1857
 
1820
- **Requires:** Chrome running with `--remote-debugging-port=9222`
1858
+ Start Chrome with `--remote-debugging-port=9222` and sign in to ChatGPT before you run browser queries.
1821
1859
 
1822
1860
  ## Telemetry
1823
1861
 
@@ -1848,8 +1886,8 @@ Kinds: `struggle`, `bug`, `improvement`, `other` (default). MCP equivalent: `can
1848
1886
  [--request-id <id>] [--since <ISO>] [--until <ISO>]
1849
1887
  [--limit <1..200>] [--cursor <cursor>] --format json`
1850
1888
  returns `{entries,nextCursor,truncated,dropped,retention,retentionPolicy,captureErrors,observedAt}`.
1851
- `jsonl` preserves this object envelope. It requires an instance-wide `logs.read`
1852
- grant (or wildcard); project-scoped credentials are rejected. Only allowlisted
1889
+ `jsonl` preserves this object envelope. It requires a host-approved operator key
1890
+ with an instance-wide `logs.read` grant (or wildcard). Only allowlisted
1853
1891
  diagnostic metadata and sanitized messages are exposed, including application
1854
1892
  and HTTP failures. File-backed hosts retain logs across restarts, capped at
1855
1893
  10,000 events and seven days; in-memory hosts report process retention. Raw
@@ -1874,7 +1912,6 @@ and request IDs are exposed when available; no mutation is automatically retried
1874
1912
  cnry apply project.yaml # apply declarative config
1875
1913
  cnry apply file1.yaml file2.yaml # multiple files
1876
1914
  cnry export <project> --include-results > project.yaml
1877
- cnry sitemap inspect <project>
1878
1915
  ```
1879
1916
 
1880
1917
  ## Agent
@@ -1895,6 +1932,7 @@ cnry agent ask <project> "<prompt>" --provider claude
1895
1932
  cnry agent ask <project> "<prompt>" --provider zai
1896
1933
  cnry agent ask <project> "<prompt>" --provider openai
1897
1934
  cnry agent ask <project> "<prompt>" --provider gemini
1935
+ cnry agent ask <project> "<prompt>" --provider openrouter --model publisher/model
1898
1936
 
1899
1937
  # Restrict the tool surface. Default is --scope all (full read+write surface).
1900
1938
  # --scope read-only matches the dashboard bar default so pasted "Copy as CLI"
@@ -1921,11 +1959,8 @@ cnry agent memory set <project> --key <k> --value <v> # 2 KB cap per value
1921
1959
  cnry agent memory forget <project> --key <k>
1922
1960
  ```
1923
1961
 
1924
- **Provider detection order** when `--provider` is omitted: `claude` →
1925
- `openai` → `gemini` → `zai`, whichever has an API key present first (from
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.
1962
+ 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.
1963
+ If an older configuration uses the retired `deepinfra` provider, switch to a supported provider.
1929
1964
 
1930
1965
  Conversations **persist per project** — `cnry agent ask` continues the
1931
1966
  active conversation each invocation. Use `cnry agent conversations list <project>`
@@ -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 (Phase 4 — write surface)
20
- - Posting local posts / offers (Phase 4)
21
- - Updating lodging attributes (Phase 4)
22
- - Pub/Sub notifications setup (Phase 4)
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
- For now, canonry is read-only on GBP. The Aero agent can draft suggested replies, but applying them is manual.
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
- The **reviews** endpoint lives on the legacy `mybusiness.googleapis.com` (v4), a separate API from the v1 family above. It is the single biggest stumbling block, and **production testing (May 2026) proved the Basic API Access approval does NOT grant it.**
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. The outcome is stored per location and shown by `cnry gbp reviews <project>` and the `gbp.reviews.access` doctor check; a `403 SERVICE_DISABLED` never fails the sync. Until Google enables v4, locations fall back to the public Places listing when Places runs on the `atmosphere` tier with an API key and the location has a Maps place id. That fallback costs at most one Place Details call per location per day (Enterprise + Atmosphere SKU) and stops by itself once v4 works.
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. Authorized redirect URIs: `http://localhost:53682/callback` (or whatever port canonry's connect flow uses — match it exactly).
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
- Either set env vars before running CLI commands:
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 OAuth scope requested is `https://www.googleapis.com/auth/business.manage`. **There is no read-only variant** — Google does not publish one. The consent screen will say "manage your business profile" even though canonry's read-only surface cannot write anything until Phase 4.
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 snapshots the raw Lodging API resource on every `gbp sync` and reports how many top-level groups are readable. It does **not** infer missing amenities from a zero-group response, and it does **not** treat generic `getAttributes` tags as a substitute for Hotel details. A zero-group Lodging API response remains a verify-the-Hotel-details-panel signal.
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
- - **No read-only OAuth scope** — `business.manage` is the only published scope. The consent screen will warn about write access even though canonry's v1 is read-only.
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
- - **Hybrid v1/v4 surface, separately gated** — reviews live on the legacy v4 host (`mybusiness.googleapis.com/v4`); everything else is v1. **The Basic API Access approval grants the v1 family but NOT v4.** Confirmed in production: a project running v1 at 300 QPM still gets `403 SERVICE_DISABLED` on v4 reviews, and the v4 API is producer-restricted (`gcloud services enable` → `PERMISSION_DENIED 110002`) so it can't be self-enabled even by the approved account. Treat reviews as a separately-gated surface that may be unavailable; never block the rest of the integration on it.
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 doesn't include the canonry callback URL | Add `http://localhost:53682/callback` (or the canonry-configured URL) to the OAuth client's authorized redirect URIs |
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 subscribes to `review.negative`, the location is still on its first (baseline) sync, it has no review source, or the send did not land | `cnry notify list <project>`, then `cnry doctor <project> --check gbp.reviews.access` for per-location coverage and `--check gbp.reviews.delivery` for alerts a destination refused or never answered |
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` | Low-volume keywords are privacy-redacted by Google | Expected — even a busy hotel can be ~89% thresholded; tiny businesses are 100%. Surfaced as `thresholdedKeywordPct` in the summary |
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 `canonry_load_toolkit` with `{ "name": "google-ads" }`.
79
- 2. Wait for the call to return.
80
- 3. Load `gtm`, `conversion-tracking`, and `monitoring` in the same way.
81
- 4. Read provider status and stored snapshots.
82
- 5. Read the declared contracts.
83
- 6. Assess each contract with `canonry_conversion_tracking_integrity`.
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
- Live discovery needs a full-instance key with
90
- `google-marketing.read-live`. Sync also needs
91
- `google-marketing.write` and can use a project-scoped key. A sync queues a run.
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
- Getting pages indexed fast is high-leverage AEO work. Unindexed pages are invisible to AI citation regardless of content quality.
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` → highest priority, submit immediately
22
- - `Discovered - currently not indexed` → Google found it but hasn't crawled — submit to accelerate
23
- - `indexed` → no action needed
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 # auto-discover sitemaps and queue inspection
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
- # Single URL
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
- **After submitting:** Check coverage again after 48h. Once indexed, ask for
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 sitemap (manual, one-time)
124
- Bing WMT → Sitemaps → submit `https://example.com/sitemap.xml`
120
+ ### Submit or resubmit a sitemap
125
121
 
126
- ### IndexNow (instant crawl signal)
127
- IndexNow is a direct ping to Bing: "these URLs changed, crawl them now." Without it, Bing discovers pages on its own schedule (days to weeks). With it, typically hours.
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
- Expected response: `202 Accepted`
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
- | Get pages into Copilot / Bing AI | IndexNow + Bing WMT |
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>` — identify unindexed pages
176
- 3. For eligible job or livestream pages only: `cnry google request-indexing <project> --all-unindexed`
177
- 4. `cnry bing request-indexing <project> --all-unindexed` — push to Bing
178
- 5. Submit sitemap to Bing WMT (manual, one-time per site)
179
- 6. Send IndexNow batch for key URLs
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
- Four tables store the shared output from every adapter:
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` | One row per `(project, source, visitor)`: each visitor's latest AI arrival (the visitor is a keyed hash of IP and user agent, never the address), kept 44 days so a later request of the same visit in a later batch is not counted again |
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. Install the plugin. Download the latest release zip from the
271
- # canonry-traffic-logger plugin's GitHub release (the repo CI workflow
272
- # publishes a zip on every plugin-file change), then in wp-admin:
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
- - **Path-level citation cross-reference is not implemented yet.** The
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 forwards only AI-referred and bot requests,
1417
- so journeys from a Cloudflare source record AI landings but not later visits.
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.
@@ -8,6 +8,7 @@ Canonry integrates with WordPress through the core REST API plus Application Pas
8
8
  - Audit pages for `noindex`, missing SEO title, missing meta description, missing schema, and thin content
9
9
  - Compare live vs staging for a page with `cnry wordpress diff`
10
10
  - Update SEO meta when the site exposes writable REST meta fields
11
+ - Deploy a profile's JSON-LD with `cnry wordpress schema deploy <project> --profile <file>` when the site supports the write
11
12
 
12
13
  ## What Stays Manual
13
14
 
@@ -38,8 +39,11 @@ Env-sensitive commands accept `--live` or `--staging`. If neither is provided, c
38
39
 
39
40
  ## Typical Workflow
40
41
 
42
+ Have the operator set `WP_APP_PASSWORD` in their terminal and run the connection command. Obtain approval for the exact WordPress change before running `set-meta` or another write.
43
+
41
44
  ```bash
42
- cnry wordpress connect mysite --url https://example.com --user admin --staging-url https://staging.example.com --default-env staging
45
+ cnry wordpress connect mysite --url https://example.com --user admin \
46
+ --app-password "$WP_APP_PASSWORD" --staging-url https://staging.example.com --default-env staging
43
47
  cnry wordpress pages mysite --staging
44
48
  cnry wordpress page mysite pricing --staging
45
49
  cnry wordpress set-meta mysite pricing --title "SEO title" --description "Meta description" --staging
@@ -58,4 +62,4 @@ cnry wordpress staging push mysite
58
62
 
59
63
  ## Related: Elementor MCP
60
64
 
61
- For programmatic management of Elementor page layouts, widgets, and styling via MCP tools, see the aero skill reference: [`skills/aero/references/wordpress-elementor-mcp.md`](../../aero/references/wordpress-elementor-mcp.md).
65
+ If both skills are installed, read the [local Aero Elementor reference](../../aero/references/wordpress-elementor-mcp.md). If only the Canonry skill is installed, read the [Aero Elementor reference on GitHub](https://github.com/Canonry/canonry/blob/main/skills/aero/references/wordpress-elementor-mcp.md).
@@ -1,4 +1,4 @@
1
- import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{H as t,W as n,ft as r,tt as i}from"./vendor-lucide-iE5MEh2-.js";import{r as a}from"./vendor-markdown-BBGbNklj.js";import{At as o,Cs as s,Mt as c,Ss as l,jt as u,mt as d,on as f,r as p,sn as m,t as h,xs as g,zn as _}from"./ToneBadge-BkNG9buI.js";import{r as v}from"./account-context-C66suepK.js";import{t as y}from"./async-handler-Bj3TnIRw.js";import{at as b,lt as x}from"./index-CyETulrn.js";var S=e(r(),1),C=`Use the official Canonry docs:
1
+ import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{H as t,W as n,ft as r,tt as i}from"./vendor-lucide-iE5MEh2-.js";import{r as a}from"./vendor-markdown-BBGbNklj.js";import{At as o,Cs as s,Mt as c,Ss as l,jt as u,mt as d,on as f,r as p,sn as m,t as h,xs as g,zn as _}from"./ToneBadge-BkNG9buI.js";import{r as v}from"./account-context-C66suepK.js";import{t as y}from"./async-handler-Bj3TnIRw.js";import{at as b,lt as x}from"./index-C05Wdzzv.js";var S=e(r(),1),C=`Use the official Canonry docs:
2
2
  - Agent quickstart: https://github.com/Canonry/canonry#or-use-any-shell-capable-coding-agent
3
3
  - CLI reference: https://github.com/Canonry/canonry/blob/main/skills/canonry/references/canonry-cli.md
4
4
  - Plugin setup: https://github.com/Canonry/canonry/blob/main/docs/plugins.md