From 54c253d9e93fbe8a8daf54ec932fded91506fc05 Mon Sep 17 00:00:00 2001 From: Jan Unterbrink Date: Mon, 30 Nov 2026 21:36:02 +0100 Subject: [PATCH] chore: add catalog-info.yaml for Backstage Describes this repository for the lab's Backstage catalog: Component `morgentraining`, API `morgentraining-api`, API `morgentraining-mcp`. Owner and system are defined in the lab catalog. Co-Authored-By: Claude Opus 5.5 --- catalog-info.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 catalog-info.yaml diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 0000000..4338068 --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,53 @@ +# Backstage catalog entry for this repository. Owner, system and the +# components named here are defined in the lab catalog. +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: morgentraining + description: >- + Training page for the family: timed rounds around a sun ring, plans built + from a shared exercise library and saved as versions, and a plan, + language and streak per person. People and plans are managed in the + browser, through the JSON API or over MCP. + annotations: + github.com/project-slug: subpathdev/morgentraining + tags: [go, sqlite] +spec: + type: service + lifecycle: production + owner: group:lab + system: morgentraining + providesApis: [morgentraining-api, morgentraining-mcp] +--- +apiVersion: backstage.io/v1alpha1 +kind: API +metadata: + name: morgentraining-api + description: REST API of Morgentraining (people, plans and plan versions, rounds). + annotations: + github.com/project-slug: subpathdev/morgentraining +spec: + type: openapi + lifecycle: production + owner: group:lab + system: morgentraining + definition: + $text: ./api/openapi.yaml +--- +apiVersion: backstage.io/v1alpha1 +kind: API +metadata: + name: morgentraining-mcp + description: >- + MCP tools at /mcp (Streamable HTTP): the REST API's capabilities as + task-shaped tools, for agents and the Verwalten page. + annotations: + github.com/project-slug: subpathdev/morgentraining +spec: + type: mcp + lifecycle: experimental + owner: group:lab + system: morgentraining + # tools/list snapshot, kept current by TestToolsMatchSnapshot. + definition: + $text: ./api/mcp-tools.json