Skip to content

fix(ci): dependency validation fails on scribe schedule formatter - #186145

Merged
roboclaw-bot merged 1 commit into
mainfrom
ci939b-knowledge-schedule-export-20261027
Oct 27, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
ci939b-knowledge-schedule-export-20261027

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes dependency validation failing on the Knowledge scribe schedule formatter in scheduled main CI.

User Impact

No user-visible behavior changes. Scribe setup and repair prompts, schedules, and access checks are unchanged. No migration or configuration change is needed.

Why This Change Was Made

The formatter has only two callers, both in the same private module. Keeping it module-local removes the unused export without adding an ignore or changing the dependency checker.

Evidence

  • The unchanged export checker reproduces the finding at base b1a512e. After this one-line change, both production and full-tree scans stop reporting scheduleLine. The script scan passes with zero entries.
  • The aggregate checker still exits 1: runPrompt remains in the production scan and SessionColdOversized remains in production/full-tree scans. These are not claimed fixed by this PR.
  • Existing scribes-view and scribes-state suites: 31/31 passed, 5.13 seconds wall time (Vitest 3.64 seconds), one worker. No tests added or changed; no added CI test seconds.
  • Targeted type-aware lint, formatting, and git diff --check pass.
  • Plugin-local typecheck was attempted and exits 2 at the unchanged control-ui.ts:25 side-effect CSS import (TS2882). This is an explicit remaining package-check gap, not a passing aggregate typecheck.
  • Independent local autoreview: complete local snapshot against b1a512e, P0–P2, scoped-clean with no actionable findings. Full changed module and existing sibling tests were supplied; this was source review, not additional test execution. Local ClawSweeper is unavailable; the documented autoreview fallback was used, with one hosted review request after readiness.
Checker and focused proof commands

Before:

production: scribes-catalog.ts: runPrompt, scheduleLine; sqlite-archive-types.ts: SessionColdOversized
full-tree: scribes-catalog.ts: scheduleLine; sqlite-archive-types.ts: SessionColdOversized

After:

production: scribes-catalog.ts: runPrompt; sqlite-archive-types.ts: SessionColdOversized
full-tree: sqlite-archive-types.ts: SessionColdOversized

Commands:

node --import ./scripts/tsx.mjs scripts/check-deadcode-exports.mts
node scripts/run-vitest.mjs run extensions/knowledge/src/scribes-view.test.ts extensions/knowledge/src/scribes-state.test.ts --maxWorkers=1
node scripts/run-oxlint.mjs --tsconfig extensions/knowledge/tsconfig.json extensions/knowledge/src/scribes-catalog.ts
node scripts/run-format.mts --check extensions/knowledge/src/scribes-catalog.ts
node scripts/run-tsgo.mjs -p extensions/knowledge/tsconfig.json --noEmit

Contributor: @vincentkoc.

Work sessions

Keep the private formatter module-local; both callers remain unchanged.

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

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 27, 2026 17:04
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@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 Oct 27, 2026
@clawsweeper

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes the Knowledge scribe schedule formatter module-local without changing its implementation or callers.

Example: Dependency validation scans extensions/knowledge/src/scribes-catalog.ts.

  • Before: The scans report scheduleLine as an unused export.
  • After: scheduleLine is private and no longer reported; unrelated export findings remain.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, source-verified repair supported by focused checker output; aggregate validation is not claimed green.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-associated bot PR changes export visibility only; supplied output exercises the actual export-checker entry point, and existing scribe suites reportedly pass.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Scheduled dependency validation reports an unused export in the Knowledge plugin.
Reason: The maintainer-associated PR follows the existing private-helper boundary and removes a concrete validation finding without changing product behavior.

Merge readiness

✅ Ready for maintainer review

This PR makes the smallest complete repair for an unused private export still present on main; no actionable patch defects were found, and current-head CI remains pending.

Priority: P3
Reviewed head: f35f86233b31b500821641c4ed9b0f8b62ee066a

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Knowledge plugin's scribe catalog turns setup choices and existing automation schedules into readable prompts consumed by its dialog and action handlers.

flowchart LR
  A[Scribe setup choices] --> B[Scribe catalog]
  C[Existing automation schedule] --> B
  B --> D[Local schedule formatter]
  D --> E[Setup and repair prompts]
  E --> F[Scribe dialog and actions]
Loading

Technical review

Best possible solution:

Keep scheduleLine private in its existing module and preserve both prompt-generation callers.

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

Current main exports a formatter with no external consumers, matching the supplied checker finding; no target code was executed during this read-only review.

Is this the best way to solve the issue?

Removing only the export keyword fixes the ownership mismatch without changing output, adding suppression rules, or introducing machinery.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Josh Lehman: Raw commit ed23336 adds extensions/knowledge/src/scribes-catalog.ts:152 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ed2333640513; files: extensions/knowledge/src/scribes-catalog.ts)

PR surface

Source 0. Total 0 across 1 file. 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 0 0 0 0
Total 1 1 1 0

Labels

Label changes:

  • add P3: This is a narrowly scoped static-validation cleanup with unchanged user-visible behavior.
  • 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: This is a narrowly scoped static-validation cleanup with unchanged user-visible behavior.
  • 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 October 27, 2026, 1:08 PM ET / 17:08 UTC.

@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 27, 2026 17:10
@roboclaw-bot
roboclaw-bot merged commit 83c57bf into main Oct 27, 2026
188 checks passed
@roboclaw-bot
roboclaw-bot deleted the ci939b-knowledge-schedule-export-20261027 branch October 27, 2026 17:18
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 2026
…enclaw#186145)

Keep the private formatter module-local; both callers remain unchanged.

Co-authored-by: vincentkoc <[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. plugin: knowledge 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