caliper check¶
caliper check runs the host's pre-load checks on every applet in one folder, without opening any library, and reports whether each is ready.
| Field | Value |
|---|---|
| ID | COR-07 |
| Status | Shipped |
| Scope | Supporting |
| Pillar | Core Runtime and SDK |
| Sprint | None |
| Depends On | Applets Loaded from Outside the Repository (COR-06) |
| Unblocks | caliper build (COR-10)caliper install ( COR-12) |
| Docs | Applet Commands, caliper check |
| Branches | None |
| Design | None |
Coverage Ledger¶
- design/roadmap.md, under Phase 1: one core with versioned applets. Step 5: the caliper subcommands list, check, info, new, install <folder>, dev and shot; caliper shot is the first piece of the capture service.
- design/spec-format.md, under The spec applet in the loader. check_spec parses and validates a spec when the applet is checked or launched; caliper list and caliper check print the kind and the validator's diagnostics, caliper install refuses a spec applet and GET /v0/applets has a kind field.
- Applet Commands, caliper check. caliper check runs the pre-load checks on every applet of one folder and validates each spec applet in full.
- CLI, caliper --help. caliper --help prints the usage.
- CLI, Exit Codes. Exit codes 0, 1 and 2 of the subcommands.
- Refusal Messages, Negotiation Refusals. Negotiation refuses an applet before any code runs, with one message for each cause.
- Refusal Messages, Loader Statuses. Loader statuses READY, REFUSED, FAILED, SHADOWED and QUARANTINED, with their messages.
- Trust Model, Pre-Flight Checks. Checks run before any applet code loads.
- Pull request #13. Pull request 13 (merged) delivers roadmap Phase 1: the SDK package, a core that compiles no applets, loading from outside, the Caliper CLI, Caliper Embed as a package, and docs and plans.