Repository-aware brainstorm suggestions
Add repository-aware answer suggestions to Hive brainstorm questions.
After the normal brainstorm pass has created its questions, run a distinct second pass that generates one suggested answer per question using the current task request, repository codebase, managed project wiki, and already-settled brainstorm answers as context.
The suggestions are advisory only and must never become answers or authority until the operator explicitly submits the final brainstorm answers.
TUI behavior:
- Render each suggestion as commented text beneath or within its answer slot.
- Make it easy for the operator to uncomment the suggestion to use it as the default answer, while retaining normal editing before submission.
Web behavior:
- Present each suggestion clearly beside its question with Approve and Decline controls.
- Approve copies the suggestion into the answer textarea only.
- The operator may continue editing the copied text until final plan-answer submission.
- Decline dismisses the suggestion.
- Neither action submits answers, writes the final brainstorm artifact, nor advances the workflow.
Bind suggestions to the exact task, brainstorm generation, question identity, and relevant repository/wiki revision so stale suggestions are invalidated or regenerated when inputs change. Keep output bounded and redacted, make unavailable or degraded suggestion generation explicit, and do not expose prompt or secret material.
Cover second-pass ordering, repository and wiki context construction, TUI comment behavior, Web approve/decline/edit behavior, stale-binding invalidation, degraded generation, and proof that suggestions cannot accidentally write or submit answers. Update the managed wiki and add a wiki log fragment.