rosentic

v0.1.1
io.github.Rosentic/rosentic Checked 1 day ago Published 6 months ago

Deterministic cross-branch conflict detection for AI coding agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_conflicts Check Conflicts

Check a local git repository for Rosentic cross-branch conflicts. Call this before merging or after an agent edits a branch. The summary format is the normal agent-facing response. The json format returns unique findings with finding_id values for follow-up explain_conflict calls.

ParameterTypeDescription
repo_path *stringAbsolute or relative path to the local git repository to scan.
basestringBase branch used for branch diffs. Defaults to main.
branchBranch to check against other active branches. If omitted, the current checked-out branch is used.
branchesExplicit list of branch names to scan. Bypasses enumeration and age filters. Use this when you know exactly which branches to check.
formatstringUse summary for concise text. Use json only when the agent needs finding_ids or full structured findings.

explain_conflict Explain Conflict

Explain one Rosentic finding and what the developer should do next. Call this after check_conflicts(format="json") when the user asks why a specific finding matters or how to resolve it. Uses the recent scan cache when available and falls back to a fresh scan.

ParameterTypeDescription
finding_id *stringfinding_id returned by check_conflicts with format=json.
repo_path *stringAbsolute or relative path to the local git repository that was scanned.

list_branches List Branches

List local branches so an agent can choose a branch before scanning. Call this when the user has not named a branch or asks what branches Rosentic can scan. Results are sorted by most recent commit date.

ParameterTypeDescription
repo_path *stringAbsolute or relative path to the local git repository to inspect.