A88 · host seq 67922 / 67932 · authorized old-host scope

BTC 2B 背景訂閱
無 GUI、可回滾實測

目標:舊機 FTNN 現有進程,不重啟,短暫啟用 BTC sid 12000015 bit35+bit10001,量度 0x1844/tick,再逐 byte 還原原 probe config。

30
0x1844 Kline raw

90 秒 BTC bit10001 push。

0
Tick events

bit35 未見;屬 blocker,唔冒稱成功。

0.90%
FTNN CPU / one core

RSS delta −680 KiB;進程存活。

RESTORED
Config rollback

測前 SHA 完整還原;FTNN 冇 restart。

1. Gate 與真實 live 狀態

SSH/tmux指定 key 認證成功;root;所有操作喺 tmux A88-ftnn;私有 0600 command log。
FTNN PID3391883,cmd ./FTNN --disable-gpu,FEX;測前 RSS 約 1.54 GiB。
有效 confBTC_PROBE_CONF=/tmp/a40t/passive2.conf,唔係 handoff 假設嘅 /tmp/btc_probe.conf;測前只係 mode=passive。
Loaded probelibbtc_probe_r5.so+scopefix4+csvshim4+PB tap v61;唔係 Rev-10。
Rollback/tmp/a25c/ROLLBACK_env_current_20261125.txt,214 B,SHA-256 c55f56ec52034908e3dc9c8a34a3b2353ffaca66c600821ff7822b19a228ff93,MATCH。

2. 測試程序

  1. 核 PID、conf expected SHA、rollback artifact、key metadata。
  2. 原 conf 備份到 0700/0600 remote private dir。
  3. 原子換入:mode=2b_raw、sec_ids=12000015、sub_tick=1、sub_kline=1、sub_batch=1。
  4. 等 probe 5 秒 reload,量 90 秒;讀 append log、FTA4 tap snapshot、CPU/RSS。
  5. finally 原子還原原 conf;等 6 秒 reload;核 SHA、PID 存活。

3. 可核結果

項目結果
JSONL appended2,752 B;35 rows
BTC requestsroute_b_sent_0x1843=1;sent_pull_0x1811=1
BTC Klinepush_kline_0x1844_raw=30/90 秒
BTC Tick0;binary tap snapshot亦無新 BTC tick event
Conf測前 passive SHA 4a25e0ec…;測中 SHA 6f9b83cf…;測後恢復原 SHA,PASS
ProcessCPU 0.900% one-core;RSS −680 KiB;FTNN alive

4. Blocker/判定

5. 建議下一步

  1. 保持原 passive config(已還原)。
  2. Owner/Host 選一:A)只讀確認 r5 bit35 編碼/回執;B)按已核 Rev-10 runbook+rollback 升級後重測。
  3. 重測驗收必列:request seq、rsp err/result/max_sub_count、BTC tick_key/match_ms、tick gaps、Kline count、timeout/resub、CPU/RSS。

6. Evidence

a88-btc-activate-test.json · 2,053 B · SHA-256 e55e75ff0b1c6c9fdcd3d4edb964b35c3168b558f1f729bfa2bd5fdd1e412318

{
  "active_conf_sha256": "6f9b83cf3055e8ca2a62cc376f682f635ee1e48ad9e86a9d3d056629fb8849ce",
  "after": {
    "conf": {
      "bytes": 64,
      "exists": true,
      "mtime_ns": 1795873036658155325,
      "sha256": "6f9b83cf3055e8ca2a62cc376f682f635ee1e48ad9e86a9d3d056629fb8849ce"
    },
    "log": {
      "bytes": 25916705,
      "exists": true,
      "mtime_ns": 1795873136652471373,
      "sha256": null
    },
    "proc": {
      "rss_kib": 1614980,
      "stime": 138642,
      "utime": 1146341
    },
    "tap": {
      "bytes": 1216090,
      "exists": true,
      "mtime_ns": 1795569195544648180,
      "sha256": null
    }
  },
  "before": {
    "conf": {
      "bytes": 47,
      "exists": true,
      "mtime_ns": 1795569467604751741,
      "sha256": "4a25e0ec7d878199530aaa5a1e875756ca58e3079f71e8adeb5713a06bcc2c2d"
    },
    "log": {
      "bytes": 25913953,
      "exists": true,
      "mtime_ns": 1795873021374102133,
      "sha256": null
    },
    "proc": {
      "rss_kib": 1615660,
      "stime": 138612,
      "utime": 1146281
    },
    "tap": {
      "bytes": 1216090,
      "exists": true,
      "mtime_ns": 1795569195544648180,
      "sha256": null
    }
  },
  "cpu_percent_one_core": 0.9,
  "duration_requested": 90,
  "elapsed_seconds": 107.121,
  "ftnn_alive_after": true,
  "gate": "PASS",
  "jsonl_window": {
    "appended_bytes": 2752,
    "btc_events": {
      "push_kline_0x1844_raw": 30,
      "route_b_sent_0x1843": 1,
      "sent_pull_0x1811": 1
    },
    "events": {
      "push_kline_0x1844_raw": 30,
      "route_b_sent_0x1843": 1,
      "sent_pull_0x1811": 1,
      "sniff_send_cmd": 3
    },
    "rows": 35,
    "sids": {
      "12000015": 32
    }
  },
  "observe_seconds": 90.0,
  "pid": 3391883,
  "restored": true,
  "rss_delta_kib": -680,
  "schema": "A88_BTC_ACTIVATE_TEST_V1",
  "tap_decode_after_error": null,
  "tap_decode_before_error": null,
  "tap_new_btc_events": 0,
  "tap_new_btc_type_counts": {},
  "tap_new_tick_seq_gaps": 0,
  "target_sid": 12000015,
  "ts_utc": "2026-11-28T13:39:03Z"
}

7. 版本紀錄

第 1 版(初版) · 2026-11-28 · host seq 67932。之前版本:無。