GitHub Issues Plugin
What It Does
@agentxchain/plugin-github-issues mirrors governed run state into one configured GitHub issue.
It listens to:
after_acceptanceon_escalation
and updates:
- one plugin-owned comment per run
- managed AgentXchain labels for phase or blocked state
Install
Install by short name (recommended):
agentxchain plugin install github-issues \
--config '{"repo":"owner/name","issue_number":42}'
Config
{
"repo": "owner/name",
"issue_number": 42,
"token_env": "GITHUB_TOKEN",
"api_base_url": "https://api.github.com",
"label_prefix": "agentxchain"
}
Required fields
repoGitHub repository inowner/nameform.issue_numberIssue number to mirror into.
Optional fields
token_envEnvironment variable that contains the GitHub token. Defaults toGITHUB_TOKEN.api_base_urlAPI base URL override for GitHub Enterprise or test servers.label_prefixPrefix for labels managed by the plugin. Defaults toagentxchain.
Runtime Behavior
- The plugin reads the hook envelope from stdin.
- It upserts one comment per
run_idusing a stable marker. - On
after_acceptance, it syncs:<label_prefix><label_prefix>:phase:<phase>
- On
on_escalation, it syncs:<label_prefix><label_prefix>:blocked
- It preserves non-AgentXchain labels already on the issue.
Failure Semantics
- Advisory only.
- Missing or invalid plugin config returns
warn. - Missing token env returns
warn. - GitHub API failures return
warn.
Boundaries
- This plugin does not close issues.
- It does not claim post-gate approval or completion because the shipped hook surface has no post-gate callback.
- It binds one plugin install to one GitHub issue. Multi-issue routing is not part of the shipped contract.