Git Engine
Async operation processor built on git2 (libgit2). Operations are sent via an unbounded channel and executed on a dedicated tokio runtime.
Operations
| Operation | Fields | Event |
|---|---|---|
| Init | path | RepositoryInitialized |
| Commit | message, author, email, signing_key? | OperationComplete |
| Checkout | target (branch or hash) | OperationComplete |
| Branch | name | OperationComplete |
| BranchList | — | BranchListUpdated |
| Merge | branch | OperationComplete |
| Status | — | StatusResult (modified, untracked) |
| Backup | — | OperationComplete |
| VerifyIntegrity | — | IntegrityResult (git_ok, objects_checked) |
Signed Commits
When a signing key is provided, each commit writes .tetrapus/commit_meta.json containing:
JSON
{
"signed_by": "operator@localhost",
"timestamp": "2026-04-10T12:00:00Z",
"sig": "a3b4c5...ed25519_hex...",
"pubkey": "d4e5f6...public_key_hex..."
} Questions?
Reach out for help with integration, deployment, or custom domain codecs.