Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 2.82 KB

File metadata and controls

64 lines (40 loc) · 2.82 KB

INTEGRATOR — Protocol-Commercial v1.1.0

This document is the external-consumer quickstart for the current commercial release line.

What to import

Use the explicit current-line JSON path export by default:

import commercialIndex from '@commandlayer/commercial/schemas/v1.1.0/index.json';

That path is the current machine-readable map of every canonical verb schema in the release and is the most portable documented import for ESM-first consumers. The bare package import @commandlayer/commercial currently resolves to the same file, but treat it as an environment-dependent shortcut rather than the default example.

What is normative vs illustrative

Normative machine artifacts:

  • schemas/v1.1.0/
  • schemas/v1.1.0/index.json
  • manifest.json

Illustrative conformance fixtures:

  • examples/v1.1.0/commercial/<verb>/valid/
  • examples/v1.1.0/commercial/<verb>/invalid/

Normative interpretive docs:

  • README.md
  • SPEC.md
  • POLICY.md
  • SECURITY_PROVENANCE.md

Safe consumer path

  1. Confirm the package version is 1.1.0 and that manifest.json reports status: current.
  2. Load schemas/v1.1.0/index.json and select the request and receipt schema paths you need.
  3. Configure your validator from the flat per-verb schema files under schemas/v1.1.0/commercial/<verb>/.
  4. Run checksum verification before mirroring or vendoring artifacts using the canonical commands in README.md#validation-commands.
  5. Use examples/v1.1.0/ as conformance fixtures, not as a substitute for schema requirements.

Choosing between v1.1.0 and v1.0.0

Choose v1.1.0 unless you are maintaining compatibility with an older integration that still depends on the published historical nested requests/ and receipts/ paths.

  • v1.1.0 is the current canonical flat line.
  • v1.0.0 is retained legacy for compatibility and audit.

Do not teach v1.0.0 paths as current implementation guidance.

Checksums and provenance

The checksum-covered payload for this release is intentionally narrow:

  • schemas/v1.1.0/
  • examples/v1.1.0/
  • manifest.json

checksums.txt is the ledger for that payload. It is not itself inside the hashed set, so checksum verification confirms covered files only relative to the checked-in checksums.txt ledger and does not independently authenticate that ledger. Prose docs remain authoritative for interpretation and release process, but they are outside the checksum boundary.

TypeScript guidance

There is no current-line TypeScript compile target or public examples/v1.1.0/**/ts/ teaching surface in this release. The retained v1.0.0 TypeScript example files are legacy compatibility artifacts, not an active build surface. If a future release restores a TypeScript surface, it should be explicitly governed, validated, and documented before it is treated as part of the public implementer surface.