DIN - the free binary distribution
Copyright 2026 the DIN copyright holder

This product includes software developed as part of the DIN CTRL / StreamDIN
project.


WHAT THIS DOWNLOAD IS
---------------------

This is the FREE BINARY DISTRIBUTION of DIN: signed, compiled programs plus the
installers and the documentation. It is not a source release. There is no source
archive beside it and there is no source archive anywhere in this channel, by
design.


DIN IS OPEN CORE
----------------

Two halves, and they are licensed differently because they are different things.

  THE OPEN PLUMBING, publishing as source later, in its own public repository:
      the record format, the honesty vocabulary (grades, verdict precedence, the
      citation contract), the capture contract, the `din` CLI, the importer's
      front door, the installers and the docs.

  THE CLOSED ENGINE, never published as source, in any channel:
      the grading and distill engine - its rubrics, its prompts, its
      normalization and its weights - together with the multi-source fan-in, the
      multi-identity cross-view, roll-ups, blast weights, team review, and the
      entitlement logic.

The binaries in this download carry the open plumbing and, compiled, the parts
of the closed engine that this release ships, among them the grading and
distill engine in `din-import` (its contract sealed inside `din-contract`), the
multi-source fan-in in `streamfieldd`, and the entitlement logic. Reading DIN's
source, when that source publishes, gives you the plumbing and not the engine.
`din-import` in particular is one program across both halves: its front door is
open plumbing, its grading internals are not, and no source drop will contain
them.

SPIN is not part of this download.

This split is not a flag that can be turned off. The closed parts are absent from
the open repository rather than disabled in it.


THE LICENCE
-----------

The open plumbing and these free binaries are licensed under the Apache License,
Version 2.0. Operator decision, 2026-09-18.

The LICENSE file sitting beside this notice holds the full Apache-2.0 text and
it IS the grant. It is no longer a placeholder.

The core engine repository, from which the field server (`streamfieldd`), the
writer (`dinctrl-store`), the record producer (`din-record`), the capture
producer (`din-session-record`), the dependency audit (`din-dep-audit`) and the
re-grade driver (`din-regrade`), the source views (`din-source`) and the review
funnel (`din-referee`) are built, is
Apache-2.0 as well. Those eight are
covered.

What Apache-2.0 does not do, said plainly rather than left to be discovered: it
grants no trademark rights (section 6), and it is a licence on this release
rather than a promise about the next one. The CLOSED ENGINE described above is
not granted as source by this or any other licence in this channel; what is
granted is the right to run these binaries and to use the published plumbing
source when it publishes.

A licence granted on a published release cannot be withdrawn from that release.
That is why this was a gate and not a formality.


THIRD-PARTY DEPENDENCIES
------------------------

This download ships fifteen programs, for Linux, and a plugin
package that carries three helper programs. Some of them are built with
third-party Rust crates. Those crates keep their own licences, and the full
text of every one of those licences is in the file THIRD-PARTY-LICENSES beside
this notice.

Four of the fifteen programs have no third-party dependencies. They are
std-only Rust binaries:

    din-import      the importer
    din-grade       the grader din-import runs
    din-contract    the sealed interpretive contract provider
    din-dep-audit   the dependency audit

Three programs verify the signed licence (entitlement) with ed25519-dalek:

    din             the CLI front door
    streamfieldd    the field server
    dind-console    the local console

On the Linux builds in this download, each of the three links
these crates: ed25519-dalek, curve25519-dalek, subtle, ed25519, signature,
zeroize, sha2, digest, block-buffer, crypto-common, generic-array, typenum,
cpufeatures and cfg-if.

The three plugin helpers (din-capture, din-recall-ctx and din-plugin-status)
are built from one crate that depends on the same set.

Four programs carry crates for hashing, and three of them also for regular
expressions:

    dinctrl-store   sha2, digest, block-buffer, crypto-common, generic-array,
                    typenum, cpufeatures, cfg-if
    din-record      the same set, plus regex, regex-automata, regex-syntax,
                    aho-corasick, memchr (and dinctrl-store, which is ours)
    din-regrade     the din-record set above (and dinctrl-store), for the
                    re-grade driver `din regrade --run` runs
    din-source      the din-record set above (and dinctrl-store), for the
                    source views of the provenance drill: it renders a kept
                    source the way its producer read it

One program also carries crates for TLS, for sending to an https hub when one
is configured:

    din-session-record  the capture producer `din capture --once` runs: the
                    din-record set above, plus rustls, rustls-webpki,
                    rustls-pki-types, webpki-roots, ring, untrusted, once_cell,
                    getrandom, libc, zeroize and subtle

One program carries crates for reading JSON:

    din-import-graphiti  the Graphiti / Zep reader: serde_json, serde,
                    serde_core, itoa, memchr, zmij

One program judges the field's collisions on your own inference:

    din-referee     the review funnel: the din-record set above (and
                    dinctrl-store), the din-import-graphiti set above (for
                    the model replies din-runner reads), and the ed25519-dalek
                    set above (to verify the signed licence its judge pass is
                    held to)

One program checks and reads DIN's signed library catalog:

    din-libcatalog  the catalog client `din deps refresh` runs: the
                    din-import-graphiti set above, plus the ed25519-dalek
                    set above (to verify the catalog's signature), ruzstd
                    and twox-hash (to read its zstd-compressed shards)

The licences, as each crate declares them:

    BSD-3-Clause                ed25519-dalek, curve25519-dalek, subtle
    MIT                         generic-array, zmij, ruzstd, twox-hash
    Unlicense OR MIT            aho-corasick, memchr
    Apache-2.0 AND ISC          ring
    ISC                         rustls-webpki, untrusted
    Apache-2.0 OR ISC OR MIT    rustls
    CDLA-Permissive-2.0         webpki-roots
    MIT OR Apache-2.0           every other crate named above

The BSD-3-Clause licence requires its copyright notice, its list of conditions
and its disclaimer to be reproduced with a binary distribution. They are
reproduced, in full, in THIRD-PARTY-LICENSES.

THIRD-PARTY-LICENSES covers more than the list above: it holds every
third-party crate in the Cargo.lock of every shipped program, including the
build-time helpers (procedural macros and build scripts, such as syn, quote and
proc-macro2) and a few crates the lockfiles resolve that these builds do not
compile in (among them serde, der and pkcs8). Each entry names the licence the
crate declares and the programs whose lockfile lists it.

No component of this bundle contains a Python interpreter, a Python program, or
any code that reaches for one. That is enforced by a check in the packaging
script and by a test, not by this sentence.
