Teams and ownership
A Team is a group that can own things. Teams are defined once, in workspace.yaml, so every Project uses the same ids:
# Kitchen sink: one of every Element type and state the viewer draws.teams: core: name: Core edge: name: Edge data: name: Dataenvironments: prod: name: ProductionEvery Element has one Owner
Section titled “Every Element has one Owner”The Owner is the one Team accountable for an Element. It is never blank and never shared: when something breaks, there is one Team to ask.
The Owner defaults to the Team that owns the Project, from project.yaml:
id: sinkname: Kitchen Sinkowner: coreSet owner on an Element only when it differs. In the Kitchen sink, the Core Team owns the Project, the Edge Team owns the web front end, and the Data Team owns the datastore and the broker:
systems: shop: name: Shop description: An internal System with every Service type. services: web: name: Web description: An app Service. technology: React owner: edge tags: [customer-facing] links: - label: Runbook url: https://wiki.sink.example/runbooks/web relationships: - to: api description: Calls technology: JSON/HTTPS api: name: API description: An app Service with Components. technology: Node.js components: orders: name: Orders technology: TypeScript module relationships: - to: orders-db description: Stores orders in technology: SQL - to: payment-gateway description: Charges cards through technology: HTTPS catalogue: name: Catalogue technology: TypeScript module relationships: - to: search description: Searches with technology: HTTPS orders-db: name: Orders DB description: A datastore Service. type: datastore technology: PostgreSQL owner: data events: name: Events description: A broker Service. type: broker technology: Kafka owner: data mailer: name: Mailer description: Subscribes to order events. technology: Go relationships: - to: api description: Emails a receipt for each order interaction: async via: events channel: orders.placed payments-provider: name: Payments Provider description: An External System. external: true owner: edgeA child inherits nothing from its parent: Shop’s Services are owned by Core, unless they say otherwise, whoever owns Shop.
What else has an Owner
Section titled “What else has an Owner”- A Relationship belongs to its consumer’s Owner: the Team that depends on something is the one that declares it.
- A Deployment belongs to its Service’s Owner.
- A Deployment Target has an Owner of its own, defaulting to its Project’s Team, like an Element. Big Bank’s Platform Team owns the AWS region, but the Core Banking Team owns the data centre declared beside it.
Owners must exist
Section titled “Owners must exist”An owner that names no Team is an error, with a suggestion when it is close to one:
services: web: name: Web checkout: name: Checkout owner: paymnetsarchidocs check reports unknown-team and suggests payments. Add a new Team to workspace.yaml first.
Ownership in the viewer and MCP
Section titled “Ownership in the viewer and MCP”Every node in the viewer and in an exported diagram carries its Owner: a coloured stripe with the Team’s short code, so the colour never carries it alone. The Team Lens highlights what one Team owns, and the Teams tree lists each Team’s Elements.
Over MCP, list_owned answers “what does my Team own?” and list_teams lists the Teams. A Saved View can select a Team’s Elements with a {team} selector, or open with the Team Lens.