fix(rig-epic): GitHub epics = ticket + sub-issues, not a committed file - #43
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-loopdispatches off the board — an epic living as committed JSON contradicts both.gh api .../sub_issues -F sub_issue_id=…) +Blocked by #nin the body.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/nonepaths unchanged.Skill-prose only;
scripts/tests unaffected, typecheck skips (nosmithers/on main).🤖 Generated with Claude Code
https://claude.ai/code/session_01GHxxuWxnyaNz3cZkcxmnRM