Skip to content

fix MCQ banner: stop repeating the question - #41

Merged
ajlennon merged 1 commit into
mainfrom
fix/mcq-banner-no-dup-question
Aug 10, 2026
Merged

fix MCQ banner: stop repeating the question#41
ajlennon merged 1 commit into
mainfrom
fix/mcq-banner-no-dup-question

Conversation

@ajlennon

Copy link
Copy Markdown
Member

Summary

  • Dangerous / action-class banner strip no longer appends payload.question (eyebrow + #question already show the ask).
  • Guard in test_nebula_layout.py against the old ${prefix}${payload.question} pattern.

Test plan

  • scripts/test_nebula_layout.py
  • Live Policy MCQ — question once only (Alex)

AI disclosure

AI-assisted (Cursor).

Made with Cursor

Dangerous/action-class strips showed prefix + full question while #question
already rendered the ask, so Policy MCQs looked doubled.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ajlennon
ajlennon requested a review from jackghx as a code owner August 10, 2026 08:31
@ajlennon
ajlennon merged commit 9807e45 into main Aug 10, 2026
4 checks passed
@ajlennon
ajlennon deleted the fix/mcq-banner-no-dup-question branch August 10, 2026 08:33
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.

1 participant