Skip to main content
Attributes an existing pull request to the current agent as an artifact. This command runs on an agent VM. The gh wrapper calls it after creating a PR, the git shim calls it when a pushed branch has an open PR, and workspace preparation calls it when an adopted branch already has one. It records the PR URL, title, head branch, state, and review state so the PR appears in the agent’s progress history and in murmur status output. The command fetches the PR’s title, head branch, state, and review decision from GitHub with gh pr view. If the lookup fails, the PR is still attributed: the URL alone is sufficient. The command uses the MURMUR_WORKFLOW_ID environment variable to identify which agent to report to. It resolves the repository URL from the --repo flag or auto-detects it from the origin git remote.

Synopsis

Arguments

Environment variables

Examples

Attribute a pull request

The repository is auto-detected from the origin git remote. The PR title, head branch, and state are fetched from GitHub.

Attribute a pull request with an explicit repository URL

Errors