What a version may change

Graview's stability promise says what a release may change and what it may not. Every @graview/* package shares one version; this page is docs/stability.md in the repository.

The promise

A host runs thousands of stored apps on one build of @graview/*. Before it takes a new version it needs to know three things: whether stored data folds the same, whether a declaration that compiled still compiles, and whether the tools a model calls moved. This page is the promise, and capabilities() is how a host reads what a build ships instead of guessing from a number.

Every @graview/* package shares one version (a changesets fixed group). Before 1.0, a minor may break what this page allows a major to break; each break is still said in a Compatibility: line. From 1.0 on, the rules below hold within a major.

The five surfaces

1. Ops and primitives: the stable contract

An Operation and its Primitives are history, and history is never rewritten. Within a major:

  • Never changed incompatibly. A field may be added if it is optional, and an op without it reads as before (via, author.name, author.onBehalfOf arrived this way).
  • No field is removed or changes meaning. No primitive is removed.
  • A fold of the same log gives the same graph on every version of the major.
  • An op may say what it was based on (FR-172): lineage: { basis, confidence?, model? }, a basis of 1–500 characters, a confidence from 0 to 1 and a model name of 1–120, given as ApplyOptions.lineage (or on AppendOp) and checked before anything is kept; a store refuses one that is not a lineage with a GraphError. An undo of an op that carried one keeps it as undoneLineage, so a host reading the log can tell a suggestion was declined without the op it took back. Batch.lineage is its first op's. Both fields are optional and additive within op format 1: an op without them reads and folds as before, and a build that predates them keeps them on an op it receives and draws nothing of them. A link whose making op carried a confidence below 1, by any author but a person, is PROVISIONAL until a person's op takes it away and puts it back — keep-link (KEEP_LINK, { kind, from, to }), an act every store answers to and no list of acts offers, permitted to whoever may run an act whose connects or severs names the link's relation (or a grant naming keep-link; before 0.1.29 any act that made or broke links or made records sufficed), and refused as missing to a seat that may not see either end, alike whether the link is there or not (FR-55) — or the link is taken away; an undo of that keep makes it provisional again. linkProvenance(store, edge), isProvisional, provisionalLinks and provenanceWords (@graview/core/provenance) are the one answer every face and host reads; nothing in the framework decides what to link.
  • Text is typed together (collaborative text, phase 2) with no new primitive and no new op field, where @graview/core/typing is loaded — @graview/ship's server and runtime entries load it, and a page loads it when it types; without it a store answers to no type-text, writes a whole value as written and undoes as before. A keystroke is type-text (TYPE_TEXT, { node, field, at, remove, insert, rev? }, offsets in UTF-16 code units against the field's text at revision rev), an act every store answers to once that is loaded (a store made before too) and no list of acts offers, permitted to whoever may run an act that writes that field of that record (a declared act whose writes names it, or the kind's edit-<kind> and what that rides, or a grant naming type-text), judged under the caller's sight. The store reads the text at rev back off the log and carries the keystroke over every splice-text since, writing one splice; the first keystroke into a field holding no text (absent or empty) writes the text it inserts whole, wherever it said it was, as a patch-node, so its inverse is exact. It refuses as invalid a field that is not typed together, offsets the text read then does not have, and a keystroke against a field written whole since rev or a rev behind the log's horizon; a field kept from the caller reads to it as holding no text, so its keystroke is a whole write, refused as an argument the act does not take whatever the field holds. Which fields are typed together is the declaration's (markCollaborative; read by isCollaborativeField on @graview/core/typing): a Markdown field, a document's text and a string declared to hold more than 500 characters are, unless marked otherwise; a short string is not. A patch-node that any act, an edit, an agent or applyPrimitives writes to such a field holding text is written as the one splice-text that makes the change — against the text at the revision the call's ApplyOptions.base names for the field (a three-way merge, carried over what others typed since), else against the text now — so a log written by this build holds splices where an earlier build wrote patches, and folds to the same graph. A splice claims no base (baseFor skips a field typed together, and so does openRemote), so a stale write is a conflict only for a field that is not typed together. Undo carries the inverse of a person's splices over the splices of the same field since (undoneInverses; undoPrimitives(ops, log) reads the same): a later splice on that field does not block it, and text someone else since deleted shrinks out of what it takes back; a later whole write of the field, or the record's removal, still blocks it.
  • Typing is said, not stored, in words (collaborative text, phase 5): nothing in the log changes. A run of typing is the ops of one type-text batch, and one person's consecutive runs into one field — no other gesture between them in the log — are one change wherever a change is said: one tick of ticksOf (batches, typed), one row of Activity, one entry of historyInWords, said "Ada wrote in Kitchen's notes (+42 −3)", characters counted as a person counts them. A notification of such a field says what was put in and taken out (MatchedRecord.fields[].typed: inserted, removed, spans) and never its text before and after, and a run is told once: holdTypingRuns holds a match that is a run of typing until its typist has stopped for TYPING_QUIET_MS (5 s, a host's to set) or another match for the same subscription comes, which is told after it — watchSubscriptions and @graview/ship's handler hold through it, and tell what they hold when they stop. Within the major a subscriber hears of a run at most once and never later than the quiet interval after its last keystroke, the counts and spans keep their meaning, and the sentence is display only, like an op's intent.

A major that must change them ships upgradeOp steps (below).

Op format 2 (0.1.43, before 1.0) took one field away: an op keeps no inverse. It was its primitives inverted, newest first, written down beside them, so every value an op wrote was in the log twice more — a 19 KB picture changed in a field was a 95 KB op, and is now 57 KB. What puts an op back is inverseOf(op), worked out from the primitives where it is read (undo, a rebase's rollback, playback, verifying a fold) and remembered per op. Operation.inverse stays as an optional field for one case only: an op read from format 1 whose stored inverse was not its primitives' own (a host could hand append one), which is kept and is what undo puts back. AppendOp.inverse is gone. The same log folds to the same graph, and undoes to the same graph, in either format.

FR-173 added one optional field and no primitive. An archived record is said on the record itself, $archived: true (a key no declared field can take), written and taken off by an ordinary patch-node, so archive and unarchive fold, undo and travel through every adapter as any patch does. The op of a merge carries mergedInto, the id of the record the duplicate went into; an op without it reads as before. A version before FR-173 folds the same log to the same graph, and reads an archived record as a live one with one more key.

The app's own actor (0.1.30) added two optional op fields, one optional author field and one record mark, and no primitive. A suggestion that waits is an op with suggests: MutationCall[], its lineage, and no primitives (suggest(store, calls, options), @graview/core/tidying): it folds to nothing. Accepting it applies the calls as an ordinary change whose lineage.suggestion names the suggestion's op; declining it is an ordinary undo of that op, with undoneLineage. An author may say automated: true (a system or agent author: the app's own actor), which the store holds to what a person declined, to records left alone and to the declaration's tidying. A record left alone is $leftAlone: true on the record, written and taken off by an ordinary patch-node, as $archived is. A version before folds the same log to the same graph, keeps the fields on an op it receives, and lists a suggestion's op as a change that touched nothing.

A seat's profile (Roadmap f-viewer-state-and-me-framework) added one optional author field and no primitive. author.profile: { id, name } says who at a shared screen, on a person's seat or the person an agent acts for: an id of letters, digits, _ and -, at most 64, and a name of at most 200 characters with something visible in it. Every op this build makes keeps a profile only in that shape, whether an act, an undo or applyPrimitives made it; one that is not one is left off, and a log another build wrote is read through the same rule. The first act of a seat with a profile, in an app with a people kind, adds one more op to that batch before its own: mutation: null, one add-node of the person at <account>~<profile id>, by that author. That op is never taken back with its batch, and the batch reads as undone without it. No seat's act can make a record whose id holds a ~: a requested id, a code act's addNode and emit are refused, and a client's id hint is ignored. A system author's act, a sync's among them, is the host's own, as a host's applyPrimitives, a snapshot and a restore are, and none of these is held to this: a record of another kind there is not read as the person, and that profile's $me refuses. What a view keeps (graview.mine) is in no op and no stored format of ours: it is the host's ViewerState.

A downgrade reads a log with these in it and folds it the same, ignoring author.profile and reading $me as the account. It treats the person's op as any other of the batch. Its undo takes the person back with the batch, or is blocked where a later act stands on the person, and its batch sentence says "Mia joins". Another seat with the act's grant is refused undoing such a batch ("no act made it, so only whoever did may take it back"). And an undo made there outlasts the downgrade: back on this build the person reads as removed for good, so that profile's $me is refused, while the account's own is unaffected.

Settled for 1.0 (0.1.49): what a suggestion and a lineage keep is promised as below, and changes only as the rules above allow.

  • A suggestion is an op with suggests, mutation: null, no primitives and its lineage; accepting it is a change whose lineage.suggestion names it; declining it is an undo of it, with undoneLineage. These never change meaning: a log written by any build since 0.1.30 folds, waits and refuses the same (packages/core/tests/fixtures/formats/suggestions-0.1.48.json).
  • A suggestion may say when it stops waiting: expiresAt, an ISO time, on its op (SuggestOptions.expiresAt). From then on it is not waiting — not in suggestions, not accepted nor declined — and nothing is undone; the same calls suggested again are a new suggestion. An op without it waits until a person answers it. A build before 0.1.49 keeps the field and reads the suggestion as waiting.
  • "Not now" is not in the log. A Dismissal ({ suggestion, at, until? }) is the person's own state, kept where the host keeps what a person chose and handed to suggestions(store, principal, { dismissed }); it hides the suggestion from that person, until until when given, and binds the app's own actor to nothing. Only a decline — an undo in the log — answers a suggestion for everyone and refuses the actor the same change again.
  • A decline refuses the same change by what it means as well as exactly as asked (meaningKey, suggestionKey): a link of one relation between the same two records whichever act asks it, a merge of the same pair either way round, a record archived, unarchived, removed, left alone or let be tidied by any spelling of the act, and any other call by any spelling of its act with the same arguments, less the id of a record an act that creates would make. Both keys are worked out from the calls whenever they are asked, so nothing is stored for them, and a decline already in a log matches by both. A later version may only widen what a decline catches.
  • A lineage is { basis, confidence?, model?, suggestion?, interaction?, actor?, run?, evidence? }: actor the automated actor or judge that made the call, run the pass it was made in (one id for a night's work, so it reads as one unit), each 1–120 characters, and evidence at most 50 ids of the records its basis rests on, which an op names as it names any id, so a seat that may not see one is served the op withheld (FR-55). A key a build does not know is a later build's: kept as JSON keeps it (a copy, written out and read back), on the op, in the log and on the wire, when JSON can write it, it is not named __proto__, constructor or prototype, and the whole lineage is at most LINEAGE_LIMIT (4000) characters written out; anything else is refused with a GraphError before anything is kept. Before 0.1.49 such a key was dropped where the store checked a lineage. A later version may give a kept key a meaning; it never takes one away.
  • A vote on a suggestion (0.1.62, Roadmap f-suggestion-votes) is an op of the built-in vote-suggestion act (VOTE_SUGGESTION, { suggestion, vote: "for" | "against" | null }), which every store answers to and no list offers, as keep-link is: mutation the call, no primitives, the vote on the op (Operation.vote), and the records the suggestion names as described, so a seat kept from one is served the op withheld, as the suggestion is. One standing vote per person — the actingAs id, so an agent votes as the person it acts for — the latest in the log; null withdraws it; an undone vote never counted. suggestions() carries each suggestion's tally: { for, against, mine? }, and votesIn and tallyOf (@graview/core/tidying) read it off a log. An undo of a vote is its voter's, the system's, or a seat's the policy grants every act. A lineage may name voters (at most 200 ids of 1–120 characters): who had voted for a suggestion the app's own actor made at the declaration's tidying.autoAcceptAt, in the deciding vote's own batch, with suggestion naming it as any acceptance does. A build before it keeps the field on an op it receives, folds the same log to the same graph, lists the vote as a change that touched nothing, and counts no tally.
  • A suggestion of several changes (0.1.63, Roadmap f-job-approvals) may keep each call's sentence in suggestsSaid (a string per call of suggests, in order), and a change that accepts some of a suggestion's calls rather than all names their places in it as lineage.items (at most 500 whole numbers): the rest still wait, suggestions() lists them as items: { at, call, intent }[] with the maker's batchIntent as headline, and a decline after that is a decline of the calls not yet taken. An acceptance without items takes every call still waiting. A workflow whose approve is "ask" leaves one such suggestion per run, its lineage naming the run (lineage.run, lineage.actor: "workflow:<name>"). A build before it keeps both fields, lists the suggestion's calls whole and reads a partial acceptance as the whole suggestion taken.
  • A vote from a seat no one person holds (0.1.63, Roadmap f-votes-shared-seat) is refused by the store on every path — the wire, a socket, an RPC, a store with no policy — in the words "Sign in to vote on this suggestion.": a principal the host marks shared: true (every signed-out visitor served as one), a visitor, or an agent acting for either. Where the host says votes: { advisory: "visitors" } (StoreOptions.votes, the handler's votes) and the seat names its visitor (Principal.visitorKey), the vote is kept instead, its op's vote carrying advisory: true and voter (that key): one standing vote per visitor, counted apart in tally.advisory: { for, against }, never toward autoAcceptAt, and only that visitor's (or the system's, or a seat's the policy grants every act) to undo. A build before it reads an advisory vote's op as a vote of the shared seat's.
  • A suggestion's op may now have a person as its author (0.1.63, Roadmap f-proposals-for-review): a proposal is the same op — suggests, mutation: null, no primitives, its lineage — made by the built-in propose-changes act (PROPOSE_CHANGES, { calls: MutationCall[], intent? }), which every store answers to and no list offers, as vote-suggestion is. Its author is the person (or the agent acting for them), and its lineage names them as proposedBy (1–120 characters, the actingAs id), with their words as basis, else "Proposed by <name>". The call is permitted where each call it holds is one the seat may run or a grant's propose names; its calls are rehearsed as the store would judge them for whoever accepts it. Accepting it is a change by the reviewer whose lineage carries suggestion and proposedBy; declining it is an undo whose batchIntent says "Declined <name>'s proposal: …"; its proposer withdraws it with an undo that is no decline. A build before it reads the op as any suggestion's, keeps proposedBy as a lineage key it does not know, and refuses the propose-changes call as an act it does not have.
  • What a connection sent out is history (Roadmap f-sync-guest-changes-in-history): one new optional op field, sentOut: { invited, removed, refused? }, and no primitive. After a write with guests reaches the calendar, a pass appends one op per record — credited to the connection's system author ({ kind: "system", id: "google-calendar", name: "Google Calendar" }), mutation: null, no primitives, no reads, no writes, its sentence ("Invited Ada to Long run", "Took bo@example.com off Long run") reading the event, the guests and each person's addresses in described, so a seat kept from one is served it withheld — in one batch for the pass, said over several records as "Invited 2 people to 3 events". A write the calendar refused, or the connection held over its max, is said once the same way with refused: true ("Did not invite Ada to Dinner: …"). It folds to nothing; it is never undone (checkUndo: "Nothing to take back: an invitation already went out. …"), stands in no other undo's way, and "Restore to here" (restoreBatches) leaves it be. A build before it keeps the field on an op it receives and reads the op as a change that touched nothing. AppendOp may carry described and sentOut.
Failing closed: what a reader does not know (1.0)
  • An unknown primitive is refused, never skipped. The six primitives are PRIMITIVE_OPS. A new one raises FORMATS.op and travels only to a reader that said it reads that format (opFormat, §3), as op format 2 did. A reader that meets a primitive it does not know anyway — a log a newer build wrote, an op handed over by hand — refuses it with NewerFormatError (what: "op", unknown: 'primitive "<name>"') wherever ops are folded: opening a log (OperationLog, Store), receiving or rebasing onto ops, folding a graph (Graph.applyPrimitives, all or nothing), a seat's view of the log, a migration's fold, upgradeOp. It used to be skipped where a fold switched on the five, so an older reader's graph diverged from the log without a word. A planned primitive such as splice-text for collaborative text ships at FORMATS.op = 3 on this path.
  • A typed value is reserved, as $archived is. A field's value that is an object with a $type — { "$type": "rich-text", … } — is a typed value, and VALUE_TYPES names the ones this build knows (none yet). Applying an op that writes a typed value whose type the reader does not know is refused with NewerFormatError (unknown: 'value type "<type>" in "<field>"'), the record left as it was, because writing it as an opaque object would let the next edit through that reader mangle it. Whatever only passes a value along — the log, every adapter, an export bundle, the wire, a seat's view of an op — keeps it exactly as written. An object without a $type is an ordinary value, as before. A new value type arrives with a new op format, like a new primitive.
  • An author's kind is open. AUTHOR_KINDS is human, visitor, agent, rule, system. visitor (1.0's foundation) is a person who never joined the app — one answer to a form a host opened — and is what formVisitor mints, held to the form's role as a person is to theirs; a visitor's op said human before, and reads as it did. A kind may be added within a major, and a reader that meets one it does not know reads it as system for display and policy (authorKindOf) — the app itself — and never refuses the op, which is history and folds the same whoever wrote it; the log keeps the kind as written. A seat is the host's to mint, so a kind its headers name that a build does not know is a person's seat (human), never the system's. The app's own actor is a system or agent author with automated: true, not a kind of its own.
  • An op's intent is display only. It is the sentence a person reads; nothing in the framework matches on its words, and a program must not. What an op did is its mutation, its primitives, its batch and its undoes: ship reads a migration's version from its batch (migration:<from>-><to>), not from its sentence.
A link's own id and data: reserved (1.0)

A link is { kind, from, to }, one per kind per pair. It may also carry an id of its own and data, a JSON object (GraphEdge), so the day a link has a weight, a role or an order nothing stored is rewritten. Both are optional and additive within op format 2, and no format number moves.

  • Kept and folded everywhere. An add-edge that carries them is kept as written by the graph, its snapshot, the log, the wire, a seat's view of an op, an export bundle and every adapter: memory, file, browser and SQLite whole as JSON; the SQL adapters in the edge table's optional data column ({ id, data } as JSON), which createTables adds to a table made before it. An app's table without that column reads and writes links as it always did, and refuses a link that carries an id or data rather than keep it without them. snapshotHash counts them when a link carries them, so a graph without them hashes as before. A merge moves a link whole; a migration that moves a link to several heirs gives each the data and none the id.
  • Removed by id when it names one. A remove-edge whose link carries an id removes the link holding that id — the graph's own, and a migration's fold — and one that names no id removes by kind, from and to, as before; an id no link holds is missing. An act that removes a link by its id is handed the link as held, so the removal's inverse puts all of it back.
  • What a write is held to (EDGE_FIELDS): an id of 1–200 characters with no space or control character, unique among the links; data a JSON object of at most 4,096 characters as JSON.
  • Reserved, not open. No act the framework derives writes them, and no face shows them. A second link of one kind between the same pair stays refused (EDGE_FIELDS.sameKindPerPair is 1): the same link again is nothing new, as it always was, and one that says it is another — an id of its own — is refused, as is an id another link holds. A version may open several links per pair within the major, since every reader already tells two apart by id; that is additive, and the changelog says so.
  • A build before 1.0's foundation folds the same log to the same graph — it keeps the edge object an add-edge hands it — but removes by kind, from and to, which is the same link while there is one per pair.

2. Snapshot and log formats: versioned

What is stored carries the format it was written in (FR-31). FORMATS names the current formats (snapshot, op), and formatStamp() gives { framework, formats }. A store's meta and every bundle are stamped with it.

  • A reader meeting a newer format says so with NewerFormatError and does not fold it. The host refolds from the log or rolls forward. Rollback is therefore always safe: the previous version never misreads what the next one wrote.
  • An older format is brought up by upgradeSnapshot(snapshot, from) and upgradeOp(op, from), one step per format change. Each step ships with a test over a fixture of the format before it (packages/core/tests/fixtures/formats/).
  • Anything written before stamps existed (0.1.0) is format 1.
  • Op format 2 (0.1.43) writes no inverse. A format-1 op reads on every later build: upgradeOp(op, 1) drops an inverse that is its primitives' own, and a store does the same to every op it opens on, receives or rebases onto (bareOp), so a store's log is format 2 whatever wrote it. Nothing on disk is rewritten to open it: a format-1 log opens, undoes and goes on, its old lines with their inverses beside the new lines without, and a compaction rewrites what it keeps in format 2. A store's meta is stamped op: 2 when it opens, so a build before 0.1.43 meeting it refuses it with NewerFormatError ("Upgrade the framework to read it") rather than undo an op it finds no inverse on; a bundle exported by 0.1.43 is stamped op: 2 and refused by an older assertBundle the same way. A host that must roll a store back to an older build writes its log out with withInverse(op) and stamps it op: 1.
  • Snapshot format 2 is a stored state whose checkpoint keeps the app as readers are, or may again be, served at a seq behind it (Epoch.published, Roadmap f-publishing-lifecycle): a checkpoint past the publish standing at its seq, or past a seq a later publish took readers back to. Only such a store is stamped 2: formatStamp(checkpoint) reads the checkpoint a store or bundle begins at (2 when it carries published), ship's openStore stamps the meta at open and when it compacts (before the checkpoint lands when it moves to 2, after when it does not, so a failed write leaves a store stamped newer, never older), and exportBundle stamps the bundle. Every other store — never compacted, live, or compacted with format: 1 — is stamped 1, as before. A build before it refuses a format-2 meta or bundle with NewerFormatError rather than serve readers changes never published; a host that must roll back asks for format 1 by name (CompactOptions.format, on store.checkpoint and ship's opened.compact): the horizon is held at the earliest seq readers are served behind it, wherever the days, the ops and the pins would have put it, and the checkpoint's seq says where it stopped. A pin at store.publishedSeq is not enough on its own: it holds the horizon at or before the latest publish, and one that lands between two publishes keeps the earlier one and is format 2 with it. A format-1 snapshot reads as written (upgradeSnapshot(snapshot, 1) is the same snapshot). A host that keeps its own meta stamps it with formatStamp(store.log.horizonEpoch()).
  • Op format 3 (collaborative text, phase 1) adds one primitive, splice-text: { op, id, field, at, removed, inserted }, part of one text field changed — at at (UTF-16 code units) the field holds removed, and inserted takes its place. It keeps the text it removed, so its inverse is the same splice turned round, and a fold refuses one whose text is not there as a corrupt op (GraphError). Nothing is taken away: upgradeOp(op, 2) reads a format-2 op as written. A store's meta is stamped op: 3, so a build before it refuses to open it with NewerFormatError rather than meet a splice it would refuse part way; a host rolling a store back refolds it from the log on the older build. The transform (transformSplices, composeSplices and diffSplice from @graview/core/typing; transformCaret and applySplice from @graview/core) is pure and settles a tie the same way on every build of the major: where two splices touch, both insertions stay, the one further left first and, at one offset, the one earlier in the log first.
  • Every record keeps when it was made and last touched, and by whom (Graview HQ feature:f-record-last-touched): createdAt, createdBy, updatedAt and updatedBy, on the record under those names, so a snapshot, a checkpoint, the archive, an export of the installation and the wire carry them as they carry any field. Each op stamps the records its primitives write as it lands (Graph.touch), and every fold — a store opening its log, a client folding what it is served, pastOf — stamps them the same way (a client that folded an op before its author's seat was bound keeps who it said then, the account, until it is served the state again; its view says the person) (a past read back from the present, with no epoch where its log begins, says nothing of a record's making before the log). …At is the op's at, and only an instant is read as one; …By is the acting seat, kept as an op's author is (toucherOf: the account's id, with a profile the account's and the profile's), said to a reader as the record of the people kind it is bound to, as namedAuthors says an op's author, a binding since ended or moved included; none for a visitor. A record an op adds is made by that op (makingIn), but for one the framework's own undo puts back, which keeps what its payload says (none where it says none), and one an op removes and adds again (a kind renamed), which keeps what its removal carried; a host's appended undo says nothing of a record's making; an op by a system author whose id ends in migration (ship:migration, as nameOfAuthor reads it) leaves the four as they were, as do a rebase and a store opened on a log that holds one; so no act, host, import, seed or template says when a record was made, and a patch naming one of the four is passed over, but for clearing a value a kind kept under one of the names, which is no stamp. No op field carries them, but what an op carries of a record does: a removal's payload, and an undo's that puts it back, hold the four in stored logs, journals, archives and exports, and an op served to a seat may say stamps: false (it stamps nothing, and takes them off what it wrote). No format number moves. A build that predates them reads them as keys no kind declares: it holds them as stored, refuses a payload that carries them into a kind declared .strict(), and its validateGraph says such a record no longer fits (node-shape); a client and its server take this version together, and a host rolling back refolds from the log or leaves repairPlan alone. A store stored before them opens with what its log still holds: each record that holds none takes them from the ops of its log that wrote it, its making only from the op that added it, and a record no held op wrote says none — never a time made up. snapshotHash leaves them out, so such a store verifies and its conformance hashes stand. A seat is served them as it may see them: one from whom nothing is kept, as the store keeps them, a seat since bound to a person said as that person; one from whom anything is kept, none of them, in its graph, its log and its epochs alike. A checkpoint keeps whom each seat was bound to (Epoch.bound, ended bindings included, never served to a seat), so they are said as the person after the binding went to the archive. A list, a search and the agent's search offer and judge them only for a seat told them (toldTouches, offersTouches, arrangeable(…, { touched })). A page's store answers as its server says of its seat: the state, the welcome, each push and each answer since carry toldTouches. A seat's view (store.seenBy(seat)) acts as its seat where a call names no author, and is no boundary against a caller that names another: the store judges the author it is handed. What a judgment read decides only in the rule language; an invariant or computed value written in TypeScript is judged as its code reads. A seed or a template (unseatedSnapshot, templateSeedPrimitives) carries none of them; an export keeps them as the store does (unseatedSnapshot(snapshot, { touched: "kept" })), …By the acting seat as each op's author is kept, and no Epoch.bound.
  • A log compacted behind an undo horizon (FR-23) is not a new format. Its ops are ops, its checkpoint is an epoch marked horizon, and the archive sits beside it. A build before compaction refuses such a store on open, because its log no longer begins at seq 0. It never misreads one.
  • A checkpoint keeps who made each record behind it (Epoch.creators, record id to seat id), so an own sight knows them after a restart without the archive. The field is optional and additive within format 1: a checkpoint without it opens as before and knows its makers from the horizon on, and a build that predates it ignores it, folds the same graph and judges sights as it always did. A build that predates it and compacts again writes its next checkpoint without the field. Epochs are never served to a seat, so the ids it names stay with the host.
  • A checkpoint also keeps what kind each record removed behind it was (Epoch.removed, record id to kind, {} when there is none) and who wrote each field of its graph that names a record (Epoch.writers, record id to field to seat id), so a store opened on it judges a field naming a removed record, and a seat's own words, as the whole log would (FR-199). Both are optional and additive within format 1, and no format number moves: a build that predates them ignores them, and this build opens a checkpoint without them failing closed, judging an id it cannot place that begins with a kind the app declares as a removed record of that kind. A host that keeps the archive mends such a checkpoint by taking it again at the same seq from the archive — archiveFrom(store, archive, store.log.horizon) on @graview/core/seat, which reads the archive from seq 0 or from an epoch it begins at that keeps removed (FR-214). A build that predates them and compacts again writes its next checkpoint without them, and a store that never knew every record it held (it was opened on such a checkpoint) writes no removed, rather than claim to. They are never served to a seat.
  • A checkpoint also keeps what people declined behind it (Epoch.declines, what each decline means — meaningKey — to the id, time and author of the undo or unlink that said it, KeptDecline), so the app's own actor does not make again a change whose undo went to the archive with it. Written only when there is one, carried from the checkpoint before, and never served to a seat. Optional and additive within format 1, and no format number moves: a build that predates it ignores it and knows only the declines its tail holds, as it did, and this build opens a checkpoint without it the same way. A build that predates it and compacts again writes its next checkpoint without it.
  • A person's "Don't suggest this kind of thing" (stopSuggesting, Roadmap f-inbox-needs-you-first) is an undo of the suggestion carrying lineage.stopsKind: true, so it needs no new op; a build that predates it keeps the key, as it keeps any lineage key it does not know, and reads an ordinary decline. The store judges it wherever it comes from: an undo saying stopsKind from a seat whose grants do not reach that kind on any record, or that may not decide every suggestion of it now waiting, is refused, and stopsKind on anything but an undo is refused. A log a store opens is not checked against this, so these keys mean something only on the op they are made for: stopsKind on an undo that changed nothing of the app's own actor's suggestion, and liftedStop on an undo that changed nothing of an op the log no longer holds. On any other op they are inert. Epoch.declines holds it under a key of its own, ∀ and the kind (suggestionKind: a link by its relation, an edit by its act and the fields it writes, anything else by its act), beside the ≈ meaning keys, and its entries gain an optional stop (KeptStop: its batch, its words and one call of each kind), so a stop can be listed and lifted after its op went to the archive. All of it is optional and additive within format 1, and no format number moves. A build that predates it holds no ∀ lookup: the store it opens lets the actor suggest that kind, and if it compacts again it keeps the ∀ key and drops stop, so after a downgrade and an upgrade the stop stands, refusing the actor, and can be neither listed nor lifted. Lifting one behind a checkpoint is an ordinary undo of its batch; the op it makes changes nothing, names the archived op in undoes and says lineage.liftedStop: true, which only the store writes (a client's is refused), and cannot itself be taken back. A stop binds an author marked tidying: true and automated: true alone (isTidyingActor): a declared workflow, an importer, a chat agent and a host's triage are held to what was declined, not to a stop. A suggestion of an edit with a field the stop does not name is still asked about.
  • The wire's state and welcome may carry stops ([{ batch, words, kinds }]) and stoppedKinds ([kind]), absent where there are none, which is additive: an older client ignores them. A page holds a tail of the log and no checkpoint, so a stop can leave what it holds while the server still refuses the actor. stops lists those a seat may lift and may be told of, for its tray and its bell, and an ordinary undo of a batch it names lifts it; stoppedKinds is the rest, only the kinds of suggestions that seat is served, in suggestionKind's form, so its tray agrees with the server's. They are read at a socket's welcome, a state's answer and a /graview/since answer that brings ops, and a client asks for the state again when ops it lands lift a stop. They are not pushed: a seat kept from a stop made while its socket is open learns it at its next welcome.
  • An archive may begin at an epoch rather than seq 0 (FR-214): a host that keeps a plan's window of history makes the epoch where the window begins (archiveFrom, with creators, removed and writers like a checkpoint), deletes what lies behind it and keeps the one epoch. archivedSeenBy, a full export and a mended checkpoint read from it; a range behind it is answered with keptFrom, its seq. An export bundle that begins past seq 0 carries the epoch it begins at as checkpoint (additive to bundle version 1), so it restores as a compacted store opened on it; a bundle without it is the whole history from seq 0, or, from a build before it, a tail that does not restore alone.
  • A snapshot file — a seed, a projection a product emits, what graview serve --seed and graview sync-seed --seed read — is @graview/core/snapshot's line format, "format": 2 in its header line: when it was made (generatedAt), records per kind, links per kind and where each kind's lines are, then one record per line, each kind's together, then the links. A header key may be added when it is optional; anything a reader needs to find a kind's lines moves the format, and readSnapshot refuses a newer one by its number. An old { nodes, edges } file is format 1 and reads on every build of the major (readSnapshot, fetchSnapshot, --seed). What an adapter stores (snapshot.json, a browser's localStorage) is not this file and is unchanged.
One writer per log, and a sync state's format (1.0)
  • One writer, enforced. A scope's log has one writer. PersistenceAdapter.appendOps(scope, ops, { head }) takes the seq the first op appended takes, as the writer last knew the log; an adapter that holds its log elsewhere throws LogHeadMovedError (scope, expected, found) and appends nothing — compare-and-set — so two writers fail loudly rather than interleave two histories under the same seqs. The memory, SQL and SQLite adapters compare and append in one transaction; the file adapter reads its head from the log's last line and the browser adapter from storage, at each append, so another process or tab is seen, though not one that writes between the read and the append. openStore always passes the head, and reports a refusal through onPersistError and writes nothing after it; a journal another tab's write left behind is reported and not put back, and the store opens on what is stored. head is optional, and an adapter written before it still works; one that ignores it gives up the check, not the store.
  • A sync state carries its format. A host keeps a SyncState between runs, so it is a stored format: SyncEngine.snapshot and a run's state are stamped format: SYNC_STATE_FORMAT (1), a state without a stamp is format 1, and an engine handed a state in a newer format refuses it with NewerFormatError (what: "sync state") rather than run on links it would misread.
  • A sync state may say what a connection last did (Roadmap f-sync-guest-changes-in-history), still format 1: guests, by record, the addresses its last write that reached the calendar said (sent: { addresses, notified, at }) and the last write with guests that did not go (refused: { addresses, error, at }), and lastPass ({ at, offline, problem?, applied, pushed, queued, conflicts, refused, invited, removed }). Both are read back by pure functions on @graview/core/sync — guestsOf(state, declaration, localId) (what was sent, quiet or mailed, the attendee addresses both sides last agreed and those matching nobody here) and connectionStatus(state, declaration) — and a build that predates them drops them. A SyncReport may carry guests: per record, the addresses a write that reached the calendar invited and took off, and the people it reaches and left out (leftOut, each { person?, address?, why: "invite-off" | "no-address" | "not-a-person" }); a refused or held write invites nobody.

3. The wire and live protocols: additive within a major

WIRE (in @graview/ship) lists every route serveStore answers, and createStoreHandler answers the same routes in any runtime (FR-09). WIRE_PROTOCOL numbers the protocol. The guest-view protocol (@graview/guest, FR-04) is held to the same rules, and GUEST_PROTOCOL numbers it.

  • Within a major, a route or a response field may be added. None is removed, renamed or changed in meaning.
  • A request field the server does not know is ignored, never refused.
  • A call or an undo, on the socket and over POST /graview/ops, may carry lineage (FR-172), and a lineage may name the suggestion a change accepts (lineage.suggestion), so accepting and declining a suggestion travel as a call and an undo with nothing new on the wire; the store checks it, a change whose lineage is not one is refused as invalid with nothing kept, and the ops every client is sent carry it. openRemote sends the lineage a call or an undo was applied with, and again when it sends a change again. A server that predates it ignores the field and keeps no lineage, so a host reads capabilities().shipped for FR-172 before it relies on one.
  • A host's model is a seam on the page, HostAi.complete: Completion (@graview/tools), settled for 1.0 in 0.1.49: it is asked with one object, { prompt, system?, images?, signal? } (images each { mediaType, data }, base64), and answers { text, usage? } (usage { inputTokens, outputTokens, costUsd? }). Within a major a request field may be added when it is optional, and a model that does not read it answers as before; a reply field may be added the same way. The dev server's door (AI_BRIDGE_PATH, aiDevProxy) takes the same request less signal as its POST body and answers { text, usage? } or { error }. Before 0.1.49 a completion was (prompt: string) => Promise<string>.
  • The live socket at /graview/live (FR-05) holds to the same rules: a message type or a field may be added, and a message the server does not know is ignored. hello and welcome carry WIRE_PROTOCOL, so either side can tell what the other speaks. Its positions are cursors, as /graview/since?seq= takes them (below, *A cursor is opaque*).
  • A refusal's reason (FR-46) is one of REFUSAL_REASONS — forbidden, missing, invalid, limit, unavailable, refused, unauthenticated, quota — on the socket's refused, on every refusing answer of the routes and on an agent tool's refused answer. A code never changes meaning. A code may be added within a major, and the changelog says so as a change to this surface; a client meeting a code it does not know treats it as a final refusal (below, *Refusal codes are open*). refused (FR-119) is an act's own rule saying no to a well-formed call — a document act's allowedWhen, a TypeScript mutation's ActRefusal, whose reason is refused unless it names another; invalid is the call as sent — its arguments, one the act does not take (FR-121), a call that changes nothing. A client that predates refused treats it as it treats any code but unavailable: final, the change taken back. wouldNeed is the roles that could, when the policy knows them. A call naming a record the seat may not see is refused exactly as one naming a record that does not exist — missing, one sentence that names the act and not the id (FR-55) — and permission is asked of it as if the record were not there, so no refusal tells a guessed id from a real one. An act runs under its caller's sight (FR-55): its body, its condition, its refusal and its sentence read the store as the caller is served it, so a record the caller may not see is to the act what one that does not exist is — whether it runs, what it refuses with and why, what it writes and what problems it answers with are the same for a hidden record as for an absent one, and the page that guessed the outcome from the seat's view is confirmed by the host rather than refused after it. What it writes lands on the whole store, and the store's own bookkeeping reads the whole store — a removed record's links, a patch's prior values, a single source's other links, an id already taken — without telling the seat (FR-55). Ids are unique across the store, so a seat that may not see every record may not ask for the id of one it makes: it is refused alike (invalid, "… makes its own id here") whether a hidden record holds that id or nothing does. An id minted from a label for a kind the seat may not see every record of is the seat's own — room:green.<mark>, where the mark is seatMark(<the seat's id>): seven letters and digits, the same for the seat on any store, which no other seat's label mints and which does not spell who the seat is, since every seat that sees the record reads its id — stepping only past what it sees, and one that would land on a hidden record anyway (an id somebody asked for) takes a suffix no guess collides with; a seat that sees every record of the kind gets room:green, room:green-2 as before. An act that sets a single-source link and takes a hidden record's link with it is served to the seat whole, with what it may see — the link it took is no part of its op — and the seat may undo it, which puts that link back. A rule that must hold across what a seat may not see — no double booking — is an invariant's, not an act's. graview check warns of each act that reads a kind some role allowed to run it may not see (act-reads-hidden-kind, FR-105), reading a document's act for itself and a TypeScript act by the kinds it declares it reads: run by that role, it judges as though there were none. A seat's problems are judged over what it sees, facts and lines included, wherever it reads them — seenBy(…).violations(), a seat's tools, a page served only what its seat sees — so a rule that counts records the seat may not see says the count it sees, and a record it may not see never makes, mends or words one of its problems. An act's answer to a seat (answerSeenBy) gives what the act broke, what it mended and what stands after it — a change made or a preview — as the seat judges them over its own world: what it is served, and that world with the change as it is served taken back, or for a preview put on. So whether a rule that reads beyond its subject (a fact, a sweep, a relation) was broken or mended is the seat's own answer, in its own words, and never the whole graph's; the judging is @graview/core/lines', which a seat's tools load, and without it an answer to a seat says no problems at all. A fact in a rule's line is said by its label, or its name in words. graview check warns of each rule whose message says a fact over a kind some role told of it may not see in full (rule-says-hidden-fact). A rule is judged on every change and once on load; one that reads the clock — today(), now(), a computed field that does, a kind whose records retire on a date — is judged again on the day a host ticks the store to (store.tick(now), FR-176), which answers { day, was?, appeared, cleared } and tells every subscriber with an empty diff and no ops, logging nothing. @graview/ship's openStore and openRemote tick just after each midnight by the clock today() reads (the app's, in brand.timeZone, else UTC) until close() (openStore's tick: false leaves it to the host); a host that sleeps through timers ticks from its own alarm. A tick holds for the rest of the day the clock read when it was made: once the clock's day moves past it, the store judges on the clock again until it is ticked, so a timer that slept through midnight never leaves a store on yesterday. clockReaders(schema, rules) on @graview/core/check says which rules and computed fields read the clock, and graview check notes them (rules-read-the-clock). A store pinned to a day (invariantOptions.today) stays on it.
  • busy (FR-45) is not a refusal: the host asked for the change again after retryAfter milliseconds (429 with Retry-After over HTTP), nothing was judged, and a client keeps the change. limit is a refusal: the change can never succeed as asked, and is taken back. unavailable is the one refusal that is not final: the host takes no changes for a while and cannot say how long (503 over HTTP), nothing was judged, and a client keeps the change and sends it again, backing off. A call sent again after it landed is answered with its ops before a host's limit is asked, so it is never told busy, limit or unavailable.
  • Op format 2 travels as an addition to protocol 1 (0.1.43). A reader says it reads it — hello.opFormat, ?opFormat=2 on GET /graview/state and GET /graview/since, opFormat in the body of POST /graview/ops, WireAsked.opFormat for a host that routes its own requests (opFormatOf(url) reads the query) — and is sent ops bare. A reader that says nothing, as every client before 0.1.43, is sent each op with its inverse written out (opsFor), as format 1 had it, so an older tab goes on undoing and playing back against a newer server; it costs that tab the bytes format 1 did. A newer client against an older server is sent format 1, which it reads. WIRE_PROTOCOL and the subprotocol do not move.
  • A presence may say where somebody's caret stands in a field typed together (collaborative text, phase 4): caret: { node, field, anchor, head, rev }, offsets in UTF-16 code units against the text their log held at rev ops, which a reader carries over the splices its own log took since by anybody else. A server keeps it only when it is a record, a field and three counts, and withholds it from a seat whose sight keeps that record or that field from it; a reader that does not know it ignores it.
  • Op format 3 (splice-text, collaborative text) travels the same way. A reader that said opFormat 3 or more is sent each splice as it is kept; one that said less, or nothing, is sent the same change as a patch-node of the field's whole text before and after it (opsFor(opFormat, ops, store)) — at a broadcast from the text as the splice left it, in a catch-up and a welcome by walking back from the text now — so its copy folds to the same text. A reader served behind the head is sent splices only through the seq it is served, the same way. A keystroke is the type-text call; rev on it is where its sender last read the log, and one behind the horizon is answered as a stale write (conflict, with theirs the text now and saw the rev), since the history it would be carried over is gone; a host's compaction keeps the horizon behind every open socket (protocol.floor(peers), handler.pins(), the adapter handler's compact). A field typed together is never compared as stale: a call's base names it so a whole write over it merges three ways with what was typed since (ApplyOptions.base).
  • A field's revision, which a stale write is refused against, is the seq of the op that last wrote it. It is derived from the log and never stored, so it never changes a stored format.
  • WIRE_PROTOCOL moves only when a client of the previous protocol can no longer be served, and that is a major.
  • A host that stops serving an older protocol says so with reload (FR-44): minProtocol names the lowest it serves, and a client carries its unsent calls across the reload. hello.wire and the subprotocol graview.ship.1 name ship's codec, so a host can serve another beside it on one path. build in hello and welcome is the host's opaque string and is never judged. A host numbers its own half of the wire with hello.hostProtocol, which minHostProtocol answers with reload carrying hostProtocol; hello.protocol stays WIRE_PROTOCOL.
  • A client names its batch as a Store mints it, batch:<tag>:<n> or undo:<tag>:<n> (isClientBatch); any other is refused invalid. A batch sent again is answered only with the asking seat's own ops, and one that holds somebody else's is refused invalid. A server mints its own batches outside that shape (served:…), and serves another seat's withheld op under an opaque withheld:<16 hex> batch. A via in a call or a post is a claim, ignored unless the host's viaOf accepts it (FR-52).
  • The declaration version a welcome, a route and a declaration push say is the host's own monotonic number for the declaration it serves, the one a client hands resolveApp; a push with the number a client already serves is ignored.
  • A declaration change is pushed as declaration (FR-43), and every welcome says the declaration version it serves. Neither moves WIRE_PROTOCOL.
  • A host that holds the app read-only says so (FR-66): { t: "held", sentence } to every socket that said hello when the hold starts, sentence: null when it ends, held in every welcome and on every answer a poll reads while it stands, and every change meanwhile refused unavailable in that sentence. Additive to protocol 1, so it does not move WIRE_PROTOCOL or the codec's name: a client that does not know the message ignores it.
  • What a seat is served holds no id of a record it may not see (FR-55): not in the snapshot, the log, an op's primitives, inverse, reads, writes, call or sentence, a presence, a conflict, /graview/health or a tool's answer — beyond the seat's own words. A field whose current value this seat wrote (or the person an agent acts for; an undo is never the author of what it puts back) is served as written, whatever it names, and a record withheld only for such a field is served; so is the seat's own call in its own ops, and an argument it sent that an answer says back. A seat that guessed an id and wrote it is then served the same whether the guess was real, and a write of the value a field already holds, when that value names what the seat may not see, is kept in the log as the seat's. An oracle that checks what a seat is served excludes the strings the seat itself wrote. An act's sentence is worded from its author's view: describe reads the graph as the author is served it, so a record the author may not see is named only by what the author wrote, as one that does not exist is — and a reader who sees more reads that sentence as the author would have. The seat's own words excuse only what it wrote — values in its primitives and the inverse that puts them back, and its own calls; another author's call, sentence and name are judged by sight alone. An op records which records its sentence read (described), and another author's op is served whole only when its reader may see every one of them. An answer's reads name only records the seat sees; an id that names no record is left out as a hidden one is. seatLens is the judgment, and seenBy, logSeenBy, the routes, the live socket and the agent tools all read it. A seen record whose field names a hidden one is served with that field cleared when its kind declares the field optional (or does not declare it); when the field is required, clearing it would serve a record that fails its own declaration, so the record is withheld from that seat whole, as if its sight did not reach it — with its links, and with every op that touched it withheld. An op whose only mention of a hidden record is in its reads or writes, and whose primitives are served as written, is served whole with those trimmed. A link the seat is not served is no part of an op that did anything else: it is left out of the op's primitives and of its inverse, and the op is judged without it — so a removal that takes a record's links to what the seat may not see is served to the seat whole, as it would be had there been no such link, and the seat may undo it (the undo puts the links back, and is served to the seat the same way). An op that did nothing but such links is withheld. Any other op that names a hidden id is withheld, and its primitives are judged by whether each record was served just before and just after them: served to served is the patch as the seat is served the record (a hidden id written into an optional field arrives as that field cleared, UNSET); not served to served is an add-node of the record as now served, with its links to records the seat is served; served to not served is a remove-node; neither is nothing; and a link is served when both its ends are — an end that is not there at its moment, as a dangling link a repair removes has, is judged as seesId judges its id, so one that names no record is served and one that names a record the seat may not see, removed before, after or with the link, is not (FR-67). A seat from whom nothing is kept (hidesFrom false) is served every op as it is. So the log a seat is served folds — from nothing, from any cursor, or from the epoch base its view serves after a compaction — to exactly the snapshot it is served. /graview/health keeps ok and every count the whole store's — a poller asks whether the store is well, a count names no record, and a count of only what the asker sees would call a broken store well — and its danglingEdges names only the links whose ends the asking seat may be told of; a caller the host cannot tell is judged as a seat with no id and no roles. This narrows what a seat is sent and never adds a field, so it does not move WIRE_PROTOCOL.
  • A sight may keep fields as well as records (Roadmap f-field-sight): policy.sees[].hide (field names it keeps) and policy.sees[].fields (the only field names it shows), both optional. A field of a record is shown to a seat when ANY sight that shows the seat that record shows the field — sights add up, own and via judged as for the record — so a sight with neither key shows every field. A field kept from a seat is never in anything it is served: the record (cleared, or the record withheld whole when its kind requires the field, as for a required reference), its log (an op that adds or removes a record with a kept field, writes one, or whose sentence read one is withheld whole whatever the field held, its primitives served as the seat is served the record; its own ops are served as it wrote them), an answer's diff and primitives, a conflict (a revision of a kept field is not compared or said), a search hit, a name a call resolves (a label is worked out from the served record), a form, an edit offered in place, a static page, a computed field (worked out over the served record) and a rule (judged over what the seat is served, so a kept field reads as none) — and nothing a seat reads differs between a kept field that holds a value and one that holds none. A seat may not write a field kept from it: an act that would is refused invalid as an argument it does not take ("does not take "phone"; it takes …"), asked before a write of the value the field holds is let go as no change, so the refusal is the same whatever it held and whatever was written; a kept field an act leaves unset is no write. An import refuses a column that goes to a kept field exactly as one that goes to no field. An op's described may name <id>#<field> for each field of a record of a kind some sight keeps fields of that its sentence read. Judging fields is @graview/core/field-sight's; until it is loaded, a sight with hide or fields shows nothing — the store keeps the record rather than serve a field it cannot judge, and says the seat neither sees every record of the kind nor, when it may begin none, the kind at all (kindsKeptFrom) — except in a store openRemote opened, which shows what its host served it: that store alone (FIELD_SIGHT.served), never another store the same page holds whole. An agent's tool for an act leaves out each argument that writes a field no sight granting the seat that kind shows on any record (argumentsNeverShown, @graview/core/json-schema), so the tool names no field the seat may not see, and toolDefinitions says the same surface without a store. @graview/ship's server entry loads it; a page that holds its whole store (openStore from @graview/ship/browser, or a Store of its own) imports it, as does a host that serves seats without @graview/ship. A build before 0.1.29 ignores both keys and shows the field: a host serves a declaration that says either only on a build that exports FIELD_SIGHT from @graview/core.
  • An act may touch what its seat cannot see (FR-55), and replaces (FR-115) is such an act by design. Before it connects, it severs the subject's links of the relations it names, all but the one it makes — whatever record is on the far end, seen or not — exactly as connecting a cardinality-one relation severs the link it displaces. A seat that moves a component to a new owner may so cut its link to an owner it may not see. That is the policy, not a leak: the seat is served the severed link as nothing (a link is served only when both its ends are), the op as its primitives are judged above, and an agent tool's answer the same way, so the act changes what the seat cannot see without telling it what was there. An installation that must not let a seat displace a hidden record says so in the act's condition or its grants, not by relying on sight.
  • A status board's moves (FR-108) are judged against the graph the page holds, and the host judges them under the seat's sight. On a served app the page holds the seat's view, so a named step whose condition reads a record the seat may not see is judged without it on the page and at the host alike: a step is offered exactly when the host would run it, and run when offered. Nothing tells the seat what it cannot see, and nothing moves WIRE_PROTOCOL.
  • A host's files (FR-163) are a seam on the page, files: { upload(file, name), maxBytes, kinds } on mount, <Embed>, GraviewProvider, the Shell and the routed face's context, and the route that serves them is the host's own; within a major the seam's three members keep their meaning, and the value upload answers is a FileValue (FR-162) the record keeps as it is. What the route serves is part of the app's origin, and the page draws it as such: a picture in an <img>, which never runs a script, an SVG's included; a PDF in an <object>, which draws whatever type the route answers with; anything else as a link with download. So a host's files route: serves each file as the type the host decided from its bytes, never the type the uploader said, with X-Content-Type-Options: nosniff; sends Content-Security-Policy: sandbox with everything but a PDF (an SVG or an HTML file opened from it, in a tab or in that <object>, runs as the app otherwise), and with a PDF where its readers' browsers draw one sandboxed; says Content-Disposition: attachment for anything that is not a picture, a PDF or plain text; and serves a file only to a seat that sees a record holding it, the framework's sight being per record (seesId(store, principal) over the records whose fields hold the href, by filesOf). The dev door (devFiles, @graview/ship/dev) does the rest but the first and the last: it keeps the type it was sent, which under nosniff and the sandbox runs nothing, and every seat on a dev server is its one person. A host's page that carries a Content-Security-Policy allows the files route in object-src ('self', or the files origin) if it wants a PDF drawn inline; where it does not, or where the browser draws no PDF (an iPhone), the page draws the PDF's one line — its name, its type, its size, Open and Download — and the <object> takes its height only once the browser has loaded the PDF into it, so nothing is lost and no empty box is drawn (FR-234).
  • Where a host serves an app's own images (Roadmap f-brand-marks-under-app-base) is a seam on the page beside it: assetsAt?: (path) => string on mount, <Embed>, GraviewProvider, the Shell, the routed face's context and splashHtml's options, asked for every path under /graview/assets/ the page draws — the brand's logo (each scheme's), its page icon, the opening screen's image, the logo a worker view is handed, and an image a worker view draws by its path where the view's definition says no asset of its own. A host serving each app under a base answers base + path. Inline SVG, an emoji, a page-relative path and any other address are drawn as given, and unsaid every path is drawn as the document names it, as before. A document still names the path on the host's root (markProblem is unchanged), so a document moves between hosts and bases as it is. Within a major, the paths it is asked for only grow.
  • A host's way to name another app (FR-171) is a seam on the page, resolveApp(address, viewer) on mount, <Embed>, GraviewProvider, the Shell (asked before the provider's) and the routed face's context, answering { name, icon?, headline?, href }, { denied: true } or null; within a major those three answers keep their meaning. The page asks once per address and viewer and remembers the answer for as long as it holds that resolver; a throw is taken as null. A viewer the host refuses is shown "linked app (no access)" and nothing the host did not answer, so whether another app exists, what it is called and what its home says stay the host's to tell each viewer. Without a resolver the address is drawn as it is kept, a link only when it is an absolute http(s) address, opened apart from the app (rel="noopener noreferrer"). href is followed only when it is a path on the host or an http(s) address.
  • A host's way to read another app's records (FR-171) is a seam beside it, linkedRecords: LinkedRecords on mount, <Embed>, GraviewProvider and the routed face's context: resolve(ref, viewer) with ref { address, kind, id }, answering { address, kind, id, label, describe?, card?, fields, href?, app? } (fields only what that viewer may see there), { denied: true }, or null; find({ address, kinds, query, limit }, viewer), answering the records that viewer may link or { denied: true }; and open(ref, viewer), optional, the navigation seam a press on a linked record calls in place of following its href. Within a major those answers keep their meaning. A page asks once per record and viewer; a throw is null. A viewer refused is shown "linked record (no access)" and nothing the host did not answer. href is followed only when it is a path on the host or an http(s) address. linkedRecordsOver (@graview/core/linked) is that seam over stores a host holds in memory, each record read through the far store's seenBy(viewer); recordLinkedChange(store, { ref, fields, app?, at? }) keeps a far change in the reading store's history as an ordinary op — author { kind: "system", id: "app:<address>", name }, via: "app:<address>", reads the linking records, no primitives, no new op field, naming the fields that changed and none of their values.
  • A worker view's manifest and what it is handed are held to the guest protocol's rules: a key may be added when it is optional and a manifest without it means what it meant; a build that predates a key passes it over (one before 0.1.18 draws a view with replaces as it drew every view of one: alone). replaces arrived this way (FR-149): "page" on a view of one record draws it alone in place of the record's own fields, and checkManifest refuses any other value and the key on a view of the home. Since FR-203 a view of many may say it too, and is then drawn on its kind's list page (/<plural>) in place of the list, a titled one at its own place as well; before, checkManifest refused it there, so no manifest that worked reads differently, and an earlier build refuses it. What a view of one record replaces changed without the manifest's text: since FR-149 a view of one is drawn above the record's own editable fields on the scene (on Pages it always was), where it was drawn alone; a host that relied on the record being the view alone adds replaces: "page". data-prefill (FR-150) is an attribute a view draws, judged by the host: it fills only an empty input or textarea whose name is the field, from a record the view was shown, read through the viewer's sight, when an act in its fieldset named in the manifest writes that field of that record and the viewer may run it there; a press carries the value only back into that field, and any other press carrying it is refused untyped. A view's props are as they were: each record's fields on it by name, beside id, kind and label (FR-151 corrected the guide, not the props). GUEST_PROTOCOL does not move.
  • A view proposed that reads a relation whose far kind its manifest never hands it is refused before it is kept (HQ f-view-check-refuses-unread-relation-kind): checkProposedManifest on @graview/guest/host/views is checkManifest and that, naming the relation and the kind to add to reads.kinds; runWorkerViewHeadless (and graview view check) refuses it manifest, and so does mountWorkerView a draft. A relation to any kind (to: "*") names no kind and stays a problem. checkManifest itself, and so a page mounting a view already kept, refuses nothing it passed: the view is drawn and the fault said to onProblem as far-kind-not-handed. A view's problem may carry key (ViewProblem.key, and key on a headless run's problem, DescribedProblem.key), which names one fault the same in every version of the app and whatever the sentence says — far-kind-not-handed:<view>:<relation>:<kinds sorted and joined by |> (farKindKey), * for a relation to any kind — so a host files it once, until the relation itself is declared between other kinds; its shape is held as a code is, never reused for another fault. A host that judges a view already kept headlessly passes standing: true (graview view check --standing), and the fault is among its problems with that key; without it such a run is refused manifest.
  • A view's video on a provider (HQ f-view-video-embeds) arrived the same way, additive: <graview-video data-provider data-video> or data-watch, drawn by the host from the closed list EMBED_PROVIDERS, and turned off by a host with embeds. A provider may be added within a major, and a view of a build without it is refused that one in words (embed-refused); the origins a host's frame-src lists are EMBED_ORIGINS.
  • What a view may name in data-place and graview.navigate is one vocabulary since FR-235 — placeNamesOf(app) and placeNamesFrom(schema, places) on @graview/core/navigate: overview (the Scene), home, each kind's list by its slug and each titled place by its slug, less what the viewer is kept from — and the headless check and the live host read the same list, so a name the check passes the page follows. A view's props.places lists that vocabulary ({ as, title, kind } each, the Scene's and the home's kind empty) on the page as a headless run handed placesOf already did; a view that read only titled places from it reads the same entries among more. A version may add a name to the vocabulary and says so in the changelog; it never takes overview, home, a list's slug or a place's slug away.
  • What a change broke, said with the change (Roadmap f-revisions-say-what-broke), is @graview/core/revisions, a host's and on no page: compareViewRevision(before, after) reads two versions of a worker view — each its source, and where the host has them a run's css, its drawing (HeadlessDescribed.drawing.root, or a page's element) or a classes list, and the page's height — and answers unstyled (a class the revision still draws that a rule styled before and none styles now; a class no rule styled before is never said), selectorsRemoved (a rule taken out whose classes and ids are still drawn), sectionsMissing (a heading or a named landmark drawn before and not now), height ({ before, after, change, ratio }), regressed, said and text; MEASURE_PICTURED_PAGE, evaluated in a page as it is pictured, and picturedCoverage(measure, pictured?) answer { whole, height, pictured, above, below, said }, and graview shots prints said under a picture that holds less than the place; problemsMade(before, after, { rules }) sets two judgments ({ rules?: Violation[], views?: { view, at?, says }[] }) apart as made and mended, each keyed as it is keyed next time (violationKey, viewProblemKey) with a rule's first repair as { act, label, args?, missing? }, and a rule that could not judge is never made; beyondAsked(answer, { asked?, label? }) reads an act's or a batch's answer and lists every record added, removed or changed and every link made or taken beyond each asked act's own (the records its arguments name and the record it made). Within a major the entries' keys only grow; the words are display only and may be tuned.
Refusal codes are open (1.0)
  • A code may be added within a major; none is removed or changes meaning. A client that meets a code it does not know treats it as a final refusal: the change is taken back and the refusal handed on with the code as it came (openRemote's onRefusal, RemoteRefusedError), never kept and sent again as unavailable is. A program that branches on codes keeps a default for the rest.
  • unauthenticated (1.0's foundation): the host does not know who is asking — no session, or one that ran out — and signing in again may let the same change through. 401 over HTTP.
  • quota (1.0's foundation): the account the app belongs to has used what its plan allows; the change may succeed once the allowance grows, never by waiting. 403 over HTTP.
  • A host says either, and limit, as its own final refusal: its limit or admit answers { refuse, reason } (HostRefusalReason; limit, 413, when it names none). A body too large to take is limit; a caller sending too much too fast is told busy with a wait, which is not a refusal. Neither needed a code of its own.
Served state and the head

What a seat is served is the app as this seat is served it, and nothing on any surface promises that is the store's head. FR-55 narrows what a seat is served by record and by field; a seat's served state may also end before the head, at a seq a policy chooses, and that is narrowing by seq — the same kind of change, not a break — so it moves neither WIRE_PROTOCOL nor any format.

  • A seat is served through a seq, servedSeq: the ops before it are in what it reads, none after. Store.servedSeq says it, read-only: a store's own is its head (log.length), a past's (pastOf(store, seq)) is seq, and a seat's view (seenBy) is the seq that seat is served through. Every seat of a live app is served through the head; a reader of an app that publishes is served through the last publish (below).
  • GET /graview/since?seq=<cursor> answers the ops after the cursor that the asking seat is served — through its served seq, which is the head unless a policy holds it behind — not necessarily every op to the head, and the cursor where they leave it. The live socket's positions mean the same: welcome.seq is where the seat stands in what it is served, and ops brings what the seat is served as it lands. A client that takes a position for the head's takes it for the seat's (below, *A cursor is opaque*).
  • seenBy, Store.seenBy, a provider's store, useGraph, an agent's reads and a seat's model prompt read the app as the seat is served it. Their doc comments say so and promise neither the head nor one view object per principal: the view is kept only to save judging again, keyed by everything serving reads (the seat's kind, the id and roles it is judged as, the agent's own id when it acts for somebody — two agents for one person are two seats — and where it is served through).
  • A write is always judged at the head, whatever the seat is served. A call's stale-write check (base, FR-05) reads the head's revisions: a seat served behind the head that claims the revision it read is not stale unless the field was written after that revision, and when it was, the conflict says the head's value.
  • A client whose seq the ops cannot catch up is sent the whole state, never the ops after a gap: a socket's hello whose seq is behind the compaction horizon, or past where its seat is now served, is answered with a welcome carrying state (and such a welcome may come unasked when a publish is taken back); /graview/since answers such a seq with reset: true — and, behind the horizon, the ops after it, so a client that predates reset still sees the gap. openRemote takes the state on either.
  • A checkpoint never passes a seq somebody is served at. CompactOptions.pins (store.checkpoint, ship's opened.compact) are such seqs, and the horizon stops at the lowest, so pastOf(store, pin) still folds from the log. A host that serves a seat behind the head passes that seq.
  • Publishing (Roadmap f-publishing-lifecycle). A declaration's publishing ({ mode: "live" | "on-publish", working: [roles], publishers?: [roles] }, the document's key and defineApp's alike, StoreOptions.publishing on the store) says when edits reach readers. "live", or absent, is every app as it was. Under "on-publish" a seat whose roles (an agent's read through the person it acts for) are working is served the head, and every other seat — a visitor, an embed, a static page, another app's linked read, a describe for a reader — is served pastOf(store, publishedSeq) as its sight reaches it; before the first publish, the log's start (the seed, or the horizon of a log compacted past it). seenBy(principal, { as: "published" }), a provider's as and ?as=published serve a collaborator what readers are served, to preview it. Writes land on the head whoever makes them: a visitor's form answer is in the working state, and reaches readers with the next publish. A publish is the built-in act publish ({ through? }), offered to publishers (absent, working): one op authored by the person who published, with no primitives and the op field publishedThrough — the seq readers are served through, its own seq + 1 unless through names an earlier one. The last publish op that stands says it (Store.publishedSeq), so taking a publish back is an undo of it, permitted to publishers. How a reader is served, the publish act and the published seq are @graview/core/publishing's, an entry of its own so a live app's page carries none of it: a server, a static page, a linked read and the agent tools load it, a page fetches it with @graview/core/past before it draws an app that publishes, and until it is loaded a reader of such an app is refused — never served the head. A checkpoint keeps the app as it stood at each published seq behind it that readers are or may again be served (Epoch.published, a list of epochs; also Epoch.publishedThrough, what stood published at its seq), so a compaction passes old publishes, a reader is served one behind the horizon from it, and only before the first publish is the horizon held, at where the log begins. Both are optional and additive within format 1: a checkpoint without published serves readers what the log folds and refuses an undo of a publish that would send them behind the horizon. A store whose checkpoint carries published is snapshot format 2 (§2), so a build that predates published refuses it rather than serve its readers the horizon; a host that must roll back to such a build compacts with format: 1, which holds the horizon at the earliest seq readers are served behind it and says where it stopped (a pin at store.publishedSeq alone does not: a horizon between two publishes is format 2 with it). Neither is served to a seat. On the wire, a reader's welcome, /graview/state and /graview/since carry servedThrough, a cursor as opaque as any other position (below, *A cursor is opaque*), absent in a live app, its socket is sent the ops between two publishes when the second lands, and the whole state when a publish is taken back. A build that predates publishing folds an op carrying publishedThrough as it would without it (a marker that touches nothing) and refuses the document key by path (§4) — the fail-closed way back: an app that publishes is never opened by a build that would serve its readers the head. Named by no FR id yet: capabilities().shipped gains one when Graview Cloud files it.
A cursor is opaque (1.0)

Where a reader stands in a log is said on the wire as a cursor: a string only the server that gave it reads, meaningful to no other server and to no other store on the same one. A store keeps numbering its ops, and an op's own seq is unchanged; what moved is every position a client and a server say to each other, so a server that one day merges several writers' logs can say where a reader stands without one sequence.

  • Where it is said. GET /graview/since?seq=<cursor> takes one and answers cursor, where its ops leave the reader; GET /graview/state answers cursor; POST /graview/here takes seq and answers cursor beside its ops; the socket's hello says seq, and its welcome, ack and ops say seq (Cursor, @graview/ship).
  • What a client may do with it. Keep the last one it was given and send it back. It must not read one, build one from an op's seq, or compare two. openRemote speaks the same build's codec as the server it was built with (cursorAt), and a cursor today is s and a count in base 36 — which is this build's business, not a promise: a server may change what is inside within a major.
  • A page from before it (0.1.48 and earlier) sends the seq of the last op it has, a number. A server reads that, and a numeric string, as before for one minor (seqAt), and stops in the minor after; such a page reads nothing it is sent as a number, so the tokens in a welcome, an ack and an ops message do not disturb it. A seq a server can read as neither is refused invalid (400).
  • SyncState.cursor was a remote system's own string from the start and is held to the same rule: the engine keeps it and hands it back, and never reads it.
A host that lands a plan (0.1.65)

The quick ask offers a missing capability as one plan — the least change to the app and the records that finish the ask — and a host lands it through two functions it hands the provider, the embed or the pages' context. This is the contract Graview Cloud implements:

  • composeChange({ document, edits }) applies the plan's edits (written by planEdits in the edit vocabulary: the kind a link points to where the app has none, the link or the field, the one act that sets it) to the app's document, grants what it adds as the app's widest grant does, judges the result with the checker, and answers { ok: true, document, app, said } or { ok: false, refused }. composeAppChange from @graview/core/compose is one. composeAppChange from @graview/core/composer is the one a page fetches (Roadmap f-light-composer): the same edits, grants and sentences, the result judged by the compile the page already has and the checks a change made on a page can fail (compileForAChange: the document's own acts, rules, computed values, formats, links, jobs, aliases and view keys, and the checker's routes and lens bindings) rather than the whole checker, which the host's onProposeChange asks again before it keeps the change; it composes edits only, and refuses a reshape's add and drop in words. The errors a store reads of an app's schema, its acts and its rules (SchemaError, GraphError, MissingRecordError, InvalidArguments, PermissionDeniedError, ActRefusal, UndoBlockedError, ExprEvalError) are known by instanceof from whichever copy of @graview/core made it. The page rehearses the plan's records against app in a scratch store before it offers the plan; it never offers one that would fail.
  • onProposeChange(proposal) is handed, on Yes, a ReshapeProposal whose edits are the change to the app (add and drop empty), whose records are the calls that finish the ask (a record made is named by its mintedHint in the calls after it), and whose via (ai:<name>) the records' ops carry. The host applies the change and the records as the person, as one change, and answers { applied: true, undo, note? } — undo taking the app and the records back together, note said on the card — or "applied" with no way back, or "declined". A refusal is a thrown error, said on the card. A reshape's proposal carries add and drop and no edits, as before.
  • checkPlanHost(host, { document, kind, members }) from @graview/core/conformance runs the assign-to-a-person plan against a host's two functions and the store it serves, and names what failed: composed, landed as one change said via the AI, every record linked, one undo taking it all back. A host runs it in its own tests; the todo example's dev host passes it.

These shapes are additive within a major: a new optional key on the proposal or the answer is not a change, and a host that ignores one keeps working.

A host that keeps a section's revision (0.1.65)

A right-click inside a worker view names the menu for the section under it (MenuTarget.section: { name, view, elements }, an element the view marked data-section, a landmark by its label, what labels it or its heading, else a heading's block — found by what @graview/react/drawing fetches with the first right-click inside a view: a face asks sectionsWanted(element), waits for sectionsArrive() and reads sectionUnderNow(element), and alsoWhenSectionsArrive(load) fetches what a face offers there beside it) and, for a seat that may change views, offers "Make “This week” better": Just do it, Describe changes…, Highlight area…. The page revises that section alone (@graview/tools/section: locateSection, composeSection, reviseSection — the host's light model, then its full one, the view composed whole with every byte outside the section kept), judges it as a draft drawn in the view's place (the host's own checkViewSource, what the open kit refused, and compareViewRevision: a class left unstyled or a section lost is handed back to the model once, then refused in words), and offers Keep and Discard. The host holds one door, the one it already holds for script views:

  • KeptViews.revise(revision) — beside hide, show, remove and restore — is handed { name, title, source, before, section, said } (ViewRevisionKept: the whole new source and the source it replaces) on Keep, keeps it as it keeps a view a chat replaced (Graview Cloud: as propose_view and apply_view, the replaced version among the view's own for restore_view), and answers once it is kept: nothing, or { note?, undo? } (ViewReviseAnswer) — note said on the card, undo its own way back. Without undo, the page's one Undo hands the code before back to revise with undoes: true. A refusal is a thrown error, said on the card. The page draws the kept code from then on in that page; a host that hands the view again (a new definition) is drawn from what it handed.
  • It is offered only where revise is given, current().may.views is true for this seat, the host's ai gives a model and is not off, and the view's code is a plain script ({ source }) the page holds. KeptViews.revised(name), where a host gives it, answers the code it keeps now. withMemoryRevisions(memoryViews()) keeps revisions in memory, said "Kept until this page reloads." — the todo example's dev page and the harness use it.
  • checkViewRevisionHost(keeper, { name, before, after, read? }) from @graview/core/conformance runs a host's door as the page does and names what failed: revising offered to a seat that may change views, the code it was handed kept (read back with read, else revised), and one Undo putting the code before back.
  • Each revision is an AI interaction (ask.kind "section", the target { on: "place", place: <the view's name> }): accepted once kept, dismissed when discarded or undone, failed with its words when refused. Where the host keeps what people tell Graview (ai.told), each is also a telling, decided: { type: "view", section } (a refusal { type: "refusal" }), on { on: "place", place: <the view's name> }, ended previewed, accepted, declined, undone or abandoned, rated with the card's 👍/👎 strip. What a harness reaches: the menu's section [data-menu-section="make-better"] and its rows section-just-do-it, section-describe, section-highlight; the outline section-outline; the card [data-testid="section-card"] (data-section-phase asking, working, draft, keeping, kept, undone or refused), its field section-words, section-pointed, section-status, section-note, section-keep, section-discard, section-undo; the overlay section-highlighter; and the draft's holder [data-graview-section-draft] in the view's place.

The revision's shapes are additive within a major, as the plan's are.

What people tell Graview (0.1.65)

Each Enter or reply on the quick ask's card is a telling (Telling, @graview/core/told), kept by the host the page reaches through HostAi.told (a ToldStore: add, change, remove, list). This is the contract Graview Cloud implements per app, and graview serve in told.json beside the store:

  • The shape. { id, at, by, words, target: { on, kind?, id?, place? }, reading?: { which: "itself" | "held", kind, records }, people?, decided: { type: "act", act, records } | { type: "plan", edits } | { type: "answer" } | { type: "refusal" }, slot?: "graph" | "light" | "full", stages?, ms?, outcome: "previewed" | "accepted" | "declined" | "undone" | "abandoned", rating?: "up" | "down", should?, conversation, follows?, interaction?, examples?, pinned?, excluded? }. Records are named by id and kind only: no record's content, the person's own words kept (at most 300 characters, as is should). tellingOf(draft, by) bounds and checks a draft and stamps it; changedTelling(telling, change) is how a change lands (an accepted telling ends only as undone; a rating taken away takes its should). An undo is outcome: "undone", never a 👎. New optional keys are additive.
  • The wire. /graview/told: POST { telling } keeps one, its author the session's, never the body's (201; 202 and nothing kept for a visitor); PATCH /<id> { change } — outcome, rating, should and examples by its teller, pinned and excluded by whoever keeps the app (403 otherwise); DELETE /<id> by its teller or an owner (204), gone for good; GET answers { tellings }: every one to whoever keeps the app, to anybody else their own and the others' that worked in a lesson (an act over a kind, or a plan on one) at least two other people's agree on (toldFor, minPeople), and to either only those about records the asker sees (toldSeenBy). 413 over 16 KB, 429 past 60 a minute, 410 where the host keeps none (--no-told), and a page then stops asking. toldOver(url) is the page's client; the dev server's devTold answers the same at /__graview/told.
  • Read back under sight. A telling naming a record the reader cannot see — its target, the records it was read as, the people it named — is never served to them, on the wire or on the page; a page also treats a record it does not hold as unseen.
  • checkToldHost(host, { people, seen, hidden? }) from @graview/core/conformance runs these against a host's door for each seat, and names what failed: kept as the session, a visitor's never kept, rated only by its teller, another person's waiting for agreement, unseen records hiding it, deleted gone. graview serve's door passes it.

4. The declaration, the document format and check finding codes

A declaration that compiled and checked clean on one version compiles on the next version of the major.

  • A check finding's code never changes meaning. A new code may appear, and a new warning or note is not a break. A new *error* on a declaration that used to pass is a break.
  • A code is promised by its bare name, and one prefix says where a finding came from. compileDocument (@graview/core/check) reads the document and then runs the checker over the app it compiles to: what the document's own judgments find — reading it, its acts, its brand, its views — is said by its bare code (shape, unknown-key, brand-mark), and what the checker found carries check: before the checker's own code, so check:lens-cannot-draw is the checker's lens-cannot-draw. graview check, checkApp and an edit's refusal (editDocument, propose_change) say the bare code: add-lens refusing a timeline that cannot draw is lens-cannot-draw, the same finding a stored declaration's compile says as check:lens-cannot-draw. The prefix is systematic and stays; a program that matches a code wherever it was said strips check: first (code.replace(/^check:/, "")).
  • touched-read-kept is a new warning: a document's rule, act condition or computed value reads createdAt, createdBy, updatedAt or updatedBy in an app whose policy keeps anything from a seat, which is told none of them; for such a seat the rule is not reported and the act says it cannot be judged.
  • touched-field-taken is a new error, and so a break for a declaration that has one: a kind declaring a field, relation or computed value named createdAt, createdBy, updatedAt or updatedBy, which every record now keeps of its own. Rename it, or drop it and read the record's own.
  • A code that only ever said again what another code says may be retired, and the changelog says so. act-without-title was retired this way: a mutation without a title was reported twice, as that warning and as the error mutation-untitled, which names the path and the fix and is the one finding now. A program that matched on the retired code matches on mutation-untitled.
  • The stored-data finding codes of validateGraph (FR-21) hold to the same rule. Each is a record, a link or a rule that no longer fits the declaration, found by id:

| Code | What it says | repairPlan | |------|--------------|--------------| | node-shape | a record's field does not fit its kind (detail names the field) | clear an optional field, coerce a required one to its default, else drop the record with its links | | kind-unknown | a record of a kind the declaration no longer has | drop it, with its links | | edge-dangling | a link to or from a record that is not there | drop the link | | edge-disallowed | a link the declaration does not allow between those kinds | drop the link | | rule-error | a rule threw rather than judged (could-not-judge; detail names the rule) | none: the declaration's to fix | | rule-budget | a rule would have read more than its budget (over-budget) | none: the declaration's to fix | | derived-out-of-step | a record that follows another (kinds.<kind>.derives) holds a value other than its source works out (detail names the field) | set the field again from its source |

  • The declaration document format (FR-01) is versioned like a stored format, and capabilities().documentFormats lists what a build parses.
  • A key may be added to a document format within its version when it is optional and a document without it means what it meant: kinds.<kind>.computed (FR-83) arrived in graview-document@1 this way. Every key is closed, so a build that predates one refuses a document that uses it as unknown-key, by path, and never misreads it. A host that keeps documents for more than one build reads capabilities().shipped before it writes the key.
  • An app's address arrived the same way (FR-243): address, @<space>/<app> with each part lower-case letters, digits and dashes, beside name in a document and on defineApp. It is a claim, not a grant. A host that serves one person's checkouts (the local hub) lists the app there, and two checkouts that claim one address are one app; a host of many people's apps gives each app the address it has there, whatever the declaration claims, so a document cannot take another workspace's address by declaring it. Nothing in @graview/core routes by it. The compile without the checker reads any string, so a page draws an app whatever it claims; graview check says address-shape (an error) of one that is not an address, with the one it should be, and address-self (a warning) of a relation to @<this address>/<kind>, naming the local kind. An app that claims none checks as it did. @graview/core/app-address reads, writes and tidies one (parseAppAddress, formatAppAddress, normalizeAppAddress). A build before it refuses the key by path.
  • The app's money arrived the same way (FR-100). Its one home is the brand: brand.currency (a three-letter code) and brand.locale (a language tag) in a document, Brand.currency and Brand.locale in a declaration, and a document's brand may now carry them without an accent. A figure or a field shown as money takes currency of its own; one that names none, and a template's {x | money}, take the brand's, written by Intl.NumberFormat in the brand's locale ("en-US" when it names none). A document without them says a sum as it always did: a figure with a currency in that currency, anything else as a number with no symbol. A figure's and a meter's label became a template (FR-99): a label without braces says what it said. The rule language gained out(S, 'edge'), in(S, 'edge') and &, | and - between sets (FR-101); an expression that parsed before means what it meant, except that a | inside brackets within a template's braces, which was a formatter and refused, is now a join. A build that predates them refuses brand.currency, brand.locale, a field's currency and a set operator by path, but draws a templated label as its words and a two-argument walk as "—", so a host reads capabilities().shipped for FR-99, FR-100 and FR-101 before it writes them.
  • A number's range arrived the same way (FR-114): min, max and step on a number or integer field (and on an act's declared argument), each optional, a field without them taking any number as before. The edit vocabulary gained set-range, and DocumentDiff gained narrowedRanges. A range is judged by the checker (default-range, field-range), not by readDocument. A build that predates them refuses the keys by path, so a host reads capabilities().shipped for FR-114 before it writes them.
  • An act's setsOther and replaces arrived the same way (FR-115), each optional, an act without them doing what it did. One meaning changed with them: an act's connects or severs shorthand on a subject that is only the far end of the relation (connects: "owns" on a component, where owns is declared on person) now links from the record it is given to the subject, as the declaration says the relation goes; before, it tried the link the other way round, which the graph refused, so no document that worked reads differently. effectsOf may return a ReplaceEffect beside the effects a document lists. A host reads capabilities().shipped for FR-115 before it writes the keys.
  • The rest of the brand arrived the same way (FR-124): brand.logo (inline SVG, or a path under /graview/assets/ or relative to the page; a string, or { "src", "alt" }), brand.favicon (the same forms), brand.typography (display, body, mono: system-serif, system-sans, system-mono, or a stack of faces every system has and the web fonts on DOCUMENT_FONTS), brand.shape (radius 0–32, density 0.75–1.5), brand.accents (a hue per kind) and brand.scheme (light, dark or auto), each optional and each mapped onto the TypeScript Brand (which gains logoAlt, favicon, subtitle and scheme). A document's description is now said on every face — the app name's hover on the app bar and the line on the routed face's home (FR-131) — and every document compiles to a brand, so a document without one is called by its own name where it was called Graview. The checker judges the new keys (brand-mark, brand-font errors; brand-accent a warning about an accent that does not read as given, FR-126). The edit vocabulary gained set-name and set-description, and set-brand takes every key, null clearing one; DocumentDiff's sentences for the name and the description changed words ("The app is now called…"). A build that predates them refuses the keys by path, so a host reads capabilities().shipped for FR-124 and FR-125 before it writes them. A compiled app carries the new keys in its brand within graview-compiled@1: a page that predates them draws the brand it knows.
  • A logo for each scheme arrived the same way, in 0.1.42, and was named FR-197 in 0.1.44: brand.logo as { "light", "dark"?, "alt"?, "darkFallback"?: "invert" } beside the string and { "src", "alt" }, which mean what they meant. A build before 0.1.42 refuses the object by path (brand.logo), so a host stores a document whose logo has light only on a build whose capabilities().shipped names FR-197 — a build of 0.1.42 or 0.1.43 holds the form but does not say so. logoOfDocument on @graview/core/document reads any of the three forms into { light, dark?, alt?, darkFallback? }.
  • One theme for every view arrived the same way (Roadmap f-app-wide-view-theme): brand.views as { "css"?, "motion"?: "none" | "fade" } in a document, Brand.views in a declaration — a stylesheet every worker view is drawn with before its own, and a fade between records. The stylesheet is held to the sanitizer and the 64,000 characters a view's own is, by the same code: @graview/core/css is where the framework's one CSS sanitizer now lives (sanitizeStylesheet, the CSS_* tables, OPEN_MAX_STYLESHEET), @graview/guest's host draws through it, and graview check says what of a brand's sheet the open kit leaves out as a warning, brand-views-css (an error when it is too long for a stylesheet at all). set-brand takes views (null clearing it, or either key), and refuses a sheet the page would draw only part of, naming the part. A build that predates it refuses the key by path (brand.views), so a host reads capabilities().shipped — or tries the key — before it writes one. A compiled app carries views in its brand within graview-compiled@1: a page that predates it draws the brand it knows.
  • A compiled app (FR-123) is versioned like a stored format. It is what a host hands its page so the page need not compile: serializeCompiled(compileDocument(document)), plain JSON with every template and expression already parsed, which appFrom (from @graview/core/compiled) builds into the same app compileDocument made. It says "format": "graview-compiled@1". appFrom refuses another format as compiled-format, by name, and parts that do not match their document as compiled-shape, and never misreads either; appFromOrCompile then compiles the document in the page, so a compiled app cached from another build costs one request, not a broken page. It does the same for one torn on its way (refused compiled-shape, never thrown) and for one compiled from another document than the one handed beside it — two documents are the same when their canonical text is (canonicalize), so a host hands the document the compiled app was made from, in the current document format. Within a version the format is additive: a key an older page ignores, and a page that lacks it can do without, may be added. Anything a page would need to build the same app moves the version: a new effect, a new kind of argument, a change to what a parsed expression or template part holds. So the rule language's tree (Expr) and TemplatePart are part of this format, and a parser change that alters them is a format change. A compiled app is a cache of its document, never its source. A host keeps the document, compiles it at its own build, and may drop a compiled app at any time. It is the host's own data, checked for its format and shape and not judged again.
  • An app's opening screen arrived the same way (Roadmap f-splash-in-document): brand.splash as { "style": "plain" | "editorial" | "shader" | "ascii", "image"?, "title"?, "kicker"?, "shader"? } — the image a mark as the logo takes one, the shader the NAME of one @graview/pages/splash ships (SPLASH_SHADERS), never code. Three codes judge it where the brand is judged: brand-splash-image and brand-splash-shader (errors; the latter a warning for a shader named on a style that draws none) and brand-splash-style (an edit's, since a document's shape refuses the style first). set-brand takes splash whole, null clearing it, and DocumentDiff says "The app opens on an editorial screen while it loads." A build that predates it refuses the key by path (brand.splash), so a host stores a document with one only on a build that accepts it. A compiled app does not carry it: the screen is a host's first HTML's, drawn from the document. A shader name added to SPLASH_SHADERS (caustics, after 0.1.62) arrives the same way: a build that predates it says brand-splash-shader of it, so a host names a new shader only on a build that ships it.
  • The opening screen's scheme (Roadmap f-splash-follows-declared-scheme): brand.splash.scheme, "light", "dark" or "device", is the one it opens in where the brand's scheme pins none; brand-splash-scheme (a warning) says one the brand's own overrides, and set-brand says it ("The app opens on a dark editorial screen while it loads."). splashHtml opens in the reader's choice where the host says light or dark, else the scheme the app declares — the brand's, else the screen's — else the device's; a host's scheme: "auto" no longer overrides a scheme the app declares. A build that predates the key refuses it by path (brand.splash.scheme).
  • An app on a home screen (Roadmap f-app-icons-home-screen) is @graview/core/head's homeScreenOf(brand, { base, assetsAt?, name?, png? }): the head's tags (html), the web manifest (name, short_name, icons, theme_color, background_color, display: "standalone", start_url and scope at the base) and the files a host answers under the base (/manifest.webmanifest, /icon.svg for an SVG or emoji mark, and the PNGs /apple-touch-icon.png, /icon-192.png, /icon-512.png, /icon-maskable-512.png where the mark is a PNG or the host says png: true). Within a major those paths keep their meaning and the tags only grow. An SVG or emoji mark is never promised as a PNG the framework does not make: without png: true no apple-touch-icon is written. graview serve and graview preview answer the manifest and /icon.svg, and send a PNG size to the brand's own PNG; graview preview writes the tags into its page. A face that owns the page (the Shell, the routed face on its own, an embed told favicon: true) puts a theme-color for each scheme in the head while it is drawn (themeColorsOf), one where the brand pins a scheme.
  • A check finding code added this way (FR-99's view-braces, FR-100's brand-currency and brand-locale, FR-105's act-reads-hidden-kind, FR-108's lens-column-unreached, FR-114's default-range and field-range, FR-115's act-sets-other and act-replaces, FR-124's brand-mark and brand-font, FR-126's brand-accent, FR-132's pages-overview-taken, FR-137's pages-faces-alike, FR-148's page-field, page-field-twice, page-group-twice, page-unknown-field and page-too-large, 0.1.24's rule-says-hidden-fact, 0.1.60's typing-act-without-allowed-on, FR-232's face-reads-content-beside-the-graph, which graview check says of a project's face modules and no declaration or document ever meets, and 0.1.62's rule-covers-relation, said only of a rule's covers) is a warning, a note or an error only about what is new: act-reads-hidden-kind, rule-says-hidden-fact, typing-act-without-allowed-on, face-reads-content-beside-the-graph and view-braces are warnings, lens-column-unreached is a note, and the brand, range, other-end, page and coverage codes judge keys a declaration could not hold before. A rule's require became optional the same way (Roadmap f-rule-covers-every): a rule says require or covers, one of them, and a build that predates covers refuses it by path (rules.<rule>.covers) as a key it does not know, so a host stores a coverage rule only on a build whose @graview/core/document.schema.json has it.
  • The scene's name arrived the same way (FR-132), and its key was respelled when the scene left the places for the bar's switch (FR-137): pages.scene and pages.pages (at most 40 characters each, as pages.overview was) are what the switch calls the Scene and the Pages, "Scene" and "Pages" when unsaid, and arrange-pages takes scene and pages. The scene keeps the address /places/overview whatever it is called. pages.overview, which named the scene's tab in 0.1.15 and 0.1.16, is read as pages.scene (a line in RESPELLED), so a stored document keeps its word, and arrange-pages still reads overview as scene, so a chat or a tool written before 0.1.17 still renames the scene. pages-faces-alike is a warning about a declaration whose two words are the same. pages-overview-taken is a warning about a declared place whose address is the scene's; that place keeps its page on the routed face, and the place list does not offer it. A build that predates the keys passes them over.
  • Where a declaration opens changed without its text (FR-136): an app with a home view (the document's views.home, or a worker view attached to "home") and no other pages.first opens on Pages at its home when the host names no face, where it opened on the scene, and placesOf marks the home first. Under address routing the bare address, naming no face, is the home's whatever face the host names, and the host is told the pages (onFace). A host that wants the scene there links to /places/overview, or hands a stop. An app without a home view opens as before. That address alone is the overview at altitude (FR-154): a fragment never reaches a server, so the framework writes the overview at altitude without one, and reads /places/overview with no fragment, or one that says nothing, as at altitude; a fragment that says where it stands (#focus=t1, #overview=1&focus=…) is read as it says, and #overview=1, written before, still opens it.
  • A kind's page arrived the same way (FR-148): kinds.<kind>.page, { "fields": [...], "groups": [{ "title", "fields" }] }, each part optional, says which facts a record's page shows first and under which headings; the rest follow in the kind's declared order, under "Details" when there are groups. The declaration's display.page is the same choice. The edit vocabulary gained set-page-fields ({ kind, fields, groups? }; an empty fields and no groups take the choice away), and the compile and graview check refuse a name the kind does not have or one named twice (page-field, page-field-twice, page-group-twice in a document; page-unknown-field and page-field-twice in TypeScript). A build that predates the key refuses it as unknown-key. One reading changed without a key: a record's facts are read in the kind's declared order on every face, in describePlace and in readableFields, where they were read in the order the record's own keys were written.
  • A document's facts and a kind's roles arrived the same way, with no FR id (0.1.22). The document's top-level computed names facts of the whole graph, each a rule-language expression or { "expr", "label" }, read as fact('<name>') wherever the language is read; a fact that reads another in a circle is refused (computed-cycle). kinds.<kind>.fieldRoles says which field fills a role a lens binds by name, and the framework reads two: when (a date; a list of the kind opens newest first by it, and a timeline or calendar draws the kind there) and who (a name; an unchosen glance leads with it and when); graview check refuses a role naming no field (field-role-missing-field) or of the wrong type (field-role-ill-typed). A kind may word its own end of a relation several kinds declare, so edge-name-shared is no longer reported. A build that predates the keys refuses them by path. These carry no FR id, so capabilities().shipped cannot announce them, and capabilities() does not list document keys: it is on every page's first load, and the keys a build reads are already published with it, as @graview/core/document.schema.json (JSON Schema, one per version). A host that writes a document for more than one build validates it against the schema of the oldest build it serves, or lets readDocument there refuse it by path.
  • A picture or a document on a record arrived the same way (FR-162): the field types image and file, and list with of: "image" or of: "file", in a document; imageField() and fileField() in a declaration, which toDocument writes as those types. The value is a FileValue, { href, name, type, bytes, width?, height?, caption? }, its href a path on the host under its base (/graview/files/3f9a….jpg, or one relative to the page) and never a scheme, another host, a backslash or a path that climbs (safeFileHref); a store refuses any other value as it refuses any value that does not fit its field. A view's blocks gained { "image": "<field>", "as": "thumb" | "gallery", "label"? }, judged by the check (view-image, an error about a block that could not be written before, and view-format for its as). graview types writes such a field as FileValue (or readonly FileValue[]). A build that predates them refuses the types and the block by path, so a host reads capabilities().shipped for FR-162 before it writes them. A compiled app carries the new field types within graview-compiled@1: a page that predates them cannot build such a field, refuses the compiled app as compiled-shape and compiles the document, which refuses the type by path. A change that leaves no record holding a file says so: MigrationPlan.files lists them, and the plan's words name them; what becomes of their bytes is the host's to decide.
  • A document's preview arrived the same way, with no FR id (HQ f-file-values-carry-a-preview): a stored FileValue may say preview, { src, thumb?, width?, height? } — src a picture of the document its host made (a PDF's first page), thumb a smaller one, each a path on the host as href is (isFilePreview), and src's size in pixels. A value without it means what it meant, and a store refuses a preview that is not that shape as it refuses any value that does not fit its field. A card, a row and an image block's thumb draw a record by a document's preview where it holds no picture or video of its own (firstPicture, isPictured); a record's page draws each document's preview where a PDF's box stood; a worker view or a frame that asks for pictures is handed it as a picture is (src, thumb, width, height, aspect, left), fetched as the reader where the preview is, and its data-lightbox opens the preview full screen. Asking for pictures takes nothing from a document: a file that is not an image or a video is handed as the record keeps it (href, name, type, bytes, caption, at), where it was its name, type and size alone; a picture and a video are handed as before. The document schema says the whole stored shape as $defs.FileValue. A build that predates it does not draw a preview, and hands a view that asks for pictures a document's name, type and size alone, so a host reads the version before it counts on either.
  • A link to another app arrived the same way (FR-171): the field type app-link in a document, appLinkField() in a declaration, which toDocument writes as that type. The value is another app's address — @owner/app, an id its host knows it by, or an absolute http(s) address, at most 500 characters (isAppAddress) — and a store refuses any other value as it refuses any value that does not fit its field. graview types writes it as string. A build that predates it refuses the type by path, so a host reads capabilities().shipped for FR-171 before it writes one; a compiled app carries it within graview-compiled@1, and a page that predates it refuses the compiled app as compiled-shape and compiles the document, which refuses the type by path. A relation whose to is another app's kind is the next line.
  • A relation to a kind in another app arrived the same way (FR-171, the full relation): a relation's to may name "@<app address>/<kind>" — "@nick/house/house", "@app_kf5eydr9z58jzf/house", "@https://example.com/a/house/house" — every target one app's kind (parseLinkedTarget; the address is the one an app-link holds), and linkedRecordField("@nick/house/house", { cardinality? }) in a declaration, which toDocument writes as that relation. The record that links keeps which far record as a value under the relation's name, "<kind>:<id>" (linkedValue), or a list of them for "many"; the far document is never written. graview check refuses a relation that mixes this app's kinds with another's (linked-mixed), reaches two apps (linked-apps), is no app's kind (linked-target), or says inverse (linked-inverse) or appendOnly (linked-append-only), a declared act that connects, severs or sets one (act-linked), and a rule that walks one with out() or in() (rule-linked); a page that compiles without the checker reads such a relation as no relation. The rule language walks it by name (forHouse.listPrice) through the reader of whoever is looking: a far record it cannot read, refused or not yet answered, reads as nothing and is said — a computed value's refused sentence, a rule could-not-judge where it would not hold without it — never thrown. graview types writes it as string (or readonly string[]). A build that predates it refuses an @ target by path, so a host reads capabilities().shipped for FR-171 before it writes one; a compiled app carries it within graview-compiled@1. Since 0.1.35 the edit add-relation takes such a to too, judged by the same rules and refused with the same codes at edits.<n>, and said as scenario gains a relation, "forHouse", to one house in the app @nick/house, another app, read there as whoever is looking.; rename-relation and remove-relation work on one, and planMigration keeps its values, moves them with a rename and clears them with the relation.
  • A phone, a place and a length of time arrived the same way, with no FR id (the Graview Roadmap's f-more-field-types): the field types phone, place and duration in a document, phoneField(), placeField() and durationField() in a declaration, which toDocument writes as those types. A phone is a string of at most 40 characters with at least three digits and only the spaces, +, -, ., /, parentheses and extension (ext. 12, x12) people write one with (PHONE); a place a string of at most 500; a duration a whole number of minutes, none less than none, which a duration field's min, max and step bound as a number's do (FR-114). A store refuses any other value as it refuses any value that does not fit its field. How each is said and linked is the page's and may change in a minor: a phone grouped as a reader in the US or Canada reads a North American number and as entered elsewhere, linked tel:; a place linked to maps.apple.com on Apple's platforms and Google's universal Maps address elsewhere, opened apart (rel="noopener noreferrer"); a duration said "1 h 30 min", and so is a computed field that says as: "duration" — which a TypeScript declaration says itself, and a document's compile writes for each computed field whose parsed expression adds, subtracts, negates or sums durations over a relation (KindPlan.durations in graview-compiled@1, optional; a face reads only as, never the expression's words). graview types writes a phone and a place as string and a duration as number. A build that predates them refuses the types by path; these carry no FR id, so a host validates a document that uses them against the document.schema.json of the oldest build it serves. A compiled app carries them within graview-compiled@1: a page that predates them cannot build such a field, refuses the compiled app as compiled-shape and compiles the document, which refuses the type by path.
  • A time of day arrived the same way, with no FR id (HQ feature f-template-format-cloud-additions): the field type time in a document, timeField() in a declaration, which toDocument writes as that type — a string HH:MM on a 24-hour clock with no day and no zone (TIME_OF_DAY), which a store refuses otherwise ("3 PM", "15:00:00" and a datetime alike). A form, a cell and a migration read "3 PM" as "15:00" (parseTimeOfDay, from @graview/core/words); how it is said is the page's and may change in a minor ("3:00 PM" in en-US, "15:00" in en-GB, never moved by a zone). graview types writes it as string. A build that predates it refuses the type by path; it carries no FR id, so a host validates a document that uses it against the document.schema.json of the oldest build it serves. A compiled app carries it within graview-compiled@1.
  • A template's format grew Graview Cloud's additions within graview-template version 1, as a strict superset: a question's type may be time (an answer is kept as HH:MM); setup words may say ${id} where a letter follows the answer, and a question's ask may say an earlier answer as ${id}; and frameViews (each name, kind, cardinality, title?, reads?) and views (each a worker view's manifest: name, attach, cardinality, title? and the rest the installing host judges), at most five each, every name once. A build that predates them refuses those keys and the time type by path. graview check of a template judges it as well as its document, adding the codes question and view beside setup, seed and template.
  • Markdown in a text field arrived the same way (FR-180): "format": "markdown" on a document's text field, markdownField() in a declaration (a string of at most 20,000 characters, marked so isMarkdownField, from @graview/core/words, says so through optional, default and nullable), which toDocument writes as that format. The value is kept as written. retype-field takes "format": "markdown" to make a text field Markdown and drops it when left out; diffDocuments says either change and neither is breaking. The checker refuses markdown on any type but text, and a number's format on a text, as field-format. A build that predates it refuses the format by path, so a host reads capabilities().shipped for FR-180 before it writes one; a compiled app carries it within graview-compiled@1. The record's page draws it as prose through @graview/core/markdown — headings demoted under the page's own, paragraphs with their line breaks kept, lists, emphasis, code, quotations, rules and tables, links only to http:, https: and mailto: (rel="noopener noreferrer nofollow", a new tab), a picture as its words, and no HTML: within a major that reading only grows, and nothing it reads ever becomes markup. A row, a card, a describe line, a table cell, a search hit and a seat's line about a record say a text field by its start (excerptOf, from @graview/core/words): its first paragraph, heading or item, or about 160 characters, Markdown's syntax taken out; the exact words may be tuned within a major.
  • Whether a field is typed together arrived the same way (collaborative text, phase 2): a document's field may say "collaborative": true | false, which only a text or a string field takes — the checker refuses it on any other type as the error field-collaborative, on a key a build before it refused by path anyway — and unsaid, a text field is typed together and a string is not. toDocument writes the key only where a declaration marked a field (markCollaborative) against what its type says by default. graview describe says which fields are typed together.
  • A date that repeats arrived the same way, with no FR id (0.1.29, the Roadmap's f-recurring-dates): "repeats": true on a date or datetime field in a document, repeatField() beside the date in a declaration (startsAtRepeat: repeatField() beside startsAt), which toDocument writes as repeats. A record of the kind may keep, under the date's name and Repeat, { "every": "day" | "week" | "month" | "year", "interval"?: 1–99, "on"?: weekdays ("tue") for a week or days of the month (1–31, -1 the last) for a month, "until"?: a day, "count"?: 1–1000, "except"?: days, "continues"?: a record's id }, or null once it no longer repeats; the date itself is the first occurrence, and a store refuses any other value (validRepeat). The key <date>Repeat is the framework's: a kind that has a field, relation or computed field of that name is refused (repeat-clash). Occurrences are worked out, never stored, and what reads the date reads the occurrence on or after the day it is judged on — the rule language, today()'s comparisons, a template, a list's sort, filter and date groups, and a kind's "in the next 7 days" — so a rule over a repeating date is judged anew when the day turns (FR-176) with nothing written. A day the series falls on that the month lacks (the 31st, Feb 29) is the month's last; a moment's time of day is kept as written, so one written without a zone stays at its wall time across a clock change and one written with a zone keeps that offset; count counts skipped days. Time zones beyond the one a moment says, and the rest of RFC 5545 (by-week-number, by-set-position, hourly), are not this. The edit vocabulary gained set-repeats ({ kind, field, repeats }, refused of a field that is not a date); retype-field away from a date lets repeats go; a migration moves a record's repeat with its date when the date is renamed, and a change that stops a date repeating drops each record's repeat and says so (DocumentDiff counts <date>Repeat among removedFields, so it is breaking). graview types writes <date>Repeat?: Repeat | null. A build that predates it refuses repeats as unknown-key, and a compiled app carries it within graview-compiled@1; a page that predates it refuses such a compiled app as compiled-shape and compiles the document, which refuses the key by path, so a host that writes repeats serves builds of 0.1.29 or later. These carry no FR id, so capabilities().shipped cannot announce them.
  • What a declaration offers may grow without its text changing. An act that sets a status board's field to a value of its own (book setting status to "booked") is a move to that value's column (FR-108), where a board offered only a free set-<field> act; where a named step reaches a column, the free act no longer does. A TypeScript mutation says the constants it sets as sets, optional, and one without it reads as before.
  • Who the people are arrived the same way, with no FR id (the Graview Roadmap's f-people-kind, f-act-as-me, f-own-end-grants and "visibility scoped by relation"), each optional: kinds.<kind>.people (true on one kind: a record of it whose id is a principal's id is that person; the declaration's people: true, which the installation's user says), policy.grants[].ownEnd (true: every record the call names at the far end of the link the act connects or severs is the principal's own, and every link the act would make or break has the principal's own record at one end — so a connect on a relation of one that would replace somebody else's link is refused; a seat with no id of its own is never offered one) and policy.sees[].via (a relation: a record of the sight's kinds is seen only where that relation joins it, at either end, to the principal's own record; own reads every relation and what they made). $me in an act's effect is the acting person's own record of the people kind — the person, for an agent acting for one — and never an argument, so a document that used $me as an argument's name now means the acting person by it; an act that reaches $me for a principal with no such record is refused as refused, with a sentence. An op whose act wrote its author's own record where its call never named it — $me, or ctx.me in TypeScript — is undone only by that person (or their agent, or the system): anybody else is refused with a sentence, since the same call by them would have done something else. A document edit's rename-relation carries a sight's via with it, and remove-relation is refused while a sight reads the relation, as it is while a lens draws by it. A TypeScript act reads the same id as ctx.me. The checker's codes for them are people-ambiguous, people-unsaid, sight-via-unknown-edge, sight-via-misses-people, grant-own-end-without-link and a document's act-me; none fires on a declaration that says none of the new keys and no $me. A kind's JSON Schema says "x-graview-people": true on the people kind.
  • The edit vocabulary gained the people and the policy (FR-170): set-people ({ kind, people }; true is refused as people-ambiguous while another kind is the people, so a move is false on the one, then true on the other), add-grant and add-sight (a grant or a sight as policy.grants[] and policy.sees[] hold one; a role the document's roles does not list joins it; a first sight on a document with no policy comes with a grant to everyone of every act, since a sight alone would take every act away), and remove-grant and remove-sight (named by what they say: a grant's roles and mutations, a sight's roles and kinds, each list in any order, and any other key given must match too; two that match are refused, asking for the key that tells them apart; a grant on no kind, kinds: [], gives nothing and is refused). remove-kind takes the kind's derived edit-<kind> and remove-<kind> out of every grant, and a grant left with no act or no kind goes; it is refused while every sight shows only that kind, since the sights gone would show everyone everything, so a change says remove-sight first. What the change leaves the people and the policy saying together is judged once it is whole, and refused at its last such edit by the checker's own codes (people-unsaid, sight-via-unknown-edge, sight-via-misses-people, grant-own-end-without-link); grant-act and sight-kind name an act or a kind the document lacks. DocumentDiff's sentences say a grant, a sight, a role and the people kind in the words the edits say them, where a policy changed was "Who may do what changes." (still said of a change those do not cover). The studio says a grant, a sight and the people kind it changed as these ops, where a grant or a sight was a studio-unsaid finding and the people kind was not said at all. A build that predates them refuses the ops as an edit it does not know, so a host reads capabilities().shipped for FR-170 before it offers them.
  • The rule language gained archived records (FR-173), optional within graview-document@1: all('<kind>') reads the live records as before, all('<kind>', true) the archived ones and all('<kind>', 'all') both, and archived() (or archived(<record>)) says whether a record is archived. An archived record is out of every computed field, fact, rule and count that does not ask for it, so a rule over a graph with none archived judges as before. A grant, a rule's repair and editDocument's rename and removal of a kind read archive-<kind>, unarchive-<kind> and merge-<kind> as they read edit-<kind> and remove-<kind>, and graview check knows them, so a grant naming one is no longer grant-unknown-mutation.
  • A kind that is never archived arrived the same way (FR-173): kinds.<kind>.archives, only ever false, says what defineNode({ archives: false }) says — the kind is given its edit- and remove-<kind> and no archive-, unarchive- or merge-<kind> — and toDocument writes it. A document without it archives every kind as before. A grant naming one of the three on such a kind is grant-act, as a grant naming any act the app lacks is. The edit vocabulary gained set-archives ({ kind, archives }), which says what the app stops or starts offering and is refused as grant-unknown-mutation while a grant names one of the three. planMigration brings back, in the same op and said, a record already archived of a kind the change makes never archived (counts.broughtBack), and keeps $archived on every other record it plans, where it used to clear it.
  • The app's locale says more than its money (FR-178), with no new key: brand.locale (a document's and a declaration's) is what every day, time and number is said in on every face, through Intl — a record's facts and glance, a template's {due} and {due | date}, a moment's {at}, a block's field, a rule's line, the calendar, the timeline's hours, the seat's lines, an arrangement's headings — and it is en-US where it names none: "Sep 10, 2023", "3:30 PM", "1,250", where every day was said day first before ("10 Sep 2023"). A host passes the reader's locale as locale on the embed, GraviewProvider and a pages PageContext, which wins over the brand's. What changes is the order and the punctuation of the words a person reads, never a stored value, an op, a tool schema or a finding code; editDocument's and diffDocuments' sentences about a locale say "Days, times, numbers and money are written for …", and describeApp says what the locale makes of a day, a time and a figure. A host that matched the old day-first words reads them from its build's capabilities().shipped, FR-178.
  • What a list offers to filter by arrived the same way, with no FR id (0.1.29, the Roadmap's f-filters-that-scale): pages.lists, { "<kind>": { "filters": [...] } }, names in order what a kind's list offers — a field, a relation, is, or <relation>.<field> (a choice at the far end of a relation); a list a document does not name offers what it offered before. arrange-pages takes filters: { "<kind>": [...] | null } and refuses a key the kind cannot be filtered by, and a filter's grammar takes <relation>.<field>:<value>. A template's formatter excerpt ({summary|excerpt}, {summary|excerpt: <20–1000>}) arrived with it, the same way: a build that predates it refuses the template. The finding codes that came with them are warnings and judge only what is new: pages-filter-unknown (a filter the kind cannot be filtered by, passed over), pages-kind-unknown, the code it was, which now also says a kind pages.lists names that is not there and view-whole-text (a card or a row that puts a text field whole in a text block, which is clamped).
  • The order and groups a kind's list opens in arrived the same way, with no FR id (0.1.30, asked while prioritizing the Graview Roadmap): pages.lists.<kind>.sort ("<key>" or { "by", "direction"?, "then"? }, a field, a computed field or label) and pages.lists.<kind>.group ("<field>" or { "by", "order"?, "closed"? }, a choice or yes-or-no field), beside filters; a list a document does not order or group opens as it did before. arrange-pages takes sort: { "<kind>": … | null } and group: { "<kind>": … | null }, which a build that predates them refuses as keys it does not know. Unlike pages-filter-unknown, the finding that came with them, pages-list-arrangement, is an error: a list sorted by what the kind does not have, grouped by a field that is not a choice or a yes or no, or ordering or closing a value that is not one of its choices is refused, since such a list would open some other way unsaid; only a document that says the new keys can meet it.
  • What a kind's list opens as arrived the same way, with no FR id (the Roadmap's f-display-options-switch): pages.lists.<kind>.opens, a lens over the kind by its title, draws that place's page under the list's own heading at the list's own address, until the address narrows the list (q, archived, by, with, past, sort, group, a relation, and filter where the place flows) or asks for ?drawn=built-in. The edit arrange-pages sets it with opens ({ "<kind>": "<title>" | null }). It follows its own lens when that lens is retitled and goes when that lens is removed, on that lens's kind alone. list-opens-no-place warns of a title that is no lens over the kind, and graview describe says what a list opens as. A document without the key means what it always did: the list opens as a list.
  • How a number is said arrived with no new key (0.1.29, the money bug found on a Cloud app): a number field's format (money, percent) and unit, which a document always held, are now said on every face, and a number's "format": "duration" now means exactly the duration type — whole minutes, said, typed and described to a tool as that type is (x-graview-type: "duration"), its unit no longer read. The edit vocabulary gained set-format ({ kind, field, format?, unit? }, null clearing either): a number's money, percent or duration and unit, or a text field's markdown (FR-180), refused on a field the format does not fit, which a build that predates it refuses as an edit it does not know. add-field and retype-field refuse a format on a field it does not fit, which they took silently before for a number's format. One checker code, field-format, says a format on a field it does not fit in one sentence (""format": "money" is a number's format, and this field is a text"): an error for markdown, a warning for a number's format, which a declaration could always hold; and a note for a number shown as a duration, which the type says once. money-currency warns of money with neither brand.currency nor a currency unit.
  • No key is taken away from a document format within its version, and none is renamed without the old name still being read. 0.1.16 broke this: its American spelling pass renamed a setting's honored (was honoured) in the document as well as in the declaration, and its notes said the document format was unchanged, so every document toDocument wrote before 0.1.16 that carried settings failed to compile ("Nothing knows how to apply undefined"). Since 0.1.17 (FR-134), a key renamed within a format is a line in RESPELLED (@graview/core/document): every reader — readDocument, compileDocument, appFrom and appFromOrCompile on a compiled app an older build made, diffDocuments and editDocument — reads the old name as the new one, keeps the new one when a document says both, and never changes the document handed; toDocument and an edit write the new name. respellDocument does the same for a host and says which paths it respelled. A document stored with the old name is read the same on every later build of the major, so a host need not rewrite it, though its next save writes the new name. packages/core/tests/document/fixtures/ keeps documents and compiled apps as older builds wrote them, made by those builds from npm, and each must compile; a test records every key path a document has been able to carry and fails when one is no longer read, by either name.
  • What the app's own actor may tidy on its own (0.1.30) arrived the same way: kinds.<kind>.tidying ("never" or "no-links") and kinds.<kind>.edges.<relation>.tidying ("never"), optional in graview-document@1, and the edit set-tidying ({ kind, relation?, tidying: "never" | "no-links" | "allowed" }), said in a sentence by editDocument and the same sentence by diffDocuments. A kind that says "never" is given no leave-alone-<kind> or allow-tidying-<kind>, and a grant naming one is the error grant-act; a relation that says what its kind already says is the warning tidying-redundant. A build that predates them refuses the keys as unknown-key. The votes at which the app's own actor makes a suggestion (tidying.autoAcceptAt at the top of the document) have their own edit since 0.1.63, set-app-tidying ({ autoAcceptAt: n | null }), said in a sentence by editDocument and the same sentence by diffDocuments; a build that predates it refuses the edit as one it does not know.
  • One design proposed from a declaration arrived with no new key (Roadmap f-design-composer): composeDesign(document | app, { records? }) and inferJobs(document | app, { records? }) on @graview/core/compose. What they propose is a judgment a version may change — another job, another edit, another color of ACCENT_PALETTE — and that is not a break. What is kept: composeDesign answers { edits, said }, every edit one editDocument of the same version accepts in turn, applied in one change to a document that compiled giving one that compiles with no warning from designFindings; inferJobs answers at most MOST_INFERRED_JOBS jobs, each one graview check accepts; and neither draws anything or changes a document by itself. The critic's design-job-unanswered changed meaning with the derived home that answers jobs: it is said only of a declared home that lists none of a job's kind, with nothing titled over it, and it now carries the set-home that answers it.
  • A plain document's first design arrived with no new key (Roadmap f-compose-home-from-declaration): composeDesign also proposes, only where the document has none, a home of a count headline and a list per kind with the dated kinds first (homeFromDeclaration), and a glance and a row for each kind, leading with its date and its status (glanceFromDeclaration, rowFromDeclaration), each answering { edit, said } or nothing, on @graview/core/compose; a declared home, row or glance is never proposed over, and the home keeps to what each seat sees. A composed row says its date with a formatter added to the closed set, glance ({at | glance}: as a glance at the record says the field), which a build before it refuses by name. What each proposes is a judgment a version may sharpen, held to what composeDesign is held to. The words a host composes with are on the same entry and kept as its other names are: nounWords(kinds, kind) and pluralWords(kinds, kind) say a kind by its noun and its plural as the declaration spells them, never from its id.
  • The composer covers a host's first design with no new key (Roadmap f-composer-covers-cloud-first-design): a row and a glance for every named kind, a row naming the record it belongs to (belongsTo(document, kind): a relation to one record of one other kind, one a rule requires first), an undated home list in its choice's order (choiceOfKind), a dated one from today on (where not (<date> < today()), soonest first, standing only while one is ahead), five dated or ten other records to a list (MOST_DATED_LISTED, MOST_LISTED), a headline of up to MOST_COUNTED kinds the most linked first within a template's 300 characters, counting only those that hold something, the first of up to MOST_HOME_JOBS jobs with records waiting leading where the app declares jobs, one line saying what to add first for an app with nothing in it (Roadmap f-first-home-leads-with-jobs-not-zeros), and nothing proposed for a people: true kind. Which relation a kind belongs to, which choice orders it and how the headline is worded are a judgment a version may sharpen, held to what composeDesign is held to; the names are kept as the entry's other names are.
  • What a declaration is made of arrived with no new key (Roadmap f-document-traits): traitsOf(document | app) on @graview/core/compose (and traitsOfDocument(document) with the vocabulary on @graview/core/traits, an entry a page may fetch, carrying nothing of the composer; Roadmap f-seat-reshape) answers the traits a declaration carries, each one of the closed vocabulary TRAITS — owners, status, schedule, budget, places, sources, stock, votes, private, history, publishing, roster, routines, comparison — with the kinds, fields (<kind>.<field>), relations (<kind>.<relation>), rules, lenses (by title) and acts that carry it, its words (TRAIT_WORDS) and one sentence. The vocabulary is the surface: a name in TRAITS is never renamed or taken away within the major, and one added is said in the changelog, so a host that keeps a person's answers by trait name reads them on every later build. Which traits a given declaration is read to carry, and the sentence each is said in, are a judgment a version may sharpen — read only where the declaration leaves no doubt, as inferJobs is — and that is not a break; what is kept is that every carrier named is in the document and that nothing is read off prose.
  • A starting document composed from parts arrived the same way (Roadmap f-compose-from-parts): startingDocument({ base?, drop?, add?, name, purpose? }) on @graview/core/compose answers { document, took, left, said, edits } (edits, the ones that took in order, replay onto the base in one editDocument call and give document; Roadmap f-seat-reshape) — the base's document (or one kind from nothing) with each dropped kind taken out with what only it served, each dropped trait's own carriers taken out, and each added trait's module brought in joined to the kind people see most; took and left name each part ({ part, what, from }: a kind, field, relation, rule, lens, act, sight or trait, from the base's name or the trait that brought it). What is kept: every change is one editDocument of the same version accepts in turn, the document compiles with no warning, a trait the base already carries is left as it is, and a dropped kind takes only what served it alone. What each module is made of — the field names, the acts, the rule — is a judgment a version may change, and that is not a break. Two of editDocument's edits do more than they did, with no new key: remove-kind now takes the kind's hue out of brand.accents, the sights via a relation that went with the kind, and, when the kind was the people, the acts on the acting person's own record ($me), where it left each behind for the checker to refuse; rename-kind moves the hue with the kind.
  • A Notion database as a connection arrived the same way (Roadmap f-notion-connection): connections.<name> may say "system": "notion" with database (its 32-character id, or { "env" }), kind, optional properties (field → property name, or { "name", "type" }), auth, direction, conflicts, every and paused; a "google-calendar" connection is read as before. The checker judges it with the codes a calendar's are judged with (connection-kind, connection-field, connection-field-type, connection-creates, connection-edit, connection-remove) and three new ones: the error connection-properties (a connection that would keep nothing in step), the warning connection-read-only (a people property, which is only read), and the error connection-secret, which refuses an integration's secret written anywhere in a connection — the one new error a declaration that passed before could meet, and only by holding a secret. A build that predates it refuses "system": "notion" by path, so a host writes one only on a build that has it. What a connection keeps between runs is the SyncState it always was; a Notion connection's cursor is its own JSON (the last last_edited_time it saw and when it last read the whole database), which a host keeps without reading. A Notion connection's relations kept as edges (Roadmap f-notion-several-tables) are additive too: a key of properties may name one of the kind's edges, mapped to a relation property (a property's type may be "relation"), and the checker gains the errors connection-relation (a relation property mapped to a field, or another type to an edge), connection-relation-target (an edge to a kind no Notion connection of the app keeps) and connection-connect (no act a link lands through), and the warning connection-disconnect — none of them met by a declaration that maps no edge. A SyncState may carry unresolved, the pages a relation reaches that no connection has linked yet, still format 1: a build that predates it drops it.
  • A Notion connection may keep several data sources of one database, each its own kind, and makes the properties it needs (request: Notion autocreates the necessary properties): sources: [{ "source", "kind", "properties"?, "description"? }] stands in place of the connection's own source, kind and properties (one form or the other: kind is optional now, and a connection with neither is connection-kind), and create: false turns off making properties. Without create: false, a connection that writes gives a data source each property a mapped field lacks, of the type the field is held in, on its first pass and whenever one goes missing (PATCH /data_sources/{id}): it never renames or deletes one, says one of another type and leaves it, makes no status or people property, and a connection that only reads makes none. A declaration that passed before keeps meaning what it meant, except that a connection which writes now adds the properties it mapped and did not find — say create: false to keep a data source exactly as it is. The checker gains the error connection-sources (two sources for one kind, one data source named twice, or sources beside the connection's own kind, source or properties), and says connection-kind and connection-field at connections.<name>.sources.<n>…. A connection of one source keeps its links' resource pages and its cursor as before; one of sources keeps each source's links under pages:<kind> and its cursor as { "by": { "<resource>": … } }, a host keeping both without reading them. SyncReport.said is new: what the transport did there or found, as sentences ("Made 2 properties in Notion: Status and Due"), absent when it said nothing new.
  • A finding may carry details and fixes (Roadmap f-connection-refusal-in-plain-words, FR-229), beside message, fix and edits, which mean what they meant: details is the framework's own sentence where message is the person's, and fixes is the ways out a host offers as buttons, each { label, edits? } with its edits in editDocument's words where one can be written. connection-creates is the first to say them: where a calendar or a Notion connection names a kind no act makes from the event's or the page's fields alone, its message is "Blocks need a Type, and Google events don't have one." and its fix the three ways in one sentence, where it was the framework's sentence naming the act and the arguments, which is now its details; its code and its path are what they were. The edit vocabulary gained set-connection ({ name, connection } sets or replaces connections.<name> whole, judged for its shape there and for its kind, fields and acts by the checker; connection: null takes it away), which a build that predates it refuses as an edit it does not know, so a host reads capabilities().shipped for FR-229 before it offers a fix that carries one. checkApp's findings carry the same two keys, and graview check prints them beneath the sentence (details:, then fix: <label> with each edit).
  • A weekly record is one recurring event (Roadmap f-connection-weekly-records-recur, FR-230), with one new key: a Google calendar connection's fields may name days, a field that is an enum of weekdays or a list holding mon to sun; then start and end name string fields holding times of day ("09:00"), and each record is one event with a weekly rule in the app's brand.timeZone, its first week the week it is first sent. A start that repeats ("repeats": true) needs no new key: its repeat is the event's RRULE and each day set apart an EXDATE, and a recurring event made in the calendar is a record with its repeat, made and then given it through edit-<kind> in one batch. A build that predates it refuses days by path (connections.<name>.fields), and judged a repeating start as a one-off event. connection-field-type judges the new shapes at their paths (a days field that is not weekdays; a start or end that is not words beside days); no declaration that passed is refused. SyncState is what it was; what a connection's engine is handed to make a record (createInbound) may now say then, the acts that follow the making act in its batch.
  • Formulas join text and build a date-time, and an act carries a change across a link (Roadmap f-formula-text-datetime, f-acts-update-linked). The rule language gained concat, format, datetime (and its alias at), addMinutes, weekday and startOfWeek; an expression that parsed before means what it meant, and a build that predates them refuses each as unknown-function. format's pattern is a closed vocabulary (EEE, EEEE, d, MMM, MMMM, yyyy, h:mm a, HH:mm, words in single quotes), said in the app's brand.locale and on its brand.timeZone — never the reader's — and a moment built lands as a datetime field keeps one (an instant in UTC); an app that says no zone builds on UTC. graview check judges what the declaration alone shows as expr-type and format-pattern at the expression's path; compileDocumentWithoutCheck and a page say nothing new. An act gained setsLinked ({ "<relation>": { "<field>": value } }, on an act with on), optional, an act without it doing what it did; a build that predates it refuses the key by path. effectsOf may return a LinkedSetEffect ({ set, through }) beside the effects a document lists, a mutation definition may say writesLinked, and graview-compiled@1 carries the new effect in an act's plan: a page that predates it would not run that effect, so a host serves a compiled app from the build that compiled it, as it does. The store refuses such an act, naming the record, where the principal may not run the far kind's own edit on one of the records reached; the derived tools and their input schemas are unchanged. The far kind's own edit still offers a carried field.
  • A record that follows another arrived the same way (Roadmap f-keep-linked): kinds.<kind>.derives ({ "from": "<kind>", "via": "<relation>", "set": { "<field>": value } }), optional, a kind without it meaning what it meant, the edit set-derives ({ kind, derives | null }), said in a sentence by editDocument and the same sentence by diffDocuments, and the errors derives-kind, derives-relation, derives-field, derives-value and derives-name (and computed-written for a worked-out field it would set). The store keeps the two in step with ordinary patch-node primitives in the op of the edit that moved either one, so no op, primitive or wire shape changes and a build before it folds the same log to the same graph; a record that follows its source differently is the stored-data code derived-out-of-step. A node definition may say derives, and graview-compiled@1 carries it on a kind's plan: a page that predates it keeps nothing in step, so a host serves a compiled app from the build that compiled it, as it does. A connection may now map a computed field — sent, and never read back — and one that only reads refuses it as connection-computed-read. A build that predates them refuses derives by path, and a computed field in a connection as connection-field.
  • tidying: { autoAcceptAt } at the top of a document (0.1.62, Roadmap f-suggestion-votes) is optional and additive: a whole number from 1 to 10,000, compiled to GraviewApp.tidying and handed to the store as the policy is (StoreOptions.tidying), given back by toDocument, and refused as a shape when it is anything else. One new warning, tidying-votes-unreachable, when it is set and the app has no policy. A kind's own tidying is unchanged.
  • A grant may say propose (0.1.63, Roadmap f-proposals-for-review): acts by name or "*" that its roles may propose and may not run, on the grant's kinds; a grant that only proposes says mutations: [], which a grant with no propose is refused as a shape. Optional and additive in graview-document@1 and Grant; an unknown act in it is the error grant-act at policy.grants.<n>.propose; add-grant and remove-grant take it, said as "A helper may propose “Close it” for review.". Reviewing takes no grant of its own: whoever may run the calls decides. A build that predates it refuses the key by path.
  • Workflows arrived the same way (Roadmap f-jobs-declared, f-job-step-types, f-job-idempotency, f-job-pause-dry-run): a document's top-level workflows and defineApp({ workflows }), by kebab-case name, each { title, when, status?, approve?, steps, follows? }. when is one or several of { every } (words: "hour", "day", "day 03:00", "weekday 09:00", "sunday 18:00", "month 1 09:00"), { cron } (five fields), both on the brand's timeZone, { made, where? }, { changed, fields?, where? }, { synced } and { byHand: true }; status is "active" (absent, the same) or "paused"; approve is "apply", "suggest" or "ask", absent meaning "ask" when a step writes to a kind a two-way connection keeps in step and "apply" otherwise. A step is one of a closed set told apart by its one key (STEP_KINDS, @graview/core/workflows): { act, over?, args?, key?, approve? } and { agent, reads, acts, model?, budget?, approve? }; a later version may add a kind, never change what one means. A compile reads workflows loosely, as a page runs none; graview check judges it with new error codes (workflow-steps-empty, workflow-schedule-invalid, workflow-connection-unknown, workflow-kind-unknown, workflow-field-unknown, workflow-where-invalid, workflow-act-unknown, workflow-key-field-unknown, workflow-agent-acts-empty, workflow-follows-unknown, workflow-shape) and one warning (workflow-sends-out-unasked), each new and so no break. The edit vocabulary gained add-workflow, set-workflow, remove-workflow, pause-workflow and resume-workflow. No op, primitive or wire field is new: a run's ops are ordinary ops by an automated system author workflow:<name>, with lineage.run and lineage.key (a key a lineage already kept as JSON), and the runs themselves are the host's (WorkflowLog), never written into the graph. A record a keyed act step makes is asked for under the id <prefix>:wf.<workflow>.<key> where the act takes an id asked for. A build that predates workflows refuses the document key by path.
  • A workflow step that makes dated records from a pattern (Roadmap f-job-generate-from-pattern) is one more kind of step in workflows.<name>.steps: { "generate": "<kind>", "from": [{ "kind", "where"?, "dates" }], "window", "set"?, "key"?, "link"?, "using"?, "overwrite"?, "approve"? }, additive beside act and agent and refused by a build that predates it as a step of no kind it runs. What it makes it makes through the act that creates the kind, under the id its key gives (<kind>:wf.<workflow>.<key>), so the store's own refusal of a second record under one id is what keeps it from making two; no op, primitive or wire form is new. New finding codes, each an error and said only of a generate step: workflow-generate-dates-unknown, workflow-generate-window-invalid, workflow-generate-set-unknown, workflow-generate-value-invalid, workflow-generate-link-unknown, workflow-generate-no-act, workflow-generate-act-ambiguous, workflow-generate-act-makes-other; it is held to workflow-kind-unknown, workflow-where-invalid, workflow-act-unknown and workflow-key-field-unknown as the other steps are.
  • A workflow step that labels each record (Roadmap f-feedback-triage-agent) is one more kind of step in workflows.<name>.steps: { "classify": "<kind>", "where"?, "field", "options"?, "instruction"?, "floor"?: { "<option>": { "links"?, "words"?, "expr"? } }, "setAside"?: { "<option>": <0 to 1> }, "confirm"?, "relabel"?, "model"?, "budget"?, "approve"? }, additive and refused by a build that predates it as a step of no kind it runs. It sets the label through the act that writes the field and archives through archive-<kind>, with the reason on the op's existing lineage (basis, confidence, model, run); no op, primitive or wire form is new. Its changes wait for a person unless the step says its own approve, and an option in confirm waits whatever it says: a host can hold that nothing it shows the public is labeled so without a person's yes. New finding codes, each an error and said only of a classify step: workflow-classify-field-not-choice, workflow-classify-option-unknown, workflow-classify-floor-empty, workflow-classify-threshold-invalid; it is held to workflow-kind-unknown, workflow-where-invalid and workflow-archive-never as the other steps are.
  • A classify step took two more keys (Roadmap f-workflow-runs-say-more): "otherwise": "<option>", the label a record no option clears is set to (the model chose none and no floor rule holds) where it was left unlabeled for a person, and "applyAt": { "<option>": <0 to 1> }, at or above which a judgment of that option is set without asking; below it, it waits as the step says, and an option in confirm waits whatever applyAt says. Both are additive, and a build before them refuses the step by its unknown key. They are held to the codes the step had: an option the field does not have in either is workflow-classify-option-unknown, and an applyAt past 0 to 1 is workflow-classify-threshold-invalid; no code is new.
  • What a host reads off a workflow run grew in the same change, each addition kept by the host and never in the graph. WorkflowRun (@graview/tools/workflows) says what its model steps spent, spent: { calls, inputTokens, outputTokens, costUsd?, steps: { step, calls, inputTokens, outputTokens, costUsd?, model? }[] } (a classify step's requests through decide counted with the tokens its answers said, a label answered from the cache spending nothing, a dry run's calls counted too), and the workflows whose runs started it, chain (the first first; empty for a run a clock, a person, a connection or a person's change started). triggeredBy names the workflow whose run made the ops that fired a trigger (by: { workflow, run? }, read from lineage.run or the workflow:<name> author), and a run started with trigger.by carries the chain of the run it names in the host's log; one whose chain is longer than runWorkflow's chainLimit (MOST_CHAIN, 3, when unsaid) is held, dry, with a note naming the chain and the limit, so workflows that wake each other stop. A run a host kept before chain reads as a chain of none. The Scene's RunSaid (workflowRuns, lastRunWords) takes each of made, changed, archived and suggested as the ids or a count, and says the same words either way.
  • A workflow step that publishes an app's drafts (Roadmap f-workflow-step-publishes) is one more kind of step in workflows.<name>.steps: { "publish": "head" | "run", "approve"? }, additive and refused by a build that predates it as a step of no kind it runs. It runs the built-in publish act as the workflow's actor, so the publish op is the one a publisher makes, carrying the run's lineage as every op a run makes does (a publish op may now carry lineage where its caller gave one; one without it reads as before). An undone publish op, and a publish call in a declined suggestion, are not declines, so a later publish by an automated author is not refused for them. New finding code, an error said only of a publish step: workflow-publish-live, in an app that does not publish. A run (WorkflowRun) may carry published: { step, changes, from, to, through, as }[], absent when no step published, kept by the host and never in the graph.
  • A Google calendar connection's guests may be capped (Roadmap f-sync-guest-changes-in-history): fields.guests in its { via } form takes max, the most guests one event invites. An event a write would invite somebody to past it is held unsent and said in the report's refused ("Dinner has 34 guests; this connection invites at most 20") and once in the history. One new error, connection-guests-max, for a max that is not a whole number above 0; a build that predates it refuses max by path (connections.<name>.fields.guests). No declaration that passed is refused. Google's own error message now follows the status in a refusal (google-calendar: HTTP 400: Too many attendees), where it was the status alone.
  • The guests typed in a field take the cap too (request:guests-field-form-takes-max): fields.guests may be { "field": "<field>", "notify"?, "max"? }, which "guests": "<field>" is said short. It is held as the { via } form is — an event over max held unsent, in the same words — and judged by the same findings: connection-guests-max at connections.<name>.fields.guests.max, and connection-guests-field at connections.<name>.fields.guests.field. guestsInField and guestsViaRelation on @graview/core/sync read either form. A build that predates it refuses the object by path (connections.<name>.fields.guests), so a host writes it only on a build whose @graview/core/document.schema.json has it; the string form means what it meant.
  • A connection's system may be "todoist" (Roadmap f-todoist-connection), additive in graview-document@1 and refused by a build that predates it as a system it does not know: { "system": "todoist", "project", "section"?, "label"?, "auth"?, "kind", "fields": { "content", "description"?, "due"?, "deadline"?, "priority"?, "labels"?, "section"?, "assignee"?, "parent"?, "completed"? }, "sendExisting"?, "direction", "conflicts"?, "every"?, "paused"? }. Its findings are the connection codes there are, and one new warning, connection-completed. A write an engine hands a transport says the remote's names of what changed (RemoteWrite.changed), and a transport may answer what the remote holds where it is not what was sent and why (RemoteAck.fields, held): each optional, and used by the Todoist transport alone.
  • What a Notion connection of several sources says names the kind each sentence is of (request:notion-said-names-its-source): "left alone in Notion for <kind>: …", "<kind>'s <name>: the property … is left out", "could not make … in Notion for <kind>: …", as "Made N properties in Notion for <kind>" and "no property in the data source for <kind> …" did; and a note two sources both say is said for each. A connection of one source says what it said. SyncReport.saidBy is new beside said: the same sentences in the same order, each { kind?, sentence } — kind the kind of the source it is of, absent for a sentence of the whole connection — present exactly when said is, so a host shows each beside its kind without reading the words. said and its words are display only. @graview/ship's runConnections takes onReport(connection, report), called with each connection's report as each pass ends (the first included; a throw is said, and the pass goes on), and answers firstPass, the first pass's reports by connection name (empty when nothing runs), so a host reads a pass as data rather than splitting sayReport's line, whose words stay display only.
  • What LifeLogics Estimates found (0.1.63, Roadmap f-lifelogics-findings) changed the declaration in five ways, each additive or a refusal of what never drew. A money field (or a computed field said as money) may say "places": 0, optional in graview-document@1, and a template {x | money: 0}: the sum in whole units, rounded; set-format takes places (0, or null to clear it), the document refuses it on a field that is not money, and a build that predates it refuses the key by path, so a host writes it only on a build whose @graview/core/document.schema.json has it. Money is otherwise rounded to the cent before it is judged whole, so it never reads ".00"; the words a sum is said in are the page's, as they were. A kind may work out 60 computed fields where it could 20 — a document with more than 20 is refused by a build before it — and set-glance takes a computed field, as the document always did, but not one kept hidden. A timeline whose start or end is not a number field is lens-cannot-draw at the binding's path, as one with no columns already was — a warning, so a stored document still opens — and add-lens refuses either (lens-cannot-draw, an error at edits.<i>.bindings.<kind>.<role> or edits.<i>.options.columns), its fix naming the bindings a timeline takes and the calendar for spans of dates; nothing that drew is refused. A choice named bare in a template — a describe line, a label, a badge, a rule's sentence — is said by its option's label, else its id spoken, where it said the id; an option written with capitals keeps them where none labels it (humanizeValue). A gesture of several acts that its caller named nothing for is said, in Batch.intent and history, by each act's sentence (the first two and how many more past three), where it was said by its first; an op's intent is display only, and no op changes.

5. Derived tool names and input schemas

Tools are derived from the declaration (createToolRuntime, graview mcp), and a model that listed them before a change sends what it learned then.

  • A change to a derived tool's name, description or input schema for an unchanged declaration is called out in a Compatibility: line, even when it is a fix.
  • A change caused by the declaration (a renamed field renames an argument) is the app's change, not the framework's. The framework's part is saying which tools moved.
  • FR-110 is such a change. Every derived edit-<kind> says additionalProperties: false, so an argument it does not take is refused as invalid where it was dropped. A document's act always says its writes, read off what its sets and effects set on its subject ([] when that is nothing), so an argument that only feeds a record the act makes no longer counts as a write of the subject, and edit-<kind> offers that field again. The conformance kit announces the two fixtures it moved (document:vendors, document:two-lines, 0.1.14). A TypeScript mutation that declares no writes is read as before.
  • FR-121 is such a change. Every act's tool says additionalProperties: false — a document's act, a TypeScript mutation whose input is a plain z.object, remove-<kind> — and a call with an argument the act does not take is refused as invalid, naming what it takes, where the argument was dropped and the act ran without it. An act that creates still takes id. An input its author made z.looseObject, or gave a catchall, keeps what it is not told about and its tool says nothing new; one that is not an object's shape is not judged. An argument given as undefined is no argument. The conformance kit announces the two fixtures it moved (document:vendors, document:two-lines, 0.1.15).
  • A file field's argument (FR-162) is described as an object of href, name, type and bytes, with width, height and caption optional, and a list of them as an array of that object; a seat may set one to a value the host's upload gave, and a value whose href is not a path on the host is refused as invalid. The derived edit-<kind> of a declaration that has no such field is unchanged.
  • A number field's argument with a format or a unit (0.1.29) is described with "x-graview-format" (money, percent, duration, or unit for a measure), "x-graview-currency" for money and "x-graview-unit" for a measure or a duration, and a description saying the value is a plain number ("An amount of money in USD: a plain number, 1250.5 for 1,250.50 USD."; "A fraction said as a percent: 0.15 is 15%."), after the field's own description where it has one; the type and range are unchanged. The conformance kit announces it on document:vendors.
  • An app-link field's argument (FR-171) is described as a string of at most 500 characters with the address's pattern and "x-graview-app-link": true; a seat sets it to another app's address, and anything else is refused as invalid. The derived edit-<kind> of a declaration that has no such field is unchanged.
  • A relation to another app's kind (FR-171) is an argument of the derived edit-<kind>, described as a string of at most 300 characters — or an array of at most 200 — with "x-graview-linked": { address, kinds, cardinality } and a description saying it is "<kind>:<id>"; a seat finds the value with find_linked (relation, query, of, limit), a read listed only for an app with such a relation, answered through the host's linkedRecords as the seat. The tools of an app with no such relation are unchanged.
  • A Markdown field's argument (FR-180) is described as the text field's string with "contentMediaType": "text/markdown" and its description ending "Written in Markdown."; what it takes is unchanged. A derived edit's history line says a string longer than 60 characters by its start (excerpt), not whole.
  • A phone, a place and a duration field's argument says which with "x-graview-type": "phone" | "place" | "duration", and a duration's "x-graview-unit": "minutes"; a field that says nothing of itself is described in words ("A length of time in whole minutes: 90 is 1 h 30 min."). A phone is a string with the phone's pattern, a place a string, a duration an integer of at least 0: a seat sends 90, never "1h 30m", which is refused as invalid. The derived edit-<kind> of a declaration that has none of these fields is unchanged.
  • A time field's argument says "x-graview-type": "time" and its HH:MM pattern, described in words where it says nothing of itself ("A time of day on a 24-hour clock, HH:MM with no day and no zone: 15:00 is 3 PM."): a seat sends "15:00", never "3 PM", which is refused as invalid.
  • A date that repeats is described to a seat as an object of every, interval, on, until, count, except and continues, additionalProperties: false, with "x-graview-repeat": true, or null; the derived edit-<kind> of a kind with one takes it beside the date. Such a kind gains three derived acts, permitted as its edit is: skip-<kind> ("Skip this one", { id, on }), detach-<kind> ("Change just this one", { id, on, …fields }: a record of its own on that day, with the series' fields and the links the series makes, and the day an exception on the series) and split-<kind> ("Change from here", { id, on, …fields }: the series ends the day before and a new one, continues naming it, starts that day); field names the date where a kind has more than one that repeats. Each refuses a day the series does not fall on as refused. A kind with no date that repeats gains none, and its tools are unchanged.
  • Drawing a view and keeping it as a lens arrived as two tools a host opts into (the seat as a guide, B3): draft_view, a read, and keep_lens, which hands the host's drafts.keep the add-lens edit. A runtime lists them only when given drafts (keep_lens only with drafts.keep, and never on a read-only seat), and toolDefinitions only when told drafts: "draw" or "keep", so a surface that did not ask keeps its tools and its hash. Their names, input schemas and answers are held to this section from now on. A lens either tool takes or returns is a declared lens ({ title, lens, on, bindings?, options? }) and is judged as one under the seat's sight; a kind the seat may not see is answered as one that is not there.
  • Running, pausing and resuming the app's workflows arrived as three tools a host opts into (Roadmap f-jobs-declared): run_workflow ({ name, dryRun? }, name one of the app's workflows as an enum), answered with the run — run, workflow, outcome, dry, made, changed, archived, suggested, heldBack, notes — and pause_workflow and resume_workflow ({ name }), which hand the host's workflows.edit the pause-workflow or resume-workflow edit and answer the edit that takes it back. A runtime lists them only for an app that declares workflows and only when given workflows (seatWorkflows from @graview/tools/workflows, the host's store, log of runs and model; pause_workflow and resume_workflow only with its edit), never on a read-only seat, and toolDefinitions only when told workflows: { names, manage? }; graview mcp only with --workflows. A surface that did not ask keeps its tools and its hash; an act can no longer take any of the three names. A run is the app's own actor's (workflow:<name>), whoever asked.
  • FR-167 moved the read tools' answers and three input schemas. Every read answers at most READ_CHARS (8,000) characters of JSON, for a seat's turn and an MCP client alike. get_graph takes offset and answers a page of at most 25 records, the edges out of them, total and, when there are more, more; get_node takes offset and answers its links as { kind, id, label }, 20 each way a page, where it answered whole edges; get_violations takes offset and answers { violations, total, more? } where it answered an array; search_graph answers at most 20 hits whatever limit asked, with more and without matched. A field's text past 600 characters is cut and says its length, and any other read too long to fit answers { cut, partial }. Within a host's turn, a call repeated with the same input is answered { already }.
  • FR-173 added three derived acts to every kind, beside edit-<kind> and remove-<kind>: archive-<kind> and unarchive-<kind> ({ id }, "Bring it back") and merge-<kind> ({ id, into }: the record id is archived and into takes its links). None is destructive; each is permitted through the acts that create the kind, as remove-<kind> is, and a grant may name each on its own. An app that declares an act of one of these names keeps its own. search_graph and get_graph take archived — false when unsaid, true, or "all" — and reach only the live records unless it is given; get_node reads an archived record by its id and says archived: true, as its links to one do. A seat that listed the tools before 0.1.29 sees three more per kind.
  • A search's answer may now hold near hits (0.1.29, the Roadmap's f-semantic-search). When the words find fewer than NEAR_BELOW (5) records exactly, search (@graview/core/search) adds the records a near word finds — one slip in a word of 4–7 letters, two in a longer one, or another form of the word (a plural, -ing, -ed) — ranked after every exact hit, each a node hit with near: true and a why whose strength is "near", with asked (the word typed), matched (the record's own word that answered) and by ("spelling", "stem" or "meaning"). near: false asks for exact hits only, as going to a record by name and the conversation's "things called …" do. search_graph answers the same: a near hit says near: true and why.matched, so an agent never takes one for what it asked. A host's ranker (HostAi.near, or near on createToolRuntime and createMcpHttpHandler, or rank on search) is asked under the same rule with the candidates as { id, kind, label, texts } and answers { id, score, matched? }[] (0–1, nearer higher), at once or as a promise; the result carries it as later, which Find shows when it arrives and search_graph waits for. Find asks it only once the typing pauses (300 ms; an ask a later keystroke overtook answers nothing without reaching the host). Its matched is the host's words, not the record's: a hit keeps at most 80 characters of it (MATCHED_MOST), and search_graph hands it to an agent marked as words somebody else said, { untrusted: true, authoredBy: "the host's ranker", text }, as it marks record text another seat wrote. The ranker is handed only records the seat may see: candidates are filtered by the seat's sight — the kinds kept from it and, record by record, the policy's sees — and by the kinds searched, the horizon and the conditions before it is asked, so a hidden record's text never reaches a host's model, and a score for an id it was not handed is dropped. A ranker that throws leaves the exact answer. Find's row for a near hit carries data-near and says "Near “<word>”" ([data-testid="find-near"]), with the field that answered; /search's row says the same in [data-testid="search-why"][data-near].
  • The ninth walk (W-201) narrowed who a derived act reaches, and only where a grant to every role is the whole way to it. A kind's derived edit-, remove-, archive-, unarchive- and merge-<kind> ride the declared acts that make (or, for the edit, write) the kind; riding only a grant with roles: "*" that names those acts — "Anybody may join", { roles: "*", mutations: ["join"] } — the derived act now reaches the records that seat made, as the log says who made each, and is refused on any other ("Not permitted: … — only on what you made; a coordinator can."), where it reached every record the seat could see. Nothing else changes: a grant of everything to everybody ({ roles: "*", mutations: "*" }, which add-sight writes on a document with no policy, FR-170) names every derived act outright and reaches every record a seat may see; a grant that names the derived act, or says *, reaches every record; and a role's own grant on the acts it rides ({ roles: ["member"], mutations: ["join"] }) reaches every record of the kind, as before. The tool list a seat is handed is unchanged; a call on another's record is refused as forbidden.
A caller names what it makes (1.0)

Ids stay readable slugs when nobody asks for one. Every act that creates — an app's own in code, a document's, a repeat's — takes an optional id beside its own arguments (takesAnId), so an offline batch or an agent's chain names its records up front and refers to them before any server answers; applyAll applies its calls in order, so a later call of the same batch names the record an earlier one made by that id.

  • Honored exactly, or refused in a sentence. A free id of 1–200 characters with no space or control character is the id the record gets. One a record holds is refused (Id "<id>" is already taken) and the whole change with it, never renamed or suffixed; a malformed one is refused before anything runs; and an act that names its records itself, asked for an id, says so (did not make a record with id "<id>") rather than drop it. The id goes to the first record the act mints (freshId), and ApplyResult.minted says, by call, the id each call's act minted first.
  • A seat that does not see everything may ask only for an id of its own — one ending .<seatMark(me)>, optionally followed by -<n>, as the ids minted for it do — since a refusal of any other id could say a record it may not see holds it.
  • A demand and a hint. An id a caller asked for — the id argument, an agent's chain, an offline batch naming its own records — is a demand: made exactly or refused, as above. An id a client minted on its own for a press it applied first is a hint: openRemote sends such a call with mintedHint beside its arguments (a field of MutationCall, additive on the wire; a server before it ignores it). The store makes the record under the hint when it is free and the seat may ask for it, so the rebase keeps the id and a press after it that names the record names the one the server holds. When somebody took it meanwhile the store mints as ever (-2), never refusing, and a later call of the same change that names the hint names the record it made; the rebase then holds the server's id, as it always did. Two people adding "Groceries" at once both land. A press in a later change, sent before the answer, still names the hint. The log keeps each call as the store read it, without the hint.
  • The tool schema's id argument is unchanged.
  • accept_suggestion and decline_suggestion (0.1.62, Roadmap f-suggestion-votes) answer voted: "for" | "against" from a seat the store would refuse the change — the vote kept in place of it, the suggestion still waiting — and list_suggestions carries each suggestion's tally; no tool is added, and no input schema moves.
  • propose_changes (0.1.63, Roadmap f-proposals-for-review, { calls: { act, args }[], intent? }, answered with proposal and its intent) is listed for a seat whose principal — or the person an agent acts for — the policy lets propose an act it may not run, and for no other: a surface whose policy names no propose keeps its tools and its hash. list_suggestions carries proposedBy on a person's proposal.

Held to semver from 1.0: the JavaScript APIs

The five surfaces are what stored data, a declaration and a model depend on. From 1.0 the JavaScript a host and a product call is held to semver as well: within a major nothing exported from a package's exports entries is removed or renamed, a function's parameters change only by an optional addition, and a type changes only so that what compiled against it still compiles — an interface a host implements (PersistenceAdapter, SubscriptionStore, KeptViews, RemoteSystem) gains only optional members, and a union a host reads (RefusalReason, Author["kind"]) may grow, so a host's switch keeps a default. That holds for Store and its options, openStore, openRemote, createStoreHandler, serveStore, the persistence adapters, SyncEngine, the React hooks and providers of @graview/react, and the declaration's define* functions. What a page draws — the React components of @graview/primitives, @graview/pages and @graview/embed, and their DOM — is the look (below) except where this page names a marker a host reaches. A module a package does not list in exports, and anything named internal, is not held.

The files that count as each of the five surfaces for the Compatibility: line are listed in scripts/lib/surfaces.mjs, which since 1.0's foundation also names the sync engine and its state (packages/core/src/sync/), subscriptions and their stored file (/graview/subscriptions, subscriptions.ts, file-subscriptions.ts), a host's views and their file (views.ts, remote-views.ts, file-views.ts), presence (packages/ship/src/presence.ts) and the refusal codes (refused.ts).

Not a surface: the look

The values the theme writes — the shipped palettes, the default faces, weights, radius and spacing, the kit's defaults — are not one of the five, and a patch may move them; the custom properties' names, the Brand keys and what each means are kept, and a change to a value is said on the changeset's Compatibility: line. A host that wants its look held still declares its own brand (schemes, typography, shape), which the framework never overrides.

How a notice looks is the look too (FR-75, FR-236): a toast or a banner is one hairline all round in the app's radius, its tone a small tinted chip at its head ([data-testid="notice-chip"], hidden from a reader, who is told the tone by the status or alert the notice is announced through) and never a colored border on one side; the sentence is [data-testid="notice-sentence"]. What a host's page or harness reaches is kept and said on the Compatibility: line when it moves: the card [data-testid="notice"] with its data-kind and data-tone, its acts [data-testid="notice-action"], its [data-testid="notice-dismiss"], and — on a warning or error toast the framework raised itself, when the host gave onReport (FR-237) — a native [data-testid="notice-report"] whose accessible name is Report this: <the toast's first sentence>, which hands the host { message, code?, place?, record?, version } and leaves the toast standing. The hook's shape is a JavaScript API (NoticeReport, on mount, <Embed>, @graview/embed/pages and the Shell), held as the section above says. A banner stands at the top of the picture it is about, at its middle; on the one face, where the bar is fixed over a page that scrolls under it, it stands under the bar's foot — under a host's strip as well, where there is one — and never over the bar or its places (HQ f-banner-notices-under-bar).

The design kit's revision 03 is such a change. The shipped schemes are built on Graview's identity — paper #f7f7f2, ink #18213a, muted #586174, En Dash navy #001769 as the light accent, #9aabff on a navy ground #0a0f1f in the dark — and paint no wash (wash: "none"); TYPOGRAPHY.body names Montserrat first (never fetched: the host loads it, or the system sans stands in), with three new properties for its weights (--graview-weight-display, -body, -label: 550, 450 and 600 on the framework's face, 600, 400 and 600 on a face a brand names); h1 and h2 are tracked at −0.025em; the default radius is 8 px (6 small) where it was 12 (9). A brand that names its own schemes, faces and radius draws exactly as before but for the heading weight (--graview-weight-display, 600 where the browser's bold was 700), the two largest headings' tracking and buttons' labels at 600. A brand derived with brandFromAccent over the shipped schemes takes the new grounds, panels and inks with its own accent. system-sans in a document is the system's own stack as it always was.

The routed face's type is the look too. It is one scale written by the theme as four custom properties — --graview-text-small, --graview-text-body, --graview-text-heading and --graview-text-title (0.833, 1, 1.2 and 1.728rem, a minor third from the reader's rem) — whose values a patch may move and whose names are kept; an app's own stylesheet that sets one moves that step wherever the face uses it. Headings take the theme's heading rule (--graview-font-display, --graview-weight-display), so a brand's own face and weight always win. What a host's page or harness reaches in a derived list is kept and said on the Compatibility: line when it moves: a row li.graview-row (in ul.graview-rows) holding its link a.graview-row-title and its glance span.graview-row-glance, a search hit the same row as [data-testid="search-hit"], and a group's or a section's heading h2.graview-group-head. A row's glance leaves off the field its group is by and a choice the list is narrowed to one value of.

The one face's panel is the look too (HQ f-one-face-wider-panel, f-one-face-panel-padding). Beside the city at Nearby a desk's panel opens at 55% of the window, or the share a host's panel names (held to 0.25–0.75), never wider than 1192 px and never leaving the city less than 480; a width the person drags it to is kept for that app in that browser and wins; a phone's sheet opens at 40%. Those numbers a patch may move. What a host's page and a view's stylesheet read is kept and said on the Compatibility: line when it moves: while the page is in the panel (out of the window at Nearby, or standing on the Map) the page [data-graview-one-place] and each worker view's root [data-graview-view-root] on it carry data-graview-in-panel, which a full page never does; and the one face's frame sets --graview-gutter, the page's gutter at its sides, in both places, 20px on a full page and 16px in the panel, where the page's column keeps 16 above and 24 below in place of a full page's 40 and 96, each moving there as the page does. Outside the one face it is unset, so a view reads it as var(--graview-gutter, 20px). A view spaces itself by @container queries on its own box rather than by vw: the panel is a little over half the window, and the window's width says nothing of it. --graview-gutter was --graview-page-gutter before 0.2.1.

How the app bar lays itself out is the look too. Since it fits its box, it reads its own width and never the screen's (a phone's bar below 640 px of its own), Find is a small box that says its shortcut and is drawn wide while it is used, and below 900 px of its own Find is the magnifier, which opens the box over the row. Where a face has both, the scene and the pages are in the app menu the chevron beside the app's name opens, with a host's rows and the scheme choice, and what waits for the reader and what has happened are one inbox, a bell with one count. What a host's page or harness reaches is kept as it was and said on the Compatibility: line when it moves: the test ids (app-menu-open, app-menu, app-faces, app-face-scene, app-face-pages, app-menu-row, app-menu-scheme-<choice>, inbox-button, inbox, inbox-tab-<tab>, app-share-open, app-share, app-find, app-find-open, find-box, nav-find, app-places-open, app-place-current). A host whose own bar stands above the embed says what the embed's bar leaves out (bar: { faces: false, name: false }, EmbedBar): with faces: false there is no Scene or Pages in the app menu, with name: false no app-home and no app-name; the places, app-find-open, the standing and profile-button are drawn as ever, and bar: true is the whole bar it always was. On the one face (FR-239; what a routed face that owns its page draws unless its host says sceneUnderPages: false, and an embed only where its host says sceneUnderPages: true) the bar, the embed's or the routed face's own, stands in the one face's bar slot, [data-graview-one-face-bar] (also [data-testid="one-place-bar"]), fixed at the window's top above every layer of the face at Page, Nearby and Map; the slot and its attribute are kept and said on the Compatibility: line when they move.

A host may keep a strip of its own above the one face's bar (HQ f-host-top-inset; Graview Cloud's staff announcements). It says how tall the strip stands as the custom property --graview-host-top, set on the document's root or any element around the face, in any length, and changed as the strip comes and goes; or as hostTop, in pixels, on mount, <Embed> and @graview/embed/pages (FrameOptions.hostTop), which writes it on the embed's element. The bar's slot then stands at the strip's foot; the page keeps room for both above its first words (--graview-one-face-bar is the strip and the bar together); the page as a panel, the boards, the level control and the Map are laid out under the bar in the window's height that is left; the city is not drawn under the strip; and a banner stands under the bar. Unset, the face is as it was. It is read where the one face stands against the window (routing: "address", or a routed face that owns its page); a face held to a box is wherever its host put the box, and keeps none. The property's name, the option and what each moves are kept and said on the Compatibility: line when they move.

Where the places stand is the look as well (FR-145): on a bar with room after the name, the switch and the tools, the app's primary places stand on the row as words, in their order and never more than six with Home — the one the reader is on always among them — and the rest fold into "More"; with too little room the one control returns; a phone's bar keeps the one control. Which places are primary is the declaration's (pages.primary, kinds by name or plural and pictures by title); unsaid, every kind but the ones that support the others (a kind pages.hide leaves off the home, a kind of a module drawn only for its keepers, a note pointing at several kinds that nothing points at) stands, with its pictures, and Connections folds. On the scene the bar's places are the scene's (FR-144): "Everything" (app-place-scene:whole) and each picture (app-place-scene:<kind>:<as>), each with the scene's address for it as its data-place-path (/places/overview for everything, the overview at altitude by its address alone since FR-154; /places/overview#focus=…&in.view=<as>). Inside a district no picture draws, or on a record, the one control names where the reader is — the kind's plural ("Rules") or the record's name — as a place kept off the lists: app-place-current says it, its key is scene:district:<focus>, and it is offered on neither the row nor the drop-down. How many stand changes with the width, the brand's face and the app's places, so a harness never counts on it. What is kept, at every width and on every face, is how a place is reached — one recipe:

  1. Every place the bar offers is one element in the embed, [data-testid="app-place-<key>"], carrying its data-place-path (the same key and path as before FR-145; a list's kind:<kind>, a picture's place:<kind>:<as>, the home's home, connections).
  2. If that element is visible, press it (it stands on the row).
  3. If not, press [data-testid="app-places-open"] — "More" where places stand, the one control where none do, on a phone the page's first line — and press it in [data-testid="app-places"], the list it opens.
  4. [data-testid="app-place-current"] says the place the reader is on: the one control's words, or the place standing on the row, marked aria-current="page".

The list is grouped as before (data-place-group: home, lists, pictures), holding the places that do not stand; app-places-open is absent only when every place stands. The places standing on the row are inside nav[data-testid="app-places-standing"].

How a list arranges is the look too: one quiet line under its title — the count in words ("16 tasks", "4 of 16 tasks" where something narrowed it), then "Sort", "Group" and "Filter", each opening a short list (usePopover("arrange")), and each condition as words with a ×; a narrow line is the count and one "Arrange". A list shorter than eight records has no controls unless its address arranged it. What a host's page or harness reaches is kept and said on the Compatibility: line when it moves: the line [data-testid="<prefix>-bar"] (role="group", named "Arrange"; the prefix is arrange on the derived face and in a lens, list on an app's page that says so), the count <prefix>-count (with <prefix>-kept for "4 of 16"), the words <prefix>-sort, <prefix>-group, <prefix>-add (Filter) and <prefix>-all (Arrange) — buttons whose value is the chosen sort or group, as the selects' was — and the open list [data-testid="arrange-list"], whose entries are buttons carrying the condition or choice as data-value (due, holds:today, price:at-most:25000) and aria-pressed for the one chosen; the direction's <prefix>-direction-asc/-desc and a date group's width <prefix>-bucket-<day|week|month|year|decade> are in those lists; a condition is <prefix>-condition; a date's day is asked in the list (<prefix>-ask-day, <prefix>-day, <prefix>-day-add). The addresses are as before (?sort=, ?group=, ?filter=, ?q=, and the older ?by=, ?<edge>=, ?with=, ?past=1). Adding a record on a list page is one press, [data-testid="act-open-<act>"], which opens form-<act> in place; the form stands open while the list is empty. A list of a kind with a when role (fieldRoles.when) opens, when its address says nothing, newest first by it at any length; a list of forty records or more otherwise opens by name; and a list of forty or more is sectioned by year or letter under [data-testid="list-index"] (each list-section); a harness that wants the stored order passes ?sort=. An app's design that draws a list draws it with ListPage and so carries the same line and ids.

What a kind opens to in the scene when the app drew it no picture is the look too: going into its district (#focus=aggregate:<kind>, a kind with no lens) draws its stop in the box a lens fills — the plural, the count and the description; the creating act first, asked in place; what is overdue or due this week, its problems by rule and what changed since the reader last looked; then a picture its data chooses (a board by its main choice up to 300 records, a calendar where today's month has short records on its main date, else a table of its glance and relations, 50 rows at a time), with the other shape one press away and "Keep as a lens"; from altitude it opens in the panel beside the map a lens opens in (lens-panel), one panel at a time, focused as #overview=1&focus=aggregate:<kind>, where a single press still lists the district (district-panel), which is the seat's add-lens (recipeDraft, @graview/tools/draft). Which shape a kind gets may move with a patch. What a host's page or harness reaches is kept and said on the Compatibility: line when it moves: the region [data-testid="kind-stop"] (named by its h2, data-graview-shape board, calendar or table), kind-stop-primary, kind-stop-acts, kind-stop-problems, kind-stop-as-<shape> (aria-pressed), kind-stop-keep, the table kind-stop-table, each row a pick target for its record (data-graview-pick), with its kind-stop-row-go and kind-stop-row-acts, and kind-stop-more; the arranging line's prefix is kind-arrange; the table asked for is in.as=table in the stop. A view an app registers for the kind at many × full replaces the stop, as before.

What a page draws while a part it fetches has not arrived is kept the same way (FR-139): the line [data-testid="lazy-part-missing"] in the part's place, a polite status, with its button [data-testid="lazy-part-retry"] ("Try again"); a part that never arrives draws that line and throws nothing into the embed. retryingImport is on its own entry, @graview/core/retry, for a page only: the main entry, tools and ship carry no import() of a computed URL, which workerd refuses. A selected record in the scene marks its host data-graview-record-focus, under a declared page is one [data-graview-primitive="panel"] holding [data-graview-spec="page"], and a district's name is [data-graview-district-name] (FR-141, FR-143). Once the place an embed is on has drawn and settled, its root wears data-graview-drawn, the place's path its value, and loses it in the commit that moves anywhere else (FR-188); data-graview-painted is worn the same way once the page and its views are painted, what stands under the page on the one face perhaps still to come, never for time alone (a place said drawn by its ten seconds is never said painted: wait for either), and at the city once that has come too: what @graview/pages/splash lifts on (or on data-graview-drawn), where a picture waits for data-graview-drawn; a worker view's region says data-worker-view-drawn once it has drawn what it was last shown, or data-worker-view-failed; a frame guest's iframe says data-guest-view-drawn, or data-guest-view-failed="silent", and is aria-busy until then. @graview/embed/pages wears both attributes on its root. A view proposed and not kept (draftView, FR-187) is drawn in [data-graview-draft-view="<name>"] (a group named "Draft: <title>") under its line [data-testid="draft-view-line"], on the whole embed and the pages alone, and handle.setDraftView swaps it in place. In an embed, the panes the bar opens and the notices at the foot stay inside the embed's box where they fit there; a harness finds them there, never at the window's foot.

Which chunks a face's first draw asks for is the look as well, and moves with the faces (FR-194); what a host's build reads is kept and said on the Compatibility: line when it moves: @graview/embed/first-draw's firstDrawChunks(metafile, face), which reads an esbuild metafile's outputs (each output's entryPoint and its imports) and returns the chunks a face — "pages", "scene", "graview" or "picture" — asks for as it first draws, by the metafile's names for them, and FIRST_DRAW_DOORS, the doors it reads, each { package, module } (a module by its path in the package's build without its extension). A door the list names that a build never splits off is passed over, so a list a version grows is never one a host's build fails on. What a page fetches before it is wanted (the acts' pane, a date's editor, the Scene beside the Pages) waits until an embed's place has first worn data-graview-drawn.

How the quick ask looks is the look too (Roadmap f-quick-ask-framework; no face draws a field at its foot or a conversation thread): ⌘K (Ctrl+K) opens one card beside what the reader is on, a command bar that becomes the answer card when words are asked, and Find's / stays Find's. What a host's page or harness reaches is kept and said on the Compatibility: line when it moves: the marker [data-graview-quick-ask] (scene or pages) where it is drawn; the card [data-testid="quick-ask"] (role="region", named "Ask about <the thing>" or "Answer about <the thing>", data-quick-ask bar or answer, data-quick-ask-beside the data-graview-view it stands beside or page, data-quick-ask-side right, left, below, above or top), its line quick-ask-about, its field quick-ask-input (a combobox), each row quick-ask-option (data-quick-ask-kind act, show, place, record or ask), quick-ask-close; on an answer, quick-answer, quick-answer-asked, quick-answer-text, each quick-answer-offer (data-ai-offer, data-ai-offer-type), and the ghost of the changes it proposed, ai-ghost, drawn on the card; the context menu's [data-menu-item="ai-ask"] ("Ask about this…"); Find's last row find-ask and the search page's search-ask; the lines' key beside Up, lines-key and its pane lines-key-pane. The Shell's, a routed face's and the embed's quickAsk (a boolean; a setting kept from 0.1.30 as "field" or "hidden" is read with quickAskOf) and handle.setQuickAsk say whether it is drawn, and it is drawn only where the host's ai gives a model and is not off. Nothing in it asks a reader which machine answers: the host gives it once, as ai (HostAi: answer, thinking, fast, and the complete, turn and decide behind them); its answers are kept as AI interactions (ask.kind "ask", with answer), and a change it proposed is a ghost accepted as one batch through ai:<interaction>. The conversation (useGraview().seatTalk, kept under graview:seat:<the app's name>) is the engine a product's own ChatPanel draws; no face draws it. A change to the app itself the conversation proposes (Roadmap f-seat-reshape) is drawn as the card [data-testid="chat-reshape"] (a group named "A change to the app"), its chips chat-reshape-chip (data-reshape-part trait:<name> or kind:<name>, aria-pressed on or off), its loss line chat-reshape-breaking, chat-reshape-accept and chat-reshape-decline; what a host holds is the hook onProposeChange(proposal) → "applied" | "declined" on GraviewProvider, FrameOptions and the pages' context, the proposal's shape (@graview/tools/reshape: said, add, drop, card { said, adds, keeps, drops, breaking } — the reading, never edits; the host composes them with composeReshape({ document, add, drop }) on @graview/core/compose, which answers { edits, document, took, left, said, breaking, notDone }), and that the seat's turn lists propose_change only when the host handed the hook and the seat may change the declaration (mayChangeDeclaration). Which traits a sentence is read to need, what a module adds and the words TRAIT_BRINGS says for it, are a judgment a version may sharpen, and that is not a break.

Sentences a program may match are said in the changeset when they move: the insight observation insight:load:<id>:<edge> reads "<name> <the relation's words>: all <n> <plural>" (or "<n> of the <m> <plural>") since FR-142, a relation's words from its description or inverse, else its key spoken (edgeWords, @graview/core/words).

  • Every kind is given leave-alone-<kind> and allow-tidying-<kind> ({ id }, 0.1.30), unless its declaration says it is never tidied, and an agent's tools gain list_suggestions, accept_suggestion and decline_suggestion ({ suggestion }). The conformance kit announces the new tools on document:vendors, document:two-lines and document:shortlist-0.1.10.

The conformance kit

@graview/core/conformance ships fixtures: declaration documents with the check findings and tool schemas this framework made of them, and op logs with the snapshot hash each folds to. conformance() runs them against this build, or against a build a host hands it, and returns the differences by fixture id. A host runs it before it takes a version.

The fixtures are append-only. node scripts/conformance-fixtures.mjs only ever adds a fixture with a new id, and a lock holds the rest. A change to a recorded fixture is an announced difference (ANNOUNCED), with the version that made it and what changed.

The Compatibility line

A pull request that touches a file on one of the five surfaces asks every changeset it adds for a line:

Compatibility: additive — `Operation.via` is a new optional field; ops without it read as before.

The line says the surface, whether the change is *additive*, *breaking* or *unchanged*, and for whom. scripts/require-changeset.mjs refuses a changeset without one (CI's changeset job), and the files that count as each surface are in scripts/lib/surfaces.mjs. The line goes into each package's CHANGELOG with the rest of the changeset, so every release lists what it did to compatibility.

capabilities()

import { capabilities } from "@graview/core";

capabilities();
// { version: "0.1.43", protocol: 1, documentFormats: ["graview-document@1"], formats: { snapshot: 1, op: 2 },
//   shipped: ["FR-06", "FR-11", …] }

shipped lists the ids of the seams this build ships, by the ids Graview Cloud filed them under. A host retires its interim for a seam when the id appears. A test holds the list to the FR ids the changesets name, so a seam cannot ship unannounced or be announced without shipping.

FRAMEWORK_VERSION is the version alone, for a host that records which framework folded a store.