@rhize/skill-forge 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -172,6 +172,21 @@ launch commands, `--dangerously-*`/`--no-sandbox` flags, and filesystem-root lau
172
172
  during the 0.x beta) ranks the candidate against the server entries already present in your
173
173
  configured `mcpTargets` files, instead of against a skills root.
174
174
 
175
+ **Capability profile (v0.6).** The report also includes a **static** capability summary — tool,
176
+ resource, and prompt counts, plus a `declaredConfidence` (`high`/`partial`/`none`) — parsed from
177
+ the candidate's `package.json`, any shipped `.mcp.json`/manifest, and MCP SDK source-text patterns
178
+ (`server.tool(...)`, `setRequestHandler(ListToolsRequestSchema, ...)`, etc.):
179
+
180
+ ```
181
+ Artifact type : mcp
182
+ Capabilities : 2 tools, 1 resource, 0 prompts (declaredConfidence: high)
183
+ ```
184
+
185
+ This is free (it's profiling, not a Pro feature) and **never derived by running the candidate
186
+ server** — anything that can't be determined from source text is reported as undetermined rather
187
+ than discovered by executing it. `--json` includes the full `tools`/`resources`/`prompts` name
188
+ lists under `profile.capabilities`.
189
+
175
190
  **Promote semantics**
176
191
 
177
192
  Promoting an MCP candidate writes ONE server entry into a target MCP config file's `mcpServers`
@@ -192,7 +207,13 @@ map — it never touches a skills root:
192
207
 
193
208
  There's no MCP equivalent of the skill provenance ledger (`SOURCES.md`) — the pending-ingestion
194
209
  queue (Pro) and `--ingest` handoff both apply the same way, keyed on the written config file path
195
- instead of an installed skill directory.
210
+ instead of an installed skill directory. The queued entry carries the candidate's static capability
211
+ profile (`capabilities`, v0.6, above), so a `--ingest` handoff run on an MCP promote has real
212
+ material to work with: `assets/ingest-prompt.md` branches on `artifactType: "mcp"` and walks the
213
+ same five-verb decide (DEFER/ABSORB/FORK/REJECT/WATCH) applied to a server instead of a skill —
214
+ compare declared capabilities against what's already configured, then keep/tighten/remove the
215
+ promoted config entry accordingly. Same static-only rule as the CLI's own profiling: the deep pass
216
+ never runs or installs the candidate server to inspect it.
196
217
 
197
218
  **TOML-format agents: detect-only.** `skill-forge init` detects MCP config files for every known
198
219
  agent, including TOML-format ones (Codex CLI's `config.toml`) — they show up in `init`'s MCP-target
@@ -262,7 +283,10 @@ that deeper judgment (which patterns to keep, whether to absorb into an existing
262
283
  new one, verifying the result beats baseline) is a job for a coding agent, not the gate. `--ingest`
263
284
  hands a promoted skill off to one, running the bundled, agent-neutral prompt at
264
285
  `assets/ingest-prompt.md` (Claude Code users get a deeper experience via the companion
265
- `rhize-skill-forge` plugin skill, but the bundled prompt works with any agent).
286
+ `rhize-skill-forge` plugin skill, but the bundled prompt works with any agent). The same flag works
287
+ on an MCP server promote (`--artifact mcp --ingest`, v0.6): the bundled prompt branches on the
288
+ queue entry's `artifactType` and runs the matching decide pass — see
289
+ [MCP gating](#mcp-gating-v05) above.
266
290
 
267
291
  ```bash
268
292
  skill-forge add owner/name --yes --ingest