Skip to content

feat(review): render linked-issue satisfaction as an advisory section in the unified comment #2174

Description

@JSONbored

Surface slice of #1961: given a resolved satisfaction result, render a compact public-safe collapsible/section in the unified review comment (addressed/partial/unaddressed + short rationale). Presentation only — additive, never affects the gate. Absent result = no section (byte-identical).

Deliverables

  • Add an optional linkedIssueSatisfaction field to UnifiedReviewInput and render it via the existing collapsible-section helper in src/review/unified-comment.ts
  • Public-safe escaping via escapePublicHtmlAngles (src/review/unified-comment.ts:449)
  • Omit the section entirely when the result is absent
  • Tests: each status renders, absent = no section, HTML angle-escaping, snapshot of the section body (branch-counted)

References

  • src/review/unified-comment.ts:473
  • src/review/unified-comment.ts:449
  • src/review/unified-comment.ts:198

Part of #1961.


size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions