docs: README同步批2——多流程模板机制(bid_tech_proposal纯技术方案流程阶段链+自动判流+用户确认门禁)/bid_tech_items表清单/tech_template_confirm端点说明
This commit is contained in:
parent
27eb3db772
commit
dfb7b11c5d
19
README.md
19
README.md
@ -16,6 +16,20 @@
|
||||
> (business→bid_biz_writer / technical→bid_writer)→ 章节评审(含篇幅门禁)→ 合成
|
||||
> → 整书评分 → 交付确认。
|
||||
|
||||
**多流程模板(2026-09-15 批2)**:本产线声明两条流程(`BID_FLOW_TEMPLATES`,引擎
|
||||
FlowTemplate 机制首个接入)——`bid_standard`(上述标准链)与 `bid_tech_proposal`
|
||||
(**纯技术方案流程**:输入=技术需求书而非招标文件,产出=技术方案书):
|
||||
|
||||
> 技术需求书 → 六类技术评估项解析(功能清单/功能点/硬件配置/技术架构/功能架构/部署架构,
|
||||
> 落 `bid_tech_items`)→ QC 对标需求书(qc_type=tech_items)→ 模版三级检索(知识库→RAG→网络)
|
||||
> + 骨架拟定(六类覆盖度硬校验,漏类拒绝)+ **用户确认待办**(tech_template_confirm,全局阻塞,
|
||||
> agent 无确认权)→ 分章编写 → 章节评审(对标需求书覆盖度)→ 合成 → 交付确认。
|
||||
|
||||
首文件导入后对账器 LLM 自动判流(`detect_flow_template`,置信度+判据摘录进确认待办);
|
||||
判流失败发人工待办不默认硬跑。已确认计划 `base_flow_key=bid_tech_proposal` 的项目走
|
||||
`bid_flow._reconcile_tech_proposal` 独立对账分支,不碰评分项/资质/成本收益。
|
||||
规范见技能 `bid-tech-proposal`;确认端点 `api/tech_template_confirm.dspy`。
|
||||
|
||||
核心机制:
|
||||
|
||||
- **角色任务流转不用 RoleSpec.next_role**(全留空):投标是「一章一任务 + 两级回退循环」
|
||||
@ -54,6 +68,7 @@
|
||||
| `bid_qc_reviews` | 解析产出 QC 审核记录 | project_id, qc_type, round, reviewer, review_type, fit_score, pass_score |
|
||||
| `bid_analysis_history` | QC 分析历史快照(每轮 QC 逐审核记录归档;2026-09-10 归籍补 models 定义,此前是孤儿表) | project_id, qc_type, round, task_id, fit_score, improvement, payload |
|
||||
| `bid_cost_benefit` | 成本收益分析(分析维度4,单项+summary 结论行;m0006 建表未进 models,2026-09-10 归籍) | project_id, kind, category, item_name, amount, confidence |
|
||||
| `bid_tech_items` | 技术评估项(纯技术方案流程 tech_analysis 产出;kind=item/summary,category 六类;m0034 建表) | project_id, kind, category, item_name, requirement, mandatory, source_ref |
|
||||
| `bid_kb_docs` | 公司投标知识库 | org_id, doc_type(sample_bid 等), doc_name, doc_no, tags, file_path, content_text |
|
||||
| `bid_members` | 投标项目参与人员 | project_id, user_id, user_name, member_role, duty, status |
|
||||
|
||||
@ -73,6 +88,10 @@ bid_chapter_status / bid_review_scope / bid_kb_doc_type / bid_doc_status)。
|
||||
最近 in_progress 项目。
|
||||
- **api/bid_task_io.dspy** — 任务树右侧详情面板:输入 = 任务描述 + QC 改进意见,
|
||||
执行步骤,输出 = 交付件(复用 `pipeline_service/task_io_render.py` 统一渲染规范)。
|
||||
- **api/tech_template_confirm.dspy** — 技术方案骨架用户确认/驳回端点(2026-09-15)。
|
||||
入参 human_task_id/decision(confirm|reject)/comment(驳回必填)。用户专属:同机构+
|
||||
超管/创建者校验复用引擎 `_check_confirm_operator`;agent 无对应工具无法代确认。
|
||||
确认后骨架落 bid_chapters(section=technical) 开写;驳回意见由对账器注入重派模版任务。
|
||||
- **bid_task_tree_popup.ui** — ResourceBrowser 复合 widget 弹窗(左树右详情联动)。
|
||||
- **agent/index.ui** — 驾驶舱入口页(顶栏含任务树按钮)。
|
||||
- **12 个 CRUD 目录**(bid_tenders / bid_tender_files / bid_scoring_items /
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user