15 Commits

Author SHA1 Message Date
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
6b295fc8ca agent: inject skills from params into prompt; skills_dir fixed 2026-08-08 11:51:48 +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
0270922205 v3.3.0: PM agent + task chain + workspace + file output 2026-08-08 10:36:04 +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
59e56b5e9c feat: Phase 2+4 — agent_loop engine + project agent config 2026-08-02 14:59:32 +08:00