Goal
Research what a Git merge driver would mean for Gira and whether Gira needs one for .gira files.
Context
The PyPI gira project appears to include a merge-driver idea for resolving conflicts in local .gira JSON state. Gira also uses .gira/config.yaml, but Gira's source of truth is GitHub execution state, not local project-management JSON.
Git supports custom merge drivers through .gitattributes and merge driver configuration. A merge driver can define how Git combines file changes during merges instead of using the default text merge behavior.
Reference:
Research Questions
- What exact conflict class would a Gira merge driver solve?
- Which
.gira files, if any, are expected to be committed and edited by multiple branches?
- Would a merge driver be useful for config, cache, packet, export, or local backlog files?
- Should Gira instead avoid merge-sensitive committed local state?
- Is schema-aware merge worth the added installation and support complexity?
Candidate Outcomes
- No merge driver needed; keep
.gira committed files minimal.
- Add documentation only: how to avoid conflicts and what not to commit.
- Add a narrow merge driver for packet/backlog files if Gira later commits structured local state.
- Add a generic JSON/YAML merge helper only if there is clear user pain.
Acceptance Criteria
Goal
Research what a Git merge driver would mean for Gira and whether Gira needs one for
.girafiles.Context
The PyPI
giraproject appears to include a merge-driver idea for resolving conflicts in local.giraJSON state. Gira also uses.gira/config.yaml, but Gira's source of truth is GitHub execution state, not local project-management JSON.Git supports custom merge drivers through
.gitattributesand merge driver configuration. A merge driver can define how Git combines file changes during merges instead of using the default text merge behavior.Reference:
Research Questions
.girafiles, if any, are expected to be committed and edited by multiple branches?Candidate Outcomes
.giracommitted files minimal.Acceptance Criteria
.girafiles and their conflict risk.