Every MJ: AI Agents row the bundle created, in creation order.
Every MJ: AI Agent Prompts row the bundle created, in creation order.
OptionalAgentAn existing MJ: AI Agent Types id, when one exists. Optional on the schema, and leaving it
unset also skips the server subclass's TypeConfiguration validation, which is not under test.
Unique per-run name prefix stamped on every fixture agent.
Two DISTINCT existing MJ: AI Prompts ids — the required FK on every child row the bundle
stages. Two, not one, because UQ_AIAgentPrompt_Agent_Prompt_Config is unique on
(AgentID, PromptID, ConfigurationID): staging the same prompt twice on one agent would fail
the constraint rather than the behavior under test.
Shared accumulator fixture for the
entity-graph-clientbundle (client transport, mutating).Setup creates nothing — it only resolves the two ids the checks need to reference, so a deterministic-only run writes no rows at all. Each mutating check appends what it created, and Teardown sweeps FK-safe:
AgentPromptIdsbeforeAgentIds, since a prompt row references its agent.