---
title: "The Context Boundary: A Backstage Architecture for Safer Engineering Decisions"
description: "Backstage can act as an engineering context boundary: catalog entities, templates, and TechDocs inform an agent before it proposes changes. See where validation and review fit."
---

# The Context Boundary: A Backstage Architecture for Safer Engineering Decisions

**Type:** [Architecture](https://yomu.fyi/visual-explainers/category/architecture.md)

![Layered architecture showing Backstage catalog and documentation feeding an agent context layer, validation and dry-run checks, and a cited engineering decision summary.](https://yomufyi.s3.us-east-1.amazonaws.com/visual-explainers/2b1a2685-dbf7-429f-a6e6-94f9e664fb17/image-7bf9e63c-ccce-4e30-bd7a-5b6c45edbbdc.webp)

> Backstage can act as an engineering context boundary: catalog entities, templates, and TechDocs inform an agent before it proposes changes. See where validation and review fit.

## Explanation

This architecture treats Backstage as a context boundary between organizational knowledge and engineering action. Catalog entities, domains, APIs, templates, TechDocs, and runtime service evidence are gathered before an agent proposes a design or scaffolds code. Validation can happen offline before merge, with an optional reachable portal used to inspect actions or dry-run execution. The output is a reviewable decision summary that preserves the sources behind each choice.

## FAQ

### How does Backstage give an agent useful context before it proposes a design?

The supplied example has an agent query Backstage domains, components, APIs, software templates, and TechDocs, then inspect catalog relationships and specifications. It uses that context to identify existing integrations and produce a decision summary with cited sources instead of relying on an isolated prompt.

### Where should Backstage template validation happen?

Run schema checks, reference-template checks, and offline validation before merge so rendering errors are found early. If a reachable Red Hat Developer Hub instance is available, the workflow can also inspect active actions and dry-run execution against the API.

### Why complement the catalog with runtime service evidence?

Static architecture views can miss current connections. The OpenTelemetry plugin example reconstructs service relationships from live spans, so a runtime service map can provide complementary evidence when reviewing dependencies rather than replacing catalog ownership and documentation.

**Tags:** [AI Governance](https://yomu.fyi/topic/ai-governance.md), [Architecture](https://yomu.fyi/topic/architecture.md), [Backstage](https://yomu.fyi/topic/backstage.md), [Developer Experience](https://yomu.fyi/topic/developer-experience.md), [Documentation](https://yomu.fyi/topic/documentation.md)

## Related reading

### [How Data 360 Builds Trusted Context: The Enduring Layer for Enterprise AI](https://yomu.fyi/post/how-data-360-builds-trusted-context-the-enduring-layer-for-enterprise.md)
- Company: [Salesforce](https://yomu.fyi/company/salesforce.md)
- Author: Scott Nyberg
- Published: Sep 16, 2026
- Type: Explainer

Enterprise AI needs a way to assemble the smallest sufficient set of current, relevant, and authorized evidence for each agent turn instead of sending an entire data estate to a model. Salesforce presents Data 360 as a shared Trusted Context runtime spanning Salesforce, external platforms such as Databricks and Snowflake, operational systems, documents, knowledge bases, and live signals. Its progressive pipeline connects data through ingestion and Zero Copy, then harmonizes, unifies, models, retrieves, reconciles, governs, and compiles evidence into a token-fit Context Pack with citations and action contracts. The Agent Context Engine also returns typed interaction traces, promoting only approved facts into durable memory and validated outcomes into learnings. Q2 FY27 production usage is reported at 104.3 trillion connected records, including 81.5 trillion Zero Copy rows, while proposed benchmarking covers correctness, authorization, provenance, freshness, latency, cost, and memory continuity.


### [Constraining AI agents with Red Hat AI: Containment, identity, and governance](https://yomu.fyi/post/constraining-ai-agents-with-red-hat-ai-containment-identity-and-govern.md)
- Company: [Red Hat](https://yomu.fyi/company/red-hat.md)
- Author: Grace Ableidinger
- Published: Sep 16, 2026
- Type: Tutorial

AI agents running on laptops or clusters may inherit broad filesystem, network, and credential access, making faulty permissions or prompt injection potential security risks. The guide uses Red Hat OpenShift to build layered controls around an OpenClaw agent: namespace isolation, default-deny network policy, ResourceQuota, and optional Kata Containers contain workloads and limit escape or resource abuse. SPIFFE and SPIRE issue rotating SVIDs based on workload attributes such as namespace and ServiceAccount, allowing services to verify an agent without shared secrets. Governance adds OPA Gatekeeper admission policies, an MCP Gateway with risk-tiered tool authorization, NeMo Guardrails for prompt and completion filtering, and MLflow traces for auditability. The recommended rollout starts with namespace isolation and quotas, then adds sandboxing, identity, and the more involved governance controls.


### [Behind the Scenes: How the OpenTelemetry Plugin Maps Your Microservices in Real-Time](https://yomu.fyi/post/behind-the-scenes-how-the-opentelemetry-plugin-maps-your-microservices.md)
- Company: [Jetbrains](https://yomu.fyi/company/jetbrains.md)
- Author: Nikita Dukin
- Published: Sep 16, 2026
- Type: Explainer

Outdated architecture diagrams and static code analysis can miss how services are connected at runtime, so the OpenTelemetry plugin builds a Service Map from live telemetry. With a lightweight local OpenTelemetry backend, the plugin supplies standard OTel environment variables, receives application spans, and continuously updates an internal architecture model that the IDE renders on demand. Its stream-processing algorithm classifies spans through semantic attributes, identifies services, matches HTTP CLIENT and SERVER spans across propagated trace context, and infers database or messaging dependencies while retaining unmatched spans in memory. Because spans can arrive out of order and traces have no definitive finish signal, the map is incrementally reconstructed rather than built from complete traces; the result is a language- and vendor-agnostic view for OpenTelemetry-instrumented applications across several JetBrains IDEs.


### [Red Hat Developer Hub: Preventing compliance violations with AI coding agents](https://yomu.fyi/post/red-hat-developer-hub-preventing-compliance-violations-with-ai-coding.md)
- Company: [Red Hat](https://yomu.fyi/company/red-hat.md)
- Author: Evan Shortiss, Ben Wilcock
- Published: Sep 15, 2026
- Type: Explainer

AI coding agents can generate services quickly, but they may miss organization-specific architecture, ownership, and compliance rules stored in an internal developer portal. A demo connects Claude Code to a Backstage-based Red Hat Developer Hub through Backstage CLI actions, allowing the agent to query domains, components, APIs, software templates, and TechDocs before proposing a design. In a simulated Parasol Insurance catalog with more than 500 entities across 14 domains, the agent finds an existing but unrelated reconciliation service and resolves a Claims–Billing messaging conflict by keeping IBM MQ at the payment boundary and publishing internal events to Kafka. It then uses catalog relationships and specifications to identify integrations and produces a Technology Decision Summary that cites the sources behind each choice, making the resulting decisions reviewable and traceable.


### [Red Hat Developer Hub software template authoring with rhdh-templates](https://yomu.fyi/post/red-hat-developer-hub-software-template-authoring-with-rhdh-templates.md)
- Company: [Red Hat](https://yomu.fyi/company/red-hat.md)
- Author: Kashish Mittal
- Published: Sep 7, 2026
- Type: Announcement

Red Hat Developer Hub software template authors often face Nunjucks syntax, uncertain location.yaml placement, and errors discovered only after rendering in the developer portal. The rhdh-templates skill in the RHDH Users Skill Pack equips an AI assistant with RHDH and Backstage conventions, Nunjucks helpers, schema checks, reference templates, and local validation. After installation, it can scaffold repositories, guide interactive parameterization of existing codebases, add template parameters and Scaffolder steps, generate location.yaml, and check templates offline before merge. With an optional reachable RHDH instance, the skill can list active actions, read their schemas, and dry-run execution against the API; the walkthrough uses the Quarkus getting-started quick start and reports a clean validation run as the readiness signal.
