Check the operations a team skill names against the serving build on import

オープン
#1,769 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
ai, backend

調査の方向性

Read #1143 and inspect server/operations/registry.py, server/operations/base.py, and tests/unit/test_agent_instructions.py to understand the registry and existing skill checks. First measure how reliably free-form skill text identifies operation and MCP tool names using the repository's own skills. Done means the acceptance fixtures report missing operations, pass when they exist, flag adopted skills after an upgrade, and confirm import executes no skill resource or model call.

索引モデルが issue の本文から書いたものです。

説明

enhancement
Company

ClickHouse

Component

Not sure

Use case

#1143 lets teams import, publish and adopt skills. A skill tells an agent which Loom operations to call, by name. A skill written against another build, or adopted before an upgrade that removed an operation, still reads as valid instructions, and the agent finds out at the call.

The issue's own rules bound what a check may do: "previewing or importing a skill executes nothing", and a lossy import is rejected and not silently reduced.

Describe the solution you'd like

One text check on import and publish. This is a proposal; nothing is implemented or measured.

  • Loom compares every Loom operation the skill names with the serving build's operation registry and records that build on the artifact revision.
  • An unknown operation is reported by name.
  • An adopted skill whose named operations are missing on the current build is shown as needing an update.
  • The check reads text and executes nothing.
  • It reports only. It refuses no import until its false matches and misses are measured.

What Loom has that this builds on:

  • OPERATIONS_BY_NAME in server/operations/registry.py lists every operation a build serves.
  • Each operation also has an MCP tool name (mcp_tool_name in server/operations/base.py), so a skill that names the tool and not the operation is checked against the same registry.
  • tests/unit/test_agent_instructions.py already checks that every path, make target and module the repository's own skills name exists. This is the same check for operations, run on a team's skill.

Acceptance fixture:

  1. Importing a skill that names an operation the build lacks reports that name.
  2. The same skill passes on a build that has the operation.
  3. After an upgrade that removes an operation, the adopted skill shows as needing an update.
  4. The import runs no skill resource and makes no model call.

Evidence still needed before rollout:

  • How reliably operation names can be read from free-form skill text. Measure false matches and misses on the repository's own skills before the check refuses an import.
  • Which build an artifact records while two builds serve side by side during a rolling upgrade.
Describe alternatives you've considered
  • A declared operation list in the skill's frontmatter. It is exact, and the author has to keep it in step with the text. The two combine: a declared list is checked exactly and free text is reported.
  • Check when the agent host activates the skill. Loom holds no evidence of what a host installed, as #1143 says.
  • Run the skill in a sandbox. #1143 says import executes nothing.
Where the need comes from

An AI tool suggested this feature

Additional context

Found by source review; no skill was imported or published. The component is the skill artifact store #1143 proposes, which is not in the list.

Related: Proposed as part of #1143. Roadmap: #1232.

主要言語
Python
スター
221
フォーク
35
平均マージ
14時間 21分
マージ済み PR(30日)
873

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ClickHouse/loom のほかの issue

ClickHouse/loom の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。