Skip to content

perf: centralize skills indexing and visibility - #88140

Merged
shakkernerd merged 13 commits into
mainfrom
feat/skills-index
May 29, 2026
Merged

shakkernerd merged 13 commits into
mainfrom
feat/skills-index

Conversation

@shakkernerd

Copy link
Copy Markdown
Contributor

Summary

  • Add a reusable in-memory skills index for normalized lookup, model-visible entries, and user-invocable entries.
  • Centralize skill visibility, command exposure, allowlist, and status decisions inside src/skills.
  • Reuse the shared skills prompt formatter so current <available_skills> prompt behavior is preserved while the internals are cleaner.
  • Reduce repeated per-skill work by preparing bundled allowlists and filter lookups once per status/snapshot pass.

Verification

  • git diff --check
  • node scripts/run-vitest.mjs src/cli/skills-cli.commands.test.ts src/cli/skills-cli.test.ts src/cli/skills-cli.formatting.test.ts src/skills/discovery/skill-index.test.ts src/skills/discovery/command-specs.test.ts src/skills/discovery/status.test.ts src/skills/discovery/status-workspace.test.ts src/skills/loading/prompt-resolution.test.ts src/skills/lifecycle/install-download.test.ts
  • Auto-review: .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main
  • OCM live test on Violet-media-live-20260527 with runtime skills-index-live
    • verified skills list, skills check, skills info
    • verified skills search weather --json --limit 3
    • verified skills verify weather --card
    • verified skills update validation
    • verified real gateway-backed agent weather turn used the skills prompt path and executed wttr.in
    • verified non-weather session-logs agent turn
    • verified /weather Paris through gateway chat.send
    • verified temporary workspace skill install, visibility refresh, agent prompt inclusion, and cleanup
    • verified skills.allowBundled behavior in a disposable OCM clone

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes size: L maintainer Maintainer-authored PR labels May 29, 2026
@clawsweeper

clawsweeper Bot commented May 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed May 29, 2026, 5:48 PM ET / 21:48 UTC.

Summary
Review failed before ClawSweeper could summarize the requested change.

PR surface: Source +140, Tests +165. Total +305 across 15 files.

Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path.

Review metrics: none identified.

Merge readiness
Overall: 🌊 off-meta tidepool
Proof: 🌊 off-meta tidepool
Patch quality: 🌊 off-meta tidepool
Result: rating does not apply to this item.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Risk before merge

  • [P1] No close action taken because the review did not complete.

Maintainer options:

  1. Decide the mitigation before merge
    Retry the Codex review after fixing the execution failure.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • Review did not complete, so no work-lane recommendation was made.
Review details

Best possible solution:

Retry the Codex review after fixing the execution failure.

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

Unclear. The review failed before ClawSweeper could establish a reproduction path.

Is this the best way to solve the issue?

Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model gpt-5.5, reasoning high; reviewed against 1d8425558181.

Label changes

Label changes:

  • add rating: 🌊 off-meta tidepool: Overall readiness is 🌊 off-meta tidepool; proof is 🌊 off-meta tidepool and patch quality is 🌊 off-meta tidepool.

Label justifications:

  • rating: 🌊 off-meta tidepool: Overall readiness is 🌊 off-meta tidepool; proof is 🌊 off-meta tidepool and patch quality is 🌊 off-meta tidepool.
Evidence reviewed

PR surface:

Source +140, Tests +165. Total +305 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 8 309 169 +140
Tests 7 222 57 +165
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 15 531 226 +305

What I checked:

  • failure reason: timeout.
  • codex failure detail: Codex review failed for this PR: spawnSync codex ETIMEDOUT.
  • codex stdout: Per-item Codex failure; continuing with the rest of the shard.

Likely related people:

  • unknown: Codex failed before it could trace repository history. (role: review did not complete; confidence: low)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@clawsweeper clawsweeper Bot added the rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. label May 29, 2026
@shakkernerd
shakkernerd merged commit dac67b3 into main May 29, 2026
122 of 132 checks passed
@shakkernerd
shakkernerd deleted the feat/skills-index branch May 29, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes maintainer Maintainer-authored PR rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant