A88 · Owner option B · host seq 67947 · authorized upgrade/test/rollback

Rev-10 BTC no-GUI
Kline 有;Tick/ACK 仍未過

Exact source+harness,目標 host 編譯驗證,x86-64 binary under FEX,90 秒 live test,最後完整還原 r5/原 FEX_ENV/原 passive conf。

124 / 124
ASan/UBSan harness

60k fuzz;0 failure。

33
BTC Kline push

Rev-10 push_kline_0x1844。

0
BTC Tick / response

tick=0;rsp_0x1843=0;timeout。

ROLLBACK
Original restored

r5 mapped、r10 absent、env/conf exact。

1. Build gate

Source109,404 B · b76a7faa5c7eb1899ab712d5e977e046e1db6ed85a2fe81ff92222475a84f4a6
Harness31,284 B · 2bf8845eee855df0b2f1bf8eca0db88edab5d4113bd98259c3eecdebb761240d
Remote harness124 checks/0 failures/R10_ASAN_UBSAN_RESULT=PASS
Deployed binaryx86-64 · 113,288 B · c306bfd136c657768cb047dc822c94b799048cc90c5d96909e4b2059d672b640
Target compile noteARM host native g++ 會產生 AArch64,唔可 preload x86 FTNN;第一次 mapping gate 即停並自動 rollback。第二次用同 source、本地 x86-64 build,FEX loader/maps PASS。
Warning目標 headers 對兩個 tap-log write() 報 unused-result;remote harness 以 -Wno-error=unused-result 跑,問題已記錄,source 無修改。

2. Live procedure

  1. 保存 current PID 380526 env/cwd、r5 pin、passive conf pin,寫 0600 rollback JSON。
  2. 停止 r5 FTNN,啟動 exact same env,FEX_ENV 只將 r5 path 換成 Rev-10 x86-64;maps 驗 r10 present/r5 absent。
  3. Rev-10 先 passive;再原子 arm BTC sid12000015:bits 0,1,35,10001+0x1811 pull。
  4. 量 90 秒:event log/status/CPU/RSS。
  5. stop Rev-10;以原 env/cwd 啟 r5;核 r5 mapped、r10 absent、FEX_ENV exact、old conf SHA exact。

3. Live results

Event/metricResult
config_armed1;targets=1;bits=0,1,35,10001
sent_batch_0x18431;seq=2;mkt=17;count=1;bytes=47
sent_pull_0x18111;seq=3;count=8
rsp_0x18430
req_timeout1(seq=2)
sub_0x1843_retry_queued1(reason=timeout;測窗結束前未重試)
push_kline_0x184433
push_tick_bit350
statussub_ok=0、tk_n=0、tk_items=0、kl_n 升至15;ABI mask 0→5→13→29
ResourcesCPU 37.833% one-core;RSS +1,221,136 KiB(新 FTNN cold start/window,唔等同 steady-state)

4. 判定

5. Rollback

Restored PID387910
r5 mappedtrue
r10 absenttrue
FEX_ENV exacttrue
passive conf exacttrue

6. 下一步建議

  1. 維持 rollback r5 現況;唔重試同一 request。
  2. 要再做,先修/驗 0x1843 callback ABI 或 response dispatcher,令 rsp_0x1843 真正落盤。
  3. Tick capture 要獨立 golden live frame;Kline PASS 唔代表 bit35 PASS。
  4. 修 tap_log partial-write warning,避免 evidence log 短寫。
  5. 資源量度要用已暖機同一進程做 A/B;今次 cold-start RSS 增量唔用作性能結論。

7. Evidence

Build JSON · 4,057 B · 9cdaa519d1d72820933b75cdb75cafaf3044a1e50c0f2768f158dae673a74ca9

Live result JSON · 2,718 B · 6074e7bdb961285db529fb8f046e68837c66f4e63cf99b702429bb1f8b1695a1

Live JSONL · 12,381 B · 640bb24c1f09988f9ae9bcfba0faab21a917afee28ff980b72ebc7c8bfb05372

{
  "cpu_percent_one_core": 37.833,
  "duration_requested": 90,
  "elapsed_seconds": 110.171,
  "log_windows": {
    "/root/.local/share/fex-emu/RootFS/Ubuntu_24_04/tmp/a88-rev10/rev10-live.jsonl": {
      "appended_bytes": 0,
      "rows": 0
    },
    "/tmp/a88-rev10/rev10-live.jsonl": {
      "appended_bytes": 12381,
      "rows": 45
    }
  },
  "new_alive_after_test": true,
  "new_binary_sha256": "c306bfd136c657768cb047dc822c94b799048cc90c5d96909e4b2059d672b640",
  "new_maps_gate": true,
  "new_pid": 386842,
  "observe_seconds": 90.0,
  "old_pid": 380526,
  "restored_pid": 387910,
  "rollback_checks": {
    "fex_env_exact": true,
    "old_conf_exact": true,
    "r10_absent": true,
    "r5_mapped": true
  },
  "rollback_pass": true,
  "rss_delta_kib": 1221136,
  "schema": "A88_REV10_LIVE_TEST_V1",
  "stop_new_signal": "SIGKILL",
  "stop_old_signal": "SIGKILL",
  "summary": {
    "event_counts": {
      "config_armed": 1,
      "push_kline_0x1844": 33,
      "req_timeout": 1,
      "sent_batch_0x1843": 1,
      "sent_pull_0x1811": 1,
      "sub_0x1843_retry_queued": 1,
      "sustained_status": 7
    },
    "responses": [],
    "rows": 45,
    "sid_counts": {
      "0": 1,
      "12000015": 41
    },
    "status_tail": [
      {
        "kl_n": 0,
        "kl_sil_ms": -1,
        "malformed": 0,
        "offscope": 0,
        "resubs": 0,
        "sub_ok": 0,
        "timeouts": 0,
        "tk_gaps": 0,
        "tk_items": 0,
        "tk_n": 0,
        "tk_sil_ms": -1,
        "uptime_s": 30
      },
      {
        "kl_n": 0,
        "kl_sil_ms": -1,
        "malformed": 0,
        "offscope": 0,
        "resubs": 0,
        "sub_ok": 0,
        "timeouts": 0,
        "tk_gaps": 0,
        "tk_items": 0,
        "tk_n": 0,
        "tk_sil_ms": -1,
        "uptime_s": 35
      },
      {
        "kl_n": 0,
        "kl_sil_ms": -1,
        "malformed": 0,
        "offscope": 0,
        "resubs": 0,
        "sub_ok": 0,
        "timeouts": 0,
        "tk_gaps": 0,
        "tk_items": 0,
        "tk_n": 0,
        "tk_sil_ms": -1,
        "uptime_s": 41
      },
      {
        "kl_n": 4,
        "kl_sil_ms": 2128,
        "malformed": 0,
        "offscope": 0,
        "resubs": 0,
        "sub_ok": 0,
        "timeouts": 0,
        "tk_gaps": 0,
        "tk_items": 0,
        "tk_n": 0,
        "tk_sil_ms": -1,
        "uptime_s": 46
      },
      {
        "kl_n": 15,
        "kl_sil_ms": 0,
        "malformed": 0,
        "offscope": 0,
        "resubs": 0,
        "sub_ok": 0,
        "timeouts": 0,
        "tk_gaps": 0,
        "tk_items": 0,
        "tk_n": 0,
        "tk_sil_ms": -1,
        "uptime_s": 51
      }
    ]
  },
  "ts_utc": "2026-11-28T14:04:49Z"
}

8. 版本紀錄

第 1 版 · 2026-11-28 · host seq 67947。第一次 AArch64 candidate mapping gate 失敗後自動 rollback;第二次 x86-64 test 完成再 rollback。