Skip to content

Module: prism.system, contract and code ownership #446

Closed

Description

@humuhumu33

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

Purpose: Information about the installation, plus housekeeping. This is not the production-system model, whose Rust module is being renamed.

Docker equivalent: System (info, version, events, df, prune)

API surface: prism.system.info, version, events, df, prune

Prism difference: It also reports the pinned toolchain and builder image.

Code that moves here

  • Rust (crates/prismpm/src): sdk::verify_environment
  • JavaScript (sdk/npm/prism-code/src): plugins, bin/prism-doctor

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, verify, images, containers, networks, volumes

Implemented by: #347 (namespace), #349 (image store and garbage collection)

Done when: Every verb above works in the SDK and the CLI with tests; prune never removes an image that a container still references. 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/cliprism verbs and the prismpm crate
    area/engineBuild pipeline inside the SDK image
    stability/experimentalBehind experimental_ prefix or --unstable flag; pin exact versions
    module/systemOwned by the system module of PrismPM
    on Nov 1, 2026
  2. moved this from Todo to In Progress in Prism SDK v1.0on Nov 11, 2026
  3. afflom commented on Nov 12, 2026

    @afflom
    Member

    The done-when holds on main:

    Closing.


    Generated by Claude Code

  4. moved this from In Progress to Done in Prism SDK v1.0on Nov 12, 2026
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/cliprism verbs and the prismpm cratearea/engineBuild pipeline inside the SDK imagekind/api-changeChanges a public API, CLI verb, file format or predicate; needs a design proposalmodule/systemOwned by the system 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