Skip to content

fix(rig-epic): GitHub epics = ticket + sub-issues, not a committed file - #43

Merged
pgebheim merged 1 commit into
mainfrom
fix/rig-epic-github-subissues
Jul 30, 2026
Merged

fix(rig-epic): GitHub epics = ticket + sub-issues, not a committed file#43
pgebheim merged 1 commit into
mainfrom
fix/rig-epic-github-subissues

Conversation

@pgebheim

Copy link
Copy Markdown
Contributor

On tracker: github, an epic's source of truth is now the parent issue and its native GitHub sub-issues, not a repo-committed .rig/epics/*.json. That file becomes a gitignored local cache rebuilt from the tracker.

Why: the board is the shared brain (Learning 1) and rig-loop dispatches off the board — an epic living as committed JSON contradicts both.

  • plan links each child as a sub-issue of the parent (gh api .../sub_issues -F sub_issue_id=…) + Blocked by #n in the body.
  • start/run/next reconstruct children from gh api repos/<repo>/issues/<parent>/sub_issues — so an epic handed to you on the board is runnable with zero committed state.
  • .rig/epics/ stays gitignored. linear/none paths unchanged.

Skill-prose only; scripts/ tests unaffected, typecheck skips (no smithers/ on main).

🤖 Generated with Claude Code

https://claude.ai/code/session_01GHxxuWxnyaNz3cZkcxmnRM

…mmitted file

The board is the shared brain — an epic shouldn't live as repo-committed JSON.
On tracker: github, the source of truth is now the parent issue and its native
GitHub sub-issues:

- plan links each child as a sub-issue of the parent (gh api .../sub_issues) and
  writes blockedBy in the body; the sub-issues ARE the epic on the board.
- start/run/next reconstruct children from the parent's sub-issues
  (gh api repos/<repo>/issues/<parent>/sub_issues), so an epic you were handed
  on the board is runnable with no committed state.
- .rig/epics/*.json is a gitignored local cache rebuilt from the tracker —
  never committed. (linear/none unchanged.)

This is what lets rig-loop dispatch off the board.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHxxuWxnyaNz3cZkcxmnRM
@pgebheim
pgebheim merged commit 645f6bd into main Jul 30, 2026
2 checks passed
@pgebheim
pgebheim deleted the fix/rig-epic-github-subissues branch July 30, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant