phase-commit · git:20260718.206351f · 2026-07-18 · sha256 0dd2e4273e5b3f54

phase-commit git:20260718.206351fA

Immutable. This exact content is served forever at /api/v1/blob/0dd2e4273e5b3f54.

---
name: phase-commit
description: Create one local commit for a completed, validated, and reviewed unit of work. Use only when the user explicitly requests a commit without pushing or other delivery actions.
---

# Phase Commit

Create one isolated local commit without changing history or external state.

## Workflow

1. Confirm required repository checks and applicable validation and review cover the exact intended content.
2. Inspect status, staged and unstaged changes, and relevant untracked files; preserve all unrelated user work.
3. Stop when scope is ambiguous or includes sensitive, unexpectedly generated, or otherwise unsafe paths.
4. Stage only explicit paths with `git add -- <paths>`; never use broad staging commands or globs.
5. Review the staged path list and diff against the requested unit.
6. Commit using repository conventions, without bypassing hooks or changing signing policy.
7. Verify the created commit content and remaining worktree.

Do not amend, rewrite history, push, create branches or pull requests, manage CI, tag, release, or include unrelated changes.

On success report the hash and concise summary. On hook or commit failure, stop and report the blocker without claiming completion.