Skip to content

feat(incident-detective): add private share card - #10

Merged
margrop merged 1 commit into
mainfrom
agent/p2-006-private-share-card
Jul 25, 2026
Merged

margrop merged 1 commit into
mainfrom
agent/p2-006-private-share-card

Conversation

@margrop

@margrop margrop commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a strict Score-only Share Card v1 contract
  • project only scenario id, total, band, and dimension scores from validated Score v1
  • render a deterministic standalone 1200×630 SVG with XML-escaped labels
  • add local browser download and explicit privacy copy to the Incident Detective workbench
  • complete P2-006 and the Incident Detective MVP backlog

Privacy boundary

  • no Scenario, Attempt, evidence payload, answer, findings, strengths, improvements, or user prose enters the share object
  • no timestamp, random id, persistent identifier, network, AI, storage, or analytics
  • the SVG has no scripts or external resources
  • identical scores produce identical files

Validation

  • npm run validate
  • 17 test files / 199 tests passed
  • production Astro build passed
  • 38 static contracts passed

@margrop
margrop marked this pull request as ready for review July 25, 2026 10:45
@margrop
margrop merged commit 0fd9dad into main Jul 25, 2026
1 check passed
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