failproofai 1.0.1-beta.0 → 1.0.1

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 (986) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +6 -6
  3. package/.next/standalone/.next/prerender-manifest.json +4 -4
  4. package/.next/standalone/.next/required-server-files.json +1 -1
  5. package/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +3 -3
  6. package/.next/standalone/.next/server/app/_global-error/page/server-reference-manifest.json +1 -1
  7. package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
  8. package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  11. package/.next/standalone/.next/server/app/_global-error.rsc +7 -7
  12. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +6 -6
  13. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
  14. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next/standalone/.next/server/app/_not-found/page/build-manifest.json +3 -3
  16. package/.next/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
  17. package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
  18. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  19. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  21. package/.next/standalone/.next/server/app/_not-found.rsc +14 -14
  22. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
  23. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +13 -13
  24. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  25. package/.next/standalone/.next/server/app/api/audit/invite/route.js +1 -1
  26. package/.next/standalone/.next/server/app/api/audit/invite/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/audit/run/route.js +1 -1
  28. package/.next/standalone/.next/server/app/api/audit/run/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/audit/status/route.js.nft.json +1 -1
  30. package/.next/standalone/.next/server/app/api/auth/login-request/route.js +1 -1
  31. package/.next/standalone/.next/server/app/api/auth/login-request/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/auth/login-verify/route.js +1 -1
  33. package/.next/standalone/.next/server/app/api/auth/login-verify/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/auth/logout/route.js +1 -1
  35. package/.next/standalone/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/auth/status/route.js +1 -1
  37. package/.next/standalone/.next/server/app/api/auth/status/route.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/api/download/[project]/[session]/route.js +1 -1
  39. package/.next/standalone/.next/server/app/api/download/[project]/[session]/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/audit/page/build-manifest.json +3 -3
  41. package/.next/standalone/.next/server/app/audit/page/server-reference-manifest.json +2 -2
  42. package/.next/standalone/.next/server/app/audit/page.js +1 -1
  43. package/.next/standalone/.next/server/app/audit/page.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  45. package/.next/standalone/.next/server/app/index.html +1 -1
  46. package/.next/standalone/.next/server/app/index.rsc +14 -14
  47. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +13 -13
  48. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +14 -14
  49. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  50. package/.next/standalone/.next/server/app/page/build-manifest.json +3 -3
  51. package/.next/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
  52. package/.next/standalone/.next/server/app/page.js +1 -1
  53. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  54. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  55. package/.next/standalone/.next/server/app/policies/page/build-manifest.json +3 -3
  56. package/.next/standalone/.next/server/app/policies/page/server-reference-manifest.json +10 -10
  57. package/.next/standalone/.next/server/app/policies/page.js +1 -1
  58. package/.next/standalone/.next/server/app/policies/page.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/policies/page_client-reference-manifest.js +1 -1
  60. package/.next/standalone/.next/server/app/project/[name]/page/build-manifest.json +3 -3
  61. package/.next/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +1 -1
  62. package/.next/standalone/.next/server/app/project/[name]/page.js +2 -2
  63. package/.next/standalone/.next/server/app/project/[name]/page.js.nft.json +1 -1
  64. package/.next/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
  65. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/build-manifest.json +3 -3
  66. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +2 -2
  67. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +2 -2
  68. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js +2 -2
  69. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js.nft.json +1 -1
  70. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
  71. package/.next/standalone/.next/server/app/projects/page/build-manifest.json +3 -3
  72. package/.next/standalone/.next/server/app/projects/page/server-reference-manifest.json +1 -1
  73. package/.next/standalone/.next/server/app/projects/page.js +2 -2
  74. package/.next/standalone/.next/server/app/projects/page.js.nft.json +1 -1
  75. package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  76. package/.next/standalone/.next/server/app/settings/page/build-manifest.json +3 -3
  77. package/.next/standalone/.next/server/app/settings/page/server-reference-manifest.json +4 -4
  78. package/.next/standalone/.next/server/app/settings/page.js +1 -1
  79. package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
  80. package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  81. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0nne229._.js → [root-of-the-server]__0_usx0j._.js} +1 -1
  82. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__1hstmft._.js → [root-of-the-server]__0_zk340._.js} +1 -1
  83. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d1u_na._.js +1 -1
  84. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1adacul._.js +5 -5
  85. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0ny9q5d._.js → [root-of-the-server]__1l-khtb._.js} +1 -1
  86. package/.next/standalone/.next/server/chunks/_0lxbzdq._.js +1 -1
  87. package/.next/standalone/.next/server/chunks/{_18ty6si._.js → _1ger0a2._.js} +1 -1
  88. package/.next/standalone/.next/server/chunks/_1vslkoe._.js +1 -1
  89. package/.next/standalone/.next/server/chunks/_1zuiiy3._.js +1 -1
  90. package/.next/standalone/.next/server/chunks/lib_telemetry_ts_0dctyyw._.js +1 -1
  91. package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_01r25oi._.js +2 -2
  92. package/.next/standalone/.next/server/chunks/{node_modules_posthog-node_dist_entrypoints_index_node_mjs_0f-x2b0._.js → node_modules_posthog-node_dist_entrypoints_index_node_mjs_09d5c79._.js} +1 -1
  93. package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_09z9-p7._.js +2 -2
  94. package/.next/standalone/.next/server/chunks/{node_modules_posthog-node_dist_entrypoints_index_node_mjs_0hwvl7e._.js → node_modules_posthog-node_dist_entrypoints_index_node_mjs_0el6rg8._.js} +1 -1
  95. package/.next/standalone/.next/server/chunks/{node_modules_posthog-node_dist_entrypoints_index_node_mjs_1ctjdzl._.js → node_modules_posthog-node_dist_entrypoints_index_node_mjs_1d2g73o._.js} +1 -1
  96. package/.next/standalone/.next/server/chunks/package_json_[json]_cjs_1nxcc4v._.js +1 -1
  97. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__07tbbf3._.js +3 -0
  98. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0cxe_2_._.js +1 -1
  99. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__15c_z97._.js → [root-of-the-server]__0jzbk4_._.js} +1 -1
  100. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kc8_v5._.js +4 -0
  101. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kgy9da._.js +2 -2
  102. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0mhqk5a._.js +4 -0
  103. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0oa1lav._.js +1 -1
  104. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0pltpn8._.js +4 -0
  105. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0qkcyf-._.js +4 -0
  106. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0spkm68._.js +2 -2
  107. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w0x_ok._.js +4 -0
  108. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1_dfocn._.js +2 -2
  109. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__03eykvd._.js → [root-of-the-server]__1bfex62._.js} +1 -1
  110. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__07oh8b5._.js → [root-of-the-server]__1ctpynv._.js} +1 -1
  111. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1kzapg5._.js +2 -2
  112. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__11z_299._.js → [root-of-the-server]__1m84s36._.js} +1 -1
  113. package/.next/standalone/.next/server/chunks/ssr/_08x1r5t._.js +1 -1
  114. package/.next/standalone/.next/server/chunks/ssr/{_04j57fb._.js → _0h_douw._.js} +1 -1
  115. package/.next/standalone/.next/server/chunks/ssr/_0lvyuv4._.js +23 -0
  116. package/.next/standalone/.next/server/chunks/ssr/{_05enntk._.js → _0u5zauv._.js} +1 -1
  117. package/.next/standalone/.next/server/chunks/ssr/_1_ozgif._.js +1 -1
  118. package/.next/standalone/.next/server/chunks/ssr/{_0hom1s1._.js → _1u8-lu2._.js} +2 -2
  119. package/.next/standalone/.next/server/chunks/ssr/{_1q7j05x._.js → _1zopuov._.js} +2 -2
  120. package/.next/standalone/.next/server/chunks/ssr/app_audit__components_audit-dashboard_tsx_0p9ud47._.js +1 -1
  121. package/.next/standalone/.next/server/chunks/ssr/app_global-error_tsx_1kp6l3x._.js +1 -1
  122. package/.next/standalone/.next/server/chunks/ssr/app_policies_hooks-client_tsx_19dqvpc._.js +1 -1
  123. package/.next/standalone/.next/server/chunks/ssr/app_settings_settings-client_tsx_20lq-mq._.js +1 -1
  124. package/.next/standalone/.next/server/chunks/ssr/node_modules_13n822a._.js +3 -0
  125. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_1v8aef8._.js +1 -1
  126. package/.next/standalone/.next/server/chunks/ssr/node_modules_posthog-node_dist_entrypoints_index_node_mjs_11bnuzn._.js +2 -2
  127. package/.next/standalone/.next/server/middleware-build-manifest.js +6 -6
  128. package/.next/standalone/.next/server/pages/404.html +1 -1
  129. package/.next/standalone/.next/server/pages/500.html +1 -1
  130. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  131. package/.next/standalone/.next/server/server-reference-manifest.json +15 -15
  132. package/.next/standalone/.next/static/chunks/{1o5sxp_mdaoci.js → 0k5050ezjvv49.js} +1 -1
  133. package/.next/standalone/.next/static/chunks/{054eg7y_cjyf9.js → 1ide1wl2f7zi1.js} +1 -1
  134. package/.next/standalone/.next/static/chunks/1oml7c7env4-g.js +31 -0
  135. package/.next/standalone/.next/static/chunks/1za08zjcctyil.js +22 -0
  136. package/.next/standalone/.next/static/chunks/2_2lhuojq2xop.js +1 -0
  137. package/.next/standalone/.next/static/chunks/{0mjufa_0xxz75.js → 2zpp1we2jv6tb.js} +1 -1
  138. package/.next/standalone/.next/static/chunks/{1-oz4co31nvc5.js → 31s1smp-g7gks.js} +1 -1
  139. package/.next/standalone/.next/static/chunks/36fw6yk1s6x_f.js +1 -0
  140. package/.next/standalone/.next/static/chunks/{2es4z1ei90vsv.js → 37fcpc36x9gpe.js} +1 -1
  141. package/.next/standalone/.next/static/chunks/{136ldjmzxhush.js → 3c808qrfcq0im.js} +1 -1
  142. package/.next/standalone/.next/static/chunks/3k7mxbp9hiom0.js +1 -0
  143. package/.next/standalone/.next/static/chunks/3tzq0260n17ae.js +6 -0
  144. package/.next/standalone/.next/static/chunks/{turbopack-0-gxz80mjds94.js → turbopack-3kjgdgwci4tqf.js} +1 -1
  145. package/.next/standalone/docs-old/agenteye/alerts.mdx +63 -0
  146. package/.next/standalone/docs-old/agenteye/api-keys.mdx +280 -0
  147. package/.next/standalone/docs-old/agenteye/assistant.mdx +63 -0
  148. package/.next/standalone/docs-old/agenteye/audits.mdx +54 -0
  149. package/.next/standalone/docs-old/agenteye/cli-and-agents.mdx +80 -0
  150. package/.next/standalone/docs-old/agenteye/cli-recipes.mdx +179 -0
  151. package/.next/standalone/docs-old/agenteye/cli-skill.mdx +159 -0
  152. package/.next/standalone/docs-old/agenteye/cli.mdx +350 -0
  153. package/.next/standalone/docs-old/agenteye/codex-capture.mdx +55 -0
  154. package/.next/standalone/docs-old/agenteye/concepts.mdx +87 -0
  155. package/.next/standalone/docs-old/agenteye/dashboards.mdx +46 -0
  156. package/.next/standalone/docs-old/agenteye/error-tracking.mdx +41 -0
  157. package/.next/standalone/docs-old/agenteye/evaluation-suite.mdx +402 -0
  158. package/.next/standalone/docs-old/agenteye/evaluations.mdx +51 -0
  159. package/.next/standalone/docs-old/agenteye/evaluator-skill.mdx +167 -0
  160. package/.next/standalone/docs-old/agenteye/event-stream.mdx +50 -0
  161. package/.next/standalone/docs-old/agenteye/hermes-capture.mdx +53 -0
  162. package/.next/standalone/docs-old/agenteye/images/alert-new.png +0 -0
  163. package/.next/standalone/docs-old/agenteye/images/alerts.png +0 -0
  164. package/.next/standalone/docs-old/agenteye/images/api-keys.png +0 -0
  165. package/.next/standalone/docs-old/agenteye/images/assistant.png +0 -0
  166. package/.next/standalone/docs-old/agenteye/images/audits.png +0 -0
  167. package/.next/standalone/docs-old/agenteye/images/dashboard-fleet.png +0 -0
  168. package/.next/standalone/docs-old/agenteye/images/dashboard-quality.png +0 -0
  169. package/.next/standalone/docs-old/agenteye/images/errors.png +0 -0
  170. package/.next/standalone/docs-old/agenteye/images/events-stream.png +0 -0
  171. package/.next/standalone/docs-old/agenteye/images/hooks.png +0 -0
  172. package/.next/standalone/docs-old/agenteye/images/incident-detail.png +0 -0
  173. package/.next/standalone/docs-old/agenteye/images/incidents.png +0 -0
  174. package/.next/standalone/docs-old/agenteye/images/login.png +0 -0
  175. package/.next/standalone/docs-old/agenteye/images/models.png +0 -0
  176. package/.next/standalone/docs-old/agenteye/images/queries.png +0 -0
  177. package/.next/standalone/docs-old/agenteye/images/query-lab.png +0 -0
  178. package/.next/standalone/docs-old/agenteye/images/session-detail.png +0 -0
  179. package/.next/standalone/docs-old/agenteye/images/sessions-list.png +0 -0
  180. package/.next/standalone/docs-old/agenteye/images/settings.png +0 -0
  181. package/.next/standalone/docs-old/agenteye/images/tools.png +0 -0
  182. package/.next/standalone/docs-old/agenteye/images/users.png +0 -0
  183. package/.next/standalone/docs-old/agenteye/images/video-audit.jpg +0 -0
  184. package/.next/standalone/docs-old/agenteye/images/video-tracing.jpg +0 -0
  185. package/.next/standalone/docs-old/agenteye/incidents.mdx +50 -0
  186. package/.next/standalone/docs-old/agenteye/observability.mdx +23 -0
  187. package/.next/standalone/docs-old/agenteye/openclaw-capture.mdx +49 -0
  188. package/.next/standalone/docs-old/agenteye/overview.mdx +108 -0
  189. package/.next/standalone/docs-old/agenteye/python-sdk-skill.mdx +131 -0
  190. package/.next/standalone/docs-old/agenteye/python-sdk.mdx +436 -0
  191. package/.next/standalone/docs-old/agenteye/queries.mdx +56 -0
  192. package/.next/standalone/docs-old/agenteye/security.mdx +68 -0
  193. package/.next/standalone/docs-old/agenteye/sessions.mdx +57 -0
  194. package/.next/standalone/docs-old/agenteye/telemetry.mdx +52 -0
  195. package/.next/standalone/docs-old/ar/agenteye/alerts.mdx +63 -0
  196. package/.next/standalone/docs-old/ar/agenteye/api-keys.mdx +279 -0
  197. package/.next/standalone/docs-old/ar/agenteye/assistant.mdx +62 -0
  198. package/.next/standalone/docs-old/ar/agenteye/audits.mdx +55 -0
  199. package/.next/standalone/docs-old/ar/agenteye/cli-and-agents.mdx +81 -0
  200. package/.next/standalone/docs-old/ar/agenteye/cli-recipes.mdx +178 -0
  201. package/.next/standalone/docs-old/ar/agenteye/cli-skill.mdx +160 -0
  202. package/.next/standalone/docs-old/ar/agenteye/cli.mdx +349 -0
  203. package/.next/standalone/docs-old/ar/agenteye/codex-capture.mdx +56 -0
  204. package/.next/standalone/docs-old/ar/agenteye/concepts.mdx +88 -0
  205. package/.next/standalone/docs-old/ar/agenteye/dashboards.mdx +46 -0
  206. package/.next/standalone/docs-old/ar/agenteye/error-tracking.mdx +41 -0
  207. package/.next/standalone/docs-old/ar/agenteye/evaluation-suite.mdx +299 -0
  208. package/.next/standalone/docs-old/ar/agenteye/evaluations.mdx +51 -0
  209. package/.next/standalone/docs-old/ar/agenteye/evaluator-skill.mdx +168 -0
  210. package/.next/standalone/docs-old/ar/agenteye/event-stream.mdx +50 -0
  211. package/.next/standalone/docs-old/ar/agenteye/hermes-capture.mdx +54 -0
  212. package/.next/standalone/docs-old/ar/agenteye/incidents.mdx +51 -0
  213. package/.next/standalone/docs-old/ar/agenteye/observability.mdx +24 -0
  214. package/.next/standalone/docs-old/ar/agenteye/openclaw-capture.mdx +50 -0
  215. package/.next/standalone/docs-old/ar/agenteye/overview.mdx +108 -0
  216. package/.next/standalone/docs-old/ar/agenteye/python-sdk-skill.mdx +129 -0
  217. package/.next/standalone/docs-old/ar/agenteye/python-sdk.mdx +435 -0
  218. package/.next/standalone/docs-old/ar/agenteye/queries.mdx +57 -0
  219. package/.next/standalone/docs-old/ar/agenteye/security.mdx +68 -0
  220. package/.next/standalone/docs-old/ar/agenteye/sessions.mdx +58 -0
  221. package/.next/standalone/docs-old/ar/agenteye/telemetry.mdx +52 -0
  222. package/.next/standalone/docs-old/ar/architecture.mdx +333 -0
  223. package/.next/standalone/docs-old/ar/built-in-policies.mdx +860 -0
  224. package/.next/standalone/docs-old/ar/cli/audit.mdx +120 -0
  225. package/.next/standalone/docs-old/ar/cli/dashboard.mdx +30 -0
  226. package/.next/standalone/docs-old/ar/cli/environment-variables.mdx +70 -0
  227. package/.next/standalone/docs-old/ar/cli/hook.mdx +31 -0
  228. package/.next/standalone/docs-old/ar/cli/install-policies.mdx +57 -0
  229. package/.next/standalone/docs-old/ar/cli/list-policies.mdx +32 -0
  230. package/.next/standalone/docs-old/ar/cli/migrate.mdx +110 -0
  231. package/.next/standalone/docs-old/ar/cli/remove-policies.mdx +44 -0
  232. package/.next/standalone/docs-old/ar/cli/update.mdx +79 -0
  233. package/.next/standalone/docs-old/ar/cli/version.mdx +13 -0
  234. package/.next/standalone/docs-old/ar/configuration.mdx +268 -0
  235. package/.next/standalone/docs-old/ar/custom-policies.mdx +359 -0
  236. package/.next/standalone/docs-old/ar/dashboard.mdx +152 -0
  237. package/.next/standalone/docs-old/ar/examples.mdx +307 -0
  238. package/.next/standalone/docs-old/ar/for-agents.mdx +38 -0
  239. package/.next/standalone/docs-old/ar/getting-started.mdx +199 -0
  240. package/.next/standalone/docs-old/ar/introduction.mdx +58 -0
  241. package/.next/standalone/docs-old/ar/package-aliases.mdx +83 -0
  242. package/.next/standalone/docs-old/ar/testing.mdx +260 -0
  243. package/.next/standalone/docs-old/architecture.mdx +332 -0
  244. package/.next/standalone/docs-old/built-in-policies.mdx +859 -0
  245. package/.next/standalone/docs-old/cli/audit.mdx +188 -0
  246. package/.next/standalone/docs-old/cli/dashboard.mdx +29 -0
  247. package/.next/standalone/docs-old/cli/environment-variables.mdx +75 -0
  248. package/.next/standalone/docs-old/cli/hook.mdx +30 -0
  249. package/.next/standalone/docs-old/cli/install-policies.mdx +57 -0
  250. package/.next/standalone/docs-old/cli/list-policies.mdx +31 -0
  251. package/.next/standalone/docs-old/cli/migrate.mdx +117 -0
  252. package/.next/standalone/docs-old/cli/remove-policies.mdx +43 -0
  253. package/.next/standalone/docs-old/cli/update.mdx +94 -0
  254. package/.next/standalone/docs-old/cli/version.mdx +12 -0
  255. package/.next/standalone/docs-old/configuration.mdx +295 -0
  256. package/.next/standalone/docs-old/custom-policies.mdx +362 -0
  257. package/.next/standalone/docs-old/dashboard.mdx +176 -0
  258. package/.next/standalone/docs-old/de/agenteye/alerts.mdx +63 -0
  259. package/.next/standalone/docs-old/de/agenteye/api-keys.mdx +280 -0
  260. package/.next/standalone/docs-old/de/agenteye/assistant.mdx +63 -0
  261. package/.next/standalone/docs-old/de/agenteye/audits.mdx +54 -0
  262. package/.next/standalone/docs-old/de/agenteye/cli-and-agents.mdx +80 -0
  263. package/.next/standalone/docs-old/de/agenteye/cli-recipes.mdx +179 -0
  264. package/.next/standalone/docs-old/de/agenteye/cli-skill.mdx +159 -0
  265. package/.next/standalone/docs-old/de/agenteye/cli.mdx +350 -0
  266. package/.next/standalone/docs-old/de/agenteye/codex-capture.mdx +55 -0
  267. package/.next/standalone/docs-old/de/agenteye/concepts.mdx +87 -0
  268. package/.next/standalone/docs-old/de/agenteye/dashboards.mdx +46 -0
  269. package/.next/standalone/docs-old/de/agenteye/error-tracking.mdx +41 -0
  270. package/.next/standalone/docs-old/de/agenteye/evaluation-suite.mdx +300 -0
  271. package/.next/standalone/docs-old/de/agenteye/evaluations.mdx +50 -0
  272. package/.next/standalone/docs-old/de/agenteye/evaluator-skill.mdx +167 -0
  273. package/.next/standalone/docs-old/de/agenteye/event-stream.mdx +50 -0
  274. package/.next/standalone/docs-old/de/agenteye/hermes-capture.mdx +53 -0
  275. package/.next/standalone/docs-old/de/agenteye/incidents.mdx +50 -0
  276. package/.next/standalone/docs-old/de/agenteye/observability.mdx +23 -0
  277. package/.next/standalone/docs-old/de/agenteye/openclaw-capture.mdx +49 -0
  278. package/.next/standalone/docs-old/de/agenteye/overview.mdx +108 -0
  279. package/.next/standalone/docs-old/de/agenteye/python-sdk-skill.mdx +131 -0
  280. package/.next/standalone/docs-old/de/agenteye/python-sdk.mdx +436 -0
  281. package/.next/standalone/docs-old/de/agenteye/queries.mdx +56 -0
  282. package/.next/standalone/docs-old/de/agenteye/security.mdx +68 -0
  283. package/.next/standalone/docs-old/de/agenteye/sessions.mdx +57 -0
  284. package/.next/standalone/docs-old/de/agenteye/telemetry.mdx +52 -0
  285. package/.next/standalone/docs-old/de/architecture.mdx +332 -0
  286. package/.next/standalone/docs-old/de/built-in-policies.mdx +859 -0
  287. package/.next/standalone/docs-old/de/cli/audit.mdx +131 -0
  288. package/.next/standalone/docs-old/de/cli/dashboard.mdx +29 -0
  289. package/.next/standalone/docs-old/de/cli/environment-variables.mdx +72 -0
  290. package/.next/standalone/docs-old/de/cli/hook.mdx +30 -0
  291. package/.next/standalone/docs-old/de/cli/install-policies.mdx +57 -0
  292. package/.next/standalone/docs-old/de/cli/list-policies.mdx +31 -0
  293. package/.next/standalone/docs-old/de/cli/migrate.mdx +122 -0
  294. package/.next/standalone/docs-old/de/cli/remove-policies.mdx +43 -0
  295. package/.next/standalone/docs-old/de/cli/update.mdx +75 -0
  296. package/.next/standalone/docs-old/de/cli/version.mdx +12 -0
  297. package/.next/standalone/docs-old/de/configuration.mdx +272 -0
  298. package/.next/standalone/docs-old/de/custom-policies.mdx +358 -0
  299. package/.next/standalone/docs-old/de/dashboard.mdx +151 -0
  300. package/.next/standalone/docs-old/de/examples.mdx +307 -0
  301. package/.next/standalone/docs-old/de/for-agents.mdx +38 -0
  302. package/.next/standalone/docs-old/de/getting-started.mdx +199 -0
  303. package/.next/standalone/docs-old/de/introduction.mdx +57 -0
  304. package/.next/standalone/docs-old/de/package-aliases.mdx +82 -0
  305. package/.next/standalone/docs-old/de/testing.mdx +260 -0
  306. package/.next/standalone/docs-old/docs.json +1830 -0
  307. package/.next/standalone/docs-old/es/agenteye/alerts.mdx +63 -0
  308. package/.next/standalone/docs-old/es/agenteye/api-keys.mdx +280 -0
  309. package/.next/standalone/docs-old/es/agenteye/assistant.mdx +63 -0
  310. package/.next/standalone/docs-old/es/agenteye/audits.mdx +54 -0
  311. package/.next/standalone/docs-old/es/agenteye/cli-and-agents.mdx +80 -0
  312. package/.next/standalone/docs-old/es/agenteye/cli-recipes.mdx +178 -0
  313. package/.next/standalone/docs-old/es/agenteye/cli-skill.mdx +159 -0
  314. package/.next/standalone/docs-old/es/agenteye/cli.mdx +350 -0
  315. package/.next/standalone/docs-old/es/agenteye/codex-capture.mdx +55 -0
  316. package/.next/standalone/docs-old/es/agenteye/concepts.mdx +87 -0
  317. package/.next/standalone/docs-old/es/agenteye/dashboards.mdx +46 -0
  318. package/.next/standalone/docs-old/es/agenteye/error-tracking.mdx +41 -0
  319. package/.next/standalone/docs-old/es/agenteye/evaluation-suite.mdx +300 -0
  320. package/.next/standalone/docs-old/es/agenteye/evaluations.mdx +50 -0
  321. package/.next/standalone/docs-old/es/agenteye/evaluator-skill.mdx +167 -0
  322. package/.next/standalone/docs-old/es/agenteye/event-stream.mdx +50 -0
  323. package/.next/standalone/docs-old/es/agenteye/hermes-capture.mdx +53 -0
  324. package/.next/standalone/docs-old/es/agenteye/incidents.mdx +50 -0
  325. package/.next/standalone/docs-old/es/agenteye/observability.mdx +23 -0
  326. package/.next/standalone/docs-old/es/agenteye/openclaw-capture.mdx +49 -0
  327. package/.next/standalone/docs-old/es/agenteye/overview.mdx +108 -0
  328. package/.next/standalone/docs-old/es/agenteye/python-sdk-skill.mdx +135 -0
  329. package/.next/standalone/docs-old/es/agenteye/python-sdk.mdx +436 -0
  330. package/.next/standalone/docs-old/es/agenteye/queries.mdx +56 -0
  331. package/.next/standalone/docs-old/es/agenteye/security.mdx +68 -0
  332. package/.next/standalone/docs-old/es/agenteye/sessions.mdx +56 -0
  333. package/.next/standalone/docs-old/es/agenteye/telemetry.mdx +52 -0
  334. package/.next/standalone/docs-old/es/architecture.mdx +332 -0
  335. package/.next/standalone/docs-old/es/built-in-policies.mdx +853 -0
  336. package/.next/standalone/docs-old/es/cli/audit.mdx +137 -0
  337. package/.next/standalone/docs-old/es/cli/dashboard.mdx +29 -0
  338. package/.next/standalone/docs-old/es/cli/environment-variables.mdx +72 -0
  339. package/.next/standalone/docs-old/es/cli/hook.mdx +30 -0
  340. package/.next/standalone/docs-old/es/cli/install-policies.mdx +57 -0
  341. package/.next/standalone/docs-old/es/cli/list-policies.mdx +31 -0
  342. package/.next/standalone/docs-old/es/cli/migrate.mdx +86 -0
  343. package/.next/standalone/docs-old/es/cli/remove-policies.mdx +43 -0
  344. package/.next/standalone/docs-old/es/cli/update.mdx +64 -0
  345. package/.next/standalone/docs-old/es/cli/version.mdx +12 -0
  346. package/.next/standalone/docs-old/es/configuration.mdx +271 -0
  347. package/.next/standalone/docs-old/es/custom-policies.mdx +358 -0
  348. package/.next/standalone/docs-old/es/dashboard.mdx +151 -0
  349. package/.next/standalone/docs-old/es/examples.mdx +307 -0
  350. package/.next/standalone/docs-old/es/for-agents.mdx +38 -0
  351. package/.next/standalone/docs-old/es/getting-started.mdx +199 -0
  352. package/.next/standalone/docs-old/es/introduction.mdx +57 -0
  353. package/.next/standalone/docs-old/es/package-aliases.mdx +82 -0
  354. package/.next/standalone/docs-old/es/testing.mdx +260 -0
  355. package/.next/standalone/docs-old/examples.mdx +307 -0
  356. package/.next/standalone/docs-old/favicon.ico +0 -0
  357. package/.next/standalone/docs-old/for-agents.mdx +38 -0
  358. package/.next/standalone/docs-old/fr/agenteye/alerts.mdx +63 -0
  359. package/.next/standalone/docs-old/fr/agenteye/api-keys.mdx +280 -0
  360. package/.next/standalone/docs-old/fr/agenteye/assistant.mdx +63 -0
  361. package/.next/standalone/docs-old/fr/agenteye/audits.mdx +54 -0
  362. package/.next/standalone/docs-old/fr/agenteye/cli-and-agents.mdx +79 -0
  363. package/.next/standalone/docs-old/fr/agenteye/cli-recipes.mdx +179 -0
  364. package/.next/standalone/docs-old/fr/agenteye/cli-skill.mdx +159 -0
  365. package/.next/standalone/docs-old/fr/agenteye/cli.mdx +350 -0
  366. package/.next/standalone/docs-old/fr/agenteye/codex-capture.mdx +55 -0
  367. package/.next/standalone/docs-old/fr/agenteye/concepts.mdx +87 -0
  368. package/.next/standalone/docs-old/fr/agenteye/dashboards.mdx +46 -0
  369. package/.next/standalone/docs-old/fr/agenteye/error-tracking.mdx +40 -0
  370. package/.next/standalone/docs-old/fr/agenteye/evaluation-suite.mdx +401 -0
  371. package/.next/standalone/docs-old/fr/agenteye/evaluations.mdx +50 -0
  372. package/.next/standalone/docs-old/fr/agenteye/evaluator-skill.mdx +167 -0
  373. package/.next/standalone/docs-old/fr/agenteye/event-stream.mdx +50 -0
  374. package/.next/standalone/docs-old/fr/agenteye/hermes-capture.mdx +53 -0
  375. package/.next/standalone/docs-old/fr/agenteye/incidents.mdx +50 -0
  376. package/.next/standalone/docs-old/fr/agenteye/observability.mdx +23 -0
  377. package/.next/standalone/docs-old/fr/agenteye/openclaw-capture.mdx +49 -0
  378. package/.next/standalone/docs-old/fr/agenteye/overview.mdx +108 -0
  379. package/.next/standalone/docs-old/fr/agenteye/python-sdk-skill.mdx +135 -0
  380. package/.next/standalone/docs-old/fr/agenteye/python-sdk.mdx +436 -0
  381. package/.next/standalone/docs-old/fr/agenteye/queries.mdx +56 -0
  382. package/.next/standalone/docs-old/fr/agenteye/security.mdx +68 -0
  383. package/.next/standalone/docs-old/fr/agenteye/sessions.mdx +57 -0
  384. package/.next/standalone/docs-old/fr/agenteye/telemetry.mdx +52 -0
  385. package/.next/standalone/docs-old/fr/architecture.mdx +332 -0
  386. package/.next/standalone/docs-old/fr/built-in-policies.mdx +851 -0
  387. package/.next/standalone/docs-old/fr/cli/audit.mdx +126 -0
  388. package/.next/standalone/docs-old/fr/cli/dashboard.mdx +29 -0
  389. package/.next/standalone/docs-old/fr/cli/environment-variables.mdx +70 -0
  390. package/.next/standalone/docs-old/fr/cli/hook.mdx +30 -0
  391. package/.next/standalone/docs-old/fr/cli/install-policies.mdx +57 -0
  392. package/.next/standalone/docs-old/fr/cli/list-policies.mdx +31 -0
  393. package/.next/standalone/docs-old/fr/cli/migrate.mdx +86 -0
  394. package/.next/standalone/docs-old/fr/cli/remove-policies.mdx +43 -0
  395. package/.next/standalone/docs-old/fr/cli/update.mdx +64 -0
  396. package/.next/standalone/docs-old/fr/cli/version.mdx +12 -0
  397. package/.next/standalone/docs-old/fr/configuration.mdx +271 -0
  398. package/.next/standalone/docs-old/fr/custom-policies.mdx +358 -0
  399. package/.next/standalone/docs-old/fr/dashboard.mdx +151 -0
  400. package/.next/standalone/docs-old/fr/examples.mdx +307 -0
  401. package/.next/standalone/docs-old/fr/for-agents.mdx +38 -0
  402. package/.next/standalone/docs-old/fr/getting-started.mdx +199 -0
  403. package/.next/standalone/docs-old/fr/introduction.mdx +57 -0
  404. package/.next/standalone/docs-old/fr/package-aliases.mdx +82 -0
  405. package/.next/standalone/docs-old/fr/testing.mdx +260 -0
  406. package/.next/standalone/docs-old/getting-started.mdx +201 -0
  407. package/.next/standalone/docs-old/he/agenteye/alerts.mdx +63 -0
  408. package/.next/standalone/docs-old/he/agenteye/api-keys.mdx +279 -0
  409. package/.next/standalone/docs-old/he/agenteye/assistant.mdx +63 -0
  410. package/.next/standalone/docs-old/he/agenteye/audits.mdx +53 -0
  411. package/.next/standalone/docs-old/he/agenteye/cli-and-agents.mdx +80 -0
  412. package/.next/standalone/docs-old/he/agenteye/cli-recipes.mdx +179 -0
  413. package/.next/standalone/docs-old/he/agenteye/cli-skill.mdx +160 -0
  414. package/.next/standalone/docs-old/he/agenteye/cli.mdx +349 -0
  415. package/.next/standalone/docs-old/he/agenteye/codex-capture.mdx +56 -0
  416. package/.next/standalone/docs-old/he/agenteye/concepts.mdx +87 -0
  417. package/.next/standalone/docs-old/he/agenteye/dashboards.mdx +46 -0
  418. package/.next/standalone/docs-old/he/agenteye/error-tracking.mdx +41 -0
  419. package/.next/standalone/docs-old/he/agenteye/evaluation-suite.mdx +299 -0
  420. package/.next/standalone/docs-old/he/agenteye/evaluations.mdx +51 -0
  421. package/.next/standalone/docs-old/he/agenteye/evaluator-skill.mdx +168 -0
  422. package/.next/standalone/docs-old/he/agenteye/event-stream.mdx +50 -0
  423. package/.next/standalone/docs-old/he/agenteye/hermes-capture.mdx +54 -0
  424. package/.next/standalone/docs-old/he/agenteye/incidents.mdx +50 -0
  425. package/.next/standalone/docs-old/he/agenteye/observability.mdx +23 -0
  426. package/.next/standalone/docs-old/he/agenteye/openclaw-capture.mdx +50 -0
  427. package/.next/standalone/docs-old/he/agenteye/overview.mdx +108 -0
  428. package/.next/standalone/docs-old/he/agenteye/python-sdk-skill.mdx +132 -0
  429. package/.next/standalone/docs-old/he/agenteye/python-sdk.mdx +436 -0
  430. package/.next/standalone/docs-old/he/agenteye/queries.mdx +56 -0
  431. package/.next/standalone/docs-old/he/agenteye/security.mdx +67 -0
  432. package/.next/standalone/docs-old/he/agenteye/sessions.mdx +58 -0
  433. package/.next/standalone/docs-old/he/agenteye/telemetry.mdx +52 -0
  434. package/.next/standalone/docs-old/he/architecture.mdx +332 -0
  435. package/.next/standalone/docs-old/he/built-in-policies.mdx +857 -0
  436. package/.next/standalone/docs-old/he/cli/audit.mdx +116 -0
  437. package/.next/standalone/docs-old/he/cli/dashboard.mdx +30 -0
  438. package/.next/standalone/docs-old/he/cli/environment-variables.mdx +69 -0
  439. package/.next/standalone/docs-old/he/cli/hook.mdx +30 -0
  440. package/.next/standalone/docs-old/he/cli/install-policies.mdx +58 -0
  441. package/.next/standalone/docs-old/he/cli/list-policies.mdx +32 -0
  442. package/.next/standalone/docs-old/he/cli/migrate.mdx +87 -0
  443. package/.next/standalone/docs-old/he/cli/remove-policies.mdx +44 -0
  444. package/.next/standalone/docs-old/he/cli/update.mdx +64 -0
  445. package/.next/standalone/docs-old/he/cli/version.mdx +13 -0
  446. package/.next/standalone/docs-old/he/configuration.mdx +264 -0
  447. package/.next/standalone/docs-old/he/custom-policies.mdx +359 -0
  448. package/.next/standalone/docs-old/he/dashboard.mdx +155 -0
  449. package/.next/standalone/docs-old/he/examples.mdx +308 -0
  450. package/.next/standalone/docs-old/he/for-agents.mdx +38 -0
  451. package/.next/standalone/docs-old/he/getting-started.mdx +200 -0
  452. package/.next/standalone/docs-old/he/introduction.mdx +58 -0
  453. package/.next/standalone/docs-old/he/package-aliases.mdx +82 -0
  454. package/.next/standalone/docs-old/he/testing.mdx +260 -0
  455. package/.next/standalone/docs-old/hi/agenteye/alerts.mdx +62 -0
  456. package/.next/standalone/docs-old/hi/agenteye/api-keys.mdx +279 -0
  457. package/.next/standalone/docs-old/hi/agenteye/assistant.mdx +63 -0
  458. package/.next/standalone/docs-old/hi/agenteye/audits.mdx +53 -0
  459. package/.next/standalone/docs-old/hi/agenteye/cli-and-agents.mdx +80 -0
  460. package/.next/standalone/docs-old/hi/agenteye/cli-recipes.mdx +178 -0
  461. package/.next/standalone/docs-old/hi/agenteye/cli-skill.mdx +159 -0
  462. package/.next/standalone/docs-old/hi/agenteye/cli.mdx +350 -0
  463. package/.next/standalone/docs-old/hi/agenteye/codex-capture.mdx +56 -0
  464. package/.next/standalone/docs-old/hi/agenteye/concepts.mdx +87 -0
  465. package/.next/standalone/docs-old/hi/agenteye/dashboards.mdx +47 -0
  466. package/.next/standalone/docs-old/hi/agenteye/error-tracking.mdx +42 -0
  467. package/.next/standalone/docs-old/hi/agenteye/evaluation-suite.mdx +299 -0
  468. package/.next/standalone/docs-old/hi/agenteye/evaluations.mdx +51 -0
  469. package/.next/standalone/docs-old/hi/agenteye/evaluator-skill.mdx +171 -0
  470. package/.next/standalone/docs-old/hi/agenteye/event-stream.mdx +49 -0
  471. package/.next/standalone/docs-old/hi/agenteye/hermes-capture.mdx +53 -0
  472. package/.next/standalone/docs-old/hi/agenteye/incidents.mdx +50 -0
  473. package/.next/standalone/docs-old/hi/agenteye/observability.mdx +23 -0
  474. package/.next/standalone/docs-old/hi/agenteye/openclaw-capture.mdx +50 -0
  475. package/.next/standalone/docs-old/hi/agenteye/overview.mdx +107 -0
  476. package/.next/standalone/docs-old/hi/agenteye/python-sdk-skill.mdx +133 -0
  477. package/.next/standalone/docs-old/hi/agenteye/python-sdk.mdx +434 -0
  478. package/.next/standalone/docs-old/hi/agenteye/queries.mdx +57 -0
  479. package/.next/standalone/docs-old/hi/agenteye/security.mdx +68 -0
  480. package/.next/standalone/docs-old/hi/agenteye/sessions.mdx +57 -0
  481. package/.next/standalone/docs-old/hi/agenteye/telemetry.mdx +51 -0
  482. package/.next/standalone/docs-old/hi/architecture.mdx +332 -0
  483. package/.next/standalone/docs-old/hi/built-in-policies.mdx +848 -0
  484. package/.next/standalone/docs-old/hi/cli/audit.mdx +117 -0
  485. package/.next/standalone/docs-old/hi/cli/dashboard.mdx +29 -0
  486. package/.next/standalone/docs-old/hi/cli/environment-variables.mdx +64 -0
  487. package/.next/standalone/docs-old/hi/cli/hook.mdx +30 -0
  488. package/.next/standalone/docs-old/hi/cli/install-policies.mdx +57 -0
  489. package/.next/standalone/docs-old/hi/cli/list-policies.mdx +31 -0
  490. package/.next/standalone/docs-old/hi/cli/migrate.mdx +85 -0
  491. package/.next/standalone/docs-old/hi/cli/remove-policies.mdx +43 -0
  492. package/.next/standalone/docs-old/hi/cli/update.mdx +65 -0
  493. package/.next/standalone/docs-old/hi/cli/version.mdx +12 -0
  494. package/.next/standalone/docs-old/hi/configuration.mdx +264 -0
  495. package/.next/standalone/docs-old/hi/custom-policies.mdx +359 -0
  496. package/.next/standalone/docs-old/hi/dashboard.mdx +152 -0
  497. package/.next/standalone/docs-old/hi/examples.mdx +307 -0
  498. package/.next/standalone/docs-old/hi/for-agents.mdx +38 -0
  499. package/.next/standalone/docs-old/hi/getting-started.mdx +200 -0
  500. package/.next/standalone/docs-old/hi/introduction.mdx +58 -0
  501. package/.next/standalone/docs-old/hi/package-aliases.mdx +83 -0
  502. package/.next/standalone/docs-old/hi/testing.mdx +260 -0
  503. package/.next/standalone/docs-old/i18n/README.ar.md +230 -0
  504. package/.next/standalone/docs-old/i18n/README.de.md +225 -0
  505. package/.next/standalone/docs-old/i18n/README.es.md +225 -0
  506. package/.next/standalone/docs-old/i18n/README.fr.md +225 -0
  507. package/.next/standalone/docs-old/i18n/README.he.md +230 -0
  508. package/.next/standalone/docs-old/i18n/README.hi.md +222 -0
  509. package/.next/standalone/docs-old/i18n/README.it.md +225 -0
  510. package/.next/standalone/docs-old/i18n/README.ja.md +219 -0
  511. package/.next/standalone/docs-old/i18n/README.ko.md +225 -0
  512. package/.next/standalone/docs-old/i18n/README.pt-br.md +225 -0
  513. package/.next/standalone/docs-old/i18n/README.ru.md +222 -0
  514. package/.next/standalone/docs-old/i18n/README.tr.md +221 -0
  515. package/.next/standalone/docs-old/i18n/README.vi.md +225 -0
  516. package/.next/standalone/docs-old/i18n/README.zh.md +219 -0
  517. package/.next/standalone/docs-old/introduction.mdx +57 -0
  518. package/.next/standalone/docs-old/it/agenteye/alerts.mdx +62 -0
  519. package/.next/standalone/docs-old/it/agenteye/api-keys.mdx +279 -0
  520. package/.next/standalone/docs-old/it/agenteye/assistant.mdx +63 -0
  521. package/.next/standalone/docs-old/it/agenteye/audits.mdx +54 -0
  522. package/.next/standalone/docs-old/it/agenteye/cli-and-agents.mdx +80 -0
  523. package/.next/standalone/docs-old/it/agenteye/cli-recipes.mdx +179 -0
  524. package/.next/standalone/docs-old/it/agenteye/cli-skill.mdx +159 -0
  525. package/.next/standalone/docs-old/it/agenteye/cli.mdx +349 -0
  526. package/.next/standalone/docs-old/it/agenteye/codex-capture.mdx +56 -0
  527. package/.next/standalone/docs-old/it/agenteye/concepts.mdx +87 -0
  528. package/.next/standalone/docs-old/it/agenteye/dashboards.mdx +46 -0
  529. package/.next/standalone/docs-old/it/agenteye/error-tracking.mdx +41 -0
  530. package/.next/standalone/docs-old/it/agenteye/evaluation-suite.mdx +299 -0
  531. package/.next/standalone/docs-old/it/agenteye/evaluations.mdx +51 -0
  532. package/.next/standalone/docs-old/it/agenteye/evaluator-skill.mdx +170 -0
  533. package/.next/standalone/docs-old/it/agenteye/event-stream.mdx +50 -0
  534. package/.next/standalone/docs-old/it/agenteye/hermes-capture.mdx +53 -0
  535. package/.next/standalone/docs-old/it/agenteye/incidents.mdx +49 -0
  536. package/.next/standalone/docs-old/it/agenteye/observability.mdx +23 -0
  537. package/.next/standalone/docs-old/it/agenteye/openclaw-capture.mdx +49 -0
  538. package/.next/standalone/docs-old/it/agenteye/overview.mdx +107 -0
  539. package/.next/standalone/docs-old/it/agenteye/python-sdk-skill.mdx +132 -0
  540. package/.next/standalone/docs-old/it/agenteye/python-sdk.mdx +437 -0
  541. package/.next/standalone/docs-old/it/agenteye/queries.mdx +55 -0
  542. package/.next/standalone/docs-old/it/agenteye/security.mdx +68 -0
  543. package/.next/standalone/docs-old/it/agenteye/sessions.mdx +57 -0
  544. package/.next/standalone/docs-old/it/agenteye/telemetry.mdx +52 -0
  545. package/.next/standalone/docs-old/it/architecture.mdx +333 -0
  546. package/.next/standalone/docs-old/it/built-in-policies.mdx +853 -0
  547. package/.next/standalone/docs-old/it/cli/audit.mdx +126 -0
  548. package/.next/standalone/docs-old/it/cli/dashboard.mdx +30 -0
  549. package/.next/standalone/docs-old/it/cli/environment-variables.mdx +65 -0
  550. package/.next/standalone/docs-old/it/cli/hook.mdx +30 -0
  551. package/.next/standalone/docs-old/it/cli/install-policies.mdx +57 -0
  552. package/.next/standalone/docs-old/it/cli/list-policies.mdx +31 -0
  553. package/.next/standalone/docs-old/it/cli/migrate.mdx +122 -0
  554. package/.next/standalone/docs-old/it/cli/remove-policies.mdx +43 -0
  555. package/.next/standalone/docs-old/it/cli/update.mdx +86 -0
  556. package/.next/standalone/docs-old/it/cli/version.mdx +12 -0
  557. package/.next/standalone/docs-old/it/configuration.mdx +269 -0
  558. package/.next/standalone/docs-old/it/custom-policies.mdx +359 -0
  559. package/.next/standalone/docs-old/it/dashboard.mdx +151 -0
  560. package/.next/standalone/docs-old/it/examples.mdx +307 -0
  561. package/.next/standalone/docs-old/it/for-agents.mdx +38 -0
  562. package/.next/standalone/docs-old/it/getting-started.mdx +199 -0
  563. package/.next/standalone/docs-old/it/introduction.mdx +58 -0
  564. package/.next/standalone/docs-old/it/package-aliases.mdx +82 -0
  565. package/.next/standalone/docs-old/it/testing.mdx +261 -0
  566. package/.next/standalone/docs-old/ja/agenteye/alerts.mdx +63 -0
  567. package/.next/standalone/docs-old/ja/agenteye/api-keys.mdx +280 -0
  568. package/.next/standalone/docs-old/ja/agenteye/assistant.mdx +63 -0
  569. package/.next/standalone/docs-old/ja/agenteye/audits.mdx +54 -0
  570. package/.next/standalone/docs-old/ja/agenteye/cli-and-agents.mdx +80 -0
  571. package/.next/standalone/docs-old/ja/agenteye/cli-recipes.mdx +179 -0
  572. package/.next/standalone/docs-old/ja/agenteye/cli-skill.mdx +159 -0
  573. package/.next/standalone/docs-old/ja/agenteye/cli.mdx +350 -0
  574. package/.next/standalone/docs-old/ja/agenteye/codex-capture.mdx +55 -0
  575. package/.next/standalone/docs-old/ja/agenteye/concepts.mdx +87 -0
  576. package/.next/standalone/docs-old/ja/agenteye/dashboards.mdx +46 -0
  577. package/.next/standalone/docs-old/ja/agenteye/error-tracking.mdx +41 -0
  578. package/.next/standalone/docs-old/ja/agenteye/evaluation-suite.mdx +300 -0
  579. package/.next/standalone/docs-old/ja/agenteye/evaluations.mdx +51 -0
  580. package/.next/standalone/docs-old/ja/agenteye/evaluator-skill.mdx +167 -0
  581. package/.next/standalone/docs-old/ja/agenteye/event-stream.mdx +50 -0
  582. package/.next/standalone/docs-old/ja/agenteye/hermes-capture.mdx +53 -0
  583. package/.next/standalone/docs-old/ja/agenteye/incidents.mdx +50 -0
  584. package/.next/standalone/docs-old/ja/agenteye/observability.mdx +23 -0
  585. package/.next/standalone/docs-old/ja/agenteye/openclaw-capture.mdx +49 -0
  586. package/.next/standalone/docs-old/ja/agenteye/overview.mdx +108 -0
  587. package/.next/standalone/docs-old/ja/agenteye/python-sdk-skill.mdx +131 -0
  588. package/.next/standalone/docs-old/ja/agenteye/python-sdk.mdx +433 -0
  589. package/.next/standalone/docs-old/ja/agenteye/queries.mdx +56 -0
  590. package/.next/standalone/docs-old/ja/agenteye/security.mdx +68 -0
  591. package/.next/standalone/docs-old/ja/agenteye/sessions.mdx +57 -0
  592. package/.next/standalone/docs-old/ja/agenteye/telemetry.mdx +52 -0
  593. package/.next/standalone/docs-old/ja/architecture.mdx +332 -0
  594. package/.next/standalone/docs-old/ja/built-in-policies.mdx +848 -0
  595. package/.next/standalone/docs-old/ja/cli/audit.mdx +116 -0
  596. package/.next/standalone/docs-old/ja/cli/dashboard.mdx +29 -0
  597. package/.next/standalone/docs-old/ja/cli/environment-variables.mdx +63 -0
  598. package/.next/standalone/docs-old/ja/cli/hook.mdx +30 -0
  599. package/.next/standalone/docs-old/ja/cli/install-policies.mdx +57 -0
  600. package/.next/standalone/docs-old/ja/cli/list-policies.mdx +31 -0
  601. package/.next/standalone/docs-old/ja/cli/migrate.mdx +86 -0
  602. package/.next/standalone/docs-old/ja/cli/remove-policies.mdx +43 -0
  603. package/.next/standalone/docs-old/ja/cli/update.mdx +64 -0
  604. package/.next/standalone/docs-old/ja/cli/version.mdx +12 -0
  605. package/.next/standalone/docs-old/ja/configuration.mdx +264 -0
  606. package/.next/standalone/docs-old/ja/custom-policies.mdx +358 -0
  607. package/.next/standalone/docs-old/ja/dashboard.mdx +151 -0
  608. package/.next/standalone/docs-old/ja/examples.mdx +307 -0
  609. package/.next/standalone/docs-old/ja/for-agents.mdx +38 -0
  610. package/.next/standalone/docs-old/ja/getting-started.mdx +199 -0
  611. package/.next/standalone/docs-old/ja/introduction.mdx +57 -0
  612. package/.next/standalone/docs-old/ja/package-aliases.mdx +82 -0
  613. package/.next/standalone/docs-old/ja/testing.mdx +260 -0
  614. package/.next/standalone/docs-old/ko/agenteye/alerts.mdx +63 -0
  615. package/.next/standalone/docs-old/ko/agenteye/api-keys.mdx +280 -0
  616. package/.next/standalone/docs-old/ko/agenteye/assistant.mdx +63 -0
  617. package/.next/standalone/docs-old/ko/agenteye/audits.mdx +54 -0
  618. package/.next/standalone/docs-old/ko/agenteye/cli-and-agents.mdx +80 -0
  619. package/.next/standalone/docs-old/ko/agenteye/cli-recipes.mdx +179 -0
  620. package/.next/standalone/docs-old/ko/agenteye/cli-skill.mdx +159 -0
  621. package/.next/standalone/docs-old/ko/agenteye/cli.mdx +350 -0
  622. package/.next/standalone/docs-old/ko/agenteye/codex-capture.mdx +55 -0
  623. package/.next/standalone/docs-old/ko/agenteye/concepts.mdx +87 -0
  624. package/.next/standalone/docs-old/ko/agenteye/dashboards.mdx +46 -0
  625. package/.next/standalone/docs-old/ko/agenteye/error-tracking.mdx +40 -0
  626. package/.next/standalone/docs-old/ko/agenteye/evaluation-suite.mdx +303 -0
  627. package/.next/standalone/docs-old/ko/agenteye/evaluations.mdx +50 -0
  628. package/.next/standalone/docs-old/ko/agenteye/evaluator-skill.mdx +167 -0
  629. package/.next/standalone/docs-old/ko/agenteye/event-stream.mdx +50 -0
  630. package/.next/standalone/docs-old/ko/agenteye/hermes-capture.mdx +53 -0
  631. package/.next/standalone/docs-old/ko/agenteye/incidents.mdx +50 -0
  632. package/.next/standalone/docs-old/ko/agenteye/observability.mdx +23 -0
  633. package/.next/standalone/docs-old/ko/agenteye/openclaw-capture.mdx +49 -0
  634. package/.next/standalone/docs-old/ko/agenteye/overview.mdx +108 -0
  635. package/.next/standalone/docs-old/ko/agenteye/python-sdk-skill.mdx +130 -0
  636. package/.next/standalone/docs-old/ko/agenteye/python-sdk.mdx +433 -0
  637. package/.next/standalone/docs-old/ko/agenteye/queries.mdx +56 -0
  638. package/.next/standalone/docs-old/ko/agenteye/security.mdx +68 -0
  639. package/.next/standalone/docs-old/ko/agenteye/sessions.mdx +57 -0
  640. package/.next/standalone/docs-old/ko/agenteye/telemetry.mdx +52 -0
  641. package/.next/standalone/docs-old/ko/architecture.mdx +332 -0
  642. package/.next/standalone/docs-old/ko/built-in-policies.mdx +854 -0
  643. package/.next/standalone/docs-old/ko/cli/audit.mdx +131 -0
  644. package/.next/standalone/docs-old/ko/cli/dashboard.mdx +29 -0
  645. package/.next/standalone/docs-old/ko/cli/environment-variables.mdx +66 -0
  646. package/.next/standalone/docs-old/ko/cli/hook.mdx +30 -0
  647. package/.next/standalone/docs-old/ko/cli/install-policies.mdx +57 -0
  648. package/.next/standalone/docs-old/ko/cli/list-policies.mdx +31 -0
  649. package/.next/standalone/docs-old/ko/cli/migrate.mdx +86 -0
  650. package/.next/standalone/docs-old/ko/cli/remove-policies.mdx +43 -0
  651. package/.next/standalone/docs-old/ko/cli/update.mdx +64 -0
  652. package/.next/standalone/docs-old/ko/cli/version.mdx +12 -0
  653. package/.next/standalone/docs-old/ko/configuration.mdx +267 -0
  654. package/.next/standalone/docs-old/ko/custom-policies.mdx +358 -0
  655. package/.next/standalone/docs-old/ko/dashboard.mdx +151 -0
  656. package/.next/standalone/docs-old/ko/examples.mdx +307 -0
  657. package/.next/standalone/docs-old/ko/for-agents.mdx +38 -0
  658. package/.next/standalone/docs-old/ko/getting-started.mdx +199 -0
  659. package/.next/standalone/docs-old/ko/introduction.mdx +57 -0
  660. package/.next/standalone/docs-old/ko/package-aliases.mdx +82 -0
  661. package/.next/standalone/docs-old/ko/testing.mdx +260 -0
  662. package/.next/standalone/docs-old/logo/Failproof_AI_logo.png +0 -0
  663. package/.next/standalone/docs-old/logo/Failproof_AI_logo_light.png +0 -0
  664. package/.next/standalone/docs-old/package-aliases.mdx +82 -0
  665. package/.next/standalone/docs-old/pt-br/agenteye/alerts.mdx +63 -0
  666. package/.next/standalone/docs-old/pt-br/agenteye/api-keys.mdx +280 -0
  667. package/.next/standalone/docs-old/pt-br/agenteye/assistant.mdx +63 -0
  668. package/.next/standalone/docs-old/pt-br/agenteye/audits.mdx +54 -0
  669. package/.next/standalone/docs-old/pt-br/agenteye/cli-and-agents.mdx +80 -0
  670. package/.next/standalone/docs-old/pt-br/agenteye/cli-recipes.mdx +179 -0
  671. package/.next/standalone/docs-old/pt-br/agenteye/cli-skill.mdx +159 -0
  672. package/.next/standalone/docs-old/pt-br/agenteye/cli.mdx +350 -0
  673. package/.next/standalone/docs-old/pt-br/agenteye/codex-capture.mdx +55 -0
  674. package/.next/standalone/docs-old/pt-br/agenteye/concepts.mdx +87 -0
  675. package/.next/standalone/docs-old/pt-br/agenteye/dashboards.mdx +45 -0
  676. package/.next/standalone/docs-old/pt-br/agenteye/error-tracking.mdx +40 -0
  677. package/.next/standalone/docs-old/pt-br/agenteye/evaluation-suite.mdx +401 -0
  678. package/.next/standalone/docs-old/pt-br/agenteye/evaluations.mdx +51 -0
  679. package/.next/standalone/docs-old/pt-br/agenteye/evaluator-skill.mdx +167 -0
  680. package/.next/standalone/docs-old/pt-br/agenteye/event-stream.mdx +50 -0
  681. package/.next/standalone/docs-old/pt-br/agenteye/hermes-capture.mdx +53 -0
  682. package/.next/standalone/docs-old/pt-br/agenteye/incidents.mdx +50 -0
  683. package/.next/standalone/docs-old/pt-br/agenteye/observability.mdx +23 -0
  684. package/.next/standalone/docs-old/pt-br/agenteye/openclaw-capture.mdx +49 -0
  685. package/.next/standalone/docs-old/pt-br/agenteye/overview.mdx +108 -0
  686. package/.next/standalone/docs-old/pt-br/agenteye/python-sdk-skill.mdx +136 -0
  687. package/.next/standalone/docs-old/pt-br/agenteye/python-sdk.mdx +436 -0
  688. package/.next/standalone/docs-old/pt-br/agenteye/queries.mdx +56 -0
  689. package/.next/standalone/docs-old/pt-br/agenteye/security.mdx +68 -0
  690. package/.next/standalone/docs-old/pt-br/agenteye/sessions.mdx +56 -0
  691. package/.next/standalone/docs-old/pt-br/agenteye/telemetry.mdx +52 -0
  692. package/.next/standalone/docs-old/pt-br/architecture.mdx +332 -0
  693. package/.next/standalone/docs-old/pt-br/built-in-policies.mdx +858 -0
  694. package/.next/standalone/docs-old/pt-br/cli/audit.mdx +132 -0
  695. package/.next/standalone/docs-old/pt-br/cli/dashboard.mdx +29 -0
  696. package/.next/standalone/docs-old/pt-br/cli/environment-variables.mdx +72 -0
  697. package/.next/standalone/docs-old/pt-br/cli/hook.mdx +30 -0
  698. package/.next/standalone/docs-old/pt-br/cli/install-policies.mdx +57 -0
  699. package/.next/standalone/docs-old/pt-br/cli/list-policies.mdx +31 -0
  700. package/.next/standalone/docs-old/pt-br/cli/migrate.mdx +86 -0
  701. package/.next/standalone/docs-old/pt-br/cli/remove-policies.mdx +43 -0
  702. package/.next/standalone/docs-old/pt-br/cli/update.mdx +64 -0
  703. package/.next/standalone/docs-old/pt-br/cli/version.mdx +12 -0
  704. package/.next/standalone/docs-old/pt-br/configuration.mdx +268 -0
  705. package/.next/standalone/docs-old/pt-br/custom-policies.mdx +358 -0
  706. package/.next/standalone/docs-old/pt-br/dashboard.mdx +151 -0
  707. package/.next/standalone/docs-old/pt-br/examples.mdx +307 -0
  708. package/.next/standalone/docs-old/pt-br/for-agents.mdx +38 -0
  709. package/.next/standalone/docs-old/pt-br/getting-started.mdx +199 -0
  710. package/.next/standalone/docs-old/pt-br/introduction.mdx +57 -0
  711. package/.next/standalone/docs-old/pt-br/package-aliases.mdx +82 -0
  712. package/.next/standalone/docs-old/pt-br/testing.mdx +260 -0
  713. package/.next/standalone/docs-old/ru/agenteye/alerts.mdx +63 -0
  714. package/.next/standalone/docs-old/ru/agenteye/api-keys.mdx +280 -0
  715. package/.next/standalone/docs-old/ru/agenteye/assistant.mdx +63 -0
  716. package/.next/standalone/docs-old/ru/agenteye/audits.mdx +54 -0
  717. package/.next/standalone/docs-old/ru/agenteye/cli-and-agents.mdx +80 -0
  718. package/.next/standalone/docs-old/ru/agenteye/cli-recipes.mdx +179 -0
  719. package/.next/standalone/docs-old/ru/agenteye/cli-skill.mdx +159 -0
  720. package/.next/standalone/docs-old/ru/agenteye/cli.mdx +350 -0
  721. package/.next/standalone/docs-old/ru/agenteye/codex-capture.mdx +55 -0
  722. package/.next/standalone/docs-old/ru/agenteye/concepts.mdx +87 -0
  723. package/.next/standalone/docs-old/ru/agenteye/dashboards.mdx +46 -0
  724. package/.next/standalone/docs-old/ru/agenteye/error-tracking.mdx +41 -0
  725. package/.next/standalone/docs-old/ru/agenteye/evaluation-suite.mdx +401 -0
  726. package/.next/standalone/docs-old/ru/agenteye/evaluations.mdx +51 -0
  727. package/.next/standalone/docs-old/ru/agenteye/evaluator-skill.mdx +171 -0
  728. package/.next/standalone/docs-old/ru/agenteye/event-stream.mdx +51 -0
  729. package/.next/standalone/docs-old/ru/agenteye/hermes-capture.mdx +53 -0
  730. package/.next/standalone/docs-old/ru/agenteye/incidents.mdx +50 -0
  731. package/.next/standalone/docs-old/ru/agenteye/observability.mdx +23 -0
  732. package/.next/standalone/docs-old/ru/agenteye/openclaw-capture.mdx +49 -0
  733. package/.next/standalone/docs-old/ru/agenteye/overview.mdx +107 -0
  734. package/.next/standalone/docs-old/ru/agenteye/python-sdk-skill.mdx +131 -0
  735. package/.next/standalone/docs-old/ru/agenteye/python-sdk.mdx +437 -0
  736. package/.next/standalone/docs-old/ru/agenteye/queries.mdx +56 -0
  737. package/.next/standalone/docs-old/ru/agenteye/security.mdx +68 -0
  738. package/.next/standalone/docs-old/ru/agenteye/sessions.mdx +57 -0
  739. package/.next/standalone/docs-old/ru/agenteye/telemetry.mdx +52 -0
  740. package/.next/standalone/docs-old/ru/architecture.mdx +333 -0
  741. package/.next/standalone/docs-old/ru/built-in-policies.mdx +853 -0
  742. package/.next/standalone/docs-old/ru/cli/audit.mdx +132 -0
  743. package/.next/standalone/docs-old/ru/cli/dashboard.mdx +29 -0
  744. package/.next/standalone/docs-old/ru/cli/environment-variables.mdx +72 -0
  745. package/.next/standalone/docs-old/ru/cli/hook.mdx +30 -0
  746. package/.next/standalone/docs-old/ru/cli/install-policies.mdx +57 -0
  747. package/.next/standalone/docs-old/ru/cli/list-policies.mdx +31 -0
  748. package/.next/standalone/docs-old/ru/cli/migrate.mdx +91 -0
  749. package/.next/standalone/docs-old/ru/cli/remove-policies.mdx +44 -0
  750. package/.next/standalone/docs-old/ru/cli/update.mdx +64 -0
  751. package/.next/standalone/docs-old/ru/cli/version.mdx +12 -0
  752. package/.next/standalone/docs-old/ru/configuration.mdx +269 -0
  753. package/.next/standalone/docs-old/ru/custom-policies.mdx +358 -0
  754. package/.next/standalone/docs-old/ru/dashboard.mdx +155 -0
  755. package/.next/standalone/docs-old/ru/examples.mdx +307 -0
  756. package/.next/standalone/docs-old/ru/for-agents.mdx +38 -0
  757. package/.next/standalone/docs-old/ru/getting-started.mdx +199 -0
  758. package/.next/standalone/docs-old/ru/introduction.mdx +58 -0
  759. package/.next/standalone/docs-old/ru/package-aliases.mdx +82 -0
  760. package/.next/standalone/docs-old/ru/testing.mdx +260 -0
  761. package/.next/standalone/docs-old/styles/config/vocabularies/Mintlify/accept.txt +52 -0
  762. package/.next/standalone/docs-old/superpowers/specs/2026-06-11-audit-poster-restructure-design.md +332 -0
  763. package/.next/standalone/docs-old/testing.mdx +260 -0
  764. package/.next/standalone/docs-old/tr/agenteye/alerts.mdx +63 -0
  765. package/.next/standalone/docs-old/tr/agenteye/api-keys.mdx +279 -0
  766. package/.next/standalone/docs-old/tr/agenteye/assistant.mdx +63 -0
  767. package/.next/standalone/docs-old/tr/agenteye/audits.mdx +54 -0
  768. package/.next/standalone/docs-old/tr/agenteye/cli-and-agents.mdx +80 -0
  769. package/.next/standalone/docs-old/tr/agenteye/cli-recipes.mdx +179 -0
  770. package/.next/standalone/docs-old/tr/agenteye/cli-skill.mdx +161 -0
  771. package/.next/standalone/docs-old/tr/agenteye/cli.mdx +350 -0
  772. package/.next/standalone/docs-old/tr/agenteye/codex-capture.mdx +56 -0
  773. package/.next/standalone/docs-old/tr/agenteye/concepts.mdx +87 -0
  774. package/.next/standalone/docs-old/tr/agenteye/dashboards.mdx +46 -0
  775. package/.next/standalone/docs-old/tr/agenteye/error-tracking.mdx +41 -0
  776. package/.next/standalone/docs-old/tr/agenteye/evaluation-suite.mdx +299 -0
  777. package/.next/standalone/docs-old/tr/agenteye/evaluations.mdx +51 -0
  778. package/.next/standalone/docs-old/tr/agenteye/evaluator-skill.mdx +167 -0
  779. package/.next/standalone/docs-old/tr/agenteye/event-stream.mdx +50 -0
  780. package/.next/standalone/docs-old/tr/agenteye/hermes-capture.mdx +53 -0
  781. package/.next/standalone/docs-old/tr/agenteye/incidents.mdx +50 -0
  782. package/.next/standalone/docs-old/tr/agenteye/observability.mdx +23 -0
  783. package/.next/standalone/docs-old/tr/agenteye/openclaw-capture.mdx +50 -0
  784. package/.next/standalone/docs-old/tr/agenteye/overview.mdx +107 -0
  785. package/.next/standalone/docs-old/tr/agenteye/python-sdk-skill.mdx +130 -0
  786. package/.next/standalone/docs-old/tr/agenteye/python-sdk.mdx +436 -0
  787. package/.next/standalone/docs-old/tr/agenteye/queries.mdx +55 -0
  788. package/.next/standalone/docs-old/tr/agenteye/security.mdx +69 -0
  789. package/.next/standalone/docs-old/tr/agenteye/sessions.mdx +57 -0
  790. package/.next/standalone/docs-old/tr/agenteye/telemetry.mdx +52 -0
  791. package/.next/standalone/docs-old/tr/architecture.mdx +332 -0
  792. package/.next/standalone/docs-old/tr/built-in-policies.mdx +848 -0
  793. package/.next/standalone/docs-old/tr/cli/audit.mdx +117 -0
  794. package/.next/standalone/docs-old/tr/cli/dashboard.mdx +29 -0
  795. package/.next/standalone/docs-old/tr/cli/environment-variables.mdx +65 -0
  796. package/.next/standalone/docs-old/tr/cli/hook.mdx +31 -0
  797. package/.next/standalone/docs-old/tr/cli/install-policies.mdx +57 -0
  798. package/.next/standalone/docs-old/tr/cli/list-policies.mdx +31 -0
  799. package/.next/standalone/docs-old/tr/cli/migrate.mdx +87 -0
  800. package/.next/standalone/docs-old/tr/cli/remove-policies.mdx +43 -0
  801. package/.next/standalone/docs-old/tr/cli/update.mdx +88 -0
  802. package/.next/standalone/docs-old/tr/cli/version.mdx +12 -0
  803. package/.next/standalone/docs-old/tr/configuration.mdx +268 -0
  804. package/.next/standalone/docs-old/tr/custom-policies.mdx +358 -0
  805. package/.next/standalone/docs-old/tr/dashboard.mdx +152 -0
  806. package/.next/standalone/docs-old/tr/examples.mdx +307 -0
  807. package/.next/standalone/docs-old/tr/for-agents.mdx +38 -0
  808. package/.next/standalone/docs-old/tr/getting-started.mdx +199 -0
  809. package/.next/standalone/docs-old/tr/introduction.mdx +57 -0
  810. package/.next/standalone/docs-old/tr/package-aliases.mdx +82 -0
  811. package/.next/standalone/docs-old/tr/testing.mdx +261 -0
  812. package/.next/standalone/docs-old/vi/agenteye/alerts.mdx +63 -0
  813. package/.next/standalone/docs-old/vi/agenteye/api-keys.mdx +280 -0
  814. package/.next/standalone/docs-old/vi/agenteye/assistant.mdx +63 -0
  815. package/.next/standalone/docs-old/vi/agenteye/audits.mdx +54 -0
  816. package/.next/standalone/docs-old/vi/agenteye/cli-and-agents.mdx +80 -0
  817. package/.next/standalone/docs-old/vi/agenteye/cli-recipes.mdx +178 -0
  818. package/.next/standalone/docs-old/vi/agenteye/cli-skill.mdx +159 -0
  819. package/.next/standalone/docs-old/vi/agenteye/cli.mdx +349 -0
  820. package/.next/standalone/docs-old/vi/agenteye/codex-capture.mdx +55 -0
  821. package/.next/standalone/docs-old/vi/agenteye/concepts.mdx +88 -0
  822. package/.next/standalone/docs-old/vi/agenteye/dashboards.mdx +46 -0
  823. package/.next/standalone/docs-old/vi/agenteye/error-tracking.mdx +41 -0
  824. package/.next/standalone/docs-old/vi/agenteye/evaluation-suite.mdx +300 -0
  825. package/.next/standalone/docs-old/vi/agenteye/evaluations.mdx +51 -0
  826. package/.next/standalone/docs-old/vi/agenteye/evaluator-skill.mdx +171 -0
  827. package/.next/standalone/docs-old/vi/agenteye/event-stream.mdx +50 -0
  828. package/.next/standalone/docs-old/vi/agenteye/hermes-capture.mdx +53 -0
  829. package/.next/standalone/docs-old/vi/agenteye/incidents.mdx +50 -0
  830. package/.next/standalone/docs-old/vi/agenteye/observability.mdx +23 -0
  831. package/.next/standalone/docs-old/vi/agenteye/openclaw-capture.mdx +49 -0
  832. package/.next/standalone/docs-old/vi/agenteye/overview.mdx +109 -0
  833. package/.next/standalone/docs-old/vi/agenteye/python-sdk-skill.mdx +131 -0
  834. package/.next/standalone/docs-old/vi/agenteye/python-sdk.mdx +433 -0
  835. package/.next/standalone/docs-old/vi/agenteye/queries.mdx +55 -0
  836. package/.next/standalone/docs-old/vi/agenteye/security.mdx +68 -0
  837. package/.next/standalone/docs-old/vi/agenteye/sessions.mdx +57 -0
  838. package/.next/standalone/docs-old/vi/agenteye/telemetry.mdx +52 -0
  839. package/.next/standalone/docs-old/vi/architecture.mdx +332 -0
  840. package/.next/standalone/docs-old/vi/built-in-policies.mdx +853 -0
  841. package/.next/standalone/docs-old/vi/cli/audit.mdx +120 -0
  842. package/.next/standalone/docs-old/vi/cli/dashboard.mdx +29 -0
  843. package/.next/standalone/docs-old/vi/cli/environment-variables.mdx +69 -0
  844. package/.next/standalone/docs-old/vi/cli/hook.mdx +30 -0
  845. package/.next/standalone/docs-old/vi/cli/install-policies.mdx +57 -0
  846. package/.next/standalone/docs-old/vi/cli/list-policies.mdx +32 -0
  847. package/.next/standalone/docs-old/vi/cli/migrate.mdx +122 -0
  848. package/.next/standalone/docs-old/vi/cli/remove-policies.mdx +43 -0
  849. package/.next/standalone/docs-old/vi/cli/update.mdx +95 -0
  850. package/.next/standalone/docs-old/vi/cli/version.mdx +12 -0
  851. package/.next/standalone/docs-old/vi/configuration.mdx +268 -0
  852. package/.next/standalone/docs-old/vi/custom-policies.mdx +358 -0
  853. package/.next/standalone/docs-old/vi/dashboard.mdx +151 -0
  854. package/.next/standalone/docs-old/vi/examples.mdx +308 -0
  855. package/.next/standalone/docs-old/vi/for-agents.mdx +39 -0
  856. package/.next/standalone/docs-old/vi/getting-started.mdx +200 -0
  857. package/.next/standalone/docs-old/vi/introduction.mdx +57 -0
  858. package/.next/standalone/docs-old/vi/package-aliases.mdx +83 -0
  859. package/.next/standalone/docs-old/vi/testing.mdx +261 -0
  860. package/.next/standalone/docs-old/zh/agenteye/alerts.mdx +63 -0
  861. package/.next/standalone/docs-old/zh/agenteye/api-keys.mdx +280 -0
  862. package/.next/standalone/docs-old/zh/agenteye/assistant.mdx +63 -0
  863. package/.next/standalone/docs-old/zh/agenteye/audits.mdx +54 -0
  864. package/.next/standalone/docs-old/zh/agenteye/cli-and-agents.mdx +79 -0
  865. package/.next/standalone/docs-old/zh/agenteye/cli-recipes.mdx +179 -0
  866. package/.next/standalone/docs-old/zh/agenteye/cli-skill.mdx +159 -0
  867. package/.next/standalone/docs-old/zh/agenteye/cli.mdx +350 -0
  868. package/.next/standalone/docs-old/zh/agenteye/codex-capture.mdx +55 -0
  869. package/.next/standalone/docs-old/zh/agenteye/concepts.mdx +87 -0
  870. package/.next/standalone/docs-old/zh/agenteye/dashboards.mdx +46 -0
  871. package/.next/standalone/docs-old/zh/agenteye/error-tracking.mdx +40 -0
  872. package/.next/standalone/docs-old/zh/agenteye/evaluation-suite.mdx +300 -0
  873. package/.next/standalone/docs-old/zh/agenteye/evaluations.mdx +51 -0
  874. package/.next/standalone/docs-old/zh/agenteye/evaluator-skill.mdx +167 -0
  875. package/.next/standalone/docs-old/zh/agenteye/event-stream.mdx +50 -0
  876. package/.next/standalone/docs-old/zh/agenteye/hermes-capture.mdx +53 -0
  877. package/.next/standalone/docs-old/zh/agenteye/incidents.mdx +50 -0
  878. package/.next/standalone/docs-old/zh/agenteye/observability.mdx +23 -0
  879. package/.next/standalone/docs-old/zh/agenteye/openclaw-capture.mdx +49 -0
  880. package/.next/standalone/docs-old/zh/agenteye/overview.mdx +108 -0
  881. package/.next/standalone/docs-old/zh/agenteye/python-sdk-skill.mdx +131 -0
  882. package/.next/standalone/docs-old/zh/agenteye/python-sdk.mdx +433 -0
  883. package/.next/standalone/docs-old/zh/agenteye/queries.mdx +56 -0
  884. package/.next/standalone/docs-old/zh/agenteye/security.mdx +68 -0
  885. package/.next/standalone/docs-old/zh/agenteye/sessions.mdx +56 -0
  886. package/.next/standalone/docs-old/zh/agenteye/telemetry.mdx +52 -0
  887. package/.next/standalone/docs-old/zh/architecture.mdx +332 -0
  888. package/.next/standalone/docs-old/zh/built-in-policies.mdx +850 -0
  889. package/.next/standalone/docs-old/zh/cli/audit.mdx +115 -0
  890. package/.next/standalone/docs-old/zh/cli/dashboard.mdx +29 -0
  891. package/.next/standalone/docs-old/zh/cli/environment-variables.mdx +62 -0
  892. package/.next/standalone/docs-old/zh/cli/hook.mdx +30 -0
  893. package/.next/standalone/docs-old/zh/cli/install-policies.mdx +57 -0
  894. package/.next/standalone/docs-old/zh/cli/list-policies.mdx +31 -0
  895. package/.next/standalone/docs-old/zh/cli/migrate.mdx +86 -0
  896. package/.next/standalone/docs-old/zh/cli/remove-policies.mdx +43 -0
  897. package/.next/standalone/docs-old/zh/cli/update.mdx +65 -0
  898. package/.next/standalone/docs-old/zh/cli/version.mdx +12 -0
  899. package/.next/standalone/docs-old/zh/configuration.mdx +266 -0
  900. package/.next/standalone/docs-old/zh/custom-policies.mdx +358 -0
  901. package/.next/standalone/docs-old/zh/dashboard.mdx +151 -0
  902. package/.next/standalone/docs-old/zh/examples.mdx +307 -0
  903. package/.next/standalone/docs-old/zh/for-agents.mdx +38 -0
  904. package/.next/standalone/docs-old/zh/getting-started.mdx +199 -0
  905. package/.next/standalone/docs-old/zh/introduction.mdx +57 -0
  906. package/.next/standalone/docs-old/zh/package-aliases.mdx +82 -0
  907. package/.next/standalone/docs-old/zh/testing.mdx +260 -0
  908. package/.next/standalone/lib/telemetry.ts +45 -40
  909. package/.next/standalone/node_modules/@next/env/package.json +1 -1
  910. package/.next/standalone/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
  911. package/.next/standalone/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
  912. package/.next/standalone/node_modules/@swc/helpers/package.json +703 -469
  913. package/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
  914. package/.next/standalone/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +8 -6
  915. package/.next/standalone/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +26 -20
  916. package/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +2 -1
  917. package/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +5 -2
  918. package/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +2 -1
  919. package/.next/standalone/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +3 -1
  920. package/.next/standalone/node_modules/next/dist/client/components/segment-cache/cache.js +150 -169
  921. package/.next/standalone/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +16 -54
  922. package/.next/standalone/node_modules/next/dist/client/components/segment-cache/navigation.js +115 -23
  923. package/.next/standalone/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +61 -6
  924. package/.next/standalone/node_modules/next/dist/client/components/segment-cache/scheduler.js +53 -36
  925. package/.next/standalone/node_modules/next/dist/client/route-params.js +4 -8
  926. package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +26 -26
  927. package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +26 -26
  928. package/.next/standalone/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +2 -2
  929. package/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +9 -9
  930. package/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  931. package/.next/standalone/node_modules/next/dist/lib/turbopack-cache-seed.js +15 -7
  932. package/.next/standalone/node_modules/next/dist/server/app-render/app-render.js +2 -0
  933. package/.next/standalone/node_modules/next/dist/server/app-render/dev-validation-worker-snapshot.js +2 -1
  934. package/.next/standalone/node_modules/next/dist/server/async-storage/request-store.js +29 -20
  935. package/.next/standalone/node_modules/next/dist/server/async-storage/work-store.js +1 -0
  936. package/.next/standalone/node_modules/next/dist/server/config.js +1 -1
  937. package/.next/standalone/node_modules/next/dist/server/dev/dev-validation-worker-pool.js +90 -11
  938. package/.next/standalone/node_modules/next/dist/server/dev/dev-validation-worker.js +51 -9
  939. package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +24 -4
  940. package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  941. package/.next/standalone/node_modules/next/dist/server/dev/use-cache-probe-worker.js +1 -0
  942. package/.next/standalone/node_modules/next/dist/server/image-optimizer.js +1 -0
  943. package/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  944. package/.next/standalone/node_modules/next/dist/server/lib/encode-header-safe.js +44 -0
  945. package/.next/standalone/node_modules/next/dist/server/lib/implicit-tags.js +3 -3
  946. package/.next/standalone/node_modules/next/dist/server/lib/patch-fetch.js +2 -2
  947. package/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
  948. package/.next/standalone/node_modules/next/dist/server/use-cache/handlers.js +14 -0
  949. package/.next/standalone/node_modules/next/dist/server/use-cache/use-cache-probe-scheduler.js +2 -1
  950. package/.next/standalone/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +100 -31
  951. package/.next/standalone/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +88 -2
  952. package/.next/standalone/node_modules/next/dist/server/web/spec-extension/revalidate.js +12 -5
  953. package/.next/standalone/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +13 -1
  954. package/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  955. package/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  956. package/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
  957. package/.next/standalone/node_modules/next/package.json +11 -11
  958. package/.next/standalone/package.json +10 -10
  959. package/.next/standalone/server.js +1 -1
  960. package/README.md +11 -11
  961. package/dist/cli.mjs +81 -101
  962. package/dist/worker.mjs +1 -1
  963. package/lib/telemetry.ts +45 -40
  964. package/package.json +10 -10
  965. package/scripts/release-announcement.mjs +686 -0
  966. package/scripts/translate-docs/config.ts +19 -1
  967. package/src/audit/cli.ts +64 -49
  968. package/src/hooks/hook-telemetry.ts +3 -2
  969. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0g2rg69._.js +0 -3
  970. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0m98kzy._.js +0 -4
  971. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0v5_91z._.js +0 -4
  972. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-a3135._.js +0 -4
  973. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e5g_ur._.js +0 -4
  974. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1hmqefd._.js +0 -4
  975. package/.next/standalone/.next/server/chunks/ssr/_1nq-35m._.js +0 -23
  976. package/.next/standalone/.next/server/chunks/ssr/node_modules_1j2z5jb._.js +0 -3
  977. package/.next/standalone/.next/static/chunks/00q6cfzuzpc85.js +0 -1
  978. package/.next/standalone/.next/static/chunks/13--2yvqek_s1.js +0 -1
  979. package/.next/standalone/.next/static/chunks/18fqy3doo2ial.js +0 -6
  980. package/.next/standalone/.next/static/chunks/2ts65czrjjd_k.js +0 -31
  981. package/.next/standalone/.next/static/chunks/31orv9uidm1fn.js +0 -22
  982. package/.next/standalone/.next/static/chunks/3peix2vxzj7eh.js +0 -1
  983. package/.next/standalone/node_modules/next/dist/server/lib/encode-cache-tag.js +0 -45
  984. /package/.next/standalone/.next/static/{jSKB7CQQSNTX-uSbY2bUs → ZklXxyA5ygsWSQz2u_zii}/_buildManifest.js +0 -0
  985. /package/.next/standalone/.next/static/{jSKB7CQQSNTX-uSbY2bUs → ZklXxyA5ygsWSQz2u_zii}/_clientMiddlewareManifest.js +0 -0
  986. /package/.next/standalone/.next/static/{jSKB7CQQSNTX-uSbY2bUs → ZklXxyA5ygsWSQz2u_zii}/_ssgManifest.js +0 -0
@@ -0,0 +1,264 @@
1
+ ---
2
+ title: 設定
3
+ description: "設定ファイルの形式、3段階スコープシステム、マージルール"
4
+ icon: gear
5
+ ---
6
+
7
+ failproofai はJSON設定ファイルを使用して、どのポリシーを有効にするか、その動作方法、カスタムポリシーの読み込み元を制御します。設定はチームと共有しやすい設計になっています。リポジトリにコミットすれば、全開発者が同じエージェント安全ネットを利用できます。
8
+
9
+ ---
10
+
11
+ ## 設定スコープ
12
+
13
+ 優先順位の高い順に評価される3つの設定スコープがあります。
14
+
15
+ | スコープ | ファイルパス | 目的 |
16
+ |-------|-----------|---------|
17
+ | **project** | `.failproofai/policies-config.json` | リポジトリ単位の設定。バージョン管理にコミット |
18
+ | **local** | `.failproofai/policies-config.local.json` | 個人用リポジトリ単位のオーバーライド。gitignore対象 |
19
+ | **global** | `~/.failproofai/policies-config.json` | 全プロジェクト共通のユーザーレベルデフォルト |
20
+
21
+ failproofai がフックイベントを受け取ると、現在の作業ディレクトリに存在する3つのファイルをすべて読み込んでマージします。
22
+
23
+ ### マージルール
24
+
25
+ **`enabledPolicies`** — 3つのスコープの和集合。いずれかのレベルで有効になっているポリシーはアクティブになります。
26
+
27
+ ```text
28
+ project: ["block-sudo"]
29
+ local: ["block-rm-rf"]
30
+ global: ["block-sudo", "sanitize-api-keys"]
31
+
32
+ resolved: ["block-sudo", "block-rm-rf", "sanitize-api-keys"] ← 重複除去された和集合
33
+ ```
34
+
35
+ **`policyParams`** — 特定のポリシーのパラメータを最初に定義したスコープが完全に優先されます。ポリシーのパラメータ内の値はディープマージされません。
36
+
37
+ ```text
38
+ project: block-sudo → { allowPatterns: ["sudo apt-get update"] }
39
+ global: block-sudo → { allowPatterns: ["sudo systemctl status"] }
40
+
41
+ resolved: { allowPatterns: ["sudo apt-get update"] } ← project が優先、global は無視
42
+ ```
43
+
44
+ ```text
45
+ project: (block-sudo のエントリなし)
46
+ local: (block-sudo のエントリなし)
47
+ global: block-sudo → { allowPatterns: ["sudo systemctl status"] }
48
+
49
+ resolved: { allowPatterns: ["sudo systemctl status"] } ← global にフォールスルー
50
+ ```
51
+
52
+ **`customPoliciesPaths` / `customPoliciesPath`** — いずれかの形式を最初に定義したスコープが優先されます。
53
+
54
+ **`disabledCustomPolicies`** — 全スコープの和集合。ダッシュボードが個別ポリシーをオフにすると、ソース修飾IDがここに書き込まれます(明示的なポリシーファイルまたは規約ポリシーファイルから)。未記載のポリシーはデフォルトで有効のままです。IDにはソースファイルが含まれるため、複数ファイルに同名のポリシーが存在する場合でも個別に制御できます。
55
+
56
+ **`llm`** — 最初に定義したスコープが優先されます。
57
+
58
+ ---
59
+
60
+ ## 設定ファイルの形式
61
+
62
+ ```json
63
+ {
64
+ "enabledPolicies": [
65
+ "block-sudo",
66
+ "block-rm-rf",
67
+ "block-push-master",
68
+ "sanitize-api-keys",
69
+ "sanitize-jwt",
70
+ "block-env-files",
71
+ "block-read-outside-cwd"
72
+ ],
73
+ "policyParams": {
74
+ "block-sudo": {
75
+ "allowPatterns": ["sudo systemctl status", "sudo journalctl"]
76
+ },
77
+ "block-push-master": {
78
+ "protectedBranches": ["main", "release", "prod"]
79
+ },
80
+ "block-rm-rf": {
81
+ "allowPaths": ["/tmp"]
82
+ },
83
+ "block-read-outside-cwd": {
84
+ "allowPaths": ["/shared/data", "/opt/company"]
85
+ },
86
+ "sanitize-api-keys": {
87
+ "additionalPatterns": [
88
+ { "regex": "myco_[A-Za-z0-9]{32}", "label": "MyCo API key" }
89
+ ]
90
+ },
91
+ "warn-large-file-write": {
92
+ "thresholdKb": 512
93
+ }
94
+ },
95
+ "customPoliciesPath": "/home/alice/myproject/my-policies.js"
96
+ }
97
+ ```
98
+
99
+ ---
100
+
101
+ ## フィールドリファレンス
102
+
103
+ ### `enabledPolicies`
104
+
105
+ 型: `string[]`
106
+
107
+ 有効にするポリシー名のリスト。名前は `failproofai policies` で表示されるポリシー識別子と完全に一致している必要があります。全リストは[組み込みポリシー](/ja/built-in-policies)を参照してください。
108
+
109
+ `enabledPolicies` に含まれていないポリシーは、`policyParams` にエントリがあっても無効になります。
110
+
111
+ ### `policyParams`
112
+
113
+ 型: `Record<string, Record<string, unknown>>`
114
+
115
+ ポリシーごとのパラメータオーバーライド。外側のキーがポリシー名、内側のキーはポリシー固有のものです。各ポリシーで使用可能なパラメータは[組み込みポリシー](/ja/built-in-policies)に記載されています。
116
+
117
+ パラメータを持つポリシーで指定がない場合、ポリシーの組み込みデフォルト値が使用されます。`policyParams` を設定しないユーザーは以前のバージョンと同じ動作になります。
118
+
119
+ ポリシーのパラメータブロック内の未知のキーは、フック発火時には静かに無視されますが、`failproofai policies` 実行時に警告として表示されます。
120
+
121
+ #### `hint`(共通オプション)
122
+
123
+ 型: `string`(任意)
124
+
125
+ ポリシーが `deny` または `instruct` を返したときに、理由に付加されるメッセージです。ポリシー自体を変更せずに Claude に具体的なガイダンスを提供するために使用します。
126
+
127
+ 組み込み、カスタム(`custom/`)、プロジェクト規約(`.failproofai-project/`)、ユーザー規約(`.failproofai-user/`)など、あらゆるポリシータイプで動作します。
128
+
129
+ ```json
130
+ {
131
+ "policyParams": {
132
+ "block-force-push": {
133
+ "hint": "Try creating a fresh branch instead."
134
+ },
135
+ "block-sudo": {
136
+ "allowPatterns": ["sudo apt-get"],
137
+ "hint": "Use apt-get directly without sudo."
138
+ },
139
+ "custom/my-policy": {
140
+ "hint": "Ask the user for approval first."
141
+ }
142
+ }
143
+ }
144
+ ```
145
+
146
+ `block-force-push` が拒否すると、Claude には次のように表示されます: *「Force-pushing is blocked. Try creating a fresh branch instead.」*
147
+
148
+ 文字列以外の値や空文字列は静かに無視されます。`hint` が設定されていない場合は動作が変わらず(後方互換性あり)。
149
+
150
+ ### `customPoliciesPath`
151
+
152
+ 型: `string`(絶対パス)
153
+
154
+ カスタムフックポリシーを含むJavaScriptファイルへのパス。`failproofai policies --install --custom <path>` により自動設定されます(パスは格納前に絶対パスに解決されます)。
155
+
156
+ ファイルはフックイベントのたびに新たに読み込まれます。キャッシュはありません。作成方法の詳細は[カスタムポリシー](/ja/custom-policies)を参照してください。
157
+
158
+ ### 規約ベースのポリシー
159
+
160
+ 明示的な `customPoliciesPath` に加えて、failproofai は `.failproofai/policies/` ディレクトリからポリシーファイルを自動検出して読み込みます。
161
+
162
+ | レベル | ディレクトリ | スコープ |
163
+ |-------|-----------|-------|
164
+ | プロジェクト | `.failproofai/policies/` | バージョン管理でチームと共有 |
165
+ | ユーザー | `~/.failproofai/policies/custom-policies/` | 個人用。全プロジェクトに適用 |
166
+
167
+ <Note>
168
+ ユーザーレベルのディレクトリは、ホームディレクトリの再編成により1階層下に移動しました。古い `~/.failproofai/policies/` に残っているファイルは、アップグレード後に初めて `failproofai` コマンドを実行すると `custom-policies/` に自動移動され、移動されたファイルがコマンド出力に表示されます。
169
+ </Note>
170
+
171
+ **ファイルのマッチング:** `*policies.{js,mjs,ts}` にマッチするファイルのみ読み込まれます(例: `security-policies.mjs`、`workflow-policies.js`)。ディレクトリ内のその他のファイルは無視されます。
172
+
173
+ **設定不要:** 規約ポリシーは `policies-config.json` へのエントリが不要です。ディレクトリにファイルを置くだけで、次のフックイベント時に自動的に読み込まれます。
174
+
175
+ **ユニオン読み込み:** プロジェクトとユーザーの両方の規約ディレクトリがスキャンされます。両レベルのマッチするファイルがすべて読み込まれます(`customPoliciesPath` の先着スコープ優先とは異なります)。
176
+
177
+ 詳細と例については[カスタムポリシー](/ja/custom-policies)を参照してください。
178
+
179
+ ### `llm`
180
+
181
+ 型: `object`(任意)
182
+
183
+ AI呼び出しを行うポリシー向けのLLMクライアント設定。多くのセットアップでは不要です。
184
+
185
+ ```json
186
+ {
187
+ "llm": {
188
+ "model": "claude-sonnet-4-6",
189
+ "apiKey": "sk-ant-..."
190
+ }
191
+ }
192
+ ```
193
+
194
+ ---
195
+
196
+ ## CLIからの設定管理
197
+
198
+ `policies --install` および `policies --uninstall` コマンドはエージェントCLIのフック設定ファイル(フックエントリポイント)に書き込みますが、`policies-config.json` は直接管理するファイルです。この2つは別物です:
199
+
200
+ - **エージェントCLI設定** — ツール使用のたびにエージェントが `failproofai --hook <event>` を呼び出すように指示します:
201
+ - **Claude Code**: `~/.claude/settings.json`(ユーザー)、`<cwd>/.claude/settings.json`(プロジェクト)、`<cwd>/.claude/settings.local.json`(ローカル)
202
+ - **OpenAI Codex**: `~/.codex/hooks.json`(ユーザー)、`<cwd>/.codex/hooks.json`(プロジェクト)— Codex には `local` スコープがありません
203
+ - **GitHub Copilot CLI _(ベータ版)_**: `~/.copilot/hooks/failproofai.json`(ユーザー)、`<cwd>/.github/hooks/failproofai.json`(プロジェクト)— Copilot には `local` スコープがありません。フックエントリはCopilotのOS別 `bash`/`powershell` コマンドフィールドと `timeoutSec` を使用し、ファイルはトップレベルに `version: 1` マーカーを持ちます。Copilot CLIのサポートは**ベータ版**です。公開ドキュメントに記載のない `events.jsonl` レコードスキーマを実際のセッションで検証中です。**VS Code Copilot Chat エージェントモード(Preview)** は、`.github/hooks/*.json`、`~/.copilot/hooks/*.json`、`~/.claude/settings.json`(`chat.hookFilesLocations` 設定で制御)からフック設定を読み込み、`{hookSpecificOutput:{permissionDecision:"deny",…}}` の同じClaude形式コントラクトを使用します。`failproofai policies --install --cli copilot`(または `--cli claude`)が書き込む正確なパスと一致するため、**VS Codeエージェントモードでも別途 `vscode` インテグレーションは不要**です(VS Codeのディスカバリーログで確認済み)。
204
+ - **Cursor Agent _(ベータ版)_**: `~/.cursor/hooks.json`(ユーザー)、`<cwd>/.cursor/hooks.json`(プロジェクト)— Cursor には `local` スコープがありません。フックエントリはClaude形式の `{type, command, timeout}` を使用しますが(`bash`/`powershell` の分割なし)、Cursorの[フックスキーマ](https://cursor.com/docs/hooks)に従いキャメルケースのイベントキー(`preToolUse`、`beforeSubmitPrompt` など)の下にフラット配列として格納されます。ファイルはトップレベルに `version: 1` マーカーを持ちます。ハンドラーは `CURSOR_EVENT_MAP` でキャメルケース → パスカルケースに正規化するため、既存の組み込みポリシーはそのまま動作します。Cursor Agentのサポートは**ベータ版**です。公開ドキュメントに記載のないCursorのトランスクリプトのオンディスク形式を実際のインストールで検証中です。
205
+ - **OpenCode _(ベータ版)_**: `~/.config/opencode/opencode.json` + `~/.config/opencode/plugins/failproofai.mjs`(ユーザー)、`<cwd>/.opencode/opencode.json` + `<cwd>/.opencode/plugins/failproofai.mjs`(プロジェクト)— OpenCode には `local` スコープがありません。他の5つのCLIとは異なり、OpenCode には**外部コマンドフックシステムがありません**。`opencode.json` の `plugin: []` 配列に明示的に登録されたインプロセスJS/TSプラグインを読み込みます(`.opencode/plugins/` からの自動検出は opencode v1.14.33 でのプラグイン読み込み方式では**ありません**)。インストール時に小さな生成済みプラグインシムが配置され、failproofaiバイナリをサブプロセスで呼び出し、バイナリのClaude形式JSONレスポンスをプラグインセマンティクスに変換します: ツールイベント拒否に `throw new Error()`(ツール呼び出しをキャンセル)、instruct および `Stop` / `SubagentStop` 拒否に `client.session.prompt(...)`(拒否理由を次のユーザーメッセージとして送信 — `session.idle` は通知のみでスローしても無効なため、唯一の強制再試行チャンネル)、allow には何もしない。シムはツール名(小文字 → `OPENCODE_TOOL_MAP` でパスカルケース)とツール入力の引数キー(`OPENCODE_TOOL_INPUT_MAP` で `Read` / `Write` / `Edit` のキャメルケース → スネークケース、例: `filePath` → `file_path`、`oldString` → `old_string`)をバイナリに転送前に正規化するため、`block-read-outside-cwd`、`block-env-files`、`block-secrets-write` などのパスチェック組み込みポリシーはOpenCodeのツール呼び出しでもそのまま動作します。セッションは `~/.local/share/opencode/opencode.db` のOpenCodeのSQLiteデータベースに保存されます。ダッシュボードのセッションビューアーは `opencode db --format json` と `opencode export <id>` を通じて読み込みます。OpenCodeのサポートは**ベータ版**です。複数バージョンおよび実際のセッションでの動作を検証中です。[OpenCode pluginsドキュメント](https://opencode.ai/docs/plugins/)を参照してください。
206
+ - **Pi _(ベータ版)_**: `~/.pi/agent/settings.json`(ユーザー)、`<cwd>/.pi/settings.json`(プロジェクト)— Pi には `local` スコープがありません。Piは起動時にTypeScript拡張パッケージを読み込みます。設定ファイルはフラットな文字列配列 `{"packages": ["./relative/path", …]}` です。failproofai はバンドルされた `pi-extension/` ディレクトリを指すパッケージ配列エントリを1つ書き込みます。拡張機能はPiの `tool_call` / `user_bash` / `input` / `session_start` イベントを内部でサブスクライブし、`failproofai --hook <Event> --cli pi` をシェルアウトで呼び出します。ハンドラーは `PI_EVENT_MAP` でアンダースコア小文字スネークケース → パスカルケースに正規化するため、既存の組み込みポリシーはそのまま動作します。ツール入力引数も `PI_TOOL_INPUT_MAP` で正規化されます(PiのRead / Write / Edit は `file_path` ではなく `path` を使用。トップレベルキーをマッピングすることで `block-env-files` と `block-secrets-write` が動作し、`block-read-outside-cwd` はすでに `path` フォールバックを持っていました)。PiのサポートはPiの拡張APIとセッションログレイアウトが安定するまで**ベータ版**です。
207
+ - **Hermes (hermes-agent)**: `~/.hermes/config.yaml`(**ユーザースコープのみ** — Hermesにはプロジェクト/ローカル設定がありません)。HermesはSlack/Telegramの**ゲートウェイ**であるため、1回のインストールで全プラットフォーム(Slack/Telegram/cli/cron)**および**内部サブエージェントからのツール呼び出しを傍受します。フックエントリはHermesのスネークケースイベント(`pre_tool_call` / `post_tool_call` / `on_session_start` / `on_session_end` / `subagent_stop`)をキーとする `hooks:` マップの下に `{command, timeout}` ペア(タイムアウトは**秒**)として記載されます。ハンドラーは `HERMES_EVENT_MAP` でイベントを、`HERMES_TOOL_MAP` でツール名を正規化するため、組み込みポリシーはそのまま動作します。設定はコメント保持のYAML `Document` ラウンドトリップで編集されるため、オペレーターの他の設定が保持されます。インストール時に `hooks_auto_accept: true` が設定されるため、ヘッドレスゲートウェイ(TTYなし)は同意プロンプトなしでフックを実行します。評価器はHermesの `{"decision":"block","reason"}` stdout コントラクトを出力します(Hermesは終了コードを無視します)。**制限事項:** Hermesにはターン終了の `Stop` イベントがないため、`require-*-before-stop` 組み込みポリシーは動作しません(適用外。故障ではありません)。`instruct` はallow(ログ記録あり)に降格されます(追加コンテキストチャンネルなし)。出力シークレットの編集(`sanitize-*`)はシェルフックコントラクト上でツール出力を書き換えることができません。Hermesは**オフライン監査**ソースでもあります — ダッシュボードは `~/.hermes/state.db` からゲートウェイセッションを直接読み込みます。
208
+ - **OpenClaw (openclaw gateway)**: `~/.openclaw/openclaw.json`(**ユーザースコープのみ** — OpenClawにはプロジェクト/ローカル設定がありません)。Hermesと同様に、OpenClawはセルフホスト型マルチチャンネル**ゲートウェイ**であるため、1回のインストールで全チャンネルと内部サブエージェントからのツール呼び出しを傍受します。エンフォースメントはOpenClawの**インプロセスプラグインフック**を通じて実行されます(ファイルベースの内部フックは観察のみで、ブロックできません)。そのためOpenCode/Piと同様に、failproofaiは静的な `openclaw-plugin/` パッケージを提供し、failproofaiバイナリを非同期でスポーンして判定を変換します。インストール時に `openclaw.json` の `plugins.load.paths[]` にプラグインディレクトリが登録され、`plugins.entries.failproofai`(`hooks.allowConversationAccess: true`、生のConversationフックに必要)で有効化されます。評価器はフラットな `{permission, reason}` 判定を出力し、シムはそれを各フックのネイティブ返却形式にマッピングします: `before_tool_call → {block:true, blockReason}`(**PreToolUse**)、`before_agent_run → {outcome:"block", reason}`(**UserPromptSubmit**)、`before_agent_finalize → {action:"revise", reason}`(**Stop** — 実際のターン終了ゲートであるため、Hermesとは異なり `require-*-before-stop` 組み込みポリシーが**有効**です)。イベントとツール名はバイナリ側で `OPENCLAW_EVENT_MAP` / `OPENCLAW_TOOL_MAP`(`exec→Bash`、`read→Read` など)を通じて正規化されるため、組み込みポリシーはそのまま動作します。シムはスポーン/パース/タイムアウトエラーが発生した場合はフェイルオープンします。OpenClawは**オフライン監査**ソースでもあります — ダッシュボードは `~/.openclaw/agents/<agentId>/sessions/<uuid>.jsonl` のJSONLセッションを読み込みます。
209
+ - **Factory Droid (`droid`)**: `~/.factory/hooks.json`(ユーザー)、`<cwd>/.factory/hooks.json`(プロジェクト)— Factory には `local` スコープがありません。droid は Claude スタイルの外部コマンドフックシステムを搭載していますが、droid v0.171.0 で実際に確認された2つの固有の仕様があります: (1) イベント名は `hooks.json` の**トップレベル**に存在します — **`"hooks"` ラッパーはありません**(droid はラッパーがあると拒否します)。ツールイベント(`PreToolUse`/`PostToolUse`)は `"matcher": "*"` を持ち、非ツールイベントはそれを省略します。(2) 拒否はフック**終了コード2 + stderr**で駆動されます(JSONの決定ではありません)。評価器の `factory` ブランチはツール/プロンプトイベントに終了コード2を返し、ターン終了の `Stop` イベント(droidの唯一の強制再試行チャンネル)のみ `{decision:"block", reason}` を返します。イベントはすでにパスカルケースです(イベントマップなし)。ペイロードはClaude スネークケースです。ツール名のみ `FACTORY_TOOL_MAP`(`Execute→Bash`、`Create→Write`、`FetchUrl→WebFetch` など)で正規化されます。Factory は**オフライン監査**ソースでもあります — ダッシュボードは `~/.factory/sessions/<encoded-cwd>/<sessionId>.jsonl` のオンディスクJSONLセッションを読み込みます。
210
+ - **Devin CLI (`devin`, Cognition)**: `~/.config/devin/config.json`(ユーザー)、`<cwd>/.devin/config.json`(プロジェクト)— Devin には `local` スコープがありません。Devin は devin v3000.1.27 で実際に確認された**純粋なClaude クローン**です: 標準のClaude `"hooks"` ラッパースキーマ(書き込みはマージ保持方式のため、設定ファイルの他のキー — `org_id`、`theme_mode` など — が保持されます)、すでにパスカルケースのイベント名(イベントマップなし、ハンドラーブランチなし)、Claude スネークケースの stdin ペイロード(正規化なし)を使用します。評価器の `devin` ブランチは**全**イベントに対して終了コード0で `{"decision":"block","reason"}` JSONを stdout に出力して拒否します(確認済み — ブロックは `--permission-mode dangerous` をオーバーライドしました)。ターン終了の `Stop` イベントでは、`require-*-before-stop` 組み込みポリシーが有効になるよう理由に MANDATORY-ACTION 強制再試行の文言が含まれます。ツール名のみ `DEVIN_TOOL_MAP`(`exec→Bash`; `tool_input.command` はすでに標準形式)で正規化されます。Devin は**オフライン監査**ソースでもあります — ダッシュボードは `~/.local/share/devin/cli/sessions.db` のSQLiteセッションを読み込みます(各 `sessions` 行には実際の `working_directory` が含まれるため、セッションはClaude と同様にプロジェクトの作業ディレクトリでグループ化されます)。
211
+ - **Antigravity CLI (`agy`)**: `~/.gemini/config/hooks.json`(ユーザー)、`<cwd>/.agents/hooks.json`(プロジェクト)— Antigravity には `local` スコープがありません。Factory/Devin とは異なり、Antigravity は agy v1.1.2 で実際に確認された**独自のコントラクト**(Claude クローンではない)を持ちます。`hooks.json` は**名前付きフック**スキーマを使用します: トップレベルキーはフック*名*(`"failproofai"`)で、その値はイベント→ハンドラーマップです — ツールイベント(`PreToolUse`/`PostToolUse`)はハンドラーを `{matcher:"*", hooks:[…]}` にラップし、`PreInvocation`/`Stop` は**フラット**なハンドラー配列です(他の名前付きフックは保持されます)。stdin ペイロードは**キャメルケース protojson**(`toolCall:{name,args}`、`conversationId`、`workspacePaths`、`transcriptPath`)です — failproofai はポリシー実行前にスネークケースに正規化し、`run_command` のパスカルケース引数(`CommandLine`/`Cwd`)を `ANTIGRAVITY_TOOL_INPUT_MAP` でマッピングします。評価器の `antigravity` ブランチはAntigravity**独自**のレスポンス形式を使用します: `{decision:"deny", reason}` でツール/プロンプトをブロック(終了コード0)、`{decision:"continue", reason}` でターン終了の `Stop` にループを再開(そのため `require-*-before-stop` 組み込みポリシーが有効)、`{injectSteps:[{ephemeralMessage}]}` で `PreInvocation`(→ `UserPromptSubmit`)に命令を注入。ツール名は `ANTIGRAVITY_TOOL_MAP`(`run_command→Bash`、`view_file→Read` など)で正規化されます。Antigravity は**オフライン監査**ソースでもあります — ダッシュボードは `~/.gemini/antigravity-cli/brain/<conversationId>/.system_generated/logs/transcript_full.jsonl` のプレーンJSONLトランスクリプトを読み込みます(会話インデックスは `conversation_summaries.db` に格納)。
212
+ - **Goose (codename goose, Block)**: `~/.agents/plugins/failproofai/hooks/hooks.json`(ユーザー)、`<cwd>/.agents/plugins/failproofai/hooks/hooks.json`(プロジェクト)— Goose には `local` スコープがありません。エンフォースメントはGooseの**フック**システム(クロスエージェントの**Open Plugins**仕様)を使用します: インストーラーは `failproofai` プラグインディレクトリを配置するだけで、Gooseは起動時に自動検出します(`~/.config/goose/config.yaml` に自己登録)。`hooks.json` はトップレベルに `"hooks"` ラッパーを持つOpen Pluginsスキーマを使用し、マッチャーは全イベントで**省略**されています — 裸の `"*"` は何にもマッチしない無効な正規表現です(goose v1.43.0 で実際に確認)。イベント名はすでにパスカルケースです(イベントマップなし)。stdin ペイロードは `event`/`working_dir` を使用し、ハンドラーが `hook_event_name`/`cwd` に正規化します。評価器の `goose` ブランチは終了コード0で `{"decision":"block","reason"}` JSONを stdout に出力して拒否し、**`PreToolUse`** イベントのみで有効です(goose ≥ v1.37.0 で搭載)— シェルツール**および委任されたサブエージェント内**で発火するため、単一の十分な拒否ポイントです。その他のフックエラーはフェイルオープンします。Gooseには**`Stop` イベントがない**ため、`require-*-before-stop` 組み込みポリシーは適用されません(Hermesと同様)。ツール名は `GOOSE_TOOL_MAP`(`shell→Bash`、`write→Write`、`todo__todo_write→TodoWrite` など)で、パスキーは `GOOSE_TOOL_INPUT_MAP`(`path`/`source` → `file_path`)で正規化されます。Goose は**オフライン監査**ソースでもあります — ダッシュボードは `~/.local/share/goose/sessions/sessions.db` のSQLiteセッションを読み込みます(各 `sessions` 行には実際の `working_dir` が含まれるため、セッションはDevin と同様にプロジェクトの作業ディレクトリでグループ化されます。`--no-session` のスクラッチ実行はフィルタリングされます)。
213
+ - **`policies-config.json`** — どのポリシーを評価するか、どのパラメータで評価するかをfailproofaiに指示します(全エージェントCLI共通)
214
+
215
+ 特定のエージェントを指定するには `--cli claude|codex|copilot|cursor|opencode|pi|hermes|openclaw|factory|devin|antigravity|goose` を渡します(スペース区切りまたは繰り返しで任意のサブセットを指定可能):
216
+
217
+ ```bash
218
+ failproofai policies --install --cli codex --scope project
219
+ failproofai policies --install --cli copilot --scope project
220
+ failproofai policies --install --cli cursor --scope project
221
+ failproofai policies --install --cli opencode --scope project
222
+ failproofai policies --install --cli pi --scope project
223
+ failproofai policies --install --cli hermes --scope user
224
+ failproofai policies --install --cli openclaw --scope user
225
+ failproofai policies --install --cli factory --scope project
226
+ failproofai policies --install --cli devin --scope project
227
+ failproofai policies --install --cli antigravity --scope project
228
+ failproofai policies --install --cli goose --scope project
229
+ failproofai policies --install --cli claude codex copilot cursor opencode pi hermes openclaw factory devin antigravity goose
230
+ ```
231
+
232
+ `--cli` を省略すると、`failproofai` はインストールされているエージェントCLIを自動検出します(`which claude` / `which codex` / `which copilot` / `which cursor-agent` / `which opencode` / `which pi` / `which hermes` / `which openclaw` / `which droid` / `which devin` / `which agy` / `which goose`):
233
+
234
+ - **1つのCLIを検出** — プロンプトなしでそのCLIを自動選択します。
235
+ - **複数のCLIを検出**(インタラクティブターミナル) — 矢印キーで操作するシングルセレクトプロンプトを表示します。`Detected (N)` セクション(`Install for all N detected` の集約行 + 検出された各CLI)と、未検出のサポート済みCLIをすべて前倒しインストールオプションとして一覧表示する `Not installed (M) · install hooks ahead of time` セクションにグループ化されます(↑↓で移動、Enterで選択、^Cで終了)。アンインストールフローはDetectedセクションのみ表示します。
236
+ - **複数のCLIを検出**(非インタラクティブ実行 — CI、TTYなし) — プロンプトなしで検出された全CLIにインストールします。
237
+ - **何も検出されない** — `claude` にフォールバックし、PATHにエージェントバイナリが見つからなかった旨の警告を表示します。フックコマンドは書き込まれるため、インストール後すぐに有効になります。
238
+
239
+ `policies-config.json` はいつでも直接編集できます。変更は次のフックイベント時に即座に反映されます(再起動不要)。
240
+
241
+ ---
242
+
243
+ ## 例: チームデフォルトを含むプロジェクトレベルの設定
244
+
245
+ `.failproofai/policies-config.json` をリポジトリにコミットします:
246
+
247
+ ```json
248
+ {
249
+ "enabledPolicies": [
250
+ "block-sudo",
251
+ "block-rm-rf",
252
+ "block-push-master",
253
+ "sanitize-api-keys",
254
+ "block-env-files"
255
+ ],
256
+ "policyParams": {
257
+ "block-push-master": {
258
+ "protectedBranches": ["main", "release", "hotfix"]
259
+ }
260
+ }
261
+ }
262
+ ```
263
+
264
+ 各開発者はその後 `.failproofai/policies-config.local.json`(gitignore対象)を作成して、チームメンバーに影響を与えることなく個人用オーバーライドを設定できます。
@@ -0,0 +1,358 @@
1
+ ---
2
+ title: カスタムポリシー
3
+ description: "JavaScriptで独自のポリシーを作成する - 規約の適用、ドリフトの防止、障害の検出、外部システムとの統合"
4
+ icon: code
5
+ ---
6
+
7
+ カスタムポリシーを使用すると、任意のエージェント動作に対するルールを記述できます。プロジェクトの規約の適用、ドリフトの防止、破壊的な操作のゲート処理、スタックしたエージェントの検出、Slackや承認ワークフローとの統合などが可能です。組み込みポリシーと同じフックイベントシステムと `allow`、`deny`、`instruct` の決定機構を使用します。
8
+
9
+ ---
10
+
11
+ ## クイックサンプル
12
+
13
+ ```js
14
+ // my-policies.js
15
+ import { customPolicies, allow, deny, instruct } from "failproofai";
16
+
17
+ customPolicies.add({
18
+ name: "no-production-writes",
19
+ description: "Block writes to paths containing 'production'",
20
+ match: { events: ["PreToolUse"] },
21
+ fn: async (ctx) => {
22
+ if (ctx.toolName !== "Write" && ctx.toolName !== "Edit") return allow();
23
+ const path = ctx.toolInput?.file_path ?? "";
24
+ if (path.includes("production")) {
25
+ return deny("Writes to production paths are blocked");
26
+ }
27
+ return allow();
28
+ },
29
+ });
30
+ ```
31
+
32
+ インストール:
33
+
34
+ ```bash
35
+ failproofai policies --install --custom ./my-policies.js
36
+ ```
37
+
38
+ ---
39
+
40
+ ## カスタムポリシーの読み込み方法
41
+
42
+ ### オプション1: 規約ベース(推奨)
43
+
44
+ `.failproofai/policies/` に `*policies.{js,mjs,ts}` ファイルを配置するだけで自動的に読み込まれます。フラグや設定変更は不要です。gitフックと同様に、ファイルを置くだけで機能します。
45
+
46
+ ```
47
+ # プロジェクトレベル — gitにコミットされ、チームで共有される
48
+ .failproofai/policies/security-policies.mjs
49
+ .failproofai/policies/workflow-policies.mjs
50
+
51
+ # ユーザーレベル — 個人用、すべてのプロジェクトに適用される
52
+ ~/.failproofai/policies/my-policies.mjs
53
+ ```
54
+
55
+ **動作の仕組み:**
56
+ - プロジェクトディレクトリとユーザーディレクトリの両方がスキャンされます(ユニオン — スコープ優先ではありません)
57
+ - ファイルは各ディレクトリ内でアルファベット順に読み込まれます。順序を制御するには `01-`、`02-` などのプレフィックスを付けてください
58
+ - `*policies.{js,mjs,ts}` にマッチするファイルのみ読み込まれ、それ以外は無視されます
59
+ - 各ファイルは独立して読み込まれます(ファイル単位でフェイルオープン)
60
+ - 明示的な `--custom` および組み込みポリシーと併用できます
61
+
62
+ <Tip>
63
+ 規約ポリシーは、組織の品質基準を構築する最も簡単な方法です。`.failproofai/policies/` をgitにコミットすれば、すべてのチームメンバーが同じルールを自動的に取得できます。開発者ごとのセットアップは不要です。チームが新しい障害パターンを発見したらポリシーを追加してプッシュするだけで、時間とともにこれらは貢献のたびに改善される生きた品質基準になります。
64
+ </Tip>
65
+
66
+ ### オプション2: 明示的なファイルパス
67
+
68
+ ```bash
69
+ # カスタムポリシーファイルをインストール
70
+ failproofai policies --install --custom ./my-policies.js
71
+
72
+ # カスタムポリシーパスを置き換える
73
+ failproofai policies --install --custom ./new-policies.js
74
+
75
+ # 複数の明示的なファイルを設定する(フラグの順序で読み込まれる)
76
+ failproofai policies --install --custom ./security.js --custom ./workflow.js
77
+
78
+ # すべての明示的なカスタムポリシーパスを設定から削除する
79
+ failproofai policies --uninstall --custom
80
+ ```
81
+
82
+ 解決された絶対パスは `policies-config.json` に `customPoliciesPaths` として保存されます。複数のファイルを設定するには `--custom` を繰り返してください。レガシーの `customPoliciesPath` フィールドを使用した既存の設定も引き続き動作します。ファイルはフックイベントごとに新たに読み込まれ、イベント間のキャッシュはありません。
83
+
84
+ 登録された各ポリシーはダッシュボードに個別のトグルとして表示されます。ポリシーをオフにすると、そのソース修飾IDが `disabledCustomPolicies` に記録されます。ファイルとその他のポリシーは引き続き読み込まれますが、無効化されたポリシーはイベントマッチング前に除外されます。ファイル間で重複するポリシー名は独立したトグルを持ちます。
85
+
86
+ ### 両方を組み合わせて使用する
87
+
88
+ 規約ポリシーと明示的な `--custom` ファイルは共存できます。読み込み順序:
89
+
90
+ 1. 明示的な `customPoliciesPaths` ファイル(設定された順序)
91
+ 2. プロジェクト規約ファイル(`{cwd}/.failproofai/policies/`、アルファベット順)
92
+ 3. ユーザー規約ファイル(`~/.failproofai/policies/`、アルファベット順)
93
+
94
+ ---
95
+
96
+ ## API
97
+
98
+ ### インポート
99
+
100
+ ```js
101
+ import { customPolicies, allow, deny, instruct } from "failproofai";
102
+ ```
103
+
104
+ ### `customPolicies.add(hook)`
105
+
106
+ ポリシーを登録します。同じファイル内で複数のポリシーを追加するために何度でも呼び出せます。
107
+
108
+ ```ts
109
+ customPolicies.add({
110
+ name: string; // 必須 - 一意の識別子
111
+ description?: string; // `failproofai policies` の出力に表示される
112
+ match?: { events?: HookEventType[] }; // イベントタイプでフィルタリング; 省略するとすべてにマッチ
113
+ fn: (ctx: PolicyContext) => PolicyResult | Promise<PolicyResult>;
114
+ });
115
+ ```
116
+
117
+ ### 決定ヘルパー
118
+
119
+ | 関数 | 効果 | 使用場面 |
120
+ |----------|--------|----------|
121
+ | `allow()` | 操作を暗黙的に許可する | アクションが安全で、メッセージが不要な場合 |
122
+ | `deny(message)` | 操作をブロックする | エージェントがこのアクションを実行すべきでない場合 |
123
+ | `instruct(message)` | ブロックせずにコンテキストを追加する | エージェントに軌道を維持するための追加コンテキストを提供する場合 |
124
+
125
+ `deny(message)` — メッセージは `"Blocked by failproofai:"` というプレフィックスが付いてClaudeに表示されます。単一の `deny` により、以降のすべての評価がショートサーキットされます。
126
+
127
+ `instruct(message)` — メッセージは現在のツール呼び出しに対するClaudeのコンテキストに追記されます。すべての `instruct` メッセージは蓄積されてまとめて配信されます。
128
+
129
+ <Tip>
130
+ `policyParams` の `hint` フィールドを追加することで、コードを変更せずに `deny` または `instruct` メッセージに追加のガイダンスを付け加えられます。これはカスタム(`custom/`)、プロジェクト規約(`.failproofai-project/`)、ユーザー規約(`.failproofai-user/`)のポリシーでも機能します。詳細は[設定 → hint](/ja/configuration#hint-cross-cutting)を参照してください。
131
+ </Tip>
132
+
133
+ ### 情報提供のallowメッセージ
134
+
135
+ `allow(message)` は操作を許可し**つつ**、情報提供のメッセージをClaudeに送信します。メッセージはフックハンドラーのstdoutレスポンスに `additionalContext` として配信されます。これは `instruct` と同じメカニズムを使用しますが、意味的には異なります。警告ではなく、ステータスの更新です。
136
+
137
+ | 関数 | 効果 | 使用場面 |
138
+ |----------|--------|----------|
139
+ | `allow(message)` | 許可してClaudeにコンテキストを送信する | チェックが通過したことを確認する、またはチェックがスキップされた理由を説明する場合 |
140
+
141
+ ユースケース:
142
+ - **ステータス確認:** `allow("All CI checks passed.")` — すべてが正常であることをClaudeに伝える
143
+ - **フェイルオープンの説明:** `allow("GitHub CLI not installed, skipping CI check.")` — チェックがスキップされた理由をClaudeに伝え、完全なコンテキストを提供する
144
+ - **複数メッセージの蓄積:** 複数のポリシーがそれぞれ `allow(message)` を返した場合、すべてのメッセージが改行で結合されてまとめて配信される
145
+
146
+ ```js
147
+ customPolicies.add({
148
+ name: "confirm-branch-status",
149
+ match: { events: ["Stop"] },
150
+ fn: async (ctx) => {
151
+ const cwd = ctx.session?.cwd;
152
+ if (!cwd) return allow("No working directory, skipping branch check.");
153
+
154
+ // ... check branch status ...
155
+ if (allPushed) {
156
+ return allow("Branch is up to date with remote.");
157
+ }
158
+ return deny("Unpushed changes detected.");
159
+ },
160
+ });
161
+ ```
162
+
163
+ ### `PolicyContext` フィールド
164
+
165
+ | フィールド | 型 | 説明 |
166
+ |-------|------|-------------|
167
+ | `eventType` | `string` | `"PreToolUse"`、`"PostToolUse"`、`"Notification"`、`"Stop"` |
168
+ | `toolName` | `string \| undefined` | 呼び出されるツール(例: `"Bash"`、`"Write"`、`"Read"`) |
169
+ | `toolInput` | `Record<string, unknown> \| undefined` | ツールの入力パラメータ |
170
+ | `payload` | `Record<string, unknown>` | Claude Code からの生のイベントペイロード全体 |
171
+ | `session` | `SessionMetadata \| undefined` | セッションコンテキスト(以下参照) |
172
+
173
+ ### `SessionMetadata` フィールド
174
+
175
+ | フィールド | 型 | 説明 |
176
+ |-------|------|-------------|
177
+ | `sessionId` | `string` | Claude Code セッション識別子 |
178
+ | `cwd` | `string` | Claude Code セッションの作業ディレクトリ |
179
+ | `transcriptPath` | `string` | セッションのJSONLトランスクリプトファイルへのパス |
180
+
181
+ ### イベントタイプ
182
+
183
+ | イベント | 発火タイミング | `toolInput` の内容 |
184
+ |-------|--------------|----------------------|
185
+ | `PreToolUse` | Claudeがツールを実行する前 | ツールの入力(例: Bashの場合は `{ command: "..." }`) |
186
+ | `PostToolUse` | ツールが完了した後 | ツールの入力 + `tool_result`(出力) |
187
+ | `Notification` | Claudeが通知を送信するとき | `{ message: "...", notification_type: "idle" \| "permission_prompt" \| ... }` - フックは常に `allow()` を返す必要があり、通知をブロックすることはできません |
188
+ | `Stop` | Claudeセッションが終了するとき | 空 |
189
+
190
+ ---
191
+
192
+ ## 評価順序
193
+
194
+ ポリシーは次の順序で評価されます:
195
+
196
+ 1. 組み込みポリシー(定義順)
197
+ 2. `customPoliciesPath` からの明示的なカスタムポリシー(`.add()` の順序)
198
+ 3. プロジェクト `.failproofai/policies/` からの規約ポリシー(ファイルはアルファベット順、ファイル内は `.add()` の順序)
199
+ 4. ユーザー `~/.failproofai/policies/` からの規約ポリシー(ファイルはアルファベット順、ファイル内は `.add()` の順序)
200
+
201
+ <Note>
202
+ 最初の `deny` により以降のすべてのポリシーがショートサーキットされます。すべての `instruct` メッセージは蓄積されてまとめて配信されます。
203
+ </Note>
204
+
205
+ ---
206
+
207
+ ## 推移的インポート
208
+
209
+ カスタムポリシーファイルは相対パスを使用してローカルモジュールをインポートできます:
210
+
211
+ ```js
212
+ // my-policies.js
213
+ import { isBlockedPath } from "./utils.js";
214
+ import { checkApproval } from "./approval-client.js";
215
+
216
+ customPolicies.add({
217
+ name: "approval-gate",
218
+ fn: async (ctx) => {
219
+ if (ctx.toolName !== "Bash") return allow();
220
+ const approved = await checkApproval(ctx.toolInput?.command, ctx.session?.sessionId);
221
+ return approved ? allow() : deny("Approval required for this command");
222
+ },
223
+ });
224
+ ```
225
+
226
+ エントリファイルから到達可能なすべての相対インポートが解決されます。これは `from "failproofai"` のインポートを実際のdistパスに書き換え、ESM互換性を確保するために一時的な `.mjs` ファイルを作成することで実装されています。
227
+
228
+ ---
229
+
230
+ ## イベントタイプのフィルタリング
231
+
232
+ `match.events` を使用してポリシーが発火するタイミングを限定できます:
233
+
234
+ ```js
235
+ customPolicies.add({
236
+ name: "require-summary-on-stop",
237
+ match: { events: ["Stop"] },
238
+ fn: async (ctx) => {
239
+ // セッションが終了したときのみ発火する
240
+ // ctx.session.transcriptPath にはセッションの完全なログが含まれる
241
+ return allow();
242
+ },
243
+ });
244
+ ```
245
+
246
+ `match` を完全に省略すると、すべてのイベントタイプで発火します。
247
+
248
+ ---
249
+
250
+ ## エラー処理と障害モード
251
+
252
+ カスタムポリシーは**フェイルオープン**です。エラーが発生しても組み込みポリシーをブロックしたり、フックハンドラーをクラッシュさせたりすることはありません。
253
+
254
+ | 障害 | 動作 |
255
+ |---------|----------|
256
+ | `customPoliciesPath` が未設定 | 明示的なカスタムポリシーは実行されない。規約ポリシーと組み込みポリシーは通常通り継続する |
257
+ | ファイルが見つからない | `~/.failproofai/hook.log` に警告が記録される。組み込みポリシーは継続する |
258
+ | 構文/インポートエラー(明示的) | `~/.failproofai/hook.log` にエラーが記録される。明示的なカスタムポリシーはスキップされる |
259
+ | 構文/インポートエラー(規約) | エラーが記録される。そのファイルはスキップされ、他の規約ファイルは引き続き読み込まれる |
260
+ | `fn` が実行時に例外をスロー | エラーが記録される。そのフックは `allow` として処理される。他のフックは継続する |
261
+ | `fn` が10秒以上かかる | タイムアウトが記録される。`allow` として処理される |
262
+ | 規約ディレクトリが存在しない | 規約ポリシーは実行されない。エラーなし |
263
+
264
+ <Tip>
265
+ カスタムポリシーのエラーをデバッグするには、ログファイルを監視してください:
266
+
267
+ ```bash
268
+ tail -f ~/.failproofai/hook.log
269
+ ```
270
+ </Tip>
271
+
272
+ ---
273
+
274
+ ## 完全な例: 複数のポリシー
275
+
276
+ ```js
277
+ // my-policies.js
278
+ import { customPolicies, allow, deny, instruct } from "failproofai";
279
+
280
+ // エージェントが secrets/ ディレクトリに書き込むのを防ぐ
281
+ customPolicies.add({
282
+ name: "block-secrets-dir",
283
+ description: "Prevent agent from writing to secrets/ directory",
284
+ match: { events: ["PreToolUse"] },
285
+ fn: async (ctx) => {
286
+ if (!["Write", "Edit"].includes(ctx.toolName ?? "")) return allow();
287
+ const path = ctx.toolInput?.file_path ?? "";
288
+ if (path.includes("secrets/")) return deny("Writing to secrets/ is not permitted");
289
+ return allow();
290
+ },
291
+ });
292
+
293
+ // エージェントを軌道に乗せる: コミット前にテストを確認する
294
+ customPolicies.add({
295
+ name: "remind-test-before-commit",
296
+ description: "Keep the agent on track: verify tests pass before committing",
297
+ match: { events: ["PreToolUse"] },
298
+ fn: async (ctx) => {
299
+ if (ctx.toolName !== "Bash") return allow();
300
+ const cmd = ctx.toolInput?.command ?? "";
301
+ if (/git\s+commit/.test(cmd)) {
302
+ return instruct("Verify all tests pass before committing. Run `bun test` if you haven't already.");
303
+ }
304
+ return allow();
305
+ },
306
+ });
307
+
308
+ // フリーズ期間中の計画外の依存関係変更を防ぐ
309
+ customPolicies.add({
310
+ name: "dependency-freeze",
311
+ description: "Prevent unplanned dependency changes during freeze period",
312
+ match: { events: ["PreToolUse"] },
313
+ fn: async (ctx) => {
314
+ if (ctx.toolName !== "Bash") return allow();
315
+ const cmd = ctx.toolInput?.command ?? "";
316
+ const isInstall = /^(npm install|yarn add|bun add|pnpm add)\s+\S/.test(cmd);
317
+ if (isInstall && process.env.DEPENDENCY_FREEZE === "1") {
318
+ return deny("Package installs are frozen. Unset DEPENDENCY_FREEZE to allow.");
319
+ }
320
+ return allow();
321
+ },
322
+ });
323
+
324
+ export { customPolicies };
325
+ ```
326
+
327
+ ---
328
+
329
+ ## サンプル
330
+
331
+ `examples/` ディレクトリにはすぐに実行できるポリシーファイルが含まれています:
332
+
333
+ | ファイル | 内容 |
334
+ |------|----------|
335
+ | `examples/policies-basic.js` | 一般的なエージェント障害モードをカバーする5つのスターターポリシー |
336
+ | `examples/policies-advanced/index.js` | 高度なパターン: 推移的インポート、非同期呼び出し、出力スクラビング、セッション終了フック |
337
+ | `examples/convention-policies/security-policies.mjs` | 規約ベースのセキュリティポリシー(.envへの書き込みをブロック、gitヒストリーの書き換えを防止) |
338
+ | `examples/convention-policies/workflow-policies.mjs` | 規約ベースのワークフローポリシー(テストリマインダー、監査ファイル書き込み) |
339
+
340
+ ### 明示的なファイルサンプルの使用方法
341
+
342
+ ```bash
343
+ failproofai policies --install --custom ./examples/policies-basic.js
344
+ ```
345
+
346
+ ### 規約ベースのサンプルの使用方法
347
+
348
+ ```bash
349
+ # プロジェクトレベルにコピーする
350
+ mkdir -p .failproofai/policies
351
+ cp examples/convention-policies/*.mjs .failproofai/policies/
352
+
353
+ # またはユーザーレベルにコピーする
354
+ mkdir -p ~/.failproofai/policies
355
+ cp examples/convention-policies/*.mjs ~/.failproofai/policies/
356
+ ```
357
+
358
+ インストールコマンドは不要です。次のフックイベント時にファイルが自動的に検出されます。