@canonry/canonry 7.117.0 → 7.118.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.
Files changed (156) hide show
  1. package/assets/agent-workspace/skills/aero/references/agent-operations.md +4 -1
  2. package/assets/agent-workspace/skills/aero/references/getting-started.md +8 -6
  3. package/assets/agent-workspace/skills/canonry/SKILL.md +4 -1
  4. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +12 -1
  5. package/assets/agent-workspace/skills/canonry/references/getting-started.md +8 -6
  6. package/assets/agent-workspace/skills/canonry/references/indexing.md +6 -1
  7. package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +13 -0
  8. package/assets/assets/{AccessControls-4y1oQn1V.js → AccessControls-CCvvzEec.js} +2 -2
  9. package/assets/assets/{AgentSetupPage-Bulql2xU.js → AgentSetupPage-B-vXoIII.js} +4 -4
  10. package/assets/assets/{AuditHistoryPanel-LAJvBwz7.js → AuditHistoryPanel-ClexSdME.js} +1 -1
  11. package/assets/assets/{BacklinksPage-HoInwKA9.js → BacklinksPage-QMPUVhzl.js} +1 -1
  12. package/assets/assets/{ChartPrimitives-9e4Uk_ou.js → ChartPrimitives-Dd9VFWrj.js} +1 -1
  13. package/assets/assets/{HistoryPage-CjbhISjr.js → HistoryPage-CzQLFEZG.js} +1 -1
  14. package/assets/assets/{MeasurementPropertyPage-BirXf9xb.js → MeasurementPropertyPage-BTgy_3-R.js} +3 -3
  15. package/assets/assets/ProjectPage-DLgYLplH.js +15 -0
  16. package/assets/assets/{RunsPage-CTdVk0MW.js → RunsPage-CnWXQk8q.js} +1 -1
  17. package/assets/assets/ServerTrafficSection-DqVZznpe.js +41 -0
  18. package/assets/assets/{SettingsPage-CcUN3Xwn.js → SettingsPage-D2j93m5Q.js} +1 -1
  19. package/assets/assets/ToneBadge-Dym1_0XC.js +60 -0
  20. package/assets/assets/{TrafficPage-C_N7VjbI.js → TrafficPage-CzieybRn.js} +1 -1
  21. package/assets/assets/{TrafficSourceDetailPage-CbMzqWRU.js → TrafficSourceDetailPage-CtmGPXZc.js} +1 -1
  22. package/assets/assets/{account-context-Cp3gUKpA.js → account-context-ClThq0Zv.js} +1 -1
  23. package/assets/assets/agent-trust-copy-C0WnWM9W.js +1 -0
  24. package/assets/assets/{card-BdycYoUe.js → card-C-9Q2kJl.js} +1 -1
  25. package/assets/assets/{index-BWK1ufZ4.css → index-C9Op8ix9.css} +1 -1
  26. package/assets/assets/index-CzPXJ0Qs.js +43 -0
  27. package/assets/assets/{preload-helper-DhMqMP1i.js → preload-helper-DV4nEYWy.js} +1 -1
  28. package/assets/assets/{query-client-CKdvw14M.js → query-client-plQHRUyr.js} +1 -1
  29. package/assets/assets/react-query-Dz0xmEkM.js +1 -0
  30. package/assets/assets/{react-sigma_core.esm.min-BifxdtsK.js → react-sigma_core.esm.min-B-tTeVwc.js} +1 -1
  31. package/assets/assets/{server-traffic-CzeAohmZ.js → server-traffic-BNdX8qZ4.js} +1 -1
  32. package/assets/assets/service-CN4HIDuw.js +1 -0
  33. package/assets/index.html +10 -10
  34. package/dist/{ads-WGHRYBI4.js → ads-GVOTYDS3.js} +4 -4
  35. package/dist/{agent-WCTEOSHB.js → agent-RFYMQYMN.js} +8 -8
  36. package/dist/{agent-ask-GQ2R654T.js → agent-ask-MZRUCCJO.js} +4 -4
  37. package/dist/{agent-conversations-5QQDBC77.js → agent-conversations-WBP5TI3X.js} +4 -4
  38. package/dist/{agent-journeys-TEBI4S2U.js → agent-journeys-6CR77XCZ.js} +4 -4
  39. package/dist/{agent-memory-5E37W5RB.js → agent-memory-PH3Y7OKJ.js} +4 -4
  40. package/dist/{agent-providers-TPEFZYEI.js → agent-providers-3CBKNXSW.js} +4 -4
  41. package/dist/{agent-transcript-BTWB7B44.js → agent-transcript-BN3DCK33.js} +4 -4
  42. package/dist/{analytics-T6KHZBRJ.js → analytics-43UR5IMY.js} +4 -4
  43. package/dist/{apply-FV2EIDYF.js → apply-POV25FNG.js} +4 -4
  44. package/dist/{backfill-RUGFDQ4K.js → backfill-CWC3W72X.js} +11 -11
  45. package/dist/{backlinks-HFP4VW6Y.js → backlinks-W3SLOIHP.js} +4 -4
  46. package/dist/{bing-MRP7HHFP.js → bing-HGKOR5GV.js} +11 -9
  47. package/dist/{bootstrap-HYLV7ZDL.js → bootstrap-XAKQKZCC.js} +11 -11
  48. package/dist/{cdp-724G6FYJ.js → cdp-WAB5BPGB.js} +8 -8
  49. package/dist/{chunk-JWZ5AG27.js → chunk-35DM6ZZ2.js} +2 -2
  50. package/dist/{chunk-364F7UHP.js → chunk-377K7XSP.js} +126 -8
  51. package/dist/{chunk-DAH257DW.js → chunk-3C6A63IG.js} +15 -5
  52. package/dist/{chunk-FSWYJRKJ.js → chunk-4A2JURHR.js} +2 -2
  53. package/dist/{chunk-QHVRNO5T.js → chunk-6AJ4Y3QL.js} +2 -2
  54. package/dist/{chunk-LMN6GFYR.js → chunk-6ORW2OUQ.js} +1 -1
  55. package/dist/{chunk-5SYONZTG.js → chunk-6UNZDUB6.js} +1 -1
  56. package/dist/{chunk-HQATGNXD.js → chunk-7ACE6HGU.js} +3 -3
  57. package/dist/{chunk-NCTXENRW.js → chunk-7JFPGEXQ.js} +34 -7
  58. package/dist/{chunk-QFRX3G36.js → chunk-CDPZTIK2.js} +4 -4
  59. package/dist/{chunk-C6SNVKJE.js → chunk-G2JP3KNY.js} +4 -4
  60. package/dist/{chunk-O5LPKFE3.js → chunk-G3HBHMML.js} +1 -1
  61. package/dist/{chunk-2DDMEFQV.js → chunk-GSQQ6VVV.js} +1 -1
  62. package/dist/{chunk-CLL42E6C.js → chunk-GY7YLVMD.js} +4 -4
  63. package/dist/{chunk-EXUNFJZM.js → chunk-HIPSMSH3.js} +386 -379
  64. package/dist/{chunk-MT24J6HQ.js → chunk-HQ6GLLVU.js} +2 -2
  65. package/dist/{chunk-HJGEUXEE.js → chunk-HZTKUGQ4.js} +3 -3
  66. package/dist/{chunk-UVBBDQY7.js → chunk-ILDAN5TW.js} +1 -1
  67. package/dist/{chunk-WMGA5B6O.js → chunk-IOOJ7DQ6.js} +1 -1
  68. package/dist/{chunk-7SPPW7RL.js → chunk-LBNJVTGN.js} +10 -7
  69. package/dist/{chunk-7YI5TKLS.js → chunk-LSNAMUIJ.js} +2 -2
  70. package/dist/{chunk-KCNLELKC.js → chunk-NJWBSLRW.js} +8 -8
  71. package/dist/{chunk-V24FJMBV.js → chunk-NZZSWCNM.js} +1 -1
  72. package/dist/{chunk-GWV5FDSB.js → chunk-O67HAPZL.js} +7 -7
  73. package/dist/{chunk-KHHI2RES.js → chunk-OKPD7X4P.js} +85 -98
  74. package/dist/{chunk-4EZXHPWO.js → chunk-Q7LU7GTH.js} +1 -1
  75. package/dist/{chunk-PDEA6DFG.js → chunk-QOFWKOKD.js} +4 -4
  76. package/dist/{chunk-NNHI6SOT.js → chunk-QT475Y6O.js} +4 -4
  77. package/dist/{chunk-CFFQ7N7H.js → chunk-RLDRNIB4.js} +5 -5
  78. package/dist/{chunk-3ZEMWSBQ.js → chunk-SBLC7FYP.js} +2 -2
  79. package/dist/{chunk-IYUYV4DV.js → chunk-SG7E3WTC.js} +5 -5
  80. package/dist/{chunk-R6H6C6XL.js → chunk-SZSZSOXP.js} +2 -2
  81. package/dist/{chunk-7TZGXK32.js → chunk-U3TO2MFS.js} +4 -4
  82. package/dist/{chunk-Z27VH6RO.js → chunk-UKFXP4R5.js} +1301 -1140
  83. package/dist/{chunk-RIWCGXFR.js → chunk-V2VWIGVT.js} +1 -1
  84. package/dist/{chunk-7VACCYGL.js → chunk-VU3TF5CD.js} +1 -1
  85. package/dist/{chunk-AY2CWNOQ.js → chunk-WKYQRF5A.js} +3 -3
  86. package/dist/{chunk-XKVZ7MMK.js → chunk-XDOP2ANX.js} +7876 -7816
  87. package/dist/{citations-KC7Y7N5P.js → citations-IMPVSN25.js} +5 -5
  88. package/dist/{cli-catalog-O4M5O6QC.js → cli-catalog-OFMWOBCF.js} +4 -4
  89. package/dist/cli-commands-HZNVXGGC.js +18 -0
  90. package/dist/cli.js +14 -14
  91. package/dist/{competitor-3QTT47SE.js → competitor-2NFTABZM.js} +4 -4
  92. package/dist/{content-NBJUBXAK.js → content-HYV3JOIS.js} +4 -4
  93. package/dist/{dashboard-4354AUW2.js → dashboard-DCYRYQ6M.js} +7 -7
  94. package/dist/{demo-BCYZJNE7.js → demo-X44XG3CF.js} +3 -3
  95. package/dist/{demo-server-4R3LP7S4.js → demo-server-SPMBNVZA.js} +13 -13
  96. package/dist/{discover-DPHOON57.js → discover-VIQMARSR.js} +5 -5
  97. package/dist/{discover-eval-PXPAIASG.js → discover-eval-M5RRXWMX.js} +4 -4
  98. package/dist/{doctor-UDBBA6AL.js → doctor-HATXMESK.js} +4 -4
  99. package/dist/{evidence-I3XISHLS.js → evidence-C3IBS7TO.js} +4 -4
  100. package/dist/{export-cmd-3L67R5HU.js → export-cmd-F674KINC.js} +4 -4
  101. package/dist/{ga-KQ4ECR2W.js → ga-AWBTXHSN.js} +4 -4
  102. package/dist/{gbp-F6MDUS5L.js → gbp-NAZYXN4S.js} +4 -4
  103. package/dist/{google-RH4SIEJU.js → google-IYDAWLIV.js} +5 -5
  104. package/dist/{google-marketing-UPSMKGNA.js → google-marketing-NHV7BCQM.js} +2 -2
  105. package/dist/{health-cmd-25O4GVVB.js → health-cmd-ASZUPWDG.js} +5 -5
  106. package/dist/{history-XLKSQRKU.js → history-TFLEYUHW.js} +4 -4
  107. package/dist/index.d.ts +107 -104
  108. package/dist/index.js +27 -27
  109. package/dist/{init-TKSOQQLY.js → init-ZMIYUSPN.js} +13 -13
  110. package/dist/{insights-CHKPXVYD.js → insights-VMU43BJM.js} +4 -4
  111. package/dist/intelligence-service-TGXLLDIW.js +15 -0
  112. package/dist/{journeys-TXW3D4BK.js → journeys-DSPUDWGM.js} +4 -4
  113. package/dist/{keys-KOZJQ6RL.js → keys-K56VXNJX.js} +4 -4
  114. package/dist/{keyword-JFXAWLJ3.js → keyword-FCMS45PF.js} +4 -4
  115. package/dist/{logs-LVLJZK4Y.js → logs-75HP7UD3.js} +4 -4
  116. package/dist/{mcp-6DEVFKO5.js → mcp-D7P73XVO.js} +5 -5
  117. package/dist/mcp.js +11 -11
  118. package/dist/{measurement-plan-YKHZK3Y5.js → measurement-plan-AX6G3RWU.js} +6 -6
  119. package/dist/{notify-45ZU2G36.js → notify-QUOFVHKS.js} +4 -4
  120. package/dist/{organic-evidence-VUBMMPWH.js → organic-evidence-PPHL7QGS.js} +4 -4
  121. package/dist/{overview-GBS5NHCJ.js → overview-C6SSTCC6.js} +6 -6
  122. package/dist/{project-J2YNWGEX.js → project-MMQ2H6TH.js} +4 -4
  123. package/dist/{project-setup-EC5HNSZF.js → project-setup-6DGYQAG2.js} +4 -4
  124. package/dist/{query-ACWZGWJW.js → query-EJGNRC2F.js} +4 -4
  125. package/dist/{research-RNQ3RKYQ.js → research-X43RAY3W.js} +4 -4
  126. package/dist/{results-export-LLYRKV4I.js → results-export-FOQXK6NA.js} +4 -4
  127. package/dist/{run-YQMLKJ5Q.js → run-D4CFXIFR.js} +6 -6
  128. package/dist/{schedule-JNFVQ64W.js → schedule-UFOJOPKA.js} +4 -4
  129. package/dist/{search-3YMN7RGP.js → search-6C3ZPK24.js} +4 -4
  130. package/dist/{serve-H3FSLDBB.js → serve-5WZQBOXG.js} +28 -28
  131. package/dist/{session-BUG4PC4Q.js → session-3YQ2HXJW.js} +15 -15
  132. package/dist/{settings-2MF34VZU.js → settings-6AGLHMPI.js} +4 -4
  133. package/dist/{sitemaps-W62QTGEY.js → sitemaps-FIN5CVTH.js} +4 -4
  134. package/dist/{skills-LG2OK3RV.js → skills-3ZD3N6S7.js} +3 -3
  135. package/dist/{snapshot-26HVOJOZ.js → snapshot-EFW3B6TM.js} +4 -4
  136. package/dist/{src-HJXB6FE7.js → src-QSFAXHBF.js} +2 -2
  137. package/dist/{status-6DARHG6B.js → status-CLWEOZP4.js} +6 -6
  138. package/dist/{support-CUPMHQCX.js → support-P5H555LC.js} +2 -2
  139. package/dist/{technical-aeo-F577YYRG.js → technical-aeo-IVNC26PJ.js} +4 -4
  140. package/dist/{telemetry-LQC6MZQY.js → telemetry-ZUFUNFST.js} +5 -5
  141. package/dist/{tools-X3QOUX35.js → tools-QYZRDVAH.js} +12 -12
  142. package/dist/{traffic-AUNXJSDG.js → traffic-CN667DLE.js} +20 -26
  143. package/dist/{trends-3ERZYH3R.js → trends-2XLTO3EN.js} +4 -4
  144. package/dist/{users-GXDHZJOY.js → users-NXZSJ7CM.js} +4 -4
  145. package/dist/{visibility-stats-YQQJOAF3.js → visibility-stats-DTJD4TEN.js} +5 -5
  146. package/dist/{wordpress-IHRTXC6Z.js → wordpress-LE6UNQCX.js} +4 -4
  147. package/package.json +1 -1
  148. package/assets/assets/ProjectPage-YYOXIYdF.js +0 -15
  149. package/assets/assets/ServerTrafficSection-XNmPLx9Y.js +0 -41
  150. package/assets/assets/ToneBadge-z_iW7szG.js +0 -60
  151. package/assets/assets/agent-trust-copy-sJKxj75E.js +0 -1
  152. package/assets/assets/index-C1-XnmeI.js +0 -43
  153. package/assets/assets/react-query-BlKsyRU6.js +0 -1
  154. package/assets/assets/service-B_C7q30t.js +0 -1
  155. package/dist/cli-commands-DLA3O4E6.js +0 -18
  156. package/dist/intelligence-service-HPGRQXUW.js +0 -15
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  trackCliConnection
3
- } from "./chunk-R6H6C6XL.js";
3
+ } from "./chunk-SZSZSOXP.js";
4
4
  import {
5
5
  answerServiceDescriptors
6
- } from "./chunk-WMGA5B6O.js";
6
+ } from "./chunk-IOOJ7DQ6.js";
7
7
  import {
8
8
  outcomeFailure
9
- } from "./chunk-CLL42E6C.js";
9
+ } from "./chunk-GY7YLVMD.js";
10
10
  import {
11
11
  isLoopbackBindHost
12
12
  } from "./chunk-TSENU4GG.js";
13
13
  import {
14
14
  registeredProviderNames
15
- } from "./chunk-UVBBDQY7.js";
15
+ } from "./chunk-ILDAN5TW.js";
16
16
  import {
17
17
  isTelemetryEnabled,
18
18
  recordInstallRef
19
- } from "./chunk-7YI5TKLS.js";
19
+ } from "./chunk-LSNAMUIJ.js";
20
20
  import {
21
21
  createApiClient
22
- } from "./chunk-AY2CWNOQ.js";
22
+ } from "./chunk-WKYQRF5A.js";
23
23
  import {
24
24
  configExists,
25
25
  getAnswerServiceEnv,
@@ -30,25 +30,25 @@ import {
30
30
  loadConfigRaw,
31
31
  saveConfig,
32
32
  withBootstrapProviderDefaults
33
- } from "./chunk-7SPPW7RL.js";
33
+ } from "./chunk-LBNJVTGN.js";
34
34
  import "./chunk-AOJU5LKX.js";
35
35
  import {
36
36
  CliError,
37
37
  isEndpointMissing,
38
38
  isMachineFormat,
39
39
  systemError
40
- } from "./chunk-7VACCYGL.js";
41
- import "./chunk-2DDMEFQV.js";
40
+ } from "./chunk-VU3TF5CD.js";
41
+ import "./chunk-GSQQ6VVV.js";
42
42
  import {
43
43
  apiKeys,
44
44
  createClient,
45
45
  dashboardSessions,
46
46
  migrate
47
- } from "./chunk-O5LPKFE3.js";
47
+ } from "./chunk-G3HBHMML.js";
48
48
  import {
49
49
  ProviderNames,
50
50
  ProviderReloadErrorReasons
51
- } from "./chunk-XKVZ7MMK.js";
51
+ } from "./chunk-XDOP2ANX.js";
52
52
 
53
53
  // src/commands/bootstrap.ts
54
54
  import crypto from "crypto";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  trackCliConnection
3
- } from "./chunk-R6H6C6XL.js";
3
+ } from "./chunk-SZSZSOXP.js";
4
4
  import {
5
5
  outcomeFailure
6
- } from "./chunk-CLL42E6C.js";
7
- import "./chunk-7YI5TKLS.js";
6
+ } from "./chunk-GY7YLVMD.js";
7
+ import "./chunk-LSNAMUIJ.js";
8
8
  import {
9
9
  createApiClient
10
- } from "./chunk-AY2CWNOQ.js";
10
+ } from "./chunk-WKYQRF5A.js";
11
11
  import {
12
12
  loadConfig,
13
13
  saveConfigPatch
14
- } from "./chunk-7SPPW7RL.js";
14
+ } from "./chunk-LBNJVTGN.js";
15
15
  import "./chunk-AOJU5LKX.js";
16
16
  import {
17
17
  CliError,
18
18
  isMachineFormat
19
- } from "./chunk-7VACCYGL.js";
20
- import "./chunk-2DDMEFQV.js";
19
+ } from "./chunk-VU3TF5CD.js";
20
+ import "./chunk-GSQQ6VVV.js";
21
21
  import {
22
22
  describeError
23
- } from "./chunk-XKVZ7MMK.js";
23
+ } from "./chunk-XDOP2ANX.js";
24
24
 
25
25
  // src/commands/cdp.ts
26
26
  function getClient() {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getRequestContext
3
- } from "./chunk-2DDMEFQV.js";
3
+ } from "./chunk-GSQQ6VVV.js";
4
4
  import {
5
5
  diagnosticIdentity,
6
6
  redactLogString,
7
7
  redactLogValue
8
- } from "./chunk-XKVZ7MMK.js";
8
+ } from "./chunk-XDOP2ANX.js";
9
9
 
10
10
  // ../api-routes/src/runtime-logger.ts
11
11
  import { format } from "util";
@@ -5,14 +5,14 @@ import {
5
5
  dedupeGscSitemapUrls,
6
6
  resolveDiscoveredGscSitemapUrls,
7
7
  submitGscSitemapBatches
8
- } from "./chunk-3ZEMWSBQ.js";
8
+ } from "./chunk-SBLC7FYP.js";
9
9
  import {
10
10
  measurementDraftOperationSchema,
11
11
  runMeasurementDraftAction
12
- } from "./chunk-RIWCGXFR.js";
12
+ } from "./chunk-V2VWIGVT.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-7VACCYGL.js";
15
+ } from "./chunk-VU3TF5CD.js";
16
16
  import {
17
17
  AGENT_MEMORY_KEY_MAX_LENGTH,
18
18
  AGENT_MEMORY_VALUE_MAX_BYTES,
@@ -53,7 +53,11 @@ import {
53
53
  apiKeyDtoSchema,
54
54
  auditHistoryQuerySchema,
55
55
  backlinkSourceSchema,
56
+ bingConnectResponseDtoSchema,
57
+ bingSetSiteResponseDtoSchema,
56
58
  bingSiteSnapshotKindSchema,
59
+ bingSitesResponseDtoSchema,
60
+ bingStatusDtoSchema,
57
61
  calendarDateSchema,
58
62
  canonicalizeGtmAccountId,
59
63
  canonicalizeGtmResourceSelection,
@@ -76,7 +80,10 @@ import {
76
80
  gaMeasurementHostScopeSchema,
77
81
  gaSearchLandingWindowSchema,
78
82
  googleAdsMetricsWindowSchema,
83
+ googleConnectionDtoSchema,
84
+ googleOAuthStartResponseSchema,
79
85
  gscPerformanceOrderBySchema,
86
+ gscSiteListResponseDtoSchema,
80
87
  insightSeveritySchema,
81
88
  instanceStatusDtoSchema,
82
89
  journeyDetailQuerySchema,
@@ -143,6 +150,7 @@ import {
143
150
  schedulePreviewDtoSchema,
144
151
  schedulePreviewRequestSchema,
145
152
  scheduleUpsertRequestSchema,
153
+ searchSiteUrlSchema,
146
154
  sentimentBackfillPreviewReadSchema,
147
155
  sentimentBackfillRequestSchema,
148
156
  sentimentBackfillSelectionSchema,
@@ -205,7 +213,7 @@ import {
205
213
  trendSurfaceSchema,
206
214
  visibilityCompareSelectionSchema,
207
215
  visibilityReportRequestSchema
208
- } from "./chunk-XKVZ7MMK.js";
216
+ } from "./chunk-XDOP2ANX.js";
209
217
 
210
218
  // src/mcp/tool-registry.ts
211
219
  import { z as z2 } from "zod";
@@ -2551,6 +2559,42 @@ var rawCanonryMcpTools = [
2551
2559
  openApiOperations: ["GET /api/v1/projects/{name}/google/connections"],
2552
2560
  handler: (client, input) => client.googleConnections(input.project)
2553
2561
  }),
2562
+ defineTool({
2563
+ name: "canonry_gsc_connect",
2564
+ title: "Authorize Search Console",
2565
+ description: "Start Google Search Console OAuth for the project. Give authUrl to the operator to open and approve in a browser. After consent, use canonry_gsc_properties and canonry_gsc_set_property to select the site.",
2566
+ access: "write",
2567
+ tier: "gsc",
2568
+ inputSchema: projectInputSchema.strict(),
2569
+ outputSchema: googleOAuthStartResponseSchema,
2570
+ annotations: writeAnnotations({ idempotentHint: false }),
2571
+ openApiOperations: ["POST /api/v1/projects/{name}/google/connect"],
2572
+ handler: (client, input) => client.googleConnect(input.project, { type: "gsc" })
2573
+ }),
2574
+ defineTool({
2575
+ name: "canonry_gsc_properties",
2576
+ title: "List Search Console properties",
2577
+ description: "List sites visible to the connected Google account and their permission levels. This calls Google live and requires an instance administrator. Pass the selected siteUrl to canonry_gsc_set_property.",
2578
+ access: "read",
2579
+ tier: "gsc",
2580
+ inputSchema: projectInputSchema,
2581
+ outputSchema: gscSiteListResponseDtoSchema,
2582
+ annotations: readAnnotations(true),
2583
+ openApiOperations: ["GET /api/v1/projects/{name}/google/properties"],
2584
+ handler: (client, input) => client.googleProperties(input.project)
2585
+ }),
2586
+ defineTool({
2587
+ name: "canonry_gsc_set_property",
2588
+ title: "Select Search Console property",
2589
+ description: "Save the exact siteUrl selected from canonry_gsc_properties. Requires an instance administrator. Changing the property clears stored Search Console history for projects sharing this connection. Wait for active Search Console syncs or inspections to finish before changing properties.",
2590
+ access: "write",
2591
+ tier: "gsc",
2592
+ inputSchema: projectInputSchema.extend({ siteUrl: z2.string().min(1).describe("Exact domain or URL-prefix property returned by Google, including sc-domain: when present.") }).strict(),
2593
+ outputSchema: googleConnectionDtoSchema,
2594
+ annotations: writeAnnotations({ idempotentHint: true, destructiveHint: true, openWorldHint: false }),
2595
+ openApiOperations: ["PUT /api/v1/projects/{name}/google/connections/{type}/property"],
2596
+ handler: (client, input) => client.googleSetProperty(input.project, "gsc", input.siteUrl)
2597
+ }),
2554
2598
  defineTool({
2555
2599
  name: "canonry_gsc_performance",
2556
2600
  title: "Get GSC performance",
@@ -2639,6 +2683,54 @@ var rawCanonryMcpTools = [
2639
2683
  openApiOperations: ["GET /api/v1/projects/{name}/google/gsc/coverage/history"],
2640
2684
  handler: (client, input) => client.gscCoverageHistory(input.project, { limit: input.limit })
2641
2685
  }),
2686
+ defineTool({
2687
+ name: "canonry_bing_status",
2688
+ title: "Get Bing connection status",
2689
+ description: "Read the project domain and selected Bing Webmaster Tools site from saved settings.",
2690
+ access: "read",
2691
+ tier: "bing",
2692
+ inputSchema: projectInputSchema,
2693
+ outputSchema: bingStatusDtoSchema,
2694
+ annotations: readAnnotations(),
2695
+ openApiOperations: ["GET /api/v1/projects/{name}/bing/status"],
2696
+ handler: (client, input) => client.bingStatus(input.project)
2697
+ }),
2698
+ defineTool({
2699
+ name: "canonry_bing_connect",
2700
+ title: "Connect Bing Webmaster Tools",
2701
+ description: "Connect the project using the Bing API key already saved in Canonry Settings. Requires install administrator authority. Verifies the key with Bing and returns available sites. Choose the approved site with canonry_bing_set_site. If no key is saved, the operator enters it in Settings.",
2702
+ access: "write",
2703
+ tier: "bing",
2704
+ inputSchema: projectInputSchema.strict(),
2705
+ outputSchema: bingConnectResponseDtoSchema,
2706
+ annotations: writeAnnotations({ idempotentHint: true }),
2707
+ openApiOperations: ["POST /api/v1/projects/{name}/bing/connect"],
2708
+ handler: (client, input) => client.bingConnect(input.project, { useSavedKey: true })
2709
+ }),
2710
+ defineTool({
2711
+ name: "canonry_bing_sites",
2712
+ title: "List sites in the connected Bing account",
2713
+ description: "Ask Bing for the sites on the connected account and their verification status. Requires install administrator authority.",
2714
+ access: "read",
2715
+ tier: "bing",
2716
+ inputSchema: projectInputSchema,
2717
+ outputSchema: bingSitesResponseDtoSchema,
2718
+ annotations: readAnnotations(true),
2719
+ openApiOperations: ["GET /api/v1/projects/{name}/bing/sites"],
2720
+ handler: (client, input) => client.bingSites(input.project)
2721
+ }),
2722
+ defineTool({
2723
+ name: "canonry_bing_set_site",
2724
+ title: "Select a Bing site for the project",
2725
+ description: "Save the exact verified site URL returned by canonry_bing_connect or canonry_bing_sites for the owning project. Changing the site clears its previous Bing history and requires active Bing syncs or inspections to finish. A project-scoped writer can select only the exact configured project site on an exclusive connection.",
2726
+ access: "write",
2727
+ tier: "bing",
2728
+ inputSchema: projectInputSchema.extend({ siteUrl: searchSiteUrlSchema }),
2729
+ outputSchema: bingSetSiteResponseDtoSchema,
2730
+ annotations: writeAnnotations({ idempotentHint: true, destructiveHint: true, openWorldHint: false }),
2731
+ openApiOperations: ["POST /api/v1/projects/{name}/bing/set-site"],
2732
+ handler: (client, input) => client.bingSetSite(input.project, input.siteUrl)
2733
+ }),
2642
2734
  defineTool({
2643
2735
  name: "canonry_bing_coverage",
2644
2736
  title: "Get Bing coverage",
@@ -2847,17 +2939,40 @@ var rawCanonryMcpTools = [
2847
2939
  openApiOperations: ["GET /api/v1/projects/{name}/ga/status"],
2848
2940
  handler: (client, input) => client.gaStatus(input.project)
2849
2941
  }),
2942
+ defineTool({
2943
+ name: "canonry_ga_oauth_start",
2944
+ title: "Authorize Google Analytics 4",
2945
+ description: "Start GA4 OAuth for the project. Give authUrl to the operator to open and approve in a browser. After consent, use canonry_ga_properties to choose a numeric property ID and canonry_ga_connect to verify it.",
2946
+ access: "write",
2947
+ tier: "ga",
2948
+ inputSchema: projectInputSchema.strict(),
2949
+ outputSchema: googleOAuthStartResponseSchema,
2950
+ annotations: writeAnnotations({ idempotentHint: false }),
2951
+ openApiOperations: ["POST /api/v1/projects/{name}/google/connect"],
2952
+ handler: (client, input) => client.googleConnect(input.project, { type: "ga4" })
2953
+ }),
2850
2954
  defineTool({
2851
2955
  name: "canonry_ga_properties",
2852
2956
  title: "List GA4 properties",
2853
- description: `List the GA4 properties the project's connected Google account can read, with their numeric property ids. Use this to find the id that "canonry ga connect --property-id" needs; it cannot be derived from the domain or the OAuth grant.`,
2957
+ description: "List GA4 properties visible to the connected Google account. This calls Google live and requires an instance administrator. Pass the selected numeric property ID to canonry_ga_connect.",
2854
2958
  access: "read",
2855
2959
  tier: "ga",
2856
2960
  inputSchema: projectInputSchema,
2857
- annotations: readAnnotations(),
2961
+ annotations: readAnnotations(true),
2858
2962
  openApiOperations: ["GET /api/v1/projects/{name}/ga/properties"],
2859
2963
  handler: (client, input) => client.gaProperties(input.project)
2860
2964
  }),
2965
+ defineTool({
2966
+ name: "canonry_ga_connect",
2967
+ title: "Connect a Google Analytics 4 property",
2968
+ description: "Verify live access to the selected GA4 property using the saved OAuth grant and save its ID. Requires an instance administrator. Changing properties clears stored GA4 data for projects using the previous property on this shared connection. Check canonry_ga_status for the effective property.",
2969
+ access: "write",
2970
+ tier: "ga",
2971
+ inputSchema: projectInputSchema.extend({ propertyId: z2.string().regex(/^\d+$/).describe("Numeric GA4 property ID from canonry_ga_properties.") }).strict(),
2972
+ annotations: writeAnnotations({ idempotentHint: true, destructiveHint: true }),
2973
+ openApiOperations: ["POST /api/v1/projects/{name}/ga/connect"],
2974
+ handler: (client, input) => client.gaConnect(input.project, { propertyId: input.propertyId })
2975
+ }),
2861
2976
  defineTool({
2862
2977
  name: "canonry_ga_acquisition",
2863
2978
  title: "Read stored GA4 acquisition",
@@ -3390,13 +3505,16 @@ var rawCanonryMcpTools = [
3390
3505
  defineTool({
3391
3506
  name: "canonry_traffic_connect_cloud_run",
3392
3507
  title: "Connect Cloud Run traffic source",
3393
- description: "Connect a Google Cloud Run service as a server-side traffic source. v1 requires service-account JSON content (paste the file contents into `keyJson`); OAuth-mode is not yet supported. Reconnecting an existing source updates the credential and config in place. The private key is stored in ~/.canonry/config.yaml (not the DB) and never echoed back.",
3508
+ description: "Connect Google Cloud Run request logs using the service account saved for this exact Canonry project, GCP project, service and region. Omit keyJson to start a new source at connection time. Set startFromNow to false only for an approved historical import. If the server returns cloud-run-credential-required, give the operator the absolute dashboardUrl for secure key upload. When only dashboardPath is available, use the known Canonry dashboard address. Never ask for a private key in chat. Read canonry_traffic_sources_list to confirm the connection.",
3394
3509
  access: "write",
3395
3510
  tier: "traffic",
3396
3511
  inputSchema: trafficConnectCloudRunInputSchema,
3397
3512
  annotations: writeAnnotations({ idempotentHint: true, openWorldHint: true }),
3398
3513
  openApiOperations: ["POST /api/v1/projects/{name}/traffic/connect/cloud-run"],
3399
- handler: (client, input) => client.trafficConnectCloudRun(input.project, input.request)
3514
+ handler: (client, { project, request }) => client.trafficConnectCloudRun(
3515
+ project,
3516
+ request.keyJson === void 0 && request.startFromNow === void 0 ? { ...request, startFromNow: true } : request
3517
+ )
3400
3518
  }),
3401
3519
  defineTool({
3402
3520
  name: "canonry_traffic_connect_wordpress",
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runWithUsageTags
3
- } from "./chunk-AY2CWNOQ.js";
3
+ } from "./chunk-WKYQRF5A.js";
4
4
  import {
5
5
  CanonryMcpToolNames,
6
6
  DEPRECATED_MCP_TOOL_ALIAS_NAMES,
7
7
  canonryMcpTools
8
- } from "./chunk-364F7UHP.js";
8
+ } from "./chunk-377K7XSP.js";
9
9
  import {
10
10
  CliError
11
- } from "./chunk-7VACCYGL.js";
11
+ } from "./chunk-VU3TF5CD.js";
12
12
  import {
13
13
  buildOpenApiDocument
14
- } from "./chunk-Z27VH6RO.js";
14
+ } from "./chunk-UKFXP4R5.js";
15
15
  import {
16
16
  DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
17
17
  MeasurementPortfolioLists,
@@ -24,7 +24,7 @@ import {
24
24
  seoDatasetWithoutVendor,
25
25
  seoProviderSchema,
26
26
  truncateUtf16
27
- } from "./chunk-XKVZ7MMK.js";
27
+ } from "./chunk-XDOP2ANX.js";
28
28
 
29
29
  // src/agent/tools.ts
30
30
  import { Type as Type2 } from "@earendil-works/pi-ai";
@@ -782,6 +782,16 @@ var AERO_EXCLUDED_MCP_TOOLS = /* @__PURE__ */ new Set([
782
782
  CanonryMcpToolNames.canonry_provider_settings_update,
783
783
  // A connection test spends on the operator's provider account with the saved key.
784
784
  CanonryMcpToolNames.canonry_provider_test,
785
+ // These operations start account authorization, list account-wide sites,
786
+ // or change the property shared by projects on a domain.
787
+ CanonryMcpToolNames.canonry_gsc_connect,
788
+ CanonryMcpToolNames.canonry_gsc_properties,
789
+ CanonryMcpToolNames.canonry_gsc_set_property,
790
+ CanonryMcpToolNames.canonry_ga_oauth_start,
791
+ CanonryMcpToolNames.canonry_ga_connect,
792
+ CanonryMcpToolNames.canonry_bing_connect,
793
+ CanonryMcpToolNames.canonry_bing_sites,
794
+ CanonryMcpToolNames.canonry_bing_set_site,
785
795
  // Aero reads stored sentiment. Configuration and backfill submission can
786
796
  // start paid classifier work and remain operator actions.
787
797
  "canonry_sentiment_configure",
@@ -5,7 +5,7 @@ import {
5
5
  siteCrawlGraphNodes,
6
6
  siteCrawlPages,
7
7
  siteCrawlSnapshots
8
- } from "./chunk-O5LPKFE3.js";
8
+ } from "./chunk-G3HBHMML.js";
9
9
  import {
10
10
  SITE_CRAWL_GRAPH_MAX_EDGES,
11
11
  SITE_CRAWL_GRAPH_MAX_NODES,
@@ -15,7 +15,7 @@ import {
15
15
  factorStatusFromDistribution,
16
16
  factorStatusFromScore,
17
17
  roundPreservingTotal
18
- } from "./chunk-XKVZ7MMK.js";
18
+ } from "./chunk-XDOP2ANX.js";
19
19
 
20
20
  // src/site-audit-factors.ts
21
21
  function recordedSharePct(factor) {
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  CliError,
6
6
  isMachineFormat
7
- } from "./chunk-7VACCYGL.js";
7
+ } from "./chunk-VU3TF5CD.js";
8
8
  import {
9
9
  CodingAgents,
10
10
  SKILL_MANIFEST_FILENAME,
@@ -15,7 +15,7 @@ import {
15
15
  formatCanonryPluginUpdateHint,
16
16
  formatCanonryPluginVersionMismatch,
17
17
  skillsClientSchema
18
- } from "./chunk-XKVZ7MMK.js";
18
+ } from "./chunk-XDOP2ANX.js";
19
19
 
20
20
  // src/commands/skills.ts
21
21
  import crypto from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cloudflareQueueNameSchema
3
- } from "./chunk-XKVZ7MMK.js";
3
+ } from "./chunk-XDOP2ANX.js";
4
4
 
5
5
  // src/cloudflare-traffic-config.ts
6
6
  function unsupportedDeliveryMode(deliveryMode) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CitationStates
3
- } from "./chunk-XKVZ7MMK.js";
3
+ } from "./chunk-XDOP2ANX.js";
4
4
 
5
5
  // src/snapshot-cell.ts
6
6
  var SNAPSHOT_CELL_LEGEND = "(cell = [citation][mention]; C=cited c=not \xB7=not measured, M=mentioned m=not, \u2013=no data)";
@@ -2,18 +2,18 @@ import {
2
2
  configExists,
3
3
  loadConfigRaw,
4
4
  saveConfigPatch
5
- } from "./chunk-7SPPW7RL.js";
5
+ } from "./chunk-LBNJVTGN.js";
6
6
  import {
7
7
  BUNDLED_SKILL_NAMES,
8
8
  installSkills
9
- } from "./chunk-QHVRNO5T.js";
9
+ } from "./chunk-6AJ4Y3QL.js";
10
10
  import {
11
11
  PACKAGE_VERSION
12
12
  } from "./chunk-AOJU5LKX.js";
13
13
  import {
14
14
  SKILL_MANIFEST_FILENAME,
15
15
  SkillsClients
16
- } from "./chunk-XKVZ7MMK.js";
16
+ } from "./chunk-XDOP2ANX.js";
17
17
 
18
18
  // src/skills-autosync.ts
19
19
  import fs from "fs";
@@ -3,29 +3,29 @@ import {
3
3
  CANONRY_MCP_TOOLKIT_NAMES,
4
4
  isCanonryMcpToolkitName,
5
5
  resolveAeroSkillDir
6
- } from "./chunk-NNHI6SOT.js";
6
+ } from "./chunk-QT475Y6O.js";
7
7
  import {
8
8
  createApiClient,
9
9
  runWithUsageTags
10
- } from "./chunk-AY2CWNOQ.js";
10
+ } from "./chunk-WKYQRF5A.js";
11
11
  import {
12
12
  canonryMcpTools,
13
13
  mcpOutputSchema,
14
14
  toolOperationAccess
15
- } from "./chunk-364F7UHP.js";
15
+ } from "./chunk-377K7XSP.js";
16
16
  import {
17
17
  PACKAGE_VERSION
18
18
  } from "./chunk-AOJU5LKX.js";
19
19
  import {
20
20
  CliError
21
- } from "./chunk-7VACCYGL.js";
21
+ } from "./chunk-VU3TF5CD.js";
22
22
  import {
23
23
  OperationAccesses,
24
24
  RESEARCH_RUN_SCOPE,
25
25
  isReadOnlyKey,
26
26
  restrictedWriteScopes,
27
27
  upgradeCaveatFor
28
- } from "./chunk-XKVZ7MMK.js";
28
+ } from "./chunk-XDOP2ANX.js";
29
29
 
30
30
  // src/mcp/server.ts
31
31
  import { randomUUID } from "crypto";
@@ -249,6 +249,33 @@ var OPERATIONS_GUIDE = {
249
249
  "playbookRule": 'Read each listed playbook with canonry_help({playbook:"<slug>"}) before interpreting results.',
250
250
  "playbookNote": `Shared with Canonry's built-in agent and CLI hosts. Where it names aero_* tools, read_skill_doc or shell cnry commands, use the matching canonry_* tool on this connection. Read a reference it names (references/<slug>.md) with canonry_help({playbook:"<slug>"}). Playbooks are guidance, not permission.`,
251
251
  "workflows": {
252
+ "connections": {
253
+ "keywords": [
254
+ "connections",
255
+ "connect",
256
+ "connecting",
257
+ "reconnect"
258
+ ],
259
+ "next": [
260
+ "canonry_status",
261
+ "canonry_projects_list",
262
+ "canonry_google_connections_list",
263
+ "canonry_ga_status",
264
+ "canonry_bing_status",
265
+ "canonry_traffic_sources_list"
266
+ ],
267
+ "actions": [
268
+ "canonry_gsc_connect",
269
+ "canonry_ga_oauth_start",
270
+ "canonry_ga_connect",
271
+ "canonry_bing_connect",
272
+ "canonry_traffic_connect_cloud_run"
273
+ ],
274
+ "playbooks": [
275
+ "getting-started"
276
+ ],
277
+ "guidance": "Check the project's saved connections first. Use an offered action for the approved project and source. The operator completes Google consent in the browser and enters new keys in the dashboard. Report any missing permission or credential."
278
+ },
252
279
  "seo": {
253
280
  "keywords": [
254
281
  "seo",
@@ -367,11 +394,11 @@ var OPERATIONS_GUIDE = {
367
394
  "keywords": [
368
395
  "integrations",
369
396
  "integration",
370
- "connect",
371
397
  "connection",
372
398
  "traffic",
373
399
  "gsc",
374
400
  "ga4",
401
+ "bing",
375
402
  "ads",
376
403
  "gtm"
377
404
  ],
@@ -437,7 +464,7 @@ var OPERATIONS_GUIDE = {
437
464
  "guidance": "Read canonry_project_setup for the next first-run step, then the getting-started playbook for the full loop and the questions to ask. Propose each scan, check, sync, live read, connection or write; never start one to fill a gap."
438
465
  }
439
466
  },
440
- "markdown": "# Canonry Operations Guide v1\n\nCanonry is an agent-first AI visibility platform. MCP is the universal entry\npoint for connected agents. Host-native skills are optional upgrades, not a\nprerequisite or a permission mechanism.\n\n## Connect and choose a route\n\nRead the initialization guidance, then call `canonry_help` with an `intent`:\n`status`, `diagnose`, `operations`, `prospecting`, `measurement`, `integrations`,\n`seo`, `reports`, `start`, or a short task\ndescription. Use `start` when the user is new or unsure what to ask. Select an accessible project with `canonry_projects_list` before\nusing its exact name in project tools. Inspect each listed tool's input schema;\nhelp suggests tool names, not invented arguments or authorization.\n\nHelp returns a versioned, compact route: connection `mode`, available `next`\ntools, workflow guidance, approval boundaries, and this guide's URL. It performs\nno provider calls, reads no project data, and changes no permissions.\n`next` lists stored reads. Optional `actions` lists loaded tools for work that\nrequires approval; listing an action does not authorize or execute it.\n`includeCatalog: true` additionally returns toolkit details when needed.\n\nAnalysis routes also return `playbooks`: Canonry's analyst playbooks for that\nwork, the same files its built-in agent reads. Read each one before\ninterpreting results. `canonry_help({ playbook: \"<slug>\" })` returns its full\ntext, a note on using it over MCP, and every available slug. Playbooks are\nguidance, not permission.\n\nHosted connections use a fixed catalog. Help only suggests tools offered by that\nconnection; it never tells a hosted agent to dynamically load a toolkit. A\nprogressive local stdio connection may return `loadToolkits`: call\n`canonry_load_toolkit` with one returned name, await it, then call help again.\nLoading only changes local tool discovery, never server authority.\n\nThe optional `canonry://agent-operations/v1` MCP resource contains this same\nguide. If the host cannot read resources or open links, continue through help.\nDo not install a plugin, local runtime, or skill merely to use connected MCP.\nAn installed Codex or Claude Canonry skill contains a generated copy of this\nguide plus links to host-native references. It does not replace runtime help.\n\n## Vocabulary and evidence\n\n- **Mentioned** means the brand appears in answer text. **Cited** means its\n domain appears in source links. Either, both, or neither can occur; never\n compute one signal from the other.\n- `answerMentioned: null` means not checked, not false. Missing runs and empty\n populations mean no measurement, not zero visibility.\n- `citationState: not-measured` (with `cited: null`) means the adapter captures\n no structured sources, as with Local chat completions. Canonry excludes those\n answers from cited rates and counts them in `citationNotMeasured`. The cited\n rate is null when there are no measured citations. Canonry still measures\n mentions on those answers. Other reads show the\n same state in their own shape:\n - visibility report: an answer's `citationUnavailableReason:\n citation-not-measured`, or a rate's `reason: citation-not-measured`;\n - Advanced metrics: `{state: unavailable, reason: citation_not_measured}`;\n - research and snapshot answers: `citationMeasured: false` (research also\n sends `citationState: null`);\n - overview: `citationNotMeasuredQueries`, `citationNotMeasuredPairs` and\n `citationNotMeasuredCount`;\n - analytics: the gaps bucket `citationNotMeasured[]` and sources'\n `citationNotMeasuredAnswers`;\n - visibility compare: `excludedNotMeasured`.\n- Preserve project, time window, provider, requested/served model, location,\n sample size, and query class when comparing evidence. Use server-returned\n metrics; do not invent a score from incompatible populations.\n- Simple projects and Advanced portfolios share the workflow. For Advanced\n results, preserve Property, Target, market, plan revision, and class scope.\n Groups organize navigation; do not infer an unrequested fan-out.\n- Research is isolated evidence, not tracked measurement. A probe still spends\n quota and persists evidence but is excluded from normal tracking metrics.\n\n## Workflows\n\n**Status:** read the stored overview and freshness first. Say when evidence is\nmissing instead of silently creating it.\n\n**Start:** for a new user or one unsure what to ask, read\n`canonry_project_setup` and follow its `nextAction`, then the `getting-started`\nplaybook. It walks the loop from setup to monthly reports, says who does each\nstep, and lists questions the user can ask at each stage.\n\n**Setup:** Agent Readiness needs no answer-engine provider; AI Visibility does.\nUse `canonry_project_setup` to read stored prerequisites and the suggested next step.\nAfter an Agent Readiness result on an install with no provider (a `NO_PROVIDER`\nnotice, or doctor's `providers.none-configured`), propose AI Visibility setup\nas the next step. The operator adds the provider key in the dashboard or in\ntheir own terminal; never ask for it in chat. A saved key is not a verified one:\nwith approval, `canonry settings provider test <name>` or `canonry_provider_test`\nchecks the saved connection with the provider now (usually one tiny prompt on\nthe operator's account) and reports `connected`, `failed` with the provider's\nreason, or `not-verified`. It needs install administrator authority and\n`settings.write`; while a connection's test is still running, another test of it\nreturns `OPERATION_IN_PROGRESS`, so wait for that result. The latest result is\nkept as the connection's `lastTest` (`canonry settings provider-info <name>` or\n`canonry_provider_settings_get`) until its key, endpoint, model, Vertex project,\nregion or credentials, or CDP endpoint changes, or the connection is\ndisconnected; read it before testing again.\nRerunning `canonry bootstrap` after a provider change reloads saved provider\nsettings on a matching running local server and reports whether they became\nactive. If the server is offline, start it to apply the saved settings. For an\nexplicit reload of the connected server's own config, use\n`canonry settings reload-providers` or `canonry_providers_reload` with install\nadministrator authority. Remote servers are never reloaded automatically by\nbootstrap, and a local server that belongs to another install is left alone.\nPorts and database settings still need a restart.\n\n**Diagnose:** inspect stored history and comparable evidence. Explain what\nchanged separately from why it might have changed. A hypothesis is not a\nmeasured cause. Propose bounded verification if stored evidence is insufficient.\n\n**Agent Readiness:** read `canonry_agent_readiness_issues` for stored findings,\naffected-page counts and example URLs, then `canonry_agent_readiness_issue_pages`\nfor a selected issue's remaining pages. Pin subsequent reads to the returned\nrun. Inspect coverage and omissions: a passing score can still have findings,\nan older scan may lack cross-page evidence, and a partial scan cannot establish\nsite-wide absence. Advisory findings require judgment before proposing a repair.\nAudit evidence informs technical repairs and existing-page recommendations;\nit does not itself establish a new-blog opportunity or authorize any edit.\n\n**Prospecting:** generate a one-shot company snapshot without creating a project.\nInspect stored provider settings first. Agree on the company, domain, selected\nproviders, and queries before starting the quota-spending snapshot action.\nBrowser-only selection requires manual queries. Progressive stdio help offers\nthe discovery toolkit when this connection permits snapshots; load it, then\ncall help again. Fixed catalogs offer only already available actions. Read-only\nand restricted connections must not bypass missing snapshot access.\n\n**Measurement:** inspect the existing setup and results before proposing edits.\nKeep research, query tracking, plan publication, and sweep execution separate.\nFor direct research, submit the final editable query text in one context. For a\nreviewed batch, submit each explicit destination with its final text and one\nidempotency key. Pattern substitution happens in the client before either\nrequest; choosing a market or Property records a destination only and never\nrewrites a query or creates an automatic fan-out. `research.run` does not\nauthorize saving patterns, changing tracking, publishing plans, or settings.\nUse a supported preview where available, inspect its exact destination and\nrevision, then seek approval for the actual change. A preview may itself require\nwrite permission; never treat a dry-run flag as a universal safety guarantee.\n\n`canonry_discover_harvest` reads saved probes and can send query text to Gemini\nto check for paraphrases. Get approval for that live work. Harvest requires an\nadministrator account or a bearer key with `*` scope and access to the project.\nUse the saved session read for stored-only work. Promoting candidates needs its\nown approval.\n\n**Integrations:** inspect stored connection state and snapshot freshness first.\nProvider configuration evidence does not prove a browser event fired or a\nconversion was recorded. Connection, resource selection, refresh/sync, and live\nreads are separate actions. Credentials belong in the operator's secure setup\nflow, never in chat, tool arguments, reports, or public guidance.\n\n**Reports:** use saved evidence for the requested period and scope. Keep mention\nand citation signals separate, include dates and sample sizes, and state missing\nor stale inputs. For Advanced Property mention rankings, use\n`canonry_measurement_portfolio_summary` and its `mentionRanking.strongest`,\n`.weakest`, and `.excluded` lists. It defaults to non-brand queries. State the\nreturned class and report branded results separately. An unavailable portfolio\naggregate does not invalidate available Property mention rates. Flag excluded\nProperties individually; do not silently replace mention ranking with citation\nranking. Compact `nextCursor` completes only `pageList`; use `list` to enumerate\none ranking, markets, observed names or cited domains, preserving filters.\nFirst-page sibling lists are bounded summaries. Keep sample sizes and ties\nvisible. Preparing a report does not\nauthorize new measurement.\n\n## Authority and approval\n\n### Agent operations\n\nUse `canonry_key_self` (CLI `canonry key whoami --format json`) to inspect the\ncurrent credential's scopes, project boundary, and host-derived `operator`\nauthority without exposing its token. Missing `operator` means unapproved.\n`canonry_settings_get` and\n`canonry_telemetry_get` describe the connected server, not the agent's local\nmachine. Telemetry reports configured preference, effective state, and any\nenvironment override; inspecting status never creates an anonymous identifier.\nAfter approval, `canonry_telemetry_update` changes that preference and\n`canonry_provider_settings_update` changes or resets an already-configured\nprovider's model and quota, restores its built-in endpoint, or removes an\noptional Local key. Both require `settings.write`; neither accepts credentials.\nA reset, restoring the endpoint and removing the Local key included, also\nrequires install administrator authority. Pass the `revision` from\n`canonry_provider_settings_get` as `expectedRevision` to reject a stale edit.\nServer telemetry reads and updates additionally require operator authority.\nOrdinary audit-history reads omit internal telemetry events and their state.\n\nOperator authority is deny-by-default and separate from customer admin roles.\nThe deployment owner must approve a dedicated, instance-wide API key's ID in\nthe server environment variable `CANONRY_OPERATOR_KEY_IDS` (comma-separated IDs),\nthen restart the server. Empty/unset approves nobody; wildcards are invalid.\nKeep the bearer private to internal operators; never approve a customer-held or\nshared proxy/bootstrap key. Use `logs.read` for read-only diagnostics, adding\n`settings.write` only when telemetry control is required. Ordinary key creation,\naccount roles, OAuth consent, and caller headers cannot grant operator status.\nRevoking an approved key invalidates it immediately. Host enrollment is a trust\nbootstrap step, intentionally unavailable through customer-facing APIs.\nAPI, CLI, and MCP enforce the same boundary; MCP hides internal tools unless\nthe server confirms operator authority, including in explicit read-only mode.\nProject analytics, research, and normal project permissions are unchanged.\n\n`canonry_logs_list` reads bounded, redacted runtime events from both the\napplication logger and Fastify request/error logging. It requires an\ninstance-wide `logs.read` grant (or wildcard) and a host-approved direct bearer.\nBrowser sessions, OAuth/delegated credentials, customer admins, and project-scoped\nkeys cannot use it, even with a project filter or a matching allowlist ID.\nA `logs.read`-only key is read-only automatically, without a\nsecond `read` marker. Named `*.read` scopes cannot grant mutations; an explicit\nwrite grant is needed and remains subject to its route gates. Returned messages\nare sanitized and bounded; raw request or response bodies, headers, cookies,\nprovider payloads, and stacks are not\npart of the queryable surface. The same secret-redaction policy runs before\nconsole output and storage. Do not deliberately log secrets: redaction is a\ndefense in depth, not permission to put credentials into diagnostic strings.\nOpaque escaped payloads containing secret assignments are omitted when safe\npartial masking cannot be guaranteed; correlate their retained error codes and IDs.\n\nFile-backed hosts retain runtime logs in SQLite across restarts, bounded to\n10,000 events and seven days. In-memory hosts report `retention: \"process\"`.\nFilter by `actor`, `requestId`, `runId`, `projectId`, `module`, `level`, or an\ninclusive `since`/`until` interval. Keep filters unchanged when resuming an\nopaque cursor; retention eviction can invalidate it. Inspect `retentionPolicy`,\n`captureErrors`, `dropped`, `truncated`, and `retention` before drawing\nconclusions. Missing logs are not proof that an action did not happen. Use\n`canonry_project_history` or `canonry_history_global` for persistent audit events;\noffset pages have deterministic ordering but are not snapshots of concurrent writes.\n\nAudit `actor` comes from authenticated identity (`user:<id>` or `api-key:<id>`),\nnot a caller-supplied header. A delegated MCP credential records its originating\nuser as actor and the actual credential in `credentialId`. `requestId` correlates\nHTTP events; `userAgent` and `actorSession` are bounded, untrusted client hints,\nnever identity or permission grants. Older audit rows are not backfilled with\nidentities the server cannot prove.\n\nBoth shipped HTTP hosts issue restart-safe UUID request IDs and return them in\n`x-request-id`. Use that value to correlate a CLI/API failure with log entries;\nHTTP diagnostics retain the method and route template, not raw URL parameters.\nRequest-bound loggers retain completion attribution, while generic background\ncontinuations stop inheriting caller identity after the response completes.\nCapture covers the owning server process after initialization, not arbitrary\nconsole output, other worker processes, or host/container logs. Run one server\ninstance per process and database, as required by the single-tenant deployment\nmodel; this is not a cross-tenant or distributed log collector.\n\nFor CLI use, settings reads are remote. Google setup and telemetry retain their\nlocal defaults: pass `--target server` explicitly to configure the connected\nserver. `schedule list <project>` lists all schedule kinds, and\n`notify events --target server` discovers the server's event catalog.\n\nMCP returns legacy text JSON plus structured results. Objects keep their shape;\narrays use `{items: [...]}` in `structuredContent`, and scalars use `{value: ...}`.\nErrors preserve the existing envelope and CLI exit codes: HTTP 4xx (including\n429 policy limits) use exit 1; HTTP 5xx use exit 2. Server-provided `Retry-After`\nand request IDs are exposed as `retryAfterMs` and `requestId` when available;\nclients do not infer retryability from HTTP 429 or retry automatically.\nFor a write with an ambiguous outcome, inspect saved state or its receipt before\nretrying; a retry hint is not proof that repeating a write is safe.\n\n### Action boundaries\n\nStart with stored evidence. Before a live provider read, sweep, probe, research\nrun, sync, write, or externally visible action, obtain approval covering its\nexact target, action, and bounded work. Approval already given for that exact\noperation need not be asked for again, but does not extend to more projects,\nlarger batches, retries with new identities, or recurring work.\n\nHTTP GET and MCP `readOnlyHint` describe aspects of an operation, not its cost\nor permission. Provider discovery, account reads, and live diagnostics may\nconsume quota even when labeled read-only. If the tool's effect is unclear,\ninspect its description and request direction before calling it.\n\nAuthentication, role/scope checks, project restrictions, quotas, and guarded\napproval receipts are enforced by the server. Help, skills, resources, and tool\nvisibility cannot grant authority. Never change credentials, endpoints, or\nproject identifiers to work around a missing tool or a `403` response.\n\nFor guarded ads writes, inspect unresolved operation receipts before retrying.\nUse the receipt's supported recovery action; do not replay a mutation under a\nnew identity. An executor cannot create or widen its own human approval grant.\nOn ambiguous results, exhausted bounds, or refusal, stop and report what is\nknown and what permission or operator action is needed.\n\n## Version and source\n\nThis public, versioned document is the source for initialization guidance,\nintent routes, the optional resource, and generated Canonry `SKILL.md` files.\nGuide v1 may receive compatible clarifications; incompatible routing contracts\nrequire a new guide version. The running server's help describes its actual\ncatalog and remains usable without fetching this document.\n"
467
+ "markdown": "# Canonry Operations Guide v1\n\nCanonry is an agent-first AI visibility platform. MCP is the universal entry\npoint for connected agents. Host-native skills are optional upgrades, not a\nprerequisite or a permission mechanism.\n\n## Connect and choose a route\n\nRead the initialization guidance, then call `canonry_help` with an `intent`:\n`status`, `diagnose`, `operations`, `prospecting`, `measurement`, `integrations`, `connections`,\n`seo`, `reports`, `start`, or a short task\ndescription. Use `start` when the user is new or unsure what to ask. Select an accessible project with `canonry_projects_list` before\nusing its exact name in project tools. Inspect each listed tool's input schema;\nhelp suggests tool names, not invented arguments or authorization.\n\nHelp returns a versioned, compact route: connection `mode`, available `next`\ntools, workflow guidance, approval boundaries, and this guide's URL. It performs\nno provider calls, reads no project data, and changes no permissions.\n`next` lists stored reads. Optional `actions` lists loaded tools for work that\nrequires approval; listing an action does not authorize or execute it.\n`includeCatalog: true` additionally returns toolkit details when needed.\n\nAnalysis routes also return `playbooks`: Canonry's analyst playbooks for that\nwork, the same files its built-in agent reads. Read each one before\ninterpreting results. `canonry_help({ playbook: \"<slug>\" })` returns its full\ntext, a note on using it over MCP, and every available slug. Playbooks are\nguidance, not permission.\n\nHosted connections use a fixed catalog. Help only suggests tools offered by that\nconnection; it never tells a hosted agent to dynamically load a toolkit. A\nprogressive local stdio connection may return `loadToolkits`: call\n`canonry_load_toolkit` with one returned name, await it, then call help again.\nLoading only changes local tool discovery, never server authority.\n\nThe optional `canonry://agent-operations/v1` MCP resource contains this same\nguide. If the host cannot read resources or open links, continue through help.\nDo not install a plugin, local runtime, or skill merely to use connected MCP.\nAn installed Codex or Claude Canonry skill contains a generated copy of this\nguide plus links to host-native references. It does not replace runtime help.\n\n## Vocabulary and evidence\n\n- **Mentioned** means the brand appears in answer text. **Cited** means its\n domain appears in source links. Either, both, or neither can occur; never\n compute one signal from the other.\n- `answerMentioned: null` means not checked, not false. Missing runs and empty\n populations mean no measurement, not zero visibility.\n- `citationState: not-measured` (with `cited: null`) means the adapter captures\n no structured sources, as with Local chat completions. Canonry excludes those\n answers from cited rates and counts them in `citationNotMeasured`. The cited\n rate is null when there are no measured citations. Canonry still measures\n mentions on those answers. Other reads show the\n same state in their own shape:\n - visibility report: an answer's `citationUnavailableReason:\n citation-not-measured`, or a rate's `reason: citation-not-measured`;\n - Advanced metrics: `{state: unavailable, reason: citation_not_measured}`;\n - research and snapshot answers: `citationMeasured: false` (research also\n sends `citationState: null`);\n - overview: `citationNotMeasuredQueries`, `citationNotMeasuredPairs` and\n `citationNotMeasuredCount`;\n - analytics: the gaps bucket `citationNotMeasured[]` and sources'\n `citationNotMeasuredAnswers`;\n - visibility compare: `excludedNotMeasured`.\n- Preserve project, time window, provider, requested/served model, location,\n sample size, and query class when comparing evidence. Use server-returned\n metrics; do not invent a score from incompatible populations.\n- Simple projects and Advanced portfolios share the workflow. For Advanced\n results, preserve Property, Target, market, plan revision, and class scope.\n Groups organize navigation; do not infer an unrequested fan-out.\n- Research is isolated evidence, not tracked measurement. A probe still spends\n quota and persists evidence but is excluded from normal tracking metrics.\n\n## Workflows\n\n**Status:** read the stored overview and freshness first. Say when evidence is\nmissing instead of silently creating it.\n\n**Start:** for a new user or one unsure what to ask, read\n`canonry_project_setup` and follow its `nextAction`, then the `getting-started`\nplaybook. It walks the loop from setup to monthly reports, says who does each\nstep, and lists questions the user can ask at each stage.\n\n**Setup:** Agent Readiness needs no answer-engine provider; AI Visibility does.\nUse `canonry_project_setup` to read stored prerequisites and the suggested next step.\nAfter an Agent Readiness result on an install with no provider (a `NO_PROVIDER`\nnotice, or doctor's `providers.none-configured`), propose AI Visibility setup\nas the next step. The operator adds the provider key in the dashboard or in\ntheir own terminal; never ask for it in chat. A saved key is not a verified one:\nwith approval, `canonry settings provider test <name>` or `canonry_provider_test`\nchecks the saved connection with the provider now (usually one tiny prompt on\nthe operator's account) and reports `connected`, `failed` with the provider's\nreason, or `not-verified`. It needs install administrator authority and\n`settings.write`; while a connection's test is still running, another test of it\nreturns `OPERATION_IN_PROGRESS`, so wait for that result. The latest result is\nkept as the connection's `lastTest` (`canonry settings provider-info <name>` or\n`canonry_provider_settings_get`) until its key, endpoint, model, Vertex project,\nregion or credentials, or CDP endpoint changes, or the connection is\ndisconnected; read it before testing again.\nRerunning `canonry bootstrap` after a provider change reloads saved provider\nsettings on a matching running local server and reports whether they became\nactive. If the server is offline, start it to apply the saved settings. For an\nexplicit reload of the connected server's own config, use\n`canonry settings reload-providers` or `canonry_providers_reload` with install\nadministrator authority. Remote servers are never reloaded automatically by\nbootstrap, and a local server that belongs to another install is left alone.\nPorts and database settings still need a restart.\n\n**Diagnose:** inspect stored history and comparable evidence. Explain what\nchanged separately from why it might have changed. A hypothesis is not a\nmeasured cause. Propose bounded verification if stored evidence is insufficient.\n\n**Agent Readiness:** read `canonry_agent_readiness_issues` for stored findings,\naffected-page counts and example URLs, then `canonry_agent_readiness_issue_pages`\nfor a selected issue's remaining pages. Pin subsequent reads to the returned\nrun. Inspect coverage and omissions: a passing score can still have findings,\nan older scan may lack cross-page evidence, and a partial scan cannot establish\nsite-wide absence. Advisory findings require judgment before proposing a repair.\nAudit evidence informs technical repairs and existing-page recommendations;\nit does not itself establish a new-blog opportunity or authorize any edit.\n\n**Prospecting:** generate a one-shot company snapshot without creating a project.\nInspect stored provider settings first. Agree on the company, domain, selected\nproviders, and queries before starting the quota-spending snapshot action.\nBrowser-only selection requires manual queries. Progressive stdio help offers\nthe discovery toolkit when this connection permits snapshots; load it, then\ncall help again. Fixed catalogs offer only already available actions. Read-only\nand restricted connections must not bypass missing snapshot access.\n\n**Measurement:** inspect the existing setup and results before proposing edits.\nKeep research, query tracking, plan publication, and sweep execution separate.\nFor direct research, submit the final editable query text in one context. For a\nreviewed batch, submit each explicit destination with its final text and one\nidempotency key. Pattern substitution happens in the client before either\nrequest; choosing a market or Property records a destination only and never\nrewrites a query or creates an automatic fan-out. `research.run` does not\nauthorize saving patterns, changing tracking, publishing plans, or settings.\nUse a supported preview where available, inspect its exact destination and\nrevision, then seek approval for the actual change. A preview may itself require\nwrite permission; never treat a dry-run flag as a universal safety guarantee.\n\n`canonry_discover_harvest` reads saved probes and can send query text to Gemini\nto check for paraphrases. Get approval for that live work. Harvest requires an\nadministrator account or a bearer key with `*` scope and access to the project.\nUse the saved session read for stored-only work. Promoting candidates needs its\nown approval.\n\n**Integrations:** inspect stored connection state and snapshot freshness first.\nFor project setup, call `canonry_help({intent:\"connect\"})`. Its actions and\ntoolkit suggestions reflect the current MCP connection. The getting-started\nplaybook covers browser consent, saved credentials and resource selection.\nProvider configuration evidence does not prove a browser event fired or a\nconversion was recorded. Connection, resource selection, refresh/sync, and live\nreads are separate actions. Credentials belong in the operator's secure setup\nflow, never in chat, tool arguments, reports, or public guidance.\n\n**Reports:** use saved evidence for the requested period and scope. Keep mention\nand citation signals separate, include dates and sample sizes, and state missing\nor stale inputs. For Advanced Property mention rankings, use\n`canonry_measurement_portfolio_summary` and its `mentionRanking.strongest`,\n`.weakest`, and `.excluded` lists. It defaults to non-brand queries. State the\nreturned class and report branded results separately. An unavailable portfolio\naggregate does not invalidate available Property mention rates. Flag excluded\nProperties individually; do not silently replace mention ranking with citation\nranking. Compact `nextCursor` completes only `pageList`; use `list` to enumerate\none ranking, markets, observed names or cited domains, preserving filters.\nFirst-page sibling lists are bounded summaries. Keep sample sizes and ties\nvisible. Preparing a report does not\nauthorize new measurement.\n\n## Authority and approval\n\n### Agent operations\n\nUse `canonry_key_self` (CLI `canonry key whoami --format json`) to inspect the\ncurrent credential's scopes, project boundary, and host-derived `operator`\nauthority without exposing its token. Missing `operator` means unapproved.\n`canonry_settings_get` and\n`canonry_telemetry_get` describe the connected server, not the agent's local\nmachine. Telemetry reports configured preference, effective state, and any\nenvironment override; inspecting status never creates an anonymous identifier.\nAfter approval, `canonry_telemetry_update` changes that preference and\n`canonry_provider_settings_update` changes or resets an already-configured\nprovider's model and quota, restores its built-in endpoint, or removes an\noptional Local key. Both require `settings.write`; neither accepts credentials.\nA reset, restoring the endpoint and removing the Local key included, also\nrequires install administrator authority. Pass the `revision` from\n`canonry_provider_settings_get` as `expectedRevision` to reject a stale edit.\nServer telemetry reads and updates additionally require operator authority.\nOrdinary audit-history reads omit internal telemetry events and their state.\n\nOperator authority is deny-by-default and separate from customer admin roles.\nThe deployment owner must approve a dedicated, instance-wide API key's ID in\nthe server environment variable `CANONRY_OPERATOR_KEY_IDS` (comma-separated IDs),\nthen restart the server. Empty/unset approves nobody; wildcards are invalid.\nKeep the bearer private to internal operators; never approve a customer-held or\nshared proxy/bootstrap key. Use `logs.read` for read-only diagnostics, adding\n`settings.write` only when telemetry control is required. Ordinary key creation,\naccount roles, OAuth consent, and caller headers cannot grant operator status.\nRevoking an approved key invalidates it immediately. Host enrollment is a trust\nbootstrap step, intentionally unavailable through customer-facing APIs.\nAPI, CLI, and MCP enforce the same boundary; MCP hides internal tools unless\nthe server confirms operator authority, including in explicit read-only mode.\nProject analytics, research, and normal project permissions are unchanged.\n\n`canonry_logs_list` reads bounded, redacted runtime events from both the\napplication logger and Fastify request/error logging. It requires an\ninstance-wide `logs.read` grant (or wildcard) and a host-approved direct bearer.\nBrowser sessions, OAuth/delegated credentials, customer admins, and project-scoped\nkeys cannot use it, even with a project filter or a matching allowlist ID.\nA `logs.read`-only key is read-only automatically, without a\nsecond `read` marker. Named `*.read` scopes cannot grant mutations; an explicit\nwrite grant is needed and remains subject to its route gates. Returned messages\nare sanitized and bounded; raw request or response bodies, headers, cookies,\nprovider payloads, and stacks are not\npart of the queryable surface. The same secret-redaction policy runs before\nconsole output and storage. Do not deliberately log secrets: redaction is a\ndefense in depth, not permission to put credentials into diagnostic strings.\nOpaque escaped payloads containing secret assignments are omitted when safe\npartial masking cannot be guaranteed; correlate their retained error codes and IDs.\n\nFile-backed hosts retain runtime logs in SQLite across restarts, bounded to\n10,000 events and seven days. In-memory hosts report `retention: \"process\"`.\nFilter by `actor`, `requestId`, `runId`, `projectId`, `module`, `level`, or an\ninclusive `since`/`until` interval. Keep filters unchanged when resuming an\nopaque cursor; retention eviction can invalidate it. Inspect `retentionPolicy`,\n`captureErrors`, `dropped`, `truncated`, and `retention` before drawing\nconclusions. Missing logs are not proof that an action did not happen. Use\n`canonry_project_history` or `canonry_history_global` for persistent audit events;\noffset pages have deterministic ordering but are not snapshots of concurrent writes.\n\nAudit `actor` comes from authenticated identity (`user:<id>` or `api-key:<id>`),\nnot a caller-supplied header. A delegated MCP credential records its originating\nuser as actor and the actual credential in `credentialId`. `requestId` correlates\nHTTP events; `userAgent` and `actorSession` are bounded, untrusted client hints,\nnever identity or permission grants. Older audit rows are not backfilled with\nidentities the server cannot prove.\n\nBoth shipped HTTP hosts issue restart-safe UUID request IDs and return them in\n`x-request-id`. Use that value to correlate a CLI/API failure with log entries;\nHTTP diagnostics retain the method and route template, not raw URL parameters.\nRequest-bound loggers retain completion attribution, while generic background\ncontinuations stop inheriting caller identity after the response completes.\nCapture covers the owning server process after initialization, not arbitrary\nconsole output, other worker processes, or host/container logs. Run one server\ninstance per process and database, as required by the single-tenant deployment\nmodel; this is not a cross-tenant or distributed log collector.\n\nFor CLI use, settings reads are remote. Google setup and telemetry retain their\nlocal defaults: pass `--target server` explicitly to configure the connected\nserver. `schedule list <project>` lists all schedule kinds, and\n`notify events --target server` discovers the server's event catalog.\n\nMCP returns legacy text JSON plus structured results. Objects keep their shape;\narrays use `{items: [...]}` in `structuredContent`, and scalars use `{value: ...}`.\nErrors preserve the existing envelope and CLI exit codes: HTTP 4xx (including\n429 policy limits) use exit 1; HTTP 5xx use exit 2. Server-provided `Retry-After`\nand request IDs are exposed as `retryAfterMs` and `requestId` when available;\nclients do not infer retryability from HTTP 429 or retry automatically.\nFor a write with an ambiguous outcome, inspect saved state or its receipt before\nretrying; a retry hint is not proof that repeating a write is safe.\n\n### Action boundaries\n\nStart with stored evidence. Before a live provider read, sweep, probe, research\nrun, sync, write, or externally visible action, obtain approval covering its\nexact target, action, and bounded work. Approval already given for that exact\noperation need not be asked for again, but does not extend to more projects,\nlarger batches, retries with new identities, or recurring work.\n\nHTTP GET and MCP `readOnlyHint` describe aspects of an operation, not its cost\nor permission. Provider discovery, account reads, and live diagnostics may\nconsume quota even when labeled read-only. If the tool's effect is unclear,\ninspect its description and request direction before calling it.\n\nAuthentication, role/scope checks, project restrictions, quotas, and guarded\napproval receipts are enforced by the server. Help, skills, resources, and tool\nvisibility cannot grant authority. Never change credentials, endpoints, or\nproject identifiers to work around a missing tool or a `403` response.\n\nFor guarded ads writes, inspect unresolved operation receipts before retrying.\nUse the receipt's supported recovery action; do not replay a mutation under a\nnew identity. An executor cannot create or widen its own human approval grant.\nOn ambiguous results, exhausted bounds, or refusal, stop and report what is\nknown and what permission or operator action is needed.\n\n## Version and source\n\nThis public, versioned document is the source for initialization guidance,\nintent routes, the optional resource, and generated Canonry `SKILL.md` files.\nGuide v1 may receive compatible clarifications; incompatible routing contracts\nrequire a new guide version. The running server's help describes its actual\ncatalog and remains usable without fetching this document.\n"
441
468
  };
442
469
 
443
470
  // src/mcp/operations-guide.ts