@eyeauras/insight-cli 0.8.4 → 0.9.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 (609) hide show
  1. package/.cli-package-build.json +1 -1
  2. package/README.md +16 -23
  3. package/SKILL.md +6 -44
  4. package/dist/src/activity-audit.d.ts +33 -46
  5. package/dist/src/activity-audit.js +120 -195
  6. package/dist/src/analysis-default.d.ts +10 -2
  7. package/dist/src/analysis-default.js +62 -47
  8. package/dist/src/analysis-storage.d.ts +13 -13
  9. package/dist/src/analysis-storage.js +127 -258
  10. package/dist/src/artifacts.d.ts +5 -1
  11. package/dist/src/artifacts.js +31 -46
  12. package/dist/src/audit-commands.d.ts +6 -1
  13. package/dist/src/audit-commands.js +9 -2
  14. package/dist/src/audit-retention.d.ts +5 -23
  15. package/dist/src/audit-retention.js +37 -150
  16. package/dist/src/binary.js +4 -13
  17. package/dist/src/budgets.d.ts +2 -2
  18. package/dist/src/budgets.js +7 -9
  19. package/dist/src/capture.js +17 -30
  20. package/dist/src/cli.d.ts +9 -4
  21. package/dist/src/cli.js +288 -473
  22. package/dist/src/code-references.d.ts +2 -13
  23. package/dist/src/code-references.js +7 -99
  24. package/dist/src/context-diagnostics.d.ts +1 -23
  25. package/dist/src/context-diagnostics.js +1 -83
  26. package/dist/src/core/coordinator.d.ts +298 -0
  27. package/dist/src/core/coordinator.js +591 -0
  28. package/dist/src/core/layout.d.ts +51 -0
  29. package/dist/src/core/layout.js +55 -0
  30. package/dist/src/core/legacy-import.d.ts +55 -0
  31. package/dist/src/core/legacy-import.js +193 -0
  32. package/dist/src/cross-results.d.ts +3 -3
  33. package/dist/src/cross-results.js +4 -42
  34. package/dist/src/cross.js +2 -3
  35. package/dist/src/debugger-results.d.ts +1 -6
  36. package/dist/src/debugger-results.js +21 -153
  37. package/dist/src/debugger.d.ts +21 -11
  38. package/dist/src/debugger.js +106 -168
  39. package/dist/src/decode-results.d.ts +2 -1
  40. package/dist/src/decode-results.js +4 -20
  41. package/dist/src/diagnostic-error.d.ts +1 -1
  42. package/dist/src/diagnostic-error.js +4 -23
  43. package/dist/src/die.js +1 -23
  44. package/dist/src/dnspy-runtime.js +5 -12
  45. package/dist/src/dnspy.js +13 -28
  46. package/dist/src/dotnet-diagnostics.js +1 -1
  47. package/dist/src/extensions.d.ts +2 -3
  48. package/dist/src/extensions.js +14 -91
  49. package/dist/src/frida-worker.js +0 -20
  50. package/dist/src/frida.js +3 -26
  51. package/dist/src/function-boundaries.d.ts +2 -2
  52. package/dist/src/function-boundaries.js +9 -61
  53. package/dist/src/function-entries.d.ts +2 -2
  54. package/dist/src/function-entries.js +6 -36
  55. package/dist/src/function-inspection.d.ts +2 -2
  56. package/dist/src/function-inspection.js +17 -33
  57. package/dist/src/function-results.d.ts +1 -3
  58. package/dist/src/function-results.js +2 -13
  59. package/dist/src/hub/admin.d.ts +101 -0
  60. package/dist/src/hub/admin.js +314 -0
  61. package/dist/src/hub/autostart.d.ts +111 -0
  62. package/dist/src/hub/autostart.js +207 -0
  63. package/dist/src/hub/bundle.d.ts +33 -0
  64. package/dist/src/hub/bundle.js +25 -0
  65. package/dist/src/hub/client.d.ts +90 -0
  66. package/dist/src/hub/client.js +256 -0
  67. package/dist/src/hub/commands.d.ts +13 -0
  68. package/dist/src/hub/commands.js +280 -0
  69. package/dist/src/hub/contract.d.ts +87 -0
  70. package/dist/src/hub/contract.js +3 -0
  71. package/dist/src/hub/extensions.d.ts +41 -0
  72. package/dist/src/hub/extensions.js +3 -0
  73. package/dist/src/hub/ghidra.d.ts +70 -0
  74. package/dist/src/hub/ghidra.js +197 -0
  75. package/dist/src/hub/index.d.ts +6 -0
  76. package/dist/src/hub/index.js +7 -0
  77. package/dist/src/{work/store.d.ts → hub/ledger-store.d.ts} +57 -94
  78. package/dist/src/hub/ledger-store.js +919 -0
  79. package/dist/src/hub/ledger.d.ts +4 -0
  80. package/dist/src/hub/ledger.js +173 -0
  81. package/dist/src/hub/lock.d.ts +7 -0
  82. package/dist/src/hub/lock.js +53 -0
  83. package/dist/src/hub/repository.d.ts +45 -0
  84. package/dist/src/hub/repository.js +130 -0
  85. package/dist/src/hub/server.d.ts +86 -0
  86. package/dist/src/hub/server.js +414 -0
  87. package/dist/src/hub/settings.d.ts +36 -0
  88. package/dist/src/hub/settings.js +112 -0
  89. package/dist/src/hub/storage.d.ts +13 -0
  90. package/dist/src/hub/storage.js +46 -0
  91. package/dist/src/hub/store.d.ts +75 -0
  92. package/dist/src/hub/store.js +188 -0
  93. package/dist/src/ilspy.js +1 -1
  94. package/dist/src/internal-timing.d.ts +2 -9
  95. package/dist/src/internal-timing.js +2 -95
  96. package/dist/src/lldb.js +3 -15
  97. package/dist/src/llvm.js +0 -9
  98. package/dist/src/managed-heap.js +3 -7
  99. package/dist/src/managed-metadata.js +2 -5
  100. package/dist/src/memory-inputs.d.ts +1 -4
  101. package/dist/src/memory-inputs.js +10 -40
  102. package/dist/src/mitmproxy.d.ts +35 -4
  103. package/dist/src/mitmproxy.js +59 -40
  104. package/dist/src/model.d.ts +0 -73
  105. package/dist/src/model.js +0 -45
  106. package/dist/src/mutations.d.ts +1 -1
  107. package/dist/src/mutations.js +5 -10
  108. package/dist/src/native/contract.d.ts +130 -0
  109. package/dist/src/native/ghidra.d.ts +58 -0
  110. package/dist/src/native/ghidra.js +77 -0
  111. package/dist/src/native/host.d.ts +71 -0
  112. package/dist/src/native/host.js +265 -0
  113. package/dist/src/native/index.d.ts +13 -0
  114. package/dist/src/native/index.js +19 -0
  115. package/dist/src/native/jvm.d.ts +54 -0
  116. package/dist/src/native/jvm.js +47 -0
  117. package/dist/src/native/worker.d.ts +70 -0
  118. package/dist/src/native/worker.js +240 -0
  119. package/dist/src/native-inputs.d.ts +9 -14
  120. package/dist/src/native-inputs.js +22 -110
  121. package/dist/src/native-merge-patches.d.ts +2 -2
  122. package/dist/src/native-merge-patches.js +14 -14
  123. package/dist/src/persistent-client.js +53 -25
  124. package/dist/src/procmon.js +17 -31
  125. package/dist/src/program-files.d.ts +42 -0
  126. package/dist/src/program-files.js +148 -0
  127. package/dist/src/queries.js +2 -15
  128. package/dist/src/query-policy.d.ts +0 -2
  129. package/dist/src/query-policy.js +1 -14
  130. package/dist/src/research.d.ts +59 -238
  131. package/dist/src/research.js +212 -906
  132. package/dist/src/runtime-identity.d.ts +8 -0
  133. package/dist/src/runtime-identity.js +26 -0
  134. package/dist/src/runtime-manager.d.ts +1 -11
  135. package/dist/src/runtime-manager.js +10 -145
  136. package/dist/src/runtime-selection.d.ts +1 -1
  137. package/dist/src/runtime-selection.js +5 -37
  138. package/dist/src/saved-materials.js +8 -51
  139. package/dist/src/scripts.d.ts +1 -1
  140. package/dist/src/scripts.js +15 -15
  141. package/dist/src/sdk-contracts.js +2 -2
  142. package/dist/src/sdk.js +8 -8
  143. package/dist/src/sevenzip.js +1 -3
  144. package/dist/src/strace.js +0 -3
  145. package/dist/src/string-anchors.d.ts +2 -3
  146. package/dist/src/string-anchors.js +8 -101
  147. package/dist/src/text-window.d.ts +5 -4
  148. package/dist/src/text-window.js +4 -4
  149. package/dist/src/tool-runtime/archives.d.ts +1 -1
  150. package/dist/src/tool-runtime/archives.js +11 -20
  151. package/dist/src/tool-runtime/catalog.js +2 -5
  152. package/dist/src/tool-runtime/commands.js +1 -3
  153. package/dist/src/tool-runtime/deadline.js +2 -7
  154. package/dist/src/tool-runtime/definition.js +1 -31
  155. package/dist/src/tool-runtime/identity.js +6 -87
  156. package/dist/src/tool-runtime/installer.d.ts +2 -6
  157. package/dist/src/tool-runtime/installer.js +14 -76
  158. package/dist/src/tool-runtime/java-arguments.js +4 -10
  159. package/dist/src/tool-runtime/launch-worker.js +2 -8
  160. package/dist/src/tool-runtime/run.d.ts +2 -0
  161. package/dist/src/tool-runtime/run.js +20 -8
  162. package/dist/src/tool-runtime/store.d.ts +3 -3
  163. package/dist/src/tool-runtime/store.js +21 -83
  164. package/dist/src/tool-runtime/supervisor.d.ts +6 -11
  165. package/dist/src/tool-runtime/supervisor.js +155 -214
  166. package/dist/src/tool-runtime/windows-helper.d.ts +5 -0
  167. package/dist/src/tool-runtime/windows-helper.js +13 -0
  168. package/dist/src/tool-runtime/windows-job.d.ts +5 -5
  169. package/dist/src/tool-runtime/windows-job.js +13 -31
  170. package/dist/src/tshark.js +14 -27
  171. package/dist/src/ui-results.d.ts +3 -2
  172. package/dist/src/ui-results.js +16 -53
  173. package/dist/src/ui.d.ts +12 -13
  174. package/dist/src/ui.js +32 -70
  175. package/dist/src/version-tracking.d.ts +25 -39
  176. package/dist/src/version-tracking.js +70 -174
  177. package/dist/src/windbg.d.ts +1 -1
  178. package/dist/src/windbg.js +2 -8
  179. package/dist/src/work/client.d.ts +63 -0
  180. package/dist/src/work/client.js +163 -0
  181. package/dist/src/work/commands.d.ts +3 -1
  182. package/dist/src/work/commands.js +158 -184
  183. package/dist/src/work/dashboard.d.ts +2 -2
  184. package/dist/src/work/dashboard.js +7 -8
  185. package/dist/src/work/legacy.d.ts +8 -0
  186. package/dist/src/work/legacy.js +70 -0
  187. package/dist/src/work/model.d.ts +0 -3
  188. package/dist/src/work/model.js +0 -10
  189. package/dist/src/work/timing.d.ts +3 -3
  190. package/dist/src/work/timing.js +21 -25
  191. package/dist/src/workspace.d.ts +4 -250
  192. package/dist/src/workspace.js +11 -699
  193. package/node_modules/@eyeauras/cli-factory/README.md +6 -0
  194. package/node_modules/@eyeauras/cli-factory/dist/src/cli.d.ts.map +1 -1
  195. package/node_modules/@eyeauras/cli-factory/dist/src/cli.js +76 -28
  196. package/node_modules/@eyeauras/cli-factory/dist/src/cli.js.map +1 -1
  197. package/node_modules/@eyeauras/cli-factory/dist/src/command.d.ts +1 -1
  198. package/node_modules/@eyeauras/cli-factory/dist/src/command.d.ts.map +1 -1
  199. package/node_modules/@eyeauras/cli-factory/dist/src/command.js +1 -0
  200. package/node_modules/@eyeauras/cli-factory/dist/src/command.js.map +1 -1
  201. package/node_modules/@eyeauras/cli-factory/dist/src/errors.d.ts +1 -1
  202. package/node_modules/@eyeauras/cli-factory/dist/src/errors.d.ts.map +1 -1
  203. package/node_modules/@eyeauras/cli-factory/dist/src/errors.js +18 -6
  204. package/node_modules/@eyeauras/cli-factory/dist/src/errors.js.map +1 -1
  205. package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.d.ts +44 -0
  206. package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.d.ts.map +1 -0
  207. package/node_modules/@eyeauras/cli-factory/dist/src/{profile-file.js → file-publication.js} +41 -113
  208. package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.js.map +1 -0
  209. package/node_modules/@eyeauras/cli-factory/dist/src/help.d.ts +5 -0
  210. package/node_modules/@eyeauras/cli-factory/dist/src/help.d.ts.map +1 -0
  211. package/node_modules/@eyeauras/cli-factory/dist/src/help.js +17 -0
  212. package/node_modules/@eyeauras/cli-factory/dist/src/help.js.map +1 -0
  213. package/node_modules/@eyeauras/cli-factory/dist/src/index.d.ts +9 -4
  214. package/node_modules/@eyeauras/cli-factory/dist/src/index.d.ts.map +1 -1
  215. package/node_modules/@eyeauras/cli-factory/dist/src/index.js +5 -2
  216. package/node_modules/@eyeauras/cli-factory/dist/src/index.js.map +1 -1
  217. package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.d.ts.map +1 -1
  218. package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.js +11 -18
  219. package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.js.map +1 -1
  220. package/node_modules/@eyeauras/cli-factory/dist/src/output-write.d.ts +10 -0
  221. package/node_modules/@eyeauras/cli-factory/dist/src/output-write.d.ts.map +1 -0
  222. package/node_modules/@eyeauras/cli-factory/dist/src/output-write.js +69 -0
  223. package/node_modules/@eyeauras/cli-factory/dist/src/output-write.js.map +1 -0
  224. package/node_modules/@eyeauras/cli-factory/dist/src/output.d.ts +3 -1
  225. package/node_modules/@eyeauras/cli-factory/dist/src/output.d.ts.map +1 -1
  226. package/node_modules/@eyeauras/cli-factory/dist/src/output.js +74 -14
  227. package/node_modules/@eyeauras/cli-factory/dist/src/output.js.map +1 -1
  228. package/node_modules/@eyeauras/cli-factory/dist/src/pagination.d.ts +3 -0
  229. package/node_modules/@eyeauras/cli-factory/dist/src/pagination.d.ts.map +1 -0
  230. package/node_modules/@eyeauras/cli-factory/dist/src/pagination.js +9 -0
  231. package/node_modules/@eyeauras/cli-factory/dist/src/pagination.js.map +1 -0
  232. package/node_modules/@eyeauras/cli-factory/dist/src/permissions.d.ts.map +1 -1
  233. package/node_modules/@eyeauras/cli-factory/dist/src/permissions.js +3 -1
  234. package/node_modules/@eyeauras/cli-factory/dist/src/permissions.js.map +1 -1
  235. package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.d.ts +16 -0
  236. package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.d.ts.map +1 -0
  237. package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.js +83 -0
  238. package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.js.map +1 -0
  239. package/node_modules/@eyeauras/cli-factory/dist/src/types.d.ts +5 -0
  240. package/node_modules/@eyeauras/cli-factory/dist/src/types.d.ts.map +1 -1
  241. package/node_modules/@eyeauras/cli-factory/dist/src/view.d.ts +49 -7
  242. package/node_modules/@eyeauras/cli-factory/dist/src/view.d.ts.map +1 -1
  243. package/node_modules/@eyeauras/cli-factory/dist/src/view.js +83 -6
  244. package/node_modules/@eyeauras/cli-factory/dist/src/view.js.map +1 -1
  245. package/node_modules/@eyeauras/cli-factory/package.json +1 -1
  246. package/node_modules/@eyeauras/cli-factory-ipc/dist/cli-host.proto +19 -19
  247. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.d.ts +7 -1
  248. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.d.ts.map +1 -1
  249. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.js +9 -4
  250. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.js.map +1 -1
  251. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.d.ts.map +1 -1
  252. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.js +5 -4
  253. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.js.map +1 -1
  254. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.d.ts +11 -1
  255. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.d.ts.map +1 -1
  256. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.js +85 -57
  257. package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.js.map +1 -1
  258. package/node_modules/@eyeauras/cli-factory-ipc/package.json +2 -2
  259. package/package.json +4 -5
  260. package/references/native/InsightAnalyzerOptions.java +10 -0
  261. package/references/native/InsightAnchorScan.java +1 -11
  262. package/references/native/InsightCodeReferences.java +2 -3
  263. package/references/native/InsightCopyType.java +24 -0
  264. package/references/native/InsightFunctionBoundaries.java +0 -1
  265. package/references/native/InsightFunctionDatabases.java +20 -16
  266. package/references/native/InsightHelperCall.java +17 -0
  267. package/references/native/InsightHubServer.java +214 -0
  268. package/references/native/InsightNativeHost.java +112 -0
  269. package/references/native/InsightPlugins.java +0 -1
  270. package/references/native/InsightPythonWheels.java +3 -2
  271. package/references/native/InsightResearchQueries.java +3 -4
  272. package/references/native/InsightResearchView.java +4 -10
  273. package/references/native/InsightSdkFiles.java +7 -15
  274. package/references/native/InsightSdkScript.java +1 -4
  275. package/references/native/InsightSdkTools.java +36 -97
  276. package/references/native/InsightSdkTypes.java +13 -43
  277. package/references/native/InsightStringAnchors.java +1 -3
  278. package/references/native/InsightTraceState.java +13 -96
  279. package/references/native/InsightTraceTools.java +3 -5
  280. package/references/native/InsightVersionTracking.java +0 -6
  281. package/references/native/{HeadlessProgramMergeManager.java → InsightWcMerge.java} +17 -24
  282. package/references/native/InsightWcOps.java +449 -0
  283. package/references/native/InsightWcWorker.java +142 -0
  284. package/references/native/NATIVE-MERGE-NOTICE.txt +4 -8
  285. package/runtime/GhidraMCP-7.0.0.jar +0 -0
  286. package/runtime/managed/insight-heap/README.md +3 -3
  287. package/runtime/managed/insight-managed/README.md +3 -3
  288. package/runtime/native/binary/README.md +5 -4
  289. package/runtime/native/windows/DirectoryAlias.cs +24 -0
  290. package/runtime/native/windows/Insight.Windows.csproj +27 -0
  291. package/runtime/native/windows/Native.cs +36 -0
  292. package/runtime/native/windows/OwnedJob.cs +86 -0
  293. package/runtime/native/windows/Program.cs +50 -0
  294. package/runtime/native/windows/RegistryRedirect.cs +42 -0
  295. package/runtime/native/windows/insight-windows-x64.exe +0 -0
  296. package/runtime/native/windows/packages.lock.json +35 -0
  297. package/runtime/native/windows/provenance.json +17 -0
  298. package/runtime/research-view.provenance.json +6 -7
  299. package/runtime/toolbox.json +33 -114
  300. package/skill-bundle/insight-artifacts/SKILL.md +5 -19
  301. package/skill-bundle/insight-binary/SKILL.md +5 -35
  302. package/skill-bundle/insight-capture/SKILL.md +5 -45
  303. package/skill-bundle/insight-cli/SKILL.md +6 -44
  304. package/skill-bundle/insight-die/SKILL.md +5 -38
  305. package/skill-bundle/insight-dnspy/SKILL.md +5 -54
  306. package/skill-bundle/insight-dotnet-dump/SKILL.md +5 -35
  307. package/skill-bundle/insight-dotnet-stack/SKILL.md +5 -28
  308. package/skill-bundle/insight-dotnet-trace/SKILL.md +5 -34
  309. package/skill-bundle/insight-frida/SKILL.md +5 -56
  310. package/skill-bundle/insight-ghidra/SKILL.md +14 -113
  311. package/skill-bundle/insight-ilspy/SKILL.md +5 -34
  312. package/skill-bundle/insight-interop/SKILL.md +5 -43
  313. package/skill-bundle/insight-lldb/SKILL.md +5 -43
  314. package/skill-bundle/insight-llvm/SKILL.md +5 -45
  315. package/skill-bundle/insight-managed-heap/SKILL.md +5 -32
  316. package/skill-bundle/insight-managed-metadata/SKILL.md +5 -41
  317. package/skill-bundle/insight-mitmproxy/SKILL.md +5 -51
  318. package/skill-bundle/insight-overview/SKILL.md +5 -68
  319. package/skill-bundle/insight-procmon/SKILL.md +5 -38
  320. package/skill-bundle/insight-re/SKILL.md +10 -127
  321. package/skill-bundle/insight-sevenzip/SKILL.md +5 -31
  322. package/skill-bundle/insight-strace/SKILL.md +5 -35
  323. package/skill-bundle/insight-tshark/SKILL.md +5 -38
  324. package/skill-bundle/insight-windbg/SKILL.md +5 -35
  325. package/skill-bundle/manifest.json +1 -1
  326. package/skills/insight-artifacts/SKILL.md +5 -19
  327. package/skills/insight-binary/SKILL.md +5 -35
  328. package/skills/insight-capture/SKILL.md +5 -45
  329. package/skills/insight-die/SKILL.md +5 -38
  330. package/skills/insight-dnspy/SKILL.md +5 -54
  331. package/skills/insight-dotnet-dump/SKILL.md +5 -35
  332. package/skills/insight-dotnet-stack/SKILL.md +5 -28
  333. package/skills/insight-dotnet-trace/SKILL.md +5 -34
  334. package/skills/insight-frida/SKILL.md +5 -56
  335. package/skills/insight-ghidra/SKILL.md +14 -113
  336. package/skills/insight-ilspy/SKILL.md +5 -34
  337. package/skills/insight-interop/SKILL.md +5 -43
  338. package/skills/insight-lldb/SKILL.md +5 -43
  339. package/skills/insight-llvm/SKILL.md +5 -45
  340. package/skills/insight-managed-heap/SKILL.md +5 -32
  341. package/skills/insight-managed-metadata/SKILL.md +5 -41
  342. package/skills/insight-mitmproxy/SKILL.md +5 -51
  343. package/skills/insight-overview/SKILL.md +5 -68
  344. package/skills/insight-procmon/SKILL.md +5 -38
  345. package/skills/insight-re/SKILL.md +10 -127
  346. package/skills/insight-sevenzip/SKILL.md +5 -31
  347. package/skills/insight-strace/SKILL.md +5 -35
  348. package/skills/insight-tshark/SKILL.md +5 -38
  349. package/skills/insight-windbg/SKILL.md +5 -35
  350. package/dist/src/administration-results.d.ts +0 -1
  351. package/dist/src/administration-results.js +0 -84
  352. package/dist/src/administration.d.ts +0 -14
  353. package/dist/src/administration.js +0 -134
  354. package/dist/src/archive-contract.d.ts +0 -6
  355. package/dist/src/archive-contract.js +0 -108
  356. package/dist/src/archive.d.ts +0 -12
  357. package/dist/src/archive.js +0 -116
  358. package/dist/src/comment-effects.d.ts +0 -3
  359. package/dist/src/comment-effects.js +0 -55
  360. package/dist/src/context-credential.d.ts +0 -18
  361. package/dist/src/context-credential.js +0 -44
  362. package/dist/src/contexts.d.ts +0 -387
  363. package/dist/src/contexts.js +0 -2805
  364. package/dist/src/coordinator.d.ts +0 -41
  365. package/dist/src/coordinator.js +0 -160
  366. package/dist/src/cross-peer.d.ts +0 -20
  367. package/dist/src/cross-peer.js +0 -53
  368. package/dist/src/data-effects.d.ts +0 -3
  369. package/dist/src/data-effects.js +0 -103
  370. package/dist/src/debugger-caller.d.ts +0 -17
  371. package/dist/src/debugger-caller.js +0 -129
  372. package/dist/src/debugger-launch.d.ts +0 -2
  373. package/dist/src/debugger-launch.js +0 -17
  374. package/dist/src/debugger-supervisor.js +0 -179
  375. package/dist/src/directory-identity.d.ts +0 -6
  376. package/dist/src/directory-identity.js +0 -45
  377. package/dist/src/documentation-effects.d.ts +0 -5
  378. package/dist/src/documentation-effects.js +0 -56
  379. package/dist/src/function-effects.d.ts +0 -4
  380. package/dist/src/function-effects.js +0 -112
  381. package/dist/src/ghidra-processes.d.ts +0 -6
  382. package/dist/src/ghidra-processes.js +0 -138
  383. package/dist/src/ghidra.d.ts +0 -50
  384. package/dist/src/ghidra.js +0 -468
  385. package/dist/src/initial-model.d.ts +0 -7
  386. package/dist/src/initial-model.js +0 -115
  387. package/dist/src/initial-progress.d.ts +0 -4
  388. package/dist/src/initial-progress.js +0 -74
  389. package/dist/src/inline-script.d.ts +0 -15
  390. package/dist/src/inline-script.js +0 -61
  391. package/dist/src/legacy-migration.d.ts +0 -37
  392. package/dist/src/legacy-migration.js +0 -238
  393. package/dist/src/lifecycle.d.ts +0 -77
  394. package/dist/src/lifecycle.js +0 -315
  395. package/dist/src/merge.d.ts +0 -29
  396. package/dist/src/merge.js +0 -66
  397. package/dist/src/mutation-effects.d.ts +0 -4
  398. package/dist/src/mutation-effects.js +0 -321
  399. package/dist/src/native-queries.d.ts +0 -2
  400. package/dist/src/native-queries.js +0 -24
  401. package/dist/src/native-service.d.ts +0 -40
  402. package/dist/src/native-service.js +0 -406
  403. package/dist/src/projects.d.ts +0 -31
  404. package/dist/src/projects.js +0 -302
  405. package/dist/src/prototype-cli.d.ts +0 -8
  406. package/dist/src/prototype-cli.js +0 -155
  407. package/dist/src/query-results.d.ts +0 -2
  408. package/dist/src/query-results.js +0 -224
  409. package/dist/src/research-view.d.ts +0 -6
  410. package/dist/src/research-view.js +0 -9
  411. package/dist/src/sdk-files.d.ts +0 -29
  412. package/dist/src/sdk-files.js +0 -249
  413. package/dist/src/server.d.ts +0 -102
  414. package/dist/src/server.js +0 -663
  415. package/dist/src/storage-gc.d.ts +0 -23
  416. package/dist/src/storage-gc.js +0 -600
  417. package/dist/src/store.d.ts +0 -33
  418. package/dist/src/store.js +0 -178
  419. package/dist/src/sync-policy.d.ts +0 -22
  420. package/dist/src/sync-policy.js +0 -129
  421. package/dist/src/timed-backend.d.ts +0 -3
  422. package/dist/src/timed-backend.js +0 -24
  423. package/dist/src/timing-report.d.ts +0 -32
  424. package/dist/src/timing-report.js +0 -74
  425. package/dist/src/tool-runtime/native-process-proof.d.ts +0 -2
  426. package/dist/src/tool-runtime/native-process-proof.js +0 -26
  427. package/dist/src/transport.d.ts +0 -60
  428. package/dist/src/transport.js +0 -223
  429. package/dist/src/unresolved-guidance.d.ts +0 -46
  430. package/dist/src/unresolved-guidance.js +0 -55
  431. package/dist/src/work/backup.d.ts +0 -66
  432. package/dist/src/work/backup.js +0 -446
  433. package/dist/src/work/store.js +0 -1107
  434. package/dist/src/worker-lease.d.ts +0 -17
  435. package/dist/src/worker-lease.js +0 -50
  436. package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.d.ts +0 -37
  437. package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.d.ts.map +0 -1
  438. package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.js.map +0 -1
  439. package/references/InsightRepositoryProbe.java +0 -55
  440. package/references/administration.md +0 -34
  441. package/references/agent-execution.md +0 -36
  442. package/references/agent-setup.md +0 -60
  443. package/references/archive.md +0 -32
  444. package/references/artifacts.md +0 -52
  445. package/references/debugger.md +0 -64
  446. package/references/extensions-and-sync.md +0 -125
  447. package/references/ilspy.md +0 -33
  448. package/references/managed-runtime.md +0 -162
  449. package/references/native/InsightArchivePayloads.java +0 -36
  450. package/references/native/InsightBlockTransfer.java +0 -57
  451. package/references/native/InsightGuiMain.java +0 -33
  452. package/references/native/InsightHeadlessMain.java +0 -18
  453. package/references/native/InsightImportProgress.java +0 -60
  454. package/references/native/InsightInitialImport.java +0 -48
  455. package/references/native/InsightInitialJournal.java +0 -57
  456. package/references/native/InsightInitialPublication.java +0 -142
  457. package/references/native/InsightInitialRecovery.java +0 -131
  458. package/references/native/InsightInlineExecutor.java +0 -143
  459. package/references/native/InsightInlineScript.java +0 -14
  460. package/references/native/InsightNativeCheckout.java +0 -487
  461. package/references/native/InsightNativeFingerprint.java +0 -80
  462. package/references/native/InsightNativeMigration.java +0 -155
  463. package/references/native/InsightNativeRead.java +0 -80
  464. package/references/native/InsightNativeReceipt.java +0 -31
  465. package/references/native/InsightNativeService.java +0 -43
  466. package/references/native/InsightNativeView.java +0 -40
  467. package/references/native/InsightOfflineAuthenticator.java +0 -20
  468. package/references/native/InsightOwnedScripts.java +0 -170
  469. package/references/native/InsightProjectFiles.java +0 -92
  470. package/references/native/InsightPublicationRecovery.java +0 -63
  471. package/references/native/InsightServerAdministration.java +0 -82
  472. package/references/native/InsightServerInit.java +0 -62
  473. package/references/native/InsightServerMain.java +0 -43
  474. package/references/native/InsightServerProbe.java +0 -29
  475. package/references/native/InsightSnapshotFields.java +0 -74
  476. package/references/native/InsightSnapshotInspect.java +0 -191
  477. package/references/native/InsightSnapshotPublisher.java +0 -123
  478. package/references/native/InsightStopDebugger.java +0 -20
  479. package/references/native/InsightTraceInspect.java +0 -24
  480. package/references/native/InsightWorkerLease.java +0 -132
  481. package/references/native-workflows.md +0 -124
  482. package/references/persistent-client.mjs +0 -147
  483. package/references/persistent.md +0 -90
  484. package/references/query-semantics.md +0 -109
  485. package/references/recovery.md +0 -235
  486. package/references/research.md +0 -296
  487. package/references/setup.md +0 -135
  488. package/references/sparse-navigation.md +0 -173
  489. package/references/storage.md +0 -139
  490. package/references/work-tracking.md +0 -261
  491. package/runtime/native/file-version.ps1 +0 -7
  492. package/runtime/native/mitmproxy/bridge.py +0 -180
  493. package/runtime/native/windows-job/DirectoryAlias.cs +0 -24
  494. package/runtime/native/windows-job/Insight.WindowsJob.csproj +0 -1
  495. package/runtime/native/windows-job/Insight.WindowsJob.dll +0 -0
  496. package/runtime/native/windows-job/OwnedJob.cs +0 -79
  497. package/runtime/native/windows-job/RegistryRedirect.cs +0 -45
  498. package/runtime/native/windows-job/packages.lock.json +0 -21
  499. package/runtime/native/windows-job/provenance.json +0 -16
  500. package/runtime/native/windows-job/windows-job.ps1 +0 -8
  501. package/skill-bundle/insight-artifacts/references/agent-execution.md +0 -36
  502. package/skill-bundle/insight-artifacts/references/artifacts.md +0 -52
  503. package/skill-bundle/insight-artifacts/references/recovery.md +0 -235
  504. package/skill-bundle/insight-artifacts/references/storage.md +0 -139
  505. package/skill-bundle/insight-binary/references/agent-execution.md +0 -36
  506. package/skill-bundle/insight-capture/references/agent-execution.md +0 -36
  507. package/skill-bundle/insight-cli/references/agent-execution.md +0 -36
  508. package/skill-bundle/insight-cli/references/agent-setup.md +0 -60
  509. package/skill-bundle/insight-cli/references/archive.md +0 -32
  510. package/skill-bundle/insight-cli/references/managed-runtime.md +0 -162
  511. package/skill-bundle/insight-cli/references/persistent-client.mjs +0 -147
  512. package/skill-bundle/insight-cli/references/persistent.md +0 -90
  513. package/skill-bundle/insight-cli/references/recovery.md +0 -235
  514. package/skill-bundle/insight-cli/references/setup.md +0 -135
  515. package/skill-bundle/insight-cli/references/storage.md +0 -139
  516. package/skill-bundle/insight-die/references/agent-execution.md +0 -36
  517. package/skill-bundle/insight-dnspy/references/agent-execution.md +0 -36
  518. package/skill-bundle/insight-dotnet-dump/references/agent-execution.md +0 -36
  519. package/skill-bundle/insight-dotnet-stack/references/agent-execution.md +0 -36
  520. package/skill-bundle/insight-dotnet-trace/references/agent-execution.md +0 -36
  521. package/skill-bundle/insight-frida/references/agent-execution.md +0 -36
  522. package/skill-bundle/insight-ghidra/references/administration.md +0 -34
  523. package/skill-bundle/insight-ghidra/references/agent-execution.md +0 -36
  524. package/skill-bundle/insight-ghidra/references/archive.md +0 -32
  525. package/skill-bundle/insight-ghidra/references/artifacts.md +0 -52
  526. package/skill-bundle/insight-ghidra/references/debugger.md +0 -64
  527. package/skill-bundle/insight-ghidra/references/extensions-and-sync.md +0 -125
  528. package/skill-bundle/insight-ghidra/references/managed-runtime.md +0 -162
  529. package/skill-bundle/insight-ghidra/references/native-workflows.md +0 -124
  530. package/skill-bundle/insight-ghidra/references/persistent-client.mjs +0 -147
  531. package/skill-bundle/insight-ghidra/references/persistent.md +0 -90
  532. package/skill-bundle/insight-ghidra/references/query-semantics.md +0 -109
  533. package/skill-bundle/insight-ghidra/references/recovery.md +0 -235
  534. package/skill-bundle/insight-ghidra/references/research.md +0 -296
  535. package/skill-bundle/insight-ghidra/references/setup.md +0 -135
  536. package/skill-bundle/insight-ghidra/references/sparse-navigation.md +0 -173
  537. package/skill-bundle/insight-ghidra/references/storage.md +0 -139
  538. package/skill-bundle/insight-ilspy/references/agent-execution.md +0 -36
  539. package/skill-bundle/insight-ilspy/references/ilspy.md +0 -33
  540. package/skill-bundle/insight-interop/references/agent-execution.md +0 -36
  541. package/skill-bundle/insight-lldb/references/agent-execution.md +0 -36
  542. package/skill-bundle/insight-llvm/references/agent-execution.md +0 -36
  543. package/skill-bundle/insight-managed-heap/references/agent-execution.md +0 -36
  544. package/skill-bundle/insight-managed-metadata/references/agent-execution.md +0 -36
  545. package/skill-bundle/insight-mitmproxy/references/agent-execution.md +0 -36
  546. package/skill-bundle/insight-overview/references/agent-execution.md +0 -36
  547. package/skill-bundle/insight-procmon/references/agent-execution.md +0 -36
  548. package/skill-bundle/insight-re/references/agent-execution.md +0 -36
  549. package/skill-bundle/insight-re/references/artifacts.md +0 -52
  550. package/skill-bundle/insight-re/references/persistent-client.mjs +0 -147
  551. package/skill-bundle/insight-re/references/persistent.md +0 -90
  552. package/skill-bundle/insight-re/references/recovery.md +0 -235
  553. package/skill-bundle/insight-re/references/storage.md +0 -139
  554. package/skill-bundle/insight-re/references/work-tracking.md +0 -261
  555. package/skill-bundle/insight-sevenzip/references/agent-execution.md +0 -36
  556. package/skill-bundle/insight-strace/references/agent-execution.md +0 -36
  557. package/skill-bundle/insight-tshark/references/agent-execution.md +0 -36
  558. package/skill-bundle/insight-windbg/references/agent-execution.md +0 -36
  559. package/skills/insight-artifacts/references/agent-execution.md +0 -36
  560. package/skills/insight-artifacts/references/artifacts.md +0 -52
  561. package/skills/insight-artifacts/references/recovery.md +0 -235
  562. package/skills/insight-artifacts/references/storage.md +0 -139
  563. package/skills/insight-binary/references/agent-execution.md +0 -36
  564. package/skills/insight-capture/references/agent-execution.md +0 -36
  565. package/skills/insight-die/references/agent-execution.md +0 -36
  566. package/skills/insight-dnspy/references/agent-execution.md +0 -36
  567. package/skills/insight-dotnet-dump/references/agent-execution.md +0 -36
  568. package/skills/insight-dotnet-stack/references/agent-execution.md +0 -36
  569. package/skills/insight-dotnet-trace/references/agent-execution.md +0 -36
  570. package/skills/insight-frida/references/agent-execution.md +0 -36
  571. package/skills/insight-ghidra/references/administration.md +0 -34
  572. package/skills/insight-ghidra/references/agent-execution.md +0 -36
  573. package/skills/insight-ghidra/references/archive.md +0 -32
  574. package/skills/insight-ghidra/references/artifacts.md +0 -52
  575. package/skills/insight-ghidra/references/debugger.md +0 -64
  576. package/skills/insight-ghidra/references/extensions-and-sync.md +0 -125
  577. package/skills/insight-ghidra/references/managed-runtime.md +0 -162
  578. package/skills/insight-ghidra/references/native-workflows.md +0 -124
  579. package/skills/insight-ghidra/references/persistent-client.mjs +0 -147
  580. package/skills/insight-ghidra/references/persistent.md +0 -90
  581. package/skills/insight-ghidra/references/query-semantics.md +0 -109
  582. package/skills/insight-ghidra/references/recovery.md +0 -235
  583. package/skills/insight-ghidra/references/research.md +0 -296
  584. package/skills/insight-ghidra/references/setup.md +0 -135
  585. package/skills/insight-ghidra/references/sparse-navigation.md +0 -173
  586. package/skills/insight-ghidra/references/storage.md +0 -139
  587. package/skills/insight-ilspy/references/agent-execution.md +0 -36
  588. package/skills/insight-ilspy/references/ilspy.md +0 -33
  589. package/skills/insight-interop/references/agent-execution.md +0 -36
  590. package/skills/insight-lldb/references/agent-execution.md +0 -36
  591. package/skills/insight-llvm/references/agent-execution.md +0 -36
  592. package/skills/insight-managed-heap/references/agent-execution.md +0 -36
  593. package/skills/insight-managed-metadata/references/agent-execution.md +0 -36
  594. package/skills/insight-mitmproxy/references/agent-execution.md +0 -36
  595. package/skills/insight-overview/references/agent-execution.md +0 -36
  596. package/skills/insight-procmon/references/agent-execution.md +0 -36
  597. package/skills/insight-re/references/agent-execution.md +0 -36
  598. package/skills/insight-re/references/artifacts.md +0 -52
  599. package/skills/insight-re/references/persistent-client.mjs +0 -147
  600. package/skills/insight-re/references/persistent.md +0 -90
  601. package/skills/insight-re/references/recovery.md +0 -235
  602. package/skills/insight-re/references/storage.md +0 -139
  603. package/skills/insight-re/references/work-tracking.md +0 -261
  604. package/skills/insight-sevenzip/references/agent-execution.md +0 -36
  605. package/skills/insight-strace/references/agent-execution.md +0 -36
  606. package/skills/insight-tshark/references/agent-execution.md +0 -36
  607. package/skills/insight-windbg/references/agent-execution.md +0 -36
  608. /package/dist/src/{debugger-supervisor.d.ts → native/contract.js} +0 -0
  609. /package/runtime/native/{windows-job → windows}/NuGet.Config +0 -0
@@ -3,24 +3,10 @@ name: insight-artifacts
3
3
  description: Retain a completed reverse-engineering evidence file or directory as an ordinary checkpoint using insight-cli artifacts save. Use after Ghidra or any external tool; preserve existing project formats and source of truth.
4
4
  ---
5
5
 
6
- # Insight Artifacts 0.8.4
6
+ # Insight Artifacts 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli artifacts --help`. `insight-cli tools show artifacts --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Keep evidence as ordinary files in the project's existing layout. This supporting application
12
- copies a completed file or stable directory; it has no native runtime to download or install.
13
-
14
- Run `insight-cli artifacts save <path> --json` using a profile with Update permission.
15
- Retain the returned ordinary `path` verbatim, file/byte counts and hash if the checkpoint matters.
16
- Before reporting a saved checkpoint, read its returned path with ordinary file tools and
17
- confirm that the expected files are present. Copy that exact path into the handoff; never
18
- reconstruct profile UUIDs or storage directories from memory. If readback fails, report
19
- the saved receipt and the unresolved access problem instead of claiming a verified handoff.
20
- The original project records keep their canonical role. No Ghidra selectors, finding schema
21
- or evidence IDs are required; saving does not merge tool databases or attest interpretations.
22
-
23
- Wait until other agents stop editing the selected files. Links and special files are rejected;
24
- select the actual regular files. A later source edit does not change the saved copy. Finish the report before saving; put its returned checkpoint locator in the final handoff or outside the saved folder. If the source changes afterward, save and verify a new intentional checkpoint before calling it the final copy. After a
25
- lost answer, inspect retained results before making a new intentional save: every call makes
26
- a new checkpoint. See [save semantics](references/artifacts.md) for failure and folder behavior.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,40 +3,10 @@ name: insight-binary
3
3
  description: Query structured PE, ELF and thin Mach-O headers, sections, imports and exports, or make an explicitly guarded new PE subsystem copy through insight-cli binary. Use for scoped binary structure, linkage and copy-only header edits without target execution.
4
4
  ---
5
5
 
6
- # Insight Binary 0.8.4
6
+ # Insight Binary 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli binary --help`. `insight-cli tools show binary --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Keep project RE/evidence conventions. LIEF is an internal packaged library. The native
12
- helper is included with insight-cli; no separate download/install, SDK or compiler is
13
- needed. The admitted host is macOS14+ ARM64; PE/ELF/Mach-O input formats do not imply
14
- that the host can execute them. Arbitrary scripts or patches are outside this API.
15
-
16
- 1. `binary query app.exe --json` identifies format, architecture, entrypoint, image base,
17
- section/linkage counts and the PE subsystem/signature presence. Static metadata can
18
- be malformed; parser diagnostics mean partial evidence, not a successful absence claim.
19
- 2. `--view sections`, `libraries`, `imports` and `exports` provide focused JSON rows.
20
- `--filter TEXT` is a literal name substring, applied before `--limit`/`--offset` paging.
21
- Reuse the returned `--target` for immutable input identity. There is no active binary.
22
- 3. Addresses and sizes are strings to preserve precision. PE exports retain RVA and
23
- image-base-adjusted virtual address; forwarded exports retain the target name instead
24
- of pretending the forwarder is executable code. ELF/Mach-O views cover exported
25
- functions, not every exported data symbol. Non-PE import libraries may be unknown.
26
- Preserve Mach-O's native symbol spelling, including a leading underscore.
27
- 4. Universal Mach-O containers require explicit thin-slice extraction with a suitable
28
- external tool; the facade never silently chooses an architecture. Inputs are limited
29
- to 64 MiB and scans to 100000 metadata records; a reached bound remains partial.
30
- 5. A requested copy-only edit uses an explicit expectation:
31
- `binary edit-subsystem app.exe --expect-subsystem console --subsystem gui --output research/gui.exe --json`.
32
- Only this existing two-byte PE field is assigned. Independent LIEF readback and byte
33
- comparison verify the new copy; the original and existing outputs are preserved.
34
- This does not verify execution compatibility or repair PE checksum/Authenticode.
35
- Existing signatures may become invalid; keep both original and copied hashes.
36
- 6. `binary query --output research/page.json` saves the current bounded page to a new
37
- ordinary file. Preserve scope/partial flags in project notes and checkpoint selected
38
- evidence with `artifacts save` when useful. Readonly library queries need no Ghidra merge;
39
- annotations belong to an explicit Ghidra session/target when that tool is used.
40
-
41
- Generated help owns exact options. LLVM remains useful for instruction/PDB windows;
42
- Ghidra supplies shared analysis, isolated work contexts and merge/refresh.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,50 +3,10 @@ name: insight-capture
3
3
  description: Capture one explicitly authorized native program run, exact stdout/stderr and declared file snapshots through insight-cli capture, then inspect or compare retained reports without replay. Use for controlled input/output research, preserving original files and interrupted or unknown outcomes.
4
4
  ---
5
5
 
6
- # Insight Capture 0.8.4
6
+ # Insight Capture 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli capture --help`. `insight-cli tools show capture --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Follow project RE and evidence conventions. Use this only for an authorized runtime
12
- observation. The current native host/input profile is macOS14+ ARM64 thin Mach-O
13
- executables. There is no extra install, compiler, shell string or implicit active target.
14
-
15
- 1. `capture run ./program --arg normal --input-file ./settings.txt --watch settings.txt result.txt --output research/run.json --json`
16
- copies the selected program and input files into a fresh owned working directory.
17
- Input files retain unique basenames; arguments are literal, without shell expansion.
18
- To pass an option-shaped subject argument use `--arg=--subject-option`.
19
- `--stdin-file FILE` supplies exact bytes, bounded to 1 MiB.
20
- 2. The result gives the immutable program target/hash, copied input hashes, request ID,
21
- known subject exit/signal, bounded output previews and declared file changes. Known
22
- nonzero subject exits (0–126) are observable outcomes; reserved launcher failure,
23
- signal, timeout, overflow or unavailable files leave a partial capture and nonzero CLI.
24
- Exact output bytes are stored as base64 with SHA256; UTF-8 previews may replace invalid
25
- characters. Binary output should be read as base64, not reconstructed from a preview.
26
- 3. `capture show REQUEST --view stdout --limit 256 --offset 0 --json` pages retained bytes;
27
- `--view stderr` and `--view files` focus other evidence. `--output FILE` exports a new
28
- portable report. The default overview remains small; never paste an entire report
29
- into context just to find one value. `artifacts save` can checkpoint selected files.
30
- 4. Only `--watch` relative regular files are snapshotted before/after. A missing file is
31
- explicit; links, unstable/oversized or unreadable files are unknown. This is not a
32
- trace of all effects or an OS sandbox: the program still has normal host access.
33
- The default deadline is 10 seconds (up to 600). Its inherited native alarm survives
34
- ordinary owner loss; a subject can deliberately replace that alarm. Use stronger
35
- host isolation separately when required by the actual target or project rules.
36
- 5. `capture compare research/before.json research/after.json --json` compares exact retained
37
- stdout/stderr, exit state and declared resulting files. It never executes the program.
38
- `sameDeclaredIntent` distinguishes changed input/argv from repeated observations;
39
- equal fields do not establish causal/semantic equivalence or a speedup claim.
40
- Partial reports cannot prove global equality. Imported reports are asserted data,
41
- not independent proof that an execution occurred.
42
- 6. An optional `--request-id ID` binds the exact effective intent. Retrying it returns
43
- the durable prior outcome, or an explicit unknown/partial state; it never repeats
44
- the run. A different intent with the same ID is refused. Without an ID each call is
45
- a new intentional observation. After owner loss, `capture show REQUEST` exposes retained
46
- intent, process state and working directory; preserve existing files and investigate
47
- the unknown result instead of blindly launching it again.
48
-
49
- Limits: 64 MiB program and total selected files, 16 MiB per selected/watched file,
50
- 32 files/watch paths, 64 literal arguments and 4 MiB aggregate native output. No native
51
- merge exists here; publish any Ghidra annotations through their explicit session/target.
52
- Generated help owns options. Local project formats take precedence over this example.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,43 +3,10 @@ name: insight-die
3
3
  description: Classify unknown executable or container inputs by format, architecture and compiler/runtime/packer signatures with Detect It Easy before choosing managed or native analysis. Use insight-cli die for static triage and preserve scan uncertainty.
4
4
  ---
5
5
 
6
- # Insight Detect It Easy 0.8.4
6
+ # Insight Detect It Easy 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli die --help`. `insight-cli tools show die --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Follow the project's RE instructions and evidence format. DiE provides quick static triage;
12
- it does not execute, unpack or decompile the input. Use the classification to choose a focused
13
- next tool, then verify important claims with that tool.
14
-
15
- 1. `insight-cli die status --json` checks readiness. `die install` obtains our pinned console
16
- bundle from GitHub Releases: DiE 3.21, its database and private dynamic Qt frameworks.
17
- Managed delivery supports macOS 13+ ARM64. `die download`, `install --archive FILE` and
18
- `--offline` use the ordinary managed lifecycle. No system Qt or installer is needed.
19
- `install --executable /path/to/MacOS/diec` selects a compatible external bundle retaining
20
- adjacent Resources/db, Resources/db_custom and Frameworks. The database and five required
21
- frameworks are fingerprinted too. Uninstall preserves external files and research.
22
- 2. `insight-cli die classify INPUT --json` reads both file information and signatures.
23
- `--target` reuses the captured immutable input instead of INPUT. Start with the default
24
- scan; use `--deep` or `--heuristic` for a reason. The input is never launched.
25
- 3. Separate the file header from signature guesses. PE/ELF/Mach-O architecture is not proof
26
- of the original programming language. A managed AnyCPU assembly can report an I386 PE
27
- header; it does not establish the process architecture on another host. A .NET runtime
28
- signature is a reason to inspect metadata with ILSpy. Native code, NativeAOT and unclear
29
- managed recovery require native inspection such as LLVM or Ghidra.
30
- 4. Inspect `complete`, `state` and `diagnostics` before interpreting findings. The pinned
31
- upstream scanner can append JavaScript signature errors after valid JSON and still exit
32
- zero. We retain the useful records but mark that classification `partial`. Errors,
33
- Unknown or no packer match never prove absence of packing/obfuscation/runtime code.
34
- Cross-check important signature claims. Do not present a partial scan as exhaustive.
35
- 5. `--limit`/`--offset` page signature findings. `--output research/triage.json` saves the
36
- complete bounded envelope including all findings/warnings to a new ordinary file, making
37
- missing parents. Raw native stdout/stderr remain in each returned process's diagnostic
38
- directory. The 4-MiB output bound and per-process deadline fail explicitly; limited output
39
- is not a completed scan. Save completed research with `artifacts save` when useful.
40
-
41
- `die doctor` checks the selected runtime. `tools processes --tool die --all` and `show <id>`
42
- provide owned execution history. These reads need Update permission to capture input and run
43
- the scanner. Generated `--help` owns exact syntax. Use the private bundle by default; copied
44
- compatible Qt frameworks can be replaced and the resulting external bundle reselected as
45
- explained in its NOTICE.txt. No Ghidra session or merge is needed for this static classifier.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,59 +3,10 @@ name: insight-dnspy
3
3
  description: Debug a managed Windows EXE at an IL breakpoint and read primitive arguments, or change one expected IL Int32 constant in a new assembly copy through insight-cli dnspy. Use when C# decompilation needs observed execution or a controlled binary edit.
4
4
  ---
5
5
 
6
- # Insight dnSpyEx 0.8.4
6
+ # Insight dnSpyEx 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli dnspy --help`. `insight-cli tools show dnspy --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Keep the project's RE and evidence format. Debugging executes the supplied application
12
- in a new owned process; its ordinary file/network side effects still apply. Use only
13
- inputs whose execution is authorized. The original process is not attached or reused.
14
- Windows x64 and an interactive desktop are required. No source code or PDB is required
15
- for a MethodDef token breakpoint and indexed primitive parameter read.
16
-
17
- 1. Check `insight-cli dnspy status --json`. `dnspy install --vendor-direct` acquires the
18
- pinned upstream dnSpyEx 6.6.0 bundle and our mirrored private .NET 10.0.13 target runtime.
19
- dnSpy's own debugger runtime is self-contained .NET 10.0.9. The upstream bundle contains
20
- separately licensed VS 2017 DLLs that prohibit our redistribution, so its bytes are
21
- fetched explicitly from dnSpyEx GitHub, checked by SHA256 and cached locally.
22
- `download --vendor-direct` prepares acquisition first. For offline setup use
23
- `install --archive dnSpy-net-win64.zip --dotnet-archive dotnet-runtime.zip --offline`.
24
- `install --executable C:\tools\dnSpy\dnSpy.exe` selects the complete pinned external
25
- runtime; only its pinned vendor files are copied into owned execution storage. The
26
- first setup starts a private GUI to prepare a Unicode-compatible Core loader there;
27
- external originals remain unchanged. Both copies are fingerprinted, and uninstall
28
- preserves the external distribution. `doctor` checks
29
- version and exact extension contracts without opening the GUI.
30
- 2. Use ILSpy metadata/IL to identify the managed module's MethodDef token (`0x060000NN`)
31
- and exact decimal IL instruction offset. `dnspy inspect app.exe --method 0x06000002
32
- --il-offset 0 --parameters 0 --json` launches a private Framework debugger, stops at that
33
- location, reads selected zero-based primitive parameter indices and records a bounded
34
- managed stack. After flushing the snapshot, its one-shot GUI exits and the owned Windows Job Object terminates the debuggee; it does not resume the program or rely on UI teardown.
35
- A token belongs to one exact module; it is not a native address or stable cross-build ID.
36
- 3. For a Core application, select its apphost EXE and paired DLL:
37
- `dnspy inspect app.exe --runtime core --module app.dll --companion app.runtimeconfig.json
38
- app.deps.json --method 0x06000002 --parameters 0 --json`.
39
- Explicitly add any required local DLLs with `--companion`; names and captured hashes are
40
- retained. Managed setup supplies .NET 10.0.13; a different target runtime version may require a compatible explicit host. With an external debugger selection,
41
- provide `--dotnet-host C:\dotnet\dotnet.exe` for a compatible Core runtime. Self-contained
42
- applications may need additional declared companions; the facade does not copy a source
43
- directory or guess startup dependencies. Use literal `--arg` values for program arguments.
44
- 4. `dnspy edit-constant app.dll --method 0x06000003 --il-offset 0 --expect-int32 7
45
- --set-int32 37 --output research/app-patched.dll --json` changes only the selected existing
46
- Int32 load instruction through dnSpy's loaded document and writes a new assembly.
47
- A mismatched expected value fails; originals and existing output files are preserved.
48
- Verify the output independently. Editing can invalidate signatures/strong names and does
49
- not prove that the changed path executes. No Ghidra merge or original-file replacement occurs.
50
- 5. `--target ID` reuses a captured input; debug companions remain explicit. Debug `--limit` and
51
- `--offset` bound returned stack frames; `--output research/managed-stop.json` saves the full
52
- bounded result in a new ordinary file. Follow project evidence conventions and use
53
- `artifacts save` for a checkpoint when helpful. Missing breakpoints, optimized/unavailable
54
- parameters and runtime/dependency failures are unknowns, not invented values.
55
- 6. Every operation uses private settings and an isolated GUI under the Windows Job Object.
56
- `tools processes --tool dnspy --all` retains jobs and diagnostics. Stop/kill target only an
57
- owned process ID through `tools processes stop/kill`. Owner loss/deadline kills the owned
58
- process tree; saved inputs and partial diagnostics remain. Lost responses do not trigger
59
- automatic relaunch, expression evaluation, attach or edit replay.
60
-
61
- Generated `dnspy inspect --help` and `dnspy edit-constant --help` own exact syntax.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,40 +3,10 @@ name: insight-dotnet-dump
3
3
  description: Capture a managed heap dump or inspect compatible .NET dumps with SOS to recover waiting stacks, objects, fields and retention evidence.
4
4
  ---
5
5
 
6
- # Insight .NET Dump 0.8.4
6
+ # Insight .NET Dump 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show dotnet-dump --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Start with `insight-cli dotnet-dump collect --pid PID --output research/worker.dmp`.
12
- The default Heap dump includes managed objects; Mini may lack required heap data. Collection
13
- has a deadline and accepts only a nonempty file below 4 GiB. It does not execute dump data.
14
-
15
- Use `analyze FILE --command clrthreads` or `--command clrstack` for thread context, then
16
- `--command 'dumpheap -type TYPE'` to locate objects and `--command 'dumpobj ADDRESS'` for
17
- fields. Reuse the returned `--target ID` instead of a file. `gcroot ADDRESS` can investigate
18
- retention. Interpret the actual output: an empty type selection, unavailable DAC or SOS error
19
- is not evidence that the requested object was found. Addresses belong to that dump only.
20
- Use `--command 'help dumpheap'` for native SOS query syntax.
21
- The API accepts one supported inspection command; it does not expose arbitrary debugger
22
- scripts, chaining, symbol-server configuration or execution. Keep static object snapshots
23
- separate from claims about current live state.
24
-
25
- Use the existing project RE instructions and evidence format. `status` checks readiness;
26
- `install` prepares the pinned tool and private .NET 10.0.13 from our GitHub Releases.
27
- `--archive`, `--dotnet-archive` and `--offline` support local preparation; `--executable`
28
- selects a compatible external tool, whose runtime/dependency closure remains user-managed.
29
- Managed admission is macOS ARM64. A native compatible runtime/DAC is required for dump
30
- inspection; a Windows dump is not promised readable on macOS.
31
-
32
- Live commands require an explicit `--pid`. The selected process remains external: the CLI
33
- owns its collector, not that target's lifetime. Use the PID supplied for this investigation;
34
- process birth is checked around collection, with the reported OS identity strength. If the
35
- process uses a custom TMPDIR, pass `--diagnostic-directory` with that directory. Do not
36
- infer target ownership from a successful attachment or stop another agent's process.
37
-
38
- Text views page with `--limit`/`--offset`; `--output FILE` retains complete bounded text in
39
- a new ordinary file. Native text has a 4-MiB output bound; an output-limit error is not a
40
- complete inventory. Save finished project files/folders with `artifacts save` when useful.
41
- `tools processes --tool dotnet-dump --all` and `show ID` retain collector diagnostics. Update
42
- permission is required. Generated `--help` owns exact syntax. Uninstall preserves research.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,33 +3,10 @@ name: insight-dotnet-stack
3
3
  description: Inspect live managed thread stacks to identify active or waiting work in an explicitly selected .NET process without taking a dump.
4
4
  ---
5
5
 
6
- # Insight .NET Stack 0.8.4
6
+ # Insight .NET Stack 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli dotnet-stack --help`. `insight-cli tools show dotnet-stack --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Use `insight-cli dotnet-stack report --pid PID` for a lightweight live stack snapshot.
12
- Inspect the managed callers around native wait/sleep frames: a wait identifies where a
13
- thread was sampled, not by itself why an application is stalled. Keep PID/birth, capture
14
- time and relevant frame names in the project evidence. Different snapshots may legitimately
15
- differ. Use dotnet-dump for object/field questions and dotnet-trace for a bounded view over
16
- time instead of presenting one stack snapshot as a performance measurement.
17
-
18
- Use the existing project RE instructions and evidence format. `status` checks readiness;
19
- `install` prepares the pinned tool and private .NET 10.0.13 from our GitHub Releases.
20
- `--archive`, `--dotnet-archive` and `--offline` support local preparation; `--executable`
21
- selects a compatible external tool, whose runtime/dependency closure remains user-managed.
22
- Managed admission is macOS ARM64. A native compatible runtime/DAC is required for dump
23
- inspection; a Windows dump is not promised readable on macOS.
24
-
25
- Live commands require an explicit `--pid`. The selected process remains external: the CLI
26
- owns its collector, not that target's lifetime. Use the PID supplied for this investigation;
27
- process birth is checked around collection, with the reported OS identity strength. If the
28
- process uses a custom TMPDIR, pass `--diagnostic-directory` with that directory. Do not
29
- infer target ownership from a successful attachment or stop another agent's process.
30
-
31
- Text views page with `--limit`/`--offset`; `--output FILE` retains complete bounded text in
32
- a new ordinary file. Native text has a 4-MiB output bound; an output-limit error is not a
33
- complete inventory. Save finished project files/folders with `artifacts save` when useful.
34
- `tools processes --tool dotnet-stack --all` and `show ID` retain collector diagnostics. Update
35
- permission is required. Generated `--help` owns exact syntax. Uninstall preserves research.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,39 +3,10 @@ name: insight-dotnet-trace
3
3
  description: Collect and inspect bounded .NET EventPipe traces to identify sampled thread work, waits or runtime activity; distinguish wall-clock samples from CPU consumption.
4
4
  ---
5
5
 
6
- # Insight .NET Trace 0.8.4
6
+ # Insight .NET Trace 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli dotnet-trace --help`. `insight-cli tools show dotnet-trace --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Use `insight-cli dotnet-trace collect --pid PID --duration-seconds 5 --output research/worker.nettrace`.
12
- The default `dotnet-sampled-thread-time` profile measures sampled thread wall-clock time.
13
- A sleeping method can rank at 100% while consuming little CPU. This API does not use the
14
- Linux-only `cpu-sampling` kernel profile. Other declared EventPipe profiles cover common
15
- runtime or GC events; a trace without sample events need not have a useful method ranking.
16
-
17
- Use `report FILE --count 10` for inclusive method ranking (`--exclusive` changes the metric).
18
- Reuse `--target ID` for captured immutable bytes. `convert FILE --format Speedscope --output
19
- research/worker.speedscope.json` creates a new ordinary JSON export; Chromium is also supported.
20
- Preserve the original trace, profile, duration, target identity and collection conditions.
21
- Limited/dropped samples and startup/rundown overhead constrain inference; do not call this a
22
- CPU speedup benchmark merely because a report contains percentages.
23
-
24
- Use the existing project RE instructions and evidence format. `status` checks readiness;
25
- `install` prepares the pinned tool and private .NET 10.0.13 from our GitHub Releases.
26
- `--archive`, `--dotnet-archive` and `--offline` support local preparation; `--executable`
27
- selects a compatible external tool, whose runtime/dependency closure remains user-managed.
28
- Managed admission is macOS ARM64. A native compatible runtime/DAC is required for dump
29
- inspection; a Windows dump is not promised readable on macOS.
30
-
31
- Live commands require an explicit `--pid`. The selected process remains external: the CLI
32
- owns its collector, not that target's lifetime. Use the PID supplied for this investigation;
33
- process birth is checked around collection, with the reported OS identity strength. If the
34
- process uses a custom TMPDIR, pass `--diagnostic-directory` with that directory. Do not
35
- infer target ownership from a successful attachment or stop another agent's process.
36
-
37
- Text views page with `--limit`/`--offset`; `--output FILE` retains complete bounded text in
38
- a new ordinary file. Native text has a 4-MiB output bound; an output-limit error is not a
39
- complete inventory. Save finished project files/folders with `artifacts save` when useful.
40
- `tools processes --tool dotnet-trace --all` and `show ID` retain collector diagnostics. Update
41
- permission is required. Generated `--help` owns exact syntax. Uninstall preserves research.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -3,61 +3,10 @@ name: insight-frida
3
3
  description: Observe native call arguments/results or inspect runtime modules and exports in an explicitly selected authorized process with bounded Frida scripts. Use insight-cli frida to corroborate static findings with actual execution on macOS ARM64.
4
4
  ---
5
5
 
6
- # Insight Frida 0.8.4
6
+ # Insight Frida 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Commands: `insight-cli frida --help`. `insight-cli tools show frida --json`
9
+ lists tasks, inputs, platforms and readiness.
10
10
 
11
- Follow existing project RE and evidence conventions. Frida instruments a running process;
12
- choose an explicitly authorized PID. This facade owns the collector, while the target stays
13
- with its original owner. Stopping the collector never signals that target.
14
-
15
- 1. `insight-cli frida status --json` checks readiness. `frida install` obtains our pinned
16
- Frida Node 17.24.0 bundle from GitHub Releases, including its NAPI-v8 binding, JavaScript
17
- dependencies and full notices. It uses the CLI's Node runtime; Python is unnecessary.
18
- Managed delivery requires macOS 14+ ARM64. `download`, `install --archive FILE --offline`,
19
- `doctor` and `uninstall` use the shared lifecycle. An external compatible Node bundle can
20
- be selected with `install --executable /path/to/frida/build/src/frida.js`; adjacent binding
21
- and resolved runtime dependency families are fingerprinted and never deleted.
22
- 2. `frida modules --pid PID --json` establishes runtime module names and load addresses.
23
- `frida exports --pid PID --module NAME --json` narrows to one module. `--limit`/`--offset`
24
- page records. Runtime pointers differ from static addresses under ASLR; establish module
25
- and image correspondence before combining findings from Ghidra/LLVM with live evidence.
26
- 3. Write a focused ordinary JavaScript file using the [Frida JavaScript API](https://frida.re/docs/javascript-api/).
27
- For a known integer-valued exported function, an observation hook can be:
28
-
29
- ```javascript
30
- const at = Process.mainModule.getExportByName('quote_total');
31
- Interceptor.attach(at, {
32
- onEnter(args) { this.count = args[0].toInt32(); },
33
- onLeave(value) { send({count: this.count, result: value.toInt32()}); }
34
- });
35
- ```
36
-
37
- Match argument types, calling convention and module to the actual program. This example
38
- is not a generic signature for every function. `frida observe --pid PID --script FILE
39
- --duration-seconds 2 --output research/calls.json --json` captures the source bytes, loads
40
- it, collects messages, requests unload and detaches. The output records the source hash,
41
- runtime version, original PID/birth, native diagnostics and cleanup acknowledgment.
42
- 4. Inspect `complete`, `state`, script errors and cleanup fields. Script errors or early
43
- target detach produce partial evidence. No observed call does not prove absence. Ordinary
44
- `send`/console/error messages and optional binary payloads are retained. `--limit`/`--offset`
45
- page event messages; `--output` saves the full bounded envelope to a new ordinary file and
46
- creates parents. Use `artifacts save` for a checkpoint when useful.
47
- Both the response and saved envelope include `summary`: total protocol events and counts
48
- of script send/error/log messages. A send message is not universally a call. Derive call
49
- counts from the retained payload type selected by your hook; do not count runtime,
50
- loaded or completed receipts as calls or estimate counts by reading a long event list.
51
- 5. The observation window is 1–120 seconds; collector execution has a separate finite deadline
52
- that survives owner loss. Native SDK helpers have their own inherited deadlines; status
53
- remains `native_children_pending` and uninstall is blocked until they exit. Native output is bounded to 4 MiB and 10000 messages. Arbitrary
54
- script patches or application side effects are not automatically rolled back by unload.
55
- Avoid unnecessarily broad hooks and large payloads. `tools processes --tool frida --all`
56
- shows owned collector history. A recovered live macOS PID may be unverified: wait for the
57
- deadline and inspect retained evidence instead of replaying an injection blindly.
58
-
59
- The pinned backend has a known attach failure on a bare C process without CoreFoundation;
60
- our native probe reproduces it explicitly. A process already loading CoreFoundation worked.
61
- Report the failure and choose a suitable debugger/fixture; do not silently load frameworks
62
- into an unrelated process. macOS authorization/hardened targets can also prevent attach.
63
- An imported PE is not a runnable local macOS process. Generated help owns exact syntax.
11
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
12
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
@@ -1,120 +1,21 @@
1
1
  ---
2
2
  name: insight-ghidra
3
- description: Inspect or edit native binaries with Ghidra through insight-cli; use isolated contexts, multi-agent merge/refresh, server, GUI or debugger workflows. Choose this for static native behavior and references, not C# recovery from managed IL.
3
+ description: Inspect or edit native binaries with Ghidra through insight-cli; one working copy per agent, shared through the hub with explicit merge/refresh across agents and machines. Choose this for static native behavior and references, not C# recovery from managed IL.
4
4
  ---
5
5
 
6
- # Insight Ghidra 0.8.4
6
+ # Insight Ghidra 0.9.1
7
7
 
8
- AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
9
- A lost mutation reply needs request/status recovery, never a blind retry.
8
+ Ghidra work is shared through a hub (`insight-cli hub --help`). The profile's hub project holds the targets;
9
+ each session and target has its own working copy on this machine.
10
10
 
11
- Ghidra operations can exceed the host execution tool's first wait. If it returns a running
12
- session/cell ID, await that same execution with the host's wait/poll facility until terminal
13
- status and read its stdout/stderr. An empty first chunk is not a lost CLI response. Do not
14
- start another open or repeat a CPU mutation while the original command is still running.
11
+ - `ghidra open FILE --session new` uploads and registers a new file once, or checks out an existing one.
12
+ `ghidra targets list` and `ghidra open --target ID --session new` continue on another machine.
13
+ - Research commands take `--session` and `--target`. `ghidra merge` publishes the working copy; repeating it
14
+ is safe (`unchanged`). `ghidra refresh` receives others' versions; conflicts are reported, never guessed.
15
+ - `ghidra changes discard`, `ghidra close [--release]` and `ghidra gc` manage working copies.
16
+ - With the Work ledger: `work next`, edit the leased functions, `ghidra merge`, then `work submit`, and `ghidra refresh`
17
+ before the next `work next`.
18
+ - Debugger, GUI, version tracking and archive commands report `not_available` in this build.
15
19
 
16
- Each session/target owns one saved native checkout. Reopen the same selectors to keep its
17
- project, checkout ID/base and native changes. `refresh` runs Ghidra Update; `merge` runs native
18
- Update/check-in. After a successful merge, continue with the same session and target;
19
- `merge --close` releases the checkout instead. Conflicts and unknown results retain the copy.
20
- Private workers have no repository password. Legacy detached contexts need explicit migration.
21
- Close unchanged work to release its checkout; `ghidra gc --dry-run` reports redundant copies.
22
- See [research](references/research.md) and [recovery](references/recovery.md).
23
-
24
- For research loops, use the packaged [persistent client](references/persistent.md) and keep
25
- one connection across queries. It uses the existing CLI transport and preserves typed errors;
26
- lost mutation replies still require request/status recovery.
27
-
28
- New targets import **without automatic analysis**; `--analysis` opts in on the first open of
29
- a new target. Reopening existing selectors keeps their load settings. For a long first open,
30
- `ghidra progress --session <session> --target <target> --json` reads progress without repeating
31
- the operation; never start a second import. See [setup](references/setup.md), "Initial import and progress".
32
-
33
- Use `ghidra status` to inspect runtime readiness; `ghidra install` delivers the pinned runtime.
34
- For static managed C#/IL research, locate `insight-cli skill insight-ilspy`.
35
- For an unresponsive headless backend, continue the same session/target with `ghidra open`;
36
- the facade authenticates and retires eligible hung workers, restoring acknowledged private work.
37
- Uncertain mutation/publication outcomes remain blocked; see [recovery](references/recovery.md).
38
- For owned process inventory use `tools processes`; `stop` saves Ghidra contexts, while
39
- `kill` explicitly interrupts verified owned work and preserves its journals.
40
- For archives, external launchers, server lifecycle or removal, read [managed runtime](references/managed-runtime.md).
41
-
42
- This skill and its executable helper are one npm package. Run `insight-cli skill insight-ghidra` to locate
43
- these installed resources. Use generated `--help` for syntax; read the references as needed.
44
- Follow applicable project RE rules for tools, source of truth, evidence layout and format;
45
- this package's walkthroughs fill gaps rather than replacing those conventions.
46
-
47
- For coordinating a reverse-engineering investigation with ordinary files, external tools
48
- and multiple agents, locate the RE workflow with `insight-cli skill insight-re`. When a retained checkpoint is useful, save
49
- a completed project file or folder with
50
- `insight-cli artifacts save <path>`; [save semantics](references/artifacts.md) describe the
51
- ordinary saved copy and its receipt. Neither operation requires a Ghidra installation.
52
-
53
- 1. Select the configured runtime profile. Ordinary work uses a managed local server; an external
54
- server is optional. See [setup](references/setup.md). Factory permissions authorize changes.
55
- 2. Open the input with `ghidra open <input> --session new --json`. Retain the returned session and target.
56
- Another agent chooses `new` independently; one session can open several inputs.
57
- 3. Pass both `--session` and `--target` on research calls. Follow strings to xrefs and their
58
- function addresses, then inspect/decompile. Decompilation defaults to a 16000-character
59
- window; page with `--limit-chars`/`--offset-chars` and retain `textSha256`. Native
60
- truncation remains explicit even at the end of the observed text. See [research](references/research.md).
61
- If strings/xrefs are empty or function bodies are one byte, run `analysis navigation`
62
- and follow [sparse navigation](references/sparse-navigation.md). Try compact `functions inspect`
63
- at known entries before writing reconstruction scripts. `force-decompile` refreshes an
64
- existing entry; `decode` handles known bytes without an entry. Neither repairs stored xrefs.
65
- `analysis code-references` scans explicit RIP/CALL byte forms for exact targets with bounded
66
- coverage and a stateless cursor. Its decoded candidates retain boundary uncertainty; see the
67
- sparse-navigation reference before treating a candidate as an actual code reference.
68
- 4. Rename functions or set/clear comments through ordinary commands. An `applied` result means
69
- verified saved private work. Other sessions keep their own views; local edits remain unpublished in the default manual mode.
70
- 5. By default, publish explicitly with `ghidra merge`; receive safe shared changes with `ghidra refresh`.
71
- Ghidra resolves local and incoming analysis using native checkout ancestry and change sets.
72
- A native conflict prevents publication and retains the original checkout and base. Inspect
73
- scoped status and the [recovery guidance](references/recovery.md) before choosing a resolution.
74
- 6. Continue with `ghidra open --session <id> --target <id>`. For uncertain outcomes inspect
75
- `sessions status <id> --target <id>` and [recovery](references/recovery.md). Supplying a stable
76
- optional `--request-id` lets a repeated changing intent retrieve its outcome without rerunning.
77
- Java `scripts run-inline` returns bounded compile/load diagnostics. Only proven rejection
78
- before user-code initialization leaves the context available; constructor/static initializer
79
- failures and lost responses remain unknown. See the recovery reference for execution fields.
80
- 7. Finish by closing each context you own with scoped `ghidra close`, preserving private work.
81
- If this profile's local server belongs exclusively to your investigation and all its contexts
82
- are closed, use `ghidra server stop`, then verify `ghidra status` has no remaining processes.
83
- `ipc-server stop` stops the CLI owner; it does **not** stop Ghidra's local server. Stop that
84
- owner last when needed. For a shared profile/server, leave server shutdown to its coordinator;
85
- an individual worker closes only its own contexts and never kills unrelated processes.
86
-
87
- The facade exposes the pinned static research/editing catalog, merge/refresh, project/server/GUI
88
- controls, debugger, archive exchange and supported recovery. Preserve private work
89
- and journals while an outcome is unresolved. The CLI supplies the investigation tools; agents
90
- choose research goals and interpret findings.
91
- Installing this package does not register this skill in an agent's configuration.
92
-
93
- For project files, program export/import and configured-server administration, read
94
- [administration](references/administration.md). These operations preserve separate research views;
95
- their external effects do not participate in program merge.
96
-
97
- For owned GUI execution, CPU state, breakpoints and retained traces, read
98
- [debugger](references/debugger.md). Execution side effects remain separate from program publication.
99
-
100
- For explicit external documentation exchange and retained submission outcomes, read
101
- [archive](references/archive.md).
102
-
103
- For selected native SDK extensions (VT, DB differences, byte/assembly edits, formats, GDT,
104
- FID/BSim, namespaces and typed IR), read [native workflows](references/native-workflows.md).
105
-
106
- For managed SDK extension modules, actual language/analyzer/plugin discovery and opt-in
107
- automatic synchronization, read [extensions and sync](references/extensions-and-sync.md).
108
-
109
- For authorized macOS local debugging, use `ghidra debugger launch --stop-at-entry`
110
- with the returned session/target and `--json`; then inspect status, registers and stack
111
- before resuming. The default launch runs immediately, so a short program may exit before
112
- an interrupt. Before resuming from entry, map the selected function and set a live breakpoint at the
113
- returned dynamic address. Resuming a short program without that breakpoint can run it to
114
- exit before any call is observed. At the breakpoint verify PC, then read arguments/stack
115
- and step out or over the call to inspect its actual return.
116
- Repeat mapping and live breakpoint setup for every new launch. A saved breakpoint bookmark
117
- does not prove placement in that new process; check its `trace_location_count` before resuming.
118
- Use `new` only when creating a session; subsequent calls take its actual returned ID.
119
-
120
- Long import/save budgets: see [setup](references/setup.md). Never replay an uncertain script.
20
+ Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
21
+ Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.