Skip to content

fix(ci): keep released-reader status policy private - #197244

Merged
roboclaw-bot merged 1 commit into
mainfrom
loops/l537-private-catalog-status
Nov 11, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
loops/l537-private-catalog-status

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes the script unused-export finding in main’s dependency check for the released-reader catalog gate.

User Impact

No user-visible or catalog publication behavior change. Accepted refresh statuses, rejection and published-row-loss checks remain unchanged.

Why This Change Was Made

The released-reader guard introduced in 6a5ac74 exported its status-policy set despite consuming it only inside the same owner. Keep that implementation detail private; all consumed gate functions remain exported. Current main has the identical baseline module. No ignore, allowance, baseline growth or assertions change. This fixes one exact finding, not the other dependency failures.

Contributor credit: Peter Steinberger and Ayaan (obviyus).

Work sessions

Linked for team reference; these sessions aren’t public.

Evidence

  • Main run 43029104606, job 130552024401: script scan identifies exactly this unused export. Tracked-source reference search finds only the declaration and its same-owner use.
  • Named released-reader file: 12 tests pass before and after; module namespace check confirms the private export is gone while updated/unchanged/fresh and rejection behavior remain intact.
  • Scoped lint passes; canonical formatting and diff checks pass. Independent Codex-backed review is scoped-clean P0–P2; subsequent change is canonical declaration formatting only.
  • No global deadcode sweep or broad local build run on the production host. Exact-head CI provides broad proof; unrelated dependency findings remain open.

The released-reader gate consumes the status set only inside its owner. Remove its unused export while preserving all accepted statuses and row-loss verdicts.

Co-authored-by: obviyus <[email protected]>

Co-authored-by: steipete <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 11, 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 scripts Repository scripts size: XS labels Nov 11, 2026
@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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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 11, 2026
@clawsweeper

clawsweeper Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes the released-reader gate’s accepted-status set private to its module.

Example: The script export audit examines ACCEPTED_REFRESH_STATUSES.

  • Before: The set is exported despite being used only inside its declaring module.
  • After: The set remains available internally without an unused export.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is minimal and source-verified; independently inspected execution evidence is limited to check metadata rather than runtime artifacts.
Proof confidence 🦐 gold shrimp (3/6) This collaborator-authored internal export cleanup is outside the ordinary contributor proof gate; source inspection confirms unchanged runtime logic, while the body reports existing tests and a module-namespace check.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: The repository’s export audit encounters an unnecessarily exported internal constant.
Reason: The maintainer-authored direction is established, and the patch removes the unused surface without weakening the audit.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR makes the smallest complete repair to an unused internal export, preserves catalog gate behavior, and has no actionable findings.

Priority: P3
Reviewed head: 5bd2f0a8d9a5968d3af250b51dde4ade6ae0dc16

Before merge

None.

Findings

None.

Agent review details

How this fits together

The catalog comparison CLI passes released-reader observations into this gate, which returns acceptance or rejection based on refresh status and published row counts.

flowchart LR
  A[Candidate catalog] --> B[Released reader comparison CLI]
  B --> C[Reader observations]
  C --> D[Released reader gate]
  D --> E[Publication verdict]
Loading

Technical review

Best possible solution:

Keep the status set private while retaining the existing exported gate functions and behavior.

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

Current-main source confirms an exported constant with only a same-module consumer; no target code or tests were executed.

Is this the best way to solve the issue?

Removing the export fixes the ownership mismatch directly without adding exceptions, changing callers, or altering publication policy.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Released-reader refresh-status policy keeps the original intent (6a5ac74: The originating PR introduced a gate that rejects unsuccessful refreshes and newly lost published rows.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

PR surface

Other -4. Total -4 across 1 file. Added test files: 0.

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 1 5 -4
Total 1 1 5 -4

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: This is a narrow internal export cleanup with no runtime behavior change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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: This is a narrow internal export cleanup with no runtime behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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 11, 2026, 9:32 AM ET / 14:32 UTC.

@roboclaw-bot
roboclaw-bot merged commit b110c22 into main Nov 11, 2026
121 checks passed
@roboclaw-bot
roboclaw-bot deleted the loops/l537-private-catalog-status branch November 11, 2026 14:37
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 12, 2026
The released-reader gate consumes the status set only inside its owner. Remove its unused export while preserving all accepted statuses and row-loss verdicts.

Co-authored-by: steipete <[email protected]>
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. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

1 participant