25 Commits

Author SHA1 Message Date
p
d89ec3c784 fix: git 版本管理链路跑通 — role agent clone 时机 + git_clone 工具 + repo_dir 兼容 2026-08-13 18:57:06 +08:00
ymq
49338b4fc7 fix: 修复 answer_question/add_bug/list_questions/diagnose 的 DB 列名错误
- answer_question: answered=1 → status='answered'(表无answered列)
- list_questions: answered IS NULL → status='pending'
- diagnose_project: 问题计数 answered IS NULL → status='pending'
- add_bug: 补 iteration_id(查项目默认迭代)
2026-08-13 17:27:41 +08:00
ymq
094d66d42b fix: 列表/诊断返回完整ID,详情工具支持前缀匹配兜底
- _t_list_tasks 返回完整ID(不再截断8位)
- _t_list_questions 返回完整ID(去掉Q前缀+截断)
- _t_list_deliverables 返回完整ID
- _t_diagnose_project 列出失败/待执行任务完整ID
- _t_task_detail/_t_answer_question/_t_view_deliverable 支持8位前缀匹配兜底
2026-08-13 17:23:19 +08:00
ymq
acda8bb7e7 fix: _estimate_tokens/_summarize 处理 native 的 content=None 2026-08-13 17:08:42 +08:00
ymq
0e5368a894 feat: cockpit agent 切原生 function calling
- llm_bridge 新增 llm_call_msgs_native 支持 tools 参数+解析 tool_calls
- agent_loop_v2._call_llm 优先走 native function calling,失败回退文本
- run loop 处理原生 tool_calls(role=tool 回填)
- _init_components 把 config.tools 注册进 ToolRegistry(修复 registry 空导致 tools_description 为空、schema 为空的 bug)
2026-08-13 17:05:26 +08:00
ymq
2b615f76a9 debug: v2.1 marker 2026-08-11 15:35:17 +08:00
ymq
aaad55cdab feat: markdown table format for list_tasks with emoji 2026-08-11 15:11:09 +08:00
ymq
d8f810bf8d fix: aliases, questions SQL, limit auto-inject to 3 2026-08-11 13:57:25 +08:00
ymq
e558bad2c9 fix: skip ERROR results for tc count; remove debug yield 2026-08-11 13:19:03 +08:00
ymq
744f8f6aa0 debug: raw text yield to test loop entry 2026-08-11 13:16:50 +08:00
ymq
bf4413b81c debug: stderr log instead of yield 2026-08-11 13:16:17 +08:00
ymq
c091e98df1 debug: show raw LLM output 2026-08-11 13:14:22 +08:00
ymq
0e94c230ee debug: trace auto-inject behavior 2026-08-11 13:13:36 +08:00
ymq
23ff786c92 feat: push LLM to continue after 1-2 tool calls 2026-08-11 13:11:17 +08:00
ymq
92af7603e0 fix: don't count unknown tool calls toward tool_call_count 2026-08-10 17:58:42 +08:00
ymq
91dabd7b4c fix: auto-inject context-aware tool, works on any turn 2026-08-10 17:57:53 +08:00
ymq
23a04d2b94 fix: add get_task_list alias 2026-08-10 17:56:11 +08:00
ymq
9ffee5780c feat: auto-inject tool_call on first reply (deepseek fails to follow prompt) 2026-08-10 17:54:57 +08:00
ymq
ac943de9f1 fix: replace {project_name} placeholder 2026-08-10 17:54:05 +08:00
ymq
fff7bace28 fix: handle missing answered column in questions table 2026-08-10 17:53:27 +08:00
ymq
3b1b6c8e43 fix: show project name instead of ID in prompt 2026-08-10 17:52:19 +08:00
ymq
945e43cf62 fix: replace {tools_description} placeholder in system prompt 2026-08-10 17:50:12 +08:00
ymq
9ea2b498d6 feat: skill loader 三级隔离 + org_id auto-load 2026-08-10 17:07:22 +08:00
ymq
c249e872fb fix: add tool aliases (get_task, get_deliverable) 2026-08-10 11:17:13 +08:00
ymq
2d6709ee33 feat: Agent v2 执行引擎 - AgentExecutor with compression/memory/skills 2026-08-10 11:06:42 +08:00