GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — NeuroBridge/neurobridge/version_registry.toml at master · Entertech/NeuroBridge Expand file tree/ Copy pathversion_registry.tomlMore file actions 2392 lines (2161 loc) · 154 KB / Copy pathversion_registry.tomlFile metadata and controls2392 lines (2161 loc) · 154 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 # 本文件是仓库版本号的唯一来源。不要在其他文件中直接修改版本号; # 修改本文件后运行 tools/sync-version-registry.py,并通过 CI 校验。 [application] version = "0.3.2" [[application_release_changes]] from_version = "0.1.0" to_version = "0.2.0" impact = "minor" compatibility = "Release packaging and CI behavior change; gateway wire protocol and existing runtime configuration remain compatible." evidence = "Add release matrix planning, version gate, target evidence, immutable archive assembly, GitHub Release publication and diagnostic logs." [[application_release_changes]] from_version = "0.2.0" to_version = "0.3.0" impact = "minor" compatibility = "The Kylin deliverable changes from prebuilt packages to one bootstrap package; gateway wire protocol and existing runtime configuration remain compatible." evidence = "Replace the Kylin prebuilt matrix with a universal bootstrap; detect Kylin V10 CPU/ABI, select locked binary or native source dependencies, and extend seven architecture profiles with independent target acceptance pending." [[application_release_changes]] from_version = "0.3.0" to_version = "0.3.1" impact = "patch" compatibility = "EEG quality ratings, bridge fields, raw input grouping and wire protocol remain compatible; processed EEG waveforms and powers are no longer cleared solely because quality is NONE, and dual-channel waveform output limits expand from +/-500 to +/-2000." evidence = "Update the locked and vendored AffectiveCloud SDK to cd967c4f3d26ab1100c15b5e8c23604cc495dd23, preserve portability patches, align source-fetch scripts, and add synthetic native EEG regression checks. Pin the Windows get-pip bootstrap URL to an immutable upstream revision matching its existing SHA-256. Apply the user-selected +/-2000 dual-channel waveform output limit as an explicit local patch and build all platform bridges from the vendored snapshot. Target-device algorithm comparison and acceptance remain pending." [[application_release_changes]] from_version = "0.3.1" to_version = "0.3.2" impact = "patch" compatibility = "Retain the current SDK and +/-2000 dual-channel waveform output limits; no wire protocol or configuration schema change." evidence = "User explicitly requested application 0.3.2 and Windows/Kylin CI packages. Synchronize generated version consumers and validate the complete recorded version chain when a branch advances through multiple candidate versions." # Legacy platform delivery versions retained for old installers. The release # workflow uses only [application].version and does not advance these fields. [platform_releases.windows] version = "0.0.1" build = 1 [platform_releases.kylin] version = "0.0.1" build = 1 [northbound_wire_protocol] version = "1.2" legacy_version = "1.0" [documents.integration_plan] version = "0.1" audience = "internal" markdown_path = "doc/tech/头环蓝牙网关对接方案_v0.1.md" [protocol_lifecycle] released_version = "0.2" prerelease_version = "0.3" [documents.internal_prerelease] version = "0.3" audience = "internal" status = "prerelease" markdown_path = "doc/tech/头环数据网关北向网络协议_预发布.md" pdf_artifact_name = "头环数据网关北向网络协议_v0.3-预发布.pdf" based_on_released_version = "0.2" [documents.external_northbound] current_version = "0.2" audience = "b_side" # Delivery policy for the user-facing release bundle: # always -> shipped in docs/external/ for every release # platform_bound -> shipped under <platform>/ only when that platform produced packages # review_only -> kept in the review ZIP artifact only, never shipped to end users delivery = "always" title = "头环数据网关北向网络协议" [documents.external_capture_package] version = "0.1" status = "published" audience = "data_recipient" delivery = "always" title = "头环数据采集包格式说明" markdown_path = "doc/tech/对外/头环数据采集包格式说明/头环数据采集包格式说明_v0.1.md" pdf_artifact_name = "头环数据采集包格式说明_v0.1.pdf" published_date = "2026-08-05" markdown_sha256 = "1fe61a02d7f0d388087c1adf515d30696a796d03054a21f6aba782ad5b543682" publication_record = "2026-08-05-public-capture-package-v0.1" [documents.external_ssh_operations] version = "1.0" status = "published" audience = "operator" delivery = "review_only" title = "头环数据网关 SSH 运维操作指南" markdown_path = "doc/tech/对外/头环数据网关 SSH 运维操作指南/头环数据网关 SSH 运维操作指南_v1.0.md" pdf_artifact_name = "头环数据网关 SSH 运维操作指南_v1.0.pdf" created_date = "2026-08-10" published_date = "2026-08-10" markdown_sha256 = "cb3c851a92a07ad12c97a8f954b17684fc2ccd86e8745d5ef7c75ef13cdd9796" publication_record = "2026-08-10-public-ssh-operations-v1.0" reason = "经发布 PR 审核后标记为已发布;版本保持不变,master CI 将生成正式 PDF ZIP Artifact。" [documents.external_wired_network_operations] version = "1.0" status = "published" audience = "operator" delivery = "review_only" title = "头环数据网关有线网络配置指南" markdown_path = "doc/tech/对外/头环数据网关有线网络配置指南/头环数据网关有线网络配置指南_v1.0.md" pdf_artifact_name = "头环数据网关有线网络配置指南_v1.0.pdf" created_date = "2026-08-10" published_date = "2026-08-10" markdown_sha256 = "de2dcbf501d0a0796fffb62b663ecf20e852a260cba092199ef77614947fd490" publication_record = "2026-08-10-public-wired-network-operations-v1.0" reason = "经发布 PR 审核后标记为已发布;版本保持不变,master CI 将生成正式 PDF ZIP Artifact。" [documents.external_kylin_operations] version = "1.1" status = "published" audience = "b_side" delivery = "platform_bound" platforms = ["kylin"] title = "数据网关银河麒麟部署与使用指南" markdown_path = "doc/tech/对外/数据网关银河麒麟部署与使用指南/数据网关银河麒麟部署与使用指南_v1.1.md" pdf_artifact_name = "数据网关银河麒麟部署与使用指南_v1.1.pdf" created_date = "2026-10-10" published_date = "2026-10-10" markdown_sha256 = "354a3fdfab1172685e0bcafc8c49898ab531514810a5ddb60e4c7d6b1f02005d" publication_record = "2026-10-10-public-kylin-operations-v1.1" reason = "用户明确要求完善部署文档;新增独立 v1.1,保留已锁定 v1.0。PR 合入后由 CI 生成正式 PDF。" [[documents.external_kylin_operations.versions]] version = "1.0" status = "published" audience = "b_side" delivery = "platform_bound" platforms = ["kylin"] title = "数据网关银河麒麟部署与使用指南" markdown_path = "doc/tech/对外/数据网关银河麒麟部署与使用指南/数据网关银河麒麟部署与使用指南_v1.0.md" pdf_artifact_name = "数据网关银河麒麟部署与使用指南_v1.0.pdf" created_date = "2026-10-09" published_date = "2026-10-09" markdown_sha256 = "ebbbcf4f156bd0ca45d111ea5b2fd20b82fb32fbbae8ff529848ba4cd73cdf4d" publication_record = "2026-10-09-public-kylin-operations-v1.0" reason = "用户明确要求仿照 Windows 部署与使用指南补充银河麒麟对外文档;该文档只覆盖安装包部署形态下 B 端可观察的服务、端口、本机页面与日志,不含网关内部实现细节。" [[documents.external_kylin_operations.versions]] version = "1.1" status = "published" audience = "b_side" delivery = "platform_bound" platforms = ["kylin"] title = "数据网关银河麒麟部署与使用指南" markdown_path = "doc/tech/对外/数据网关银河麒麟部署与使用指南/数据网关银河麒麟部署与使用指南_v1.1.md" pdf_artifact_name = "数据网关银河麒麟部署与使用指南_v1.1.pdf" created_date = "2026-10-10" published_date = "2026-10-10" markdown_sha256 = "354a3fdfab1172685e0bcafc8c49898ab531514810a5ddb60e4c7d6b1f02005d" publication_record = "2026-10-10-public-kylin-operations-v1.1" reason = "用户明确要求完善部署文档;新增独立 v1.1,保留已锁定 v1.0。PR 合入后由 CI 生成正式 PDF。" [documents.external_windows_operations] version = "1.1" status = "published" audience = "b_side" delivery = "platform_bound" platforms = ["windows"] title = "数据网关 Windows 部署与使用指南" markdown_path = "doc/tech/对外/数据网关 Windows 部署与使用指南/数据网关 Windows 部署与使用指南_v1.1.md" pdf_artifact_name = "数据网关 Windows 部署与使用指南_v1.1.pdf" created_date = "2026-10-10" published_date = "2026-10-10" markdown_sha256 = "fcfe3eb6bd86e01debb6fc242b9cc8e2a0ab1e31189a30452e0c715345abf464" publication_record = "2026-10-10-public-windows-operations-v1.1" reason = "用户明确要求完善部署文档;新增独立 v1.1,保留已锁定 v1.0。PR 合入后由 CI 生成正式 PDF。" [[change_records]] id = "2026-11-18-windows-eeg-alignment-20-percent" date = "2026-11-18" scope = "windows_eeg_alignment" summary = "Windows 双设备 EEG 输出校准幅度从固定 ±5% 调整为可配置百分比,默认 20%;eeg_alignment_percent 现在直接控制波动幅度,0 仍关闭校准。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "已发布北向协议 v0.2 未约定该内部校准百分比;仅更新内部预发布说明和实现,不修改已锁定对外文档。" [[change_records]] id = "2026-11-17-windows-capture-page-prerelease" date = "2026-11-17" scope = "windows_local_ui" summary = "Windows 本机增加 neurobridge web capture,原始数据页分两路显示并分别导出;录制目录的查找方式一并记入预发布说明。这些内容尚未进入默认分支,不发布新的 Windows 部署指南。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求已发布版本只能是默认分支已有内容。master 当前发布到 Windows 指南 v1.1;分支上的录制目录和原始数据页说明改入唯一预发布文档,不新增 v1.2 或 v1.3。" [[change_records]] id = "2026-11-16-windows-openssh-install-hints" date = "2026-11-16" scope = "windows_installer" summary = "Windows OpenSSH 下载和安装阶段显示中文提示,说明网关服务就绪后可运行 neurobridge web,也可用完整路径打开本机联调网页。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "仅调整 Windows 安装脚本提示,北向报文语义未变。" [[documents.external_windows_operations.versions]] version = "1.0" status = "published" audience = "b_side" delivery = "platform_bound" platforms = ["windows"] title = "数据网关 Windows 部署与使用指南" markdown_path = "doc/tech/对外/数据网关 Windows 部署与使用指南/数据网关 Windows 部署与使用指南_v1.0.md" pdf_artifact_name = "数据网关 Windows 部署与使用指南_v1.0.pdf" created_date = "2026-10-09" published_date = "2026-10-09" markdown_sha256 = "b873106ccb5a7b3e126a2ec1f524d44d0c50ceb5b356f19b500167103a0fd205" publication_record = "2026-10-09-public-windows-operations-v1.0" reason = "用户明确要求把 Windows 部署与使用说明做成对外文档并纳入对外文档包生成 PDF;该文档只覆盖安装包部署形态下 B 端可观察的服务、端口、本机页面与日志,不含网关内部实现细节。" [[documents.external_windows_operations.versions]] version = "1.1" status = "published" audience = "b_side" delivery = "platform_bound" platforms = ["windows"] title = "数据网关 Windows 部署与使用指南" markdown_path = "doc/tech/对外/数据网关 Windows 部署与使用指南/数据网关 Windows 部署与使用指南_v1.1.md" pdf_artifact_name = "数据网关 Windows 部署与使用指南_v1.1.pdf" created_date = "2026-10-10" published_date = "2026-10-10" markdown_sha256 = "fcfe3eb6bd86e01debb6fc242b9cc8e2a0ab1e31189a30452e0c715345abf464" publication_record = "2026-10-10-public-windows-operations-v1.1" reason = "用户明确要求完善部署文档;新增独立 v1.1,保留已锁定 v1.0。PR 合入后由 CI 生成正式 PDF。" [[documents.external_northbound.versions]] version = "0.2" status = "published" markdown_path = "doc/tech/对外/头环数据网关北向网络协议/头环数据网关北向网络协议_v0.2.md" pdf_artifact_name = "头环数据网关北向网络协议_v0.2.pdf" published_date = "2026-08-05" markdown_sha256 = "1c9ff5c543150e3cd7504328c2c4da5b76afc0954f04a7bd4fd1f63d79f21260" publication_record = "2026-08-05-public-northbound-v0.2" [[release_locks]] id = "northbound-v0.1-to-v0.2" scope = "external_northbound_document" from_version = "0.1" to_version = "0.2" status = "locked" locked_by = "2026-08-05-public-northbound-v0.2" locked_at = "2026-08-05" [[release_locks]] id = "capture-package-v0.0-to-v0.1" scope = "external_capture_package_document" from_version = "0.0" to_version = "0.1" status = "locked" locked_by = "2026-08-05-public-capture-package-v0.1" locked_at = "2026-08-05" [[release_locks]] id = "ssh-operations-v0.0-to-v1.0" scope = "external_ssh_operations_document" from_version = "0.0" to_version = "1.0" status = "locked" locked_by = "2026-08-10-public-ssh-operations-v1.0" locked_at = "2026-08-10" [[release_locks]] id = "wired-network-operations-v0.0-to-v1.0" scope = "external_wired_network_operations_document" from_version = "0.0" to_version = "1.0" status = "locked" locked_by = "2026-08-10-public-wired-network-operations-v1.0" locked_at = "2026-08-10" [[release_locks]] id = "kylin-operations-v0.0-to-v1.0" scope = "external_kylin_operations_document" from_version = "0.0" to_version = "1.0" status = "locked" locked_by = "2026-10-09-public-kylin-operations-v1.0" locked_at = "2026-10-09" [[release_locks]] id = "windows-operations-v0.0-to-v1.0" scope = "external_windows_operations_document" from_version = "0.0" to_version = "1.0" status = "locked" locked_by = "2026-10-09-public-windows-operations-v1.0" locked_at = "2026-10-09" [[release_locks]] id = "kylin-operations-v1.0-to-v1.1" scope = "external_kylin_operations_document" from_version = "1.0" to_version = "1.1" status = "locked" locked_by = "2026-10-10-public-kylin-operations-v1.1" locked_at = "2026-10-10" [[release_locks]] id = "windows-operations-v1.0-to-v1.1" scope = "external_windows_operations_document" from_version = "1.0" to_version = "1.1" status = "locked" locked_by = "2026-10-10-public-windows-operations-v1.1" locked_at = "2026-10-10" [change_policy] external_documents_require_explicit_user_request = true default_external_document_action = "record_only" change_log_path = "doc/tech/对外/头环数据网关北向网络协议/版本变更记录.md" [[change_records]] id = "2026-10-10-headset-absent-bootstrap-and-bundle-prd" date = "2026-10-10" scope = "kylin_installation_and_delivery_structure" summary = "修复未接耳机时引导安装失败:允许完成部署并等待设备,持久化 USB 派生 ttyUSB/ttyACM 的服务组权限规则,纳入回滚和卸载;诊断增加串口存在性、节点权限及服务组信息。运行时模板版本和归档名由台账同步并校验。总包根目录新增按实际清单生成的 PRD.md,明确解压结构及仅支持 Windows 10/11 x64、麒麟 V10 x86_64 的架构边界。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户提供麒麟安装诊断并确认未连接耳机,明确要求修复后先不打包,并将交付根目录结构说明改为 PRD。真实麒麟日志已验证运行时和 C++ 构建成功,但部署在设备授权阶段退出;当前修复仅作源码与模拟验证,不改变已锁定部署指南或北向协议,不声明 32 位或其他架构已支持,不触发交付包或 PDF 构建。" [[change_records]] id = "2026-10-10-delivery-install-diagnostics" date = "2026-10-10" scope = "implementation" summary = "交付 PDF 使用 ASCII 副本名称与原名对照;Windows 仅保留 10/11 x64 EXE/MSI 共四项,麒麟引导 DEB 共一项;禁止矩阵外输入及空系统/架构归档。安装持久化阶段、源码提交和退出码,保留失败构建日志,两平台均提供不依赖已安装网关的失败日志导出入口。" external_document_action = "record_only" external_document_version = "0.3" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户反馈旧构建 3f31a037 文档文件名乱码、安装仅显示正在设置,并要求排除 Windows 7/32 位及补充失败日志。实现修复与新增指南 v1.1 发布记录分别登记,不回写历史北向协议或旧指南,不以模拟测试替代麒麟现场安装与采集验收。" [[change_records]] id = "2026-10-10-public-windows-operations-v1.1" date = "2026-10-10" scope = "external_windows_operations_document" summary = "部署指南 v1.1 补充安装前提、版本迁移、失败日志与导出、支持范围和现场验证。" external_document_action = "explicit_user_authorized" external_document_version = "1.1" change_state = "locked" release_lock = "windows-operations-v1.0-to-v1.1" reason = "用户当前请求明确要求完善部署文档;保留旧版独立文件与摘要,发布 PR 合入后生成对应 PDF Artifact,现场验收仍待执行。" [[change_records]] id = "2026-10-10-public-kylin-operations-v1.1" date = "2026-10-10" scope = "external_kylin_operations_document" summary = "部署指南 v1.1 补充安装前提、版本迁移、失败日志与导出、支持范围和现场验证。" external_document_action = "explicit_user_authorized" external_document_version = "1.1" change_state = "locked" release_lock = "kylin-operations-v1.0-to-v1.1" reason = "用户当前请求明确要求完善部署文档;保留旧版独立文件与摘要,发布 PR 合入后生成对应 PDF Artifact,现场验收仍待执行。" [[change_records]] id = "2026-10-10-pr15-bootstrap-lifecycle-fixes" date = "2026-10-10" scope = "kylin_bootstrap_installation_lifecycle" summary = "修复 PR #15 五项问题:引导安装授权实际 USB TTY 非 root 组;升级及重装部署当前源码;失败回滚恢复服务单元、运行和自启状态;归档固定使用随包 Python;卸载自动停止、禁用及移除所属服务单元并保留现场数据。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求修复 PR #15 审查问题,未授权更新对外文档。仅修复同一待合入引导包版本的内部部署行为并同步 README 与技术方案;已发布麒麟指南 v1.0 中安装后接耳机和无卸载脚本说明暂不回写,后续须另发新文档版本。脚本模拟回归不代表银河麒麟 V10 x86_64 安装、回滚、整机重启或真实采集验收通过。" [[change_records]] id = "2026-10-09-public-kylin-operations-v1.0" date = "2026-10-09" scope = "external_kylin_operations_document" summary = "发布数据网关银河麒麟部署与使用指南。" external_document_action = "explicit_user_authorized" external_document_version = "1.0" change_state = "locked" release_lock = "kylin-operations-v0.0-to-v1.0" reason = "用户明确要求仿照 Windows 部署与使用指南为银河麒麟补充对外文档,并纳入对外文档包渲染为 PDF;本次只覆盖安装包部署形态下 B 端可观察的服务、端口、本机页面、日志和卸载,不涉及设备接入、算法或北向契约正文。" [[change_records]] id = "2026-10-09-public-windows-operations-v1.0" date = "2026-10-09" scope = "external_windows_operations_document" summary = "发布数据网关 Windows 部署与使用指南。" external_document_action = "explicit_user_authorized" external_document_version = "1.0" change_state = "locked" release_lock = "windows-operations-v0.0-to-v1.0" reason = "用户明确要求把 Windows 部署与使用说明做成对外文档,并要求在对外文档包中渲染为 PDF;本次只覆盖安装包部署形态下 B 端可观察的服务、端口、本机页面、日志和卸载,不涉及设备接入、算法或北向契约正文。" [[change_records]] id = "2026-09-14-unworn-eeg-message-prerelease" date = "2026-09-14" scope = "external_northbound_document" external_document_action = "record_only" external_document_version = "0.3" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求更新对外协议但保持未发布状态;仅更新 v0.3 预发布正文与变更记录,不修改已锁定 v0.2。" summary = "在预发布北向协议中补充成功数据事件的未佩戴提示:EEG 波形窗口全部为 FF 时,根对象 message 为‘未佩戴:脑波数据全为 FF’。" [[change_records]] id = "2026-08-10-public-ssh-operations-v1.0" date = "2026-08-10" scope = "external_ssh_operations_document" summary = "发布头环数据网关 SSH 运维操作指南。" external_document_action = "explicit_user_authorized" external_document_version = "1.0" change_state = "locked" release_lock = "ssh-operations-v0.0-to-v1.0" reason = "用户明确授权在发布 PR 分支完成文档状态、发布记录和锁定区间;PR 合入 master 后由 CI 生成正式 Artifact。" [[change_records]] id = "2026-08-10-public-wired-network-operations-v1.0" date = "2026-08-10" scope = "external_wired_network_operations_document" summary = "发布头环数据网关有线网络配置指南。" external_document_action = "explicit_user_authorized" external_document_version = "1.0" change_state = "locked" release_lock = "wired-network-operations-v0.0-to-v1.0" reason = "用户明确授权在发布 PR 分支完成文档状态、发布记录和锁定区间;PR 合入 master 后由 CI 生成正式 Artifact。" [[change_records]] id = "2026-08-10-ssh-listen-address-startup-order" date = "2026-08-10" scope = "gateway_operations" summary = "SSH 运维配置器为地址受限的 ssh.service 安装 network-online 依赖和监听地址就绪等待,消除系统启动时静态 IP 晚于 sshd 导致服务失败的竞态;仍仅监听已确认的固定私有地址。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "现场重启日志显示 sshd 在 192.168.31.33 尚未配置时启动并报 Cannot assign requested address;修复仅涉及网关内部 SSH 运维,不改变 B 端协议或已发布对外文档。" [[change_records]] id = "2026-08-05-public-northbound-v0.2" date = "2026-08-05" scope = "external_northbound_document" summary = "发布当前 B 端北向网络协议基线。" external_document_action = "explicit_user_authorized" external_document_version = "0.2" change_state = "locked" release_lock = "northbound-v0.1-to-v0.2" reason = "已发布基线,保留发布记录。" [[change_records]] id = "2026-08-05-public-capture-package-v0.1" date = "2026-08-05" scope = "external_capture_package_document" summary = "发布采集数据包 ZIP 的文件与字段说明。" external_document_action = "explicit_user_authorized" external_document_version = "0.1" change_state = "locked" release_lock = "capture-package-v0.0-to-v0.1" reason = "用户明确要求提供对外文件与字段说明;该文档独立于已锁定的 B 端北向网络协议。" [[change_records]] id = "2026-08-05-capture-package-pdf-export" date = "2026-08-05" scope = "gateway_behavior" summary = "一键保存 ZIP 在会话根目录附带已发布的头环数据采集包格式说明 v0.1 PDF,并在 manifest 的 documentation 字段记录其路径、版本和 SHA-256。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求调整导出物;已发布的采集包格式说明 v0.1 保持锁定,未改写其 Markdown。" [[change_records]] id = "2026-08-05-replay-get-latest-cursor" date = "2026-08-05" scope = "gateway_behavior" summary = "录播中 getLatest 优先返回当前 WebSocket 连接已回放的有效算法结果;尚未订阅时返回录制中的最新有效算法结果。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "未收到更新对外文档的明确指令;运行时保持已发布 v0.2 的错误码兼容性。" [[change_records]] id = "2026-08-05-flowtime-document-profile-poc" date = "2026-08-05" scope = "gateway_behavior" summary = "macOS 采集 POC 按已核对的 Flowtime 文档订阅 FF31、FF32、FF51 并使用 FF21 启停;移除不存在的 FF52 订阅。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "已发布 v0.2 保持锁定;未收到更新对外文档的明确指令,且对外协议不应暴露设备 BLE 特征或固定包长。" [[change_records]] id = "2026-08-05-macos-native-affective-bridge-poc" date = "2026-08-05" scope = "gateway_behavior" summary = "macOS POC 接入锁定的 AffectiveCloud C++ SDK,构建本地算法 bridge 并输出既有算法字段结构;已完成源码构建和合成输入烟雾测试,未完成真实数据或 Ubuntu 验证。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "对外 v0.2 保持锁定,且未收到更新对外文档的明确指令;本变更不增加或修改 B 端可观察字段。" [[change_records]] id = "2026-08-06-confirmed-device-profile-restoration" date = "2026-08-06" scope = "gateway_behavior" summary = "记录一次错误的设备 profile 假设:曾错误加入未在设备规范定义的 FF52 并采用错误包长;后续由 2026-08-07 纠偏记录恢复为飞书设备规范。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "该内部记录保留变更轨迹;已发布对外 Markdown 未被改写,错误实现不构成已验证能力。" [[change_records]] id = "2026-08-06-ubuntu-download-and-persistent-operations" date = "2026-08-06" scope = "gateway_deployment" summary = "Ubuntu x86_64 网关新增 systemd 即装即启、文件化持久运行日志,以及专用有线网络上的已结束录播 ZIP 与日志快照下载 HTTP 服务。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求增加部署与运维能力,但未明确授权更新已锁定的 B 端对外协议;下载地址、端口和启用状态均由部署配置控制。" [[change_records]] id = "2026-08-06-static-dhcp-address-allocation" date = "2026-08-06" scope = "gateway_deployment" summary = "新增可切换的静态地址与 DHCP 地址分配模式;DHCP 以独立 dnsmasq/systemd 单元为 B 端分配地址并发布固定网关地址,支持独立禁用或移除。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求支持无屏网关的两种地址分配方案及低影响移除;已发布对外协议保持锁定,且端口仍由部署配置固定。" [[change_records]] id = "2026-08-06-gateway-level-replay-controller" date = "2026-08-06" scope = "gateway_behavior" summary = "录播改为网关级单一流程:头环未连接时首个 getLatest 或 subscribe 启动回放,后续订阅加入当前进度,重连时停止回放,结束后允许下一次数据指令重新开始。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求按设备连接状态自动启动且避免重复录播流程;未授权改写已锁定的对外协议 Markdown。" [[change_records]] id = "2026-08-06-replay-subscriber-failure-isolation" date = "2026-08-06" scope = "gateway_behavior" summary = "网关级录播为每个订阅者使用独立有限投递队列;单个发送失败或积压订阅会被移除,不再中止其他订阅者的录播。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "PR 审阅发现共享录播会被单个客户端发送异常中止;修复仅增强可靠性,未授权修改已锁定对外协议。" [[change_records]] id = "2026-08-06-replay-connection-lifecycle-and-loop" date = "2026-08-06" scope = "gateway_behavior" summary = "最后一个 B 端 WebSocket 连接断开时停止录播并重置进度;仍有连接时,录播文件到末尾后从首条循环,循环边界继续发送 replayEnded。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求明确演示录播的连接生命周期和循环行为;已更新内部预发布说明,未获授权改写已锁定的对外 v0.2 Markdown。" [[change_records]] id = "2026-08-07-flowtime-spec-profile-correction" date = "2026-08-07" scope = "gateway_behavior" summary = "按 Flowtime headband 蓝牙通信协议(2023-06-19)纠正设备 profile:仅订阅 FF31、FF32、FF51;移除未定义的 FF52;FF31=20 字节、FF51=1 字节。FF51 原始字节持久化并作为 hr.raw 输出;Ubuntu 受控 bridge POC 也只读取这两类原始数据,算法默认保持关闭。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求依据飞书设备通信规范纠正实现;已发布对外 v0.2 与采集包格式说明 v0.1 保持锁定,未改写对外 Markdown。" [[change_records]] id = "2026-08-07-ubuntu-automatic-algorithm-bridge-install" date = "2026-08-07" scope = "gateway_deployment" summary = "Ubuntu 安装器自动以锁定 SDK 构建并安装算法 bridge;网关在未配置 algorithm.command 时使用固定服务路径,部署人员只需控制 algorithm.enabled。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求 Ubuntu 算法开箱可用且无需手工填写 bridge 路径;不改变 B 端可观察字段或已发布对外协议。" [[change_records]] id = "2026-08-07-algorithm-enabled-by-default" date = "2026-08-07" scope = "gateway_deployment" summary = "算法配置和 Ubuntu 部署模板默认启用算法;无需手动设置 algorithm.enabled 或 algorithm.command。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求算法默认启用;不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu24-offline-algorithm-deployment" date = "2026-08-07" scope = "gateway_deployment" summary = "Ubuntu 24.04 网关安装改为只使用受控构建机生成的离线包;目标机不访问或登录 GitHub、APT、PyPI,SDK 源码和依赖均在本地校验后使用。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求外部机器完全离线配置且无需 GitHub 账号;不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu24-one-command-offline-installer" date = "2026-08-07" scope = "gateway_deployment" summary = "新增 Ubuntu 24.04 离线一键安装入口,默认发现源码目录同级的离线包并自动申请管理员权限。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求缩短目标机部署指令;不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-source-only-ubuntu-deployment" date = "2026-08-07" scope = "gateway_deployment" summary = "Ubuntu 24.04 部署改为随 NeuroBridge 源码提交锁定的算法 SDK 与 NumCpp 源码;目标机可匿名 Git 获取源码,源码到位后的安装、bridge 构建、Python 本地更新和运行均不访问互联网。离线包流程已撤销。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户澄清无需 U 盘或离线包;只要求获取完整源码后不再联网,且外部机器无需登录 GitHub。不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu24-online-environment-preparation" date = "2026-08-07" scope = "gateway_deployment" summary = "新增 Ubuntu 24.04 一次性联网环境准备脚本,用于安装系统依赖和锁定 Python 运行依赖;完成后可断网,后续部署仍只使用本地源码。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求提供可联网完善环境、随后断网运行的脚本;不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-cross-platform-bridge-build-diagnostics" date = "2026-08-07" scope = "gateway_deployment" summary = "统一 macOS 与 Ubuntu 的 NumCpp 无 Boost 构建参数;Ubuntu 每次从干净的 CMake 构建目录生成 bridge 并保存构建日志,新增不含现场配置和原始数据的诊断日志收集脚本。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户反馈 Ubuntu bridge 存在多项编译问题,要求跨设备复核并提供日志;不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu24-sdk-header-include-fix" date = "2026-08-07" scope = "gateway_deployment" summary = "补全随源码交付的 AffectiveCloud SDK 的 DSPBCG.h 对 <limits> 的直接依赖,修复 Ubuntu 24.04 GCC 13 构建时 std::numeric_limits 未声明而导致 bridge 编译中止的问题。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户提供 Ubuntu 24.04 构建诊断日志后确认该 SDK 头文件依赖被 macOS 间接包含掩盖;修复不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu24-sdk-ffttool-cstring-fix" date = "2026-08-07" scope = "gateway_deployment" summary = "补全随源码交付的 AffectiveCloud SDK 的 FFTTool.cpp 对 <cstring> 的直接依赖,并使用 std::memset,修复 Ubuntu 24.04 GCC 13 构建时 memset 未声明而导致 bridge 编译中止的问题。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户提供新一轮 Ubuntu 24.04 构建诊断日志后确认上一处 DSPBCG.h 修复已经生效;修复不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu24-sdk-wavelettool-standard-library-fix" date = "2026-08-07" scope = "gateway_deployment" summary = "补全随源码交付的 AffectiveCloud SDK 的 WaveletTool.cpp 对 <cctype>、<cstring> 和 <stdexcept> 的直接依赖,并统一使用 std::strcmp,修复 Ubuntu 24.04 GCC 13 构建时 strcmp 和 invalid_argument 未声明而导致 bridge 编译中止的问题。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户提供新一轮 Ubuntu 24.04 构建诊断日志后确认 FFTTool.cpp 修复已经生效;修复不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu24-sdk-public-api-cstdint-fix" date = "2026-08-07" scope = "gateway_deployment" summary = "补全随源码交付的 AffectiveCloud SDK 公开 Affective.h 对 <cstdint> 和 <vector> 的直接依赖,并使用 std::uint8_t,修复 Ubuntu 24.04 GCC 13 编译 bridge 时 uint8_t 未声明及后续算法调用签名错误的问题。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户提供新一轮 Ubuntu 24.04 构建诊断日志后确认 SDK 本体已经完成编译,错误发生在 bridge 对公开头文件的首次包含;修复不改变 B 端字段、请求或已发布对外协议。" [[change_records]] id = "2026-08-07-automatic-replay-recording-selection" date = "2026-08-07" scope = "gateway_behavior" summary = "离线录播在显式 replay_recording_id 为空、无效或对应空会话时,自动遍历 recording.directory,选择最新的非空历史录制会话;有效的显式会话仍优先。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求网关在录播模式自动发现特定目录下的历史数据;不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-07-ubuntu-ssh-operations-entrypoint" date = "2026-08-07" scope = "gateway_deployment" summary = "Ubuntu 环境准备新增 OpenSSH Server 但默认停用;新增交互式一键 SSH 运维配置与严格配置脚本,要求受控运维公钥、已配置的私有监听地址与允许来源网段,禁用 root/密码登录和转发;登录后可用 neurobridge-ops 查询服务状态、历史日志、实时日志并启停服务,专用运维账户无任意 root 权限。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求完成网关 SSH 运维能力;该入口不改变 B 端请求、数据字段或已发布的对外协议。" [[change_records]] id = "2026-08-07-ssh-replay-operations-guide" date = "2026-08-07" scope = "gateway_deployment" summary = "新增内部《网关 SSH 运维与 B 端录播联调指南》,说明仅网关与 B 端专用有线直连时的环境准备、录播配置、首次 SSH 引导、实时状态与日志查询、服务启停、联调验证、排障和撤销步骤。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求将 SSH 运维与离线录播联调操作说明落库;不修改已发布 B 端对外协议。" [[change_records]] id = "2026-08-07-ssh-staged-update-and-reload" date = "2026-08-07" scope = "gateway_deployment" summary = "SSH 运维新增 neurobridge-ops update:仅应用管理员预置在 /srv/neurobridge-release 的完整审核版本并调用 reload-ubuntu.sh 重新加载网关;拒绝网络拉取、SSH 传入路径、符号链接、非 root 所有或可被组/其他用户写入的暂存版本。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求 SSH 支持一键更新代码和重新加载;实现保持专用网络边界与运维账户最小权限,不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-07-ssh-password-authentication" date = "2026-08-07" scope = "gateway_deployment" summary = "SSH 运维认证从公钥改为受限运维账户的密码登录;一键配置器隐藏输入并二次确认至少 12 位密码,禁用 root 和公钥登录,保留私网来源限制与最小 sudo 权限。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求 SSH 使用账号密码登录;不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-10-ssh-operation-audit-log" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 运维新增 root-owned 命令网关和系统审计日志:每个受限运维命令记录 sudo 确认的操作者、动作、参数摘要及开始/成功/失败结果,并可通过 neurobridge-ops audit 查询;不记录密码、SSH 会话内容或业务原始数据。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求新增 SSH 操作日志;该变更仅涉及网关内部运维,不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-10-kylin-b-side-operations-guide" date = "2026-08-10" scope = "gateway_deployment" summary = "内部 SSH 运维与录播联调指南补充麒麟 B 端候选环境的版本和架构确认、OpenSSH 与浏览器前置检查、专用有线静态 IP、隔离前软件准备、本地联调页托管、端口策略和现场验收要求;网关部署目标仍为 Ubuntu 24.04 x86_64。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户说明 B 端主机大概率采用麒麟国产系统,并明确要求补充内部联调指南;实际产品版本、CPU 架构和现场 POC 状态尚待确认,不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-10-single-ssh-operator-update-flow" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 更新流程简化为单一受信任运维账号:一键配置将 /srv/neurobridge-release 交给该账号,同一账号通过 rsync 同步完整版本并执行 neurobridge-ops update;更新仍校验固定目录、完整性、所有者、写权限和符号链接,并保留操作审计。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求暂不区分系统管理员与普通运维,优先采用简单的单账号操作流程;该账号提供的代码会以 root 安装,因此按网关管理员凭据管理,不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-10-ssh-project-working-directory" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 运维取消独立 /srv/neurobridge-release 暂存目录;一键配置将当前完整源码初始化到运维账号固定的 ~/NeuroBridge 项目工作目录,新增 neurobridge-ops project 查询实际路径,代码查看、git 更新、隔离同步和 neurobridge-ops update 均围绕同一目录执行。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求 SSH 登录后明确项目所在目录,并直接在项目目录完成后续操作,不再维护单独的版本暂存目录;不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-10-ssh-six-digit-password" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 运维账号密码规则调整为正好 6 位数字;交互式配置继续隐藏输入并二次确认,非交互配置执行相同格式校验,且不绕过操作系统自身密码策略。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求使用 6 位数字密码;该规则仅适用于专用网线直连、固定来源 IP 且不接入公网/无线网/普通局域网的封闭现场,不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-10-ssh-listen-address-default" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 一键配置的网关私有监听 IP 默认使用当前设备已配置的全局私有 IPv4;已有 SSH 会话时优先采用会话连接到的本地地址,否则采用检测到的第一个非回环、非链路本地地址,未检测到时不展示默认值。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求监听地址默认采用当前设备 IP,设备没有符合条件的 IP 时不显示默认;不改变已发布 B 端对外协议。" [[change_records]] id = "2026-08-10-ssh-socket-and-cidr-startup-fix" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 一键配置兼容 Ubuntu 24.04 的 socket 激活:环境准备停用 ssh.socket,严格配置器在启用地址受限的 ssh.service 前关闭通配 socket 并在失败时恢复原 service/socket 状态;允许来源 IP/CIDR 在写入 sshd 前规范化,避免主机地址搭配网段掩码导致配置无效。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "现场首次配置暴露 ssh.socket 占用或绕过监听地址的风险,以及非规范 CIDR 被 sshd 拒绝的问题;修复仅涉及网关内部 SSH 运维,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-ssh-leftover-listener-cleanup" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 严格配置器在关闭 socket 激活后停止 ssh.service,并清理其控制组内因 Ubuntu KillMode=process 遗留的旧 sshd 监听进程;确认 SSH 端口释放后只启动一次地址受限服务,远程会话遇到残留时拒绝强制清理并要求改用本地控制台。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "现场日志确认旧 sshd 进程在 service 停止后继续占用 22 端口,导致新配置无法绑定网关地址;修复只影响网关内部 SSH 服务切换,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-ssh-six-digit-password-policy-compatibility" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 配置器为专用运维账户显式使用 shadow-utils chpasswd 的 SHA512 加盐哈希方法写入正好 6 位数字密码,避免 Ubuntu PAM 最短 8 位策略造成一键配置失败;不修改全局 PAM 策略,密码仍仅通过标准输入传递且不写入配置或日志。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "现场配置确认 Ubuntu PAM 拒绝此前已约定的 6 位运维密码;用户仍要求使用 6 位数字。本修复只影响封闭专用网络中的网关运维账户,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-ssh-minimum-password-and-case-insensitive-confirmation" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 运维密码规则由正好 6 位调整为至少 6 位纯数字,交互式与非交互式入口使用相同校验;一键配置的最终 YES 确认改为忽略大小写。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户明确要求密码不少于 6 位,并优化最终确认输入的大小写兼容性;该变更仅涉及网关内部运维交互,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-ssh-field-troubleshooting-retrospective" date = "2026-08-10" scope = "gateway_deployment" summary = "内部 SSH 运维指南沉淀首次现场联调问题与成功路径:补充临时局域网到最终网线直连的地址切换、/32 与网段 CIDR 语义、显式 neuroops 用户名、配置后验收清单、按 service/journal/端口/账户顺序排查,以及 PAM 最短密码、ssh.socket 和残留 sshd 冲突的现象、根因与恢复步骤。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户确认当前环境已能通过 SSH 登录,并要求将本轮对话中遇到的问题落库;内容只涉及网关内部运维流程,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-ssh-quick-setup-mode" date = "2026-08-10" scope = "gateway_deployment" summary = "保留 SSH 原完整交互配置流程,并为常规单网卡、单 B 端场景新增 setup-ssh-operations.sh --quick:自动使用 neuroops、端口 22 和检测到的当前网关私有 IP,只询问或接收一个 B 端 IP 并强制转换为单机 /32 来源,继续保留隐藏密码二次确认和最终确认。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户反馈现有 SSH 配置操作较复杂,要求保留原逻辑并提供一键配置;该变更仅简化网关内部运维入口,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-ssh-quick-text-configuration" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 快速模式改为读取 Git 忽略的 config/ssh-operations.txt,支持 operator_user、password、listen_address、allow_from 和 port;字段缺失或为空时才交互询问,允许在权限 600 的现场文件中保存至少 6 位数字明文密码,且不回显、不写日志。保留无参数完整模式和 --quick B端IP 覆盖方式。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求增加 TXT 格式的 SSH 配置文件,由 --quick 直接读取、缺参再询问,并明确允许密码以明文写入文件;该变更只涉及网关内部运维入口,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-ssh-controlled-master-update" date = "2026-08-10" scope = "gateway_deployment" summary = "SSH 运维的 neurobridge-ops update 改为唯一受控更新入口:以受信任运维账户检查固定 Git 工作树无本地修改,切换至 master、仅快进拉取批准上游版本,再校验工作树安全性并重载服务;不再支持运维人员通过 SSH 手工运行 Git、替换源码目录或传入临时路径。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求以 neurobridge-ops 替代 SSH 场景中的直接 Git 操作,并要求固定切换 master 后拉取;该变更只约束网关内部部署流程,不改变已锁定的 B 端北向协议。" [[change_records]] id = "2026-08-10-ssh-boot-autostart-documentation" date = "2026-08-10" scope = "gateway_deployment" summary = "内部 SSH 运维文档明确启动边界:环境准备阶段 SSH 默认停用;一键配置成功后 ssh.service 独立于 neurobridge.service 开机自启,ssh.socket 保持停用;现场 TXT 不会随开机自动重读,参数或监听 IP 变化后须重新执行 --quick,并在重启后验收 enable/active/监听状态。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求将 SSH 是否随网关启动及配置生效方式补充进对应文档;内容只澄清现有网关内部运维行为,不改变 B 端请求、字段或已发布对外协议。" [[change_records]] id = "2026-08-10-default-offline-wired-network-configuration" date = "2026-08-10" scope = "gateway_deployment" summary = "Ubuntu 安装器新增受控 Netplan 配置器:在无网线、DHCP、DNS 或局域网时,为唯一物理以太网口自动写入默认的封闭直连静态地址;多网口、无网口或已有明确 Netplan 配置时拒绝猜测或覆盖。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求在不接网络的前提下自动配置默认 IP;随后确认当前网关若已联网不得被自动改写,因此配置器检查 IPv4 地址和默认路由,默认拒绝替换活跃接口。该变更仅影响网关内部部署,且不改变已锁定 B 端协议的请求、字段或版本。" [[change_records]] id = "2026-08-10-network-config-install-order-and-interface-migration-safety" date = "2026-08-10" scope = "gateway_deployment" summary = "修复首次安装时网络配置器先于 gateway.toml 创建而失败的问题;已管理 Netplan 文件改为默认拒绝迁移到另一物理网口,迁移须显式确认,旧接口仍有地址或路由时还须显式允许替换活跃接口。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "PR 审阅发现首次安装顺序错误和已管理网口迁移会静默删除旧接口配置的风险;修复仅涉及网关内部部署,不修改已锁定的 B 端协议或外部评审指南。" [[change_records]] id = "2026-08-10-network-config-ipv6-and-rfc1918-safety" date = "2026-08-10" scope = "gateway_deployment" summary = "网络配置器将活跃网口保护扩展到 IPv6 全局地址和默认路由,并仅允许 RFC1918 IPv4 专用链路地址,避免误断 IPv6 管理网络或接受回环、链路本地地址。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "PR 审阅发现 IPv4-only 检查会遗漏 IPv6 管理网络,且 Python 的 is_private 会接受回环和链路本地地址;修复仅涉及网关部署保护与参数校验,不修改已锁定的 B 端协议或外部评审指南。" [[change_records]] id = "2026-09-01-kylin-offline-runtime-diagnostics" date = "2026-09-01" scope = "gateway_observability_and_deployment" summary = "为无 Codex、无互联网的 N100/N150 银河麒麟 V10 现场新增一键运行诊断包:采集系统/内核/硬件、systemd 与当前/上次启动 journal、应用日志、USB/TTY/驱动、网络、资源、依赖及二进制校验,排除配置内容、环境变量、凭据和原始业务数据,执行文本脱敏并生成 SHA-256;同时补充 UTC 毫秒日志、启动配置摘要、BLE 阶段耗时、采集包/字节/异常统计、算法耗时和下载审计。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户要求审查 PR #13,并考虑 N100 现场没有 Codex 时的故障定位,补充尽可能详细且可安全导出的日志。该变更只增强网关内部可观测性和运维取证,不改变 B 端请求、响应、事件、字段或已发布北向协议。" [[change_records]] id = "2026-09-01-local-browser-access-strategy" date = "2026-09-01" scope = "gateway_deployment_and_northbound_access" summary = "当前单机银河麒麟场景默认改为 local_browser:网关在 127.0.0.1 提供本机 HTTP 页面、WebSocket 和可选下载,使用固定 Origin/Host 校验且不再要求 B 端专用网线;通过策略模式保留 wired_b_side 兼容方案,两种策略复用相同消息契约、订阅、录播和业务处理。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户确认当前只使用一台网关主机及同机浏览器,并要求按策略模式保留旧有线方案与后续扩展。该变更调整部署拓扑和访问安全边界,不改变 WebSocket 请求、响应、事件字段或报文 protocolVersion;未收到更新已锁定对外文档的明确授权。" [[change_records]] id = "2026-09-01-serial-device-protocol-confirmations" date = "2026-09-01" scope = "gateway_serial_device_integration" summary = "锁定 N100/N150 最终银河麒麟 x86_64 镜像及 SHA-256;串口发现改为稳定顺序逐个探测、首个固定握手即 ACK 并停止遍历;确认 0xE1/0xE0 为无响应单字节指令、序列号为大端 16 位递增回绕,并复用现有 EEG/HR 原始算法输入。麒麟诊断脚本补充系统构建信息采集。" external_document_action = "record_only" change_state = "unlocked" base_locked_release = "0.2" target_external_release = "0.3" reason = "用户逐项确认设备侧串口协议、单设备部署前提、序列号和算法兼容规则,并确定最终安装镜像;这些内容只影响网关内部设备接入、部署与诊断,不改变 B 端请求、响应、事件、字段或已发布北向协议。" [[change_records]] id = "2026-09-01-serial-control-response-loss-telemetry-and-one-command-setup" date = "2026-09-01" |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |