check_library_usage
Verify external library calls against current signatures and documentation, flagging deprecated symbols to prevent usage of outdated APIs.
Instructions
Dependency-contract check for the code's EXTERNAL library calls, from the SCIP oracle's external symbol info. For each resolved-external call site it surfaces the dependency's CURRENT signature + docs as inline context (judge arity / misuse yourself) and ASSERTS a deprecated verdict when the docs mark it so. Filter by path, package, or deprecated_only. Requires an oracle run; returns a NoOracleRun / NoExternalSymbols status otherwise. Does NOT assert arity or removed/renamed drift (not instrumented / needs a cross-version baseline) — those stay context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Restrict to external call sites in this exact file or under this directory prefix (e.g. `src/net`). Omit for the whole checkout. | |
| limit | No | Max dependency-symbol entries returned; summary counts always cover the full set. | |
| package | No | Restrict to one dependency package — the moniker's package component, e.g. `ky` / `tokio`. | |
| worktree | No | Absolute path to a linked git worktree you're working in; serves that worktree's branch overlay over the indexed checkout. Omit for the indexed checkout. | |
| deprecated_only | No | Only surface contracts flagged deprecated (the asserted verdict). |