agentic-flow-kit 1.1.5 → 1.1.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-flow-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "AI-Native 闭环工作流 + wiki 知识层脚手架——flow-kit init 一条命令为新项目装好 .agents 工作流引擎(阶段命令/角色契约/门禁钩子/kb 检索/看板/规则面预算)+ workflow 文档闭环 + wiki 知识库,装完自包含、零运行时依赖",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -382,12 +382,17 @@ for (const plan of docFiles('plans')) {
|
|
|
382
382
|
// 样例引用豁免(2026-10-02 caliber-convergence 假阳性消除,先例=检查 18 行尾归一):命中位于行内代码
|
|
383
383
|
// (反引号包裹)或围栏代码块内 = 引用样例而非未填占位符,不报;正文裸占位符照报——真占位符均为
|
|
384
384
|
// 裸文本(模板正文无反引号包裹),检测面不缩。
|
|
385
|
+
// 日期显示格式豁免(2026-10-06 check2-datetime-literal-exempt):`YYYY-MM-DD HH:mm(:ss)` 是功能
|
|
386
|
+
// 自实现的显示格式描述(文档叙述「匹配时间列显示为 YYYY-MM-DD HH:mm」属常态——cancel-export
|
|
387
|
+
// intent/plan 实证 2 条 advisory、2026-10-06 loop-audit intent 现场复现),非未填占位——行内剔除
|
|
388
|
+
// 后再判;真占位(`日期: YYYY-MM-DD`,无时间后缀)不含该形态仍拦。只豁免实证形态,变体(斜杠日期
|
|
389
|
+
// /十二小时制等)出现假阳性再扩。
|
|
385
390
|
const stripSamples = (lines) => {
|
|
386
391
|
let inFence = false;
|
|
387
392
|
return lines.map((line) => {
|
|
388
393
|
if (/^\s*(```|~~~)/.test(line)) { inFence = !inFence; return ''; }
|
|
389
394
|
if (inFence) return '';
|
|
390
|
-
return line.replace(/`[^`]*`/g, '');
|
|
395
|
+
return line.replace(/`[^`]*`/g, '').replace(/YYYY-MM-DD\s+HH:mm(:ss)?/g, '');
|
|
391
396
|
});
|
|
392
397
|
};
|
|
393
398
|
const groups = new Map(); // file -> [ "行号:内容" ](首现序)
|
|
@@ -813,6 +813,28 @@ check('检查2 plan 真实未填占位(日期: YYYY-MM-DD)→ 仍报模板
|
|
|
813
813
|
r2.status === 0 && outOf(r2).includes('模板未填'), `exit=${r2.status}\n${outOf(r2)}`);
|
|
814
814
|
rmfix(T);
|
|
815
815
|
}
|
|
816
|
+
// ---- 场景 45c:检查 2——日期显示格式字面量豁免;纯占位仍报(2026-10-06 check2-datetime-literal-exempt)----
|
|
817
|
+
// 日期取 2026-09-26(< 确认门 v1 锚 2026-09-27,豁免检查 15 存量面——沿 5x 块先例),避免 hard 干扰本断言
|
|
818
|
+
{
|
|
819
|
+
const T = mkfix();
|
|
820
|
+
w(T, 'workflow/intents/2026-09-26-dt1.md', INTENT('dt1', '状态: done\n级别: L1\n日期: 2026-09-26',
|
|
821
|
+
'\n匹配时间列格式简化为 YYYY-MM-DD HH:mm;同款括号形态(YYYY-MM-DD HH:mm)与秒级 YYYY-MM-DD HH:mm:ss 均为格式描述。\n'));
|
|
822
|
+
w(T, 'workflow/plans/2026-09-26-dt1.md', PLAN('dt1', '状态: done\n级别: L1'));
|
|
823
|
+
const r1 = run(T);
|
|
824
|
+
check('检查2 裸写 YYYY-MM-DD HH:mm(:ss) 显示格式描述 → 不报模板未填',
|
|
825
|
+
r1.status === 0 && !outOf(r1).includes('模板未填'), `exit=${r1.status}\n${outOf(r1)}`);
|
|
826
|
+
rmfix(T);
|
|
827
|
+
}
|
|
828
|
+
{
|
|
829
|
+
const T = mkfix();
|
|
830
|
+
w(T, 'workflow/intents/2026-09-26-dt2.md', INTENT('dt2', '状态: done\n级别: L1\n日期: 2026-09-26',
|
|
831
|
+
'\n匹配时间列格式简化为 YYYY-MM-DD HH:mm(合法格式描述);另有真占位 日期: YYYY-MM-DD 在同文档。\n'));
|
|
832
|
+
w(T, 'workflow/plans/2026-09-26-dt2.md', PLAN('dt2', '状态: done\n级别: L1', '\n- 日期: YYYY-MM-DD\n'));
|
|
833
|
+
const r2 = run(T);
|
|
834
|
+
check('检查2 同文档混真占位(无时间后缀)→ 格式描述豁免不吞真占位,仍报',
|
|
835
|
+
r2.status === 0 && outOf(r2).includes('模板未填'), `exit=${r2.status}\n${outOf(r2)}`);
|
|
836
|
+
rmfix(T);
|
|
837
|
+
}
|
|
816
838
|
// ---- 场景 46:检查 6——薄适配正文含 .agents/roles/<role>.md 引用 → 不报 Adapter 断线 ----
|
|
817
839
|
{
|
|
818
840
|
const T = mkfix();
|