Files
alexmandClaude 7890fa1ad7 feat: trace annotation body for traced citations; paperspec.traces
A trace follows one citation of a sentence of a citing paper to a passage of the
cited paper (spec/18 section 18.5). Minor change: a new body kind, optional
properties and two rules, with no valid file made invalid.

- annotation schema branch (source, selector, reference, note, verdict, proposer;
  proposer required for a Software creator); body_kind in sql/store.sql; the note
  and proposer terms of the JSON-LD context; rules layer.trace.source and
  layer.trace.target.
- paperspec.traces: resolve(annotation, citing_state, cited_state, same_as) gives
  current, changed, stale, unlinked or misresolved with open and cites; problems,
  disputes, disputed.
- fixtures/records/traces/ on writer2027fixed-ynr7.v3 and vectors/traces.jsonl
  (29 cases); check.py runs the record checks over both layers; counts, glossary,
  examples and CHANGELOG updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uy4ZYbWRoCdUtWLEfigysY
2026-10-17 20:12:04 -04:00

50 lines
1.2 KiB
Plaintext

{
"@context": {
"@version": 1.1,
"sct": "https://paperspec.scient.ing/vocab#",
"format": "sct:format",
"kind": "sct:kind",
"status": "sct:status",
"receipt": "sct:receipt",
"layer": {
"@id": "sct:layer",
"@type": "@id"
},
"audience": "sct:audience",
"visibility": "sct:visibility",
"purpose": "sct:purpose",
"project": "sct:project",
"docs": {
"@id": "sct:docs",
"@container": "@set"
},
"pin": "sct:pin",
"role": "sct:role",
"symbol": "sct:symbol",
"key": "sct:symbolKey",
"verdict": "sct:verdict",
"reason": "sct:reason",
"reference": "sct:reference",
"note": "sct:note",
"proposer": {
"@id": "sct:proposedBy",
"@type": "@json"
},
"for": "sct:questionFor",
"category": "sct:category",
"generator": "sct:generatedBy",
"exercise": {
"@id": "sct:exercise",
"@type": "@json"
},
"anchor": {
"@id": "sct:anchor",
"@type": "@json"
},
"AnchorSelector": "sct:AnchorSelector",
"rights_use": "sct:rightsUse",
"total": "as:totalItems",
"as": "https://www.w3.org/ns/activitystreams#"
}
}