Repository navigation
Conversation
The hook now registers the merge driver on every commit, so contributors need no per-clone setup, and it no longer relies on `env`. The drift job tolerates a repository with no open milestone. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #111 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 290 290
=========================================
Hits 290 290 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
Approval is blocked because there are unresolved review findings that could let the pre-commit hook silently fail to register the merge driver (due to unchecked git config calls) and because the contributing docs currently understate the initial setup needed before the hook has run in a fresh clone.
2 open issues
What changed in this PR
Updates the repo’s graphify tooling so the graph merge driver is automatically configured via the existing graphify-update pre-commit hook, reducing per-clone manual setup and making the drift workflow’s milestone selection more robust.
Changes:
- Update the
graphify-updatepre-commit hook to setmerge.graphify.*config on each commit and then rebuild the graph withPYTHONHASHSEED=0. - Remove per-clone merge-driver setup steps from CONTRIBUTING, keeping them as a fallback for clones that always skip the hook.
- Adjust the graph drift workflow milestone lookup to fall back to an empty value when no open milestone exists.
| File | Description |
|---|---|
.pre-commit-config.yaml |
Extends the graphify-update hook to register the merge driver automatically before rebuilding the committed graph. |
.github/workflows/graphify.yml |
Makes milestone selection resilient when there are no open milestones by emitting an empty output. |
.github/CONTRIBUTING.md |
Updates contributor guidance to reflect auto-registration of the merge driver and documents the manual fallback. |
Review effort: Lite
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
…rge-driver fallback Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…the first hook run registers it Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>


The
graphify-updatehook now registers the graph merge driver on every commit, so contributors no longer run the threegit configlines once per clone. A conflict ongraph.jsonneeds a local commit that changed it, which has already run the hook.python -ccall that sets the driver (pointing at the hook environment's own interpreter, with forward slashes on Windows) and then rebuilds withPYTHONHASHSEED=0. It does not needenv.SKIP=graphify-update.null.Checked in a fresh clone: one
prek run graphify-updateregisters the driver, the hook passes and leavesgraph.jsonbyte-identical. The same entry, in a clone with no manualgit config, merged two branches that both changed the graph with no conflict. Not run on Windows.🤖 Generated with Claude Code