You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[geaflow/ai-memory] Define provenance model for facts, chunks, and evidence #842
Context: Citation-aware answers and deletion propagation require source lineage. Existing subgraph verbalization does not provide claim-level provenance.
Scope:
Add ProvenanceRef and SourceSpan contracts.
Link extracted facts to document, chunk, extractor version, and schema version.
Add JSON examples.
Constraints:
Do not implement answer generation.
Do not store full raw private text inside provenance objects.
Acceptance Criteria:
Every extracted fact fixture can point back to source document and chunk.
Missing provenance fails validation for extracted facts.
Add ProvenanceRef and SourceSpan contracts under geaflow-ai/src/main/java/org/apache/geaflow/ai/provenance, linking facts to document, chunk, extractor version and schema version
Add JSON examples showing how extracted facts point back to their source document and chunk
Add validation so that extracted facts missing provenance fail explicitly, without embedding raw document text in provenance objects
I'll open a PR soon. Happy to adjust the contract shape if reviewers prefer a different structure.
Activity
E2ern1ty commentedon Aug 22, 2026
Hi, I'd like to pick up this issue.
Plan:
ProvenanceRefandSourceSpancontracts undergeaflow-ai/src/main/java/org/apache/geaflow/ai/provenance, linking facts to document, chunk, extractor version and schema versionI'll open a PR soon. Happy to adjust the contract shape if reviewers prefer a different structure.
E2ern1ty commentedon Aug 22, 2026
Submitted an initial implementation in #843. Feedback welcome - happy to adjust the contract shape if reviewers prefer a different structure.
kitalkuyo-gita commentedon Aug 24, 2026
Okay, I'm taking a weekend off. I'm glad you're willing to take on this issue; I'll review your PR in the next day or two.