Skip to main content

Code Craft AI Sysman UEFI

The codecraftai-sysman-uefi package is the firmware-management tier of the codecraftai-sysman-* suite. It manages the UEFI firmware on the host the package runs on — boot entries and boot order, Secure Boot state and MOK enrollment, raw EFI NVRAM variables, UEFI capsule firmware updates, and the EFI System Partition — exposed through the same ICommandRunner / IFileOperator interfaces and Aspects-style behaviour parameters used elsewhere in the suite.

Unlike the per-OS codecraftai-sysman-* packages, each manager in this package detects the running host OS at construction time and internally dispatches every verb to a host-OS-specific command builder (efibootmgr / mokutil / efivar / fwupdmgr on Linux, bless / nvram / bputil / diskutil on macOS, bcdedit / PowerShell Uefi module / PSWindowsUpdate / mountvol on Windows).

Status

5 firmware features implemented (boot-management, secure-boot, efi-variables, capsule-update, esp-management). Test suite: 175/175 passing under testbase. See specs/3-<feature>/ for the per-OS requirements/design/tasks for each feature.

Highlights

  • UefiBootManagementManager — firmware boot entries and persistent boot order.

  • UefiSecureBootManager — Secure Boot state, policy, and MOK management.

  • UefiEfiVariablesManager — raw EFI NVRAM variable read/write/delete/list.

  • UefiCapsuleUpdateManager — UEFI firmware capsule updates (fwupd family).

  • UefiEspManagementManager — EFI System Partition discovery, mount, file I/O.

  • override_host_os config field on every manager so dispatch paths can be exercised from any developer workstation.

Repository Structure

  • development/ - Runtime environment scripts.

  • repository-setup/ - Repository homing and setup scripts.

  • source/packages/ccai/sysman/uefi/ - Implementation modules.

  • source/testroots/testbase/ccai/tests/sysman/uefi/ - testbase test suite.

  • specs/ - Feature specifications organised by phase and domain area.

  • userguide/ - Standards, conventions, and documentation.

Environment Setup

When working in a Codex container:

./development/setup-agent-container

For local development:

./repository-setup/rehome-repository
./development/setup-environment

Running Tests

Activate the virtual environment and run the testbase suite:

source .venv/bin/activate
testbase testing run --root source/testroots/testbase \
    --includes=testbase.ccai.tests.sysman.uefi \
    --output=./.output

Standards and Conventions

  • Naming conventions: userguide/10-02-naming-conventions.rst

  • Code organization: userguide/10-01-code-organization.rst

  • Coding standards: userguide/10-00-coding-standards.rst

Additional Resources

  • User guide entry point: userguide/userguide.rst

  • Cross-OS contracts: ../codecraftai-sysman-common/specs/contracts/

Metadata

Release files for codecraftai-sysman-uefi 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codecraftai-sysman-uefi 1.2.0
File Size Uploaded Provenance
codecraftai_sysman_uefi-1.2.0.tar.gz 51.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-sysman-uefi 1.2.0
File Interpreter ABI Platform
codecraftai_sysman_uefi-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 105.4 kB

Release files / codecraftai_sysman_uefi-1.2.0.tar.gz

Download URL codecraftai_sysman_uefi-1.2.0.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1aba855a38eb601fe1de9065d879b1d6988d511ba5b8329020e9aa6d5be10253
BLAKE2b-256 checksum
How to use checksums
26dd622a09d252a0b01d08074756b8ecb55549d2e339b1cbaac1be7812b6e28d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / codecraftai_sysman_uefi-1.2.0-py3-none-any.whl

Download URL codecraftai_sysman_uefi-1.2.0-py3-none-any.whl
Size 53.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cee1be7cdb35619e131c1c1a10aced6099a5c4bea2697d82aec59762eaa5a9ee
BLAKE2b-256 checksum
How to use checksums
3d6deb45d71b9323f27173b010cf10b8f908dca433dbad14129f3359a32e9f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for codecraftai-sysman-uefi 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_sysman_uefi-1.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page