Repository navigation
docs(glossary): the glossary becomes the shared language - #894
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A one-time rewrite of
GLOSSARY.mdinto 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._Avoid_lines, and general programming concepts are out.v2.3.0and the current canon: Compaction, Integration, Project, Controller / Observer, Process identity, Source watch and Plugin activation.model,fsandmcpclientsLanguageModelsClient,FileSystemClientandMcpServersClient, using the reasons the generator's curation records._Avoid_lines.docs/architecture/client-runtime.mdgets 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.