Skip to content

Module: prism.verify, contract and code ownership #449

Closed

Description

@humuhumu33

Part of the nine-module architecture in #440. This issue holds the contract and code ownership of verify. M2 defines the contract; the issues listed below own the implementation.

Purpose: Prism's one addition, and the reason to choose it over Docker: every trust decision about an image lives here.

Docker equivalent: None

API surface: prism.verify for check, policy, attestations, replay and conformance, with prism.images.verify as the Docker-shaped shortcut

Prism difference: It gives a verdict with an assurance level and names what that verdict trusts. Until the compiler gap closes, P2 means the Lean kernel accepted the listed theorems about the model, not that the shipped program is proven.

Code that moves here

  • Rust (crates/prismpm/src): inspect, attest (verification), holo/archive (reading), holo/attestation, replay, authority, input_lock, sdk (inventory, lock reading, pinned executables), process_resources, process helpers from verification, reference syntax from oci, supply_chain (trust and policy decisions)
  • JavaScript (sdk/npm/prism-code/src): check, verify, attestations, archive, blake3, sha256, capabilities, replay*, attest (verification), vendor/verify, plus @prism-code/verify, @prism-code/conformance

This map follows the agreed design in docs/proposals/440-nine-modules.md, under Code ownership. A file that will split keeps its current owner until it does. Confirm each row when the code moves.

May depend on: errors

Implemented by: #266, #267, #269, #270, #272, #273, #275, #276, #277 (M2), #283, #284, #285, #287 (M3), #312 (shared core)

Done when: All trust decisions about an image are made in this module and in no other; the Rust and JavaScript implementations give the same verdict on the conformance corpus; run and pull get their answers only from here. Each public capability and diagnostic is registered in model/*.toml and covered by conformance fixtures.

Depends on: #440.

Part of the Prism SDK v1.0 roadmap: Prism SDK v1.0

Activity

  1. added
    kind/api-changeChanges a public API, CLI verb, file format or predicate; needs a design proposal
    area/verifyAttestations, predicates, policy, assurance levels, replay
    area/runtime-jsprism-code, verify, testing packages
    stability/experimentalBehind experimental_ prefix or --unstable flag; pin exact versions
    module/verifyOwned by the verify module of PrismPM
    on Nov 1, 2026
  2. afflom commented on Nov 12, 2026

    @afflom
    Member

    The done-when holds on main:

    Closing.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/runtime-jsprism-code, verify, testing packagesarea/verifyAttestations, predicates, policy, assurance levels, replaykind/api-changeChanges a public API, CLI verb, file format or predicate; needs a design proposalmodule/verifyOwned by the verify module of PrismPMpriority/critical-urgentBlocks the current milestonestability/experimentalBehind experimental_ prefix or --unstable flag; pin exact versions

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions