-
Notifications
You must be signed in to change notification settings - Fork 3
feat(metadata): annotate citation fields with source for UI display #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
AI Governance checks failedPlease fix the following before re-running checks:
Helpful links:
After edits, push updates or re-run the workflow to validate. |
AI Governance checks failedPlease fix the following before re-running checks:
Helpful links:
After edits, push updates or re-run the workflow to validate. |
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds source provenance annotation to Dataverse citation fields to enable UI display of which metadata files (e.g., codemeta.json, CITATION.cff) contributed to each field. The changes are purely for UI enhancement and maintain backward compatibility.
- Introduces provenance tracking to record which source files populate metadata fields
- Adds annotation logic to inject source information into the metadata response structure
- Maintains non-breaking compatibility by adding unknown properties that consumers can ignore
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| image/app/common/get_metadata.go | Implements provenance tracking and source annotation for metadata fields |
| .gov/be_pr_body.md | Adds PR description file with AI compliance documentation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Code Review Agent (Python)\nNo Python files changed. Skipping analysis. |
|
/gov |
Governance Agent Report\n\nChanged files (2):
Detected change types:
Missing or incomplete items:
Tip: Use the PR template fields to satisfy these checks. Run /gov help for commands. Also try: /gov links and /gov autofill apply. |
|
/gov copilot |
|
/gov links |
|
/gov autofill apply |
Governance reports summaryRun ID: 17793805084 ScanCode (licenses)
SBOM (SPDX)
|
|
AI prompts used in this work (transparency)
|
@AI-Tool: Copilot
Summary
AI Provenance (required for AI-assisted changes)
Compliance checklist
Risk classification: limited
Personal data: no
DPIA: N/A
Automated decision-making: no
Agent mode used: yes
GPAI obligations: N/A
Vendor GPAI compliance reviewed: N/A
Attribution: N/A
Change-type specifics
Tests & Risk
Rollback plan: Revert PR
Smoke test: N/A