# sfcrm/wire

`sfcrm/wire` is the independently publishable, standard-library-only owner of
reusable Salesforce-compatible HTTP error envelopes, error codes, and
versioned route messages. The transitional CRM dialect consumes it now; a
separately released CRM AppService can consume the published module without
importing the legacy dialect.

It is an L1 product codec. It does not own neutral Runtime outcomes, transport
authentication, authorization decisions, metadata, persistence, or gRPC.
Callers translate structured neutral outcomes into this product wire grammar at
the L1 boundary.

The transitional `dialects/dialect-sf-crm/wire` package is a compatibility
adapter over this module. New independently released L1 consumers must import
this module instead of the legacy dialect or NexusCRM core packages.

Validate it with:

```bash
GOWORK=off go test ./...
GOWORK=off go vet ./...
```

Release tags use the module prefix, for example `sfcrm/wire/v0.1.0`.
