Skip to content

feat: add Brainstorm Mode toggle with divergent ideation prompts - #3

Open
jadeftx wants to merge 2 commits into
masterfrom
feature/brainstorm-mode
Open

feat: add Brainstorm Mode toggle with divergent ideation prompts#3
jadeftx wants to merge 2 commits into
masterfrom
feature/brainstorm-mode

Conversation

@jadeftx

@jadeftx jadeftx commented Mar 15, 2026

Copy link
Copy Markdown
Owner

Closes #2

Summary

  • Adds Brainstorm Mode toggle in Settings that flips the entire prompt engine from convergent dialectic to divergent ideation
  • Settings dropdowns swap dynamically: Length→Expansion (Sparks/Seeds/Branches), Tone→Perspective (Rapid-Fire/Contrarian/First Principles)
  • New Ideation Vector dropdown (Who/What/When/Where/Why/How/What-If/ALL)
  • Brainstorm-specific prompt frames with tangibility constraint and Gemini filler suppression
  • Idea coordinate numbering [R#-#] in side panel rendering, markdown export, and JSON export
  • UI adapts across the board: header subtitle, consensus button text, confirm dialogs
  • Per-mode modifier preferences preserved independently when switching modes

Files changed (6 files, +338 −43)

  • sidepanel/prompts.js — brainstorm constants + branched prompt builders
  • sidepanel/sidepanel.js — toggle wiring, dynamic dropdown swap, coordinate rendering, export enrichment
  • sidepanel/sidepanel.html — Mode toggle section + Ideation Vector dropdown
  • sidepanel/sidepanel.css.idea-coord style
  • background.js — coordinate annotation in GitHub push markdown export
  • manifest.json — version bump to 1.1.0

Test plan

  • Toggle Brainstorm ON → verify dropdown labels/options swap, vector appears
  • Toggle OFF → verify labels/options revert, vector hides, dialectic preferences preserved
  • Start brainstorm session → verify === BRAINSTORM — ROUND 1 === in prompt
  • Handoff to Gemini → verify filler suppression line appended
  • Verify [R#-#] coordinates appear in side panel on Rapid-Fire idea lines
  • Export markdown → verify [R#-#] prepended to idea lines
  • Export JSON → verify ideas array with ideaIndex fields on AI messages
  • Consensus button shows "End Brainstorm" / "Reopen Brainstorm"

jadeftx and others added 2 commits March 15, 2026 17:49
Adds a Brainstorm Mode that flips the prompt engine from convergent
dialectic to divergent ideation. Toggle in Settings swaps dropdowns
(Length→Expansion, Tone→Perspective), adds Ideation Vector selector,
and rewrites all prompt frames for generative brainstorming.

- Expansion modifiers: Sparks / Seeds / Branches
- Perspective modifiers: Rapid-Fire (9 archetypes) / Contrarian / First Principles
- Ideation Vector: Who / What / When / Where / Why / How / What-If / ALL
- Gemini filler suppression (no closing remarks / follow-up questions)
- Idea coordinate numbering [R#-#] in side panel, markdown, and JSON exports
- Consensus button text adapts to mode (End Brainstorm / Reopen Brainstorm)
- Header subtitle swaps between CONSENSUS WORKFLOW and BRAINSTORM SESSION
- Per-mode modifier preferences preserved independently across mode switches
- Bump version to 1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
marked.parse with breaks:true renders consecutive idea lines as one <p>
with <br> tags. Switch from DOM querySelectorAll to innerHTML regex
replacement to catch [The ] patterns after <p>, <li>, and <br> tags.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jadeftx
jadeftx force-pushed the feature/brainstorm-mode branch from 0ab9ea1 to c0d39ca Compare March 15, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: brainstorm mode

1 participant