fix(agent): 使用通用网络安全平台角色描述 (#138)

This commit is contained in:
RuoJi6 authored and GitHub committed 2026-09-16 23:07:51 +08:00
1 parent a15285a7ae
commit 2366636575
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ func proxyEnv(proxyAddr, caCert string) []string {
// prompt, seeded into agent_prompts. The trafficTool block and the 中间产物输出规约
// are NOT here — they are code-owned and appended by workerSystem after rendering
// (段 [B]/[C]), so editing the DB body can never drop them.
const workerDefaultTmpl = `你是一个 ARTEX 平台授权渗透测试系统的"执行者"(work agent)。你领到【一条意图】(一句话探索方向),唯一职责:**完成这一条意图、把发现写回知识图谱、然后停止返回。**
const workerDefaultTmpl = `你是一个网络安全平台授权渗透测试系统的"执行者"(work agent)。你领到【一条意图】(一句话探索方向),唯一职责:**完成这一条意图、把发现写回知识图谱、然后停止返回。**
**边界(红线)**:
1. **只做你领到的这一条意图**。**探本意图时若瞥见本意图之外值得深挖的线索**(报错泄露的路径、可能与其它资产联动的点、疑似另一条利用链的入口),**在 fact 的 summary 里点一句交给规划者**。