Skip to content

Module: prism.client, contract and code ownership #441

Closed

Description

@humuhumu33

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

Purpose: The entry point. It reads configuration, creates the SDK object and holds the CLI that sits on top of the other modules.

Docker equivalent: Client (docker.from_env())

API surface: Prism.fromEnv(), createPrism(), and the prism CLI

Prism difference: It reads local configuration, and no daemon is required. It works in a browser as well as on a server.

Code that moves here

  • Rust (crates/prismpm/src): lib, main, cli, template, diagnostics
  • JavaScript (sdk/npm/prism-code/src): index, node, browser, manifest, toml, init*, dev*, providers, middleware, tracing, generate/, studio/, author/, canonical/, bin/prism-code, plus create-prism-code

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: All other modules

Implemented by: #347 (developer surface), #280 (prism.toml), #293 (CLI plugins), #295 (middleware), #298 and #307 (other runtimes)

Done when: Prism.fromEnv() returns an object exposing the other eight modules, with today's createPrism() and prism export kept as documented paths; the CLI groups match the module names. 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/runtime-jsprism-code, verify, testing packages
    stability/experimentalBehind experimental_ prefix or --unstable flag; pin exact versions
    module/clientOwned by the client 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/runtime-jsprism-code, verify, testing packageskind/api-changeChanges a public API, CLI verb, file format or predicate; needs a design proposalmodule/clientOwned by the client 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