Structs§
- Amend
Migration Context - Context for amend migration, assembled before calling the agent.
- Pending
Squash - Written to .git/chronicle/pending-squash.json by prepare-commit-msg. Consumed and deleted by post-commit.
- Squash
Synthesis Context - Context for squash synthesis, assembled before calling the agent.
- Squash
Synthesis Context V3 - Context for v3 squash synthesis.
Functions§
- collect_
source_ annotations - Collect annotations from source commits using git notes.
- collect_
source_ annotations_ v3 - Collect annotations from source commits, normalizing all versions to v3
via
schema::parse_annotation(). - collect_
source_ messages - Collect commit messages from source commits.
- delete_
pending_ squash - Delete the pending-squash.json file.
- migrate_
amend_ annotation - Migrate an annotation from a pre-amend commit to a post-amend commit.
- read_
pending_ squash - Read pending-squash.json. Returns None if missing, stale, or invalid. Stale or invalid files are deleted with a warning.
- synthesize_
squash_ annotation - Synthesize an annotation from multiple source annotations (squash merge).
- synthesize_
squash_ annotation_ v3 - Synthesize a v3 annotation from multiple source annotations (squash merge).
- write_
pending_ squash - Write pending-squash.json to .git/chronicle/.