Native Git

Git work should be inspectable before it becomes trust.

Sidecat now exposes git through a native operation catalog instead of treating repository work as anonymous shell glue. The line covers local observations, typed local transitions, and governed external effects.

This page describes the public support surface. The protected commit and push path still runs through sidecatd, credential custody, evidence references, and receipts.

Work path

Observe locally, change deliberately, publish with receipts.

Inspect

Agents use git.status, git.diff, git.show, git.log, and git.branch to understand a repository before acting.

Prepare

Agents use git.add and git.restore for typed local staging and un-staging instead of relying on loose shell transcripts.

Publish

Agents use git.commit, git.push, and git.remote.read for evidence-bound commits, credential-custodied pushes, and remote parity.

Catalog

Native operations cover the working loop.

local observation

git.status

Reads the current branch, short status entries, ahead/behind state, and cleanliness without changing the worktree.

Sidebird detail

local observation

git.diff

Reads bounded unified diffs for unstaged, staged, or HEAD scope, with truncation reported instead of hidden.

Sidebird detail

local observation

git.show

Reads one git object through bounded output so an agent can inspect a commit, tag, or blob without shell scraping.

Sidebird detail

local observation

git.log

Reads newest-first commit history as structured commits, with bounded body output and optional path filtering.

Sidebird detail

local transition

git.add

Stages explicit pathspecs and returns the post-add status snapshot so staging is recorded as a typed operation.

Sidebird detail

local transition

git.restore

Restores explicit pathspecs from the index, worktree, or both, then returns the post-restore status snapshot.

Sidebird detail

local observation

git.branch

Reads current HEAD, detached state, local branches, optional remote-tracking refs, upstreams, and tracking text.

Sidebird detail

governed effect

git.commit

Creates an evidence-bound commit through sidecatd with work id, actor, reason, branch guard, and receipt output.

Sidebird detail

governed effect

git.push

Publishes a governed commit through purpose-scoped credential custody and records the external effect receipt.

Sidebird detail

governed effect

git.remote.read

Reads a remote branch through connector custody, optionally checking the expected SHA after a governed push.

Sidebird detail

Sidebird

The operation catalog is exported with the public snapshot.

Sidebird renders the operation catalog and one detail page per operation from sidecatd descriptors, so a reader can inspect schemas, summaries, effect classes, owners, and templates without needing the local daemon.