Skip to main content

sm-listing

How a community publishes the members who asked to be findable — so an agent that has never met them can discover them by what they offer and where they are.

This is the second hop of agent discovery. sm-federation finds the community; this profile finds the member. They are separate because federation's own §1 says it is not a directory, and a member lookup service is exactly that.

A listing is not a member directory

A directory is the roster: everyone, including people who never asked to be listed anywhere. A listing contains only members who actively opted in, carrying only the fields they chose. Its default state is empty, and a community that enables it with nobody opted in publishes an empty document — which is correct, not a misconfiguration.

That distinction is the whole security model, so the spec states it normatively:

  • A non-consenting member is ABSENT — not an opaque entry, not a redacted placeholder. An opaque entry in a list is a census of the non-consenting: it publishes the one fact those members declined to publish, which is that they are there.
  • No count of excluded members, or anything one can be derived from. A count computed and then withheld is one refactor away from being emitted; excluding rows so that no count exists by construction is the mechanism.
  • The contact route is the member's agent endpoint, never a human contact detail. A consented listing carrying phone numbers is still a harvesting surface — one people opted into without understanding what they opted into.
  • No member-authored free text. Every field is a code, an identifier, a URL or a number. Free text is what leaks, and prose does not match across languages, so it was never the discovery mechanism.

What it carries

geography ISO 3166-2 for matching, plus resolvable place references for the precision ISO cannot express
offering (scheme, code) pairs — multi-encodable, so one member can publish NAICS and UNSPSC and a schema.org type
trade terms ships-to, currencies, minimum order, lead time — all on free, stable standards

What it does not promise

Matching is exact and hierarchical-prefix within one scheme. Cross- vocabulary matching is out of scope and stays out: a consumer querying JSIC will not match a publisher who listed only NAICS. Crosswalk tables are lossy, permanently maintained, and produce confidently wrong matches when stale — worse than no match. §6's multi-encoding is the mitigation, and it works by moving the translation burden onto the only participant who cannot get it wrong: the member describing itself.

Layout

spec/listing/0.1/listing.md the normative profile
src/sm_listing/wire/schema/listing/0.1/*.json JSON Schemas — the published wire contract, shipped inside the wheel (sm_listing.wire.load_schema)
src/sm_listing/wire/vectors/listing/v01/*.json conformance vectors, also shipped (sm_listing.wire.load_vectors)
src/sm_listing/conformance/ the over-the-wire suite, shipped inside the wheel — what an implementer runs against their own endpoint
conformance/ the schema and corpus-coverage suite for this repository; not in the wheel

Measuring your implementation

pip install "sm-listing[conformance]"
SM_LISTING_ADAPTER=your.module:make_adapter pytest --pyargs sm_listing.conformance

make_adapter returns an implementation of sm_listing.conformance.ListingAdapter. Every run prints the subject it measured. With SM_LISTING_ADAPTER unset the suite fails rather than measuring anything — it does not fall back to the reference implementation, which is what 0.3.0 and earlier did while reporting the result as though it were about your system. Use SM_LISTING_ADAPTER=reference to exercise the suite against the reference on purpose.

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sm_listing-0.4.0.tar.gz (89.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sm_listing-0.4.0-py3-none-any.whl (67.1 kB view details)

Uploaded Python 3

File details

Details for the file sm_listing-0.4.0.tar.gz.

File metadata

  • Download URL: sm_listing-0.4.0.tar.gz
  • Upload date:
  • Size: 89.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sm_listing-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9946f341be628749f8dcaec59f047b201a8e3d8f5b691b5823e1cb52e493b209
MD5 06478909b1035d44423834a7dc5ed8bc
BLAKE2b-256 257fd8502d88a71f933e4094b3be411dcb424daa063caa9a61d59b84cb5e1f4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sm_listing-0.4.0.tar.gz:

Publisher: release.yml on Sharathvc23/sm-listing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sm_listing-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: sm_listing-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 67.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sm_listing-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04a88b264d30f43f81e562174e8c9200cd0d61f5ec6b193168c19e223e77665d
MD5 72d2a39766bbab044ac9963a70a7cc53
BLAKE2b-256 510fa28cd23f3ac248e3fe2ea09604816f98b85bc8c27baaf5efd5dfab1a8299

See more details on using hashes here.

Provenance

The following attestation bundles were made for sm_listing-0.4.0-py3-none-any.whl:

Publisher: release.yml on Sharathvc23/sm-listing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

This release

0.4.0 This release

2 files

0.3.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page