-
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
9a1b645
feat(metadata): annotate citation fields with source provenance for U…
ErykKul 31c4084
feat(metadata): add AI provenance and compliance checklist to PR body
ErykKul 927adac
Update image/app/common/get_metadata.go
ErykKul ea1b54b
Update image/app/common/get_metadata.go
ErykKul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # @ai-tool: Copilot | ||
|
|
||
| ## Summary | ||
|
|
||
| - Annotate Dataverse citation fields with a `source` string (e.g., `codemeta.json`, `CITATION.cff`) purely for UI display. | ||
| - No change to submission payload or templates; unknown props ignored by consumers. | ||
| - Built and unit tests PASS locally via `make`. | ||
|
|
||
| ## AI Provenance (required for AI-assisted changes) | ||
|
|
||
| - Prompt: Add Source column in UI; backend should annotate metadata with provenance per field. | ||
| - Model: GitHub Copilot gpt-5 | ||
| - Date: 2025-09-16T10:00:00Z | ||
| - Author: @ErykKul | ||
| - Role: deployer | ||
|
|
||
| ## Compliance checklist | ||
|
|
||
| - [x] No secrets/PII | ||
| - [ ] Transparency notice updated (if user-facing) | ||
| - [x] Agent logging enabled (actions/decisions logged) | ||
| - [x] Kill-switch / feature flag present for AI features | ||
| - [x] No prohibited practices under EU AI Act | ||
| - [x] Human oversight retained (required if high-risk or agent mode) | ||
| 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 | ||
| - [x] License/IP attestation | ||
| Attribution: N/A | ||
|
|
||
| ### Change-type specifics | ||
|
|
||
| - Security review: N/A | ||
| - Backend/API changed: | ||
| - ASVS: N/A | ||
| - Log retention policy: N/A | ||
|
|
||
| ## Tests & Risk | ||
|
|
||
| - [x] Unit/integration tests added/updated | ||
| - [x] Security scan passed | ||
| Rollback plan: Revert PR | ||
| Smoke test: N/A | ||
| - [x] Docs updated (if needed) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.