← Back to Pull requests

New device Spacemit K3 Pico-ITX #199

Closed
weilinfox closed this pull request without merging on Jul 07, 2026 03:11 UTC
View on GitHub
weilinfox weilinfox commented on Jun 10, 2026 07:45 UTC
Author

Fix: #200

`entities/uarch/spacemit-x100.toml` 这个我也无法完全确定。在 #200 附上了 ruapu 的结果和 cpuinfo。

Summary by Sourcery

Add support for the SpacemiT K3 Pico-ITX device based on the SpacemiT X100 RISC-V microarchitecture, including its CPU and storage variants.

New Features:

  • Introduce SpacemiT X100 RISC-V microarchitecture entity with detailed ISA definition.

  • Add SpacemiT K3 CPU entity associated with the new microarchitecture.

  • Define SpacemiT K3 Pico-ITX device entity with SD/SSD and UFS storage variants.
  • Summary by Sourcery

    Add support for the SpacemiT K3 Pico-ITX device family and associated provisioning workflow and images.

    New Features:

  • Introduce SpacemiT X100 RISC-V microarchitecture and SpacemiT K3 CPU entities.

  • Add SpacemiT K3 Pico-ITX device with SD/SSD and UFS storage variants and corresponding image-combo entities.

  • Provide Bianbu Desktop LXQt and Minimal images (UEFI and non-UEFI, SD and UFS) for SpacemiT K3 with appropriate partition maps.

  • Implement a SpacemiT K3 fastboot-based device provision strategy plugin.
  • Enhancements:

  • Clarify metadata descriptions for existing SpacemiT K1 UEFI board images.

  • Extend i18n message catalog with SpacemiT K3 provisioning messages.
  • Diff: 771 lines (+769 / -2) across 29 files Reviewer: xen0n Review duration: 38606m
    All Vouch review confidence checks passed
    Residual risk 0.11 = Change Risk (0.71) × (1 − Review Confidence (0.85)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.71 · 771 lines diff across 29 files
    0.71
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.75 · 5 substantive comment(s)
    0.75
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    84%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.398
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    8 items
    sourcery-ai[bot] sourcery-ai[bot] commented on Jun 10, 2026 07:45 UTC
    Bot

    <!-- Generated by sourcery-ai[bot]: start review_guide -->

    Reviewer's Guide

    Adds full support for the SpacemiT K3 Pico-ITX device family, including X100 RISC-V microarchitecture metadata, K3 CPU/device/variants, provisioning strategy via fastboot, and board-image packages/image-combos for UFS and SD storage, plus minor message/i18n and description fixes.

    Sequence diagram for SpacemiT K3 fastboot provisioning strategy

    sequenceDiagram
        actor User
        participant Provisioner
        participant SpacemitK3Plugin
        participant Fastboot
    
        User->>Provisioner: start_device_provisioning
        Provisioner->>SpacemitK3Plugin: _flash_spacemit_k3(img_paths, blkdev_paths)
    
        SpacemitK3Plugin->>Fastboot: _do_fastboot(stage, fsbl_img_path)
        Fastboot-->>SpacemitK3Plugin: ret
        alt [ret != 0]
            SpacemitK3Plugin->>Provisioner: return ret
        else [ret == 0]
            SpacemitK3Plugin->>Fastboot: _do_fastboot(continue)
            Fastboot-->>SpacemitK3Plugin: ret
            alt [ret != 0]
                SpacemitK3Plugin->>Provisioner: return ret
            else [ret == 0]
                SpacemitK3Plugin->>SpacemitK3Plugin: RUYI.sleep(wait_secs)
    
                SpacemitK3Plugin->>Fastboot: _do_fastboot(stage, uboot_img_path)
                Fastboot-->>SpacemitK3Plugin: ret
                alt [ret != 0]
                    SpacemitK3Plugin->>Provisioner: return ret
                else [ret == 0]
                    SpacemitK3Plugin->>Fastboot: _do_fastboot(continue)
                    Fastboot-->>SpacemitK3Plugin: ret
                    alt [ret != 0]
                        SpacemitK3Plugin->>Provisioner: return ret
                    else [ret == 0]
                        SpacemitK3Plugin->>SpacemitK3Plugin: RUYI.sleep(wait_secs)
    
                        loop partitions
                            SpacemitK3Plugin->>Fastboot: _do_fastboot_flash(partition, img_path)
                            Fastboot-->>SpacemitK3Plugin: ret
                            alt [ret != 0]
                                SpacemitK3Plugin->>Provisioner: return ret
                            end
                        end
    
                        SpacemitK3Plugin-->>Provisioner: return 0
                    end
                end
            end
        end
    

    File-Level Changes

    | Change | Details | Files |
    | ------ | ------- | ----- |
    | Introduce SpacemiT K3 fastboot-based device provisioning strategy and pretend/flash flows. | <ul><li>Add ruyi-device-provision-strategy-spacemit-k3 plugin module implementing pretend and flash functions using internal-device-provisioner-common helpers.</li><li>Implement staged FSBL and U-Boot flashing with waits, followed by partition flashing (including optional MTD path) based on a partition_map.</li><li>Wire strategy into PROVIDED_DEVICE_PROVISION_STRATEGIES_V1 as spacemit-k3-v1 and require sudo fastboot.</li></ul> | plugins/ruyi-device-provision-strategy-spacemit-k3/mod.star |
    | Register X100 microarchitecture, K3 CPU, K3 Pico-ITX device and storage variants in the entity graph. | <ul><li>Define spacemit-x100 RISC-V microarchitecture entity with detailed ISA string and arch=riscv64.</li><li>Add spacemit-k3 CPU entity related to the X100 microarchitecture.</li><li>Add spacemit-k3-pico-itx device entity with SD and UFS variants, each variant linked to the K3 CPU and identified by storage type.</li></ul> | entities/uarch/spacemit-x100.toml<br/>entities/cpu/spacemit-k3.toml<br/>entities/device/spacemit-k3-pico-itx.toml<br/>entities/device-variant/spacemit-k3-pico-itx@sd.toml<br/>entities/device-variant/spacemit-k3-pico-itx@ufs.toml |
    | Provide board-image packages and image-combo entities for Bianbu Desktop LXQt and Minimal images on K3 (UEFI/non-UEFI, UFS/SD). | <ul><li>Add multiple board-image package TOMLs for LXQt and Minimal flavors for K3 on UFS, including UEFI variants, referencing upstream tarballs and checksums and using spacemit-k3-v1 provisioning strategy and partition maps.</li><li>Add corresponding board-image package TOMLs for LXQt and Minimal SD card images for K3 that are provisioned via dd-v1 with disk image mapping.</li><li>Create image-combo entities that associate K3 Pico-ITX SD/UFS variants with the appropriate board-image atoms for Desktop LXQt and Minimal, including UEFI variants.</li></ul> | packages/board-image/bianbu-desktop-lxqt-uefi-spacemit-k3/4.0.0.toml<br/>packages/board-image/bianbu-desktop-lxqt-uefi-spacemit-k3/4.0.1.toml<br/>packages/board-image/bianbu-minimal-uefi-spacemit-k3/4.0.0.toml<br/>packages/board-image/bianbu-minimal-uefi-spacemit-k3/4.0.1.toml<br/>packages/board-image/bianbu-desktop-lxqt-spacemit-k3/4.0.0.toml<br/>packages/board-image/bianbu-desktop-lxqt-spacemit-k3/4.0.1.toml<br/>packages/board-image/bianbu-minimal-spacemit-k3/4.0.0.toml<br/>packages/board-image/bianbu-minimal-spacemit-k3/4.0.1.toml<br/>packages/board-image/bianbu-desktop-lxqt-spacemit-k3-sd/4.0.0.toml<br/>packages/board-image/bianbu-desktop-lxqt-spacemit-k3-sd/4.0.1.toml<br/>packages/board-image/bianbu-minimal-spacemit-k3-sd/4.0.0.toml<br/>packages/board-image/bianbu-minimal-spacemit-k3-sd/4.0.1.toml<br/>entities/image-combo/bianbu-desktop-lxqt-spacemit-k3-sd.toml<br/>entities/image-combo/bianbu-desktop-lxqt-spacemit-k3-ufs.toml<br/>entities/image-combo/bianbu-desktop-lxqt-uefi-spacemit-k3-ufs.toml<br/>entities/image-combo/bianbu-minimal-spacemit-k3-sd.toml<br/>entities/image-combo/bianbu-minimal-spacemit-k3-ufs.toml<br/>entities/image-combo/bianbu-minimal-uefi-spacemit-k3-ufs.toml |
    | Add i18n messages for K3 provisioning logs and clarify existing K1 image descriptions as UEFI. | <ul><li>Add English/Chinese message strings for K3 USB super speed OEM command success/failure to messages.toml and internal i18n compat messages.</li><li>Update metadata.desc for K1 UEFI board-image TOMLs to explicitly mention UEFI.</li></ul> | messages.toml<br/>plugins/internal-i18n-compat/data/messages.toml<br/>packages/board-image/bianbu-desktop-lite-uefi-spacemit-k1-sd/2.3.3.toml<br/>packages/board-image/bianbu-desktop-lite-uefi-spacemit-k1/2.3.3.toml |

    Assessment against linked issues

    | Issue | Objective | Addressed | Explanation |
    | ------ | ------- | ----- | ----- |
    | https://github.com/ruyisdk/packages-index/issues/200 | Add board-image package definitions for SpacemiT K3 (UEFI and non-UEFI, Minimal and Desktop, SD and UFS) that match the documented K3 images and partition layout, including the esos and ESP partitions. | ✅ | |
    | https://github.com/ruyisdk/packages-index/issues/200 | Implement a SpacemiT K3 device provisioning strategy plugin that uses fastboot to flash all required partitions (fsbl, env, bootinfo, esos, opensbi, uboot/edk2, gpt, ESP, bootfs, rootfs) according to the K3 partition_universal.json and image descriptions, supporting both U-Boot and UEFI boot flows. | ✅ | |
    | https://github.com/ruyisdk/packages-index/issues/200 | Define entities for the SpacemiT X100 microarchitecture, SpacemiT K3 CPU and K3 Pico-ITX device (with SD and UFS variants), and corresponding image-combos linking these to the new K3 board-image packages. | ✅ | |

    Possibly linked issues

  • #200: PR fully implements K3 Pico-ITX support: images, partition maps, flashing strategy per the issue’s K3 layouts.
  • ---

    <details>
    <summary>Tips and commands</summary>

    Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.

  • Continue discussions: Reply directly to Sourcery's review comments.

  • Generate a GitHub issue from a review comment: Ask Sourcery to create an

  • issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull

  • request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in

  • the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull

  • request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the

  • pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull

  • request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

    Customizing Your Experience

    Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request

  • summary, the reviewer's guide, and others.
  • Change the review language.

  • Add, remove or edit custom review instructions.

  • Adjust other review settings.
  • Getting Help

  • [Contact our support team](mailto:support@sourcery.ai) for questions or feedback.

  • Visit our documentation for detailed guides and information.

  • Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.
  • </details>

    <!-- Generated by sourcery-ai[bot]: end review_guide -->

    qingwan12138 qingwan12138 commented on Jun 11, 2026 11:38 UTC
    Contributor

    ruyi device provision刷写过程
    <img width="1006" height="1276" alt="2e75d8d2643a793cc41c55fb7bcacda7" src="https://github.com/user-attachments/assets/993b29eb-7360-4dc8-ac11-f37823df7b50" />
    <img width="1285" height="1065" alt="b9f65ff8399c4dc15d88ec0b8967fda5" src="https://github.com/user-attachments/assets/8355b59a-a78e-4f61-8250-2cd0066f028f" />
    <img width="1989" height="1296" alt="fac948e1812ef49232adc3f5297ad957" src="https://github.com/user-attachments/assets/06ebf8f8-cd11-41d0-9230-7c85eaebca7a" />
    <img width="1461" height="1293" alt="d53ea142e6e7184a27178d5704c970e4" src="https://github.com/user-attachments/assets/2bd2acf8-4de1-4aea-9b0a-37ad94287b40" />
    <img width="1279" height="1288" alt="d600e8341efddf7733aa6caa71628810" src="https://github.com/user-attachments/assets/e34635cf-f21c-46e5-91f6-753d12012db1" />
    <img width="1376" height="1085" alt="01c3fc3293e145351c5ed95d8ba6f1cf" src="https://github.com/user-attachments/assets/6c281ecd-d180-407b-8be9-c26785f310a3" />
    <img width="1920" height="1080" alt="b9bdcbc2c0381a7f787175fd729ca1fe" src="https://github.com/user-attachments/assets/4cdb1c6e-ab9c-453b-b781-7fcdc6097d3c" />

    qingwan12138 qingwan12138 commented on Jul 03, 2026 10:07 UTC
    Contributor

    uefi镜像烧录
    <img width="943" height="1231" alt="image" src="https://github.com/user-attachments/assets/84ff1cc0-9a74-405a-ab36-43660f59f41b" />
    <img width="844" height="719" alt="image" src="https://github.com/user-attachments/assets/16a24ee8-8616-4d45-9fec-9e210fa6dc5c" />
    <img width="1884" height="1287" alt="image" src="https://github.com/user-attachments/assets/24cf7730-9496-4463-9e45-9eb2c6c8237e" />
    <img width="1474" height="1285" alt="image" src="https://github.com/user-attachments/assets/851abd03-50db-4095-8848-d246c0e08652" />
    <img width="1458" height="1279" alt="image" src="https://github.com/user-attachments/assets/48b620e4-f6d0-488a-9250-ff4d79778da6" />
    <img width="1319" height="1297" alt="image" src="https://github.com/user-attachments/assets/82c49b52-81d5-4f41-ab22-787b84e1e2e3" />
    <img width="1016" height="584" alt="19523bb7f64401aaa14384161efcdcb5" src="https://github.com/user-attachments/assets/2cabe21e-f1c4-4631-a7c9-c87defdd8ef4" />

    sourcery-ai[bot] sourcery-ai[bot] commented on code on Jul 06, 2026 04:06 UTC
    Code Review
    plugins/ruyi-device-provision-strategy-spacemit-k3/mod.star:1
    @@ -0,0 +1,207 @@
    +RUYI = ruyi_plugin_rev(1)
    +
    +load(
    +    "ruyi-plugin://internal-device-provisioner-common",
    +    _do_fastboot="do_fastboot",
    +    _do_fastboot_flash="do_fastboot_flash",
    +    _need_host_blkdevs_none="need_host_blkdevs_none",
    +)
    +
    +load(
    +    "ruyi-plugin://internal-i18n-compat",
    +    _msg="msg",
    +)
    +
    +
    +def _m(msgid):
    +    ret = _msg("plugins/ruyi-device-provision-strategy-spacemit-k1/" + msgid)
    +    if not ret:
    +        ret = _msg("plugins/ruyi-device-provision-strategy-spacemit-k3/" + msgid)
    +
    +    return ret
    +
    +
    +#def _pretend_spacemit_k3(img_paths: PartitionMapDecl, _: PartitionMapDecl) -> list[str]:
    +def _pretend_spacemit_k3(img_paths, blkdev_paths):
    +    fsbl_path = img_paths["fsbl"]
    +    uboot_path = img_paths["uboot"]
    +    gpt_path = img_paths["gpt"]
    +    bootinfo_path = img_paths["bootinfo"]
    +    env_path = img_paths["env"]
    +    esos_path = img_paths["esos"]
    +    opensbi_path = img_paths["opensbi"]
    +    bootfs_path = img_paths["bootfs"]
    +    rootfs_path = img_paths["rootfs"]
    +
    +    uboot_stage_path = uboot_path
    +    if "uboot_stage" in img_paths:
    +        uboot_stage_path = img_paths["uboot_stage"]
    +
    +    msg_load = _m("pretend-load-to-device")
    +    msg_flash = _m("pretend-flash-to-partition")
    +    ret = [
    +        msg_load.format(what="FSBL", img_path=fsbl_path),
    +        msg_load.format(what="U-Boot", img_path=uboot_stage_path),
    +    ]
    +
    +    if "mtd" in img_paths:
    +        ret.extend([
    +            msg_flash.format(img_path=img_paths["mtd"], part="mtd"),
    +            msg_flash.format(img_path=img_paths["bootinfo_mtd"], part="bootinfo"),
    +
    +            msg_flash.format(img_path=fsbl_path, part="fsbl"),
    +            msg_flash.format(img_path=env_path, part="env"),
    +            msg_flash.format(img_path=esos_path, part="esos"),
    +            msg_flash.format(img_path=opensbi_path, part="opensbi"),
    +            msg_flash.format(img_path=uboot_path, part="uboot"),
    +        ])
    +
    +    ret.extend([
    +        msg_flash.format(img_path=gpt_path, part="gpt"),
    +        msg_flash.format(img_path=env_path, part="env"),
    +        msg_flash.format(img_path=bootinfo_path, part="bootinfo"),
    +        msg_flash.format(img_path=fsbl_path, part="fsbl"),
    +        msg_flash.format(img_path=img_paths["esos"], part="esos"),
    +        msg_flash.format(img_path=opensbi_path, part="opensbi"),
    +        msg_flash.format(img_path=uboot_path, part="uboot"),
    +        msg_flash.format(img_path=esos_path, part="ESP"),

    issue: Pretend output flashes ESP from the ESOS image instead of the ESP image, which differs from the actual flashing logic.

    In _pretend_spacemit_k3, the ESP partition is shown as being flashed from esos_path, but _flash_spacemit_k3 correctly uses img_paths["esp"] for "ESP". Please update the pretend output to use img_paths["esp"] (or an esp_path variable) so it matches the real flashing sequence and avoids confusing users.

    sourcery-ai[bot] sourcery-ai[bot] commented on Jul 06, 2026 04:06 UTC
    Reviewer

    Hey - I've found 1 issue, and left some high level feedback:

  • Both _pretend_spacemit_k3 and _flash_spacemit_k3 take blkdev_paths but never use it; consider renaming the parameter to _blkdev_paths or removing it if the plugin interface allows to avoid confusion about unused arguments.

  • The commented-out fastboot oem speed:super-speed block in _flash_spacemit_k3 should either be wired up with proper error handling (returning on failure) or removed if not expected to be used, to keep the flashing flow clear and maintainable.

  • The empty addition of plugins/ruyi-device-provision-strategy-spacemit-k3-v1 at the end of the diff looks like a stray file or placeholder; verify whether it’s needed and either populate it or drop it from the PR.
  • <details>
    <summary>Prompt for AI Agents</summary>

    ~~~markdown
    Please address the comments from this code review:

    Overall Comments


  • Both _pretend_spacemit_k3 and _flash_spacemit_k3 take blkdev_paths but never use it; consider renaming the parameter to _blkdev_paths or removing it if the plugin interface allows to avoid confusion about unused arguments.

  • The commented-out fastboot oem speed:super-speed block in _flash_spacemit_k3 should either be wired up with proper error handling (returning on failure) or removed if not expected to be used, to keep the flashing flow clear and maintainable.

  • The empty addition of plugins/ruyi-device-provision-strategy-spacemit-k3-v1 at the end of the diff looks like a stray file or placeholder; verify whether it’s needed and either populate it or drop it from the PR.
  • Individual Comments

    Comment 1


    <location path="plugins/ruyi-device-provision-strategy-spacemit-k3/mod.star" line_range="64-67" />
    <code_context>
    + msg_flash.format(img_path=env_path, part="env"),
    + msg_flash.format(img_path=bootinfo_path, part="bootinfo"),
    + msg_flash.format(img_path=fsbl_path, part="fsbl"),
    + msg_flash.format(img_path=img_paths["esos"], part="esos"),
    + msg_flash.format(img_path=opensbi_path, part="opensbi"),
    + msg_flash.format(img_path=uboot_path, part="uboot"),
    + msg_flash.format(img_path=esos_path, part="ESP"),
    + msg_flash.format(img_path=bootfs_path, part="bootfs"),
    + msg_flash.format(img_path=rootfs_path, part="rootfs"),
    </code_context>
    <issue_to_address>
    issue: Pretend output flashes ESP from the ESOS image instead of the ESP image, which differs from the actual flashing logic.

    In _pretend_spacemit_k3, the ESP partition is shown as being flashed from esos_path, but _flash_spacemit_k3 correctly uses img_paths["esp"] for "ESP". Please update the pretend output to use img_paths["esp"] (or an esp_path variable) so it matches the real flashing sequence and avoids confusing users.
    </issue_to_address>
    ~~~

    </details>

    ***

    <details>
    <summary>Sourcery is free for open source - if you like our reviews please consider sharing them ✨</summary>

  • X

  • Mastodon

  • https://sourcery.ai" target="_blank" rel="noopener noreferrer" class="gh-md-link">LinkedIn

  • https://sourcery.ai" target="_blank" rel="noopener noreferrer" class="gh-md-link">Facebook
  • </details>

    <sub>
    Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
    </sub>

    xen0n xen0n commented on code on Jul 07, 2026 03:06 UTC
    Code Review
    entities/uarch/spacemit-x100.toml:1
    @@ -0,0 +1,14 @@
    +ruyi-entity = "v0"
    +
    +related = ["arch:riscv64"]
    +unique_among_type_during_traversal = true
    +
    +[uarch]
    +id = "spacemit-x100"
    +display_name = "SpacemiT X100"
    +arch = "riscv64"
    +
    +[uarch.riscv]
    +# See: https://www.spacemit.com/community/document/info?lang=zh&nodepath=hardware/key_stone/k3/k3_docs/k3_ds.md
    +#      https://github.com/ruyisdk/packages-index/issues/200
    +isa = "rv64imafdcvh_sdtrig_smaia_smcntrpmf_smepmp_smstateen_ssaia_sscofpmf_sspm_sstc_svinval_svnapot_svpbmt_svvptc_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintntl_zihintpause_zihpm_zimop_zaamo_zalrsc_zawrs_zca_zcb_zcd_zcmop_zfa_zfbfmin_zfh_zfhmin_zkt_zba_zbb_zbc_zbs_zbkc_zmmul_zvbb_zvbc_zve32f_zve32x_zve64d_zve64f_zve64x_zvfbfmin_zvfbfwma_zvfh_zvfhmin_zvkb_zvkg_zvkned_zvknha_zvknhb_zvksed_zvksh_zvkt_zvl32b_zvl64b_zvl128b_zvl256b_xsmtvmadoti8

    isa = "rv64imafdcvh_sdtrig_smaia_smcntrpmf_smepmp_smstateen_ssaia_sscofpmf_sspm_sstc_svinval_svnapot_svpbmt_svvptc_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintntl_zihintpause_zihpm_zimop_zaamo_zalrsc_zawrs_zca_zcb_zcd_zcmop_zfa_zfbfmin_zfh_zfhmin_zkt_zba_zbb_zbc_zbs_zbkc_zmmul_zvbb_zvbc_zve32f_zve32x_zve64d_zve64f_zve64x_zvfbfmin_zvfbfwma_zvfh_zvfhmin_zvkb_zvkg_zvkned_zvknha_zvknhb_zvksed_zvksh_zvkt_zvl32b_zvl64b_zvl128b_zvl256b_xsmtvmadoti8"
    

    xen0n xen0n commented on Jul 07, 2026 03:12 UTC
    Contributor

    Fixed and merged.

    Reviewers
    Assignees
    weilinfox weilinfox
    Labels
    risk: low confidence: 84.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 71.3% (HIGH) · Higher = larger blast radius
    71.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 84.9% · Lower = rushed or shallow review
    84.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 10.8% · Safe to merge
    10.8%