Skip to content

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:

workspace.yaml
# Kitchen sink: one of every Element type and state the viewer draws.
teams:
core:
name: Core
edge:
name: Edge
data:
name: Data
environments:
prod:
name: Production

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:

sink/project.yaml
id: sink
name: Kitchen Sink
owner: core

Set 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:

sink/model.yaml
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: edge

A child inherits nothing from its parent: Shop’s Services are owned by Core, unless they say otherwise, whoever owns Shop.

  • 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.

An owner that names no Team is an error, with a suggestion when it is close to one:

shop/model.yaml · fails check: unknown-team
services:
web:
name: Web
checkout:
name: Checkout
owner: paymnets

archidocs check reports unknown-team and suggests payments. Add a new Team to workspace.yaml first.

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.