Files
ai4se-harness-suite/example-project/.overnight-runner/queue/default/decisions.jsonl
ning-inspire 26975e5c3a Initial commit: ai4se-harness-suite
Import harness suite (skills, installers, overnight-runner, docs) as a fresh history for InspireChina.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 09:57:41 +08:00

7 lines
3.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"at": "2026-11-06T16:34:29+08:00", "task_id": "20261106-20261106-businessrule-datadictionary-api-tests", "question": "测试失败根因判定(Plan §9.5 用例4)", "answer": "实现 bug,不是断言写错:resources/business-rules/*.yml 从未被加载进 Environment(测试中 mybatis-plus.mapper-locations=null 证明 test 的 application.yml 遮蔽了 main 的,且无 spring.config.import 引用这两个 YAML),导致 BusinessRuleConfig 恒为空、BusinessRuleProvider 的 if(!ruleConfig.isEmpty()) 分支永不进入,接口响应永远没有 config 字段;与 docs/designs/api.yaml、docs/designs/topic/businessrule.md、docs/standards/business-rule.md 三处事实文档矛盾 → 做最小修复(不改 API 契约、不改 YAML 文件内容)", "source": "agent", "rule_id": ""}
{"at": "2026-11-06T16:41:40+08:00", "task_id": "20261106-20261106-businessrule-datadictionary-api-tests", "question": "db-migration(是否执行数据库迁移脚本)", "answer": "本轮无任何 DDL/表结构变更,目标接口不读写数据库,schema.sql/data.sql 未改动,因此不执行迁移、无需回滚脚本;仅复用 TestBase 既有的 resetAll() 隔离机制", "source": "agent", "rule_id": ""}
{"at": "2026-11-06T16:41:40+08:00", "task_id": "20261106-20261106-businessrule-datadictionary-api-tests", "question": "missing-plan(plan 未写清的部分)", "answer": "① Plan §9.5 用例4 的断言以 docs/designs/api.yaml + docs/standards/business-rule.md 定义的契约为准(config 必须存在),而非以当前运行时行为为准——这是本轮唯一的实现侧改动;② RestAssured 5.3.2 的 JsonPath 走 Jayway/GPath,$[*] 写法不被支持,改用隐式遍历路径 ruleName / config.appointment.slot.minMinutes / items.code(已在实现前用探针实测确认);③ 探针文件 ProbeTmpTest.java 仅用于取事实,已删除,未留在仓库", "source": "agent", "rule_id": ""}
{"at": "2026-11-06T16:41:40+08:00", "task_id": "20261106-20261106-businessrule-datadictionary-api-tests", "question": "flaky-test(测试偶发失败)", "answer": "未观察到偶发失败:新用例连续 3 轮 10/10 全绿,全量 28/28 全绿;根因排查集中在配置装载一次性完成(@PostConstruct 缓存),无并发写入,不存在竞态,无需修复", "source": "agent", "rule_id": ""}
{"at": "2026-11-06T16:41:40+08:00", "task_id": "20261106-20261106-businessrule-datadictionary-api-tests", "question": "scope-creep(是否扩大改动范围)", "answer": "不扩大,记录 3 项发现不修:① AGENTS.md §7 示例 JSON 写 message/timestamp,与代码实际 ErrorResponse(errorCode/errorMessage/data) 不符(Plan §6.4 已记录,建议单独开一轮);② config.auth.publicEndpoints 因 Map<String,Object> 绑定被序列化为 {\"0\":...} 而非数组(属既有 Map 绑定设计的固有结果,非本轮引入);③ docs/designs/topic/businessrule.md 的\"配置路径\"列指向 application.yml→jwt.expiration / SecurityConfig(hardcoded),与现在对外暴露的 config.auth.* 来源(business-rules/auth.yml)不完全一致", "source": "agent", "rule_id": ""}
{"at": "2026-11-06T16:41:40+08:00", "task_id": "20261106-20261106-businessrule-datadictionary-api-tests", "question": "文档同步检查", "answer": "已更新:docs/standards/business-rule.md 补 4 行\"加载方式\"说明(防同类静默回归);application.yml.example 补 spring.config.import(该文件才是入库版本,真实 application.yml 被 gitignore);docs/designs/api.yaml、db-schema.md、topic/businessrule.md、topic/data-dict.md、docs/e2e-cases/ 均不涉及(契约、库表、规则与字典定义均未变)", "source": "agent", "rule_id": ""}