(proto-fact_publish-proto)=

# `proto/fact_publish.proto`

**Normative.** `proto/**` is part of `specs/` ([STYL.2.14.1]); message names, field numbers, types and `reserved` ranges carry the same force as a clause of English ([STYL.2.14.2]). Cite this file as `proto/fact_publish.proto` and a message within it as `proto/fact_publish.proto#<Message>` ([STYL.2.14.3]). This page is the protobuf source, rendered.

```protobuf
/* SPDX-FileCopyrightText: 2026 Dan Finster and the Desert Sage Contributors */
/* SPDX-License-Identifier: BSD-4-Clause OR AGPL-3.0-or-later */
syntax = "proto3";

package ds.v1;
```

(proto-fact_publish-proto-FactPublish)=

## `FactPublish`

```protobuf
// FactPublish — atom body. A rule's `publish` ran ([RFCS.27]). It holds no slot
// value and no fact handle: the fact is in no working memory ([LTIE.4.3]).
//
// STREAM-CLASS: compare ([RFCS.3.4]).
message FactPublish {
  string schema_name = 1;  // name of the DS schema
  string rule_name   = 2;  // the publishing rule; never "" on this atom
  uint64 clock_ns    = 3;  // engine clock at the publish (ns)
  uint64 seq         = 4;  // stream sequence number
  uint64 timetag     = 5;  // the firing's timetag ([RFCS.11.2])
}
```

