Skip to content

docs(glossary): the glossary becomes the shared language - #894

Merged
Blind-Striker merged 5 commits into
masterfrom
docs/glossary-rewrite
Nov 15, 2026
Merged

Blind-Striker merged 5 commits into
masterfrom
docs/glossary-rewrite

Conversation

@Blind-Striker

Copy link
Copy Markdown
Collaborator

What

A one-time rewrite of GLOSSARY.md into the project's shared language, as the maintainers decided: a ubiquitous language rather than a growing catalogue. It is one file with two sections, upstream's domain and this project's own engineering language, each grouped into clusters.

  • Format. Each definition is one or two sentences with no implementation detail. Confusable words get _Avoid_ lines, and general programming concepts are out.
  • Every existing entry is decided.
    • Most are kept and rewritten to that form.
    • Two internal mechanisms are removed, Terminal socket core and Connection snapshot; the runtime canon still describes them.
    • None are merged.
  • Seven drifted terms are corrected against opencode v2.3.0 and the current canon: Compaction, Integration, Project, Controller / Observer, Process identity, Source watch and Plugin activation.
  • Added terms:
    • from the session and terminal domain: Prompt, Turn, Step, Steer / Queue, Current terminal, Takeover;
    • from the event feed: Shared event feed and Admission, described as upstream's concepts;
    • Incumbent and RPC definition, the shared language of public types the next release adds;
    • File system and MCP server.
  • Client name reasons. The Model, File system and MCP server entries say why the SDK names upstream's model, fs and mcp clients LanguageModelsClient, FileSystemClient and McpServersClient, using the reasons the generator's curation records.
  • Sources. Every definition was checked against its source in upstream at the pin or in this repository's canon. Two independent reviews read the definitions against those sources. Each finding they held was fixed: definitions that said more than their source, leftover mechanism, and missing _Avoid_ lines.
  • One canon sentence. docs/architecture/client-runtime.md gets its observer sentence corrected, so the glossary and the runtime canon agree. At the pin, input sent on an observer's connection makes that attachment the controller (packages/process-daemon/src/service.rs).

The maintainer reviewed and approved the final diff.

The same observer error, and an activation statement that contradicts the corrected Plugin activation entry, remain in other documents and in one public XML summary. They are outside this change and recorded in #887.

ADR-0034 impact

None: documentation only, with no public-surface or behaviour change.

Verification

Linux, at this head: restore, the Release build with 0 warnings and 0 errors, and the Tools tests (2,819 of 2,819, Native AOT excluded as CI runs it). Those tests include the canon-reading checks. No test reads GLOSSARY.md.

The glossary is rewritten as the project's ubiquitous language rather than a growing catalogue.
Every definition is one or two sentences and names what a term is, without implementation detail;
the detail that was here lives in the architecture documents that own it. Terms are grouped under
upstream's domain and this project's own language, with avoided synonyms where they exist.

Seven definitions that no longer matched the pinned upstream are corrected: a compaction stands in
for earlier history only once it completes, an integration also offers externally managed
credentials, a project can be a plain directory, input on an observer's connection makes that
attachment the controller, process identity protects against pid reuse only after the process was
first observed, plugin activation is waited for by the provider and model endpoints, and the source
watch keeps its current meaning in shorter form.

New terms cover the turn and its steps, the prompt, the steer and queue delivery choices, the
current terminal and takeover, and upstream's shared event feed with its admission point. The
terminal socket core and the connection snapshot leave the glossary as internal mechanisms. The
model entry records why the SDK names upstream's model client LanguageModelsClient.

The terminal runtime document's sentence about observer input is corrected to match.
The shared event feed's subscribers end with its connection, and the
connection state and endless reconnecting belong to upstream's UI
layer, so admission no longer claims that a later connected event
means a reconnect. A step is a logical unit that may take several
attempts, an execution is one run that a restart replaces, a
single-key envelope is the inline kind, and the unknown variant
carrier holds a known payload only where it can. Source watch and
plugin activation lose their mechanism, and confusable words get
their avoid lines.
Generation does read the watch, to refuse a curated type whose
evidence it does not watch, so the entry says what the canon says:
the watch never feeds generated output.
Both name public types the next release adds. The incumbent is the
running server that owns the service registered at a URL, whatever its
readiness; the lookup that finds it stays out. An RPC definition is a
plugin's typed declaration of its methods and events under its RPC id.
…reasons

The SDK names upstream's fs client after upstream's own FileSystem name,
and its mcp client after the Mcp.Server records it lists, as the
generator's curation records.
@Blind-Striker Blind-Striker added this to the Next milestone Nov 15, 2026
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 15, 2026
Merged via the queue into master with commit 3fa64db Nov 15, 2026
13 checks passed
@Blind-Striker
Blind-Striker deleted the docs/glossary-rewrite branch November 15, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant