69 Commits

Author SHA1 Message Date
ymq
aaad55cdab feat: markdown table format for list_tasks with emoji 2026-08-11 15:11:09 +08:00
ymq
99ebd88100 fix: clear claimed_by on PM reject 2026-08-11 15:04:46 +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
ea9b0f2ae4 feat: auto-add agent_config columns to DB 2026-08-10 17:01:18 +08:00
ymq
c249e872fb fix: add tool aliases (get_task, get_deliverable) 2026-08-10 11:17:13 +08:00
ymq
cd9208cbf4 feat: auto-create pipeline_user_memory table on startup 2026-08-10 11:10:53 +08:00
ymq
2d6709ee33 feat: Agent v2 执行引擎 - AgentExecutor with compression/memory/skills 2026-08-10 11:06:42 +08:00
ymq
f9aa6f21c2 feat: enforce project has at least one app, each app at least one module 2026-08-09 23:54:05 +08:00
ymq
29ae78da32 fix: project repo docs-only — source in module repos, modules/ and apps/ for references 2026-08-09 23:50:39 +08:00
ymq
07066001fe feat: SDLC repo standard — each role knows exact output paths and deliverable specs 2026-08-09 23:46:08 +08:00
ymq
851b2b2066 refactor: PM review to LLM tool-loop — can inspect code files before deciding 2026-08-09 20:15:09 +08:00
ymq
afa6972903 refactor: role agent to LLM tool-loop with read/write/shell/git tools + llm_call_msgs 2026-08-09 17:34:36 +08:00
ymq
3b1718783a fix: COMMIT after claim_task to release row lock before LLM call 2026-08-08 13:51:52 +08:00
ymq
eb889d8694 fix: poller dedup dispatched tasks + error handling to prevent lock pile-up 2026-08-08 13:43:19 +08:00
ymq
6b295fc8ca agent: inject skills from params into prompt; skills_dir fixed 2026-08-08 11:51:48 +08:00
ymq
4db1405be7 version bump 3.4.0 2026-08-08 11:43:26 +08:00
ymq
74ce3339d2 v3.4.0: agents produce real code files + git push + PM clones repos
- All agents can write code files via 'files' array in output JSON
- Auto git commit+push after code file creation
- PM agent clones project repos on first review
- PM review shows repository state
- shell_exec now allows ~/pipeline_ws
- Role-specific prompts guide code/file output
2026-08-08 11:42:49 +08:00
ymq
a897182404 workspace: use ~/pipeline_ws as default (NFS persistent) 2026-08-08 11:27:02 +08:00
ymq
83ad318801 fix: add owner_id to _create_next_task INSERT 2026-08-08 11:16:23 +08:00
ymq
e76fa0fc47 fix: PM _claim_task match_role=False to review all roles 2026-08-08 11:15:03 +08:00
ymq
afe076ec5b fix: use /tmp/pipeline_ws (pipeline-owned) for workspace; clear claimed_by on review 2026-08-08 11:12:52 +08:00
ymq
926bc5623f fix: clear claimed_by when setting state=review (PM poller requires NULL) 2026-08-08 11:09:55 +08:00
ymq
14471372c9 version bump to 3.3.0 2026-08-08 10:36:36 +08:00
ymq
0270922205 v3.3.0: PM agent + task chain + workspace + file output 2026-08-08 10:36:04 +08:00
48f5048df8 fix: shell_exec 目录不存在时回落可写基础目录 2026-08-05 18:01:17 +08:00
1f848e0760 fix: _resolve_workdir 先检查父目录存在+可写再 mkdir 2026-08-05 17:58:53 +08:00
222bdbcd3d fix: _resolve_workdir → /tmp 回落(apitest无/d写权限) 2026-08-05 17:58:00 +08:00
5a7104aa5d feat(v3.2.1): shell_exec + skill_import_git — 主agent devops能力
- shell_exec: 安全子进程执行(沙箱在 /d/pipeline/workspaces 下,60s超时)
- skill_import_git: git clone + skills目录扫描,返回技能列表
- 注册到 env,cockpit_chat 可通过 dspy 直接调用
2026-08-05 17:56:22 +08:00
ee9ab066fc fix: on_startup handler spawn 后台任务后立即返回(不阻塞 aiohttp 启动) 2026-08-05 17:31:27 +08:00
99cc19f9aa fix: _role_poller 接受 app 参数(aiohttp on_startup 信号) 2026-08-05 17:28:23 +08:00
0bd9609532 fix: add_startup 传函数引用(非协程对象) 2026-08-05 17:27:24 +08:00
4c0b349718 feat: 后台轮询器 — add_startup 自动执行 role_task
- _role_poller 每10秒扫描 pipeline_tasks 中 submitted 的 role_task
- 逐条 dispatch 给对应角色 agent_loop 异步执行
- 修复 agent_loop 中 agent_ask 导入为相对导入
2026-08-05 17:20:26 +08:00
4cb406003e feat(v3.2.0): 主agent+角色agent架构 — role任务认领/问题回路
- pipeline_tasks 增加 role/claimed_by 字段+索引(存量库需ALTER)
- agent_loop 重写为角色循环:原子认领(role匹配+令牌校验)→LLM执行→交付/need_info提问
- 角色别名归一化(developer→develop等),ROLE_PROMPT改replace防花括号崩溃
- questions.py 新增问题回路:agent_ask/answer_question/forward_question/list_questions
- init.py 注册 pipeline_role_submit 与问题回路 env 接口
2026-08-05 12:58:52 +08:00
20896b6fa0 docs: add README.md and skill/SKILL.md 2026-08-03 16:46:19 +08:00
09e58e5e19 fix: DBPools init (config.databases), sor.R→sqlExe, add call_llm() wrapper
- _get_db() / _get_task_raw(): properly init DBPools with config.databases
- Replace sor.R() with sqlExe() to avoid 3-arg signature issues
- Add call_llm() as SDLC handler interface delegating to llm_call
2026-08-03 10:38:09 +08:00