github-author-context · git:20260508.546b267 · 2026-05-08 · sha256 868f1f3a6a1cadb2
github-author-context git:20260508.546b267A
Immutable. This exact content is served forever at /api/v1/blob/868f1f3a6a1cadb2.
---
name: github-author-context
description: GitHub contributor context for non-Peter PRs: identity, activity, trust, company/team signal.
---
# GitHub Author Context
Build a compact maintainer-facing profile for a PR author or GitHub user. Use this by default during PR review unless the author is Peter (`steipete`, `Peter Steinberger`, or an obvious Peter-owned bot/account).
## Inputs
Prefer a GitHub login. From a PR:
```bash
gh pr view <n> --json author,url,headRepository,baseRepository -q '{author:.author.login,url:.url,repo:.baseRepository.nameWithOwner}'
```
Skip the profile pass for `steipete` unless the user explicitly asks.
## Source Order
1. Local OpenClaw maintainer notes:
```bash
rg -n -i "<login>|<name>|<discord>" ~/Projects/openclaw-maintainers/people ~/Projects/openclaw-maintainers/data
```
If a person file matches, read only the relevant sections:
- `Verdict`
- `Identity`
- `Company Affiliation`
- `Metrics`
- `Discord Communication`
- `Evidence`
- `Risks` / `Concerns` / `Recommendation` when present
2. Live GitHub public profile:
```bash
gh api "users/<login>" --jq '{login,name,company,location,bio,blog,twitter_username,created_at,followers,following,public_repos}'
```
3. Target-repo activity:
```bash
gh search prs --repo <owner/repo> --author <login> --state merged --limit 20 --json number,title,mergedAt,url
gh search prs --repo <owner/repo> --author <login> --state open --limit 20 --json number,title,updatedAt,url
gh search issues --repo <owner/repo> --author <login> --state open --limit 20 --json number,title,updatedAt,url
gh api "repos/<owner>/<repo>/collaborators/<login>/permission" --jq '{permission,user:.user.login}' 2>/dev/null || true
```
For OpenClaw, prefer the existing `openclaw-maintainers` person file over recomputing activity unless freshness clearly matters.
4. Local git evidence when useful:
```bash
git log --all --author="<login>" --since="90 days ago" --oneline --decorate --no-merges | head -40
git shortlog -sne --all | rg -i "<login>|<name>|<email>"
```
## Output
Keep it short. Add this block near the top of a PR review:
```text
Author context: @login
- Who: <name/company/location/role, confidence>
- Activity: <merged/open PRs, issues, reviews/commits if known>
- OpenClaw signal: <maintainer/candidate/drive-by/vendor/security/unknown>
- Risk: <review-load, broad PRs, low history, company-governance, none obvious>
```
Do not quote private phone/email/contact details unless Peter asks. Separate employer from company-directed OpenClaw work; almost everyone has an employer.