II.
OperationalTrigger overview
Reference · liveoperational-trigger:adapters-triggers-action
Agent Adapter — reusable GitHub Action composite overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for operational-trigger:adapters-triggers-action.
Attributes
displayName
Agent Adapter — reusable GitHub Action composite
triggerKind
vcs-event
effect
Composite action at packages/triggers-adapter/action.yml. Supports all harnesses
(claude, codex, pi, gemini, copilot, cursor, opencode, hermes) with providers
(foundry, google, anthropic, bedrock, openai). Steps: setup-node →
optional a5c GitHub App token exchange → npm ci + build adapters +
build @a5c-ai/triggers-adapter → optional `adapters install <harness>` →
optional babysitter plugin install → optional legacy plugin install → enrich →
evaluate (exit-code 78 means skip) → if matched: pre-run, adapters launch
<harness> [<provider>] [--model M] [--prompt P] [--max-turns N]
[--with-proxy-if-needed] [--yolo] [args-json|args], post-run.
Outputs: matched, event, exit-code.
idempotent
false
invokerSurface
vcs-event
dispatchModel
reusable-action
payloadShape
NormalizedTriggerEvent
queryDsl
key-colon-value
cliEntrypoint
enrichmentSources
- workflow-event-payload
- github-rest-api
- local-git-show
- git-diff-unified
sideEffects
- Outputs matched=true|false on the step (action.yml:67)
- Outputs event=<path-to-enriched-json> (action.yml:70)
- Outputs exit-code=<adapters exit code> (action.yml:73)
- May install adapters harness + plugins side-effectfully before evaluation (action.yml:103-129)
- Sets AGENT_MUX_TRIGGER_EVENT_PATH env var for pre-run, adapters, post-run steps
sourceCitation
packages/triggers-adapter/action.yml (full composite action; inputs
1-65, outputs 66-75, steps 77-232).
exitCodeSemantics
- 0:matched-and-adapters-success:trigger matched and adapters exited 0 (action.yml:215)
- 78:skip:trigger query did not match (action.yml:165 swallows 78 from evaluate)
- non-zero:adapters-failure:propagated from adapters exit (action.yml:217-220)
Outgoing edges
calls_endpoint2
- api-endpoint:github-pulls-files·APIEndpointGET /repos/{repo}/pulls/{n}/files (per_page=100)
- api-endpoint:github-commits-by-sha·APIEndpointGET /repos/{repo}/commits/{sha}
defines_frontmatter_field28
- frontmatter-field:triggers-action-input-command·FrontmatterFieldadapters-triggers action input: command
- frontmatter-field:triggers-action-input-harness·FrontmatterFieldadapters-triggers action input: harness
- frontmatter-field:triggers-action-input-provider·FrontmatterFieldadapters-triggers action input: provider
- frontmatter-field:triggers-action-input-model·FrontmatterFieldadapters-triggers action input: model
- frontmatter-field:triggers-action-input-prompt·FrontmatterFieldadapters-triggers action input: prompt
- frontmatter-field:triggers-action-input-interaction-mode·FrontmatterFieldadapters-triggers action input: interaction-mode
- frontmatter-field:triggers-action-input-max-turns·FrontmatterFieldadapters-triggers action input: max-turns
- frontmatter-field:triggers-action-input-with-proxy·FrontmatterFieldadapters-triggers action input: with-proxy
- frontmatter-field:triggers-action-input-proxy-log-level·FrontmatterFieldadapters-triggers action input: proxy-log-level
- frontmatter-field:triggers-action-input-babysitter-plugin·FrontmatterFieldadapters-triggers action input: babysitter-plugin
- frontmatter-field:triggers-action-input-process-file·FrontmatterFieldadapters-triggers action input: process-file
- frontmatter-field:triggers-action-input-babysitter-prompt-prefix·FrontmatterFieldadapters-triggers action input: babysitter-prompt-prefix
- frontmatter-field:triggers-action-input-args·FrontmatterFieldadapters-triggers action input: args
- frontmatter-field:triggers-action-input-args-json·FrontmatterFieldadapters-triggers action input: args-json
- frontmatter-field:triggers-action-input-adapter·FrontmatterFieldadapters-triggers action input: adapter
- frontmatter-field:triggers-action-input-plugins·FrontmatterFieldadapters-triggers action input: plugins
- frontmatter-field:triggers-action-input-trigger-backend·FrontmatterFieldadapters-triggers action input: trigger-backend
- frontmatter-field:triggers-action-input-trigger-query·FrontmatterFieldadapters-triggers action input: trigger-query
- frontmatter-field:triggers-action-input-include-diff·FrontmatterFieldadapters-triggers action input: include-diff
- frontmatter-field:triggers-action-input-use-a5c-token-exchange·FrontmatterFieldadapters-triggers action input: use-a5c-token-exchange
- frontmatter-field:triggers-action-input-github-token·FrontmatterFieldadapters-triggers action input: github-token
- frontmatter-field:triggers-action-input-node-version·FrontmatterFieldadapters-triggers action input: node-version
- frontmatter-field:triggers-action-input-working-directory·FrontmatterFieldadapters-triggers action input: working-directory
- frontmatter-field:triggers-action-input-pre-run·FrontmatterFieldadapters-triggers action input: pre-run
- frontmatter-field:triggers-action-input-post-run·FrontmatterFieldadapters-triggers action input: post-run
- frontmatter-field:triggers-action-output-matched·FrontmatterFieldadapters-triggers action output: matched
- frontmatter-field:triggers-action-output-event·FrontmatterFieldadapters-triggers action output: event
- frontmatter-field:triggers-action-output-exit-code·FrontmatterFieldadapters-triggers action output: exit-code
executes_step10
- github-action-step:triggers-action-setup-node·GithubActionStepadapters-triggers action step 1: Setup Node.js
- github-action-step:triggers-action-a5c-token·GithubActionStepadapters-triggers action step 2: Generate a5c GitHub App token
- github-action-step:triggers-action-build-runtime·GithubActionStepadapters-triggers action step 3: Build adapters action runtime
- github-action-step:triggers-action-install-harness·GithubActionStepadapters-triggers action step 4: Install harness
- github-action-step:triggers-action-install-babysitter-plugin·GithubActionStepadapters-triggers action step 5: Install babysitter plugin
- github-action-step:triggers-action-install-plugins·GithubActionStepadapters-triggers action step 6: Install plugins (legacy)
- github-action-step:triggers-action-evaluate-trigger·GithubActionStepadapters-triggers action step 7: Evaluate trigger
- github-action-step:triggers-action-pre-run·GithubActionStepadapters-triggers action step 8: Pre-run pipeline commands
- github-action-step:triggers-action-run-adapters·GithubActionStepadapters-triggers action step 9: Run adapters
- github-action-step:triggers-action-post-run·GithubActionStepadapters-triggers action step 10: Post-run pipeline commands
has_payload_schema1
- shared-context-spec:normalized-trigger-event·SharedContextSpecNormalizedTriggerEvent payload schema
implemented_by1
- package:a5c-ai-triggers·PackageSurfaceTriggers Adapter
parsed_by_grammar1
- grammar:adapters-triggers-query-dsl·Grammaradapters-triggers TriggerQuery DSL
Incoming edges
called_by_trigger2
- api-endpoint:github-pulls-files·APIEndpointGET /repos/{repo}/pulls/{n}/files (per_page=100)
- api-endpoint:github-commits-by-sha·APIEndpointGET /repos/{repo}/commits/{sha}
executed_by_trigger10
- github-action-step:triggers-action-setup-node·GithubActionStepadapters-triggers action step 1: Setup Node.js
- github-action-step:triggers-action-a5c-token·GithubActionStepadapters-triggers action step 2: Generate a5c GitHub App token
- github-action-step:triggers-action-build-runtime·GithubActionStepadapters-triggers action step 3: Build adapters action runtime
- github-action-step:triggers-action-install-harness·GithubActionStepadapters-triggers action step 4: Install harness
- github-action-step:triggers-action-install-babysitter-plugin·GithubActionStepadapters-triggers action step 5: Install babysitter plugin
- github-action-step:triggers-action-install-plugins·GithubActionStepadapters-triggers action step 6: Install plugins (legacy)
- github-action-step:triggers-action-evaluate-trigger·GithubActionStepadapters-triggers action step 7: Evaluate trigger
- github-action-step:triggers-action-pre-run·GithubActionStepadapters-triggers action step 8: Pre-run pipeline commands
- github-action-step:triggers-action-run-adapters·GithubActionStepadapters-triggers action step 9: Run adapters
- github-action-step:triggers-action-post-run·GithubActionStepadapters-triggers action step 10: Post-run pipeline commands
grammar_parses_for1
- grammar:adapters-triggers-query-dsl·Grammaradapters-triggers TriggerQuery DSL