# `publisher@1`: who publishes a board, agent or theme, and how "Official" is earned

Version **1.1.0** · published 2026-11-30 · MIT · publishers: dashremix

Companies and people can publish DashRemix boards, agents and themes under their own name: a fitness app its training
board, a SaaS tool a board over its own export. This standard says how a publisher is named, how it proves its domain,
and when the directory may call an item **Official**. Today every item in the catalog is published by DashRemix itself.

**Official is earned, never declared.** An item is Official only when its publisher proved, within the last 365 days,
that it controls its domain, and that proof covers the item. Nothing an item says about itself (`official: true`,
`verified: true`) counts: the catalog build fails on it.

## How this standard differs from the data standards

Like `agent@1`, this is a **definition** standard (`definition.json`, `"kind": "definition"`): there is no database.
Its public contract is one small JSON file a publisher serves from its own domain; the JSON Schema below describes it
and `verify.py` (Python standard library only) checks it. The registry entry DashRemix keeps for each publisher has its
own schema, `entry.schema.json`, and conformance checks (`checks.yaml`).

## The three parts

| Part | Where | Written by |
|---|---|---|
| The proof | `https://<domain>/.well-known/dashremix.json` (or a DNS TXT record) | the publisher |
| The registry entry | `catalog/publishers/<id>.yaml` (+ an optional local `<id>.png` logo, and an optional SVG `mark` in `<id>/brand/` that passes an allowlist check) | DashRemix, at review; `verification` only by `dashremix publisher verify <domain> --write` |
| The item's block | `publisher: {id: <id>}` in `dashremix.yaml`, `agent.yaml` (agent@1 1.1) or `theme.json` | the publisher (no block = DashRemix) |

## The proof: `/.well-known/dashremix.json`

<!-- fields:begin (generated from publisher@1.schema.json by spec/build.py; edit the schema descriptions) -->

| Field | Type | Required | Description |
|---|---|---|---|
| `dashremix` | `publisher@1` | yes | The standard this file follows. Always `publisher@1`. |
| `publisher` | string | yes | Your DashRemix publisher id, e.g. `northwind-cycling` (given to you at review). |
| `domain` | string | yes | The domain this file is served from, in lowercase, e.g. `northwind-cycling.example`. Must equal the domain it was read from. |
| `name` | string |  | Your display name, 2 to 80 characters. Optional; the directory shows the reviewed name. |
| `boards` | array |  | Board ids you publish (at most 500, each once). |
| `agents` | array |  | Agent ids you publish (at most 500, each once). |
| `themes` | array |  | Theme ids you publish (at most 500, each once). |

<!-- fields:end -->

```json
{
 "dashremix": "publisher@1",
 "publisher": "northwind-cycling",
 "domain": "northwind-cycling.example",
 "name": "Northwind Cycling",
 "boards": ["northwind-ride-review"],
 "themes": ["northwind-dusk"]
}
```

A verifier **rejects** the file when: it is larger than 64 KB; it is not UTF-8 JSON or not one object; `dashremix` is
not `publisher@1`; `publisher` is missing, malformed or not the id being verified; `domain` is not the domain it was
read from; it lists no ids at all, or a list is not a list of ids, repeats an id or has more than 500. Unknown keys are
ignored (a later 1.x minor may add optional ones). It is read with one HTTPS GET to the domain itself: no redirect is
followed (a redirect fails), no cookie or credential is sent, a generic User-Agent, a 10 second timeout.

**DNS instead.** A publisher that cannot serve the file adds a TXT record `_dashremix.<domain>` with the value
`dashremix-publisher=<id>` (one publisher per domain: records naming two ids never verify). This proves the domain only;
the items covered are then the ones DashRemix reviewed for that publisher. `verify.py --dns` asks the system resolver
through `dig`; it never uses a third-party DNS service.

```bash
python3 spec/publisher/1/verify.py northwind-cycling.example --file dashremix.json   # check your file before you publish it
dashremix publisher verify northwind-cycling.example [--write]                       # the operator's step (below)
```

## The registry entry

`catalog/publishers/<id>.yaml` (`entry.schema.json`): `publisher: publisher@1`, `id` (= the file name), `name`, `kind`
(`company` | `person` | `project`), `url` (https, on the domain or a subdomain), `domain`, `about`, an optional local
`logo` (PNG), an optional `mark` (1.1; a UTF-8 SVG in `catalog/publishers/<id>/brand/`, reached through no link, at most 100 KB,
that parses as a plain drawing: allowlisted elements and attributes with a grammar for every value, so no script,
event handler, link, `url()`, CSS escape, DOCTYPE, entity or processing instruction; the site and the app draw it only
through `<img>`, never inline), and:

- `first_party: true`: only the `dashremix` entry, and it must be.
- `review: {status: pending | approved | suspended, date, items: [{kind, id, version, sha256}]}`: required for every
  other publisher. Each item is pinned to the version and content hash DashRemix reviewed.
- `verification: {method, domain, date, sha256, boards, agents, themes}`: written only by
  `dashremix publisher verify <domain> --write` after a successful check of the live domain (`--file` checks a local
  copy and never records anything); the catalog never re-fetches on its own. `--verify-publishers` re-reads each proof:
  an id the live file no longer lists loses Official in that build.

**Provenance decides, never the item.** Where an item ships says who made it: DashRemix's own tree (`dashboards/`,
`agents/`, the framework's themes) is first party; a third-party item ships only in
`catalog/publishers/<publisher>/<kind>s/<id>/` and is that publisher's, whatever its yaml says, and must match a review
record by hash. Its id is its folder name. A `publisher:` block may only repeat what its location says; a first-party
id may not be one a third-party review record lists; anything from anywhere else is never installed.

## Status, computed

| Status | When | Official items |
|---|---|---|
| `first-party` | the `dashremix` entry | none (DashRemix's own work shows "by DashRemix", no badge) |
| `verified` | a verification for this domain, at most 365 days old | those the proof lists (well-known), or the reviewed items (DNS) |
| `expired` | the verification is older than 365 days | none, until verified again (still listed) |
| `unverified` | no verification, or one for another domain | none, ever |

## The trust path for third-party items

Boards contain code (importers, tools) that runs on the person's computer. So:

1. **Review before listing.** A third-party item appears in the catalog, the site and `dashremix add` only after
   DashRemix reviewed that exact release (`review.status: approved`, the item at its version and sha256). The catalog
   build fails when an item names an unknown publisher, a publisher not approved, or files that changed since review.
2. **Pin by content hash.** The hash is sha256 over exactly the files `dashremix add` copies (sorted relative paths and
   each file's sha256), leaving out only the exact paths install replaces with DashRemix's own copies (the folders
   `view/fw`, `tools/dashremix_board` and `schema/<the pinned standard>`, the files `tools/dashremix_board.lock.json` and
   the notes bridge; never a name prefix). A third-party item may not
   contain links. `add`, `agent add`, `agent check` and `agent export` recompute it before anything runs, and the staged
   copy is hashed again right after it is made, before its importer runs.
3. **Show, then ask.** Before installing a third-party board, `dashremix add` shows the publisher, its domain proof and
   status, that the files match the reviewed release, the importer and code files it will run, and every connector
   lane beyond local files; it installs only after the person says yes (`--yes` for scripts). First-party boards show
   one "Publisher: DashRemix" line and no question.
4. **Verify by hand.** Verification is an operator step, never something the product does on its own: the build and the
   CLI make no network calls, except `dashremix publisher verify <domain>` and `python3 catalog/build.py
   --verify-publishers`, each an anonymous request to the publisher's own domain, sending nothing about anyone.
5. **No impersonation.** No entry, page or sample may claim to be by a company that has not been onboarded. Fixtures use
   fictional names on the reserved `.example` domain (`fixtures/`). Real publishers are onboarded by DashRemix.

The website's badges are computed when the site is built: a proof that lapses or is withdrawn shows on the next build.

Enforced locally today: the hash pin, the review gate, the computed status and the consent display. Later, with the
hosted hub (organisations, members, submissions): signed releases and review queues, see the hub plan.

## Conformance checks

See `checks.yaml`. `dashremix publisher check [<id>]` runs them; `python3 catalog/build.py` fails on any fail.
`fixtures/` holds a valid proof (`dashremix.json`) and entry (`northwind-cycling.yaml`) for a fictional publisher, and
`invalid-documents.yaml` / `invalid.yaml`: changes that each must be rejected, or fail named checks.

## Compatibility

- A 1.x verifier reads every 1.0 file; minors add optional fields only.
- A change to what makes an item Official, to the rejection rules or to the hash goes to `publisher@2`.
