codebee 0.1.42 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +3 -0
- package/app/core/skills.py +6 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -23,6 +23,9 @@ Kimi Code、MiMo Code、Grok Build、Pi、DeepSeek Harness……),提供
|
|
|
23
23
|
<!-- relnotes:start -->
|
|
24
24
|
### ✨ 新功能 · New
|
|
25
25
|
|
|
26
|
+
- 经验库新增「有效做法」记忆:高分一次通过的任务会把「做对了什么」提炼成可复用步骤,下次同类任务自动注入照做。
|
|
27
|
+
- The lesson library now also captures "what worked": high-scoring first-pass runs distill reusable procedures, auto-injected into similar future tasks.
|
|
28
|
+
|
|
26
29
|
- 新任务类型「标书编制」:上传招标文件,AI 按评分标准逐条应答起草投标文件;资质不虚构(缺失标注待补)、应答先结论、全文自查废标风险项。
|
|
27
30
|
- New "Bid Document" task type: upload the tender file and the AI drafts point-by-point responses against scoring criteria — no fabricated credentials, conclusion-first answers, and a full disqualification-risk sweep.
|
|
28
31
|
|
package/app/core/skills.py
CHANGED
|
@@ -522,12 +522,15 @@ def bump_hits(ids):
|
|
|
522
522
|
# ---------------------------------------------------------------- 运行后自动总结(自学习闭环)
|
|
523
523
|
|
|
524
524
|
LEARN_PROMPT = """你是编排系统的复盘官。下面是刚结束的一次任务运行的评审结果与主要问题。
|
|
525
|
-
|
|
525
|
+
请把**可复用到下次同类任务**的经验提炼出来(不要复述本次剧情,不要写泛泛的套话)。
|
|
526
|
+
两类都要看:①需要规避的教训(来自问题);②**已验证有效的做法**(mengram 程序性
|
|
527
|
+
记忆借鉴:任务一次通过且分数高时,把「这次做对了什么」提炼成可复用步骤,title
|
|
528
|
+
以「做法:」开头,如「做法:先列评分点再逐条应答」)。
|
|
526
529
|
只输出一个 ```json 代码块,不要输出其他内容。JSON 结构:
|
|
527
|
-
{"lessons": [{"title": "≤14
|
|
530
|
+
{"lessons": [{"title": "≤14 字的归类(教训直接写;有效做法以「做法:」开头)", "category": "问题分类", "content": "下次必须怎么做/避免什么(≤120 字,具体可执行)"}]}
|
|
528
531
|
category 必须从以下固定枚举中选一个(贴合评审维度,不要自创类别):
|
|
529
532
|
__CATEGORIES__
|
|
530
|
-
最多 5
|
|
533
|
+
最多 5 条,只保留反复出现或影响过稿/验收的关键项;一次通过的高分运行优先提炼「做法」;没有值得沉淀的就返回空数组。
|
|
531
534
|
|
|
532
535
|
## 任务类型
|
|
533
536
|
__TYPE__
|
package/package.json
CHANGED