Skip to content

You are currently viewing documentation for0.1.0-beta.1

GitHub App setup and draft pull requests

Choose runtime detection or source remediation

Use the Runtime SDK, the core product, to instrument agent calls and configure detection windows. Reviewed selective runtime repair is opt-in and independently verified. The GitHub App is the complementary distribution and remediation surface: it authorizes draft change requests for validated source fixes in selected repositories. Installing the App does not detect drift or protect runtime traffic.

Check availability before installing

Hosted GitHub App install is unavailable by default and hosted publication remains unqualified. The dashboard must show a configured installation host before it offers a handoff. There is no public Marketplace installation or managed source-fix service to enable from this guide. If install is unavailable, keep using the runtime SDK and local Node CLI source binding and patch export; local export does not grant publication authority.

Install and select repositories

When your host enables this path, sign in as the organization owner and open connection setup in the dashboard. Choose Install GitHub App, distinct from Install runtime SDK. Complete recent authentication if requested. In GitHub, choose only selected repositories and review the requested permissions. Complete the host-configured GitHub user authorization and return to the same dashboard organization to confirm the installation. The server verifies the installing account and selected repositories before storing tenant bindings. A callback URL or installation number alone is not proof of authorization. Refresh installation status; connected means repository authorization only, not a detected finding or an opened PR.

Review GitHub permissions

The admitted App uses Contents: write and Pull requests: write on selected repositories, with GitHub metadata read access. Each publication token is narrowed to one selected repository and those two write permissions. No workflow or administration permission is admitted. The publisher exposes no approve, merge or deploy operation. App private keys, installation tokens, user authorization codes and webhook secrets remain private to the host. GitLab, Bitbucket and Azure DevOps adapters are not yet supported; their permission and draft semantics require separate adapters.

Expect draft-only proposals

Installation is separate from source access, inference consent, publication consent and exact candidate approval. A valid source fix requires reviewed facts, an authorized committed base and independent before/after validation. Qualified deterministic recipes may use explicit standing draft permission; every model candidate requires human approval of that exact candidate. The publisher creates an absent bot branch and a draft PR only. Missing draft support, lost permissions, protected bases, moved heads or human commits stop publication or require revalidation. It never force-pushes or falls back to a ready PR. Uncertain creation stays pending until scoped reconciliation finds an attributed receipt.

Read lifecycle evidence

After an attributed receipt exists, the source-fix panel can show the PR link, branch marker, draft state, lifecycle and separately sourced CI status. Unknown, pending, failed, approval-required and passed CI states remain distinct. Signed webhooks only invalidate cached state; fresh canonical provider reads establish the projection. Humans merge. Merged does not imply deployed or resolved, and CI does not prove vendor acceptance or business write correctness. Local test fixtures do not qualify a live installation.

Pause or revoke access

Pause automatic drafts or revoke source-repair consent from the source-fix review after checking the exact scope and revision. Revoke installation from connection setup to stop new grants, or uninstall the App or remove repositories in GitHub. Refresh status to see blocked or revoked bindings. An already-open PR remains visible; an in-flight external write may require reconciliation. Revocation does not delete an existing proposal or change the Runtime SDK mode.

To issue a scoped API key, open the dashboard, select your organization and environment, then go to Settings → API Keys.