fix: preserve workflow handoffs across branches#414
Open
malikrohail wants to merge 1 commit intogarrytan:mainfrom
Open
fix: preserve workflow handoffs across branches#414malikrohail wants to merge 1 commit intogarrytan:mainfrom
malikrohail wants to merge 1 commit intogarrytan:mainfrom
Conversation
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.
Summary
Fixes the still-open root causes from #280 that make multi-step workflows lose context when skills run on different branches.
What changed
bin/gstack-find-artifactto resolve the best design doc or CEO plan for the current repo/branchgstack-review-logwrite to a project-scopedreviews.jsonlin addition to the legacy branch filegstack-review-readprefer the project-scoped log and fall back to all legacy per-branch logs when needed/plan-eng-reviewto load both the current design doc and the active CEO plan via the helper instead of branch-fragile globs/plan-ceo-reviewand/autoplanto use the shared design-doc lookup helperWhy this fixes the bug
Current
mainalready has the narrow/reviewlogging fix, but workflow continuity still breaks because:/plan-eng-reviewhas no direct CEO-plan discovery pathThis PR moves those handoffs to project scope and gives the planning skills a shared artifact lookup path instead of ad hoc globs.
Verification
bun run gen:skill-docsbun run gen:skill-docs --host codexbun run gen:skill-docs --dry-runbun test test/workflow-handoff.test.tsbun testRefs #280