-
Notifications
You must be signed in to change notification settings - Fork 0
[Product Gap] Add CSP-safe copy and agent handoff for remediation evidence #928
Copy link
Copy link
Open
Labels
area: accessibilityAccessibility and assistive-technology supportAccessibility and assistive-technology supportarea: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainarea: securitySecurity boundary, hardening, or vulnerability preventionSecurity boundary, hardening, or vulnerability preventionmaintenancepriority: mediumNormal-priority or P2 workNormal-priority or P2 workscope: product-gapCustomer-visible product gapCustomer-visible product gapstatus: triagedOpen issue has an organization taxonomy assignmentOpen issue has an organization taxonomy assignmenttype: featureNew or expanded product capabilityNew or expanded product capability
Description
Activity
Metadata
Metadata
Assignees
Labels
area: accessibilityAccessibility and assistive-technology supportAccessibility and assistive-technology supportarea: apiAPI, protocol, event, or external contractAPI, protocol, event, or external contractarea: ci-cdCI, GitHub Actions, checks, release, or supply chainCI, GitHub Actions, checks, release, or supply chainarea: securitySecurity boundary, hardening, or vulnerability preventionSecurity boundary, hardening, or vulnerability preventionmaintenancepriority: mediumNormal-priority or P2 workNormal-priority or P2 workscope: product-gapCustomer-visible product gapCustomer-visible product gapstatus: triagedOpen issue has an organization taxonomy assignmentOpen issue has an organization taxonomy assignmenttype: featureNew or expanded product capabilityNew or expanded product capability
Type
Projects
- StatusShow more project fieldsBacklog
Buyer-visible problem
Users need to move
Fix Prompt,Verification, and selected finding evidence into an AI coding/review workflow without fragile manual selection. PR #902 demonstrates the demand, but its inlineonclickhandlers conflict with the dashboard's CSP-compatible event-listener contract in PR #909 and would reintroduce inline script behavior.A copy button alone is also insufficient for enterprise use: the product should preserve what was copied, where it came from, and whether the clipboard operation succeeded.
Product requirement
Implement a CSP-safe remediation handoff on the latest dashboard head:
onclick,onkeydown, or dynamic JavaScript string handlers;textContentfrom the renderedpre, never interpolate user-controlled text into JavaScript;Test-first acceptance
${...}, HTML, Unicode controls, and multiline content are copied as inert text.Integration order
Land or rebase after PR #909's CSP-compatible dashboard controls. Update PRD/TRD/Architecture, UI flow/UML, threat model, test strategy, traceability, and CHANGELOG. The implementation should remain standalone while exposing a modular handoff contract for naruon/contextual-orchestrator.