Solumbe
v4.14.0Deterministic local repository context, impact analysis, and merge-readiness evidence for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
repo_inspect Inspect Repository
Inspect repository shape, languages, package managers, script names, entrypoints, and git metadata. Returns up to 200 representative file paths; pass includeScripts:true to get full script command bodies instead of just names.
| Parameter | Type | Description |
|---|---|---|
includeScripts | boolean | Include full package.json script command bodies, not just their names. Defaults to false. |
path | string | Repository path. Defaults to current working directory. |
repo_map Map Repository
Map a repository into a compact JSON code map, optionally narrowed by domain, file kind, or controller route. Pass domain to find files for a feature, kind to find files of a type (route, controller, service, apiClient, component, test), or route to match Nest controller routes by substring/regex.
| Parameter | Type | Description |
|---|---|---|
domain | string | Optional domain filter such as booking, payment, email, events. |
includeFiles | boolean | Include matching files in the response. Defaults to false. |
kind | string | Optional file kind filter such as route, controller, service, apiClient, component, test. |
limit | number | Maximum files to include. Defaults to 100. |
path | string | Repository path. Defaults to current working directory. |
route | string | Optional route filter. Substring or regex matched against each controller's combined route (controllerBasePath + httpMethods paths) and file path. |
repo_index Index Repositories
Index local repositories: generate per-user external indexes and add them to the local catalog. Pass discover:true to find repository roots under the given paths first. Pass dryRun:true to discover and report without writing any indexes or catalog (read-only). Without dryRun this mutates the persistent local catalog, so it is not a pure read.
| Parameter | Type | Description |
|---|---|---|
catalog | string | Optional catalog JSON path. |
depth | number | Maximum discovery depth. |
discover | boolean | Discover repositories under the provided paths before indexing. |
dryRun | boolean | Discover and report repositories without writing indexes or mutating the catalog. Read-only. Defaults to false. |
limit | number | Maximum discovered repositories. |
path | string | Single repository path. |
paths | array | Repository paths, or roots when discover is true. |
repo_search Search Repository Catalog
Search indexed local repositories by path, domain, kind, route, imports, exports, and symbols. Omit query to list the local repository catalog instead. Searches the repository at `path` (the working directory by default) only; pass `paths` to search those repositories, or `all: true` to add every repository in the local catalog (call repo_index to add one). Outside a repository it searches the catalog.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Also search every repository in the local catalog. |
catalog | string | Optional catalog JSON path. |
limit | number | Maximum matches. Defaults to 25. |
offline | boolean | Use stored index files without refreshing fingerprints. |
path | string | Repository to search. Defaults to current working directory. |
paths | array | Repositories to search instead of the catalog. |
query | string | Search query. Omit to return the catalog listing instead of search matches. |
context_pack Context Pack
Generate a task-aware local context packet with primary files, related files, tests, and validation commands. Deterministic by default; online:true also asks a read model for the request's intent and which candidate files it needs, reported under modelRead.
| Parameter | Type | Description |
|---|---|---|
query * | string | Task or question to gather context for. |
expand | boolean | Use Claude to suggest extra search terms and consider one additional primary file. Requires ANTHROPIC_API_KEY. Defaults to false. |
includeEvidence | boolean | Include per-file imports, exports, and symbol slices as source evidence. Defaults to false to keep the packet compact. |
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON packet. Defaults to false. |
limit | number | Maximum primary, related, and test files per section. Defaults to 8. |
online | boolean | Ask a read model (TypeSafe's Jev or Claude) for the request's intent and each candidate file's relevance, applying confident answers. Needs TYPESAFE_API_KEY or ANTHROPIC_API_KEY; without either the pa… |
path | string | Repository path. Defaults to the server's working directory; when editing in a git worktree, pass the worktree's path. |
paths | array | Repository paths for a multi-repo context packet. Omitted, `path` plus the `companions` listed in its .solumberc.json. |
ref | string | Git ref whose tree to rank instead of the files on disk (e.g. origin/main). Omitted, a clean checkout that is behind its upstream is ranked against that upstream, and the result says so; a checkout wi… |
change_impact Change Impact
Given a plain-English change request, rank the files most likely to own the change, with risk flags, suggested tests, and an implementation plan. Optional diff base surfaces exact changed-file evidence alongside the heuristic. When the repository's .solumberc.json lists companions, companions also carries the top few files each companion repository would own for the same request.
| Parameter | Type | Description |
|---|---|---|
query * | string | Plain-English change request. |
amend | object | Add files to the declared intent passed as intent, with the reason they belong to the change. Returns the amended record under intent without ranking anything; nothing is written. |
declare | boolean | Also freeze the predicted owner and supporting files as a declared intent (a scope contract) and return it under intent. Call it before editing, then pass that record to review_gate as intent: a chang… |
diffBase | string | Optional git ref to validate predictions against (e.g. origin/main, HEAD). |
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |
includeUntracked | boolean | With diffBase, also count untracked, non-ignored files as changed. Defaults to true; pass false to review only tracked changes. |
intent | With amend: the declared intent to add files to (the record, its JSON, or a path to it). Its request must be the query. | |
path | string | Repository path. Defaults to the server's working directory; when editing in a git worktree, pass the worktree's path. |
ref | string | Git ref whose tree to rank instead of the files on disk (e.g. origin/main). Omitted, a clean checkout that is behind its upstream is ranked against that upstream, and the result says so; a checkout wi… |
top | number | Number of files to return. Defaults to 10. |
agent_experience Agent Experience (AX)
Score Agent Experience (AX): a single 0–100 number answering "how cheap and safe is it for an agent to make this change here?", blending Changeability (token cost), Containment (blast radius), Guardrails (tests / validation / CODEOWNERS / CI), and Clarity (task groundedness). Returns sub-scores, drivers, and concrete recommendations for raising AX.
| Parameter | Type | Description |
|---|---|---|
query * | string | Plain-English change request to score, e.g. "add a new MCP tool". |
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |
path | string | Repository path. Defaults to current working directory. |
top | number | Number of impact files to consider when scoring blast radius. Defaults to 8. |
model_route Model Route
Recommend a model tier (cheap, mid or premium) for a coding request before any work starts. Combines solumbe's deterministic repository half (AX, containment, top-severity risk paths) with a System One model's calibrated read of the request (specificity, blast radius, novelty). The model is called only when TYPESAFE_API_KEY is set in this server's environment and offline is not true; otherwise the read is a labelled offline estimate, and model.source says which. Advisory: it recommends a tier and never feeds review_gate or review_verdict. Pass host to map the tier to that host's model id.
| Parameter | Type | Description |
|---|---|---|
query * | string | Plain-English change request to route, e.g. "fix the typo in the README". |
host | string | Optional host whose model map resolves the tier to a model id (built in: claude-code; add others in .solumbe/model-route.json). |
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |
offline | boolean | Never call the model, even when a key is set. Defaults to false. |
path | string | Repository path. Defaults to current working directory. |
top | number | Number of impact files to consider. Defaults to 8. |
convergence_score Convergence Score
Score convergence: a deterministic 0–100 measure of the distance between a stated task (intent) and the actual git diff (execution), with sub-scores for Coverage (did the intent happen?), Scope (did only the intent happen?), and Risk alignment (did unrequested drift land on risk-sensitive paths?). No model. A task that predicts no owner file is band inconclusive, with no score. Emits a recomputable receipt (a hash anyone can regenerate). Requires a base git ref to diff against; scores the working tree's tracked changes unless head or staged selects an exact subject.
| Parameter | Type | Description |
|---|---|---|
base * | string | Git ref to diff against (e.g. origin/main, HEAD~1). Required. |
head | string | Score exactly base..head instead of the working tree; the receipt binds to the head commit. Cannot be combined with staged. |
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |
includeUntracked | boolean | Working-tree mode only: also score untracked, non-ignored files. Defaults to false; untracked files are otherwise listed under untracked and not scored. |
intent | Declared intent from change_impact declare (record, JSON, or path): score against the declared files instead of a live prediction. | |
path | string | Repository path. Defaults to current working directory. |
query | string | The stated task / intent to measure against the diff, e.g. "add Stripe refunds". Required unless intent is passed, whose request is then the query. |
staged | boolean | Score only the Git index; the receipt binds to its tree. |
top | number | Number of predicted owner files to consider. Defaults to 10. |
review_gate Review Gate
Gate a change for merge and return a PASS / WARN / FAIL verdict. Omit pr to run the local, no-GitHub gate against a base ref (changed files, secret safety, risk-sensitive paths, release discipline, validation commands, dependency audit, policy profile). Set pr to gate an open GitHub PR via `gh` (PR state, review decision, CODEOWNERS approvals, unresolved conversations, branch protection, status checks). A check the mode cannot evaluate is SKIPPED and never changes the verdict. Use review_verdict instead when you want the full impact + review + gate composite, or review_context when you want di…
| Parameter | Type | Description |
|---|---|---|
base | string | Base ref for the local gate. Defaults to origin/main, then HEAD. Ignored in PR mode. |
governance | string | Governance: team or solo. Omitted, the repository's .solumberc.json or user config decides, else team. |
head | string | Gate exactly base..head; uncommitted files play no part. Cannot be combined with staged. Ignored in GitHub PR mode. |
intent | Declared intent from change_impact declare (record, JSON, or path): fails the gate when a changed file was never declared. | |
minConvergence | number | Optional minimum convergence score (0–100). Enables a failing gate when the task/diff score is below this floor. |
path | string | Repository path. Defaults to current working directory. |
policy | string | Policy profile: standard, company, or high-risk. Omitted, the repository's .solumberc.json or user config decides, else standard. |
pr | string | PR selector (number, URL, or branch). Set, runs the GitHub gate on that PR; omitted or blank, runs the local gate. |
receipt | string | Convergence receipt: inputs hash, JSON object, or path. A head- or staged-bound receipt verifies only in that mode. |
request | string | Optional change request for context evidence output. |
staged | boolean | Gate the Git index instead of the working tree. Ignored in GitHub PR mode. |
review_verdict Review Verdict
Run the full review pipeline in one shot: change_impact plus review_context plus review_gate, returning a unified verdict with a derived confidence score. When the repository's .solumberc.json lists companions and a request is given, impactSummary.companions names the top few files each companion repository would own for that request. Use review_verdict when you want the complete picture of a change in a single call. Use review_context instead for diff metadata only (no verdict), or review_gate for the gate verdict alone.
| Parameter | Type | Description |
|---|---|---|
base | string | Base ref for local diff. Defaults to origin/main, then HEAD. |
governance | string | Governance: team or solo. Omitted, the repository's .solumberc.json or user config decides, else team. |
head | string | Review exactly base..head: impact, gate and review context all read the head commit's changes, so uncommitted and untracked files play no part. Ignored in GitHub PR mode. |
impactTop | number | Number of impact files. Defaults to 8. |
intent | Declared intent from change_impact declare (record, JSON, or path): fails the gate when a changed file was never declared. | |
minConvergence | number | Optional minimum convergence score (0–100) enforced by the merge gate. |
path | string | Repository path. Defaults to current working directory. |
policy | string | Policy profile: standard, company, or high-risk. Omitted, the repository's .solumberc.json or user config decides, else standard. |
pr | string | PR selector (number, URL, or branch). Set, gates that GitHub PR, as review_gate does; omitted or blank, runs the local gate. |
receipt | string | Convergence receipt: inputs hash, JSON object, or path. |
request | string | Plain-English change request for impact scoring. |
workspace_report Workspace Report
Generate a product-level report across multiple related repositories.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Repository paths to inspect together. |
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |
review_context Review Context
Produce PR review context from local git diff metadata, optionally enriched with GitHub PR comments. Use review_context when you want the raw diff/comment context for a change, not a verdict. Use review_verdict instead for the full impact + review + gate composite, or review_gate for the gate verdict alone.
| Parameter | Type | Description |
|---|---|---|
base | string | Base ref. Defaults to PR base, upstream, origin/main, or main. |
comment | boolean | Create or update a sticky GitHub PR comment using gh. This writes to GitHub. |
github | boolean | Ask gh to infer the current branch PR. |
head | string | Head ref. Defaults to HEAD. |
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |
number | number | Optional GitHub PR number for gh enrichment. |
path | string | Repository path. Defaults to current working directory. |
repo_harness Repository Harness
Generate setup, validation, runtime, and context commands for an agent or CI harness.
| Parameter | Type | Description |
|---|---|---|
includeMarkdown | boolean | Return a compact human-readable markdown report instead of the full JSON. Defaults to false. |
path | string | Repository path. Defaults to current working directory. |