Skip to content

fix(ci): resolve three remaining Knip dependency findings - #198671

Closed
roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/nimble-prawn
Closed

roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/nimble-prawn

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #198607, #197471, #194519

What Problem This Solves

Fixes: main CI dependency checks fail on an unused Workboard export, an unlisted clang binary, and an exported perf helper with no in-repository consumer.

User Impact

The Workboard completion-claim limit and its validation are unchanged, and the macOS cron-model probe still compiles with the same arguments. This retires the unreferenced transcript-facts stress preload; external task-local wrappers importing that developer helper would need a historical revision. It does not change the canonical stress workload or product behavior.

Why This Change Was Made

No ignore, baseline, dummy consumer or configuration change is added.

Evidence

Contributor credit: @obviyus and @steipete.

Work sessions

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

Worked on by

roboclaw-bot and others added 2 commits November 14, 2026 05:07
Keep the Workboard completion-claim limit private, use the existing macOS xcrun compiler owner, and remove the transcript-facts stress preload helper. The helper had no in-repo consumer, and the entry-export audit forbids exports whose only consumers are outside the repository. No Knip ignores or baseline growth.
Worked on by:
- @obviyus
- @steipete

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 46dbf1cc-53b9-8070-8422-8aaeeda6692c
@clawsweeper

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

@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. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR privatizes an unused Workboard constant, invokes the macOS compiler through xcrun, and removes a stress-preparation helper.

Example: The dependency audit examines MAX_COMPLETION_CLAIMS in Workboard.

  • Before: The constant is exported despite having only local consumers.
  • After: The constant remains local with the same value of 4 and unchanged validation.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Focused edits with supporting checks and no actionable code finding, but the complete dependency audit and native compiler path remain unverified.
Proof confidence 🦐 gold shrimp (3/6) This maintenance change affects audit visibility and developer performance scripts; shipped-product behavior proof is not required.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Repository dependency checks reject unused exports and an unmodeled compiler invocation.
Reason: The maintainer-authored cleanup repairs concrete audit findings without adding configuration or changing Workboard behavior; the intentional helper retirement now overlaps a merged preservation fix.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this PR open: two dependency-audit fixes remain useful, and no introduced correctness defect was found; the reported merge conflict overlaps a merged fix that preserves the stress preload.

Priority: P2
Reviewed head: 6f30791482f63622e78f3ea23ecfeebddaf161cf

Before merge

Findings

None.

Agent review details

How this fits together

Knip checks repository exports and executable dependencies; the affected code supplies Workboard claim validation and developer performance workloads.

flowchart TD
  A[Dependency audit] --> B[Knip configuration]
  B --> C[Workboard exports]
  B --> D[Performance scripts]
  C --> E[Claim validation]
  D --> F[macOS compiler]
  D --> G[Stress preparation]
Loading

Technical review

Best possible solution:

Keep the two unresolved audit fixes and resolve the preload conflict, preferably retaining main’s documented @public helper.

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

Source confirms the unused Workboard export and direct clang invocation outside the existing host-binary model; no audit or target code was executed during this review.

Is this the best way to solve the issue?

The visibility and compiler edits are minimal; the preload finding already has a smaller merged solution that preserves its documented external consumer.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Workboard completion-claim limit keeps the original intent (c1ca2d7: Optional completion claims require a bounded local validation limit; no consumer requires exporting that limit.)
  • Cron-model native probe compilation keeps the original intent (72f90dd: Compile the macOS SQLite I/O probe used by the synthetic cron-model workload.)
  • Stress-preparation preload changes intended behavior with a stated reason (72f90dd: A task-local gateway preload supplies campaign paths and prepares synthetic historical facts coverage; the PR explicitly chooses retirement despite that external-use contract.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

PR surface

Source 0, Other -160. Total -160 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 2 162 -160
Total 3 3 163 -160

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 P2: This is a focused repair to repository dependency checks without an established end-user runtime outage.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: This is a focused repair to repository dependency checks without an established end-user runtime outage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Run the dependency checks on the conflict-resolved candidate to verify the remaining findings are cleared.

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 14, 2026, 12:32 AM ET / 05:32 UTC.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Superseded by #198694 for the remaining xcrun compiler finding; #198672 and #198677 independently fixed the other two findings. The retained preload is no longer proposed for deletion.

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

Labels

P2 Normal backlog priority with limited blast radius. plugin: workboard rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant