package com.cameleer.server.core.ingestion;

import com.cameleer.common.graph.RouteGraph;

/**
 * Pairs a {@link RouteGraph} with the authenticated agent identity and environment.
 * <p>
 * The agent ID is extracted from the SecurityContext in the controller layer,
 * the environment from the agent registry (which in turn came from the agent's JWT
 * at registration), and all are carried through the write buffer so the flush
 * scheduler can persist them.
 */
public record TaggedDiagram(String instanceId, String applicationId, String environment, RouteGraph graph) {}
