Skip to content

Add canonical engineering glossary (GLOSSARY.md)#284

Merged
ptone merged 5 commits into
GoogleCloudPlatform:mainfrom
ptone:scion/language
Jun 1, 2026
Merged

Add canonical engineering glossary (GLOSSARY.md)#284
ptone merged 5 commits into
GoogleCloudPlatform:mainfrom
ptone:scion/language

Conversation

@ptone
Copy link
Copy Markdown
Member

@ptone ptone commented Jun 1, 2026

Restaged for upstream submission. Original fork PR #102 was accidentally merged into fork main (now reverted).

Summary

Adds GLOSSARY.md — a canonical engineering glossary that fixes the preferred term for each domain concept so that code, docs, UI, and prompts share one vocabulary.

Key naming rules established:

  • The concept formerly called grove is now project
  • Bare "broker" is never used alone — always qualified as Runtime Broker, Message Broker, or Event Bus

Covers all major subsystems: Agents, Hub & Hosted, Runtime Broker, Message Broker, Event Bus, Templates, Harness, Project, Secrets, Telemetry, CLI, and Notification concepts.

Closes #[issue not yet filed upstream]

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive GLOSSARY.md to establish canonical terminology for the Scion platform and adds a reference to it in agents.md. The review feedback highlights a typo in agents.md and notes that several existing shorthand definitions in that file contradict the new glossary. Additionally, the reviewer suggests refining the workstation mode description in the glossary's comparison table to improve clarity and consistency.

Comment thread agents.md

## Short hand gossary and project development terminology

> **Canonical engineering glossary:** See [`GLOSSARY.md`](./GLOSSARY.md) at the repo root for the canonical, opinionated terminology used throughout the codebase — the preferred term for each concept and the synonyms to avoid. Prefer these terms in new code, comments, and docs.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While adding a reference to the new canonical glossary is excellent, the section header on line 85 contains a typo (gossary instead of glossary). Additionally, the shorthand definitions immediately below (lines 89–94) contain several outdated terms (such as hub-native, hub-project, linked-project, agent-home, and hub-broker) that directly contradict the newly established naming rules in GLOSSARY.md. Please correct the typo in the header and clean up or remove the redundant/outdated shorthand definitions below to ensure GLOSSARY.md remains the single source of truth.

Comment thread GLOSSARY.md Outdated
| Mode | Server | Tenancy | State & isolation | Canonical use |
|------|--------|---------|-------------------|----------------|
| **Local mode** | None | Single user | Local machine; isolation via git worktrees | Agents launched directly via the `scion` CLI, no server |
| **Workstation mode** | Combo server (Hub + Runtime Broker + Web) on loopback | Single-tenant | That machine | The hosted experience locally, on your own machine |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In the comparison table, the State & isolation description for Workstation mode is currently written as "That machine". This is somewhat informal and less descriptive compared to the other entries (e.g., "Local machine; isolation via git worktrees" or "Hub-coordinated across brokers"). Consider updating it to "Local machine; single-tenant state" for better clarity and consistency.

Suggested change
| **Workstation mode** | Combo server (Hub + Runtime Broker + Web) on loopback | Single-tenant | That machine | The hosted experience locally, on your own machine |
| **Workstation mode** | Combo server (Hub + Runtime Broker + Web) on loopback | Single-tenant | Local machine; single-tenant state | The hosted experience locally, on your own machine |

ptone added 5 commits May 31, 2026 19:26
…up tracker

Add a root-level GLOSSARY.md capturing canonical Scion terminology in the
ubiquitous-language format (preferred term + synonyms to avoid), grouped by
domain cluster, plus an Exceptions & Future Cleanup section tracking known
naming-convergence work. Link it from agents.md as the canonical engineering
glossary.
…inements

Refine entries from review: redefine Message Broker as the pluggable
messaging-integration system (add Broker plugin, Built-in broker); add Event
Bus for the NATS real-time/event capability; collapse hub-native/Hub Workspace
into Hub-managed project/workspace; tighten Template (harness-agnostic, optional
default harness-config), Skill (template-only, Agent Skills link), Profile
(named runtime-broker settings bundle), Harness/Harness-config; reframe Hub as
the control plane in both modes; add Group and Message Group. Expand Exceptions
& Future Cleanup to nine tracked items.
…terms

- Retitle to "Scion Glossary"; drop the "Language" wrapper and promote
  the thematic categories to top-level sections
- Add an Operations section (Attach, Dispatch) and move Profile next to
  Runtime Broker
- Add a Local/Workstation/Hosted comparison table and "See also"
  cross-refs across the main confusable term clusters
- Reframe the intro around the three-way broker collision (incl. Event
  Bus) and defer to the disambiguation rule; sentence-case "Shared
  directory"
- Add canonical entries for Secret, Notification, and Schedule
- Add a "Potential Future Additions" section cataloguing candidate terms
The cleanup items are now tracked by dedicated agents that open GitHub
issues and implementation PRs, so the staged tracker no longer lives in
the glossary. Reword the two intro/disambiguation references that pointed
at the removed section to point at GitHub issues instead.
…tion state

- agents.md: fix 'gossary' typo in section header; remove shorthand
  definitions (hub-native, hub-project, linked-project, agent-home,
  hub-broker) that contradicted the canonical GLOSSARY.md
- GLOSSARY.md: clarify Workstation mode State & isolation column
@ptone ptone force-pushed the scion/language branch from 0717a5a to b326b96 Compare June 1, 2026 02:26
@ptone ptone merged commit 1618f37 into GoogleCloudPlatform:main Jun 1, 2026
4 of 5 checks passed
@scion-gteam scion-gteam Bot deleted the scion/language branch June 1, 2026 12:22
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