Skip to content

Client: add inspect and verify, with the same operations in CLI, library and wasm #36

Closed

Description

@afflom

Current state

The client from #104 (crates/uorc, crates/uorc-wasm, web/) has compress and decompress only, with --steps, --work, --stats, -o, and - for stdin/stdout. Errors are Budget, Overflow and Decode; the CLI exits 1 for all of them.

Work

  1. uorc inspect <archive>: print the frame kind (raw, program, ulz kernel), stored and original sizes, integrity profile and object count, without decoding the payload.
  2. uorc verify <archive> [original]: decode and check integrity without writing output; with an original, also compare bytes.
  3. Distinct exit codes for budget, decode, overflow and I/O failures, with the message on stderr.
  4. The same operations in the library API and in uorc-wasm, and an inspect/verify panel on the Pages site.

Done when

The commands exist in CLI, library and wasm, each has a test in crates/uorc/tests, and the Pages site exposes them. This is the client side of UC-API-01.

Activity

  1. added
    cliUORC backlog label: cli
    ioUORC backlog label: io
    productUORC backlog label: product
    on Oct 3, 2026
  2. changed the title [-]Implement native `uorc` command surface and argument semantics[/-] [+]Implement native `uorc` command grammar, streams, and exit semantics[/+] on Oct 3, 2026
  3. changed the title [-]Implement native `uorc` command grammar, streams, and exit semantics[/-] [+]Client: add inspect and verify, with the same operations in CLI, library and wasm[/+] on Nov 9, 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

    cliUORC backlog label: cliioUORC backlog label: ioproductUORC backlog label: product

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions