> ## 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.

# 运行

> 启动、跟踪、暂停、停止和审查工作流运行。

工作流每次运行时，Enclave 都会记录是什么启动了它、每个步骤做了什么、花费了多少，以及保存了什么。

## 开始运行

* **从 Research 启动：** 例如询问 `Run the Workflow "Security hunt" on payments-api`。检查卡片上的输入和预算，然后点击 **Approve**。
* **从工作流启动：** 打开其菜单并点击 **Run now**。
* **自动启动：** 添加一个[触发器](https://docs.enclave.ai/zh/workflows/triggers.md)。

## 跟踪运行

打开工作流并点击 **Runs**。点击某次运行，即可实时查看其步骤的更新。点击某个步骤可查看其输出。

如需停止运行，请在运行页面上点击 **Stop run**，或询问 Research 并批准卡片。已保存的结果会保留。

## 暂停和恢复

从 Research、**Run now**、API 或 CLI 启动的运行会暂停，而不是结束：

* **达到预算时。** 运行在花完预算时暂停。如果是 Research 启动的，该对话中会出现一条通知。
* **你手动暂停时。** 在运行页面上点击 **Pause**。运行会在下一个智能体步骤处暂停，并保留其预算。

如需继续，请在运行页面或通知中点击 **Resume**，或询问 Research。因达到预算而暂停的运行会要求你设置新的总预算，该预算须高于已花费的金额，最多 2,000 积分。运行会从停止的步骤继续，已完成的步骤不会再次运行。

暂停的运行最多等待 1 天。如果无人恢复，它就会结束。由触发器或 Enclave 启动的运行（例如自动 PR 审查）在达到预算时会直接结束，而不是暂停。

## 结果

一次运行可以留下其输出、记录和[发现项](https://docs.enclave.ai/zh/risk/findings.md)。

## 历史记录与恢复

**History** 标签页列出每个修订版本，并附有变更摘要。点击 **Restore** 可将自定义工作流回滚。

## 归档工作流

打开自定义工作流的菜单并点击 **Archive**。归档后它无法启动新的运行，但过去的运行会保留。

默认情况下，启动、暂停、恢复、停止和归档需要 **Owner** 或 **Admin** 角色。


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