Skip to main content

Pre-Commit Summary

The Pre-Commit Summary is a checkpoint before you commit agent-written code. It aggregates everything that happened since your last commit into a single review modal — files changed, risk signals, dependency modifications, and a suggested commit message.

Opening the Pre-Commit Summary

  • Command Palette: UnfoldAI: Pre-commit Summary
  • Dashboard: Action button in the status area

The summary automatically scopes to changes since your last git commit, so you only see what's new.

What You'll See

The Pre-Commit Summary modal includes:

Risk Assessment

A risk badge showing the assessed risk level and score for the current changes. Levels range from low to critical, with color-coded indicators.

Summary Metrics

Quick stats at a glance:

  • Files changed (by agent and manually)
  • Commands executed
  • Active session duration
  • Episodes triggered
  • Test results
  • Issues detected
  • Dependency changes

Files Changed

A list of all files modified by agents, with change attribution.

Risk Signals

Specific risk indicators worth reviewing before committing — things like unresolved issues, high file churn, or dependency changes.

Verification Checklist

Interactive checkboxes for pre-commit review items. Check them off as you verify each area.

Suggested Commit Message

UnfoldAI generates a commit message based on the actual changes — using real file names, git diff statistics, and the nature of the work done. You can copy it directly or edit it.

On the Free tier, you get 3 AI-generated commit messages (lifetime). After that, a template-based fallback message is shown with an upgrade prompt. Pro and Ultra plans include unlimited AI commit messages.

AI Run Narrative (Pro)

A narrative summary of the session — what the agent set out to do, what it accomplished, and what to watch out for.

Export Options

ButtonOutput
CopyPlain text summary to clipboard
Copy ReportDetailed report format
Copy for PRPR-ready description format

Automatic Scope Reset

UnfoldAI watches for git commits and automatically resets the pre-commit scope. When you commit (from any tool — VS Code, terminal, GitHub Desktop, or an AI agent), the next pre-commit summary only shows changes after that commit.

Availability

FeatureFreeProUltra
Pre-commit summary
Risk assessment
Verification checklist
AI commit message3 lifetime✅ Unlimited✅ Unlimited
AI run narrative