Skip to content

fix(planning): render inline markdown in interview Decide rows - #9009

Merged
melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-8088-39716605078-1
Oct 22, 2026
Merged

melodic-automation-lanes[bot] merged 3 commits into
mainfrom
work-resolve-issue/issue-8088-39716605078-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #8088

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Decide rows in the interview surface now render each choice's label and text through the shared inline() renderer instead of esc(), so backticked code renders as a code element and issue numbers link; inline() escapes first, so HTML stays text. Bare issue numbers in question text and notes already linked through inline() (given meta.repo), so nothing changed there.

Not verified

  • The Playwright UI checks (surface-checks.sh, ui_a.js) were not run here: the runner is not available in this lane. Left to the PR's CI.
  • CI's test-bash on the PR was not run here; left to the PR's CI.
  • cant-fail-scan does not claim ui_a.js (0 test files examined), so it gave no result. new-changelog-fragment could not run on a detached HEAD, so the fragment was written by hand in the same format.
  • No separate review subagent was run and no review-venue.txt was present; the diff is a one-line render change plus tests.

Fix

  • plugins/planning/surface/index.html: Decide row render uses inline(c.label) and inline(c.text) instead of esc()
  • plugins/planning/surface/tests/ui_a.js: new UI checks for a Decide row's code element, <b> shown as text, #123 link in a Decide row, and #123 link in a note
  • plugins/planning/surface/tests/round-d3.json: N1 alternative b text now carries backticked code, <b> and #123
  • .changes/planning/fix-8088-decide-row-inline-markdown-6d3f1b82.md: planning patch fragment

Verification

The runner ran each check from the base copy against 1e3f50e:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

Left out: the items under Not verified.

Related

#8088

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 1ccbc32c2c3a08bdb864f3fdcb2aa9037c0f43e7: 0 finding(s), 0 as inline comments.

Security review (incremental, head 1ccbc32)

Scope: the two files changed since 1e3f50e, plugins/planning/surface/tests/round-d3.json and plugins/planning/surface/tests/ui_a.js.

Result: no security issues found.

  • round-d3.json: one test fixture string changed from (see #123) to (see #77).
  • ui_a.js: the matching test assertion changed from #123 .../issues/123 to #77 .../issues/77.
  • The change touches test data and a test expectation only. It adds no runtime code, input handling, trust boundary, secret or credential handling, or workflow change.
  • The fixture still contains <b>by default</b>, and the test still asserts it renders as text and not markup. That keeps the existing check on the surface's escaping behavior.
  • The diff has no instruction-surface deletions or softening, and it changes no plugin manifest (plugin.json or marketplace.json), so there are no manifest <field> lines.

The skip gate applies: there is no security-relevant surface in the incremental change. I posted no inline comments.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 1ccbc32c2c3a08bdb864f3fdcb2aa9037c0f43e7: 0 finding(s), 0 as inline comments.

Incremental review of 1ccbc32, covering the changes since 1e3f50e in plugins/planning/surface/tests/round-d3.json and plugins/planning/surface/tests/ui_a.js. No findings.

The change gives the Decide-row issue reference its own number: N1 alternative b now cites #77 instead of #123, and the Decide-row assertion expects #77 https://github.com/o/r/issues/77.

  • Why it is needed: the title/facts check at ui_a.js:48 counts #123 links exactly twice, once from the title and once from the facts. It collects links with #qhead a, .blk a, which may also match a Decide row. If it does, a third #123 in the Decide row would break that count. A distinct number removes that overlap.
  • Other uses of the old text: I grepped the other test scripts and JSON files for the old #123 text in N1 alternative b and found no other dependency on it. The other #123 hits are the note and journey tests, which use their own text.
  • What I did not run: I did not run the Playwright suite, so I have not checked that the new #77 assertion passes. That is left to CI.
  • Closing issue: fix(planning): render inline markdown in interview Decide rows #8088 is in the PR context. The incremental diff touches only test data and one assertion, so I judged no acceptance-criterion finding against it.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of 3 on 1e3f50e.

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 22, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped on this pull request and needs a person: a review finding is uncertain or deferred, so a person decides it.

  • Reason: feedback-uncertain
  • Resume key: 1e3f50ef70fa866d26b9e101f5a5a09cd8d8e9e2 (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=9009 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=9009 -f activity=address-feedback

kyle-sexton and others added 2 commits October 21, 2026 23:58
Alternative b's text renders twice, in the Decide row and in the
Alternatives details section, so its #123 put a third #123 link under
.blk and broke the existing check that a title and facts link each ref
exactly twice. Use #77 in that alternative and its Decide-row check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@melodic-automation-lanes

melodic-automation-lanes Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: risk MED at head 1ccbc32c2c3a08bdb864f3fdcb2aa9037c0f43e7. Only LOW merges without a human. This pull request waits for one.

MED findings:claude-review: 1 open

This refusal has stood unchanged at this head, so a person is needed: the pr-merge lane added the human-gated label.

@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Oct 22, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path enqueued this pull request at head 1ccbc32c2c3a08bdb864f3fdcb2aa9037c0f43e7.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 22, 2026
Merged via the queue into main with commit f67ae95 Oct 22, 2026
51 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-8088-39716605078-1 branch October 22, 2026 13:20
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.

fix(planning): render inline markdown in interview Decide rows

1 participant