Nox-Lumen MfgNox-Lumen Mfg

github-integration

Capabilities

Review loop automation for GitHub / GitHub Enterprise.

ToolRole
github_get_prPull request metadata (title, body, reviewers, CI signals)
github_get_pr_diffUnified diff payload
github_post_pr_reviewSubmit reviews (APPROVE / REQUEST_CHANGES / COMMENT)
ask_userAmbiguity / policy checkpoints

Review states

StateMeaning
APPROVEReady to merge
REQUEST_CHANGESBlock merge until addressed
COMMENTNotes without a verdict

Typical flow

Webhook: pull_request opened/synchronize

github_get_pr(pr_number=123)
github_get_pr_diff(pr_number=123)

L1 static analysis + L2 code-review

github_post_pr_review(
    event="REQUEST_CHANGES" | "APPROVE" | "COMMENT",
    body="Summary for humans",
    comments=[{path, line, body}, ...]  # inline threads
)

Security & compliance

  • Credentials: PAT or GitHub App (preferred)
  • Scopes: least privilege—only the repo / pull_request surfaces you need
  • Audit: every review action hits the ledger

Invocation

/github-integration Review octocat/hello-world PR #42

Examples:

  • "Sanity-check this PR"
  • "Approve if clean, otherwise request changes"
  • "Post every finding as inline comments"

On this page