Solumbe

v4.14.0
io.github.BASHBOP/solumbe Checked 3 hours ago Published 4 days ago

Deterministic 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.

ParameterTypeDescription
includeScriptsbooleanInclude full package.json script command bodies, not just their names. Defaults to false.
pathstringRepository 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.

ParameterTypeDescription
domainstringOptional domain filter such as booking, payment, email, events.
includeFilesbooleanInclude matching files in the response. Defaults to false.
kindstringOptional file kind filter such as route, controller, service, apiClient, component, test.
limitnumberMaximum files to include. Defaults to 100.
pathstringRepository path. Defaults to current working directory.
routestringOptional 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.

ParameterTypeDescription
catalogstringOptional catalog JSON path.
depthnumberMaximum discovery depth.
discoverbooleanDiscover repositories under the provided paths before indexing.
dryRunbooleanDiscover and report repositories without writing indexes or mutating the catalog. Read-only. Defaults to false.
limitnumberMaximum discovered repositories.
pathstringSingle repository path.
pathsarrayRepository paths, or roots when discover is true.

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.

ParameterTypeDescription
query *stringTask or question to gather context for.
expandbooleanUse Claude to suggest extra search terms and consider one additional primary file. Requires ANTHROPIC_API_KEY. Defaults to false.
includeEvidencebooleanInclude per-file imports, exports, and symbol slices as source evidence. Defaults to false to keep the packet compact.
includeMarkdownbooleanReturn a compact human-readable markdown report instead of the full JSON packet. Defaults to false.
limitnumberMaximum primary, related, and test files per section. Defaults to 8.
onlinebooleanAsk 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…
pathstringRepository path. Defaults to the server's working directory; when editing in a git worktree, pass the worktree's path.
pathsarrayRepository paths for a multi-repo context packet. Omitted, `path` plus the `companions` listed in its .solumberc.json.
refstringGit 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.

ParameterTypeDescription
query *stringPlain-English change request.
amendobjectAdd 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.
declarebooleanAlso 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…
diffBasestringOptional git ref to validate predictions against (e.g. origin/main, HEAD).
includeMarkdownbooleanReturn a compact human-readable markdown report instead of the full JSON. Defaults to false.
includeUntrackedbooleanWith diffBase, also count untracked, non-ignored files as changed. Defaults to true; pass false to review only tracked changes.
intentWith amend: the declared intent to add files to (the record, its JSON, or a path to it). Its request must be the query.
pathstringRepository path. Defaults to the server's working directory; when editing in a git worktree, pass the worktree's path.
refstringGit 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…
topnumberNumber 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.

ParameterTypeDescription
query *stringPlain-English change request to score, e.g. "add a new MCP tool".
includeMarkdownbooleanReturn a compact human-readable markdown report instead of the full JSON. Defaults to false.
pathstringRepository path. Defaults to current working directory.
topnumberNumber 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.

ParameterTypeDescription
query *stringPlain-English change request to route, e.g. "fix the typo in the README".
hoststringOptional host whose model map resolves the tier to a model id (built in: claude-code; add others in .solumbe/model-route.json).
includeMarkdownbooleanReturn a compact human-readable markdown report instead of the full JSON. Defaults to false.
offlinebooleanNever call the model, even when a key is set. Defaults to false.
pathstringRepository path. Defaults to current working directory.
topnumberNumber 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.

ParameterTypeDescription
base *stringGit ref to diff against (e.g. origin/main, HEAD~1). Required.
headstringScore exactly base..head instead of the working tree; the receipt binds to the head commit. Cannot be combined with staged.
includeMarkdownbooleanReturn a compact human-readable markdown report instead of the full JSON. Defaults to false.
includeUntrackedbooleanWorking-tree mode only: also score untracked, non-ignored files. Defaults to false; untracked files are otherwise listed under untracked and not scored.
intentDeclared intent from change_impact declare (record, JSON, or path): score against the declared files instead of a live prediction.
pathstringRepository path. Defaults to current working directory.
querystringThe stated task / intent to measure against the diff, e.g. "add Stripe refunds". Required unless intent is passed, whose request is then the query.
stagedbooleanScore only the Git index; the receipt binds to its tree.
topnumberNumber 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…

ParameterTypeDescription
basestringBase ref for the local gate. Defaults to origin/main, then HEAD. Ignored in PR mode.
governancestringGovernance: team or solo. Omitted, the repository's .solumberc.json or user config decides, else team.
headstringGate exactly base..head; uncommitted files play no part. Cannot be combined with staged. Ignored in GitHub PR mode.
intentDeclared intent from change_impact declare (record, JSON, or path): fails the gate when a changed file was never declared.
minConvergencenumberOptional minimum convergence score (0–100). Enables a failing gate when the task/diff score is below this floor.
pathstringRepository path. Defaults to current working directory.
policystringPolicy profile: standard, company, or high-risk. Omitted, the repository's .solumberc.json or user config decides, else standard.
prstringPR selector (number, URL, or branch). Set, runs the GitHub gate on that PR; omitted or blank, runs the local gate.
receiptstringConvergence receipt: inputs hash, JSON object, or path. A head- or staged-bound receipt verifies only in that mode.
requeststringOptional change request for context evidence output.
stagedbooleanGate 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.

ParameterTypeDescription
basestringBase ref for local diff. Defaults to origin/main, then HEAD.
governancestringGovernance: team or solo. Omitted, the repository's .solumberc.json or user config decides, else team.
headstringReview 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.
impactTopnumberNumber of impact files. Defaults to 8.
intentDeclared intent from change_impact declare (record, JSON, or path): fails the gate when a changed file was never declared.
minConvergencenumberOptional minimum convergence score (0–100) enforced by the merge gate.
pathstringRepository path. Defaults to current working directory.
policystringPolicy profile: standard, company, or high-risk. Omitted, the repository's .solumberc.json or user config decides, else standard.
prstringPR selector (number, URL, or branch). Set, gates that GitHub PR, as review_gate does; omitted or blank, runs the local gate.
receiptstringConvergence receipt: inputs hash, JSON object, or path.
requeststringPlain-English change request for impact scoring.

workspace_report Workspace Report

Generate a product-level report across multiple related repositories.

ParameterTypeDescription
paths *arrayRepository paths to inspect together.
includeMarkdownbooleanReturn 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.

ParameterTypeDescription
basestringBase ref. Defaults to PR base, upstream, origin/main, or main.
commentbooleanCreate or update a sticky GitHub PR comment using gh. This writes to GitHub.
githubbooleanAsk gh to infer the current branch PR.
headstringHead ref. Defaults to HEAD.
includeMarkdownbooleanReturn a compact human-readable markdown report instead of the full JSON. Defaults to false.
numbernumberOptional GitHub PR number for gh enrichment.
pathstringRepository path. Defaults to current working directory.

repo_harness Repository Harness

Generate setup, validation, runtime, and context commands for an agent or CI harness.

ParameterTypeDescription
includeMarkdownbooleanReturn a compact human-readable markdown report instead of the full JSON. Defaults to false.
pathstringRepository path. Defaults to current working directory.