Canon: resolve proposed concepts against the existing graph by meaning

Aperta
#6,996 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
20/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
machine-learning, typescript

Direzione di ricerca

Read the Canon master plan’s decision 6, the Canon unification plan’s Rule 5, and packages/ContentPipeline/base/src/graph/ConceptSeedClustering.ts to understand the current matching and shared-proposal flow. Then identify where each listed proposer creates proposals and how the MJ 6213 ledger represents them. Done means the team resolves the design questions in the issue and defines a shared resolution step with the three outcomes, approval flow, and incremental matching behavior.

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

Descrizione

canon

Summary

Proposers match a candidate concept to the existing graph by spelling today. They should match it by meaning, through one shared resolution step that every proposer calls.

Today

packages/ContentPipeline/base/src/graph/ConceptSeedClustering.ts scores a candidate against existing MJ: Graph Concepts by token and synonym overlap (Jaccard) with Name and Synonyms. It misses the cases that matter most: "member dues" vs "annual subscription fee", an acronym vs its expansion, a person's nickname vs full name. Decision 6 in the Canon master plan tells every proposer to skip names already in the graph, so a near-duplicate under a different name gets past it and lands in a steward's review queue.

Proposal

One resolution step, called by every proposer (Content Pipeline, MJ 6213's learning loop, DBAutoDoc per MJ 6586, Living Canon decision records, taxonomy import, Skip promotion):

  1. Narrow first. Vector similarity between the candidate and existing concepts' name, synonyms and description picks a handful of plausible matches. This is "blocking", so no proposer compares against every concept.
  2. Ask a model to decide, within one concept type, using each concept's description as context.
  3. Three outcomes, not merge-or-not:
    • Same concept: propose a synonym or a Same As edge.
    • Narrower or broader: propose a BroaderThan edge. This is the case a merge-or-not decision gets wrong, folding something specific into something broad.
    • Distinct: propose a new concept.
  4. Everything stays a proposal. Each outcome is a Proposed row through MJ 6213's ledger (decision 2). Nothing merges without approval.
  5. Rejections still stick. A candidate that resolves as same to a rejected concept is skipped, which is decision 6's first rule, widened from names to meaning.
  6. Incremental. New candidates are resolved against the existing set, not against each other, so cost grows with what is new.

The master plan carries the proposed wording of decision 6. The Canon unification plan describes the step in Rule 5. It replaces the backlog item "matching by meaning, not only by name and synonym", which put the matching only in the stewards' review screen.

For the December 3 review

  • Confirm the widened decision 6 (the sponsor's proposal).
  • Where the step lives (a shared service beside the edge-type validation in Rule 2 is the obvious home), and its owner.
  • Whether a confident same may be auto-applied as a synonym for low-risk concept types, or always goes to a reviewer.

Related

  • MJ 6997: the gold-set eval should score extraction after this resolution step.

Source

The entity-resolution step in Anthropic's knowledge graph cookbook, adapted to MJ's proposal model.


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 AI Infra & Agents

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.