Commit Graph
28 Commits
Author SHA1 Message Date
ilaandClaude Opus 4.8 f95a779daa feat(osi): 实现 JKDA 档案 Create/Update 与创建请求契约(T-206)
- contract/jkda.go 补创建请求结构体(healthRecord + manageInfo + 既往史节点)
- osi/jkda.go 新增 CreateHealthRecord/UpdateHealthRecord
- osi/codes.go 登记 JKDA00001 create / JKDA00003 update serviceId 与路径
- mapping 映射创建路径(真实字典快照反查主数据)
- 代码与单测完成;真实 create 待安全测试档案与写入授权(见 tasks.md T-206 BLOCKED)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 23:11:17 +08:00
ila 12346c9923 feat(cache): 建立字典缓存快照(T-103) 2026-07-07 21:16:52 +08:00
ila 74748c084b feat(osi): 实现公开字典查询接口(T-101) 2026-07-07 20:58:13 +08:00
ila 24f03179de test(mapping): 增加健康档案映射样本基线(T-205) 2026-07-07 14:55:16 +08:00
ila 767c876519 feat(mapping): 实现健康档案映射基线(T-202) 2026-07-07 14:36:40 +08:00
ila 56e1510f6b feat(mapping): 建立码表映射基线(T-102) 2026-07-07 14:13:09 +08:00
ila cfbad76e6e feat(osi): 实现 JKDA 查询方法(T-203) 2026-07-07 10:14:40 +08:00
ila 332683eee6 feat(contract): 建立 JKDA 查询响应契约(T-201) 2026-07-07 09:35:03 +08:00
ilaandClaude Opus 4.8 801fa543d1 docs: 登记 https/TLS 延期任务 T-007 并复评 T-006
- backlog 新增 T-007(传输层 https 支持,生产前 gate,挂钩 docs/06 A10)
- 落地评审 P1-2 延期须登记要求
- progress 追加 T-006 复评结论

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 23:23:16 +08:00
ilaandClaude Opus 4.8 12039d8c46 docs: 新增 Phase 0 代码评审文档(T-001~T-005)
按全栈视角审核脚手架/签名/传输/Call/验收,记录达标判定与分级整改项

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 23:23:15 +08:00
ila 9db2e84476 fix(osi): 加固 Phase 0 验收实现(T-006) 2026-07-06 23:20:42 +08:00
ila def95efb1c feat(osi): 打通 Go 侧真实请求验收(T-005) 2026-07-06 23:03:14 +08:00
ila 2a77a4dbc1 feat(osi): 实现通用 Call 与响应判码(T-004) 2026-07-06 22:31:02 +08:00
ila 56acc01d92 feat(osi): 实现 OSI JSON 传输层(T-003) 2026-07-06 22:23:01 +08:00
ilaandClaude Opus 4.8 4a5134093b docs: 同步 T-002 完成状态并重排看板为查询先行
- T-001/T-002 标记 DONE,current-state 更新 Go 骨架现实
- 看板重排 Phase 1/2 → Q(查询)/M(映射)/D(字典+创建),查询档案不依赖字典
- osi/jkda.go 拆为 T-203(Find)/T-206(Create),显式化 Create 对字典缓存的依赖
- docs/05 加执行顺序注记

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 21:52:56 +08:00
ilaandClaude Opus 4.8 2bff3cf6cc feat(osi): 实现 MD5 头签名与请求头组装(T-002)
password=md5("ts=<ts>&ask=<ask>") 32 位小写;ask 仅参与签名不进 headers
测试向量与本地 Python 联调脚本对齐

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 21:52:48 +08:00
ila 7b5a90a104 chore: 初始化 T-001 Go 骨架 2026-07-06 20:54:23 +08:00
ilaandClaude Opus 4.8 baff3ae0ef chore: T-000 完成——清理失效测试目录
tests/ 从未被 git 跟踪,本地直接删除;看板与进度同步

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:46:37 +08:00
ilaandClaude Opus 4.8 5e9d388634 docs: 接入 harness coding 执行工件
- tasks.md 任务看板(路线图阶段0~2拆为14个小步任务,一次领一个)
- progress.md 只追加执行流水(补记文档初始化与JKDA00002联调)
- docs/current-state.md 可覆盖当前快照(pre-code现实+已验证事实)
- init.sh 统一验证入口(无 go.mod 时指向 T-001)
- AGENTS.md 通用 agent 薄入口;CLAUDE.md 会话启动改为三件套流程

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:09:54 +08:00
ilaandClaude Opus 4.8 b5033af0ac chore: gitignore 补挡敏感文件与本地产物
账号.txt/联调脚本及样本(含真实凭据与身份证)、__pycache__、本地工作区文件不入库

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:09:54 +08:00
ilaandClaude Opus 4.8 d7b769742b docs: 依 JKDA00002 联调实测校准接口契约
- 成功码实测为字符串 "01"(docx 误写 "1"),判定按去前导零
- 查询类同走 uploadinfo 信封(baseInfo+manageInfo),非裸 baseInfo
- 三种机构码分层:18位统信码 / 9位机构码 / 12位区划码
- docs/04 新增 §8 JKDA00002 实测契约(请求信封+响应结构,已脱敏)
- docs/06 回填 A1~A9/B3/B6/C3/D2/D3 联调状态

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:09:43 +08:00
ilaandClaude Opus 4.8 1fd256993b docs: 新增厂家联调清单(docs/06)
可直接发对接人的索要清单,分 A 凭据/环境、B 契约补漏、C 业务规则、
D 真实样本、E 联调支持五组,带回填状态;含 OSI 内网 host + SOCKS5
代理地址、签名校验样例、checkId/完整度等关键确认项。同步 docs/README 索引。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 16:00:48 +08:00
ilaandClaude Opus 4.8 4594f02378 docs: 明确 OSI 访问为 host+proxy 组合及代理语义
- socks5_proxy 扶正为必填(OSI 主机在内网、不可直连,经 SOCKS5 到达)
- 作用域限定:代理仅用于 OSI 客户端,PHIS 走直连
- 访问语义:非空即强制走代理、不因代理故障回退直连,空才直连;
  代理不通按网络错误如实失败,交重试/熔断处理

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 15:53:14 +08:00
ilaandClaude Opus 4.8 6204da871e docs: 目录布局改为扁平结构,与 chis_upload 对齐
按团队 AGENTS.md 的扁平偏好,弃用 internal/+cmd/,改为顶层平铺包 +
单 main.go(-mode server|deliver)。同步更新 docs/03 目录结构图与 §4.4、
docs/05 路线图措辞、CLAUDE.md 目录职责表。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:10:18 +08:00
ilaandClaude Opus 4.8 e1fe1a92e6 chore: 源材料不入库,改为本地留存
将厂家"内部资料注意保密"的 OSI 规范 docx/xlsx 从版本控制移除(git rm --cached,
保留本地文件),并在 .gitignore 中忽略 *.docx/*.xlsx;CLAUDE.md 同步说明。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:10:18 +08:00
ilaandClaude Opus 4.8 3498542b07 docs: 初始化 chis_osi 设计文档与协作规范
- docs/: OSI 接口规范分析、旧项目架构评估、目标架构设计、字段与接口映射、实施路线图
- CLAUDE.md: 协作规则(项目认知、osi/mapping/pipeline 三层技术约束、安全/验证、提交规范)
- .gitignore: 补充项目特定忽略(config.yaml/logs/样本等)
- 随项目留存厂家 OSI 规范源材料(docx/xlsx,内部保密,仅限本私有仓库)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:10:17 +08:00
ila 18bf9a82af 更新 README.md 2026-05-30 13:02:16 +08:00
ila 1a3fa26906 Initial commit 2026-05-30 00:20:59 +08:00