Communication¶
A pipeline spans several projects, and each project's agent sees only its own. The files tell one project's agents what the data means; these messages keep the agents of other projects current, so their answers stay right:
| Message | Sent by | Tells | So that |
|---|---|---|---|
| Import | consumer | which dataset a project reads, at which build | the producer knows who to tell |
| Change notice | producer's tool, on each published build | what changed since the previous build | every consuming agent hears before it quotes a moved number |
| Ack | consumer | that someone checked a notice, and what they checked | a notice stays open until an agent or a person has looked |
| Request | anyone | a question or a needed change on a dataset or column, and later its answer | the fix lands at the source, once |
| Decision | any agent proposes (in use at once); a person settles later | a house rule (a definition, a basis, a join) | a choice is made once and reused |
Cited file lets a change notice name the memos that quote a changed cell.
Messages are not keys in oryxkb/project.yaml. Tools exchange them through a shared service (a hub); this page fixes
their fields so different tools can exchange them. The fields are a draft; there is no JSON Schema for messages yet.
The declarations are what they point at: renames and removals (Schema changes), column
types, facts and ids.
Messages travel within one hub: the projects and teams of one organisation. They do not cross organisations; a vendor's clients learn of a new release from the release itself (its as-of dates, schema changes and card). No hub is available to outside users yet; see Not in the spec yet. The commands that send and read these messages in the first implementation are on Implementations. For the path as a whole, from the producer's and the consumer's side, see Producers and consumers.
Rules¶
- Local work never depends on it. Declarations, checks, cards and citations work with no shared service. A tool that cannot reach one says so in one line and carries on.
- Metadata, not values. A message carries names, ids, descriptions, units, build ids, counts and the text people write. It never carries table contents, cell values, quoted figures or row keys. A consumer's tool reads old and new values from the builds it can already read.
- Warn, never block. An open notice or an unsettled decision is shown, never enforced. A proposed decision is in use from the start, with its state shown.
- A person settles. Agents may propose, discuss, vote and summarize. Only a person's review makes a decision
settledorrejected.
Ids¶
Every message names things by the ids used across the spec:
| Thing | Id | Example |
|---|---|---|
| Project | <project> |
marketdata-example |
| Dataset | <project>/<Dataset> |
marketdata-example/Rents |
| Column | <project>/<Dataset>#<column> |
marketdata-example/Rents#rent |
| Cell | a column id plus ?<key>=<value> for every grain column |
marketdata-example/Rents#rent?market_id=29484§or=office&period_yq=2026Q3 |
| Fact | <project>/fact:<id> |
marketdata-example/fact:office-incl-flex |
| Build | the build's timestamp, ISO 8601 in UTC | 2026-11-02T23:48:40Z |
| Sender | <project>, or <project>/<agent> for one agent of a project |
research-notes/analyst |
A cell id appears only in a Cited file, which stays with the consumer; see the rules above. A fact id is
unique per project and a fact without an id cannot be cited. A project alias resolves in an id as it does for
datasets. The older forms <project>/<Dataset>/fact:<id> and .../howto:<id> are still read in existing citation
files (Facts).
Example¶
A rebuild of Rents renames a column. The producer's tool sends a notice to the projects that import it; one of them
checks its memo and acks.
{"type": "notice", "id": "n-4868d0", "dataset": "marketdata-example/Rents",
"build": "2026-11-15T10:02:11Z", "previous_build": "2026-11-02T23:48:40Z",
"rows_changed": 12,
"changes": [{"kind": "renamed", "column": "rent_growth_pct", "to": "rent_growth"},
{"kind": "values", "column": "rent", "rows": 12}],
"summary": "12 rows changed in [rent]; rent_growth_pct renamed to rent_growth",
"from": "marketdata-example", "at": "2026-11-15T10:02:15Z"}
{"type": "ack", "notice": "n-4868d0", "consumer": "research-notes",
"note": "memo q3.md re-checked: 2 figures updated", "from": "research-notes/analyst", "at": "2026-11-15T11:20:00Z"}
A consumer finds two 2026Q3 files and files a request; the producer's agent proposes a decision (in use at once); later a person settles it (synthetic ids and times):
{"type": "request", "id": "h-d930e2", "target": "marketdata-example/Rents", "kind": "data",
"text": "Two 2026Q3 files are in the delivery folder. Which one is right?", "status": "open",
"from": "research-notes/analyst", "at": "2026-11-03T09:10:00Z"}
{"type": "request", "id": "h-3f9a2c", "target": "marketdata-example/Rents", "kind": "decision", "status": "open",
"text": "Which 2026Q3 file do answers use after the re-send?",
"proposal": "use the 2026-11-02 re-sent 2026Q3 file, not the original",
"scope": ["marketdata-example/Rents"], "owner": "data-team",
"review": "settled", "settled_by": "data-team", "settled_at": "2026-11-04T14:00:00Z",
"votes": [{"voter": "research-notes/analyst", "value": "keep", "reason": "the re-sent file matches the vendor's totals",
"at": "2026-11-04T09:00:00Z"}],
"from": "marketdata-example/analyst", "at": "2026-11-03T16:30:00Z"}
From the moment it is proposed, the decision is in use, labelled provisional, for every project in its scope. The
producer's agent also writes it as a rule with see: [h-3f9a2c], status: proposed, shown [unreviewed]; once a
person settles it, the agent sets the rule status: reviewed. Settling leaves status at open: status is the
producer's handling of the request, review is the decision's state (Decision).
Common fields¶
Every message has these:
| Key | Type | Required | Priority | Check | Description |
|---|---|---|---|---|---|
type |
import, notice, ack, request, cited_file |
yes | Critical | error on any other value | The kind of message. A decision is a request with kind: decision. |
id |
string | yes, except import, ack and cited_file |
Important | error if two messages share it | Stable id people cite, such as n-4868d0 for a notice or h-d930e2 for a request. |
from |
sender id | yes | Important | error unless <project> or <project>/<agent> |
Who sent it. |
at |
timestamp, ISO 8601 | yes | Useful | error if not a timestamp | When it was sent. |
Import¶
A consumer project tells the shared service that one of its datasets reads another project's dataset. A tool sends it when the consumer runs with the import, not when it is declared.
| Key | Type | Required | Priority | Check | Description |
|---|---|---|---|---|---|
consumer |
project id | yes | Critical | - | The project that reads. |
consumer_dataset |
dataset name | no | Useful | - | The consumer's dataset that reads it, when known. |
dataset |
dataset id | yes | Critical | error if not <project>/<Dataset> |
The dataset read. |
build |
build id | yes | Important | - | The build read. |
{"type": "import", "consumer": "research-notes", "consumer_dataset": "RentRanking",
"dataset": "marketdata-example/Rents", "build": "2026-11-02T23:48:40Z",
"from": "research-notes", "at": "2026-11-03T08:00:00Z"}
Change notice¶
The producer's tool sends a notice when a published build differs from the previous published build of the same dataset. Decisions, facts and notes send no notice. The audience, read when a consumer asks, is every project whose tool has reported the import when it ran, that watches the dataset, that has a Cited file citing it, or that has read its card. The producer is not told about its own notice.
| Key | Type | Required | Priority | Check | Description |
|---|---|---|---|---|---|
dataset |
dataset id | yes | Critical | - | The dataset rebuilt. |
build |
build id | yes | Critical | - | The new build. |
previous_build |
build id | yes | Critical | - | The build it is compared with. |
rows_changed |
integer | no | Important | error if negative | Rows whose values changed. |
changes |
list of Change | no | Critical | - | What changed, one entry per column and kind. |
changes[].kind |
values, added, renamed, removed, type, scale, blanks |
yes | Critical | error on any other value | values: values changed; added, renamed, removed: the column itself (Schema changes); type: its type changed; scale: its range jumped by about x100 or x1000; blanks: blanks appeared. |
changes[].column |
column name | yes | Critical | - | The column, by its name in the previous build. |
changes[].to |
string | no | Critical | required for renamed and type |
The new name, or the new type. |
changes[].rows |
integer | no | Useful | - | Rows affected, for values and blanks. |
summary |
string | yes | Important | - | One line for people, such as the line a rebuild prints. |
A notice stays open for a consumer until that consumer sends an Ack.
Ack¶
A consumer confirms it checked a notice.
| Key | Type | Required | Priority | Check | Description |
|---|---|---|---|---|---|
notice |
notice id | yes | Critical | error if no such notice | The notice checked. |
consumer |
project id | yes | Critical | - | The project that checked. One ack per notice and consumer; a later one replaces it. |
note |
string | yes | Important | warning if empty | What was checked, such as "memo q3.md re-checked, 2 figures updated". |
Request¶
A question or a needed change, on a dataset or a column, to the project that publishes it.
| Key | Type | Required | Priority | Check | Description |
|---|---|---|---|---|---|
target |
dataset id or column id | yes | Critical | error if neither | What it is about. |
kind |
schema, definition, pipeline, data, question, decision, contradiction |
yes | Important | error on any other value | data: a value looks wrong; definition: a meaning is unclear; schema: a column is missing or should change; pipeline: how it is built; contradiction: two statements disagree; question: a question to the producer (not a fact of kind: question); decision: see Decision. |
text |
string | yes | Critical | - | The request, in plain words. |
status |
open, accepted, declined, done, closed |
yes | Important | error on any other value | The producer's handling of the request. Set by the producer, except closed, which the author may set. For a decision it is independent of review (Decision). |
done_build |
build id | no | Important | required when status is done |
The build that resolved it. |
replies |
list of {from, at, text} |
no | Useful | - | The discussion. |
Before sending a request, a tool searches open requests on the same target; filing the same target and kind while one is open joins it.
Decision¶
A decision is a request with kind: decision. It adds a proposal, a scope, an owner, a review state and votes. An
agent records it and names the person accountable as its owner (usually the project's owner, or the person who asked; it asks if unknown); the agent that records it is the sender (from).
In oryxkb an agent records one with oryxkb decide (syntax).
Nothing waits for a person: a proposed decision is in use at once, labelled provisional, until a person settles it. See How agents and people work together.
proposed --discuss--> ai_discussion --summarize--> awaiting_human --accept--> settled
--reject--> rejected
settled --(net revisit votes, new evidence, or a failing check)--> revisit_requested --review--> settled / rejected
| Key | Type | Required | Priority | Check | Description |
|---|---|---|---|---|---|
proposal |
string | yes | Critical | - | The rule as it would be recorded. |
scope |
list of ids | yes | Critical | error if empty | Where it applies: export ids <project>/<Dataset>[#col] (a bare <project> covers all its exports), and firm-wide team:<concept> scopes. |
owner |
string (a person) | yes | Important | error if empty | The person accountable for the decision. The agent that records it is the sender, not the owner. |
review |
proposed, ai_discussion, awaiting_human, settled, revisit_requested, rejected |
yes | Critical | error on any other value; only a person moves it to settled or rejected |
Where it is in the lifecycle. Every state except rejected is in use; an agent quoting it says "not yet signed off" until settled. |
votes |
list of {voter, value, reason, at} |
no | Useful | value is keep or revisit; one per voter; reason required for revisit |
Agents' and people's votes; a later vote by the same voter replaces it. |
summary |
string | no | Useful | - | An agent's summary that puts it in a person's queue. |
settled_by |
string | no | Important | required when review is settled or rejected |
The person who decided: who settled it, or who rejected it. The name is historical. |
settled_at |
timestamp | no | Important | as above | When. |
A decision just proposed, before any discussion:
{"type": "request", "id": "h-7b21e4", "target": "marketdata-example/Rents", "kind": "decision", "status": "open",
"text": "Which basis do memos use for rent?",
"proposal": "quote asking rent in memos; effective rent only when the memo says so",
"scope": ["marketdata-example/Rents"], "owner": "data-team", "review": "proposed",
"from": "research-notes/analyst", "at": "2026-11-18T10:05:00Z"}
Transitions.
| From | To | Who | Trigger |
|---|---|---|---|
proposed |
ai_discussion |
any agent or person | the first discussion reply |
| any open state | awaiting_human |
an agent or a person | a summary is written |
| any open state | settled or rejected |
a person | the person's review; the AI steps are optional |
settled |
revisit_requested |
votes, a reply or a check | net revisit votes (revisit minus keep) reach 3, a reply brings new evidence, or the decision's check fails. It stays in force |
revisit_requested |
as above | as above | as above |
The open states are proposed, ai_discussion, awaiting_human and revisit_requested. A plain reply on a settled
decision changes nothing. A tool may require a person's account to summarize or settle.
Correct and reject. To correct, a person accepts with amendments: the decision is settled with the person's
text, and the earlier text stays in the thread. To reject, a person sets rejected; settled_by names who decided.
status and review are independent. status is the producer's handling of the request; review is the
decision's state. Settling or rejecting does not change status. closed, with a successor decision, takes a decision
off the card and keeps it as history.
Scope, and who sees it. Consumers see a decision from the hub as soon as it is recorded, before the producer
writes any fact: on the card of each dataset in its scope, in the list of decisions that apply to a project's imports,
and in a run's banner. A tool that reads the hub shows a decision not yet settled as "provisional (in use; not yet
signed off by a person)". team: decisions apply firm-wide and do not show on cards; they show in the decisions list
and the run banner.
Who settles. The person accountable for the producing project settles a decision about its data. A consumer that
disagrees votes revisit.
Decision and fact. No tool syncs them; the producer's agent does. While the decision is open it writes a rule or
quirk in its facts.yaml with see: [h-<id>] and status: proposed (shown [unreviewed]). Once a person settles
it, the agent sets status: reviewed and reviewed_by to the person. Once a person rejects it, the agent retires the
fact or rewrites it to the correction. A question with options is only for a choice nobody has proposed yet; when
a proposal arrives, retire the question with see naming the rule (Open questions).
Without a hub, an agent still records the proposal: it writes the rule or quirk with status: proposed and no
h- id in see. Discussion, votes and the person's queue need a hub.
When a decision is rejected or corrected. The change shows in the hub's news, and a citation check flags it for anyone who cited the decision. There is no push notice today.
A request is not a result. A consumer's own result about the imported data is a finding in the consumer's own
facts.yaml, and never in the producer's file (Results stay with the project that produced
them). It reaches the producer only as a request; if it
changes how everyone reads the data, the producer's agent records the decision as a rule or quirk.
Cited file¶
A consumer tells the shared service which cells a file of its own (a memo, a report) cites, so a change notice can name the file. The file and its figures stay with the consumer.
| Key | Type | Required | Priority | Check | Description |
|---|---|---|---|---|---|
consumer |
project id | yes | Critical | - | The project the file belongs to. |
file |
string | yes | Important | - | The file's path inside the consumer's repository, never a path on a machine. |
cites |
list of column or fact ids | yes | Critical | - | What it cites, at column level; the cell ids stay in the consumer's citation record. |
{"type": "cited_file", "consumer": "research-notes", "file": "memos/q3.md",
"cites": ["marketdata-example/Rents#rent", "marketdata-example/fact:office-incl-flex"],
"from": "research-notes/analyst", "at": "2026-11-05T16:00:00Z"}
Not in the spec yet¶
- Consent rules for showing a producer which projects import its data, beyond a team or an organisation.
- A hub outside users can use. Until one is public, these messages work only between projects that share a hub.
- Messages across organisations, such as notices from a data vendor to its clients' agents. The reverse direction is a principle on the full picture.
- A push notice to the agents that used a decision when it is rejected or corrected.
- A JSON Schema for these messages, like the one for the declarations.