Canon: effective dates for concepts and edges

Aperta
#6,998 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
sql
Ambito
databases

Direzione di ricerca

Read the Living Canon plan at plans/living-canon-continuous-ingest.md and the master plan governance rule 5 and decision 5 referenced in the issue. The issue asks reviewers to choose how effective dates should be represented and how the resolver should treat undated questions and expired concepts; implementation scope and files are not yet specified.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

canon

Summary

Canon has no way to say a fact holds from one date to another. Supersedes records that one concept replaced another, but not when either took effect, so an agent cannot answer "what was the policy on the date of this order?"

Why now

  • Living Canon decision records (plans/living-canon-continuous-ingest.md, Workstream D) are mostly "from now on" facts. Its billing-currency worked example has three decisions in sequence, each correct for its own period. Without dates, only the latest can be asked about.
  • Policies, prices and bylaws in documents often carry an effective date the extractor can already read.
  • Retrieval needs it. The Canon context resolver (unification plan Rule 4) should be able to answer as of a date and show the dates it relied on.

Options for the review

  1. Columns on MJ: Graph Concepts: EffectiveFrom, EffectiveTo (both optional). Simple, but one concept would then mean one time span, so a change of policy is always a new concept with Supersedes.
  2. Attributes on edges (Supersedes, Governs): the span lives on the relationship. More flexible, but harder to query and to show.
  3. Both: the concept's own span, and an edge's span where the relationship changes but the concept does not.

This is a schema change, so it goes through the review (master plan governance rule 5) and decision 5 (shipped vocabulary) applies until it is decided.

Also to decide

  • How the resolver treats a question with no date (the current span, presumably).
  • Whether an expired concept stays Approved with a past EffectiveTo, or moves to Deprecated.

Source

Anthropic's knowledge graph cookbook keeps time only in entity summaries; this issue is the gap that comparison showed.


Generated by Claude Code

Lingua principale
TSQL
Stelle
32
Fork
7
Merge medio
1g 16h
PR unite (30g)
504

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MemberJunction/MJ

Tutte le issue di MemberJunction/MJ

Issue simili

Altre issue su Databases

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.