任务1 全量改写执行: - run_rewrite.py 对客户库缓存 1,427 条逐条改写,按 template_id+脚本序号落盘 output/rewritten/(497 FULL_AUTO + 30 PARTIAL + 85 HARD + 815 NO_S3) - 人工作业单 115 份(PARTIAL 30 + HARD 85),每份附原文/已改部分/余留模式/建议改法/工时口径 - 自动化率 81.2% 复现 C4 实测,0 误改 任务2 facade 动词表运行时: - ScriptFacade 把 31 改写目标动词 + bindField 作为 Groovy 闭包注入 Bindings (PoC enableButton 模式扩展);服务端语义动词直接求值,UI 语义动词捕获为 amis 事件动作指令 JSON(actionType/componentId/args) - 保真层纪律:全在 com.eip4 现代层,com.dsasp 源码零改,ArchUnit 复跑通过 - ScriptExecuteController 提供 /api/script/execute 与 /api/script/execute-template 验证: - 单测 17 方法逐动词覆盖,均经真实 Groovy 过保真层引擎,BUILD SUCCESS - 集成 6 条真实 FULL_AUTO 改写脚本经 8086 执行,amis 指令协议合规 - 回归 PoC script-test 通过,ArchUnit 架构纪律通过 报告 tools/s3_rewriter/P4脚本迁移执行报告.md;新坑入 docs/迁移手册.md 5.39/9.3 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"total_scripts": 1427,
|
|
"label_counts": {
|
|
"NO_S3": 815,
|
|
"FULL_AUTO": 497,
|
|
"PARTIAL": 30,
|
|
"HARD": 85
|
|
},
|
|
"s3_total": 612,
|
|
"automation_rate": 81.2,
|
|
"rule_hit_counts": {
|
|
"addFieldOption": 271,
|
|
"balanced_setFilter": 187,
|
|
"getContainerDataSource": 159,
|
|
"removeAllItems": 126,
|
|
"getValue": 122,
|
|
"addSubTableButton": 108,
|
|
"setValue": 73,
|
|
"setReadOnly_field": 64,
|
|
"setConvertedValue": 36,
|
|
"removeItem": 32,
|
|
"propertyDataSource_setReadOnly": 30,
|
|
"group_setReadOnly": 28,
|
|
"getDisplay": 27,
|
|
"reload": 27,
|
|
"setVisible": 26,
|
|
"setCaption": 25,
|
|
"setViewWithoutEditor": 16,
|
|
"setEnabled": 10,
|
|
"setNullSelectionItemId": 9,
|
|
"Notification_show": 7,
|
|
"setRequired": 6,
|
|
"showAddButton": 6,
|
|
"setRequiredError": 3,
|
|
"getModifyButton_setVisible": 3,
|
|
"getDetailButton_setVisible": 3,
|
|
"showDeleteButton": 2
|
|
},
|
|
"manual_workpackage_count": 115,
|
|
"manual_partial": 30,
|
|
"manual_hard": 85,
|
|
"full_auto_index_count": 497,
|
|
"templates_with_scripts": 721
|
|
} |