Supported connectors & rollback actions.
AgentRein wraps standard third-party SDKs transparently. Inspect each connector's mapped operations, automated rollback inverses, and safety approval gates.
GitHub
Code & Issue TrackingTrack issues, pull requests, releases, and repository mutations with automated close/restore compensation.
@octokit/restPyGithubimport { Octokit } from '@octokit/rest'
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN })
const agentOctokit = agentrein.wrap(octokit, session, { connector: 'github' })Supported Actions & Rollbacks
20 actions available for GitHub
Files
3 actionsgithub.files.createReversibleCreate file
Create a repository file in a branch
Deletes the created file
github.files.updateReversibleUpdate file
Modify an existing file content
Restores content from beforeState snapshot
github.files.deleteReversibleDelete file
Delete a repository file
Recreates file content from beforeState snapshot
Issues & Comments
4 actionsgithub.issues.createReversibleCreate issue
Create an issue on a repository
Closes the issue automatically
github.issues.updateReversibleUpdate issue
Update issue title, body, or state
Restores fields from beforeState snapshot
github.issues.lockReversibleLock issue
Lock conversations on an issue
Unlocks the issue
github.issueComments.createReversibleCreate issue comment
Post a comment on an issue
Deletes the created comment
Pull Requests
5 actionsgithub.pullRequests.updateReversibleUpdate PR
Update pull request title, body, or state
Restores title, body, and state from beforeState
github.pullRequests.closeReversibleClose PR
Close an open pull request
Reopens the pull request
github.pullRequests.reopenReversibleReopen PR
Reopen a closed pull request
Closes the pull request
github.pullRequests.mergeApprovalMerge PR
Merge a pull request into base branch
Non-reversible (Safety HIGH) — requires approval
github.pullRequestComments.updateReversibleUpdate PR comment
Edit a review comment on a PR
Restores comment body from beforeState snapshot
Releases
3 actionsgithub.releases.createReversibleCreate release
Publish a new tag or release
Deletes the created release
github.releases.updateReversibleUpdate release
Update release assets or body
Restores name, body, and tag from beforeState
github.releases.deleteApprovalDelete release
Permanently remove a release
Non-reversible (Safety HIGH) — requires approval
Reviews
1 actiongithub.reviews.createApprovalSubmit PR review
Submit an approval or change request
Non-reversible (Safety HIGH) — requires approval
Workflows
3 actionsgithub.workflows.enableReversibleEnable workflow
Enable an existing workflow file
Disables the workflow
github.workflows.disableReversibleDisable workflow
Disable a workflow from running
Enables the workflow
github.workflows.dispatchApprovalDispatch workflow
Trigger a workflow_dispatch event
Non-reversible (Safety HIGH) — requires approval
Users & Org
1 actiongithub.users.inviteReversibleInvite user
Send an org membership invitation
Cancels the pending invitation