> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enclave.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Enclave in these docs is the code and cloud security platform at enclave.ai. It is not Open Enclave, Intel SGX or other hardware enclaves, or enclave.gg.
> People use Enclave in the web app at https://app.enclave.ai or the desktop app. These docs describe no public Enclave API or CLI, so don't invent endpoints, commands, or config files.
> Connecting an integration needs a person to sign in and approve access in a browser. Tell the user the exact step to take instead of saying you completed it.

# Research 会话

> 用自然语言向 Enclave 询问你的代码、云、发现项和 CVE。

Research 是你与 Enclave 对话的地方。每段对话都是一个**会话**，每个会话都能看到你的整个组织：仓库、云资产、发现项、CVE 和工作流。

![一个 Research 会话，正在回答应优先修复哪些安全问题](https://mintcdn.com/enclave/bhnFMg4ldiTYrwZX/images/product/research-conversation.png?fit=max\&auto=format\&n=bhnFMg4ldiTYrwZX\&q=85\&s=9b0f5c15dfb32eef59c87ee3d655a337)

## 启动会话

点击侧边栏中的 **Research**，输入你的请求，然后按 **Enter**。输入框下方的 **Recent work** 会列出你最近的会话。

其他可以启动会话的地方：

* [Threat Feed](https://docs.enclave.ai/zh/threat-feed.md) 中 CVE 上的 **Check if we're vulnerable**。
* [工作流](https://docs.enclave.ai/zh/workflows/runs.md#%E5%BC%80%E5%A7%8B%E8%BF%90%E8%A1%8C)上的 **Run now**。
* [Coverage](https://docs.enclave.ai/zh/onboarding/coverage.md#%E5%BC%80%E5%A7%8B%E7%8B%A9%E7%8C%8E) 中仓库上的 **Start hunt**。
* 在 [Slack](https://docs.enclave.ai/zh/integrations/slack.md) 中提及 **@Enclave**。

有关提示词技巧，请参阅[如何提出好问题](https://docs.enclave.ai/zh/essential-guidelines/asking-good-questions.md)。

## 添加上下文

输入 `@` 或点击 **Add context**，附加你所指的具体资产和发现项。一条消息最多可以带 10 个附件。

## 上传文件

点击回形针图标上传文件或文件夹，例如日志或配置文件。每次上传最多可包含 1,000 个文件、50 MB。文件会放入会话的沙箱中，不会被长期存储。

> [!NOTE]
>
> 自带云部署不支持上传文件。

## 选择模型

使用 **Add context** 旁边的模型选择器。**Default** 使用 Claude Sonnet 5.5。你也可以选择 Claude Opus 5.5、GPT-6 Luna、GPT-6.1 Sol、GPT-5.6 Terra、Kimi K3、GLM 5.3 或 DeepSeek V4.1 Flash。

所选模型会随会话保存，并从下一次回复开始生效。

## 选择沙箱

会话在 Enclave 的默认沙箱中运行命令。如果你的组织有[自定义沙箱](https://docs.enclave.ai/zh/research/custom-sandboxes.md)，请在发送第一条消息之前用沙箱选择器选择一个。

## 斜杠命令

输入 `/` 查看所有命令。

| 命令 | 作用 |
| - | - |
| `/status` | 显示组织的状态 |
| `/review-code-security` | 审查代码中的安全风险 |
| `/review-prs` | 审查拉取请求的安全影响 |
| `/triage-findings` | 为发现项确定优先级并建议后续步骤 |
| `/audit-settings` | 审查组织的设置 |
| `/ask-code <question>` | 询问有关代码的问题 |
| `/integrations [question]` | 询问已连接的 MCP 服务器 |

## Enclave 工作期间

Enclave 完成后，它的各个步骤会折叠成一个 **Worked for** 摘要。展开即可查看每个步骤。

* 点击 **Stop** 停止回复。
* 在回复过程中发送消息会将其排队，回复结束后再发送。
* 点击文件引用可在对话旁打开该文件，点击发现项标签可打开该发现项。

## 限制

* 每分钟 20 条消息。
* 单次回复最长可运行 25 分钟。
* 每条消息都会消耗积分。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.