hj-git
hj-git contains repository discovery and .ctx management utilities for hj.
Provides
RepoContextandHandoffPathsdiscover,branch_name,current_short_head, andtodaydiscover_handoffsanddiscover_todo_markers.ctxrefresh and managed.gitignorerewriting
Responsibilities
- Resolve repo roots and project names from the current working tree
- Build canonical
.ctx/HANDOFF.*and.state.yamlpaths - Build canonical
.ctx/HANDOVER.mdoutput paths - Initialize missing state files during
hj refresh - Scan nested repos for handoff files and TODO markers
- Maintain the managed handoff block inside
.gitignore
Used By
hj-cli detecthj-cli refreshhj-cli handuphj-cli closehj-cli handover