Repository navigation
fix(ci): resolve three remaining Knip dependency findings - #198671
roboclaw-bot wants to merge 2 commits into
Conversation
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
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis 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.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete 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 Before merge
FindingsNone. Agent review detailsHow this fits togetherKnip 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]
Technical reviewBest 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
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
PR surfaceSource 0, Other -160. Total -160 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 12:32 AM ET / 05:32 UTC. |
Related: #198607, #197471, #194519
What Problem This Solves
Fixes: main CI dependency checks fail on an unused Workboard export, an unlisted
clangbinary, 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
MAX_COMPLETION_CLAIMSprivate to its owner inextensions/workboard/src/store-evidence.ts(export added in feat(workboard): record optional claims, observations, and verification #197471); its value and local uses are unchanged.xcrun clanginscripts/perf/transcript-facts-cron-model.ts(perf(sessions): backfill historical transcript facts after readiness #194519).clangis a host tool, not an npm binary, andxcrunis already modeled by the repository.scripts/perf/transcript-facts-backfill-stress-preload.mjs(perf(sessions): backfill historical transcript facts after readiness #194519). Its only documented consumer is an operator task-local module outside the repository. The file already matches a Knip entry glob and the script audit deliberately runs with--include-entry-exports. No tracked file references the module or its function; it remains recoverable from Git history.No ignore, baseline, dummy consumer or configuration change is added.
Evidence
94cc426freports exactly these three findings.db8cab9d3ea3) and no longer reportsREQUIRED_ACTION_STOPorresolvePackageDistCommonJs; these three findings are additional, not a regression of fix(ci): dependency checks reject a private label and shared resolver #198607.bdfd1c0f836; one commit, three files, +3/-163. Scoped typecheck, lint and formatting of the changed modules pass. Named testextensions/workboard/src/store-evidence.test.tspassed (1/1).Contributor credit: @obviyus and @steipete.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by