From d4e7cdd5b53e97666afb40c512223def0401539c Mon Sep 17 00:00:00 2001 From: boris Date: Mon, 14 Sep 2026 22:39:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E8=B4=A6=E5=8A=A1=E5=86=8D?= =?UTF-8?q?=E6=8A=95=E6=9D=A5=E6=BA=90=E4=B8=8E=E6=B5=81=E5=BC=8F=E5=AE=8C?= =?UTF-8?q?=E6=95=B4=E6=80=A7Linux=E9=AA=8C=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../linux-tests.json | 40 ++++++++++++ .../reinvestment-origin-20260914/runtime.json | 61 +++++++++++++++++++ docs/reinvestment-origin-20260914.md | 10 ++- 3 files changed, 110 insertions(+), 1 deletion(-) create mode 100644 docs/evidence/reinvestment-origin-20260914/linux-tests.json create mode 100644 docs/evidence/reinvestment-origin-20260914/runtime.json diff --git a/docs/evidence/reinvestment-origin-20260914/linux-tests.json b/docs/evidence/reinvestment-origin-20260914/linux-tests.json new file mode 100644 index 0000000..478a241 --- /dev/null +++ b/docs/evidence/reinvestment-origin-20260914/linux-tests.json @@ -0,0 +1,40 @@ +{ + "source": "/srv/fidc/programs/runtime-snapshots/reinvestment-20260914-dBw0O5", + "build": "/srv/fidc/canonical/build/reinvestment-20260914-dBw0O5", + "commits": { + "fidc-backtest-engine": "984f9d308dbddec8134b8aed249f82b962839505", + "fidc-backtest-service": "234d85bdb8ed12b552ba8e9eff47fddc5e683acc", + "fidc-trading-platform": "d7d492541e60eb16e58dbff74b664b8ac85f6ccf" + }, + "source_unchanged": true, + "results": [ + { + "repository": "fidc-backtest-engine", + "exit_code": 0, + "elapsed_seconds": 54.005, + "passed": 901, + "failed": 0, + "ignored": 9, + "log_sha256": "ed7d00793dbbb037b9c806687841de00507ef8f59a174ab4c6ab38cbd419fe35" + }, + { + "repository": "fidc-trading-platform", + "exit_code": 0, + "elapsed_seconds": 88.008, + "passed": 625, + "failed": 0, + "ignored": 63, + "log_sha256": "d4c6e129353c9cb738bb277c68bd390ac8b1e8df4db44340bd63e71fd60fa9da" + }, + { + "repository": "fidc-backtest-service", + "exit_code": 0, + "elapsed_seconds": 110.01, + "passed": 594, + "failed": 0, + "ignored": 16, + "log_sha256": "57cd4b3f900f01f74864a1bb07a726b5d350b42384153f9094d9f316ddb7063c" + } + ], + "available_bytes": 87221923840 +} diff --git a/docs/evidence/reinvestment-origin-20260914/runtime.json b/docs/evidence/reinvestment-origin-20260914/runtime.json new file mode 100644 index 0000000..1fb38d2 --- /dev/null +++ b/docs/evidence/reinvestment-origin-20260914/runtime.json @@ -0,0 +1,61 @@ +{ + "observed_date": "2026-09-14", + "status": "tested_not_deployed", + "source_snapshot_manifest_sha256": "8452dc9dedb6b3b3a48f37a572f4fe653728c856eda9aedd2644079448a55d65", + "immutable_source_file_count": 978, + "test_scope": "fidc-reinvestment-check-20260914-dBw0O5.scope", + "test_cpu_quota_percent": 400, + "test_memory_max_gib": 12, + "source_runtime_commit": "d5b682c6d09704ff23d725a8dd8b155db3eb6967", + "source_runtime_pid": 1700096, + "source_runtime_changed": false, + "runtime_services": [ + { + "service": "omniquant-highmem177.service", + "pid": 987464, + "state": "active", + "version": "v2026.9.14.8" + }, + { + "service": "fidc-backtest-service-highmem177.service", + "pid": 4108679, + "state": "active", + "exe_sha256": "5933b7423c6722e5fe644a604c915a27ceb89900f690b092d1689bfe0fe389b7" + }, + { + "service": "fidc-paper-trading-highmem177.service", + "pid": 3765829, + "state": "active", + "exe_sha256": "3ebd7ce815e325ff0bb38632ef5b5e5cd5aff7a4e0601ba0229feb3201cdefe3" + }, + { + "service": "fidc-live-trading-highmem177.service", + "pid": 3765783, + "state": "active", + "exe_sha256": "1f4b2d697accdbb76d89cd7cb9c3ae4dad942d86e3dde2e7d211eee5879b9144" + }, + { + "service": "fidc-strategy-runtime-highmem177.service", + "pid": 3765705, + "state": "active", + "exe_sha256": "5a160ba9588f0ba9275f7d33152667be176cece310fc3026d4c043d897d44b4c" + }, + { + "service": "fidc-trading-control-highmem177.service", + "pid": 3765532, + "state": "active", + "exe_sha256": "9feade5eed04007595f6ef88e076a3f501631b06cb6dc9d9b6d7f5be379b0a20" + } + ], + "engine_development_checkout": "984f9d308dbddec8134b8aed249f82b962839505", + "preserved_service_development_checkout": "5991e7733d9e2a770f740e971924b12cc5f7d29d", + "production_order_or_cancel_requests_by_this_verification": 0, + "production_task_configuration_writes_by_this_verification": 0, + "remaining": [ + "Source freeze authorization and physical partition validation", + "Actual Source and Runner shadow joint acceptance", + "Unaccepted Arrow performance candidate gate", + "Successor data scope, target state, cleared-position references and cross-mode ETF matrix" + ], + "source_runtime_tracked_clean": true +} diff --git a/docs/reinvestment-origin-20260914.md b/docs/reinvestment-origin-20260914.md index 0c46a11..ae857ef 100644 --- a/docs/reinvestment-origin-20260914.md +++ b/docs/reinvestment-origin-20260914.md @@ -8,7 +8,7 @@ 保留此价格/数量/费用合同,新增明确`FillOrigin::DividendReinvestment`及结算入账时刻。普通市场成交默认来源不序列化,旧普通字段和原历史不改写。账务来源不得携带委托编号、市场时钟或手续费;规则由Core验证。 -## 实際错误与修复 +## 实际错误与修复 - 红利再投缺来源/时间,被手工公司行为复算当作09:30市场成交,09:15的回报因此报“future financial fact”。现在正常与复算使用同一结算模型,账务分配按结算阶段处理,不伪造或重跑市场订单。 - 已观察时点的原账务记录保留。迟到成交改变已知权益后,重新计算账务分配并记录校正;它不是不能改变的交易所成交。1000股额外买入的例子,最终2200股,与及时观察对照一致,权益现金调整155。 @@ -28,3 +28,11 @@ Runner对明确账务来源生成独立记录,不要求或伪造委托。API 旧价8.95、100股、零费用仍相同;无委托来源及进度覆盖、周末观察、迟到权益再投、非法来源拒绝、缺参考原子失败和退市现金保留均有专项。机械字段迁移时重复插入和测试导入问题在编译阶段纠正,不计作业务通过。 本次只证明这些边界,不等于真实Source/GT权益到账或全参数完成。仍须做后继证券范围、目标状态、持仓清空后参考与跨模式ETF的完整核对;实际Source/Runner及Arrow候选准入仍受Source冻结约束。Linux和发布证据另列,不能复用旧ZAnvlO等收据。 + +## Linux配套验收 + +已推送:Engine984f9d3、Service234d85b、Tradingd7d4925、UId9f7907d(双远端)、Agentc739854。177引擎开发树已ff到984,保留Service并行5991e77。978文件只读`reinvestment-20260914-dBw0O5`快照与独立build根,4CPU/12GiB、boris执行、1GiB空间线保持。 + +Linux Core901、Trading625、Runner/API594全部通过,源码前后不变;原9/63/16项ignore不计。新收据[linux-tests.json](evidence/reinvestment-origin-20260914/linux-tests.json)及[runtime.json](evidence/reinvestment-origin-20260914/runtime.json)。本批测试已结束,不重复启动或覆盖历史收据;无新的release构建和发布tag。 + +生产UI及五后端PID/实际SHA保持前阶段值,Source d5/PID1700096、tracked clean。没有生产重启、配置/账户/通知写入或实际券商请求;完整Goal继续剩余矩阵与正式数据准入。