Skip to content

feat(identity): accept co-author credit from trusted-proxy headers - #196867

Merged
roboclaw-bot merged 6 commits into
openclaw:mainfrom
russellb:feat/explicit-git-coauthor
Nov 12, 2026
Merged

roboclaw-bot merged 6 commits into
openclaw:mainfrom
russellb:feat/explicit-git-coauthor

Conversation

@russellb

@russellb russellb commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Related: #196845

What Problem This Solves

A shared OpenClaw Gateway behind Keycloak identifies separate users, but ordinary Keycloak profile claims do not establish the verified GitHub identity needed by existing automatic commit credit. Publication credentials serve a separate purpose.

User Impact

An administrator can map authenticated proxy headers to a co-author name and email, with an optional email-verification header. HTTP and WebSocket profile admission import that pair into protected profile metadata. Profile shows the pair read-only and requires explicit consent before publishing the email in commit history.

This proposal is proxy-only. There are no editable co-author name/email fields, manual identity preferences, custom overrides, or custom-before-default precedence. Existing GitHub-derived credit remains the fallback. These claims do not link a GitHub account or change the authenticated principal, permissions, or publication credentials. Independently verified, host-selected GitHub identities remain available for mentions; proxy claims never create GitHub mentions. Updating alone does not reset existing Cloudflare/Tailscale GitHub credit when the new organization mapping is not enabled.

The related OIDC Profile fix prevents issuer-qualified sign-in subjects from appearing as default display names or linked email addresses, including after name/avatar saves. The underlying authentication aliases, binding IDs, profile IDs and role inputs remain intact. A deliberately chosen display name with the same HTTP(S)-URL-plus-subject shape is also hidden, without deleting its stored value; it can be replaced with a human-readable name. No database schema migration is introduced.

The implemented attribution layout shows the selected name/email inline beside the consent control, removes the separate Credit source row and the paragraph below the pair, and explains that Linked emails serve sign-in/profile linking rather than determining commit credit. Organization details use existing protected metadata. Verified public-GitHub credit uses a read-only self-profile projection derived from the verified account ID/login, sharing the actual trailer's noreply formatter. Enterprise commit addresses remain excluded from profile responses. Consent defaults and publication selection are unchanged.

Deployment compatibility

For existing Cloudflare Access and GitHub-backed Tailscale team Gateways, this remains additive when configuration is unchanged: updating alone does not require relinking or re-enabling existing Git co-author credit. Enabling the new organization mapping intentionally selects a new address source and requires disclosure consent. Current deployment-scope report.

The feature is configuration-gated, not exclusively multiplayer-gated. A single-person trusted-proxy deployment may opt in, and shared Profile UI/API and OIDC presentation improvements can affect single-user profiles too. Ordinary token/password owner installations gain no new personal co-author identity or authentication permissions. We do not claim zero changes outside multiplayer mode or a newly performed live Cloudflare/Tailscale upgrade test.

Why This Change Was Made

Our Keycloak proxy maps authenticated name, email, and email_verified claims to overwritten upstream headers while preserving the issuer-qualified subject. OpenClaw accepts them only after successful trusted-proxy authentication. Missing/invalid configured claims clear imported details.

Imported details are bound to their principal/credit-header mapping. A replacement mapping withholds previously imported details and requires renewed consent after refresh. Enabling credit atomically checks the organization details observed in Profile, including their absence. Inactive stored metadata does not block GitHub-fallback consent or silently revive later. Updates under an unchanged mapping retain the existing profile-wide preference.

The existing preference, profile, and attribution owners preserve merge opt-outs, participant/delegated attribution, incognito exclusions, publisher separation, and publication-time checks. One protected organization-metadata slot remains outside the 128 user-preference allowance.

The OIDC presentation repair addresses the misleading identity fields observed during live validation of this same Keycloak flow. Presentation normalization stays in the existing server profile owner; the shared browser display-name helper remains unchanged. Canonical authentication data is not filtered. The attribution layout reuses the existing Profile and settings components, with no new module, stylesheet, persistent state or authentication path.

Review Repairs

  • Bind stale-view consent to the observed organization pair using atomic preference preconditions, and bind imported metadata/consent to the current proxy mapping.
  • Reconcile proxy changes in already-open Profile pages, including notifications received during a pending save.
  • Preserve independently verified public and Enterprise GitHub mentions/account IDs when organization details supply the trailer address.
  • Keep public-email context in the organization-credit control's description, with detailed explanation in the existing help popover.
  • Repair runtime-policy, worker, typed-event and callback fixtures without weakening production guards or assertions.
  • Keep opaque OIDC subjects out of default names and Linked emails across catalog reads, presence projections and mutation responses. Hide the empty Linked emails row.
  • Preserve the original 1,003-line, review-repair 464-line and OIDC/Enterprise 63-line regression allocations. The layout/API/browser-fixture regressions have a separate 107-line allocation; the shared scalar is unchanged.

Evidence

Current integration: 0164d66f9c4d3c17c3d42f7fa8b8b1944842de56

Rebased onto canonical main b10c9e1 to resolve the generated config-baseline conflict. The owning config-documentation generator regenerated the conflicting hash artifact and its canonical check passed; no hash was hand-computed or edited. Range-diff preserves all four contributor patches and the cleanup patch unchanged. The only feature-patch difference is the generated baseline hashes reflecting current main. Contributor authorship/sign-offs and Sally’s credit are preserved. Cleanup remains separate as 0164d66f9c4d, following feature-repair commit 4870fb5.

Rebased-head verification: 84 focused tests passed across eight files (attribution 11, documentation 10, import/admission 18, canonical profiles 13, Profile UI 32; 75.94 s wrapper wall time). Canonical config-documentation/protocol checks, UI typecheck and whitespace checks passed. The source checkout is clean. GitHub reported the new head mergeable after the exact-lease push; CI and security approval remain separate gates, not an all-green claim.

Earlier cleanup/main-integration checkpoint: b89c163bb68b

The five approved cleanups are published in a separate commit, 8ef6995e9398. It removes 11 production lines and 102 test lines across seven paths: temporary config-artifact emission is removed and the four documentation-key checks share the existing renderer; consent becomes local to the Profile identity read; protected object/null denial uses the canonical preference test; quota/admission cases retain 128 saved preferences, both transports, cross-transport refresh and consent preservation; and both GitHub-backed/organization-only UI cases retain the stronger consent assertions. Main at 0001c18 is included by merge commit b89c163bb68b094ae9d316b61bfc37e9091654fd, without rewriting the existing contributor or feature commits. There were no overlapping changed paths or merge conflicts; the exact lockfile remained unchanged. The cleanup commit is intentionally not squashed.

Integrated-head verification: 59 focused tests passed across six files (documentation 10, canonical profiles 13, admission 4, Profile UI 32; 70.96 s wrapper wall time). UI types, targeted lint, formatting/whitespace, canonical gateway:validators:check and config:docs:check passed; the generator checks changed no committed files. Fresh independent review found no actionable cleanup issue. These checks preserve the distinct contracts rather than deleting failed behavior tests. Broad new-head CI remains separate; importing main does not claim the earlier CI failures are fixed.

The PR now changes 62 paths versus the integrated main, down from 63 before cleanup. The published UI copy/layout is unchanged by cleanup; the general raw-Git prompt issue remains deferred to #197860.

The preceding 7fb8a615 revision changed only the Git co-author help wording from 7e57878990ef, retaining the upstream sentence structure while including organization-provided details. Keyless i18n, formatting and both public/Enterprise help browser scenarios passed again; the UI bundle built successfully. The layout/API source and earlier focused proof are otherwise unchanged. The separate no-credit prompt repair was considered but is not included, at Sally’s request to keep this PR focused.

The approved attribution layout is now implemented, not just a design preview. Independent source review found one stale assertion for the removed row; it was repaired to check the disabled switch, configuration guidance and absence of an inline identity. No additional correctness, privacy, Solid-reactivity or mutation-retention finding was reported. The browser fixture was also brought into line with the existing organization preference read and atomic consent precondition, and its public/Enterprise scenarios then passed.

After explicit task-scoped authorization, dependencies were installed offline from the exact frozen lockfile in the independently owned task checkout, without lifecycle scripts or changes to shared installs/live Gateway state. The canonical pnpm gateway:validators:gen refreshed the committed validator; pnpm gateway:validators:check passed. The large generated diff is compiler checker/index renumbering plus the optional self-profile field, not hand-edited generated code. Keyless pnpm ui:i18n:baseline passed; its raw-copy baseline stayed unchanged.

Earlier focused proof on 7e57878990ef, before the cleanup and integration checks above:

  • users.test.ts: 45 passed; 45.73 s Vitest duration, 49.24 s tool wall time. This includes compiled-result validation for public-GitHub details and Enterprise-address exclusion.
  • profile-page-coauthor.test.tsx: 12 passed; 3.38 s Vitest duration, 5.14 s wall time. Inline identity, sign-in/credit separation, consent, stale views and mutation projection retention are covered.
  • git-coauthor-attribution.test.ts: 11 passed; 12.64 s Vitest duration, 14.44 s wrapper time. Existing organization, verified-account, participant and inherited-credit behavior passed.
  • The two public/Enterprise sign-in/credit browser scenarios in profile-page.e2e.test.ts: 2 passed, 9 explicitly unselected; 14.56 s Vitest duration, 17.29 s wall time. Their production UI bundle built successfully in 10.25 s. This is a mocked-Gateway browser boundary test, not a live Keycloak or publication replay.
  • UI typecheck and the Gateway-method test typecheck passed. Focused UI lint passed. Core lint reported only the existing users.ts max-lines limit: the prior published file already had 742 physical lines against a 700-line rule; this delta adds ten physical lines. No limit override or unrelated size-only extraction was introduced.
  • Trusted static formatting/parsing and working/staged whitespace checks passed. Existing OIDC resident and real-Gateway regressions remain committed; they are not described as newly rerun by these focused commands. New-head CI timings/results remain pending.

Simplification removes the separate source row and reuses the existing Profile/projection owners and raw binding APIs. The earlier layout update modified 13 paths already in the PR and added the browser-test helper path and allocation record (61 → 63 paths); cleanup subsequently reduced the changed-file set to 62. No manual identity editor, parallel store, database migration or stylesheet was added.

The current linear history retains four Russell Bryant-authored commits, one RoboClaw/Sally feature-repair commit and the separate cleanup commit. The rebase changed commit IDs, not contributor authorship or the source/test patches; the earlier main-merge checkpoint above is historical. Fresh managed-writer and actual fork-head checks preceded the force-with-lease update against b89c163, and the fork/PR head were read back at the SHA above. No merge into main or release was performed.

Refreshed implemented-layout/OIDC screenshots and live results for 7e57878990ef, before the help-copy-only revision above, are recorded in the existing maintainer evidence comment, replacing the earlier run. That refresh includes a retained failed raw-Git assertion; it is not an all-green claim. Current-head CI is tracked separately. No repository hook code was executed.

CI findings on preceding integrations

Run 43259466349 completed red on preceding head 6a561ab7134572f3167c0dcaa11d641b685b959c. Its failed Gateway shard reported a 30-second timeout in server.auth.guest-dictation.test.ts; no matching-main attribution or proven repair is claimed. The workflow-size shard and aggregate gate also failed. This is prior-head evidence, not the current head's result.

Run 43254633341 belongs to earlier head 9ba4f766ef653070ab85f5f4f514b65c541dee94.

  • Enterprise-profile shard: users.self correctly returned no opaque principal in emails, while the test expected one. The committed assertion matches actual-email-only presentation and separately proves the principal binding survives.
  • Control UI performance: candidate New Session boot was 806,647 B gzip versus paired base 806,389 B (+258 B). The base already exceeded its 805,886 B cap, permitting only 64 B variance. The subsequent server-only normalization move addresses this growth path; the latest layout/protocol projection still needs current-head CI measurement. Startup JS and total CSS were also over fixed ceilings on both sides with zero candidate growth; those baseline failures are not silently relabeled green.
  • Workflow-size guard: the exact CI base 7b75336b789cae240bb82caa931ff7387e04e46a contains the same 480,352-byte ci.yml reported by the failure against its 480,000-byte guard. This PR changes neither the workflow nor the guard. The exact base Git objects and assertion were inspected without rebasing; this is an attributed upstream failure, not a reason to alter unrelated workflow policy here.

Maintainer live validation and screenshots

Refreshed evidence and inspected synthetic-identity screenshots now cover 7e57878990ef52f77a5314cbd36eff81aa9b2ade, replacing the prior-head run. Fresh Keycloak OIDC/proxy/Gateway state and real model turns verified the implemented inline layout, disclosure help, consent off → on → off commits, and opaque-subject/empty-Linked-emails suppression after name/avatar saves and reloads. Shared-task commits credited only the consenting participant, then only the other participant after consent reversal. Mapping replacement disconnected the old connection, canceled its queued save and required renewed consent.

A fresh verified-backup/package/Doctor upgrade from stable 2026.11.3 retained both profile IDs and saved choices. First organization import preserved the opt-out and reset the prior opt-in. Synthetic stable preferences were seeded through the authenticated API with explicit maintainer authorization. The baseline screenshot is a genuine stable-release capture, not an off-state labeled before.

Retained failure: the separate-task no-trailer assertion failed. Alice remained opted out and the production attribution resolver returned no credit, but the model read earlier repository history and explicitly added Alice's trailer through raw Git. Bob's credit did not leak. No passing replay, product fix or all-green live result is claimed. The ordinary-task empty-credit prompt branch and direct-Git boundary also exist in upstream base 8864d27. This is a pre-existing agent/prompt limitation, not evidence that the new proxy resolver ignored consent or leaked Bob’s profile credit. It is tracked separately in #197860, filed on behalf of @sallyom; no prompt fix, Git wrapper or hook is added to this PR. The failure did not require mid-session revocation.

The disconnect still prevents exercising a delivered stale save's atomic-conflict response live. Broker-managed publication and GitHub-rendered attribution remain untested. Prior-head ClawSweeper conclusions do not automatically cover this refreshed result. Fixed asset-size budget violations remain in the refreshed UI build output; CI findings above remain separate.

Earlier CI and canonical configuration metadata

Run 43229841343 completed on c74e47e5425b0a6737fcf4c190216438ef3523d3. Selected Node/runtime, UI, UI-E2E, docs and baseline-ratchet jobs passed. Android Access 16-KiB job 131222856333 failed resolving Gradle/Maven buildscript dependencies before tests, leaving the aggregate CI gate red. The PR changes no Android/Gradle inputs, workflows, CI scripts or root package/lock files. The classifier called it new because matching main passed; no matching-main failure, persistent source regression or general Maven outage is claimed. This is historical evidence, not a current green run.

The original docs/ratchet failures were PR-caused stale generated metadata, not upstream noise. Four core documentation entries change 2,647 to 2,651. Owning integration job 131196831664 emitted the exact canonical hash/count bytes used in the committed files; they were not manually calculated. The earlier rebase incorporated upstream lifecycle fixture fix #197738, with an identical scheduled-main assertion. The original eight patches were patch-identical across that rebase before the later squash and OIDC addition.

No merge or release is requested. Current-head maintainer/security approval and required CI still govern readiness.

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime agents Agent runtime and tooling size: XL labels Nov 10, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR imports trusted-proxy co-author details into protected profile metadata and uses them for commit credit after explicit consent.

Example: Keycloak supplies Alice Test and [email protected] without a linked GitHub identity.

  • Before: Alice cannot receive automatic co-author credit through those claims.
  • After: Profile displays the supplied details, and enabling credit produces Co-authored-by: Alice Test <[email protected]>.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, coherent and proven through the shipped flow, with no blocking code finding; enforced merge gates remain unresolved.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Current-head live reports exercise real Keycloak/OAuth2 Proxy admission, Profile consent, real-model Git commits with off/on/off results, two-user isolation and mapping replacement; inspected screenshots corroborate the visible behavior. Retained-state upgrade from v2026.11.3 preserves profile IDs and choices while requiring first-import consent. Broker-managed publication, GitHub-rendered attribution and a delivered stale-save conflict were explicitly not demonstrated; publication and conflict regressions provide supporting coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: People authenticated through Keycloak cannot obtain automatic commit credit from ordinary profile claims without a verified GitHub identity.
Reason: The maintainer-authored proxy-only direction addresses a concrete shared-Gateway use case with explicit disclosure consent and no manual identity override machinery.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep this PR open: it delivers a useful capability absent from main, and the earlier findings are addressed. No new blocking code defect was found; current-head security approval and the failed CI gate still govern merging.

Priority: P2
Reviewed head: c74e47e5425b0a6737fcf4c190216438ef3523d3

Before merge

  • Await maintainer action - An authorized maintainer must approve the security-sensitive changes at c74e47e5425b0a6737fcf4c190216438ef3523d3 before merge.

Findings

None.

Agent review details

How this fits together

Authenticated HTTP and WebSocket admission import proxy claims through the existing profile preference worker; Profile manages consent, and the attribution owner combines eligible session participants into commit trailers while preserving separate publication credentials.

flowchart LR
  A[Authenticated proxy headers] --> B[HTTP and WebSocket admission]
  B --> C[Profile preference worker]
  C --> D[Profile display and consent]
  C --> E[Session attribution owner]
  D --> C
  E --> F[Agent commit instructions]
  E --> G[Managed publication]
Loading

Technical review

Best possible solution:

Retain the proxy-only extension within the existing profile, consent and attribution owners, preserving GitHub fallback and separate publication authority.

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

This is a capability extension: current main requires eligible GitHub identity, while the supplied live validation demonstrates proxy-only attribution through the real product.

Is this the best way to solve the issue?

The narrowed implementation fits the existing owners, replaces the extracted reader rather than retaining competing logic, and keeps proxy credit separate from authentication, GitHub ownership and publishing credentials.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f765f6340ebe.

Provenance checked

  • Participant eligibility, delegation and publication separation changes intended behavior with a stated reason (4048ae2: Credit durable human session participants without treating attribution as credentials or inferring identity from conversation text.)
  • Verified-GitHub default-on consent changes intended behavior with a stated reason (1e6e402: Absent preference means default-on for an already verified GitHub identity using its public noreply address; explicit false remains an opt-out.)
  • Host-selected Enterprise identity and verified mentions keeps the original intent (23a5696: Keep Enterprise identities scoped to their host and use broker-verified email without confusing attribution with publication authority.)
  • Worker-owned batched attribution reader keeps the original intent (67558d5: Read aliases, identities and consent in one snapshot while retaining receipt-driven invalidation and publication checks.)
  • Profile attribution presentation keeps the original intent (a0cb9b1: Present Profile settings in reading order with compact account rows and contextual help.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Pinned scope and merge state: The live PR remains open at c74e47e5425b0a6737fcf4c190216438ef3523d3 and is mergeable with blocked merge state; review used the supplied merge-base-to-head introduction range. (c74e47e5425b)
  • Current main lacks generic proxy credit: Main resolves verified public or Enterprise GitHub attribution; it has no generic organization name/email selection path. (src/agents/git-coauthor-attribution.ts:106, f765f6340ebe)
  • Authenticated import boundary: Import requires successful trusted-proxy authentication and an authenticated user; ordinary preference writes cannot modify the protected organization key. (src/gateway/trusted-proxy-git-coauthor.ts:27, c74e47e5425b)
  • Consent and existing identity preserved: The worker resets ineffective consent on first import or mapping replacement; attribution requires affirmative organization consent and retains independently verified host-selected GitHub mentions. (src/state/user-profile-git-attribution.read.ts:117, c74e47e5425b)
  • Earlier review repairs verified: Profile enabling sends the observed organization pair as an atomic precondition; publication coverage preserves verified mentions; the positive attribution fixture installs and restores its runtime policy. (ui/src/pages/profile/profile-state.ts:379, c74e47e5425b)
  • Live behavior and upgrade evidence: sallyom reports real Keycloak, OAuth2 Proxy, model-driven commits, two-user consent isolation, mapping replacement, and a backed-up v2026.11.3 upgrade preserving profile IDs and saved choices: feat(identity): accept co-author credit from trusted-proxy headers #196867 (comment). Four prepared screenshots were inspected directly and show the stable baseline, organization credit off/on, and replacement consent off. (c74e47e5425b)

Likely related people:

  • Peter Steinberger: Raw commit 4048ae2 adds src/agents/git-coauthor-attribution.ts:36 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4048ae26e0db; files: src/agents/git-coauthor-attribution.ts)
  • Galin Iliev: Raw commit 23a5696 adds src/agents/git-coauthor-attribution.ts:117 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 23a569674bca; files: src/agents/git-coauthor-attribution.ts)

PR surface

Source +645, Tests +1479, Docs +92, Generated 0, Other +14. Total +2230 across 52 files. Added test files: 5.

View PR surface stats
Area Files Added Removed Net
Source 25 905 260 +645
Tests 20 1508 29 +1479
Docs 2 94 2 +92
Config 0 0 0 0
Generated 2 3 3 0
Other 3 15 1 +14
Total 52 2525 295 +2230

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
New proxy configuration 3 header settings in 1 optional mapping Two required header names and one optional verification header make the integration explicitly operator-configured.
Persisted organization metadata 1 protected preference key; no new table git.coauthor.organization reuses user_preferences and remains outside the existing 128-key user allowance.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #196845
Summary: This PR implements the canonical proxy-only request; merged Enterprise attribution serves a distinct verified-GitHub contract.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Useful optional attribution support for shared trusted-proxy deployments, without an urgent regression in existing supported sign-in.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (7 earlier review cycles)
  • reviewed 2026-11-10T21:27:19.196Z sha fc8705ef4e1b23a4501ab5f31c2ff6c6acf1e280 :: needs real behavior proof before merge. :: [P1] Reset inert consent before importing the first organization pair | [P2] Preserve supplied-pair consent through profile merges | [P2] Keep optional credit imports from rejecting authenticated users
  • reviewed 2026-11-10T22:50:30.767Z sha 9bd689607b03f9db1366e70e1f679f9c01bf6c97 :: blocked before merge. :: [P2] Keep the Gateway test manifest in canonical sorted order
  • reviewed 2026-11-10T22:58:44.278Z sha 9bd689607b03f9db1366e70e1f679f9c01bf6c97 :: blocked before merge. :: [P2] Keep the Gateway test manifest in canonical sorted order | [P2] Update the existing users.self consumer expectation | [P2] Carry the reader's worker classification through the extraction | [P2] Allocate the justified regression-test growth
  • reviewed 2026-11-11T14:52:26.590Z sha 116a7506a377e86214fc5e6dd037c618cba0fcf1 :: blocked before merge. :: none
  • reviewed 2026-11-11T15:04:11.758Z sha 493f8ff36a38eaad0c9a45e517965468746280ac :: blocked before merge. :: none
  • reviewed 2026-11-11T17:14:47.020Z sha c1afce697296327132816d0232b326d466e2b397 :: needs real behavior proof before merge. :: none
  • reviewed 2026-11-12T15:32:17.689Z sha c74e47e5425b0a6737fcf4c190216438ef3523d3 :: blocked before merge. :: none

Reviewed November 12, 2026, 10:41 AM ET / 15:41 UTC (Revision 8).

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Updated head 9bd689607b03f9db1366e70e1f679f9c01bf6c97 repairs first-address consent, supplied-pair merge consent (including the last-slot capacity case), and full-store organization imports. The PR description now includes final focused checks, a passing paired UI size check with zero startup/Chat/New Session gzip growth, and real Keycloak → production Gateway/Profile → agent exec Git proof: 12 scenarios on a fresh install and 12 after upgrading retained 2026.11.3 state with supported Doctor migrations. The author has authorized moving this PR into normal review; the previous draft pause no longer applies. No merge is requested.

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ Maintainer security changes approved

A maintainer approved this revision with an explicit security approval comment.

A later push requires a fresh approval comment for an external contributor's PR.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Nov 10, 2026
@clawsweeper clawsweeper Bot removed the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 12, 2026
@roboclaw-bot
roboclaw-bot force-pushed the feat/explicit-git-coauthor branch 4 times, most recently from 7e57878 to 7fb8a61 Compare November 12, 2026 18:15
@sallyom

sallyom commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

/allow-security-sensitive-change

russellb and others added 6 commits November 12, 2026 20:12
Reset consent when the first supplied address arrives, preserve the selected address and its consent through merges, and keep optional organization defaults from exhausting user preference capacity. Transfer custom details before consent when merge capacity is limited. Keep optional co-author constants outside browser startup.

Signed-off-by: Russell Bryant <[email protected]>
Bind organization credit to the observed details and current proxy policy,
refresh Profile safely, preserve verified GitHub mentions, and repair CI fixtures
and canonical configuration metadata.

Fold in the related OIDC presentation fix: do not infer a display name from an
issuer-qualified subject, hide opaque authentication aliases from Linked emails,
and preserve the canonical principal bindings and profile IDs. Keep mutation
responses consistent with profile reads and cover name/avatar saves in the
resident and real-Gateway regressions.

Show selected credit details inline beside consent, distinguish sign-in emails,
and expose only the verified public-GitHub noreply pair in self-profile reads.
Regenerate the owning protocol validators and align the Profile browser fixtures.

Co-authored-by: sallyom <[email protected]>
Keep consent local to identity reads and consolidate canonical documentation,
protected metadata, admission and Profile coverage. Preserve full preference
capacity, both sign-in transports, explicit organization consent and verified
GitHub variants.

Co-authored-by: sallyom <[email protected]>
@roboclaw-bot
roboclaw-bot force-pushed the feat/explicit-git-coauthor branch from b89c163 to 0164d66 Compare November 12, 2026 20:17
@sallyom

sallyom commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

/allow-security-sensitive-change

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

On behalf of @sallyom: final review of 0164d66f9c4d found no remaining PR-specific merge blockers or unintended breaking changes in supported, matched-version deployments. Required CI, security-sensitive approval and dependency review are green; the generated conflict is resolved. Existing Cloudflare/GitHub-backed Tailscale credit remains additive with unchanged configuration. Shared Profile/OIDC presentation improvements also apply outside multiplayer mode, without adding owner identities or authentication permissions. New organization-credit sources require consent. The broader raw-Git attribution issue remains separately tracked in #197860.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Merged via squash.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Congratulations on your first OpenClaw PR, @russellb—and it’s merged! 🎉 Thanks for helping more team Claws give credit where it’s due. Welcome aboard!

— @sallyom & RoboClaw 🦞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts security-sensitive-changed size: XL status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants