feat: allow Idea to be reused across multiple Proposals#30
Open
AutoJunjie wants to merge 2 commits intomainfrom
Open
feat: allow Idea to be reused across multiple Proposals#30AutoJunjie wants to merge 2 commits intomainfrom
AutoJunjie wants to merge 2 commits intomainfrom
Conversation
added 2 commits
March 13, 2026 22:09
- Remove checkIdeasAvailability blocking in MCP tool (pm.ts), convert to informational warning - Remove availability check blocking in frontend (actions.ts, new/page.tsx) - Allow 'Create Proposal' button for ideas in elaborating, proposal_created, and completed states (idea-detail-panel.tsx) - Keep existing status transition logic (already idempotent for reuse) Closes: Idea 可重复用于生成 Proposal
- Test submitProposal with Idea in proposal_created status (updateMany matches 0, no error) - Test approveProposal with Idea in completed status (updateMany matches 0, no error) - All 86 tests pass
Coverage Report
File CoverageNo changed files found. |
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.
支持同一个 Idea 被多个 Proposal 引用。移除 checkIdeasAvailability 阻断,前端允许 proposal_created/completed 状态的 Idea 创建新 Proposal。86 tests all pass。
Chorus Proposal: https://chorus.yfeichen.people.amazon.dev/projects/fc062cb4-fc0d-40d2-b849-bc0eb019c8bd/proposals/69261ff9-9da0-4d8b-9070-47a6b0db1bba