{
  "date": "2026-11-13",
  "source_count": 16,
  "pdf_physical_pages": 2010,
  "sources": [
    {
      "id": "S01",
      "name": "C++八股文.pdf",
      "type": ".pdf",
      "pages": 1204
    },
    {
      "id": "S02",
      "name": "嵌入式八股文一网打尽版.pdf",
      "type": ".pdf",
      "pages": 318
    },
    {
      "id": "S03",
      "name": "嵌入式八股文篇(200页).docx",
      "type": ".docx",
      "paragraphs": 5413
    },
    {
      "id": "S04",
      "name": "嵌入式物联网系统软硬件基础知识大全.pdf",
      "type": ".pdf",
      "pages": 17
    },
    {
      "id": "S05",
      "name": "CAN总线.pdf",
      "type": ".pdf",
      "pages": 12
    },
    {
      "id": "S06",
      "name": "I2C.docx",
      "type": ".docx",
      "paragraphs": 33
    },
    {
      "id": "S07",
      "name": "I2C总线.pdf",
      "type": ".pdf",
      "pages": 60
    },
    {
      "id": "S08",
      "name": "MODBUS通讯协议中文版.pdf",
      "type": ".pdf",
      "pages": 127
    },
    {
      "id": "S09",
      "name": "SPI.docx",
      "type": ".docx",
      "paragraphs": 32
    },
    {
      "id": "S10",
      "name": "UART.docx",
      "type": ".docx",
      "paragraphs": 9
    },
    {
      "id": "S11",
      "name": "WIFI.docx",
      "type": ".docx",
      "paragraphs": 208
    },
    {
      "id": "S12",
      "name": "嵌入式协议总线.pdf",
      "type": ".pdf",
      "pages": 58
    },
    {
      "id": "S13",
      "name": "嵌入式通信接口.docx",
      "type": ".docx",
      "paragraphs": 112
    },
    {
      "id": "S14",
      "name": "蓝牙 - HQ.pdf",
      "type": ".pdf",
      "pages": 5
    },
    {
      "id": "S15",
      "name": "嵌入式面试必备知识大全(190页-带答案).pdf",
      "type": ".pdf",
      "pages": 190
    },
    {
      "id": "S16",
      "name": "硬件知识整理.pdf",
      "type": ".pdf",
      "pages": 19
    }
  ],
  "coverage": [
    {
      "source": "S04 p1",
      "locator": "",
      "topic": "系统定义、MCU/MPU/SoC/DSP/FPGA、软固硬IP、BSP/HAL",
      "destination": "F01",
      "handling": "合并"
    },
    {
      "source": "S04 p2",
      "locator": "",
      "topic": "硬软实时、协作抢占、轮转/优先级",
      "destination": "F01/F09",
      "handling": "更正后合并"
    },
    {
      "source": "S04 p3",
      "locator": "",
      "topic": "RISC/CISC、流水线、字节序、字长与地址宽度",
      "destination": "F04",
      "handling": "更正后合并"
    },
    {
      "source": "S04 p4",
      "locator": "",
      "topic": "组合/时序、锁存器/触发器、总线仲裁和三态",
      "destination": "F04.1/F02",
      "handling": "已补逻辑/跨域/仲裁解释"
    },
    {
      "source": "S04 p5",
      "locator": "",
      "topic": "定点/浮点、汉字GB编码",
      "destination": "F05.5",
      "handling": "已补定点浮点和GB2312/UTF8更正"
    },
    {
      "source": "S04 p5",
      "locator": "",
      "topic": "采样量化PCM、CRC/海明/奇偶",
      "destination": "F03.3/F07",
      "handling": "已补海明构造与距离边界"
    },
    {
      "source": "S04 p5–6",
      "locator": "",
      "topic": "MTBF/MTTR/可用性、测量/模型/排队",
      "destination": "F01",
      "handling": "合并"
    },
    {
      "source": "S04 p6–7",
      "locator": "",
      "topic": "Flash写擦、NOR/NAND、耐久、SRAM/DRAM/SDRAM/DDR",
      "destination": "F03",
      "handling": "更正后合并"
    },
    {
      "source": "S04 p8",
      "locator": "",
      "topic": "计数/双积分/SAR ADC与指标",
      "destination": "F07",
      "handling": "保留解释"
    },
    {
      "source": "S04 p9",
      "locator": "",
      "topic": "DAC、矩阵键盘扫描",
      "destination": "F07",
      "handling": "保留解释"
    },
    {
      "source": "S04 p9–10",
      "locator": "",
      "topic": "LCD分类/帧缓冲/VGA、触摸",
      "destination": "F07 / platform-vga",
      "handling": "显示原理归并；源无逐针表，平台篇新增有型号限定的Dell针脚实例"
    },
    {
      "source": "S04 p10",
      "locator": "",
      "topic": "PCM率、ADC/DAC与压缩、I2S",
      "destination": "F07/通信篇",
      "handling": "更正+交接I2S"
    },
    {
      "source": "S04 p17",
      "locator": "",
      "topic": "DC/DC、LDO、电荷泵、低功耗",
      "destination": "F02",
      "handling": "更正后合并"
    },
    {
      "source": "S16 p1",
      "locator": "",
      "topic": "R/C/L、锂电、电源去耦",
      "destination": "F02",
      "handling": "更正，源缺图明确"
    },
    {
      "source": "S16 p2",
      "locator": "",
      "topic": "看门狗、虚短虚断",
      "destination": "F02/F07",
      "handling": "更正后合并"
    },
    {
      "source": "S16 p3",
      "locator": "",
      "topic": "反相/非反相、跟随器、CMRR、输入输出约束",
      "destination": "F02",
      "handling": "保留公式与边界"
    },
    {
      "source": "S16 p3–4",
      "locator": "",
      "topic": "SSN、信号完整性、回流/过冲",
      "destination": "F02",
      "handling": "保留解释"
    },
    {
      "source": "S16 p5–10",
      "locator": "",
      "topic": "XIP、NOR/NAND、RAM、ROM、cache",
      "destination": "F03",
      "handling": "合并"
    },
    {
      "source": "S16 p11–12",
      "locator": "",
      "topic": "电阻电容思维图",
      "destination": "F02",
      "handling": "原图保留并逐图看过"
    },
    {
      "source": "S16 p13–18",
      "locator": "",
      "topic": "传感器、MEMS加速度/陀螺、主SoC/外MCU/独立MCU架构",
      "destination": "F02.3/F02.4/F12.2",
      "handling": "原图3种MCU拓扑及SPI层次已提取核对关联；电感图另入F02.1；限定历史和错误标签"
    },
    {
      "source": "S16 p18–19",
      "locator": "",
      "topic": "厂商和型号清单",
      "destination": "F02.4",
      "handling": "完整保留历史厂商/型号检索表；更正两款加速度计误称陀螺，疑似拼写与未核规格显式标记"
    },
    {
      "source": "S02 p18–22/S03段1–77",
      "locator": "",
      "topic": "数制、有无符号转换、补码、存储段",
      "destination": "F05/F06",
      "handling": "更正后合并"
    },
    {
      "source": "S02 p23–45/S03段78–630",
      "locator": "",
      "topic": "static/extern/const/volatile/register、sizeof/strlen、移位",
      "destination": "F05",
      "handling": "合并"
    },
    {
      "source": "S03段631–766",
      "locator": "",
      "topic": "堆栈、malloc/calloc/realloc/free、泄漏",
      "destination": "F05",
      "handling": "合并"
    },
    {
      "source": "S03段767–1226/S15 p23–30",
      "locator": "",
      "topic": "指针类型、数组/二维数组、函数指针、野指针、字符串",
      "destination": "F05",
      "handling": "合并；C++条目交接"
    },
    {
      "source": "S03段1227–1407",
      "locator": "",
      "topic": "预处理、include guard、#error、宏/inline/offsetof",
      "destination": "F05/F06",
      "handling": "合并"
    },
    {
      "source": "S15 p1–3",
      "locator": "",
      "topic": "预处理编译汇编链接",
      "destination": "F06",
      "handling": "保留"
    },
    {
      "source": "S15 p38–59",
      "locator": "",
      "topic": "LMA/VMA、ARM相对与绝对跳转、Steppingstone搬迁",
      "destination": "F06/F11",
      "handling": "历史原理保留，原反汇编不照抄"
    },
    {
      "source": "S15 p80–84",
      "locator": "",
      "topic": "typedef/extern、内存申请、mmap",
      "destination": "F05/F12",
      "handling": "合并"
    },
    {
      "source": "S15 p85–93",
      "locator": "",
      "topic": "Uboot汇编/重定位/动态重定位段、NAND烧写",
      "destination": "F06 / F11 / platform-uboot-relocation",
      "handling": "补旧版重定位、REL条目与两套地址算例；烧录命令的执行风险另列"
    },
    {
      "source": "S15 p94–99",
      "locator": "",
      "topic": "目标、先决条件、phony、include、make读取阶段",
      "destination": "F06",
      "handling": "保留"
    },
    {
      "source": "S15 p100–105",
      "locator": "",
      "topic": "通配符、VPATH、模式/静态模式、自动头文件依赖",
      "destination": "F06.1",
      "handling": "保留"
    },
    {
      "source": "S15 p106–115",
      "locator": "",
      "topic": "配方shell、递归make、export、变量展开/override、条件",
      "destination": "F06.1",
      "handling": "保留"
    },
    {
      "source": "S15 p116–122",
      "locator": "",
      "topic": "退出状态、自动变量D/F、归档成员、内建规则",
      "destination": "F06.1",
      "handling": "保留原理；归档配方不逐行转录"
    },
    {
      "source": "S15 p123/S02 p267–271",
      "locator": "",
      "topic": "shell参数、引用、临时文件、条件与循环",
      "destination": "排障篇 A4 / platform-command-boundaries",
      "handling": "参数/引用/临时文件与执行边界归并，不逐条复制历史命令"
    },
    {
      "source": "S02 p105–108",
      "locator": "",
      "topic": "供电名、限幅/中值滤波",
      "destination": "F02/F07",
      "handling": "合并"
    },
    {
      "source": "S02 p109–111/S15 p126–130",
      "locator": "",
      "topic": "ARM IRQ/FIQ经典模式与Cortex-M MSP/PSP",
      "destination": "F04/F08",
      "handling": "区分架构更正"
    },
    {
      "source": "S02 p112–119",
      "locator": "",
      "topic": "GPIO输入/输出/复用与HAL",
      "destination": "F07",
      "handling": "保留原理及配置语义；未逐幅复制工具配置截图"
    },
    {
      "source": "S02 p124–126",
      "locator": "",
      "topic": "printf重定向",
      "destination": "F-A1",
      "handling": "独立调试"
    },
    {
      "source": "S02 p127–130",
      "locator": "",
      "topic": "EXTI共享中断/清标志/回调",
      "destination": "F08",
      "handling": "保留"
    },
    {
      "source": "S02 p131–144",
      "locator": "",
      "topic": "TIM计数、频率、PWM模式/极性/死区/刹车/主从/HRTIM移相",
      "destination": "F07",
      "handling": "纠错后保留，寄存器截图未全量保留"
    },
    {
      "source": "S02 p145–150/164",
      "locator": "",
      "topic": "ADC单次连续/扫描间断/单差分/查询IRQDMA",
      "destination": "F07/F08",
      "handling": "正交分类更正"
    },
    {
      "source": "S02 p185–187",
      "locator": "",
      "topic": "PID位置式/串级、积分饱和、微分噪声",
      "destination": "F07.1",
      "handling": "已补离散位置/增量公式及边界"
    },
    {
      "source": "S02 p202–207",
      "locator": "",
      "topic": "进程/线程/死锁/锁/条件变量/页表",
      "destination": "F04/F10",
      "handling": "合并"
    },
    {
      "source": "S02 p208",
      "locator": "",
      "topic": "Code/RO/RW/ZI容量估计",
      "destination": "F06",
      "handling": "纠错后保留"
    },
    {
      "source": "S02 p209–210",
      "locator": "",
      "topic": "RTT节拍/板初始化/自动导出初始化",
      "destination": "F09",
      "handling": "保留"
    },
    {
      "source": "S02 p210–214",
      "locator": "",
      "topic": "静动态线程/typedef/参数/hook/延时",
      "destination": "F09/F-A2",
      "handling": "更正后保留"
    },
    {
      "source": "S02 p215–216",
      "locator": "",
      "topic": "硬软timer、tick精度、对象RAM",
      "destination": "F09",
      "handling": "更正后保留"
    },
    {
      "source": "S02 p217–221",
      "locator": "",
      "topic": "sem/mutex/event/mailbox/msgqueue与所有权",
      "destination": "F09/F09.1",
      "handling": "更正后保留"
    },
    {
      "source": "S02 p222–223",
      "locator": "",
      "topic": "饿死问题、RTT启动、Cortex-M向量",
      "destination": "F09/F-A2/F04",
      "handling": "更正后保留"
    },
    {
      "source": "S02 p272–286/S03段3058–3322",
      "locator": "",
      "topic": "文件、进程、forkexecwait、信号、pipeFIFO队列shm、线程池",
      "destination": "F10",
      "handling": "合并"
    },
    {
      "source": "S03段3323–3810",
      "locator": "",
      "topic": "IO复用、信号、共享内存实例",
      "destination": "F10",
      "handling": "保留原理，网络交接，未逐行保留代码"
    },
    {
      "source": "S03段3811–4035",
      "locator": "",
      "topic": "动态静态库GDB用户内核态页表缺页锁BusyBox",
      "destination": "F04/F06/F10/F11/F-A3",
      "handling": "合并"
    },
    {
      "source": "S02 p286–292",
      "locator": "",
      "topic": "JVM、Java wait/sleep/锁",
      "destination": "platform-java",
      "handling": "逐页文本核对后补JVM、wait/sleep与锁，区分Java和POSIX"
    },
    {
      "source": "S02 p293–302",
      "locator": "",
      "topic": "移植、启动、rootfs、字符设备、用户复制、中断、Oops、mmap",
      "destination": "F11/F12/F-A3",
      "handling": "保留并纠错"
    },
    {
      "source": "S02 p316–318",
      "locator": "",
      "topic": "Git分支版本协作",
      "destination": "F06 / 排障篇 A4 / platform-command-boundaries",
      "handling": "版本协作原理与危险操作边界归并；未执行Git发布操作"
    },
    {
      "source": "S03段4909–5080",
      "locator": "",
      "topic": "CPU/cache/MMU/流水线/中断DMA/kmalloc/vmalloc/devm",
      "destination": "F03/F04/F08/F12",
      "handling": "纠错合并"
    },
    {
      "source": "S03段5101–5413",
      "locator": "",
      "topic": "Uboot/内核/设备树/rootfs/iMX6ULL构建与命令",
      "destination": "F11 / F12 / platform-imx6ull",
      "handling": "提取文本全范围复核，补版本化构建/镜像头/启动参数与命令边界，不声称目标板实测"
    },
    {
      "source": "S15 p138–143",
      "locator": "",
      "topic": "S3C时钟、input设备注册上报",
      "destination": "F12.1",
      "handling": "历史阅读路线"
    },
    {
      "source": "S15 p144–152",
      "locator": "",
      "topic": "USB描述符/接口/端点/URB/枚举/传输类型",
      "destination": "F12/F12.1",
      "handling": "保留"
    },
    {
      "source": "S15 p153–154",
      "locator": "",
      "topic": "旧块请求队列",
      "destination": "F12.1",
      "handling": "历史原理，不声称当前可用代码"
    },
    {
      "source": "S15 p155–159",
      "locator": "",
      "topic": "NAND电荷阈值SLCMLC/ID/页块OOB",
      "destination": "F03/F03.1",
      "handling": "纠错后保留"
    },
    {
      "source": "S15 p160–164",
      "locator": "",
      "topic": "NAND引脚CLEALE/CEdontcare/pagebuffer/BBT/顺序编程",
      "destination": "F03.1",
      "handling": "保留并限定器件"
    },
    {
      "source": "S15 p165–171",
      "locator": "",
      "topic": "读编程擦除、列行地址周期、R/B及状态",
      "destination": "F03.1",
      "handling": "保留方法，源具体数字需复算不照抄"
    },
    {
      "source": "S15 p172–174",
      "locator": "",
      "topic": "SmartMedia/DiskOnChip/MTD/原始与管理介质",
      "destination": "F03.2/F12",
      "handling": "历史与原理"
    },
    {
      "source": "S15 p174–183",
      "locator": "",
      "topic": "S3C NAND probe扫描回调/ECC/OOB/分区挂载",
      "destination": "F12.1",
      "handling": "历史阅读路线，原函数随版本失效"
    },
    {
      "source": "S15 p184–186",
      "locator": "",
      "topic": "NOR映射CFI/JEDEC",
      "destination": "F12.1",
      "handling": "历史原理"
    },
    {
      "source": "S15 p187–188",
      "locator": "",
      "topic": "电阻触摸ADC输入/资源",
      "destination": "F12.1",
      "handling": "历史原理"
    },
    {
      "source": "S15 p189–190",
      "locator": "",
      "topic": "旧I2C attach_adapter",
      "destination": "F12.1",
      "handling": "历史边界，通信原理交接"
    },
    {
      "source": "S02 p1–15",
      "locator": "",
      "topic": "招聘时序薪资岗位面试经历",
      "destination": "F-B",
      "handling": "未逐项转录，需原材料索引保留历史信息"
    },
    {
      "source": "S03 段4364–4508",
      "locator": "",
      "topic": "strlen/strcpy/strcmp/strcat/memset/atoi",
      "destination": "F05.3.1",
      "handling": "全文读取后纠错整合，标准契约与可运行strtol替代危险实现"
    },
    {
      "source": "S16 p2",
      "locator": "",
      "topic": "A/B/AB/C/D功放类别",
      "destination": "F02",
      "handling": "补导通角/开关工作差异，D类不是数字输入的同义词"
    },
    {
      "source": "S16 p3",
      "locator": "",
      "topic": "LED七类保护职责",
      "destination": "F02",
      "handling": "补开短路/过流/温度/浪涌等目标；旁路开路LED与NTC热态限制分清"
    },
    {
      "source": "S16 p7",
      "locator": "",
      "topic": "SRAM与DRAM结构图",
      "destination": "F03",
      "handling": "两张原图提取、视觉核对并关联原理"
    },
    {
      "source": "S02 p81–96",
      "locator": "",
      "topic": "链表、二分、斐波那契与七种排序",
      "destination": "algorithms A01–A05",
      "handling": "逐页核对独有主题并补严格测试的完整程序"
    },
    {
      "source": "S02 p303–315",
      "locator": "",
      "topic": "Qt对象、布局、信号槽、线程、资源与网络",
      "destination": "network-apps N8",
      "handling": "独立应用扩展，逐页核对后补齐"
    },
    {
      "source": "S05",
      "locator": "PDF p1-3",
      "topic": "CAN定位、多节点、物理连接",
      "destination": "6.1–6.2",
      "handling": "合并重写；距离/电压/终端值不跨物理层绝对化"
    },
    {
      "source": "S05",
      "locator": "PDF p4-6",
      "topic": "标准/扩展数据帧、字段、CRC/ACK",
      "destination": "6.2–6.3",
      "handling": "条件化整编；经典数据帧字段原图已提取入6.3；填充位与FD边界有图注，非全部原帧图复刻"
    },
    {
      "source": "S05",
      "locator": "PDF p7-9",
      "topic": "遥控、错误、过载、帧间隔",
      "destination": "6.3–6.4",
      "handling": "保留机制与参数边界；6.3补遥控RTR/DLC、主动/被动错误标志及叠加、定界、间歇与被动发送暂停；按Bosch2.0 PartB核验，未复刻全部原波形。"
    },
    {
      "source": "S05",
      "locator": "PDF p9-12",
      "topic": "位时序、采样点、仲裁",
      "destination": "6.2、6.4",
      "handling": "合并重写；6.2保留p12仲裁图，6.4保留p11采样图并新增计算示例"
    },
    {
      "source": "S06",
      "locator": "DOCX paragraphs 1-14",
      "topic": "地址、START/STOP、ACK、读写、时钟拉伸",
      "destination": "3.2–3.3",
      "handling": "纠错合并；单控制器绝对化、SCL控制权、读末NACK纠正"
    },
    {
      "source": "S06",
      "locator": "DOCX paragraphs 15-25",
      "topic": "拓扑、角色、电容/速率、基础时序",
      "destination": "3.1–3.4",
      "handling": "纠错合并；角色和400pF不泛化；image1保留"
    },
    {
      "source": "S06",
      "locator": "DOCX paragraphs 27-33",
      "topic": "写、读、重复起始组合事务",
      "destination": "3.2",
      "handling": "纠错合并；原image7最后ACK标注未直接使用，替换为正确文本时序"
    },
    {
      "source": "S07",
      "locator": "PDF p1-2",
      "topic": "导读与目录",
      "destination": "附录B",
      "handling": "仅来源元信息；不是Linux I2C驱动完整内容证明"
    },
    {
      "source": "S07",
      "locator": "PDF p3-11",
      "topic": "GPIO开漏/推挽、线与、上拉计算",
      "destination": "1.2、3.1",
      "handling": "合并重写；具体开发板GPIO菜单/重复解释不逐项复刻"
    },
    {
      "source": "S07",
      "locator": "PDF p12-20",
      "topic": "数据有效性、起止、拉伸、同步、仲裁",
      "destination": "3.2–3.3",
      "handling": "合并重写；S06起止图+S07p19时钟同步图+p20仲裁图分别保留；波形标签已有中文解释"
    },
    {
      "source": "S07",
      "locator": "PDF p21-23",
      "topic": "高速模式",
      "destination": "3.4",
      "handling": "保留机制与参数边界；补全00001xxx/NACK/Sr入口、F/S仲裁同步、Hs续传/STOP退出、电流源/时序限制；不是仅摘要"
    },
    {
      "source": "S07",
      "locator": "PDF p24-39",
      "topic": "I3C、动态地址、CCC、IBI等",
      "destination": "8.2–8.3",
      "handling": "保留机制与参数边界；补PID/BCR/DCR/LVR、0x7E广播/CCC、DAA、IBI、0x02 HotJoin、控制器交接、总线条件和历史HDR模式；未声称完整逐版本规范"
    },
    {
      "source": "S07",
      "locator": "PDF p40-60",
      "topic": "I2C规格再次讲解及补充",
      "destination": "3.1–3.4",
      "handling": "合并重复；p4/p43,p9/p48,p10/p49高度重合；独有条件以范围限定保留，非逐字覆盖"
    },
    {
      "source": "S08",
      "locator": "PDF p1",
      "topic": "占位标准封面",
      "destination": "附录B",
      "handling": "仅来源元信息；GB/T占位符不能冒充正式国标"
    },
    {
      "source": "S08",
      "locator": "PDF p2-10",
      "topic": "分层、数据模型、PDU/ADU、事务",
      "destination": "7.1、7.5–7.6",
      "handling": "纠错合并；TCP ADU长度错误已纠正"
    },
    {
      "source": "S08",
      "locator": "PDF p11-27",
      "topic": "常用读写功能码及状态流程",
      "destination": "7.2、7.6、附录A.3",
      "handling": "纠错合并；数值约束与7.6通用服务器状态图保留；相似逐功能状态图按7.2各行参数+7.6流程代替，并非遗失约束"
    },
    {
      "source": "S08",
      "locator": "PDF p28-32",
      "topic": "文件记录读写",
      "destination": "附录A.1",
      "handling": "保留机制与参数边界；补子请求7字节、响应1+2N/总2+2N公式及两组实例；纠正源请求0C/响应0E互换、写码14误15；未重复所有数值实例"
    },
    {
      "source": "S08",
      "locator": "PDF p33-36",
      "topic": "屏蔽写、读写多个寄存器",
      "destination": "7.2、附录A.1",
      "handling": "纠错合并；掩码公式与读125/写121纠正"
    },
    {
      "source": "S08",
      "locator": "PDF p37-41",
      "topic": "设备识别、对象与续传",
      "destination": "7.2、附录A.2",
      "handling": "纠错合并；MEI与异常PDU区分；未复刻公司字符串示例"
    },
    {
      "source": "S08",
      "locator": "PDF p42-43",
      "topic": "异常响应与异常码",
      "destination": "7.6",
      "handling": "合并重写"
    },
    {
      "source": "S08",
      "locator": "PDF p44-52",
      "topic": "串行模型、地址与主从状态",
      "destination": "7.3、7.6、附录A.3",
      "handling": "纠错合并；广播处理及地址缺位修正"
    },
    {
      "source": "S08",
      "locator": "PDF p53-60",
      "topic": "RTU/ASCII、间隔、CRC/LRC",
      "destination": "7.3–7.4、附录A.4",
      "handling": "保留机制与参数边界；RTU帧/组帧图；ASCII7位数据/10位字符/1秒默认间隔/513字符上限及完整状态转移文字，允许配置更长超时；CRC/LRC测试通过；7.3明确≤19200bit/s帧内静默>1.5字符判不完整丢弃，字符按11位实际格式计算，高速建议固定阈值。"
    },
    {
      "source": "S08",
      "locator": "PDF p61-74",
      "topic": "2线/4线、电气接口、接地终端连接",
      "destination": "5.1–5.2、附录A.5",
      "handling": "保留指定版本细节；补2W/4W RJ45-D9逐针表及DCE/DTE RS232表；V1.02偏置电阻450–650Ω/5V限定；不混同其他厂商端口"
    },
    {
      "source": "S08",
      "locator": "PDF p75-88",
      "topic": "实施建议、诊断及校验附录",
      "destination": "附录A.2–A.6、排障篇5",
      "handling": "保留机制与参数边界；补实施等级默认值/文档/诊断计数职责；CRC查表由等效算法代替，无需机械重复大表"
    },
    {
      "source": "S08",
      "locator": "PDF p89-103",
      "topic": "TCP映射、MBAP、连接与组件架构",
      "destination": "7.5、附录A.3",
      "handling": "合并重写；通用socket知识交网络篇"
    },
    {
      "source": "S08",
      "locator": "PDF p104-127",
      "topic": "TCP事务、序列图和参考类设计",
      "destination": "附录A.3",
      "handling": "条件化整编；保留状态/职责/事务管理；原类声明及全部序列图未转写，非可运行原实现"
    },
    {
      "source": "S09",
      "locator": "DOCX paragraphs 1-16",
      "topic": "SPI基础与信号",
      "destination": "4.1",
      "handling": "纠错合并；MOSI方向、MISO/CS拼写修正；image1保留"
    },
    {
      "source": "S09",
      "locator": "DOCX paragraphs 17-32",
      "topic": "CPOL/CPHA与移位过程",
      "destination": "4.2–4.3",
      "handling": "纠错合并；原image3四模式组合波形已检查保留，正文表明确各采样沿"
    },
    {
      "source": "S10",
      "locator": "DOCX paragraphs 1-9",
      "topic": "UART速率、字符组成、位序",
      "destination": "1.3、2.1",
      "handling": "纠错合并；字符/位率与位序/字节序区分"
    },
    {
      "source": "S11",
      "locator": "DOCX paragraphs 1-38",
      "topic": "无线基础、a/b/g/n、术语",
      "destination": "9.1–9.2",
      "handling": "纠错合并；历史而非现行全版本综述；MIMO/红外/吞吐纠正"
    },
    {
      "source": "S11",
      "locator": "DOCX paragraphs 39-88",
      "topic": "频段、信道、安全、区域、QoS、RTS/CTS、Beacon/DTIM",
      "destination": "9.2、9.4–9.6",
      "handling": "纠错合并；不保留不安全历史配置为建议"
    },
    {
      "source": "S11",
      "locator": "DOCX paragraphs 89-102",
      "topic": "抓包",
      "destination": "排障篇6",
      "handling": "独立排障；操作原理保留，未机械复制旧网卡/工具步骤"
    },
    {
      "source": "S11",
      "locator": "DOCX paragraphs 103-137",
      "topic": "帧类型与位字节解释",
      "destination": "1.3、9.3",
      "handling": "合并重写；去掉与通用端序重复部分"
    },
    {
      "source": "S11",
      "locator": "DOCX paragraphs 138-174",
      "topic": "CSMA/CA、地址字段与转发",
      "destination": "9.4–9.5",
      "handling": "纠错合并；退避冻结恢复及基础设施模式范围限定"
    },
    {
      "source": "S11",
      "locator": "DOCX paragraphs 175-208",
      "topic": "省电、关联流程",
      "destination": "9.3、9.5",
      "handling": "纠错合并；开放关联不是所有安全模式完整流程"
    },
    {
      "source": "S12",
      "locator": "PDF p1-3",
      "topic": "接口比较/通信基础",
      "destination": "1.1–1.3",
      "handling": "合并重写"
    },
    {
      "source": "S12",
      "locator": "PDF p4-11",
      "topic": "UART、寄存器、Exynos4412示例",
      "destination": "2、11.1",
      "handling": "条件化整编；保留初始化骨架；固定寄存器代码未复制为通用可运行程序"
    },
    {
      "source": "S12",
      "locator": "PDF p11-14",
      "topic": "RS232/485电平转换",
      "destination": "5",
      "handling": "合并重写"
    },
    {
      "source": "S12",
      "locator": "PDF p15-29",
      "topic": "I2C与MPU6050/Exynos实例",
      "destination": "3、11.2",
      "handling": "条件化整编；通用时序保留，平台寄存器代码未逐行迁移"
    },
    {
      "source": "S12",
      "locator": "PDF p30-37",
      "topic": "SPI时序和模式",
      "destination": "4",
      "handling": "合并重复"
    },
    {
      "source": "S12",
      "locator": "PDF p38-44",
      "topic": "I2C电气/上拉重复",
      "destination": "1.2、3.1",
      "handling": "合并重复"
    },
    {
      "source": "S12",
      "locator": "PDF p45-58",
      "topic": "各接口综述/USB/SD/1Wire/Ethernet/DMA",
      "destination": "2.2、5、8；网络/系统篇交叉",
      "handling": "条件化整编；不把浅层介绍宣称完整协议教程"
    },
    {
      "source": "S13",
      "locator": "DOCX paragraphs 2-13",
      "topic": "单工/双工、同步/异步、波特率",
      "destination": "1.1–1.3",
      "handling": "纠错合并"
    },
    {
      "source": "S13",
      "locator": "DOCX paragraphs 19-38",
      "topic": "UART/USART",
      "destination": "2",
      "handling": "合并重复"
    },
    {
      "source": "S13",
      "locator": "DOCX paragraphs 41-58",
      "topic": "IIC基础",
      "destination": "3",
      "handling": "合并重复"
    },
    {
      "source": "S13",
      "locator": "DOCX paragraphs 60-72",
      "topic": "多个同地址器件",
      "destination": "3.3、排障篇3",
      "handling": "纠错合并；地址脚/使能动态切换不保证所有器件成立"
    },
    {
      "source": "S13",
      "locator": "DOCX paragraphs 75-83",
      "topic": "SPI及CS扩展",
      "destination": "4",
      "handling": "条件化整编；保留多外设/片选原则，译码器详细方案未展开"
    },
    {
      "source": "S13",
      "locator": "DOCX paragraphs 87-97",
      "topic": "USB概述与拓扑",
      "destination": "8.1",
      "handling": "纠错合并；4线/500mA/上拉高速解释不泛化"
    },
    {
      "source": "S13",
      "locator": "DOCX paragraphs 100-112",
      "topic": "RS232/485/CAN条目",
      "destination": "5–6",
      "handling": "纠错合并；RS232极性纠正；固定节点数/距离不可绝对化"
    },
    {
      "source": "S14",
      "locator": "PDF p1-2",
      "topic": "历史版本与距离、产品架构",
      "destination": "10.1–10.2",
      "handling": "条件化整编；历史产品型号列表未复刻；距离不按版本保证"
    },
    {
      "source": "S14",
      "locator": "PDF p2-3",
      "topic": "SoC、MCU模块、Host+Controller",
      "destination": "10.1",
      "handling": "合并重写"
    },
    {
      "source": "S14",
      "locator": "PDF p3-5",
      "topic": "HCI/L2CAP/ATT/GATT/SM/GAP及SPP路径",
      "destination": "10.2",
      "handling": "合并重写；不把profile画成严格单一路径；未逐张复刻原图"
    },
    {
      "source": "S02",
      "locator": "PDF p198-199 NB-IoT section only",
      "topic": "NB-IoT定位/部署/频段",
      "destination": "10.3",
      "handling": "纠错合并；不包括同页Lua；不沿用运营商静态频段表，不补造原稿空白的模组清单"
    },
    {
      "source": "S01",
      "locator": "161–169",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-sync-deadlock",
      "handling": "正文全段阅读，非系统边缘主题交C++"
    },
    {
      "source": "S01",
      "locator": "223–248",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-execution,systems-ipc,systems-sync",
      "handling": "正文阅读并合并重复"
    },
    {
      "source": "S01",
      "locator": "249–255",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "network-apps",
      "handling": "网络I/O、socket关闭与线程池主题归入网络篇N2/N4，本节不重复"
    },
    {
      "source": "S01",
      "locator": "256–260",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-execution",
      "handling": "状态主题阅读"
    },
    {
      "source": "S01",
      "locator": "479–498",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-storage,systems-troubleshooting",
      "handling": "逐页主题扫描，文件系统/命令错误重点审读；非全部命令转录"
    },
    {
      "source": "S01",
      "locator": "499–503",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "cpp",
      "handling": "设计原则归入C++软件设计章"
    },
    {
      "source": "S01",
      "locator": "504–509",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "cpp,foundations",
      "handling": "对齐与分配边界已交C++，不重复代码"
    },
    {
      "source": "S01",
      "locator": "510–518",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "foundations",
      "handling": "库/链接主题抽查，基础篇已含，不宣称本篇逐行复核"
    },
    {
      "source": "S01",
      "locator": "519–550",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-execution,systems-memory,systems-storage,systems-ipc",
      "handling": "正文阅读重组；部分原图未纳入"
    },
    {
      "source": "S01",
      "locator": "551–575",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-memory,systems-ipc",
      "handling": "正文阅读，p553应用缓存交网络"
    },
    {
      "source": "S01",
      "locator": "576–601",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-memory,systems-sync,systems-encoding",
      "handling": "正文阅读；语言原子语义交C++"
    },
    {
      "source": "S01",
      "locator": "602–602",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "network-apps,systems-sync",
      "handling": "数据库索引交网络；复合原子更新边界归同步"
    },
    {
      "source": "S01",
      "locator": "603–614",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-execution,systems-sync",
      "handling": "正文阅读重组"
    },
    {
      "source": "S01",
      "locator": "615–618",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "network-apps",
      "handling": "消息中间件归入网络与应用篇"
    },
    {
      "source": "S01",
      "locator": "619–630",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-sync,systems-ipc",
      "handling": "正文阅读；线程池扩缩交网络"
    },
    {
      "source": "S01",
      "locator": "631–633",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "network-apps,systems-execution",
      "handling": "Java模型不得冒充POSIX；服务线程池归入网络与应用篇"
    },
    {
      "source": "S01",
      "locator": "634–640",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-storage,systems-ipc",
      "handling": "正文阅读并修正代码风险，不照抄不完整实现"
    },
    {
      "source": "S01",
      "locator": "1159–1175",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-rcu",
      "handling": "正文阅读与官方API核对，p1161原图视觉检查"
    },
    {
      "source": "S01",
      "locator": "1176–1182",
      "topic": "系统专题，见目标节及处置说明",
      "destination": "systems-sync",
      "handling": "逐页图像检查PV/队列/读写锁；p1182末网络标题交网络"
    },
    {
      "source": "S01",
      "locator": "37–41",
      "topic": "输入流与逐行读取",
      "destination": "cpp-raii",
      "handling": "条件化整编；常见输入边界保留；逐个原API演示未复制"
    },
    {
      "source": "S01",
      "locator": "42–58",
      "topic": "类/拷贝/分配/析构/虚函数",
      "destination": "cpp-object;cpp-raii",
      "handling": "合并重写；ABI图未复刻"
    },
    {
      "source": "S01",
      "locator": "59–66",
      "topic": "模板、静态多态、动态创建限制",
      "destination": "cpp-generic;cpp-object",
      "handling": "部分重编，见处置说明；模板/多态已重写；创建限制以工程边界补充，未复刻危险技巧"
    },
    {
      "source": "S01",
      "locator": "67–98",
      "topic": "引用、const、初始化、转换、inline",
      "destination": "cpp-object",
      "handling": "合并重写；C数组声明/字节布局题移交foundations，非本章逐题复现"
    },
    {
      "source": "S01",
      "locator": "99–119",
      "topic": "异常/智能指针/string/手写管理",
      "destination": "cpp-raii",
      "handling": "合并重写；不保留缺陷库实现；以标准库示例与自测替代"
    },
    {
      "source": "S01",
      "locator": "120–140",
      "topic": "volatile/static/隐式转换/清零/内存",
      "destination": "cpp-object;cpp-generic;cpp-memory-model",
      "handling": "部分重编，见处置说明；主要交叉概念归并；C内存基础移交foundations"
    },
    {
      "source": "S01",
      "locator": "141–149",
      "topic": "C程序与内存题交叉",
      "destination": "cpp-raii 自删除/语言运行时/性能辨析；F05.2/F05.4/F06",
      "handling": "读取原文并归并；逐页读取141–149并对照foundations正文；this/delete、GC比较、内存池、指针数组、内存序均写入；存储期/动态存储/ELF分区对应F节已核实"
    },
    {
      "source": "S01",
      "locator": "150–154",
      "topic": "内存泄漏诊断",
      "destination": "cpp-troubleshooting.md",
      "handling": "分离到排障篇；工具路径与命令未照搬，含资源建议归入RAII"
    },
    {
      "source": "S01",
      "locator": "155–160",
      "topic": "static/创建/模板特化",
      "destination": "cpp-object;cpp-generic",
      "handling": "合并重写；示例合并为规则解释"
    },
    {
      "source": "S01",
      "locator": "161–169",
      "topic": "死锁与银行家算法",
      "destination": "systems.md#systems-sync-deadlock",
      "handling": "已归入系统机制篇；系统篇systems-sync-deadlock已整合，包含四条件、银行家、安全序列、DFS当前栈、恢复"
    },
    {
      "source": "S01",
      "locator": "170–187",
      "topic": "构造多态/继承/移动/转发/对象大小",
      "destination": "cpp-object;cpp-generic",
      "handling": "合并重写；原逐行输出题改为自测"
    },
    {
      "source": "S01",
      "locator": "188–192",
      "topic": "可变参数/initializer_list/packaged_task",
      "destination": "cpp-generic;cpp-memory-model",
      "handling": "整编重写；补充varargs/initializer_list/参数包差异及未来结果边界，不复制原实现"
    },
    {
      "source": "S01",
      "locator": "193–194",
      "topic": "core与GDB",
      "destination": "cpp-troubleshooting.md",
      "handling": "分离到排障篇；未实际改变core配置"
    },
    {
      "source": "S01",
      "locator": "194–198",
      "topic": "友元与设计原则",
      "destination": "cpp-object;cpp-design",
      "handling": "合并重写；设计原则及友元关系已保留"
    },
    {
      "source": "S01",
      "locator": "199–207",
      "topic": "模板/智能指针共享/lambda",
      "destination": "cpp-generic;cpp-raii",
      "handling": "合并重写；原共享指针并发区分保留"
    },
    {
      "source": "S01",
      "locator": "208–222",
      "topic": "STL/容器/迭代器/哈希",
      "destination": "cpp-stl",
      "handling": "合并重写；补齐哈希构造/开放寻址/删除墓碑/链地址/溢出区/map查询；SGI历史实现作为明确外部补充并核旧GCC源码"
    },
    {
      "source": "S01",
      "locator": "641–642",
      "topic": "数据结构与kmalloc/vmalloc",
      "destination": "cpp-stl;foundations/Linux",
      "handling": "按层次拆分；数据结构归入容器选型，内核分配移交Linux"
    },
    {
      "source": "S01",
      "locator": "642–656",
      "topic": "代理/责任链/工厂",
      "destination": "cpp-design",
      "handling": "整编重写；保留目的、契约、所有权；不逐份复制demo"
    },
    {
      "source": "S01",
      "locator": "657–669",
      "topic": "单例/观察者/智能指针/注册反射",
      "destination": "cpp-design;cpp-memory-model",
      "handling": "合并重写；缺陷实现不发布；弱引用与重入语义明确"
    },
    {
      "source": "S01",
      "locator": "670–688",
      "topic": "手写字符串/智能指针/拷贝/单例工厂",
      "destination": "cpp-raii;cpp-questions",
      "handling": "改为练习契约与安全示例；保留练习主题与验收条件而非完整答案；实现未逐题保留"
    },
    {
      "source": "S01",
      "locator": "689–696",
      "topic": "环形队列/简化deque/计数指针",
      "destination": "cpp-stl;cpp-questions",
      "handling": "部分重编，见处置说明；环形队列契约已写；自制deque完整实现未重写"
    },
    {
      "source": "S02",
      "locator": "46–68",
      "topic": "C++语法/对象/异常",
      "destination": "cpp-object;cpp-raii",
      "handling": "交叉核对并归并；选定页正文核对，其余主题检索；不是逐字审校"
    },
    {
      "source": "S02",
      "locator": "69–79",
      "topic": "STL/现代语法/锁",
      "destination": "cpp-stl;cpp-generic;cpp-memory-model",
      "handling": "交叉核对并重写；校正list/map/atomic/版本规则"
    },
    {
      "source": "S02",
      "locator": "97–103",
      "topic": "模式分类/工厂/单例/建造者/原型",
      "destination": "cpp-design",
      "handling": "交叉核对并归并；补齐所有创建/结构/行为模式的用途与风险，99–103已逐页读取"
    },
    {
      "source": "S03",
      "locator": "段318,337,414,932–937,1408–1513,1573–1574,1803–1895",
      "topic": "const/static/资源/虚函数/STL",
      "destination": "cpp-object;cpp-raii;cpp-stl",
      "handling": "交叉核对选定段落；以段落定位，不伪造Word页码"
    },
    {
      "source": "S15",
      "locator": "81–82",
      "topic": "extern与C链接",
      "destination": "cpp-object",
      "handling": "交叉核对并归并；链接上下文并入C/C++边界"
    },
    {
      "source": "S01",
      "locator": "499–503（设计原则段）",
      "topic": "SOLID/迪米特/组合复用",
      "destination": "cpp-design",
      "handling": "合并重写；全文读取设计原则段；同页端序与堆栈仍由systems处理"
    },
    {
      "source": "S01",
      "locator": "97–99",
      "topic": "异常处理机制",
      "destination": "cpp-exceptions",
      "handling": "读取原文并归并；新增实质解释与完整教学程序，非逐字复制原错误Try代码"
    },
    {
      "source": "S01",
      "locator": "211–212",
      "topic": "顺序/关联容器并发读写",
      "destination": "cpp-container-concurrency;cpp-memory-model",
      "handling": "读取原文并归并；区间分工、预分配、同元素竞争、关联键预建、发布复用协议；不复制未证明无锁队列"
    },
    {
      "source": "S01",
      "locator": "45–47",
      "topic": "nullptr/NULL/0及nullptr_t",
      "destination": "cpp-nullptr",
      "handling": "读取并纠错"
    },
    {
      "source": "S01",
      "locator": "182",
      "topic": "转发构造抢占复制及排除本类型",
      "destination": "cpp-forwarding-constructor",
      "handling": "读取后重写并测试示例"
    },
    {
      "source": "S03",
      "locator": "段1408–1484",
      "topic": "虚析构/ABI/静态函数",
      "destination": "cpp-object;cpp-special-members",
      "handling": "纠错合并"
    },
    {
      "source": "S03",
      "locator": "段1485–1515",
      "topic": "重载覆盖/虚表",
      "destination": "cpp-object;cpp-special-members",
      "handling": "纠错合并"
    },
    {
      "source": "S03",
      "locator": "段1516–1574",
      "topic": "构造类别/特殊成员/初始化序",
      "destination": "cpp-special-members;cpp-object;cpp-raii",
      "handling": "补入并归并"
    },
    {
      "source": "S03",
      "locator": "段1575–1622",
      "topic": "select接口和集合宏",
      "destination": "network-apps.md N4.2",
      "handling": "读取原文并归并；select参数、集合宏与重建、超时和EINTR预算已补入网络N4.2"
    },
    {
      "source": "S03",
      "locator": "段1623–1636",
      "topic": "fork/exec/wait/waitpid",
      "destination": "foundations.md F10;systems.md 进程生命周期",
      "handling": "已核对正文落点"
    },
    {
      "source": "S03",
      "locator": "段1637–1640",
      "topic": "select/poll/epoll对比",
      "destination": "network-apps.md N4.2",
      "handling": "已核对正文落点"
    },
    {
      "source": "S03",
      "locator": "段1641–1643",
      "topic": "变参函数标题",
      "destination": "cpp-design 可变参数边界",
      "handling": "源标题主题归并"
    },
    {
      "source": "S03",
      "locator": "段1644–1665",
      "topic": "C字符输出/流位置和错误",
      "destination": "cpp-c-streams",
      "handling": "补入并纠错"
    },
    {
      "source": "S03",
      "locator": "段1666–1671",
      "topic": "signal接口",
      "destination": "systems.md 信号;foundations.md 异步信号安全",
      "handling": "已核对主题落点"
    },
    {
      "source": "S03",
      "locator": "段1672–1686",
      "topic": "scanf/printf宽度与星号",
      "destination": "cpp-c-streams",
      "handling": "补入并纠错"
    },
    {
      "source": "S03",
      "locator": "段1687–1741",
      "topic": "OOP/访问继承/深浅拷贝",
      "destination": "cpp-object;cpp-special-members;cpp-raii;cpp-design",
      "handling": "合并纠错"
    },
    {
      "source": "S03",
      "locator": "段1742–1761",
      "topic": "friend/继承构造/virtual限制",
      "destination": "cpp-design;cpp-special-members",
      "handling": "合并纠错"
    },
    {
      "source": "S03",
      "locator": "段1762–1793",
      "topic": "vector/list/扩容/erase",
      "destination": "cpp-stl",
      "handling": "已核对主题落点"
    },
    {
      "source": "S03",
      "locator": "段1794–1813",
      "topic": "迭代器/自制智能指针/erase",
      "destination": "cpp-stl;cpp-raii;cpp-questions",
      "handling": "保留契约，不复刻错误代码"
    },
    {
      "source": "S03",
      "locator": "段1814–1840",
      "topic": "map/set/hash/allocator/resize",
      "destination": "cpp-stl",
      "handling": "已核对主题落点"
    },
    {
      "source": "S03",
      "locator": "段1841–1865",
      "topic": "继承构造/抽象类/初始化列表",
      "destination": "cpp-special-members;cpp-object",
      "handling": "合并纠错"
    },
    {
      "source": "S03",
      "locator": "段1866–1904",
      "topic": "const成员重载/虚表时间",
      "destination": "cpp-special-members;cpp-object ABI",
      "handling": "补入并纠错"
    },
    {
      "source": "S03",
      "locator": "段1905–1956",
      "topic": "算法目录及空白",
      "destination": "algorithms.md algo-structures;algo-patterns",
      "handling": "源标题主题，非全部完整实现"
    },
    {
      "source": "S03",
      "locator": "段1957–2034",
      "topic": "两数之和暴力/哈希",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2035–2092",
      "topic": "三数之和/去重",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2093–2133",
      "topic": "正数滑动窗口",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2134–2197",
      "topic": "最大子数组和/DP",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2198–2255",
      "topic": "原地移除两种策略",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2256–2293",
      "topic": "有序去重",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2294–2326",
      "topic": "原地合并数组",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "保留契约并提供安全的独立输出实现"
    },
    {
      "source": "S03",
      "locator": "段2327–2354",
      "topic": "中心下标",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2355–2412",
      "topic": "有序平方",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2413–2463",
      "topic": "稳定性/插入排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2464–2507",
      "topic": "希尔排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2508–2581",
      "topic": "冒泡基础及早停",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2582–2629",
      "topic": "快速排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2630–2683",
      "topic": "选择排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2684–2746",
      "topic": "堆排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2747–2772",
      "topic": "归并/排序总结",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2773–2811",
      "topic": "重复值二分",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2812–2842",
      "topic": "斐波那契",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2843–2870",
      "topic": "合并数组重复题",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "归并为安全输出变体"
    },
    {
      "source": "S03",
      "locator": "段2871–2956",
      "topic": "栈/队列/循环队列",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段2957–2980",
      "topic": "链式队列/哨兵",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段2981–3007",
      "topic": "双端及受限队列/交错序列",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段3008–3026",
      "topic": "链表/遍历/BST/AVL",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段3027–3057",
      "topic": "红黑树/查找标题/OS转场及空白",
      "destination": "algorithms.md algo-structures;systems.md",
      "handling": "源仅标题"
    },
    {
      "source": "S02",
      "locator": "81–82",
      "topic": "数组/链表/栈队列/BST遍历",
      "destination": "A01",
      "handling": "完整主题重写，纠正节点必堆和链表无浪费"
    },
    {
      "source": "S02",
      "locator": "83",
      "topic": "单链表反转",
      "destination": "A02/A05",
      "handling": "重写指针层级并可执行测试"
    },
    {
      "source": "S02",
      "locator": "84",
      "topic": "第k次重复键二分",
      "destination": "A02/A05",
      "handling": "两边界检索，缺席/零k明确"
    },
    {
      "source": "S02",
      "locator": "84–85",
      "topic": "斐波那契",
      "destination": "A02/A05",
      "handling": "checked uint64_t，F93/F94测试"
    },
    {
      "source": "S02",
      "locator": "85",
      "topic": "有序数组合并",
      "destination": "A02/A05",
      "handling": "保留原地倒填思路与容量契约；完整测试实现选择独立输出"
    },
    {
      "source": "S02",
      "locator": "86–88",
      "topic": "插入/希尔",
      "destination": "A03/A05",
      "handling": "各有完整实现，复杂度按步长条件"
    },
    {
      "source": "S02",
      "locator": "88–90",
      "topic": "冒泡",
      "destination": "A03/A05",
      "handling": "带提前退出实现"
    },
    {
      "source": "S02",
      "locator": "90–92",
      "topic": "快排",
      "destination": "A03/A05",
      "handling": "三路分区与小区间递归实现替代原空区间越界风险"
    },
    {
      "source": "S02",
      "locator": "92–93",
      "topic": "选择排序",
      "destination": "A03/A05",
      "handling": "修正最好Theta(n²)"
    },
    {
      "source": "S02",
      "locator": "93–95",
      "topic": "堆排",
      "destination": "A03/A05",
      "handling": "重写孩子边界与半开n"
    },
    {
      "source": "S02",
      "locator": "95–96",
      "topic": "归并/排序汇总",
      "destination": "A03/A05",
      "handling": "源仅归并复杂度，补完整实现并测"
    },
    {
      "source": "S03",
      "locator": "1905–1922",
      "topic": "解题范式目录",
      "destination": "A04",
      "handling": "名称原源没有完整实现，不假称详解；给适用契约"
    },
    {
      "source": "S03",
      "locator": "1957–2409",
      "topic": "两数/三数和、滑窗、最大子数组、移除去重、合并、中心、平方",
      "destination": "A04;合并A02/A05",
      "handling": "独有题用原创简述和解法边界，不逐字复制平台题面；除合并外不宣称实现测试"
    },
    {
      "source": "S03",
      "locator": "2413–2768",
      "topic": "稳定性及七排序",
      "destination": "A01/A03/A05",
      "handling": "重复归一处"
    },
    {
      "source": "S03",
      "locator": "2773–2866",
      "topic": "二分/斐波/合并",
      "destination": "A02/A05",
      "handling": "重复错误统一纠正"
    },
    {
      "source": "S03",
      "locator": "2871–3029",
      "topic": "栈/循环队列/链式队列/双端队列/树/AVL/红黑标题",
      "destination": "A01",
      "handling": "保留约定和递推；红黑源仅标题不杜撰为已有全算法"
    },
    {
      "source": "S01",
      "locator": "208–222,641",
      "topic": "容器/算法/数据结构",
      "destination": "cpp-stl/A01",
      "handling": "交叉引用，不重建矛盾答案"
    },
    {
      "source": "S03",
      "locator": "段1905–1956",
      "topic": "算法目录及空白",
      "destination": "algorithms.md algo-structures;algo-patterns",
      "handling": "源标题主题，非全部完整实现"
    },
    {
      "source": "S03",
      "locator": "段1957–2034",
      "topic": "两数之和暴力/哈希",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2035–2092",
      "topic": "三数之和/去重",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2093–2133",
      "topic": "正数滑动窗口",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2134–2197",
      "topic": "最大子数组和/DP",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2198–2255",
      "topic": "原地移除两种策略",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2256–2293",
      "topic": "有序去重",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2294–2326",
      "topic": "原地合并数组",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "保留契约并提供安全的独立输出实现"
    },
    {
      "source": "S03",
      "locator": "段2327–2354",
      "topic": "中心下标",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2355–2412",
      "topic": "有序平方",
      "destination": "algorithms.md algo-patterns",
      "handling": "保留解题方法与契约，非完整已测实现"
    },
    {
      "source": "S03",
      "locator": "段2413–2463",
      "topic": "稳定性/插入排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2464–2507",
      "topic": "希尔排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2508–2581",
      "topic": "冒泡基础及早停",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2582–2629",
      "topic": "快速排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2630–2683",
      "topic": "选择排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2684–2746",
      "topic": "堆排序",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2747–2772",
      "topic": "归并/排序总结",
      "destination": "algorithms.md algo-sort;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2773–2811",
      "topic": "重复值二分",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2812–2842",
      "topic": "斐波那契",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "重写并执行测试"
    },
    {
      "source": "S03",
      "locator": "段2843–2870",
      "topic": "合并数组重复题",
      "destination": "algorithms.md algo-search;algo-code",
      "handling": "归并为安全输出变体"
    },
    {
      "source": "S03",
      "locator": "段2871–2956",
      "topic": "栈/队列/循环队列",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段2957–2980",
      "topic": "链式队列/哨兵",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段2981–3007",
      "topic": "双端及受限队列/交错序列",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段3008–3026",
      "topic": "链表/遍历/BST/AVL",
      "destination": "algorithms.md algo-structures",
      "handling": "契约说明"
    },
    {
      "source": "S03",
      "locator": "段3027–3057",
      "topic": "红黑树/查找标题/OS转场及空白",
      "destination": "algorithms.md algo-structures;systems.md",
      "handling": "源仅标题"
    },
    {
      "source": "S01",
      "locator": "261–268",
      "topic": "TCP参数、连接重试/复用、缓冲调优",
      "destination": "N2.2–N2.4；排障 T3",
      "handling": "版本化整编，不发布写系统参数命令"
    },
    {
      "source": "S01",
      "locator": "269–308",
      "topic": "TCP首部/状态/握手/关闭/重传/窗口/拥塞/TIME_WAIT/攻击防护",
      "destination": "N2.1–N2.4；N6.2",
      "handling": "多问法合并，原定值改成版本条件"
    },
    {
      "source": "S01",
      "locator": "309–328",
      "topic": "分层/CRC混淆/MTU/MSS/分片/封帧/SYN队列",
      "destination": "N1.1–N1.4；N2.4；N4.5",
      "handling": "合并并纠错"
    },
    {
      "source": "S01",
      "locator": "329–374",
      "topic": "GETPOST/会话/加密/HTTP版本/状态/缓存/TLS",
      "destination": "N3.1–N3.3",
      "handling": "保留语义与差异，旧RSA示例标历史"
    },
    {
      "source": "S01",
      "locator": "375–395",
      "topic": "DNS/连接复用/FastOpen/ARP/OSI/SCTP/socket缓冲",
      "destination": "N1.2–N1.4；N2.1；N4.1",
      "handling": "合并基础，SCTP保留概览深度"
    },
    {
      "source": "S01",
      "locator": "396–417",
      "topic": "限流/会话/访问网页/NAT/地址/负载均衡/端口/安全",
      "destination": "N1.2–N1.4；N3.2；N6.1–N6.2",
      "handling": "概念保留，攻击命令不执行"
    },
    {
      "source": "S01",
      "locator": "418–438",
      "topic": "非阻塞connect/Reactor/Proactor/线程模式",
      "destination": "N4.1–N4.3",
      "handling": "契约与状态机整编，教学代码不直接照搬"
    },
    {
      "source": "S01",
      "locator": "439–465",
      "topic": "select/poll/epoll/LTET与服务端示例",
      "destination": "N4.2–N4.3",
      "handling": "保留机制和正确编程规则；原多份回声代码合并为流程"
    },
    {
      "source": "S01",
      "locator": "466–478",
      "topic": "libevent/五种IO模型/ping/代理/协程",
      "destination": "N4.3；N6.1；排障 T1",
      "handling": "libevent框架位置保留；协程语言细节转系统/C++篇"
    },
    {
      "source": "S01",
      "locator": "553",
      "topic": "Cache Aside/Through/Behind",
      "destination": "N5.6",
      "handling": "从OS页中收回，纠正同时更新定义"
    },
    {
      "source": "S01",
      "locator": "602–603",
      "topic": "索引收益和代价",
      "destination": "N5.2",
      "handling": "只合并数据库部分，调度/原子部分属系统篇"
    },
    {
      "source": "S01",
      "locator": "615–618",
      "topic": "消息队列解耦/异步/削峰与代价",
      "destination": "N7.1",
      "handling": "保留4320万积压例并补清空时间"
    },
    {
      "source": "S01",
      "locator": "632–633",
      "topic": "服务线程布局/半同步半异步/领导者追随者",
      "destination": "N7.5",
      "handling": "仅服务模型部分，锁代码由系统篇修正"
    },
    {
      "source": "S01",
      "locator": "698–722",
      "topic": "SQL/关系与非关系/事务/索引/引擎/主外键",
      "destination": "N5.1–N5.3",
      "handling": "按概念合并；不保留明显错拼的SQL片段"
    },
    {
      "source": "S01",
      "locator": "723–737",
      "topic": "ACID/隔离/连接池/分布式事务/CAP/BASE",
      "destination": "N5.3–N5.4",
      "handling": "区分定义与实现，TCC/Outbox保留"
    },
    {
      "source": "S01",
      "locator": "738–758",
      "topic": "键/范式/锁/分库分表/乐观悲观/SQL流程/视图",
      "destination": "N5.1–N5.4",
      "handling": "去重整编，当前MySQL查询缓存移除"
    },
    {
      "source": "S01",
      "locator": "759–778",
      "topic": "日志/并发现象/索引/连接/分片/持久化重复问答",
      "destination": "N5.1–N5.4",
      "handling": "与前段归一但保留MVCC与日志区分"
    },
    {
      "source": "S01",
      "locator": "779–794",
      "topic": "Redis类型/SDS/字典/跳表/线程/旧VM",
      "destination": "N5.5",
      "handling": "抽象与编码版本分开，旧VM标历史"
    },
    {
      "source": "S01",
      "locator": "795–811",
      "topic": "过期淘汰/雪崩穿透击穿/持久化/双写一致性",
      "destination": "N5.6",
      "handling": "两次淘汰问答合并；补当前LRM变化"
    },
    {
      "source": "S01",
      "locator": "812–842",
      "topic": "Linux网卡/DMA/NAPI/收包/系统调用/队列唤醒",
      "destination": "N4.4",
      "handling": "保留深入机制；调用名仅案例而非全部逐行转录"
    },
    {
      "source": "S01",
      "locator": "843–874",
      "topic": "socket内核对象/epoll注册回调/等待唤醒",
      "destination": "N4.4–N4.5",
      "handling": "独立保留不与入门epoll删重"
    },
    {
      "source": "S01",
      "locator": "875–913",
      "topic": "发送/路由/ARP/qdisc/驱动/TX回收/CPU与sendfile",
      "destination": "N4.4–N4.5",
      "handling": "保留发送生命周期及零拷贝条件"
    },
    {
      "source": "S01",
      "locator": "914–932",
      "topic": "回环与Unix域通信",
      "destination": "N4.5",
      "handling": "保留与跨机路径差异"
    },
    {
      "source": "S01",
      "locator": "933–973",
      "topic": "listen/connect/bind/accept/端口/队列",
      "destination": "N4.1；N4.5",
      "handling": "内核实现版本限定"
    },
    {
      "source": "S01",
      "locator": "974–996",
      "topic": "握手慢/队列溢出/端口不足/抓包实验",
      "destination": "排障 T2–T3；N4.5",
      "handling": "故障步骤独立，不把旧调参直接上线"
    },
    {
      "source": "S01",
      "locator": "997–1017",
      "topic": "内存分配/连接状态资源/缓存容量实验",
      "destination": "N4.5；系统篇内存章",
      "handling": "网络容量独有意义保留，分配器基础不重复"
    },
    {
      "source": "S01",
      "locator": "1017–1040",
      "topic": "Nginx master/worker/epoll/accept/HTTP回调",
      "destination": "N6.2",
      "handling": "以版本化架构整编，不复制未锁版本全调用链"
    },
    {
      "source": "S01",
      "locator": "1040–1051",
      "topic": "RPC/SRPC/IDL/序列化/生命周期",
      "destination": "N6.3",
      "handling": "纠正RPC与HTTP非互斥"
    },
    {
      "source": "S01",
      "locator": "1052–1073",
      "topic": "Redis5.0.0事件循环读写路径",
      "destination": "N6.5",
      "handling": "保留明确版本，不推为当前所有版本"
    },
    {
      "source": "S01",
      "locator": "1074–1108",
      "topic": "Netty线程/Channel/Pipeline/责任链例",
      "destination": "N6.5",
      "handling": "概念与生命周期保留，C++模式代码跨引C++篇"
    },
    {
      "source": "S01",
      "locator": "1109–1129",
      "topic": "Kafka2.5网络架构/请求队列/参数优化",
      "destination": "N7.1–N7.2",
      "handling": "保留原架构图和版本，不普遍化默认参数"
    },
    {
      "source": "S01",
      "locator": "1130–1152",
      "topic": "gRPC四类调用/同步异步回调/HTTP2/metadata/生成代码",
      "destination": "N6.4",
      "handling": "保留状态机和线协议，TODO不当已证事实"
    },
    {
      "source": "S01",
      "locator": "1152",
      "topic": "ZooKeeper标题",
      "destination": "N7.3",
      "handling": "原材料仅标题；补充概念明确标记"
    },
    {
      "source": "S01",
      "locator": "1153–1158",
      "topic": "QUIC标题/DPDK示意/RingBuffer/netmap/rawsocket",
      "destination": "N7.4",
      "handling": "原图保留环形队列，DPDK旧KNI仅历史讨论"
    },
    {
      "source": "S01",
      "locator": "1159–1182",
      "topic": "RCU/PV/读写锁",
      "destination": "系统深入篇",
      "handling": "明确转交，不在本篇二次解释"
    },
    {
      "source": "S01",
      "locator": "1182–1190",
      "topic": "LT缓冲readv/引用计数/时间轮/timerfd/日志变参",
      "destination": "N4.2–N4.3；C++篇",
      "handling": "网络缓冲与定时保留；变参语言部分转交"
    },
    {
      "source": "S01",
      "locator": "1191–1197",
      "topic": "FastCGI/Protobuf封帧/自定义RPC",
      "destination": "N6.3；N6.6补充",
      "handling": "保留协议职责与兼容性，旧私有生成选项非现行默认"
    },
    {
      "source": "S01",
      "locator": "1198–1199",
      "topic": "线程池停止/条件变量",
      "destination": "N6.5；系统深入篇",
      "handling": "停止契约保留，具体同步实现由系统篇"
    },
    {
      "source": "S01",
      "locator": "1200–1203",
      "topic": "namespace/veth/bridge/NAT命令",
      "destination": "N1.2；排障 T4",
      "handling": "原IP为案例不公开为运行指令"
    },
    {
      "source": "S01",
      "locator": "1203–1204",
      "topic": "PyQt5标题/WebMVC说明/空末页",
      "destination": "N8.2",
      "handling": "纠正范围；空页无需正文"
    },
    {
      "source": "S02",
      "locator": "193–195",
      "topic": "MQTT主题/代理/QoS/遗嘱",
      "destination": "N3.4",
      "handling": "固定头与端到端语义纠正"
    },
    {
      "source": "S02",
      "locator": "196–198",
      "topic": "Lua变量/类型/赋值/元表",
      "destination": "N8.1",
      "handling": "按Lua版本校订；无线内容由接口篇"
    },
    {
      "source": "S02",
      "locator": "224–266",
      "topic": "网络/TCPUDP/API/HTMLJS内置对象/AJAX/原始包解析",
      "destination": "N1–N4；N8.4；排障T1",
      "handling": "网络合并；Web独有主题N8.4；伪造攻击示例不执行，改为授权抓包与解析边界"
    },
    {
      "source": "S03",
      "locator": "提取段落4044–4357",
      "topic": "网络API/分层/TCPUDP/DNS/HTTP/IPv4IPv6/CIDR/字节序",
      "destination": "N1–N4，新增N1.5",
      "handling": "主题合并并纠正IPv6MTU/加密/IPv4首部/A类前导位"
    },
    {
      "source": "S15",
      "locator": "9–15",
      "topic": "四层/地址/Socket/API/服务器模型",
      "destination": "N1；N4.1；N7.5",
      "handling": "控制器/物理层内容归接口篇"
    },
    {
      "source": "S15",
      "locator": "130–137",
      "topic": "TCPUDP/端口/报文/握手/状态",
      "destination": "N1–N2",
      "handling": "重复原理合并，固定端口范围与绝对可靠性修正"
    },
    {
      "source": "S02",
      "locator": "303",
      "topic": "布局、坐标、模态、顶层窗口、资源、QMainWindow",
      "destination": "N8.5",
      "handling": "逐页读取，独有知识整合与旧版/错误规则修订；非复制完整代码"
    },
    {
      "source": "S02",
      "locator": "304–306",
      "topic": "信号槽连接/参数/对象树/QApplication/旧退出示例与构建边界",
      "destination": "N8.5–N8.6",
      "handling": "逐页读取，独有知识整合与旧版/错误规则修订；非复制完整代码"
    },
    {
      "source": "S02",
      "locator": "307–308",
      "topic": "标准对话框、框架定位、连接类型、文本二进制流、TCP服务端",
      "destination": "N8.5–N8.7",
      "handling": "逐页读取，独有知识整合与旧版/错误规则修订；非复制完整代码"
    },
    {
      "source": "S02",
      "locator": "309–310",
      "topic": "TCP客户端、UDP、两类线程组织、d指针、QMutex",
      "destination": "N8.6–N8.8",
      "handling": "逐页读取，独有知识整合与旧版/错误规则修订；非复制完整代码"
    },
    {
      "source": "S02",
      "locator": "311–312",
      "topic": "RAII读写锁、具名locker生命周期、信号量",
      "destination": "N8.7",
      "handling": "逐页读取，独有知识整合与旧版/错误规则修订；非复制完整代码"
    },
    {
      "source": "S02",
      "locator": "313",
      "topic": "生产者消费者计数协议、Qt数据容器",
      "destination": "N8.7–N8.8",
      "handling": "逐页读取，独有知识整合与旧版/错误规则修订；非复制完整代码"
    },
    {
      "source": "S02",
      "locator": "314–315",
      "topic": "容器控件、容器版本/容量/越界/隐式共享/QVarLengthArray",
      "destination": "N8.5；N8.8",
      "handling": "逐页读取，独有知识整合与旧版/错误规则修订；非复制完整代码"
    },
    {
      "source": "S01",
      "locator": "249–250",
      "topic": "socket服务端客户端/accept/短读写",
      "destination": "N4.1",
      "handling": "实际逐页核对并归并；p255尾进程状态归systems，不在本篇重复"
    },
    {
      "source": "S01",
      "locator": "251–252",
      "topic": "close/shutdown/共享fd/半关闭",
      "destination": "N4.1；N2.2",
      "handling": "实际逐页核对并归并；p255尾进程状态归systems，不在本篇重复"
    },
    {
      "source": "S01",
      "locator": "253–254",
      "topic": "半开两语境/重试版本/CLOSE_WAIT/线程池目的",
      "destination": "N4.1；N4.3；N2.2",
      "handling": "实际逐页核对并归并；p255尾进程状态归systems，不在本篇重复"
    },
    {
      "source": "S01",
      "locator": "255",
      "topic": "线程池饱和及epoll限额/注册/mmap错误",
      "destination": "N4.2–N4.3",
      "handling": "实际逐页核对并归并；p255尾进程状态归systems，不在本篇重复"
    },
    {
      "source": "S03",
      "locator": "paragraphs1575–1622",
      "topic": "select参数/集合宏/返回集合重建/超时",
      "destination": "N4.2",
      "handling": "逐段读取；纠正nfds数量/自动关注012及先复制未初始化集合；补返回值和timeout边界"
    },
    {
      "source": "S03",
      "locator": "paragraphs1623–1636",
      "topic": "fork/wait/exec",
      "destination": "systems；foundations",
      "handling": "逐段核范围，本篇不重复系统内容"
    },
    {
      "source": "S03",
      "locator": "paragraphs1637–1640",
      "topic": "select/poll/epoll原理比较",
      "destination": "N4.2",
      "handling": "归并持久兴趣集/就绪列表；不用反复轮询简化成CPU忙等，也不声称epoll所有开销恒定"
    },
    {
      "source": "S02",
      "locator": "p286–292",
      "topic": "JVM、线程与同步",
      "destination": "platform-java",
      "handling": "逐页文本；POSIX重复内容交systems"
    },
    {
      "source": "S15",
      "locator": "p85–93",
      "topic": "旧版 U-Boot 重定位",
      "destination": "platform-uboot-relocation",
      "handling": "逐页文本并核对历史源码/Arm ELF ABI"
    },
    {
      "source": "S03",
      "locator": "段5101–5413",
      "topic": "i.MX6ULL 启动与构建",
      "destination": "platform-imx6ull",
      "handling": "全部提取段落文本，未宣称全部内嵌图审查"
    },
    {
      "source": "S04",
      "locator": "p9–10显示部分",
      "topic": "VGA 产品针脚实例",
      "destination": "platform-vga",
      "handling": "全文文本确认无逐针表，新增表明确Dell型号来源"
    }
  ],
  "corrections": [
    {
      "source": "S16 p1",
      "locator": "",
      "issue": "锂电正极称二氧化锂及固定充放阈值",
      "correction": "按化学体系与型号规定，非通用4.2/3V",
      "destination": "F02"
    },
    {
      "source": "S16 p1",
      "locator": "",
      "issue": "电容频率范围绝对化",
      "correction": "ESR/ESL/自谐振与偏压温度决定",
      "destination": "F02"
    },
    {
      "source": "S16 p2–3",
      "locator": "",
      "issue": "运放虚短虚地无条件",
      "correction": "线性稳定负反馈且输入输出合规才成立",
      "destination": "F02"
    },
    {
      "source": "S16 p2",
      "locator": "",
      "issue": "看门狗防止死循环、独立硬件窗口软件",
      "correction": "用于超时恢复，两者均可为硬件外设",
      "destination": "F07"
    },
    {
      "source": "S16 p13–15",
      "locator": "",
      "issue": "SoC等于能跑Linux、MEMS陀螺转子",
      "correction": "集成定义、振动科里奥利测角速度",
      "destination": "F01/F02"
    },
    {
      "source": "S04 p2",
      "locator": "",
      "issue": "非抢占等同时间片",
      "correction": "抢占属性与调度策略分开",
      "destination": "F09"
    },
    {
      "source": "S04 p3",
      "locator": "",
      "issue": "字长等于地址宽、32位固定4GB",
      "correction": "区别架构虚实地址与ABI",
      "destination": "F04"
    },
    {
      "source": "S04 p4",
      "locator": "",
      "issue": "只有三态输出可共享总线",
      "correction": "开漏线与也可共享",
      "destination": "F02"
    },
    {
      "source": "S04 p5",
      "locator": "",
      "issue": "CRC自动纠错",
      "correction": "通常检错，ECC另述",
      "destination": "F03"
    },
    {
      "source": "S04 p7",
      "locator": "",
      "issue": "Flash寿命容量固定、SDRAM最多133MHz",
      "correction": "按型号代际，不能普适",
      "destination": "F03"
    },
    {
      "source": "S04 p8",
      "locator": "",
      "issue": "SAR只需固定N个外部时钟",
      "correction": "N位判决另加采样建立控制",
      "destination": "F07"
    },
    {
      "source": "S04 p9",
      "locator": "",
      "issue": "TN/STN/TFT完全同类、反射LCD外界电源",
      "correction": "液晶模式与有源矩阵分开，反射用环境光",
      "destination": "F07"
    },
    {
      "source": "S04 p10",
      "locator": "",
      "issue": "44.1kHz32位PCM2.42Mb/s",
      "correction": "双声道2.8224Mbit/s",
      "destination": "F07"
    },
    {
      "source": "S03段41–48",
      "locator": "",
      "issue": "a=-7 b=3得4294967295",
      "correction": "32位unsigned结果4294967292，正确格式符",
      "destination": "F05/F06.2"
    },
    {
      "source": "S02 p20",
      "locator": "",
      "issue": "11000011八进制0332",
      "correction": "0303，十进制195",
      "destination": "F05"
    },
    {
      "source": "S03段132–143",
      "locator": "",
      "issue": "volatile提供多线程安全",
      "correction": "不提供原子和同步",
      "destination": "F05"
    },
    {
      "source": "S03段488",
      "locator": "",
      "issue": "C中malloc必须强转",
      "correction": "无需强转且应含stdlib",
      "destination": "F05"
    },
    {
      "source": "S03段644–696",
      "locator": "",
      "issue": "堆栈方向容量参数顺序固定",
      "correction": "实现ABI约束而非C标准",
      "destination": "F05"
    },
    {
      "source": "S03段707/1058",
      "locator": "",
      "issue": "free后指针可继续用",
      "correction": "对象生存期结束，不可访问",
      "destination": "F05"
    },
    {
      "source": "S03段783",
      "locator": "",
      "issue": "所有指针大小固定",
      "correction": "依实现与指针类型",
      "destination": "F05"
    },
    {
      "source": "S02 p109/293",
      "locator": "",
      "issue": "所有ISR无参无返回、绝对不可浮点",
      "correction": "签名由平台，浮点需上下文时延评估",
      "destination": "F08"
    },
    {
      "source": "S02 p135",
      "locator": "",
      "issue": "PSC36 ARR100错误20kHz",
      "correction": "PSC35 ARR99在72MHz时20kHz",
      "destination": "F07"
    },
    {
      "source": "S02 p142",
      "locator": "",
      "issue": "HRTIM分辨率等同CPU数GHz",
      "correction": "内部等效时间步进与CPU主频分离",
      "destination": "F07"
    },
    {
      "source": "S02 p150",
      "locator": "",
      "issue": "中断等于连续转换",
      "correction": "数据通知与转换模式正交",
      "destination": "F07"
    },
    {
      "source": "S02 p185",
      "locator": "",
      "issue": "PID只适用二阶系统",
      "correction": "适用性按动力学时延稳定性分析",
      "destination": "F07"
    },
    {
      "source": "S02 p211/215–216",
      "locator": "",
      "issue": "静态线程在Flash动态不占RAM",
      "correction": "二者需要RAM，分配策略不同",
      "destination": "F09"
    },
    {
      "source": "S02 p215",
      "locator": "",
      "issue": "timer中断被打断从头重来",
      "correction": "通常恢复现场继续，回调上下文区分",
      "destination": "F09"
    },
    {
      "source": "S02 p223",
      "locator": "",
      "issue": "STM32复位PC=0默认72MHz",
      "correction": "向量装载MSP/入口，时钟由芯片配置",
      "destination": "F04/F09"
    },
    {
      "source": "S02 p276/S03段3141–3152",
      "locator": "",
      "issue": "守护等于孤儿、kill僵尸",
      "correction": "可由service manager管理，父进程回收",
      "destination": "F10"
    },
    {
      "source": "S02 p283",
      "locator": "",
      "issue": "8192等于2^16且队列上限通用",
      "correction": "2^13，上限依配置",
      "destination": "F10"
    },
    {
      "source": "S03段3742",
      "locator": "",
      "issue": "进程只能有一个定时器",
      "correction": "alarm机制与其他timer区别",
      "destination": "F10"
    },
    {
      "source": "S02 p298",
      "locator": "",
      "issue": "lsmod列字符设备、proc/interrupt",
      "correction": "用/proc/devices等，/proc/interrupts",
      "destination": "F12"
    },
    {
      "source": "S03段5059–5064",
      "locator": "",
      "issue": "内核分配地址/128KB限制固定",
      "correction": "依架构配置分配器，DMA使用DMA API",
      "destination": "F12"
    },
    {
      "source": "S15 p129",
      "locator": "",
      "issue": "ARM7模式与CM3 MSPPSP混合",
      "correction": "按架构分章",
      "destination": "F04"
    },
    {
      "source": "S15 p155",
      "locator": "",
      "issue": "充电必为1、放电必为0",
      "correction": "阈值及逻辑映射实现定义",
      "destination": "F03.1"
    },
    {
      "source": "S15 p159",
      "locator": "",
      "issue": "硬盘内存按bit读写",
      "correction": "接口粒度不同，块存储按扇区等",
      "destination": "F03.2"
    },
    {
      "source": "S15 p163",
      "locator": "",
      "issue": "好块保证永无错误",
      "correction": "仍需ECC及不可纠正错误处理",
      "destination": "F03"
    },
    {
      "source": "S15 p161",
      "locator": "",
      "issue": "CLE/ALE是命令",
      "correction": "总线周期控制信号",
      "destination": "F03.1"
    },
    {
      "source": "S15 p171/177",
      "locator": "",
      "issue": "数据寄存器写要读字节数通用",
      "correction": "数据端口搬运，不是通用长度寄存器",
      "destination": "F03.1"
    },
    {
      "source": "S03段5143",
      "locator": "",
      "issue": "rootfs全部复制RAM",
      "correction": "可从块设备网络挂载或initramfs",
      "destination": "F11"
    },
    {
      "source": "S15 p176",
      "locator": "",
      "issue": "suspend/resume可空而无条件",
      "correction": "未完成I/O及电源时钟须处理",
      "destination": "F12.1"
    },
    {
      "source": "S03 段4364–4508",
      "locator": "",
      "issue": "strlen计数类型与NULL契约；strcpy返回类型及漏NUL；strcat漏NUL；strcmp有符号字节；void指针算术memset；double累加atoi越界",
      "correction": "逐一给标准契约及正确边界；提供严格十进制strtol包装，错误不修改输出",
      "destination": "F05.3.1"
    },
    {
      "source": "S16 p18–19",
      "locator": "",
      "issue": "LIS2HH12/LIS3DH误列加速度+陀螺",
      "correction": "两者均为三轴加速度计；历史索引中疑似拼写与当前规格分开",
      "destination": "F02.4"
    },
    {
      "source": "S16 p2",
      "locator": "",
      "issue": "D类功放被混同数字输入",
      "correction": "D类按开关工作方式分类，输入形式不决定类别",
      "destination": "F02"
    },
    {
      "source": "跨篇DMA审校",
      "locator": "",
      "issue": "DMA缓冲区只描述生存期不足",
      "correction": "Linux栈/镜像/vmalloc虚拟地址不可直接交给常规DMA映射；核对可映射分配、错误与所有权同步",
      "destination": "F08/F12"
    },
    {
      "source": "跨篇fork审校",
      "locator": "",
      "issue": "多线程fork后子进程锁与调用限制缺失",
      "correction": "仅复制调用线程；到exec前限async-signal-safe调用，防止继承锁状态",
      "destination": "F10"
    },
    {
      "source": "跨篇锁审校",
      "locator": "",
      "issue": "spinlock行为忽略PREEMPT_RT",
      "correction": "明确spinlock_t与raw_spinlock_t及PREEMPT_RT配置边界",
      "destination": "F10/F12"
    },
    {
      "source": "跨篇实时性审校",
      "locator": "",
      "issue": "响应时间迭代符号与假设不足",
      "correction": "补固定优先级单核可抢占等假设、hp(i)及C/T/B/D，区分公式分析与实际测试",
      "destination": "F09"
    },
    {
      "source": "S09 DOCX paragraphs13-16",
      "locator": "",
      "issue": "MOSI方向反写，MOSO/CSS拼写错误",
      "correction": "MOSI控制器输出；MISO控制器输入；CS片选",
      "destination": "4.1"
    },
    {
      "source": "S13 DOCX paragraph102 vs S12 PDF p48",
      "locator": "",
      "issue": "RS232正负逻辑矛盾",
      "correction": "数据电路负电压为逻辑1，正电压为逻辑0；阈值与摆幅分清",
      "destination": "5.1"
    },
    {
      "source": "S10 DOCX paragraph3",
      "locator": "",
      "issue": "120字符/s乘10后仍称字符/s",
      "correction": "结果为1200bit/s；8N1每字符10位",
      "destination": "1.3"
    },
    {
      "source": "S10 UART正文",
      "locator": "",
      "issue": "LSB-first称为小端",
      "correction": "位序和多字节字节序分开",
      "destination": "1.3"
    },
    {
      "source": "S06 paragraphs3,9,14,20",
      "locator": "",
      "issue": "只有1个Master、SCL始终主控、所有器件都能主从",
      "correction": "单控制器是场景；角色和拉伸取决器件能力，多控制器有同步仲裁",
      "destination": "3.1–3.3"
    },
    {
      "source": "S06 image7",
      "locator": "",
      "issue": "组合读最后ACK图容易误导",
      "correction": "读最后字节由控制器NACK结束；不采用该误导原图",
      "destination": "3.2"
    },
    {
      "source": "S07 p3-11 repeated at p40-60",
      "locator": "",
      "issue": "重复开漏/上拉/时序说明",
      "correction": "合并一次，保留条件和计算",
      "destination": "1.2、3"
    },
    {
      "source": "S13 paragraphs19,75,108",
      "locator": "",
      "issue": "UART最远1200m、SPI距离远、RS485固定32节点/1200m",
      "correction": "传输能力依物理层、负载、边沿、线缆与器件而定",
      "destination": "2、4、5"
    },
    {
      "source": "S05 p5",
      "locator": "",
      "issue": "最高7位ID不可全1被写成一般规则",
      "correction": "不沿用为现代CAN通用限制；按具体协议版本/控制器检查",
      "destination": "6.3"
    },
    {
      "source": "S05 p9-12",
      "locator": "",
      "issue": "位时序须避免寄存器编码/实际值混淆",
      "correction": "公式使用实际BRP/BS1/BS2，明确编码可能减一",
      "destination": "6.4"
    },
    {
      "source": "S08 p1",
      "locator": "",
      "issue": "GB/T占位号被误当正式标准风险",
      "correction": "明示中文参考资料，不称正式现行国标",
      "destination": "附录B"
    },
    {
      "source": "S08 p6",
      "locator": "",
      "issue": "TCP ADU=249+7=256",
      "correction": "PDU253，TCP ADU260；RTU ADU256",
      "destination": "7.5"
    },
    {
      "source": "S08 p14",
      "locator": "",
      "issue": "02正常响应误写82",
      "correction": "正常02，异常82",
      "destination": "7.2"
    },
    {
      "source": "S08 p20 vs21",
      "locator": "",
      "issue": "05值范围表错误",
      "correction": "只允许FF00=ON、0000=OFF",
      "destination": "7.2"
    },
    {
      "source": "S08 p33",
      "locator": "",
      "issue": "取反And_Mask误标第二And_Mask",
      "correction": "明确16位掩码公式",
      "destination": "附录A.1"
    },
    {
      "source": "S08 p35 vs36",
      "locator": "",
      "issue": "17读写数量表相互矛盾",
      "correction": "读1–125、写1–121",
      "destination": "7.2"
    },
    {
      "source": "S08 p38",
      "locator": "",
      "issue": "异常响应插入MEI字段",
      "correction": "异常PDU为AB+异常码，不增加MEI",
      "destination": "附录A.2"
    },
    {
      "source": "S08 p49",
      "locator": "",
      "issue": "地址范围1~47、248~55缺位",
      "correction": "单播1–247，248–255保留",
      "destination": "7.3"
    },
    {
      "source": "S11 paragraph21",
      "locator": "",
      "issue": "MIMO天线因OFDM而互不干扰",
      "correction": "空间流与信道条件有关，不绝对化",
      "destination": "9.2"
    },
    {
      "source": "S11正文",
      "locator": "",
      "issue": "红外也为2.4GHz",
      "correction": "红外不在2.4GHz射频段，删错误句",
      "destination": "9.2"
    },
    {
      "source": "S11 paragraphs26-28,173",
      "locator": "",
      "issue": "LAN限定有线、WAN更大LAN、无线必经AP",
      "correction": "分清网络范围与基础设施模式限定",
      "destination": "9.1"
    },
    {
      "source": "S11 paragraph61",
      "locator": "",
      "issue": "RC4称为RSA加密技术，旧安全配置可能当推荐",
      "correction": "RC4流密码，旧WEP/TKIP只作历史；区分认证与数据保护",
      "destination": "9.6"
    },
    {
      "source": "S11 paragraphs138-144",
      "locator": "",
      "issue": "介质忙后退避处理简化有误",
      "correction": "忙时暂停计数，满足恢复条件后继续",
      "destination": "9.4"
    },
    {
      "source": "S13 paragraphs87-94",
      "locator": "",
      "issue": "USB固定4线500mA及D+上拉即高速",
      "correction": "仅作版本限定概览；区分全速/低速识别与高速协商",
      "destination": "8.1"
    },
    {
      "source": "S14 p1-5",
      "locator": "",
      "issue": "版本固定距离，GATT角色与连接角色易混",
      "correction": "距离依PHY/功率/环境；GATT客户/服务器不等同中心/外围",
      "destination": "10.2"
    },
    {
      "source": "S02 PDF p198-199",
      "locator": "",
      "issue": "NB-IoT部署方式、资源占用、运营商静态频段/非运营商禁令绝对化",
      "correction": "区分独立/保护带/带内，频段和授权随地区网络核验，不保证无资源竞争",
      "destination": "10.3"
    },
    {
      "source": "S08 p57-58",
      "locator": "",
      "issue": "ASCII独有参数首稿压缩过度",
      "correction": "补7数据位/10位字符/默认偶校验/无校验2停止/513字符/1秒默认间隔及可配置例外",
      "destination": "7.4"
    },
    {
      "source": "S07 p21-23",
      "locator": "",
      "issue": "Hs进入与仲裁机制首稿不完整；源称免除建立保持要求",
      "correction": "补00001xxx+NACK+Sr、F/S仲裁同步与STOP退出；Hs仍受时序约束",
      "destination": "3.4"
    },
    {
      "source": "S07 p34-38",
      "locator": "",
      "issue": "I3C独有机制遗漏；LVR易误解为旧芯片硬件寄存器",
      "correction": "补描述信息、CCC/广播、IBI/HJ与兼容条件；LVR为系统对旧器件的描述",
      "destination": "8.3"
    },
    {
      "source": "S08 p28",
      "locator": "",
      "issue": "文件记录例请求0C响应0E互换",
      "correction": "2个7字节子请求为0E；两组2寄存器响应字节数0C",
      "destination": "附录A.1"
    },
    {
      "source": "S08 p30-31",
      "locator": "",
      "issue": "写文件记录请求功能码14误植",
      "correction": "写记录为15，按p31实例和函数定义一致",
      "destination": "附录A.1"
    },
    {
      "source": "S08 p71-76",
      "locator": "",
      "issue": "独有连接器和实施等级因过度概括遗漏",
      "correction": "恢复V1.02明确范围的2W/4W/RS232针脚和实施/默认参数",
      "destination": "附录A.5–A.6"
    },
    {
      "source": "S05 p7-9 / 初版独立审校 I08",
      "locator": "",
      "issue": "经典CAN遥控及错误帧参数压缩遗漏",
      "correction": "RTR隐性/DLC对应数据长度；主动6显性、被动6隐性；叠加6–12；8位定界、3位间歇、被动发送者额外8位暂停",
      "destination": "6.3"
    },
    {
      "source": "S08 p53-56 / 初版独立审校 I09",
      "locator": "",
      "issue": "RTU t1.5丢帧规则未显式写出",
      "correction": "≤19200bit/s帧内静默>1.5字符判不完整并丢弃；>19200使用指南推荐750us/1.750ms；11位实际格式计算",
      "destination": "7.3"
    },
    {
      "source": "S01",
      "locator": "161–169,247",
      "issue": "核对原材料说法",
      "correction": "银行家属于避免；不安全不等于已死锁；DFS区分在栈和访问完成；不复制双调用出队演示",
      "destination": "systems-sync-deadlock"
    },
    {
      "source": "S01",
      "locator": "223",
      "issue": "核对原材料说法",
      "correction": "pid_t 非 short 固定上限；考虑 pid_max/用户/cgroup/内存",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "224–225,571,630",
      "issue": "核对原材料说法",
      "correction": "线程栈不是地址隔离；静态 data/bss 不属于堆",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "225–232",
      "issue": "核对原材料说法",
      "correction": "POSIX 进程共享锁需属性；信号量命名不对应线程/进程；匿名管道可传 fd",
      "destination": "systems-ipc"
    },
    {
      "source": "S01",
      "locator": "229",
      "issue": "核对原材料说法",
      "correction": "System V key 不等于 PID，semop 成功返回0",
      "destination": "systems-ipc"
    },
    {
      "source": "S01",
      "locator": "233–234",
      "issue": "核对原材料说法",
      "correction": "线程数公式仅起点；自旋不等于实时优选",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "235–245",
      "issue": "核对原材料说法",
      "correction": "队列信号量须在 mutex 外等待；条件变量谓词在锁下while检查；五线程只join四个缺陷",
      "destination": "systems-sync"
    },
    {
      "source": "S01",
      "locator": "256–260",
      "issue": "核对原材料说法",
      "correction": "就绪不等于阻塞；Linux R同时含运行与可运行",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "480–482",
      "issue": "核对原材料说法",
      "correction": "Windows 文件系统错误；分区不保证物理故障隔离；容量上限依配置",
      "destination": "systems-storage"
    },
    {
      "source": "S01",
      "locator": "498",
      "issue": "核对原材料说法",
      "correction": "taskset -p 为亲和性掩码；Ctrl+C 对前台进程组",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "519–521,548",
      "issue": "核对原材料说法",
      "correction": "系统调用非固定 int80 或softirq；malloc不每次syscall；break非向下",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "522–539,575–582",
      "issue": "核对原材料说法",
      "correction": "VM不等于swap；TLBmiss≠pagefault；缺页不总是IO；页偏移425改452",
      "destination": "systems-memory"
    },
    {
      "source": "S01",
      "locator": "535–539",
      "issue": "核对原材料说法",
      "correction": "三张算法图视觉检查并模拟9/9/10缺页；CLOCK变体与现代Linux回收分开",
      "destination": "systems-memory"
    },
    {
      "source": "S01",
      "locator": "540,551",
      "issue": "核对原材料说法",
      "correction": "上下文切换不必清空全部Cache/TLB",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "541–543,634–635",
      "issue": "核对原材料说法",
      "correction": "write不等于持久化；短写/读错误/目标截断；lseek例实际11L+1",
      "destination": "systems-storage"
    },
    {
      "source": "S01",
      "locator": "545,572–574,639",
      "issue": "核对原材料说法",
      "correction": "pthread返回错误号；pthread_t不透明；join不限主线程；fork多线程安全",
      "destination": "systems-ipc"
    },
    {
      "source": "S01",
      "locator": "546–550",
      "issue": "核对原材料说法",
      "correction": "N:1不代表所有用户线程模型；Linux有线程；64MB固定限制错误",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "552–554",
      "issue": "核对原材料说法",
      "correction": "cache和buffer不能只读只写二分；数据库缓存策略另篇",
      "destination": "systems-storage"
    },
    {
      "source": "S01",
      "locator": "558–565",
      "issue": "核对原材料说法",
      "correction": "free不保证归还内核；适应算法是模型非完整Linux实现",
      "destination": "systems-memory"
    },
    {
      "source": "S01",
      "locator": "565–567",
      "issue": "核对原材料说法",
      "correction": "硬链接同文件系统；ctime非创建；栈大小非跨平台固定值",
      "destination": "systems-storage"
    },
    {
      "source": "S01",
      "locator": "587–590,636–638",
      "issue": "核对原材料说法",
      "correction": "会话/前台组/setsid边界；umask非unmask；SIGCHLD非SIGCHILD；禁止杀父进程作默认修复",
      "destination": "systems-ipc"
    },
    {
      "source": "S01",
      "locator": "591–594",
      "issue": "核对原材料说法",
      "correction": "SCAN/LOOK混淆；SSD无磁头；swap比例旧限值；工作集与驻留集不固定包含",
      "destination": "systems-memory"
    },
    {
      "source": "S01",
      "locator": "594–595",
      "issue": "核对原材料说法",
      "correction": "ASCII128；Unicode非固定2字节；现代UTF8为1–4字节",
      "destination": "systems-encoding"
    },
    {
      "source": "S01",
      "locator": "596–602",
      "issue": "核对原材料说法",
      "correction": "atomic与总线锁非普遍等同；多字段更新须协议，语言内存序另篇",
      "destination": "systems-sync"
    },
    {
      "source": "S01",
      "locator": "603–609",
      "issue": "核对原材料说法",
      "correction": "FCFS不等于无切换最高吞吐；SJF/SRTF区分；课堂MLFQ不冒充当前Linux",
      "destination": "systems-execution"
    },
    {
      "source": "S01",
      "locator": "610–624",
      "issue": "核对原材料说法",
      "correction": "读写锁不必自旋；跨线程解锁std::mutex无效；timedlock不自动防死锁",
      "destination": "systems-sync"
    },
    {
      "source": "S01",
      "locator": "625–628",
      "issue": "核对原材料说法",
      "correction": "独立完成条件不强加顺序；起跑要ready/start/done阶段",
      "destination": "systems-sync"
    },
    {
      "source": "S01",
      "locator": "629",
      "issue": "核对原材料说法",
      "correction": "共享区域不同虚拟地址用偏移；页大小非恒4K",
      "destination": "systems-ipc"
    },
    {
      "source": "S01",
      "locator": "1159–1175",
      "issue": "核对原材料说法",
      "correction": "三责任分开；宽限期非强制每CPU调度；call_rcu为有效API；普通RCU与SRCU分开",
      "destination": "systems-rcu"
    },
    {
      "source": "S01",
      "locator": "1176–1182",
      "issue": "核对原材料说法",
      "correction": "PV截图是概念伪代码非安全实现；公平依赖底层排队语义；不能普通整数模拟原子入队睡眠",
      "destination": "systems-sync"
    },
    {
      "source": "S01",
      "locator": "50",
      "issue": "内建类型delete/delete[]可混用",
      "correction": "所有类型都应匹配分配释放形式，混用有未定义行为风险",
      "destination": "cpp-object"
    },
    {
      "source": "S01",
      "locator": "50,89–90",
      "issue": "非虚析构通过基类删除只是少调派生析构",
      "correction": "普通基类指针delete派生对象通常要求虚析构，否则未定义行为",
      "destination": "cpp-object"
    },
    {
      "source": "S01",
      "locator": "56–58,129,183–184",
      "issue": "固定虚表布局、4字节指针和对象大小泛化",
      "correction": "明确为特定ABI示例，标准未固定虚表布局",
      "destination": "cpp-object"
    },
    {
      "source": "S01",
      "locator": "67; S02 48",
      "issue": "引用一定不占空间或就是const指针",
      "correction": "区分语义别名与实现表示",
      "destination": "cpp-object"
    },
    {
      "source": "S01",
      "locator": "99–105",
      "issue": "weak_ptr防死锁、仅观察计数",
      "correction": "区分引用环泄漏与等待死锁，以lock取得有效所有权",
      "destination": "cpp-raii"
    },
    {
      "source": "S01",
      "locator": "116–119",
      "issue": "字符串if(str=nullptr)、先删后分配及每对象独立锁保护共享计数",
      "correction": "不复刻缺陷实现，用零法则与标准资源管理替代；手写题仅保留测试任务",
      "destination": "cpp-raii"
    },
    {
      "source": "S01",
      "locator": "120–121",
      "issue": "volatile可作多线程共享同步",
      "correction": "volatile不建立线程间同步，改用锁/atomic；MMIO另有平台契约",
      "destination": "cpp-memory-model"
    },
    {
      "source": "S01",
      "locator": "133–135",
      "issue": "复制消除底层仍复制、无虚函数即可memset",
      "correction": "区分C++17纯右值规则；任意类不能按有无虚函数判断字节初始化合法性",
      "destination": "cpp-generic"
    },
    {
      "source": "S01",
      "locator": "180",
      "issue": "forword拼写及把值类别等同栈上有地址",
      "correction": "改std::forward<T>，解释转发引用和具名表达式",
      "destination": "cpp-generic"
    },
    {
      "source": "S01",
      "locator": "214",
      "issue": "stack不能用vector，vector总两倍扩容",
      "correction": "stack可使用vector；增长倍率实现决定，尾插为摊还复杂度",
      "destination": "cpp-stl"
    },
    {
      "source": "S01",
      "locator": "219; S03 段1810",
      "issue": "deque两端插入不使迭代器失效/连续存储",
      "correction": "区分迭代器与引用，deque非单块连续存储",
      "destination": "cpp-stl"
    },
    {
      "source": "S01",
      "locator": "657–658",
      "issue": "普通指针双检锁称线程安全",
      "correction": "锁外普通指针读写可竞争；说明局部静态初始化保证的边界",
      "destination": "cpp-memory-model"
    },
    {
      "source": "S01",
      "locator": "661–665",
      "issue": "持锁执行观察者回调及不清楚shared_from_this关系",
      "correction": "解释重入/锁风险、快照后回调及取消订阅语义",
      "destination": "cpp-design"
    },
    {
      "source": "S01",
      "locator": "676–677",
      "issue": "sizeof(dst)测容量并把重叠搬运叫memcpy",
      "correction": "指针大小非容量，memcpy不得重叠，memmove处理重叠",
      "destination": "cpp-raii"
    },
    {
      "source": "S01",
      "locator": "691–693",
      "issue": "所有资源共用static计数并显式析构自动对象",
      "correction": "不发布为可用智能指针，强调每所有权组控制块及避免重复析构",
      "destination": "cpp-raii"
    },
    {
      "source": "S02",
      "locator": "55,75–76",
      "issue": "有指针就必须析构释放/深拷贝",
      "correction": "区分拥有、借用、共享；允许不可复制与零法则",
      "destination": "cpp-raii"
    },
    {
      "source": "S02",
      "locator": "72,75",
      "issue": "random_shuffle现行、STL算法不能操作list、map迭代器只读",
      "correction": "标注移除版本，区分算法迭代器能力与键/值可变性",
      "destination": "cpp-stl"
    },
    {
      "source": "S02",
      "locator": "77–79",
      "issue": "auto后续赋值推导/永不能作参数，atomic关键字，任意unique_lock超时",
      "correction": "注明现代标准与初始化要求；atomic是模板，超时取决于底层锁",
      "destination": "cpp-generic;cpp-memory-model"
    },
    {
      "source": "S03",
      "locator": "段318,1855",
      "issue": "const成员函数不能virtual、纯虚函数永不调用",
      "correction": "const成员可virtual，纯虚可有定义且纯虚析构须定义",
      "destination": "cpp-object"
    },
    {
      "source": "S03",
      "locator": "段1831",
      "issue": "哈希值判断键相等",
      "correction": "Hash定位候选，再KeyEqual判等，二者需相容",
      "destination": "cpp-stl"
    },
    {
      "source": "S01",
      "locator": "502–503",
      "issue": "里氏替换尽量不覆盖，迪米特法则机械限制局部对象",
      "correction": "以行为契约和依赖边界解释，不把语法禁令当原则",
      "destination": "cpp-design"
    },
    {
      "source": "S01",
      "locator": "141–149",
      "issue": "delete this互相矛盾、销毁后仍可调用无字段成员、GC消除全部泄漏、栈不换出、池100MB分界",
      "correction": "逐页机制化修订；与F05.2/F05.4/F06明确分工",
      "destination": "cpp-raii"
    },
    {
      "source": "S01",
      "locator": "221",
      "issue": "unordered_map桶超过8变红黑树",
      "correction": "不属于std::unordered_map标准承诺，哈希碰撞仍需相等判定",
      "destination": "cpp-stl"
    },
    {
      "source": "S01",
      "locator": "97–99",
      "issue": "严格同类型匹配过度概括；缺少栈展开边界",
      "correction": "新增cpp-exceptions，区分匹配/顺序/切片/重抛/终止",
      "destination": "cpp-exceptions"
    },
    {
      "source": "S01",
      "locator": "211–212",
      "issue": "预建容器即可无锁、同键写只是覆盖，省略发布与复用同步",
      "correction": "新增cpp-container-concurrency，明确不同元素保证及结构和发布边界",
      "destination": "cpp-container-concurrency"
    },
    {
      "source": "初版整编稿",
      "locator": "cpp-object 移动后状态",
      "issue": "unique_ptr移动后必空未排除自移动",
      "correction": "限定正常移动构造/非自移动赋值及删除器契约",
      "destination": "cpp-object"
    },
    {
      "source": "S02",
      "locator": "81–82",
      "issue": "链表节点必在堆、没有空间浪费",
      "correction": "节点可来自池/静态区域，有链接与分配开销",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "82",
      "issue": "栈队列遍历速度由LIFO/FIFO决定",
      "correction": "区分抽象接口与底层结构",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "83",
      "issue": "Node* head却比较*head==NULL且*head=p1",
      "correction": "prev/cur/next单指针迭代返回新头",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "84",
      "issue": "从任意匹配位置走重复次数且a[mid+1]无界/缺失败返回",
      "correction": "lower/upper边界与1起始k，optional缺席",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "84–85",
      "issue": "int Fibonacci未限制输入/溢出",
      "correction": "unsigned输入并checked uint64_t",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "85",
      "issue": "读取B[b]后才判断b<0",
      "correction": "先判断边界，完整示例双输入独立输出",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "88,96",
      "issue": "希尔统一平均n^1.3/最好n",
      "correction": "明确步长依赖，不套未证明平均数",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "91",
      "issue": "读a[start]后才判空区间",
      "correction": "先判区间；三路partition缩小递归",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "93",
      "issue": "普通选择排序最好O(n)",
      "correction": "每轮扫描后缀，Theta(n²)",
      "destination": ""
    },
    {
      "source": "S02",
      "locator": "94–95",
      "issue": "child+1非零代替范围检查且end语义混乱",
      "correction": "child+1<n；统一半开长度",
      "destination": ""
    },
    {
      "source": "S03",
      "locator": "段2044",
      "issue": "去重用num[i--]",
      "correction": "先i>0再比较i-1，不改循环变量",
      "destination": ""
    },
    {
      "source": "S03",
      "locator": "段2900–2972",
      "issue": "环形/链式队列空满约定混用",
      "correction": "固定留槽方案并区分哨兵",
      "destination": ""
    },
    {
      "source": "S01",
      "locator": 322,
      "issue": "TCP校验和被写成CRC",
      "correction": "传统TCP校验和是Internet checksum，不是CRC",
      "destination": "N1.3"
    },
    {
      "source": "S01",
      "locator": 277,
      "issue": "SYN绝对不能带数据",
      "correction": "普通示例不带数据不能上升为协议禁止，区分FastOpen",
      "destination": "N2.1"
    },
    {
      "source": "S01",
      "locator": 330,
      "issue": "GET/POST固定一个/两个TCP包",
      "correction": "HTTP语义不规定TCP分段数量",
      "destination": "N3.1"
    },
    {
      "source": "S01",
      "locator": 330,
      "issue": "幂等要求返回相同结果",
      "correction": "相同请求的预期服务器效果相同，响应可不同",
      "destination": "N3.1"
    },
    {
      "source": "S01",
      "locator": 339,
      "issue": "站点Cookie固定3KB",
      "correction": "容量取决于浏览器实现，不是固定3KB通则",
      "destination": "N3.2"
    },
    {
      "source": "S01",
      "locator": 369,
      "issue": "所有签名都是私钥加密",
      "correction": "签名/验证按算法定义，TLS1.3不采用旧RSA密钥交换模型",
      "destination": "N3.3"
    },
    {
      "source": "S01",
      "locator": 394,
      "issue": "阻塞write必定完整返回请求长度",
      "correction": "流式发送要处理短写，成功不代表对端执行",
      "destination": "N4.1"
    },
    {
      "source": "S01",
      "locator": 401,
      "issue": "DNS通过UDP广播寻找",
      "correction": "常规DNS查询为向解析器单播UDP/TCP等",
      "destination": "N1.2"
    },
    {
      "source": "S01",
      "locator": 442,
      "issue": "epoll描述符无上限且恒O1",
      "correction": "受资源限制，处理事件数量仍有成本",
      "destination": "N4.2"
    },
    {
      "source": "S01",
      "locator": 443,
      "issue": "epoll用mmap共享就绪队列",
      "correction": "普通epoll_wait向用户缓冲返回事件，不是这类共享映射",
      "destination": "N4.2"
    },
    {
      "source": "S01",
      "locator": 553,
      "issue": "CacheAside同时更新缓存和DB",
      "correction": "应用协调旁路读写/失效，与ThroughBehind区分",
      "destination": "N5.6"
    },
    {
      "source": "S01",
      "locator": 727,
      "issue": "防幻读必须锁整表",
      "correction": "InnoDB可用MVCC及记录/间隙/nextkey等机制",
      "destination": "N5.3"
    },
    {
      "source": "S01",
      "locator": 751,
      "issue": "页级锁就是整表锁",
      "correction": "页与表是不同粒度",
      "destination": "N5.3"
    },
    {
      "source": "S01",
      "locator": 753,
      "issue": "MySQL现行流程默认查询缓存",
      "correction": "MySQL8移除旧查询缓存",
      "destination": "N5.2"
    },
    {
      "source": "S01",
      "locator": 766,
      "issue": "NULL一律用零或空串替代",
      "correction": "未知值语义应保留，不做无条件替换",
      "destination": "N5.1"
    },
    {
      "source": "S01",
      "locator": 796,
      "issue": "六种淘汰实际列八项",
      "correction": "列出原版本常见八项并注明当前LRM扩展，非永恒全集",
      "destination": "N5.6"
    },
    {
      "source": "S01",
      "locator": 802,
      "issue": "fork立即完整复制全部数据",
      "correction": "写时复制，仍有后续写放大和内存风险",
      "destination": "N5.6"
    },
    {
      "source": "S01",
      "locator": 812,
      "issue": "网卡收到后软件驱动再用DMA搬运",
      "correction": "驱动预置资源，硬件DMA并经完成通知处理",
      "destination": "N4.4"
    },
    {
      "source": "S01",
      "locator": 813,
      "issue": "所有软中断包均ksoftirqd处理",
      "correction": "区分软中断上下文/线程化NAPI/忙轮询",
      "destination": "N4.4"
    },
    {
      "source": "S01",
      "locator": 1042,
      "issue": "RPC一定是与HTTP并列的自定义协议",
      "correction": "RPC是调用模型可使用HTTP",
      "destination": "N6.3"
    },
    {
      "source": "S01",
      "locator": 1184,
      "issue": "LT不可能遗漏事件bug",
      "correction": "LT简化处理不保证程序不会出错",
      "destination": "N4.2"
    },
    {
      "source": "S01",
      "locator": 1203,
      "issue": "WebMVC文字作为PyQt教程",
      "correction": "标范围并区分Qt model/view",
      "destination": "N8.2"
    },
    {
      "source": "S02",
      "locator": "193–195",
      "issue": "MQTT固定头恒2字节、QoS2等于业务恰好一次",
      "correction": "变长剩余长度，QoS保证有作用域",
      "destination": "N3.4"
    },
    {
      "source": "S02",
      "locator": "197",
      "issue": "Lua number仅双精度、thread易误读OS线程",
      "correction": "Lua5.3+整数/浮点；协程非OS线程",
      "destination": "N8.1"
    },
    {
      "source": "S03",
      "locator": "",
      "issue": "IPv6自动加密/最小包1280/IPv4首部20–40/A类最高位1",
      "correction": "按IPv6链路MTU与安全机制、IPv4首部20–60、CIDR与历史前导位纠正",
      "destination": "N1.5"
    },
    {
      "source": "S02 p286–292",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "Java来源纠正S02",
      "destination": "platform-java"
    },
    {
      "source": "S02 p286–292",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "JVM逻辑内存与HotSpot布局分开",
      "destination": "platform-java"
    },
    {
      "source": "S02 p286–292",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "wait只释放目标monitor且需while；sleep不释放锁",
      "destination": "platform-java"
    },
    {
      "source": "S02 p286–292",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "ReentrantLock可重入不等于无死锁",
      "destination": "platform-java"
    },
    {
      "source": "S02 p286–292",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "平台线程与虚拟线程区分",
      "destination": "platform-java"
    },
    {
      "source": "S15 p85–93",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "旧start_armboot与board_init_f/r不拼接成单版本",
      "destination": "platform-uboot-relocation"
    },
    {
      "source": "S15 p85–93",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "ADR/LDR伪指令与真实位置无关性区分",
      "destination": "platform-uboot-relocation"
    },
    {
      "source": "S15 p85–93",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "两套重定位基址算例分别计算",
      "destination": "platform-uboot-relocation"
    },
    {
      "source": "S15 p85–93",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "r_info右移4是特定符号条目字节偏移不是索引定义",
      "destination": "platform-uboot-relocation"
    },
    {
      "source": "S15 p85–93",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "未知relocation不能复制为安全通用装载器",
      "destination": "platform-uboot-relocation"
    },
    {
      "source": "S15 p85–93",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "删除pie与nand_info置零不作修复方案",
      "destination": "platform-uboot-relocation"
    },
    {
      "source": "S03 段5101–5413",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "-j12是并行作业数非CPU核数",
      "destination": "platform-imx6ull"
    },
    {
      "source": "S03 段5101–5413",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "iMX头/IVT/DCD与认证分开",
      "destination": "platform-imx6ull"
    },
    {
      "source": "S03 段5101–5413",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "根文件系统不必全装RAM",
      "destination": "platform-imx6ull"
    },
    {
      "source": "S03 段5101–5413",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "r1机器类型非CPU ID；r2为ATAG或DTB非内核位置",
      "destination": "platform-imx6ull"
    },
    {
      "source": "S03 段5101–5413",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "mmc枚举非固定SD/eMMC",
      "destination": "platform-imx6ull"
    },
    {
      "source": "S04 p9–10；Dell P2018H p20",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "VGA源无编号表；新表明确产品例",
      "destination": "platform-vga"
    },
    {
      "source": "历史命令示例",
      "locator": "",
      "issue": "平台机制或来源边界核对",
      "correction": "危险烧录命令不执行，历史偏移不可套用",
      "destination": "platform-command-boundaries"
    }
  ],
  "claim": "主题整编与技术修订，不是全部原句、旧源码和原图逐项出版级校勘",
  "reaudit": {
    "edition": "R2",
    "date": "2026-11-13",
    "scope": "逐节复审7份主题正文和5份排障文稿，并复核导读、历史来源映射和32幅采用原图；不是重新逐页逐字校勘全部原始资料。",
    "correction_count": 70,
    "corrections": [
      {
        "id": "HS-01",
        "domain": "硬件与系统",
        "location": "foundations.md:182",
        "topic": "F05.1",
        "kind": "medium",
        "before": "无符号N位整数算术按模2^N处理；有符号溢出不能当成可靠回绕。",
        "after": "经过整数提升和通常算术转换后，若实际运算类型是有N个值位的无符号整数，结果按模2^N处理；窄无符号类型可能先提升为int，不能只看变量声明就套用回绕。有符号溢出不能当成可靠回绕。",
        "reason": "模运算规则适用于转换后的运算类型。uint8_t/unsigned short 的表达式可能先在 int 中运算，原句容易掩盖提升和有符号溢出风险。",
        "sources": [
          {
            "title": "C11 N1570 §6.2.5p9、§6.3.1.1p2、§6.3.1.8",
            "url": "https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf"
          }
        ]
      },
      {
        "id": "HS-02",
        "domain": "硬件与系统",
        "location": "foundations.md:361",
        "topic": "F08",
        "kind": "medium",
        "before": "不同中断可按优先级嵌套，并不是中断期间“所有中断都关闭”。RTOS可调用API的中断优先级范围要按移植层规则设置。",
        "after": "是否允许中断嵌套取决于处理器、控制器、屏蔽状态及操作系统约定。Cortex-M在允许抢占且未被屏蔽时可响应更高抢占优先级的异常；Linux常规硬IRQ处理则通常按本CPU中断关闭的约定运行，不能直接套用MCU的嵌套策略。NMI、线程化中断与其他CPU上的中断还须分别分析。RTOS可调用API的中断优先级范围要按移植层规则设置。",
        "reason": "原文把可嵌套的硬件能力与所有操作系统的默认执行策略并列，容易误导 Linux 驱动作者自行启用嵌套。",
        "sources": [
          {
            "title": "CMSIS NVIC 优先级/分组",
            "url": "https://arm-software.github.io/CMSIS_6/latest/Core/group__NVIC__gr.html"
          },
          {
            "title": "Linux Entry/exit handling，Interrupts and regular exceptions",
            "url": "https://docs.kernel.org/core-api/entry.html"
          }
        ]
      },
      {
        "id": "HS-03",
        "domain": "硬件与系统",
        "location": "foundations.md:379",
        "topic": "F09",
        "kind": "medium",
        "before": "优先级反转是高优先级等待低优先级持锁，并被中优先级进一步延迟；优先级继承可缓解但仍需有界临界区。",
        "after": "优先级反转包括高优先级任务因低优先级任务持有所需资源而被阻塞；中优先级任务再抢占持有者，是使阻塞进一步延长、甚至无界的经典情形，并不是发生反转的必要条件。优先级继承可抑制这类额外延迟，但仍需有界临界区与无死锁的资源协议。",
        "reason": "原句把三任务无界优先级反转示例当成全部定义。两任务资源依赖就可产生优先级反转。",
        "sources": [
          {
            "title": "Linux RT-mutex implementation design，Unbounded Priority Inversion",
            "url": "https://docs.kernel.org/locking/rt-mutex-design.html"
          }
        ]
      },
      {
        "id": "HS-04",
        "domain": "硬件与系统",
        "location": "foundations.md:431",
        "topic": "F12",
        "kind": "high",
        "before": "probe获取资源并初始化，remove或解绑应停止新请求、屏蔽/同步中断、停止DMA与工作、撤销接口再释放内存。",
        "after": "probe获取资源并初始化；remove或解绑必须阻止新请求，并按设备依赖关系协调停止DMA、屏蔽/同步中断、取消工作及撤销接口，不能把它们当成所有驱动通用的固定顺序。最后只能释放已无使用者的资源。例如cdev_del阻止新的打开，却不终止已打开文件的file_operations调用；需用移除状态和引用/同步协议保护这些使用者。等待中断或工作结束时也不能持有其完成路径所需的锁。",
        "reason": "撤销字符设备不结束已打开 fd 的调用，立即释放私有数据会产生use-after-free；停机顺序由完成路径依赖决定，持锁等待会死锁。",
        "sources": [
          {
            "title": "Linux Kernel API，cdev_del/cdev_device_del",
            "url": "https://docs.kernel.org/core-api/kernel-api.html"
          },
          {
            "title": "Linux generic IRQ handling，synchronize_irq/disable_irq",
            "url": "https://docs.kernel.org/core-api/genericirq.html"
          }
        ]
      },
      {
        "id": "HS-05",
        "domain": "硬件与系统",
        "location": "foundations.md:437",
        "topic": "F12",
        "kind": "high",
        "before": "流式映射应检查dma_mapping_error，按方向在CPU与设备间交接所有权，必要时同步并最终解除映射；一致性分配也仍有内存顺序约束。",
        "after": "流式映射的失败检查须对应API：dma_map_single/dma_map_page返回的地址用dma_mapping_error检查；dma_map_sg返回映射后的段数，0才表示失败。向设备提交使用映射后段数，dma_unmap_sg及dma_sync_sg_*仍使用原始nents。按方向在CPU与设备间交接所有权，必要时同步，并在设备停止访问后解除映射；一致性分配也仍有内存顺序约束。",
        "reason": "dma_map_sg不是返回DMA地址，不能按dma_mapping_error统一检测。映射后段数可因合并变少，解除/同步时使用返回段数也不符合契约。",
        "sources": [
          {
            "title": "Linux Dynamic DMA mapping Guide，scatterlists与同步段",
            "url": "https://docs.kernel.org/core-api/dma-api-howto.html"
          }
        ]
      },
      {
        "id": "HS-06",
        "domain": "硬件与系统",
        "location": "foundations.md:439",
        "topic": "F12",
        "kind": "high",
        "before": "工作队列在进程上下文执行，可按规则睡眠；软中断/tasklet不因叫“下半部”就允许睡眠。",
        "after": "由worker线程执行的普通工作队列运行在进程上下文，可按规则睡眠；支持WQ_BH的内核另有在softirq上下文执行的BH工作队列，其回调不能睡眠。软中断/tasklet也不因叫“下半部”就允许睡眠。",
        "reason": "当前内核文档明确区分threaded与BH workqueue，原句作为无版本限定的通则不再成立。",
        "sources": [
          {
            "title": "Linux Workqueue，The Design与WQ_BH",
            "url": "https://docs.kernel.org/core-api/workqueue.html"
          }
        ]
      },
      {
        "id": "HS-07",
        "domain": "硬件与系统",
        "location": "systems.md:26",
        "topic": "状态与策略分别回答什么",
        "kind": "low",
        "before": "Linux `R` 通常同时包含可运行和正在运行，`S` 是可中断睡眠，`D` 常表示不可中断睡眠，`T` 为停止或被跟踪，`Z` 为僵尸。",
        "after": "现代 Linux/procps 的 `R` 同时包含可运行和正在运行，`S` 是可中断睡眠，`D` 表示不可中断睡眠，`T` 表示被作业控制信号停止，`t` 表示被调试器跟踪时停止，`Z` 为僵尸。旧版本的状态标记可能不同。",
        "reason": "现代ps区分大小写T/t；被跟踪不等于持续停止。保留版本限定，避免将旧状态表当当前接口。",
        "sources": [
          {
            "title": "procps ps(1)，PROCESS STATE CODES",
            "url": "https://man7.org/linux/man-pages/man1/ps.1.html"
          }
        ]
      },
      {
        "id": "HS-08",
        "domain": "硬件与系统",
        "location": "systems.md:144",
        "topic": "正确处理读写与稀疏文件",
        "kind": "high",
        "before": "是否截断既有目标、是否覆盖、目标权限及源目标是否同一文件，都应是明确策略，不能盲目使用 `0777`。",
        "after": "是否截断既有目标、是否覆盖、目标权限及源目标是否同一文件，都应是明确策略，不能盲目使用 `0777`。同一文件的判断必须在截断之前完成，并考虑硬链接与并发路径替换；可比较已打开描述符的文件身份，不能仅比较路径字符串。",
        "reason": "若先O_TRUNC再检查同一文件，源数据已经丢失；不同路径也可能是同一inode。新增描述符身份检查避免路径竞态的简化陷阱。",
        "sources": [
          {
            "title": "Linux open(2)，O_TRUNC",
            "url": "https://man7.org/linux/man-pages/man2/open.2.html"
          },
          {
            "title": "Linux stat(2)，st_dev/st_ino",
            "url": "https://man7.org/linux/man-pages/man2/stat.2.html"
          }
        ]
      },
      {
        "id": "HS-09",
        "domain": "硬件与系统",
        "location": "systems.md:146",
        "topic": "正确处理读写与稀疏文件",
        "kind": "medium",
        "before": "以下只是算法框架，不是经过编译测试的完整复制程序：",
        "after": "以下以阻塞式普通文件描述符和非零读写请求为前提，只是算法框架，不是经过编译测试的完整复制程序。若改用非阻塞描述符，还须另行设计EAGAIN/EWOULDBLOCK的等待与重试，不能忙等：",
        "reason": "复制伪代码原本未交代阻塞模型；以免被当成非阻塞I/O的完整状态机。",
        "sources": [
          {
            "title": "Linux write(2)，EAGAIN/EWOULDBLOCK",
            "url": "https://man7.org/linux/man-pages/man2/write.2.html"
          }
        ]
      },
      {
        "id": "HS-10",
        "domain": "硬件与系统",
        "location": "systems.md:154",
        "topic": "正确处理读写与稀疏文件",
        "kind": "medium",
        "before": "    每次写成功只推进实际完成的字节数；失败则退出",
        "after": "    write返回正数时只推进实际完成的字节数\n    write返回-1且errno为EINTR时，按重试策略继续；其他错误退出\n    尚有数据但write返回0时，按无进展错误退出，避免无限循环",
        "reason": "原循环可能在无进展返回时永不结束，并把读侧EINTR与写侧EINTR处理混为一句；显式列出转移分支。",
        "sources": [
          {
            "title": "Linux write(2)，返回实际写入量/错误与短写",
            "url": "https://man7.org/linux/man-pages/man2/write.2.html"
          },
          {
            "title": "本次对伪代码分支进行确定性故障注入模型测试，见本轮测试记录。"
          }
        ]
      },
      {
        "id": "HS-11",
        "domain": "硬件与系统",
        "location": "systems.md:160",
        "topic": "正确处理读写与稀疏文件",
        "kind": "medium",
        "before": "`lseek(fd, offset, SEEK_END)` 设置偏移为原文件大小加 offset，单独 seek 不改变长度。",
        "after": "在Linux上，close报告错误也不能直接套用read/write的EINTR重试循环，否则可能关闭已被复用的描述符。应检查并记录最终错误，按平台契约处理；其他POSIX实现的close/EINTR规则可能不同。\n\n`lseek(fd, offset, SEEK_END)` 设置偏移为原文件大小加 offset，单独 seek 不改变长度。",
        "reason": "前文通用重试表述与最后关闭步骤相邻，补充Linux close的关键例外；当前POSIX.1-2024与Linux在EINTR后fd状态确有差异，不能泛化。",
        "sources": [
          {
            "title": "Linux close(2)，Dealing with error returns from close",
            "url": "https://man7.org/linux/man-pages/man2/close.2.html"
          }
        ]
      },
      {
        "id": "HS-12",
        "domain": "硬件与系统",
        "location": "systems.md:222",
        "topic": "先定义不变量，再选工具",
        "kind": "medium",
        "before": "`signal` 唤醒一个等待者，`broadcast` 唤醒多个，按谓词变化范围选择，而不是一概禁用广播。",
        "after": "以POSIX条件变量为例，`pthread_cond_signal` 在存在等待者时至少解除一个等待者的阻塞，`pthread_cond_broadcast` 解除当前全部等待者的阻塞；不保证它们马上取得锁或满足谓词。按谓词变化范围选择，而不是一概禁用广播。",
        "reason": "POSIX signal保证at least one而非精确一个；broadcast是所有当前等待者而非任意多个。明确API全名避免与进程信号混淆。",
        "sources": [
          {
            "title": "POSIX pthread_cond_broadcast/pthread_cond_signal，man7规范转载",
            "url": "https://man7.org/linux/man-pages/man3/pthread_cond_broadcast.3p.html"
          }
        ]
      },
      {
        "id": "HS-13",
        "domain": "硬件与系统",
        "location": "platform-extensions.md:22",
        "topic": "sleep与wait的差别",
        "kind": "medium",
        "before": "通知、超时、中断和虚假唤醒都可能结束等待过程；通知本身不会立即把锁交给被唤醒线程。",
        "after": "通知、中断和虚假唤醒都可能使等待结束；只有设置了正等待时长的wait重载还可能因超时醒来，无参wait不设置超时。通知本身不会立即把锁交给被唤醒线程。",
        "reason": "上文具体写的是obj.wait()，它等价于无限期wait(0)，不能将超时写作该重载自身的退出条件。",
        "sources": [
          {
            "title": "Java SE21 Object.wait()/wait(long,int)",
            "url": "https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html"
          }
        ]
      },
      {
        "id": "HS-14",
        "domain": "硬件与系统",
        "location": "platform-extensions.md:84",
        "topic": ".rel.dyn、.dynsym与类型字段",
        "kind": "high",
        "before": "历史代码对不认识的类型并未建立健全的通用装载错误处理，不宜照抄后宣称支持任意链接器输出。实际移植应检查构建产物的重定位类型、边界和目标节，遇到未支持类型应明确拒绝或实现处理，而不是假设都可略过。",
        "after": "这份v2012.04.01 ARM920T代码对未知重定位类型并不是安全跳过：虽然注释写着ignore，分支却跳到fixnext，随后仍执行`str r1, [r0]`；此时r1仍为r_info，会覆盖目标槽位。这是该历史实现的具体缺陷，不能凭注释认为未知类型无害。实际移植应检查构建产物的重定位类型、边界和目标节，遇到未支持类型应明确拒绝或实现处理，不能照抄后宣称支持任意链接器输出。",
        "reason": "沿官方源码fixloop→未知类型→fixnext跟踪，r1未转换而直接写回。原稿S15 p87/92也呈现同一路径；原整编稿过于笼统，未指出实际破坏操作。",
        "sources": [
          {
            "title": "U-Boot v2012.04.01 arch/arm/cpu/arm920t/start.S fixloop/fixabs/fixrel/fixnext",
            "url": "https://raw.githubusercontent.com/u-boot/u-boot/v2012.04.01/arch/arm/cpu/arm920t/start.S"
          },
          {
            "title": "S15 p86–93；本次有限指令数据流模拟，未编译或烧录U-Boot。"
          }
        ]
      },
      {
        "id": "HS-15",
        "domain": "硬件与系统",
        "location": "platform-extensions.md:123",
        "topic": "bootcmd、bootargs与Linux入口协议",
        "kind": "medium",
        "before": "`console=` 选择内核控制台，`root=` 指定根设备，`rootfstype=` 指定文件系统类型，`init=` 指定初始用户态程序。",
        "after": "`console=` 选择内核控制台，`root=` 指定根设备，`rootfstype=` 指定文件系统类型。`init=` 覆盖内核常规init路径（通常为/sbin/init），`rdinit=` 则覆盖initramfs中的早期/init；有可执行/init的initramfs通常先进入早期用户态，其后挂载最终根文件系统及如何传递init=由相应启动程序决定，不能把两参数当作同一开关。",
        "reason": "原句遗漏早期用户态与最终根init的区别，读者可能误以为init=总能替换initramfs /init。",
        "sources": [
          {
            "title": "Linux kernel-parameters，init=/rdinit=",
            "url": "https://docs.kernel.org/admin-guide/kernel-parameters.html"
          },
          {
            "title": "Linux ramfs-rootfs-initramfs，What is initramfs",
            "url": "https://docs.kernel.org/filesystems/ramfs-rootfs-initramfs.html"
          }
        ]
      },
      {
        "id": "HS-16",
        "domain": "硬件与系统",
        "location": "systems-troubleshooting.md:44",
        "topic": "CPU亲和性",
        "kind": "medium",
        "before": "`taskset -p PID` 通常输出亲和性掩码，不是“当前正在第几个 CPU 运行”。掩码以位表达允许的 CPU 集合。",
        "after": "Linux亲和性是每线程属性。`taskset -p PID` 查询指定任务ID的亲和性掩码；传线程组PID通常只查询主线程，不代表组内所有线程。可用只读的`taskset -ap PID`逐线程查看。掩码以位表达允许的CPU集合，不是“当前正在第几个CPU运行”。",
        "reason": "单个PID查询不能代表多线程进程整体；补充只读all-tasks选项，避免错误诊断其他线程的运行CPU。",
        "sources": [
          {
            "title": "util-linux taskset(1)，-a/--all-tasks",
            "url": "https://man7.org/linux/man-pages/man1/taskset.1.html"
          },
          {
            "title": "Linux sched_setaffinity(2)，per-thread attribute",
            "url": "https://man7.org/linux/man-pages/man2/sched_setaffinity.2.html"
          }
        ]
      },
      {
        "id": "HS-17",
        "domain": "硬件与系统",
        "location": "systems-troubleshooting.md:48",
        "topic": "复制与扩展文件测试清单",
        "kind": "medium",
        "before": "源目标同一文件、读失败、短写或磁盘满、中断、超过 off_t 范围、同步失败。",
        "after": "源目标同一文件（含不同硬链接名，须在截断前识别）、读失败、短写或磁盘满、写入零进展、中断、超过 off_t 范围、同步失败、关闭时报告错误。",
        "reason": "与正文复制协议修正同步，将同文件截断顺序、零进展及最终错误落实为测试项。",
        "sources": [
          {
            "title": "对应本次HS-08/HS-10/HS-11的官方契约和确定性模型测试。"
          }
        ]
      },
      {
        "id": "IF-01",
        "domain": "接口与协议",
        "location": "interfaces.md / 3.1 连接和上拉计算",
        "topic": "3.1 连接和上拉计算",
        "kind": "precision",
        "before": "- 上限 Rp(max)=tr(max)/(0.8473×Cb)。",
        "after": "- 上限 Rp(max)=tr(max)/(0.8473×Cb)，其中 tr 是从 0.3×VDD 上升到 0.7×VDD 的时间；不能直接代入示波器默认的 10%–90% 上升时间。",
        "reason": "0.8473 系数来自30%至70%阈值间的RC充电时间，补明测量定义以免误用公式。",
        "sources": [
          {
            "title": "NXP UM10204 Rev7.0 (2021-10-01)",
            "url": "https://cache.nxp.com/docs/en/user-guide/UM10204.pdf",
            "section": "NXP-UM10204 §7.1"
          }
        ]
      },
      {
        "id": "IF-02",
        "domain": "接口与协议",
        "location": "interfaces.md / 3.2 起止、地址和应答",
        "topic": "3.2 起止、地址和应答",
        "kind": "precision",
        "before": "字节通常高位先发，八位后增加第九个时钟用于 ACK/NACK。",
        "after": "普通双向 I²C 的字节按最高有效位先发，八位后增加第九个时钟用于 ACK/NACK。",
        "reason": "MSB-first 是所述I²C模式的协议要求，不是可任意选择的通常做法；明确不涵盖后述单向UFm的应答差异。",
        "sources": [
          {
            "title": "NXP UM10204 Rev7.0 (2021-10-01)",
            "url": "https://cache.nxp.com/docs/en/user-guide/UM10204.pdf",
            "section": "NXP-UM10204 §3.1.5–3.1.6"
          }
        ]
      },
      {
        "id": "IF-03",
        "domain": "接口与协议",
        "location": "interfaces.md / 3.2 起止、地址和应答",
        "topic": "3.2 起止、地址和应答",
        "kind": "precision",
        "before": "控制器读完最后一个字节通常发送 NACK，表示结束，不应把此处 NACK 一概记录为异常。",
        "after": "控制器作为接收方结束本次读取时，应在最后一个字节后的应答位发送 NACK，再发 STOP 或重复 START；此处 NACK 是正常结束信号，不应一概记录为异常。",
        "reason": "控制器接收方须以NACK告知目标发送方传输结束；与地址/写数据拒绝的NACK区分。",
        "sources": [
          {
            "title": "NXP UM10204 Rev7.0 (2021-10-01)",
            "url": "https://cache.nxp.com/docs/en/user-guide/UM10204.pdf",
            "section": "NXP-UM10204 §3.1.6、§3.1.10"
          }
        ]
      },
      {
        "id": "IF-04",
        "domain": "接口与协议",
        "location": "interfaces.md / 6.3 经典帧和错误机制",
        "topic": "6.3 经典帧和错误机制",
        "kind": "precision",
        "before": "接收节点正确接收后可在 ACK 槽确认，但 ACK 不表示业务应用已执行操作，也不能证明特定目标应用已收到。",
        "after": "正常参与总线的接收节点在帧截至 ACK 槽前接收无错、CRC 匹配时，应在 ACK 槽发送显性确认；这不以该标识符是否通过本节点的应用接收过滤为条件。静默/只听模式不发送 ACK。ACK 不表示完整帧已通过后续定界符和帧结束检查，更不表示业务应用已执行操作，也不能证明特定目标应用已收到。",
        "reason": "ACK由正确接收节点在链路层产生，不取决于上层过滤；ACK发生在EOF之前，不能把ACK当成整帧或业务完成。",
        "sources": [
          {
            "title": "Bosch CAN Specification 2.0 (1991), Part B",
            "url": "https://www.canlab.cz/sites/default/files/pages/download/Can2spec.pdf",
            "section": "Bosch-CAN2.0 Part B §3.2.1、§5、§7.1"
          }
        ]
      },
      {
        "id": "IF-05",
        "domain": "接口与协议",
        "location": "interfaces.md / 6.3 经典帧和错误机制",
        "topic": "6.3 经典帧和错误机制",
        "kind": "error",
        "before": "接收器检测位错误、填充错误、CRC 错误、格式错误和 ACK 错误等，配合错误计数，使节点进入错误主动、错误被动或总线关闭状态。",
        "after": "CAN 控制器按发送或接收状态检测位错误、填充错误、CRC 错误、格式错误和 ACK 错误等。其中 ACK 错误由发送节点在 ACK 槽未检测到显性位时判定，不能归为接收器的应答检查。发送/接收错误计数及相应规则决定错误主动、错误被动或总线关闭状态；总线关闭的计数门限针对发送错误计数。",
        "reason": "Bosch规范明确由transmitter检测ACK error，且Bus Off由TEC而非单纯REC越界触发。",
        "sources": [
          {
            "title": "Bosch CAN Specification 2.0 (1991), Part B",
            "url": "https://www.canlab.cz/sites/default/files/pages/download/Can2spec.pdf",
            "section": "Bosch-CAN2.0 Part B §7.1、§8"
          }
        ]
      },
      {
        "id": "IF-06",
        "domain": "接口与协议",
        "location": "interfaces.md / 7.1 数据对象、地址与编码",
        "topic": "7.1 数据对象、地址与编码",
        "kind": "precision",
        "before": "地址、数量和一个 16 位寄存器通常高字节在前。",
        "after": "标准 Modbus 的多字节地址、数量和单个 16 位寄存器字段规定高字节在前。",
        "reason": "规定字段的大端编码为标准要求；厂商32位跨寄存器组合另属设备映射。",
        "sources": [
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §4.2"
          }
        ]
      },
      {
        "id": "IF-07",
        "domain": "接口与协议",
        "location": "interfaces.md / 7.5 TCP：MBAP 与事务关联",
        "topic": "7.5 TCP：MBAP 与事务关联",
        "kind": "boundary",
        "before": "接收程序先累计足够头部，再依据长度累计剩余数据；一次读取可能只有半个报文，也可能包含多个报文。",
        "after": "接收程序累计前 6 字节即可取得 Protocol Identifier 与 Length；标准 Modbus/TCP 应先检查协议标识为 0、2≤Length≤254，再累计其后 Length 字节，其中已包含 Unit ID。完整 ADU 长度为 6+Length，而不是 7+Length；之后还须按功能码检查具体 PDU 长度。一次读取可能只有半个报文，也可能包含多个报文。",
        "reason": "MBAP前6字节后的Length含Unit ID，结合1–253字节PDU得到外层长度边界，防止越界分配和off-by-one。",
        "sources": [
          {
            "title": "MODBUS Messaging on TCP/IP V1.0b (2006-10-24)",
            "url": "https://www.modbus.org/file/secure/messagingimplementationguide.pdf",
            "section": "Modbus-TCP V1.0b §3.1.3"
          },
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §4.1"
          }
        ]
      },
      {
        "id": "IF-08",
        "domain": "接口与协议",
        "location": "interfaces.md / 7.6 异常、超时与服务器状态",
        "topic": "7.6 异常、超时与服务器状态",
        "kind": "notation",
        "before": "异常 PDU 为 `原功能码|80` 加一字节异常码",
        "after": "异常 PDU 为 `原功能码 | 0x80` 加一字节异常码",
        "reason": "算法表达必须显式标明十六进制掩码，避免将80误读为十进制。",
        "sources": [
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §7"
          }
        ]
      },
      {
        "id": "IF-09",
        "domain": "接口与协议",
        "location": "interfaces.md / 8.2 I3C：不是提高 I²C 时钟",
        "topic": "8.2 I3C：不是提高 I²C 时钟",
        "kind": "boundary",
        "before": "I3C 与传统 I²C 器件共存需满足兼容条件，包括电气、地址、时钟及旧器件行为限制。不能把所有 I²C 器件默认接入 I3C 高速段，也不能套用 I²C 的任意时钟拉伸行为。",
        "after": "I3C 与传统 I²C 器件共存需满足兼容条件，包括电气、地址、时钟及旧器件行为限制。按 MIPI FAQ 的标准兼容前提，旧目标应支持 Fm 或 Fm+、具有 50 ns 毛刺滤波且不进行时钟拉伸；传统 I²C 控制器不能作为并列控制器共享 I3C 总线。与旧目标通信时使用其允许的 I²C 时序，不能把所有 I²C 器件默认接入 I3C 高速传输，也不能在混合总线上沿用目标拉伸。",
        "reason": "原文只否定任意拉伸，仍可能误导为混合总线允许部分目标拉伸。MIPI FAQ Q15.1/Q15.3给出明确兼容条件。",
        "sources": [
          {
            "title": "MIPI I3C and I3C Basic FAQ",
            "url": "https://www.mipi.org/resources/I3C-frequently-asked-questions",
            "section": "MIPI-I3C-FAQ Q15.1、Q15.3"
          }
        ]
      },
      {
        "id": "IF-10",
        "domain": "接口与协议",
        "location": "interfaces.md / 9.1 术语与接入角色",
        "topic": "9.1 术语与接入角色",
        "kind": "error",
        "before": "Wi-Fi 链路建立后，地址配置、路由与 DNS 属于后续网络层工作；“已关联”不等于“能访问互联网”。",
        "after": "Wi-Fi 链路建立后，还需完成 IP 地址配置、路由可达性以及所需的 DNS 等上层服务。IP 寻址与路由属于网络层；DNS 是应用层名称解析服务，不能合称为网络层协议（[RFC 1123 §6.1](https://www.rfc-editor.org/rfc/rfc1123.html#section-6.1)）。“已关联”不等于“能访问互联网”。",
        "reason": "DNS不属于网络层；RFC1123将DNS列入application/support protocols。",
        "sources": [
          {
            "title": "RFC 1123, Requirements for Internet Hosts: Application and Support",
            "url": "https://www.rfc-editor.org/rfc/rfc1123.html#section-6.1",
            "section": "RFC1123 §6.1"
          }
        ]
      },
      {
        "id": "IF-11",
        "domain": "接口与协议",
        "location": "interfaces.md / 9.4 CSMA/CA、RTS/CTS 与 QoS",
        "topic": "9.4 CSMA/CA、RTS/CTS 与 QoS",
        "kind": "boundary",
        "before": "竞争接入先感知介质，在相应帧间间隔和随机退避后尝试发送。退避计数在介质忙时暂停，恢复条件满足后继续；并不是每遇到忙就无条件丢弃已有计数重新选槽。竞争避免不能完全消除冲突。",
        "after": "竞争接入先进行物理和虚拟载波侦听。以传统 DCF 为例，满足相应帧间间隔且退避计数为零时才可发起发送；发现介质忙等条件下执行随机退避，并不是每帧都必须重新抽取一个非零等待时间。退避计数在介质忙时暂停，恢复条件满足后继续；不是每遇到忙就无条件丢弃已有计数重新选槽。EDCA 等机制另有接入规则，竞争避免本身也不能完全消除冲突。 [DCF/EDCA 接入条件说明](https://www2.nsnam.org/docs/models/html/wifi-design.html#channel-access)。",
        "reason": "原简化过程容易被理解为所有帧发送前都重新随机等待，补DCF零计数直接接入与EDCA范围。",
        "sources": [
          {
            "title": "ns-3 Wi-Fi Design Documentation",
            "url": "https://www2.nsnam.org/docs/models/html/wifi-design.html#channel-access",
            "section": "ns-3 Wi-Fi Design §34.1.3.2.3，引用IEEE802.11-2016 §10.3.4.2–3"
          },
          {
            "title": "Cisco WLAN DSSS and CSMA/CA",
            "url": "https://www.cisco.com/E-Learning/bulk/guest/celc/fwl/ch3/3_6_2/content.html",
            "section": "Cisco-CSMA/CA"
          }
        ]
      },
      {
        "id": "IF-12",
        "domain": "接口与协议",
        "location": "interfaces.md / 附录A.1 文件记录与特殊对象",
        "topic": "附录A.1 文件记录与特殊对象",
        "kind": "error",
        "before": "子请求包含参考类型（通常 06）、文件号、记录号、记录长度。",
        "after": "子请求包含参考类型、文件号、记录号、记录长度；按应用协议 V1.1b3，参考类型必须为 `0x06`，不是可任意更换的建议值。",
        "reason": "参考类型固定为6而非通常值，读文件记录§6.14明文must be specified as6。",
        "sources": [
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §6.14"
          }
        ]
      },
      {
        "id": "IF-13",
        "domain": "接口与协议",
        "location": "interfaces.md / 附录A.1 文件记录与特殊对象",
        "topic": "附录A.1 文件记录与特殊对象",
        "kind": "boundary",
        "before": "必须逐项校验参考类型、文件与记录范围、记录长度和数据字节数；不能只验证外层字节数。",
        "after": "参考类型同样必须为 `0x06`。必须逐项校验参考类型、文件与记录范围、记录长度和数据字节数；不能只验证外层字节数。",
        "reason": "同步明确0x15写文件记录相同的固定参考类型约束。",
        "sources": [
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §6.15"
          }
        ]
      },
      {
        "id": "IF-14",
        "domain": "接口与协议",
        "location": "interfaces.md / 附录A.1 文件记录与特殊对象",
        "topic": "附录A.1 文件记录与特殊对象",
        "kind": "precision",
        "before": "其中子响应长度字段值为1+2N，而总响应字节数为所有子响应的2+2N之和。",
        "after": "其中子响应长度字段值为1+2N，而外层响应数据长度字段值为所有子响应的2+2N之和；响应 PDU 总长还须加功能码1字节和外层长度字段1字节，ADU 另加对应承载的开销。",
        "reason": "原总响应字节数易混淆为PDU/ADU总长，实际公式是Response Data Length字段。",
        "sources": [
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §6.14"
          }
        ]
      },
      {
        "id": "IF-15",
        "domain": "接口与协议",
        "location": "interfaces.md / 附录A.1 文件记录与特殊对象",
        "topic": "附录A.1 文件记录与特殊对象",
        "kind": "precision",
        "before": "例如两个子请求分别读取2个寄存器，请求字节数应为14（0x0E）；每个子响应的长度字段为5，总响应字节数为12（0x0C）。",
        "after": "例如两个子请求各读取2个寄存器，请求 Byte Count 为14（0x0E），请求 PDU 总长为16字节；每个子响应的长度字段为5，外层响应数据长度为12（0x0C），响应 PDU 总长为14字节。",
        "reason": "用具体数值区分请求/响应长度字段与包括功能码及长度字段的PDU总长。",
        "sources": [
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §6.14"
          }
        ]
      },
      {
        "id": "IF-16",
        "domain": "接口与协议",
        "location": "interfaces.md / 附录A.2 诊断与设备识别",
        "topic": "附录A.2 诊断与设备识别",
        "kind": "error",
        "before": "部分只适用于串行链路，不能要求所有 TCP 设备全部实现。",
        "after": "这五项在应用协议 V1.1b3 中均标为“Serial Line only”，不是标准 Modbus/TCP 的通用功能集；若厂商或网关提供扩展支持，须以其文档另行确认。",
        "reason": "所列0x07/08/0B/0C/11全部为Serial Line only，不是部分。",
        "sources": [
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §6.7–6.10、§6.13"
          }
        ]
      },
      {
        "id": "IF-17",
        "domain": "接口与协议",
        "location": "interfaces.md / 附录A.5 串行V1.02连接器",
        "topic": "附录A.5 串行V1.02连接器",
        "kind": "logic",
        "before": "RS232-Modbus另有DCE/DTE表，不能沿用上面的RS485表：DTE的RJ45 TXD=2、RXD=1、RTS=3、CTS=6、Common=8，对应D9为3、2、7、8、5；DCE的RJ45相应位置为1、2、6、3、8，对应D9为2、3、8、7、5。TXD电路的信号源是DTE、RXD电路的信号源是DCE，名称应按标准电路而不是只按本机引脚方向理解。在严格符合该表的DTE/DCE之间按指南使用直连电缆；两个相同角色或厂商自定义端口则须重新核对。",
        "after": "RS232-Modbus 另有 DCE/DTE 表，不能沿用上面的 RS485 表。为避免将指南 DCE 侧的端口局部 TXD/RXD 标号与标准 RS232 电路名称混用，以下按实际方向核线：DTE 发送输出在 RJ45 针2/D9 针3，直连到 DCE 的同号接收输入；DCE 发送输出在 RJ45 针1/D9 针2，直连到 DTE 的同号接收输入。DTE 的 RTS 输出在 RJ45 针3/D9 针7；DCE 到 DTE 的握手输出在 RJ45 针6/D9 针8，对应 DTE 的 CTS 输入。Common 为 RJ45 针8/D9 针5。在采用相同连接器型式且严格符合指南 §3.5.3 的一对 DTE/DCE 之间使用同号直连电缆，不能把各端都标作“TXD”的输出脚相连；相同角色或厂商自定义端口须重新核对方向、针号与设备手册。",
        "reason": "旧段先转录指南端口局部TXD/RXD名称，后又说它们均按标准电路源解释，造成DCE发送输出与DTE发送源自相矛盾。改成实质方向与针号，保留指南直连限定。",
        "sources": [
          {
            "title": "MODBUS over Serial Line V1.02 (2006-12-20)",
            "url": "https://www.modbus.org/file/secure/modbusoverserial.pdf",
            "section": "Modbus-Serial V1.02 §3.5.3 p31"
          }
        ]
      },
      {
        "id": "IF-18",
        "domain": "接口与协议",
        "location": "interfaces-troubleshooting.md / 3 I²C",
        "topic": "3 I²C",
        "kind": "boundary",
        "before": "SDA 或 SCL 卡低：确认是合法拉伸、目标未完成事务、掉电器件钳位还是短路。只有查明控制器/目标支持的恢复方法后才执行总线恢复时钟或复位，不能把随意输出九个脉冲当作所有器件的安全万能操作。",
        "after": "SDA 或 SCL 卡低：先确认是合法拉伸、目标未完成事务、掉电器件钳位还是短路。[UM10204 §3.1.16](https://cache.nxp.com/docs/en/user-guide/UM10204.pdf) 区分两种恢复：SCL 卡低优先使用支持的硬件复位，否则按系统允许的流程断电复位；SDA 卡低且 SCL 能正常释放时，可由控制器发送九个恢复时钟，未释放再考虑复位。执行前仍需确认总线无其他控制器事务、器件和系统允许该操作，并监测实际线电平；不能强推挽拉高被其他器件拉低的线路，也不能把九个脉冲当作所有器件和 I3C 总线的万能操作。",
        "reason": "区分SCL低时无法合法生成恢复时钟与SDA低时九脉冲恢复，补开漏安全和不跨用到I3C的边界。",
        "sources": [
          {
            "title": "NXP UM10204 Rev7.0 (2021-10-01)",
            "url": "https://cache.nxp.com/docs/en/user-guide/UM10204.pdf",
            "section": "NXP-UM10204 §3.1.16"
          }
        ]
      },
      {
        "id": "IF-19",
        "domain": "接口与协议",
        "location": "interfaces-troubleshooting.md / 4 SPI与CAN",
        "topic": "4 SPI与CAN",
        "kind": "precision",
        "before": "CAN 无 ACK：检查是否只有一个节点、对端是否处于静默模式、位时序是否一致及物理层是否连通。CAN ACK 不是应用响应，不能根据 ACK 就断言业务已执行。",
        "after": "CAN 无 ACK：ACK 错误由发送节点检测。检查是否只有一个节点、对端是否处于静默/只听模式或总线关闭、位时序是否一致及物理层是否连通。正常接收节点不会仅因应用接收过滤器不接受该 ID 就拒发 ACK。CAN ACK 不是应用响应，后续帧结束仍可能出错，不能根据 ACK 就断言整帧成功或业务已执行。",
        "reason": "与正文纠正一致，防止把接收过滤或应用无响应误判为ACK根因。",
        "sources": [
          {
            "title": "Bosch CAN Specification 2.0 (1991), Part B",
            "url": "https://www.canlab.cz/sites/default/files/pages/download/Can2spec.pdf",
            "section": "Bosch-CAN2.0 Part B §3.2.1、§5、§7.1、§8"
          }
        ]
      },
      {
        "id": "IF-20",
        "domain": "接口与协议",
        "location": "interfaces-troubleshooting.md / 5 Modbus",
        "topic": "5 Modbus",
        "kind": "boundary",
        "before": "验证 Length 包含 Unit ID，且没有错误附加 RTU CRC。",
        "after": "检查 Protocol Identifier=0、2≤Length≤254，验证 Length 包含 Unit ID、完整 ADU 长度为6+Length，并检查功能码对应的实际长度；标准 Modbus/TCP 不附加 RTU CRC。",
        "reason": "把笼统长度检查落到外层可执行边界，同时保留功能码层校验。",
        "sources": [
          {
            "title": "MODBUS Messaging on TCP/IP V1.0b (2006-10-24)",
            "url": "https://www.modbus.org/file/secure/messagingimplementationguide.pdf",
            "section": "Modbus-TCP V1.0b §3.1.3"
          },
          {
            "title": "MODBUS Application Protocol V1.1b3 (2012-04-26)",
            "url": "https://www.modbus.org/file/secure/modbusprotocolspecification.pdf",
            "section": "Modbus-AP V1.1b3 §4.1"
          }
        ]
      },
      {
        "id": "CA-01",
        "domain": "C++与算法",
        "location": "cpp.md · shared_ptr 的资源处理、对象销毁和存储回收",
        "topic": "shared_ptr 的资源处理、对象销毁和存储回收",
        "kind": "semantic_clarification",
        "before": "shared_ptr 表达共享所有权，通过共同控制块管理资源。最后一个拥有者销毁后对象释放，弱引用仍存在时控制块可以继续存在。",
        "after": "shared_ptr 表达共享所有权，通过共同控制块管理资源。最后一个共享所有者通过销毁、reset 或赋值放弃该资源时，会按记录的删除方式处理资源；自定义删除器执行的不一定是 delete。弱引用仍存在时，控制信息可以继续存活。make_shared/allocate_shared 常把对象与控制信息合并分配，此时对象已经销毁，也不等于整块存储已经回收。",
        "reason": "原文把共享所有者的销毁、资源删除、对象生命周期结束和底层存储回收压成同一个时刻，遗漏 reset/赋值路径和自定义删除器。合并分配时弱引用可能继续保留那块存储。不是要求所有实现采用固定控制块布局。",
        "sources": [
          {
            "url": "https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf",
            "section": "23.11.2.2.2 [util.smartptr.shared.dest]; 23.11.2.2.4 [util.smartptr.shared.mod]; 23.11.2.2.6 [util.smartptr.shared.create]"
          },
          {
            "url": "https://timsong-cpp.github.io/cppwp/n4659/util.smartptr.shared.dest",
            "section": "paragraph 1"
          },
          {
            "url": "https://timsong-cpp.github.io/cppwp/n4659/util.smartptr.shared.mod",
            "section": "reset()"
          },
          {
            "url": "https://timsong-cpp.github.io/cppwp/n4659/util.smartptr.shared.create",
            "section": "paragraphs 6–7"
          }
        ]
      },
      {
        "id": "CA-02",
        "domain": "C++与算法",
        "location": "cpp.md · vector 非重分配插入与擦除的别名失效",
        "topic": "vector 非重分配插入与擦除的别名失效",
        "kind": "semantic_clarification",
        "before": "发生重分配时全部元素指针、引用与迭代器失效。不发生重分配的插入仍可能让插入位置及之后的迭代器失效；erase 会让被删位置及之后的迭代器失效。旧 end 也不能一直缓存。",
        "after": "发生重分配时全部元素指针、引用与迭代器失效。成功插入新元素但未重分配时，插入位置之前的引用、指针和迭代器仍有效，插入位置及之后的这些别名（含旧 end 迭代器）失效；erase 会使被删位置及之后的引用与迭代器失效。地址数值没有改变，不等于仍可把旧别名当作原元素使用。旧 end 也不能一直缓存。",
        "reason": "原文只提迭代器、用“可能”弱化失效规则，易使读者误以为 reserve 之后引用和指针一直安全。明确插入点前后边界与 erase 的引用规则。",
        "sources": [
          {
            "url": "https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf",
            "section": "26.3.11.5 [vector.modifiers] paragraphs 1 and 3"
          },
          {
            "url": "https://timsong-cpp.github.io/cppwp/n4659/vector.modifiers",
            "section": "C++17 fixed draft"
          },
          {
            "url": "https://eel.is/c++draft/vector.modifiers",
            "section": "paragraphs 2 and 4, current wording explicitly includes pointers/end"
          }
        ]
      },
      {
        "id": "CA-03",
        "domain": "C++与算法",
        "location": "algorithms.md · Fibonacci 的无符号回绕与有符号溢出",
        "topic": "Fibonacci 的无符号回绕与有符号溢出",
        "kind": "terminology_correction",
        "before": "示例在加法前检测最大值减当前值，溢出返回空optional，不让有符号溢出成为“自然结果”。",
        "after": "示例在加法前检测最大值减当前值，数学结果超出uint64_t范围时返回空optional。这里使用无符号整数，若不检查会在存回该类型时按模2^64回绕，不能把回绕值当作正确的Fibonacci项；有符号整数运算溢出则会导致未定义行为，二者不要混淆。",
        "reason": "实现使用 uint64_t，原解释却把它说成防止有符号溢出的例子。区分“数学结果不能表示”、无符号模运算与有符号未定义行为，代码本身不改。",
        "sources": [
          {
            "url": "https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf",
            "section": "6.9.1 [basic.fundamental] paragraph 4; Clause 8 [expr] paragraph 4"
          },
          {
            "url": "https://timsong-cpp.github.io/cppwp/n4659/basic.fundamental",
            "section": "paragraph 4 and footnote 49"
          },
          {
            "url": "https://timsong-cpp.github.io/cppwp/n4659/expr",
            "section": "paragraph 4"
          }
        ]
      },
      {
        "id": "CA-04",
        "domain": "C++与算法",
        "location": "algorithms.md · 从后向前原地合并的 vector 范围契约",
        "topic": "从后向前原地合并的 vector 范围契约",
        "kind": "contract_clarification",
        "before": "若A已有m个有效元素并预留足够的已构造槽位容纳B，可从后向前填，避免覆盖A中尚未读出的值。每次必须先确认对应序列未耗尽，再读取元素。原S02 p85条件先访问B[b]、后检查b<0，短路顺序不能保护前面的非法读。为展示边界而非容器扩容技巧，完整程序采用独立输出vector，预留m+n容量后依序追加，时间O(m+n)、额外空间O(m+n)。需要原地版本时另把容量、有效长度、是否允许输入重叠写入契约。",
        "after": "若A的前m项是有效输入，B有n项，且A中至少已有m+n个可写的已构造元素，可从后向前填，避免覆盖A中尚未读出的值。对vector，这要求先检查m+n的长度上限，并使A.size()至少达到m+n；只调用reserve(m+n)不满足下标写入条件。该从后向前方案还约定B的输入范围与A的目标写入范围不重叠；若允许重叠，须另证不会提前覆盖尚未读取的B元素。每次必须先确认对应序列未耗尽，再读取元素。原S02 p85条件先访问B[b]、后检查b<0，短路顺序不能保护前面的非法读。为展示边界而非容器扩容技巧，完整程序采用独立输出vector，预留m+n容量后依序追加，时间O(m+n)、额外空间O(m+n)。此独立输出版本不改写输入，因此可以把同一输入容器同时作为两个参数；不要把它的别名条件直接套到原地方案。",
        "reason": "“预留足够的已构造槽位”容易与 vector::reserve 混淆。把有效输入长度、已构造元素范围和容量分开；不改变正文独立输出合并算法。 同时明确原地方案的非重叠前提，与独立输出版本允许输入别名的条件分开，避免从后向前写入时提前破坏未读的B元素。",
        "sources": [
          {
            "url": "https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf",
            "section": "26.3.11.3 [vector.capacity] paragraphs 4 and 13"
          },
          {
            "url": "https://timsong-cpp.github.io/cppwp/n4659/vector.capacity",
            "section": "reserve does not change size; resize constructs appended elements"
          },
          {
            "section": "PDF physical page 85, original backwards merge",
            "title": "S02 原材料"
          }
        ]
      },
      {
        "id": "CA-05",
        "domain": "C++与算法",
        "location": "algorithms.md · 最短达标子数组的目标值和返回契约",
        "topic": "最短达标子数组的目标值和返回契约",
        "kind": "contract_clarification",
        "before": "- **最短达标正数子数组：** 右端扩展、达到目标后左端尽量收缩。每个端点最多走n次，O(n)。依赖输入为正数（或按相应规则非负）以保证窗口和单调；含负数时不能照搬，应改用前缀和与合适的数据结构。",
        "after": "- **最短达标正数子数组：** 约定target>0，寻找和至少为target的非空连续子数组，返回最短长度，无解返回0。右端扩展、达到目标后左端尽量收缩。每个端点最多走n次，O(n)。依赖输入为正数（或按相应规则非负）以保证窗口和单调，窗口和仍须避免溢出；含负数时不能照搬，应改用前缀和与合适的数据结构。若允许target≤0或空子数组，必须另定返回规则与收缩边界，不能直接套用此版本。",
        "reason": "旧段只约束元素为正，没有说明目标为正、是否允许空子数组或无解返回值。target<=0 时通常的不断收缩写法可能越过空窗口，不能声称同一协议自动覆盖。",
        "sources": [
          {
            "url": "https://leetcode.com/problems/minimum-size-subarray-sum/description/",
            "section": "problem 209 statement and constraints: positive target/nums, no solution returns 0"
          },
          {
            "section": "A04 对应数组题的主题映射；本轮不宣称逐段重读全部 S03",
            "title": "S03 原材料"
          }
        ]
      },
      {
        "id": "CA-06",
        "domain": "C++与算法",
        "location": "cpp-troubleshooting.md · 教学代码验证数量与记录状态",
        "topic": "教学代码验证数量与记录状态",
        "kind": "verification_record_correction",
        "before": "正文两个完整示例已在 Windows 的 GCC 15.1.0 下，使用 C++17、Wall/Wextra/Wpedantic/Werror 与 pthread 选项编译并运行，均无编译警告、退出码为 0。测试只覆盖示例中的断言，不代表目标 MCU、其他标准库或完整项目已经验证。临时测试文件已由临时目录清理机制移除。",
        "after": "本轮从C++正文逐块提取了四个完整示例：RAII、异常匹配与栈展开、受约束的转发构造、release/acquire单次发布。Windows GCC 15.1.0（x86_64-w64-mingw32）以C++17、-Wall -Wextra -Wpedantic -Wconversion -Werror -pthread，在-O0、-O2及-O0加-D_GLIBCXX_DEBUG -D_GLIBCXX_ASSERTIONS三种配置下分别编译运行，12次均无编译诊断且退出码为0。\n\n算法篇的完整程序与另外两个扩展测试单元也在三种配置下通过，合计21次编译运行。完整命令、输出与退出码另存本轮复审记录；本手册末尾的复审附录列出验证范围与未完成项。有限测试不代表目标MCU、其他编译器/标准库或完整项目已经验证。\n\n本机工具链的ASan、UBSan、TSan最小链接探针分别报告缺少libasan、libubsan、libtsan，本轮没有完成这三类检查器的运行验证。libstdc++调试模式能检查一部分容器/迭代器误用，但不等价于这些检查器，也不是不存在未定义行为或数据竞争的证明。未启用core收集、修改系统参数或调试业务进程。",
        "reason": "正文实际包含四个完整 C++ 代码块，“两个”是过期记录。本轮留存测试证据，并区分成功的普通/库调试构建与失败的 sanitizer 能力探针。",
        "sources": [
          {
            "section": "4 cpp fenced blocks, full extraction",
            "title": "本文 cpp.md"
          },
          {
            "section": "21 compile/run records, no diagnostics, 3 failed sanitizer-link probes",
            "title": "本轮测试记录"
          },
          {
            "url": "https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html",
            "section": "Intro and limited iterator/container/algorithm checks"
          },
          {
            "url": "https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode_using.html",
            "section": "-D_GLIBCXX_DEBUG and ABI caveat"
          }
        ]
      },
      {
        "id": "NA01",
        "domain": "网络与应用",
        "location": "N1.2",
        "topic": "容器网络与 NAT 的适用范围",
        "kind": "accuracy",
        "before": "这三者配合路由、转发和 NAT 才能形成完整容器网络，不宜照抄来源中的固定 IP 和 iptables 命令到生产机。",
        "after": "namespace、veth 和 bridge 是常见桥接容器网络的组成方式，不是所有容器网络都必须使用的组合。跨网段连通还要核对路由、转发、过滤和回程路径；NAT 是一种地址转换方案，并非容器联网的必要条件，例如配置好回程路由的 routed 网络可以不用 NAT。不宜照抄来源中的固定 IP 和 iptables 命令到生产机。",
        "reason": "原句把常见桥接/NAT 方案误写成所有容器网络的必要条件。Docker 官方 routed 模式明确不配置 NAT/masquerading。",
        "sources": [
          {
            "url": "https://docs.docker.com/engine/network/port-publishing/#gateway-modes",
            "section": "Gateway modes: routed"
          },
          {
            "url": "https://docs.docker.com/engine/network/packet-filtering-firewalls/",
            "section": "Bridge 与 ipvlan/macvlan/host 的区别"
          }
        ]
      },
      {
        "id": "NA02",
        "domain": "网络与应用",
        "location": "N1.3",
        "topic": "MSS 通告值与实际段载荷",
        "kind": "accuracy",
        "before": "TCP 的 MSS 是对端可接收 TCP 数据部分大小的通告，实际发送还受路径 MTU 与选项开销影响。",
        "after": "MSS 选项由端点通告自己的接收能力；发送方使用对端的通告，并结合路径 MTU 决定段大小。按 MTU 计算 MSS 通告值时减去固定 IP/TCP 首部，不预扣选项，但实际发包须扣除所用选项或扩展首部：例如 IPv4 MTU 1500、MSS 通告 1460，若某数据段另带 12 字节 TCP 选项，则该段载荷最多为 1448 字节。",
        "reason": "明确通告方向，区分 MSS option 与 effective send MSS，防止把有时间戳选项的每段载荷仍算作 1460。",
        "sources": [
          {
            "url": "https://www.rfc-editor.org/rfc/rfc9293.html#section-3.7.1",
            "section": "3.7.1 Maximum Segment Size Option"
          }
        ]
      },
      {
        "id": "NA03",
        "domain": "网络与应用",
        "location": "N2.3",
        "topic": "在途上限与新增发送额度",
        "kind": "accuracy",
        "before": "简化地说，允许在途数据受 min(rwnd,cwnd) 约束，还需扣除已在途数据。",
        "after": "在常规非丢失恢复的简化模型中，未获累计确认的数据总量受 min(rwnd,cwnd) 约束；计算还能新增发送多少数据时，才从这个上限减去已在途量，下限为 0。不能把“总在途上限”与“剩余发送额度”混为一个量；实际发送还受恢复算法、发送节奏和可用应用数据等约束。",
        "reason": "原句在‘允许在途数据’后又扣减已在途量，容易二次扣减；公式必须注明正常发送的简化语境，不能当作恢复阶段实现。",
        "sources": [
          {
            "url": "https://www.rfc-editor.org/rfc/rfc5681.html#section-2",
            "section": "2: cwnd/rwnd 与 FlightSize 定义"
          },
          {
            "url": "https://www.rfc-editor.org/rfc/rfc5681.html#section-3.2",
            "section": "3.2 Fast Retransmit/Fast Recovery"
          }
        ]
      },
      {
        "id": "NA04",
        "domain": "网络与应用",
        "location": "N2.4",
        "topic": "长度前缀解析示例的溢出与资源边界",
        "kind": "safety",
        "before": "例如使用四字节网络序长度 L 加 L 字节载荷：缓冲区不足 4 字节时等待；读取长度后先验证 L≤上限；缓冲区不足 4+L 时继续接收；取出完整帧后循环解析剩余数据。长度字段包含什么必须写入协议，不能让发送方按“总长”、接收方按“载荷长”各自理解。",
        "after": "例如使用四字节网络序长度 L 加 L 字节载荷：缓冲区不足 4 字节时等待；按无符号长度解码，并先验证 L≤协议上限。已知缓冲区至少有 4 字节后，可用“当前字节数−4<L”判断载荷是否收全，避免直接在窄整数中计算 4+L 而溢出；若仍需计算总长，应先验证目标整数类型能表示它。取出完整帧后循环解析剩余数据，并限制累计缓存与收帧时限。长度字段包含什么、是否允许零长度载荷必须写入协议，不能让发送方按“总长”、接收方按“载荷长”各自理解。",
        "reason": "上一段虽提示整数溢出，紧接的操作示例仍直接相加；修正为可复核的剩余长度比较并补齐资源/零长度契约。",
        "sources": [
          {
            "url": "https://www.rfc-editor.org/rfc/rfc9293.html#section-2.2",
            "section": "2.2 字节流契约；封帧规则为本手册示例设计"
          }
        ]
      },
      {
        "id": "NA05",
        "domain": "网络与应用",
        "location": "N3.2",
        "topic": "HTTP 状态码和重定向方法",
        "kind": "accuracy",
        "before": "200、201、202 不能混同：完成返回、创建资源、已受理但未必完成分别表达不同契约；301/308 与 302/307 的永久性及方法保留规则也需分别理解。401 通常涉及认证挑战，403 表示拒绝授权，404 不保证资源绝对不存在，429 表示请求过多，503 常用于暂时不可用。",
        "after": "200、201、202 分别表示请求成功、已创建资源、已受理但处理尚未完成，不能只因收到 2xx 就推断所有下游副作用都已完成。301/308 是永久重定向，302/307 是临时重定向；自动跟随 307/308 时不得改变请求方法，而 301/302 允许把 POST 改为 GET。401 响应应包含 WWW-Authenticate 认证挑战，403 表示理解请求但拒绝执行，拒绝原因未必只与凭据有关。404 不保证资源绝对不存在，429 表示请求过多，503 常用于暂时不可用。",
        "reason": "消除‘完成返回’含混解释，明确重定向两组正交条件；403 并非只能是授权失败。",
        "sources": [
          {
            "url": "https://www.rfc-editor.org/rfc/rfc9110.html",
            "section": "15.3.1–15.3.3、15.4.2–15.4.3、15.4.8–15.4.9、15.5.2、15.5.4"
          }
        ]
      },
      {
        "id": "NA06",
        "domain": "网络与应用",
        "location": "N3.2",
        "topic": "304 必须对应可匹配的已存表示",
        "kind": "accuracy",
        "before": "304 表示可复用已有表示，不是返回一个新的完整正文。",
        "after": "304 不携带新的完整正文；缓存须找到与该条件请求及验证信息匹配的已存响应，按规则更新其元数据后复用，不能把任意旧内容当作已验证。",
        "reason": "原句可被误读为收到任意 304 即可无条件复用缓存；规范要求筛选匹配的存储响应并更新头字段。",
        "sources": [
          {
            "url": "https://www.rfc-editor.org/rfc/rfc9111.html#section-4.3.4",
            "section": "4.3.4 Freshening Stored Responses upon Validation"
          }
        ]
      },
      {
        "id": "NA07",
        "domain": "网络与应用",
        "location": "N3.3",
        "topic": "TLS 期望服务身份",
        "kind": "safety",
        "before": "验证证书要检查信任链、名称、有效期及相关策略；“证书能解开”并不等于目标身份正确。",
        "after": "使用证书认证时，要检查信任链、期望服务名称、有效期及相关策略；可信 CA 签发并不等于名称正确。HTTPS 应按原目标主机名核对证书，而不是直接改用未认证 DNS 中间别名；若目标本来是 IP 字面量，应核对证书相应的 IP 身份。“证书能解开”并不等于目标身份正确。",
        "reason": "给‘检查名称’补上参考身份来源与 DNS/IP 条件；也避免把证书认证写成所有 TLS 模式都必须采用的唯一方式。",
        "sources": [
          {
            "url": "https://www.rfc-editor.org/rfc/rfc9525.html",
            "section": "6.1.1、6.1.2、6.2、6.4"
          }
        ]
      },
      {
        "id": "NA08",
        "domain": "网络与应用",
        "location": "N3.3",
        "topic": "TLS 0-RTT 的重放安全条件",
        "kind": "safety",
        "before": "TLS 1.3 的 0-RTT 早期数据存在重放风险，不适合直接用于不可安全重试的操作。",
        "after": "TLS 1.3 的 0-RTT 早期数据存在跨连接重放风险，必须由协议和业务明确允许并具备相应防护；不能仅凭 GET 或“幂等”标签就认定可安全重放，更不能直接用于不可安全重试的操作。",
        "reason": "RFC 8446 指出幂等只是最低条件，乱序重放、时序泄露等还可能要求更强保证。",
        "sources": [
          {
            "url": "https://www.rfc-editor.org/rfc/rfc8446.html",
            "section": "2.3、8、E.5"
          }
        ]
      },
      {
        "id": "NA09",
        "domain": "网络与应用",
        "location": "N4.1",
        "topic": "流式 I/O 的局部关闭与 SIGPIPE",
        "kind": "accuracy",
        "before": "对非零长度的 TCP/流式读取请求，read/recv 返回正数表示本次获得的字节数，0 表示有序结束，负值需按错误处理。",
        "after": "对非零长度的普通 TCP/流式读取请求，read/recv 返回正数表示本次获得的字节数，负值按错误处理。在本端未主动关闭读取方向的 TCP 接收流程中，返回 0 表示对端有序结束发送且此前数据已读完；这并不意味着本端发送方向也已关闭，不能直接等同于整条连接已完全结束。",
        "reason": "明确普通 TCP EOF 对应的是接收方向结束，并限定本端未自行关闭读取方向；避免把半关闭当作整条连接终结。",
        "sources": [
          {
            "url": "https://man7.org/linux/man-pages/man2/recv.2.html",
            "section": "RETURN VALUE"
          },
          {
            "url": "https://man7.org/linux/man-pages/man2/shutdown.2.html",
            "section": "DESCRIPTION: SHUT_RD"
          }
        ]
      },
      {
        "id": "NA10",
        "domain": "网络与应用",
        "location": "N4.1",
        "topic": "断开连接后的发送可能触发进程信号",
        "kind": "safety",
        "before": "UDP 的零长度报文是有效报文，不能照搬 TCP 的“读到零就是关闭”。",
        "after": "UDP 的零长度报文是有效报文，不能照搬 TCP 的“读到零就是关闭”。Linux 上向已关闭的流式发送方向继续写还可能得到 EPIPE 并触发 SIGPIPE；程序须有明确的信号处理策略，或在适用的 send 调用中用 MSG_NOSIGNAL 抑制信号后继续处理错误，不能只写返回值分支却忽略进程可能被信号终止。",
        "reason": "补足流式写错误处理的重要遗漏，避免读者以为所有失败都只需检查返回值。",
        "sources": [
          {
            "url": "https://man7.org/linux/man-pages/man2/send.2.html",
            "section": "MSG_NOSIGNAL、ERRORS: EPIPE"
          },
          {
            "url": "https://man7.org/linux/man-pages/man7/signal.7.html",
            "section": "Standard signals: SIGPIPE 默认 Term"
          }
        ]
      },
      {
        "id": "NA11",
        "domain": "网络与应用",
        "location": "N4.2",
        "topic": "ET 公平性与继续调度",
        "kind": "accuracy",
        "before": "水平触发 LT 在条件仍满足时可再次通知；边缘触发 ET 需要非阻塞 I/O，并通常持续处理至 EAGAIN。ET 程序还要处理公平性，避免单个繁忙连接长期占用事件循环。",
        "after": "水平触发 LT 在条件仍满足时可再次通知；边缘触发 ET 的事件循环通常应使用非阻塞 I/O，处理至 EAGAIN、EOF 或明确错误。为公平性而在达到处理预算后提前让出时，应在应用就绪队列中保留该连接并主动继续调度，不能带着尚未读尽的数据只等待下一次边缘通知。非阻塞是避免整个循环被单个 I/O 卡住的设计要求，不是 EPOLLET 注册操作的硬性前提。",
        "reason": "原文同时说处理至 EAGAIN 与关注公平性，却未说明预算中断后的就绪状态，容易造成已有数据永久滞留；同时区分建议与 API 前置条件。",
        "sources": [
          {
            "url": "https://man7.org/linux/man-pages/man7/epoll.7.html",
            "section": "Level-triggered and edge-triggered; Possible pitfalls: Starvation"
          }
        ]
      },
      {
        "id": "NA12",
        "domain": "网络与应用",
        "location": "N4.4，S01 p812 image12 图注",
        "topic": "原图 UDP 拼写与 socket 层次",
        "kind": "figure",
        "before": "图示保留原资料的层次关系。它是教学概览，不是所有内核版本的完整调用图。",
        "after": "图示保留原资料的层次关系。原图传输层右侧的“UPD”是拼写错误，应读作 UDP；socket 是应用访问网络功能的接口，不是另一个线上协议层。此图只是教学概览，不是所有内核版本的完整调用图。",
        "reason": "实际放大原图确认 UPD 错字；不篡改来源图片，改由紧邻图注明确纠错。",
        "sources": [
          {
            "url": "https://man7.org/linux/man-pages/man7/socket.7.html",
            "section": "DESCRIPTION: sockets API"
          },
          {
            "title": "S01"
          }
        ]
      },
      {
        "id": "NA13",
        "domain": "网络与应用",
        "location": "N4.4，S01 p812 image17 图注",
        "topic": "原图 ksoftirqd 不是每包固定路径",
        "kind": "figure",
        "before": "图中的调用名与硬件布局是案例。NAPI 通常在软中断上下文工作，也可使用线程化或忙轮询配置；不能断言每个包都由 ksoftirqd 处理或每包触发一次硬中断。批处理和预算限制用于协调吞吐与延迟。",
        "after": "图中的调用名与硬件布局是案例。原图第 5 步把 ksoftirqd 写成固定处理者，不能照图理解为每包必经路径；ksoftirqd 是内核线程，不是负责收包的用户进程。NAPI 通常在软中断上下文工作，也可使用线程化或忙轮询配置；不能断言每个包都由 ksoftirqd 处理或每包触发一次硬中断。批处理和预算限制用于协调吞吐与延迟。",
        "reason": "已有泛化警告保留，新增对应图内错误标签的明确定位，避免图文冲突。",
        "sources": [
          {
            "url": "https://docs.kernel.org/networking/napi.html",
            "section": "开篇与 Driver API/Threaded NAPI"
          },
          {
            "title": "S01"
          }
        ]
      },
      {
        "id": "NA14",
        "domain": "网络与应用",
        "location": "N5.3",
        "topic": "乐观锁版本推进必须与条件更新原子完成",
        "kind": "correctness",
        "before": "悲观控制先获取适当锁；乐观控制在提交修改时验证版本或条件。例如按 `WHERE id=? AND version=?` 更新，并检查受影响行数，再推进版本。单纯先读后写会丢失更新；乐观机制也需要冲突处理，不能无限重试。",
        "after": "悲观控制先获取适当锁；乐观控制在写入时验证版本或条件。例如在同一条语句中执行 `UPDATE device SET value=?, version=version+1 WHERE id=? AND version=?`，随后检查受影响行数：在 id 唯一、version 为非空整数且未溢出，并且相关写入都遵循同一版本约定的前提下，1 表示该条件更新成功，0 表示版本已变化或记录已不存在。不能先更新业务值、再用另一个独立提交的语句推进版本，否则仍留下覆盖窗口；处于显式事务中时，还须成功提交才算持久完成。单纯先读后写会丢失更新；冲突应重新读取并判断业务是否仍允许重试，不能无限重试。",
        "reason": "原句‘再推进版本’会诱导分离更新，两个持旧版本的写入都可能成功。修正为同条条件 UPDATE 推进版本，并区分语句成功与事务提交。另明确版本列非空整数与所有相关写入者遵守同一版本约定的前提。",
        "sources": [
          {
            "url": "https://dev.mysql.com/doc/refman/8.4/en/update.html",
            "section": "15.2.17 UPDATE Statement: SET 与 WHERE"
          },
          {
            "url": "https://dev.mysql.com/doc/refman/8.4/en/innodb-locking-reads.html",
            "section": "17.7.2.4 Counter update example"
          }
        ]
      },
      {
        "id": "NA15",
        "domain": "网络与应用",
        "location": "N5.4",
        "topic": "事务发件箱的原子范围",
        "kind": "accuracy",
        "before": "事务发件箱把业务变更与待发消息记录放在同一个本地事务，再由可靠投递组件发送，消费者按消息标识去重。这样减少“数据库已提交但消息没发送”的间隙，仍需处理重复、乱序、积压与清理。CDC/binlog 订阅是另一种变更传播途径，也要管理位置、重放和版本。",
        "after": "事务发件箱把业务变更与待发消息记录放在同一个本地事务，再由可恢复的投递组件发送。其保证是“业务已提交时，待发送义务也已持久记录”，不是数据库与消息代理同时提交；提交后尚未送达的时段仍存在。投递可能重复，消费端的去重记录与业务效果也须在同一事务中提交，或由业务操作本身保证幂等，不能仅先记“已处理”再独立执行业务。仍需处理乱序、积压、重试和清理。CDC/binlog 订阅是另一种变更传播途径，也要管理位置、重放和版本。",
        "reason": "将含糊的‘减少间隙’改为明确的本地原子持久化保证；补上消费者去重与业务效果之间的崩溃窗口，避免误认为消息 ID 本身足够。",
        "sources": [
          {
            "url": "https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns/transactional-outbox.html",
            "section": "Intent; Issues and considerations; outbox table"
          },
          {
            "url": "https://kafka.apache.org/25/design/design/",
            "section": "Message Delivery Semantics: consumer position and output atomicity"
          }
        ]
      },
      {
        "id": "NA16",
        "domain": "网络与应用",
        "location": "N5.4",
        "topic": "CAP 中 C 与 A 的准确含义",
        "kind": "accuracy",
        "before": "CAP 讨论的是网络分区发生时，特定一致性与可用性保证的冲突，不是任意系统随便从三个字母挑两个。CAP 中的一致性不能直接等同于 ACID 的 C，最终一致性也不等于无条件最终一定正确，必须有收敛机制和故障恢复路径。",
        "after": "CAP 讨论的是允许网络分区的模型中，线性一致性与所有未故障节点均能完成请求之间的冲突，不是任意系统随便从三个字母挑两个。这里的 C 是操作可按符合实时先后关系的单一顺序解释，不等于所有副本物理上时时完全相同，也不能直接等同于 ACID 的 C；A 要求未故障节点收到的每个请求最终得到符合操作契约的响应，不是“99.9% 在线率”，也未规定固定的毫秒级期限。最终一致性则需要明确的收敛机制和故障恢复前提，不是无条件最终一定正确。",
        "reason": "原文用‘特定’避免错误但未解释术语，容易保留来源对同时一致/有限时间的混淆；按 Gilbert–Lynch 原论文给出限定。",
        "sources": [
          {
            "url": "https://www.comp.nus.edu.sg/~gilbert/pubs/BrewersConjecture-SigAct.pdf",
            "section": "2.1 Atomic Data Objects; 2.2 Available Data Objects; 2.3 Partition Tolerance"
          }
        ]
      },
      {
        "id": "NA17",
        "domain": "网络与应用",
        "location": "N6.2 标题",
        "topic": "标题与节内安全内容一致",
        "kind": "editorial",
        "before": "### N6.2 Nginx 的主进程与工作进程",
        "after": "### N6.2 代理安全边界与 Nginx 进程模型",
        "reason": "该节首段是代理/应用安全边界，旧标题只覆盖后半段。调整 H3 标题，不改变 H2 数量/顺序或内容归属。",
        "sources": [
          {
            "section": "N6.2 本节正文内容",
            "title": "network-apps.md"
          }
        ]
      },
      {
        "id": "NA18",
        "domain": "网络与应用",
        "location": "N7.2，S01 p1117 image2 图注",
        "topic": "Kafka 原图线程数与落盘语义",
        "kind": "figure",
        "before": "上图保留原资料的版本化案例。其网络层的 RequestChannel 是进程内部请求交接结构，不要和 Kafka 对外提供的持久化主题日志混为同一概念。",
        "after": "上图保留 Kafka 2.5 案例：`num.network.threads=3`、`num.io.threads=8` 对应该版默认配置，不是协议常数。网络层的 RequestChannel 是进程内部请求交接结构，不是 Kafka 对外的持久化主题日志。图中“追加消息到磁盘”是简化表达，不表示每条请求都执行 fsync；可靠性仍取决于确认、副本和刷盘条件，不能仅凭该箭头判断断电安全。图中关于单个请求进入接收处理队列的描述，也不代表客户端只能有一个在途请求；Kafka 2.5 生产者另有 `max.in.flight.requests.per.connection` 配置。",
        "reason": "目视读出 3/8 与磁盘箭头，核对 2.5 官方配置及设计文档；避免固定线程数/每次落盘错误从图片重新进入正文。另以生产者在途请求配置区分图内服务器处理阶段与客户端并发数量。",
        "sources": [
          {
            "url": "https://kafka.apache.org/25/configuration/broker-configs/",
            "section": "num.network.threads; num.io.threads"
          },
          {
            "url": "https://kafka.apache.org/25/design/design/",
            "section": "Replication: not requiring fsync on every write"
          },
          {
            "title": "S01"
          },
          {
            "url": "https://kafka.apache.org/25/configuration/producer-configs/",
            "section": "max.in.flight.requests.per.connection: 默认 5"
          }
        ]
      },
      {
        "id": "NA19",
        "domain": "网络与应用",
        "location": "N7.4，S01 p1153 两幅环形队列图",
        "topic": "满空判定必须绑定索引约定",
        "kind": "figure",
        "before": "环形缓冲区利用首尾索引复用有限存储，必须定义满与空如何区分、容量是否保留一个槽、索引回绕如何处理。",
        "after": "环形缓冲区利用首尾索引复用有限存储。上方圆图说明 FIFO 顺序；下方线性图的 Full buffer 仍留一空槽，按“read 指向下一待读元素、write 指向下一可写槽”的约定，应以 read==write 表示空、(write+1)%N==read 表示满，N 个物理槽只能容纳 N−1 个元素。若要使用全部 N 槽，就须另行设计计数、代际标记或其他可区分满空的状态，不能直接套用该图的判定。",
        "reason": "实际图示为预留一槽方案；原文只提醒‘必须定义’而未解释图中 Full 为什么留白，容易与全容量信号量例子混用。",
        "sources": [
          {
            "url": "https://docs.kernel.org/core-api/circular-buffers.html",
            "section": "What is a circular buffer?; one element left empty"
          },
          {
            "title": "S01"
          }
        ]
      },
      {
        "id": "NA20",
        "domain": "网络与应用",
        "location": "N8.6 连接方式表",
        "topic": "队列参数复制不等于指针目标生命周期",
        "kind": "accuracy",
        "before": "|QueuedConnection|接收对象所属线程的事件循环处理|需要事件循环运行，任务和参数须在到达时仍有效|",
        "after": "|QueuedConnection|接收对象所属线程的事件循环处理|参数按元类型机制保存副本；复制裸指针不延长所指对象生命期，接收线程须能处理事件|",
        "reason": "原句可能使读者以为所有源参数都必须留到交付；应区别复制的值与指针指向的对象。",
        "sources": [
          {
            "url": "https://doc.qt.io/qt-6.10/qobject.html",
            "section": "QObject::connect: queued arguments copied into event; Thread Affinity"
          }
        ]
      },
      {
        "id": "NA21",
        "domain": "网络与应用",
        "location": "N8.6",
        "topic": "QObject 成员的迁移条件与线程退出清理",
        "kind": "correctness",
        "before": "QWidget 等 GUI 类只在主线程操作。工作线程可做计算、采集、网络等非 GUI 工作，不是只能处理某一类“数据”；网络对象和定时器也必须遵守自身线程亲和性。具有 parent 的 QObject 不能任意 moveToThread，父子对象须属于同一线程。退出应有停止请求、停止产生新任务、完成或取消在途操作、销毁 worker、结束线程并等待等明确阶段；quit 不会神奇中断一个永不返回的计算循环。",
        "after": "QWidget 等 GUI 类只在主线程操作。工作线程可做计算、采集、网络等非 GUI 工作；网络对象和定时器仍须在符合自身线程亲和性的上下文中使用。具有 parent 的 QObject 不能 moveToThread；迁移通常应从对象当前所属线程发起，父对象迁移时子对象随迁移，但未设置 parent 的 QObject 成员不会仅因是 C++ 成员就自动迁移。\n\n退出时先停止新任务并使在途工作完成或可取消，再安排对象清理和线程结束。常见 worker 模式可预先把 QThread::finished 连接到 worker 的 deleteLater：finished 发出时普通事件循环已停，但线程结束流程仍会处理延迟删除。不要等线程彻底结束后才随意投递普通清理任务。若依赖全部线程清理已完成，应检查 wait 的成功结果；quit 只请求事件循环退出，requestInterruption 也只是协作式请求，两者都不会强制中断不检查停止条件的计算循环。",
        "reason": "将‘无 parent’必要条件补齐为迁移方向和成员关系；原固定先销毁 worker 再结束线程的顺序易与官方 finished/deleteLater 模式冲突，改为明确可用的终止协议。",
        "sources": [
          {
            "url": "https://doc.qt.io/qt-6.10/qobject.html",
            "section": "Thread Affinity; moveToThread"
          },
          {
            "url": "https://doc.qt.io/qt-6.10/qthread.html",
            "section": "worker example; finished; wait; quit; requestInterruption"
          }
        ]
      },
      {
        "id": "NA22",
        "domain": "网络与应用",
        "location": "N8.7",
        "topic": "QDataStream 不可信输入边界",
        "kind": "safety",
        "before": "对网络数据先约束帧长、分配大小和字段范围，再反序列化；数据未收全时不能把半个对象当作解析成功。",
        "after": "QDataStream 官方明确警告不应直接解码来源不可信的内容：内部长度字段可能触发远大于实际输入的分配，限制外层帧长并不自动限制各反序列化操作。面向不可信网络输入，应选用可逐字段限长、校验和限制分配的解析方案，不能把 QDataStream 或 TLS 当成输入验证器。对于可信来源的流，读事务可帮助在半包时回退，但不提供格式可信性保证；成功解析后仍要验证业务字段。",
        "reason": "原段容易造成‘加外层长度限制后使用内置 QDataStream 读取任意网络内容就安全’的印象；以 Qt 官方安全警告收紧。",
        "sources": [
          {
            "url": "https://doc.qt.io/qt-6.10/qdatastream.html",
            "section": "Using Read Transactions; Corruption and Security"
          }
        ]
      },
      {
        "id": "NT01",
        "domain": "网络与应用",
        "location": "T1",
        "topic": "抓包链路类型与从零计数偏移",
        "kind": "accuracy",
        "before": "解析原始以太网包时，不能永远假定 IP 起点是第 14 字节、传输层起点是第 34 字节；VLAN、IPv4 选项、IPv6 扩展首部、分片都会改变偏移。",
        "after": "解析抓包前先确认链路头类型，例如 Linux 的 any 接口抓包可能采用 cooked capture 头，不能一律当作以太网。即使确为以太网，也不能把 IP 与传输层首部起点固定为从 0 计数的偏移 14 和 34：VLAN、可变首部和封装会改变位置，非首片甚至没有可供本片直接解析的完整传输层首部；还须检查实际捕获长度是否截断。",
        "reason": "原句未说明零基偏移并默认所有抓包是以太网；补上链路类型/非首片/截断的入口判定。",
        "sources": [
          {
            "url": "https://www.tcpdump.org/manpages/pcap_datalink.3pcap.html",
            "section": "DESCRIPTION: do not assume DLT_EN10MB; DLT_LINUX_SLL/SLL2"
          },
          {
            "url": "https://www.rfc-editor.org/rfc/rfc8200.html",
            "section": "4.5 Fragment Header"
          }
        ]
      },
      {
        "id": "NT02",
        "domain": "网络与应用",
        "location": "T4",
        "topic": "按实际容器网络模式排障",
        "kind": "accuracy",
        "before": "按 namespace 内地址/路由→veth 两端状态→bridge→宿主路由与转发→NAT/过滤规则→外部回程依次检查。来源固定 IP、接口名和 iptables 规则只是案例，不能直接套到已有服务器。",
        "after": "先确认实际网络模式。对常见桥接容器网络，可按 namespace 内地址/路由→veth 两端状态→bridge→宿主路由与转发→适用的过滤/NAT 规则→外部回程检查；host、macvlan、ipvlan 或其他模式须改用其真实路径，不能因不存在某个 bridge 或 NAT 规则就认定故障。还应确认规则由 iptables、nftables 还是其他组件管理。来源固定 IP、接口名和 iptables 规则只是案例，不能直接套到已有服务器。",
        "reason": "与 N1.2 的纠错同步，避免排障流程把特定拓扑当作所有模式的必需链路。",
        "sources": [
          {
            "url": "https://docs.docker.com/engine/network/packet-filtering-firewalls/",
            "section": "网络模式及 Firewall backend"
          },
          {
            "url": "https://docs.docker.com/engine/network/port-publishing/#gateway-modes",
            "section": "routed"
          }
        ]
      },
      {
        "id": "NT03",
        "domain": "网络与应用",
        "location": "T5",
        "topic": "EXPLAIN ANALYZE 会实际执行语句",
        "kind": "safety",
        "before": "数据库慢先区分查询计划、锁等待、连接池排队、存储I/O、复制延迟和客户端取数速度。读计划/计数不会证明更新方案安全，索引变更与大表操作需另评估锁定、空间和恢复窗口。",
        "after": "数据库慢先区分查询计划、锁等待、连接池排队、存储 I/O、复制延迟和客户端取数速度。普通执行计划估算与实际执行测量要分开：例如 MySQL 8.4 的 EXPLAIN ANALYZE 会真正运行被分析语句，且支持部分更新/删除形式，不能把名称含 EXPLAIN 的操作都当成无副作用查看。先核对语句、权限和负载风险，必要时在隔离副本测试。计划/计数也不能证明更新方案安全，索引变更与大表操作需另评估锁定、空间和恢复窗口。",
        "reason": "排障章原句对‘读计划’的泛化没有区分 EXPLAIN ANALYZE，可能导致意外执行 DML 或高成本查询。",
        "sources": [
          {
            "url": "https://dev.mysql.com/doc/refman/8.4/en/explain.html",
            "section": "15.8.2 Obtaining Information with EXPLAIN ANALYZE"
          }
        ]
      },
      {
        "id": "NA23",
        "domain": "网络与应用",
        "location": "版本与参考规范，Kafka 条目",
        "topic": "修复 Kafka 2.5 参考入口",
        "kind": "reference",
        "before": "- Kafka 版本化设计文档：https://kafka.apache.org/25/documentation/#design",
        "after": "- Kafka 2.5 设计、网络层与配置：https://kafka.apache.org/25/design/design/ ，https://kafka.apache.org/25/implementation/network-layer/ ，https://kafka.apache.org/25/configuration/broker-configs/",
        "reason": "原链接只返回 Documentation Redirect 页面；替换成实际读取到的 2.5 设计/网络层/配置入口。",
        "sources": [
          {
            "url": "https://kafka.apache.org/25/documentation/#design",
            "section": "本次打开只返回 Redirect 页面"
          },
          {
            "url": "https://kafka.apache.org/25/design/design/"
          },
          {
            "url": "https://kafka.apache.org/25/implementation/network-layer/"
          },
          {
            "url": "https://kafka.apache.org/25/configuration/broker-configs/"
          }
        ]
      },
      {
        "id": "NA24",
        "domain": "网络与应用",
        "location": "版本与参考规范，补充条目",
        "topic": "补齐本轮精确依据",
        "kind": "reference",
        "before": "- Qt Model/View：https://doc.qt.io/qt-6/model-view-programming.html",
        "after": "- Qt Model/View：https://doc.qt.io/qt-6/model-view-programming.html\n- TCP 窗口与拥塞控制定义：RFC 5681 §2，https://www.rfc-editor.org/rfc/rfc5681.html\n- TLS 服务身份：RFC 9525 §6，https://www.rfc-editor.org/rfc/rfc9525.html\n- Qt 6.10 对象线程与数据流安全：https://doc.qt.io/qt-6.10/qobject.html ，https://doc.qt.io/qt-6.10/qthread.html ，https://doc.qt.io/qt-6.10/qdatastream.html\n- MySQL 8.4 条件更新与执行计划：https://dev.mysql.com/doc/refman/8.4/en/update.html ，https://dev.mysql.com/doc/refman/8.4/en/explain.html\n- 容器 routed 网络与防火墙：https://docs.docker.com/engine/network/port-publishing/ ，https://docs.docker.com/engine/network/packet-filtering-firewalls/\n- 环形缓冲区约定：https://docs.kernel.org/core-api/circular-buffers.html\n- CAP 原论文：Gilbert、Lynch，§2，https://www.comp.nus.edu.sg/~gilbert/pubs/BrewersConjecture-SigAct.pdf\n- 事务发件箱：https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns/transactional-outbox.html",
        "reason": "新增内容不以旧资料或笼统官网首页代替依据；保留原 Model/View 条目，附准确版本/小节入口。",
        "sources": [
          {
            "section": "对应本轮 NA01–NA22、NT01–NT03 的已读取官方文档及原论文"
          }
        ]
      }
    ],
    "limits": [
      "语言、内核、协议及产品版本条件见正文和逐项依据。",
      "有限的编译、算法、契约与数值测试不等于目标硬件、实际总线、生产数据库或网络故障验证。",
      "本机ASan、UBSan、TSan链接探针因缺少对应库失败，不宣称这些检查器运行通过。",
      "16份原始文件保持不变，原材料缺失图像仍不伪造补回。"
    ],
    "editorial_normalizations": [
      {
        "section": "coverage",
        "index": 19,
        "before": "S16 p13–17",
        "after": "S16 p13–18",
        "reason": "正文独立MCU图来自S16物理第18页，范围标签须包含该页。"
      },
      {
        "section": "corrections",
        "index": 80,
        "before": "S05 p7-9 / independent I08",
        "after": "S05 p7-9 / 初版独立审校 I08",
        "reason": "历史审校标签中文化，不变更技术结论。"
      },
      {
        "section": "corrections",
        "index": 81,
        "before": "S08 p53-56 / independent I09",
        "after": "S08 p53-56 / 初版独立审校 I09",
        "reason": "历史审校标签中文化，不变更技术结论。"
      },
      {
        "section": "corrections",
        "index": 137,
        "before": "editorial draft",
        "after": "初版整编稿",
        "reason": "来源标签中文化，保留这是初版整编稿自身问题的区别。"
      },
      {
        "section": "corrections",
        "index": 138,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "81–82"
        },
        "after": {
          "source": "S02",
          "locator": "81–82"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 139,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "82"
        },
        "after": {
          "source": "S02",
          "locator": "82"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 140,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "83"
        },
        "after": {
          "source": "S02",
          "locator": "83"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 141,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "84"
        },
        "after": {
          "source": "S02",
          "locator": "84"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 142,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "84–85"
        },
        "after": {
          "source": "S02",
          "locator": "84–85"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 143,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "85"
        },
        "after": {
          "source": "S02",
          "locator": "85"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 144,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "88,96"
        },
        "after": {
          "source": "S02",
          "locator": "88,96"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 145,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "91"
        },
        "after": {
          "source": "S02",
          "locator": "91"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 146,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "93"
        },
        "after": {
          "source": "S02",
          "locator": "93"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 147,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "94–95"
        },
        "after": {
          "source": "S02",
          "locator": "94–95"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 148,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "S03段2044"
        },
        "after": {
          "source": "S03",
          "locator": "段2044"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      },
      {
        "section": "corrections",
        "index": 149,
        "before": {
          "source": "S02 unless S03 marked",
          "locator": "S03段2900–2972"
        },
        "after": {
          "source": "S03",
          "locator": "段2900–2972"
        },
        "reason": "把来源默认约定展开为本条具体材料编号，段号/页码含义不变。"
      }
    ]
  }
}