Skip to content

fix(ci): keep member welcome internals private - #199789

Merged
steipete merged 1 commit into
mainfrom
ci/437579-core
Nov 15, 2026
Merged

steipete merged 1 commit into
mainfrom
ci/437579-core

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes three unused-export findings in the Control UI member welcome owner from scheduled CI 43757993450.

User Impact

No user-visible change. Member welcome behavior and its stored preference key stay the same.

Why This Change Was Made

Keep the owner's internal helper, welcome shape, and preference constant private. The existing owner tests now use the expected preference key independently, preserving their read/write contract checks without exporting an implementation detail.

Evidence

The baseline export scan reports all three UI symbols. With this change, production and full-tree scans report no UI findings; the command still exits 1 for nine unrelated state/storage exports outside this repair's scope.

All eight existing member welcome tests pass, along with default tsrs UI and affected test typechecks, scoped lint/format, and diff checks. Complete-context isolated P0–P2 autoreview of the final local candidate against main found no actionable issues. Local ClawSweeper was unavailable. The production delta removes three export modifiers; the test imports only the public owner operations. No runtime logic, ignores, baselines, or assertions changed.

@clawsweeper

clawsweeper Bot commented Nov 15, 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.

@steipete
steipete marked this pull request as ready for review November 15, 2026 22:31
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T22:33:01.237233Z 6d62ee1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) November 15, 2026 22:36
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 15, 2026
@clawsweeper

clawsweeper Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes three member-welcome implementation symbols private and gives the existing tests an independent expected preference key.

Example: Sam answers the member welcome step.

  • Before: The answer is stored as ui.openclawId.memberWelcomeAnswered: true.
  • After: The same answer is stored under the same key.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Minimal, correct maintenance patch supported by source inspection and passing UI checks; broad CI is still pending.
Proof confidence 🐚 platinum hermit (4/6) Only internal export visibility and test imports change, so shipped-entry-point proof is unnecessary.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
Reason: The maintainer-authored direction narrows an internal module boundary without changing the feature or exposing a replacement API.

Merge readiness

✅ Ready for maintainer review

This PR is a focused, behavior-preserving cleanup with no actionable findings; ordinary CI remains pending.

Priority: P3
Reviewed head: 6d62ee17ca99d286cdeb460acfb463cbab65ae0e

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI member-welcome owner reads Gateway identity and profile preferences, then exposes welcome state and dismissal operations to the UI.

flowchart LR
  A[Gateway identity] --> C[Member welcome owner]
  B[Profile preferences] --> C
  C --> D[Welcome UI]
  D --> E[Answer operation]
  E --> B
Loading

Technical review

Best possible solution:

Keep the implementation details private while retaining the existing owner operations, behavior, and preference contract.

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

Source inspection confirms unnecessary exports; no product behavior changes, and no target code was executed during this read-only review.

Is this the best way to solve the issue?

Removing the export modifiers is the smallest complete fix, and the independent test key strengthens the existing preference contract without adding machinery.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Member welcome exports and profile preference tests keeps the original intent (cec47fd: The original feature added first-visit onboarding and profile-backed dismissal across browsers; its merged PR states no requirement for external access to these three symbols.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

PR surface

Source 0, Tests -2. Total -2 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 3 3 0
Tests 1 3 5 -2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 6 8 -2

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.

Labels

Label changes:

  • add P3: Internal export cleanup preserves runtime behavior and persisted preferences.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: Internal export cleanup preserves runtime behavior and persisted preferences.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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.

Reviewed November 15, 2026, 5:45 PM ET / 22:45 UTC.

@steipete
steipete merged commit d4408cc into main Nov 15, 2026
157 of 159 checks passed
@steipete
steipete deleted the ci/437579-core branch November 15, 2026 22:48
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

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

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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.

1 participant