ARTEX/agent
Autumn-27 c66c97f3da feat(tasks): 目标完成后支持主 agent 直投意图执行(goalless)
所有目标达成后,主 agent 经 add_intent 下发的意图可被 worker 直接执行、跑完
即止;planner 在任务无 open 目标时不再运行,避免其重判目标达成而 cancelExec
杀掉直投意图;frontier 抽干后任务回到 done。

- db: 新增 HasOpenGoal 谓词(零迁移,读现有 goal 状态)
- engine: plannerLoop 加 goalless 门(无 open 目标则不进 planner,抽干则收尾)
- tools: add_intent 成功后调 resumeTask 复活任务(仅主 agent 生效,planner 为 nil)
- mainagent: 提示加入「目标达成后反问是否登记为正式目标」引导
- orchestration: reseedMainAgentPrompt 让旧库收到新提示(一次性,同构 reseedGoalsPrompt)

已知边角问题(paused/exhausted 意图的收官判据、零 goal 窗口、TOCTOU 等)
待后续讨论后再修。
2026-08-24 11:58:02 -04:00
..
assembly.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
blackboard_inheritance_test.go feat(agent): get_worker_trace 的 step_ids 超限改为降级返回而非报错 2026-08-24 11:35:49 -04:00
cancelcause.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
capture.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
capture_usage_test.go 同步 2026-08-24 14:14:15 +08:00
chat.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
constraints.go 同步 2026-08-24 14:14:15 +08:00
coverage_params_test.go 同步 2026-08-24 14:14:15 +08:00
deferred.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
deferred_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
goals.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
insert_assets_test.go fix(assets): ip 字段拒收主机名,并告诉调用方该怎么改 2026-08-24 10:32:10 -04:00
mainagent.go feat(tasks): 目标完成后支持主 agent 直投意图执行(goalless) 2026-08-24 11:58:02 -04:00
planner.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
prompt.go feat: 提示词新增全局变量 DataDir + 触发合并/种子意图默认值调整 2026-08-15 00:19:14 -04:00
prompt_now_test.go feat: 提示词新增全局变量 DataDir + 触发合并/种子意图默认值调整 2026-08-15 00:19:14 -04:00
prompt_test.go feat: 提示词新增全局变量 DataDir + 触发合并/种子意图默认值调整 2026-08-15 00:19:14 -04:00
promptcatalog.go tweak: reporter 报告模板将「证据」与「PoC」拆成两节 2026-08-18 12:20:53 -04:00
provider.go feat(llm): add profile failover and pool health 2026-08-24 19:28:18 +08:00
provider_quota_test.go feat(llm): add profile failover and pool health 2026-08-24 19:28:18 +08:00
runinfo.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
taskclock.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
terminalreason.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
terminalreason_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
testmain_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
toolcatalog.go 同步 2026-08-24 14:14:15 +08:00
toolcatalog_test.go feat(coverage): 资产测试覆盖度(task_scope 范围 + fact 派生已测) 2026-08-08 09:09:38 -04:00
tools.go feat(tasks): 目标完成后支持主 agent 直投意图执行(goalless) 2026-08-24 11:58:02 -04:00
tools_insert.go fix(assets): ip 字段拒收主机名,并告诉调用方该怎么改 2026-08-24 10:32:10 -04:00
tools_overview_test.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
worker.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
wrapup.go feat: 收尾默认轮数统一改为 10 2026-08-17 09:54:04 -04:00