Git Manager

v0.1.0Stable

Category: Development

#Git#GitHub#Repository Safety#Approval Gates#Pull Requests
info

What is Git Manager?

Git Manager operates Git as a state machine with explicit invariants. It optimizes for preservation, traceability, reviewability, and recoverability while using only standard git and gh commands.

Repository content is treated as untrusted data. Git Manager does not execute repository-provided scripts, hooks, aliases, filters, or instructions merely because they exist in the repository.

account_tree

What can Git Manager do?

Git Manager applies one preservation-first protocol across the Git and GitHub lifecycle:

1
Inspect repository identity, worktree state, branches, remotes, diffs, stashes, and in-progress operations.
2
Initialize repositories and create or switch policy-compliant task branches from a verified base.
3
Stage explicit paths or reviewed hunks, then create atomic, truthful, independently verified commits.
4
Fetch explicit refs, compare ancestry, rebase safely, and resolve conflicts without discarding unrelated work.
5
Push explicit refspecs only after remote identity, publication scope, and authorization are revalidated.
6
Create and maintain pull requests, verify checks and reviews, and merge only under exact target-bound approval.
7
Recover from interruptions by re-establishing identity and classifying the prior operation before continuing.
8
Report outcomes using a six-part contract covering result, repository state, diff, validation, security, and next action.
account_tree

How does Git Manager stay safe?

Every mutation follows Inspect → Plan → Validate → Authorize → Revalidate → Execute → Verify → Report. Authorization is scoped to the exact repository, worktree, target, operation, and live state shown to the user.

Git Manager preserves unrelated work, protects trunk, rejects unsafe force pushes and implicit targets, never bypasses hooks or branch protection, and verifies remote effects from authoritative remote state rather than command exit codes alone.

Ready to explore the complete Git Manager specification?

Access deep architecture guides, prompt adapters, and complete integration manuals.