Commit Graph
39 Commits
Author SHA1 Message Date
gitea 893422d8fe docs: 补充循环筛选与付款明细映射操作规范
记录费用类型选择器回显结构、并行配置回读、业务金额来源及源字段类型、逐项入库关联和循环聚合引用。
说明空列表布尔兼容方案、无明细不创单不回写,以及草稿创建与送审付款之间的验证边界。

同步随包Skill入口及工作流域说明,使用通用示例,不提交客户配置、单据或凭证。
验证:文档链接与选择器JSON示例检查通过;完整测试892项及类型检查通过。
2026-10-28 17:24:09 +08:00
gitea 019d6ba4b7 fix: 检查工作流循环筛选选择器并展示并行配置
为原生 every 费用类型筛选增加只读软诊断,区分物理字段键与右值选择器,提示缺失显示信息、损坏描述符和无效批次大小。
节点摘要展示筛选范围、顺序或并行及显式配置的批次大小,不自动改写工作流或补入默认值。

验证:bun test 共892项通过;bun run check、版本一致性与git diff --check通过。
新增回归覆盖固定与动态选择器、异常描述符、并行参数及输入不变性;客户配置快照仅在忽略目录中作只读验证。
2026-10-28 17:24:00 +08:00
gitea 7423e166a1 feat: 完善工作流工具链与大结果保护
- 工作流节点描述增加服务端托管黑名单,仅代码节点保留自定义 desc
- 工作流保存新增 --in-place,并改进版本冲突提示
- platform records 新增 --page 分页,--all 强制走 ndjson 文件流
- platform schema 展示 ownerId/submitterId 等系统字段
- 更新 Agent Skill 的代码节点 agent use 标记规范
- 补充对应测试与文档
2026-10-28 13:01:11 +08:00
gitea 1d24c022ab fix(workflow): 复刻前端保存的 $platformId 与 chooses 刷新
- 全量保存时自动补充 inputs: [{$platformId}],避免平台把内置节点 desc 重置为「」
- 保存后调用 pipelines/{id}/chooses,与前端“保存更新”保持一致
- createWorkflowDetailClient 返回当前 platformId,node add/edit/map/rm 保存路径传入
- 更新保存/节点编排测试 mock,重新生成 dist/mcp/server.js
2026-10-28 10:56:02 +08:00
gitea 1a2e485caa feat(workflow): 支持节点 displayName 并限制 20 字标题
- 新增 --display-name,写入设计器真正持久化的节点标题 displayName;--label 保留为节点类型标题
- 新增/编辑/映射节点统一校验节点标题不超过 20 个 Unicode 字符,超出时本地直接拒绝
- 节点列表与详情优先展示 displayName,并在使用 --label 时提示服务端可能重新生成
- 记录后端不限制长度、仅前端设计器限制 20 字的验证结论
- 补充节点变更单测与 CLI 共享 flag 词表
2026-10-28 10:55:56 +08:00
gitea 71d1a59934 fix(workflow): 扩展字段引用扫描并收紧 choose 描述符门禁
- 字段引用检查覆盖 combineFilters、filters、conditions、flowCode、list、details 及嵌套结构
- choose 描述符 JSON 损坏或缺少有效 key 时新增 INVALID_CHOOSE_DESCRIPTOR 硬门禁
- DataLink 使用 gte/lte 时新增 DATALINK_FILTER_COMPARISON_COMPATIBILITY 软提示,不自动改写边界
- 重新生成 dist/mcp/server.js 并同步领域测试与 README 说明
2026-10-27 17:38:26 +08:00
gitea a7974abb08 fix: address Codex PR review findings 2026-10-25 22:32:45 +08:00
gitea 39a5a7e669 feat(workflow): 增强循环与字段变量引用断裂静态诊断硬门禁 (BROKEN_LOOP_ITEM_REFERENCE & BROKEN_CHOOSE_REFERENCE) 2026-10-23 18:22:32 +08:00
gitea ad771e92e0 feat(workflow & platform): optimize complex workflow orchestration, code node debug summary, MVEL simulation and entity/feetype helpers
- feat(feetype): add --subtree and --ids-only flags to listFeeTypes for direct array export
- feat(platform): add platform gen-props command to generate MVEL/JS entity field constants and templates
- feat(workflow): show code node return value summaries in workflow test and job first screen
- feat(workflow): add workflow node map sub-command and --mapping-file for deep declarative field mutations
- feat(workflow): add executeMvelSandbox for local offline simulation of MVEL code nodes
- test: add comprehensive test cases across feetype, platform gen-props, node map, and MVEL sandbox

Closes #140
2026-10-23 13:06:32 +08:00
gitea a5f685045e feat: optimize datalink metadata display, fix field mapping schema, bill timeout and cli options 2026-10-22 18:43:54 +08:00
gitea 975f76af74 feat(platform): support native server filterBy, workflow compact list and auto-corp credentials 2026-10-22 16:50:25 +08:00
gitea aea30fbcd5 feat(workflow): 准确识别工作流延时执行与在途运行状态并补全节点字典 2026-10-21 17:21:35 +08:00
gitea 88a0d97974 fix: harden workflow analysis diagnostics 2026-10-21 16:04:57 +08:00
gitea 6e40faccff feat(workflow): add docs domain and unlicensed powerCode diagnostics, webhook sample injector, and snapshot sanitizer 2026-10-21 11:42:50 +08:00
gitea 2e5e3c208c merge: integrate review-20-trigger-removal-guard 2026-10-20 23:04:05 +08:00
gitea 1e09b5b85e merge: integrate review-19-formula-diagnostics 2026-10-20 23:03:57 +08:00
gitea ec7584c194 merge: integrate review-18-watch-timeout 2026-10-20 23:03:48 +08:00
gitea 4537c6eb53 merge: integrate review-16-node-grant-failure 2026-10-20 23:03:31 +08:00
gitea 1197b5b985 merge: integrate review-15-snapshot-config-diff 2026-10-20 23:03:23 +08:00
gitea e872beaab8 merge: integrate review-14-script-json-output 2026-10-20 23:03:14 +08:00
gitea 0f781fda53 merge: integrate review-07-patch-prototype-guard 2026-10-20 23:02:15 +08:00
gitea 29841a2374 merge: integrate review-06-node-index-resolution 2026-10-20 23:02:07 +08:00
gitea a1527246da merge: integrate review-05-node-grant-confirmation 2026-10-20 23:01:59 +08:00
gitea 70d619e464 fix(workflow): propagate cancellation in latest-job snapshots 2026-10-20 23:01:00 +08:00
gitea e86c05d51a fix(workflow): protect the sole trigger when deleting task nodes 2026-10-20 18:09:11 +08:00
gitea 55c3521c48 fix(workflow): require typed evidence before blocking formula-like mappings 2026-10-20 18:08:06 +08:00
gitea 98ceb85a5c fix(workflow): distinguish watch completion from timeout and cancellation 2026-10-20 18:06:53 +08:00
gitea 3141cc3b29 fix(workflow): propagate rejected node grants to CLI failure status 2026-10-20 18:04:48 +08:00
gitea 2aea435116 fix(workflow): include mappings and structural movement in snapshot diffs 2026-10-20 18:03:45 +08:00
gitea 4c4cd42edd fix(workflow): return script JSON reports and honor output options 2026-10-20 18:02:31 +08:00
gitea d2e0d564ca fix(workflow): prevent prototype traversal and inherited CLI authorization 2026-10-20 17:52:14 +08:00
gitea f46e0e7b0a fix(workflow): distinguish hierarchical node selectors from global indices 2026-10-20 17:51:31 +08:00
gitea 0e6090a92c fix(workflow): require confirmation and honor dry-run for node grants 2026-10-20 17:50:45 +08:00
gitea 2844fd49dd fix(workflow): isolate local scripts in bounded QuickJS runtime 2026-10-20 17:47:08 +08:00
gitea 18da4cc066 feat(workflow): 显式化静态分析硬门禁与软建议边界、完善发布门禁与架构演进文档 2026-10-20 13:30:23 +08:00
gitea 0768b94d65 feat(workflow): 企业可用节点探针、灰度开通收敛与DataLink公式硬规则校验 2026-10-20 13:08:36 +08:00
gitea 103ead0fe5 fix: harden CLI parsing, MCP startup and release integrity 2026-10-17 20:32:36 +08:00
gitea 1876e8a8f2 feat(workflow): add action enums, EKB_ENUM resolver, and condition dead-filter lint 2026-10-16 13:27:32 +08:00
gitea 5aef332026 refactor(platform): organize workflow capabilities into structured submodules 2026-10-15 17:09:37 +08:00