feat: Add Assumptions section to research workflow planning documentation (/plan phase)#99
feat: Add Assumptions section to research workflow planning documentation (/plan phase)#99gunisha30 wants to merge 6 commits into
Conversation
…r better clarity on unverified beliefs
|
Hello @cdcore09 @lsetiawan, I believe this PR has a few gaps. While trying to add ‘assumptions’ section across these 3 files, I iteratively reviewed the md file that was created when I executed /plan on one of my projects. I tried to ensure redundant content is not being added inside assumptions that is already present in other sections of the doc. However, I did not run an end-to-end test of the entire workflow till the /validate phase to see if adding assumptions is making any difference. |
… writing and eliminate open questions
|
Hello @lsetiawan @cdcore09 , I was repeatedly facing 504 gateway timeout error when trying to use /plan for a lengthy/complex task. Attached screenshot below (1st image). I tried changing couple of settings on my corporate laptop but nothing worked. The model is Sonnet 4.6 So, I tried to alter the instructions - to create the plan markdown file in multiple steps. I have made corresponding changes to plan.md file. And that did work for me, I tested it 3-4 times. Attaching one of the screenshots below (2nd image). Please share your feedback whenever possible. Thank you!
|
Code reviewFound 2 issues, both in the rewritten Step 4 of
Suggestion: the Assumptions additions are ready to merge; consider splitting them from the Step 4 rewrite. For the 504 timeout that motivated the rewrite (per your earlier comment), a single Write call of the full plan is closer to the original design and consistent with how 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
cdcore09
left a comment
There was a problem hiding this comment.
Requesting changes based on the code review above (#99 (comment)).
The Assumptions additions are good and align with the PR's stated intent. The blockers are both in the Step 4 rewrite of plan.md.
Suggested changes
-
Split the PR. Keep the Assumptions changes (orchestrator checklist line, plan-template
## Assumptionssection, Assumptions Guidelines, and the plan-level checklist entry). Move the Step 4 procedural rewrite into a separate PR so each change can be reviewed on its own merits. The PR title and description currently only advertise the Assumptions work, which makes the Step 4 rewrite easy to miss. -
Address the template/script mismatch in Step 4. If the section-at-a-time approach stays, the script must either cover every
##section inplan-template.md(currently 18) or explicitly mark which template sections are optional. Right now an agent that follows Step 4 verbatim will produce a plan missing Migration Strategy, Risk Assessment, Edge Cases and Error Handling, Performance Considerations, Documentation Updates, Timeline Estimate, Open Questions, and Review History — while the Quality Checklist at L463 still requiresPlan uses the official template from assets/. -
Replace "Append" with a mechanically valid instruction. "One section = one Write/Edit tool call" combined with "Append to
.agents/plan-<slug>.md" is not executable —Writeoverwrites,EditrequiresRead+ exact-matchold_string. Either (a) revert to a single Write call for the full plan (matches/research,/experiment,/handoff) or (b) specify the exact Read+Edit pattern to use for each appended section. -
For the 504 timeout that motivated the rewrite, consider documenting it as a known transport issue with a workaround (e.g., re-run with retry, switch network) rather than encoding the workaround into the plugin instructions for all users. If the chunked write pattern is genuinely needed, applying it uniformly across the other commands would be more consistent than making
/planthe lone outlier.
Happy to re-review once these are addressed.
|
@cdcore09 Thanks for the review! |
…-section writing and eliminate open questions" This reverts commit cfeb747.
…se-plugins into rse-plugins-GunishaC
|
Hi @cdcore09, as suggested in your comment (#99 (review)), I have reverted the commit which was a temporary fix for 504 timeout error. I agree that these changes have a few issues, and might not benefit the entire /plan as a whole. The PR now only contains 'Assumptions' section changes. Thanks. |
|
Hey @cdcore09 please review and suggest changes whenever possible. Thanks! |


Changes
Added an"Assumptions" section to three documents to improve plan quality.
Files Modified
research-workflow-orchestrator.md
plan.md
plan-template.md
Impact