Skip to content

docs: map guanbear clawtributor emails - #90547

Merged
vincentkoc merged 1 commit into
openclaw:mainfrom
guanbear:clawtributors-guanbear-map
Jun 29, 2026
Merged

vincentkoc merged 1 commit into
openclaw:mainfrom
guanbear:clawtributors-guanbear-map

Conversation

@guanbear

@guanbear guanbear commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Map the commit author emails used by already-merged guanbear contributions to the guanbear GitHub login in scripts/clawtributors-map.json.
  • This keeps the clawtributors generator attribution-based instead of adding a manual ensureLogins entry.

Context

Verification

  • node -e 'const fs=require("fs"); JSON.parse(fs.readFileSync("scripts/clawtributors-map.json","utf8")); console.log("json ok")'
  • git diff --check

Note: I attempted to run pnpm exec tsx scripts/update-clawtributors.ts, but the local shallow worktree first missed seed commit d6863f87; after fetching that object, the generator stalled while resolving user metadata through GitHub API. This PR therefore keeps the change to the attribution mapping only, so the README can be regenerated in maintainer/CI environment.

Real behavior proof

Behavior addressed: The clawtributors generator can resolve the existing merged OpenClaw contribution author emails used by guanbear to the GitHub login guanbear, instead of leaving those contributions as anonymous contributor entries.

Real environment tested: Local OpenClaw checkout on macOS, PR branch clawtributors-guanbear-map at head 8dea78191cea9e1a17ec725e285fc2c76181ed85, using GitHub API responses from openclaw/openclaw and the real scripts/clawtributors-map.json file.

Exact steps or command run after this patch: Verified Git author config now uses the GitHub-associated email; queried GitHub commits for the merged PRs #80037 and #85904; queried the OpenClaw contributors API; parsed scripts/clawtributors-map.json as JSON; checked whitespace with git diff --check.

Evidence after fix:

git config --global user.name
guanbear

git config --global user.email
[email protected]

node -e 'const fs=require("fs"); const map=JSON.parse(fs.readFileSync("scripts/clawtributors-map.json","utf8")); console.log(JSON.stringify({"[email protected]":map.emailToLogin["[email protected]"],"[email protected]":map.emailToLogin["[email protected]"]}))'
{"[email protected]":"guanbear","[email protected]":"guanbear"}

gh api repos/openclaw/openclaw/commits/044f5a814e35288c0b70014cac71aec98de81d14 --jq '{author_login:(.author.login // null), email:.commit.author.email, name:.commit.author.name}'
{"author_login":"guanbear","email":"[email protected]","name":"guanbear"}

gh api repos/openclaw/openclaw/contributors?per_page=100\&anon=1 --paginate --jq '.[] | select(.email=="[email protected]") | {login,name,email,contributions}'
{"login":null,"name":"guanbear","email":"[email protected]","contributions":2}

git diff --check
exit 0

Observed result after fix: The map now contains both author emails used by the already-merged guanbear contributions, and those emails resolve to guanbear through the same emailToLogin mechanism the clawtributors generator already uses for attribution correction.

What was not tested: I attempted to run the full README generator locally. The local shallow worktree first lacked seed commit d6863f87; after fetching that seed object, the generator stalled while resolving GitHub user metadata. I did not commit a regenerated README from the partial local run; this PR intentionally keeps the patch to the attribution map only.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels Jun 5, 2026
@clawsweeper

clawsweeper Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed June 21, 2026, 7:35 AM ET / 11:35 UTC.

Summary
The branch adds two guanbear email-to-login entries to scripts/clawtributors-map.json for the clawtributors attribution generator.

PR surface: Other +2. Total +2 across 1 file.

Reproducibility: not applicable. as a bug reproduction; this is contributor-attribution metadata. The behavior is source-verifiable through update-clawtributors, and the live GitHub contributors API still shows the anonymous row this mapping corrects.

Review metrics: none identified.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🦞 diamond lobster
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Run the clawtributors generator in a trusted maintainer or CI environment if the README wall should update in the same landing batch.

Risk before merge

  • [P1] The PR does not commit regenerated README output, so visible contributor-wall credit will update only after maintainers run the generator in a trusted environment.

Maintainer options:

  1. Decide the mitigation before merge
    Land the narrow map update after maintainer review, then regenerate the README contributor wall through the trusted generator flow when visible output should change.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • [P2] No repair lane is needed; the PR is waiting for maintainer review of the map-only change and optional README regeneration timing.

Security
Cleared: The diff only changes attribution-map data and does not touch executable code, dependencies, workflows, credentials, lockfiles, or release surfaces.

Review details

Best possible solution:

Land the narrow map update after maintainer review, then regenerate the README contributor wall through the trusted generator flow when visible output should change.

Do we have a high-confidence way to reproduce the issue?

Not applicable as a bug reproduction; this is contributor-attribution metadata. The behavior is source-verifiable through update-clawtributors, and the live GitHub contributors API still shows the anonymous row this mapping corrects.

Is this the best way to solve the issue?

Yes. Adding entries to the existing emailToLogin map is the narrowest maintainable correction; changing generator logic or using ensureLogins would be broader than needed.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against d1cbe29f3d52.

Label changes

Label justifications:

  • P3: This is a low-risk attribution metadata cleanup with no runtime, config, provider, channel, dependency, or security-boundary change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body includes terminal and GitHub API output showing the patched map values and the matching anonymous contributor-row problem.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes terminal and GitHub API output showing the patched map values and the matching anonymous contributor-row problem.
Evidence reviewed

PR surface:

Other +2. Total +2 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 1 2 0 +2

What I checked:

  • Repository policy: Read the full root policy and scripts-scoped guide; the scripts generated-output guidance shaped the review but did not make this map-only PR a line-level defect. (AGENTS.md:1, d1cbe29f3d52)
  • Current main state: Current main's emailToLogin map has four entries and no guanbear mapping, so this PR is not already implemented on main. (scripts/clawtributors-map.json:33, d1cbe29f3d52)
  • PR-head mapping: The live PR head parses and both proposed attribution-map entries resolve to guanbear. (scripts/clawtributors-map.json:34, 2e3005ff98e7)
  • Generator contract: update-clawtributors reads scripts/clawtributors-map.json, normalizes emailToLogin, and returns explicit email mappings before heuristic fallbacks. (scripts/update-clawtributors.ts:18, d1cbe29f3d52)
  • Live attribution target: The live GitHub contributors API still reports an anonymous contributor row named guanbear with two contributions, matching the correction path this map entry targets.
  • Related merged contribution history: The two body-mentioned guanbear PRs are closed and merged, and their merge commits are the contribution history this mapping is meant to resolve. (044f5a814e35)

Likely related people:

  • gumadeiras: GitHub history shows docs: clean up clawtributors generator touched the map, generator, and types that this PR extends. (role: generator/map cleanup contributor; confidence: high; commits: 84185cb3eb99; files: scripts/clawtributors-map.json, scripts/update-clawtributors.ts, scripts/update-clawtributors.types.ts)
  • steipete: History shows multiple earlier clawtributors generator, README layout, and login-inference changes around this attribution surface. (role: original and adjacent generator contributor; confidence: high; commits: 41f972c30727, c892f38d3c68, cfd796a51502; files: scripts/update-clawtributors.ts, scripts/update-clawtributors.types.ts, README.md)
  • vincentkoc: Recent history shows script hardening and test work on the clawtributors generator path and surrounding scripts test infrastructure. (role: recent area contributor; confidence: medium; commits: 17e2fbfa8614, 3a82bf5766d3, fe329ffff0c6; files: scripts/update-clawtributors.ts, test/scripts/update-clawtributors.test.ts)
  • shakkernerd: Prior work changed unresolved clawtributors filtering, which is adjacent to this attribution-resolution path. (role: adjacent behavior contributor; confidence: medium; commits: ef1ffacfb2bc; files: scripts/update-clawtributors.ts)
  • guanbear: Merged OpenClaw contribution history for this account is the concrete attribution input the mapping corrects, beyond authorship of this PR. (role: affected contributor identity from merged history; confidence: medium; commits: 044f5a814e35, f1cb9f2f6a75; files: scripts/clawtributors-map.json)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@openclaw-barnacle openclaw-barnacle Bot added proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels Jun 5, 2026
@guanbear

guanbear commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Added structured Real behavior proof for the clawtributor email mapping and the latest Real behavior proof check is passing. This PR intentionally maps existing merged contribution author emails to guanbear through emailToLogin, without adding a manual ensureLogins entry.

@clawsweeper

clawsweeper Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added the rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. label Jun 5, 2026
@guanbear
guanbear force-pushed the clawtributors-guanbear-map branch from 8dea781 to 2e3005f Compare June 5, 2026 05:01
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. and removed rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. labels Jun 5, 2026
@vincentkoc
vincentkoc merged commit 87db23e into openclaw:main Jun 29, 2026
166 of 174 checks passed
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jun 29, 2026
chenyangjun-xy pushed a commit to chenyangjun-xy/openclaw that referenced this pull request Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants