II.
InteractionPrimitive JSON
Structured · liveinteraction-primitive:amux-triggers-evaluate
amux-triggers evaluate json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "interaction-primitive:amux-triggers-evaluate",
"_kind": "InteractionPrimitive",
"_file": "extensions/interaction-patterns/triggers-cli-subcommands.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "amux-triggers evaluate",
"kind": "cli-subcommand",
"surface": "cli",
"parentBin": "amux-triggers",
"subcommandVerb": "evaluate",
"flags": [
"--backend:1:select trigger backend",
"--event:1:override eventName",
"--event-path:1:override event payload path",
"--query:1:trigger query (key:value or JSON object)",
"--include-diff:0:opt into git-show diff enrichment",
"--token:1:GitHub token",
"--output:1:write evaluation JSON to file"
],
"subcommandExitCodes": [
"0:matched:trigger query matched (printed `{matched:true,reasons,event,query}`)",
"78:skip:trigger query did not match (action.yml:165 treats 78 as soft-skip)",
"1:error:unhandled exception (e.g. unsupported expression clause)"
],
"description": "Enrich the event then run evaluateTrigger against the parsed query, write\n`{matched, reasons, event, query}` JSON to --output (or stdout), and exit\n0/78 on match/no-match. Source: packages/triggers/src/cli.ts:59-66.\n"
},
"outgoingEdges": [
{
"from": "interaction-primitive:amux-triggers-evaluate",
"to": "package:a5c-ai-triggers",
"kind": "subcommand_exposed_by",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agent-ui-impl:agent-mux.ui@current",
"to": "interaction-primitive:amux-triggers-evaluate",
"kind": "supports_interaction_primitive",
"attributes": {
"attributes": {
"mechanism": "cli-subcommand"
}
}
}
]
}