closes-issue hook: accept Forgejo issue refs (GH stub workaround now broken) #17

Closed
opened 2026-05-23 21:42:45 +00:00 by coilysiren · 0 comments
Owner

Surfaced

After disabling GitHub issues across all 43 active coilysiren/* repos (FJ#247 follow-on), the GH-stub workaround used for the transition can no longer be filed. Next commit in any coilysiren/* repo that triggers the closes-issue pre-commit hook will be blocked.

Options

  1. Teach the hook to accept closes https://forgejo.coilysiren.me/<owner>/<repo>/issues/N or closes forgejo#N as a same-repo close keyword. Lowest friction during transition.
  2. Flip git origin on each coilysiren/* checkout to forgejo.coilysiren.me with GH as a push mirror. Cleanest end-state but a wider change.
  3. Temporarily disable the closes-issue hook in .pre-commit-config.yaml rev pin. Fast but leaves the rule unenforced during transition.

Recommended: option 1 first (small change, additive, doesn't require origin flip), option 2 second as the real fix.

Cross-refs

  • FJ#247 - parent canonical-flip tracker
  • agentic-os commit a0753cf - already reframed the hook's docstring + ERROR for Forgejo, this is the logic layer
  • GH#769 - last GH-stub successfully filed (today, before the issues-disable sweep)
**Surfaced** After disabling GitHub issues across all 43 active coilysiren/* repos (FJ#247 follow-on), the GH-stub workaround used for the transition can no longer be filed. Next commit in any coilysiren/* repo that triggers the closes-issue pre-commit hook will be blocked. **Options** 1. Teach the hook to accept `closes https://forgejo.coilysiren.me/<owner>/<repo>/issues/N` or `closes forgejo#N` as a same-repo close keyword. Lowest friction during transition. 2. Flip git `origin` on each coilysiren/* checkout to forgejo.coilysiren.me with GH as a push mirror. Cleanest end-state but a wider change. 3. Temporarily disable the closes-issue hook in `.pre-commit-config.yaml` rev pin. Fast but leaves the rule unenforced during transition. Recommended: option 1 first (small change, additive, doesn't require origin flip), option 2 second as the real fix. **Cross-refs** - FJ#247 - parent canonical-flip tracker - agentic-os commit a0753cf - already reframed the hook's docstring + ERROR for Forgejo, this is the logic layer - GH#769 - last GH-stub successfully filed (today, before the issues-disable sweep)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/agentic-os#17
No description provided.