snapshot_repo_state
Save the current Git repository state—branch, uncommitted files, and last commit—into the vault to prevent redundant repo discovery in future sessions.
Instructions
Snapshot current git state (branch, dirty files, last commit) into the vault. Helps avoid repeating repo discovery across sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Current git branch | |
| project | No | Project slug (auto-detected if omitted) | |
| dirty_files | No | List of dirty/uncommitted files | |
| last_commit | No | Last commit hash or message |