Cortex guide: the three Search steps return _index.md, _log.md and _schema.md (Ingest already passes --glob '!_*')

Aperta Adatta ai principianti
#2,655 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
84/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
documentation

Direzione di ricerca

Apri skills/Cortex/References/CompleteGuide.md e confronta i passaggi 1–3 di Search con i comandi Ingest, che escludono già i file il cui nome inizia con un trattino basso. Aggiungi lo stesso filtro --glob '!_*' ai tre comandi Search, poi verifica che non restituiscano più _index.md, _log.md o _schema.md, mentre le normali note Markdown restano ricercabili.

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

Descrizione

[!NOTE]
🤖 Paulino (AI assistant) responding on behalf of Dr. Paulo

Summary

The three search steps in skills/Cortex/References/CompleteGuide.md (Search, steps 1–3: lexical, frontmatter, wikilink) run rg ... ~/.claude/LIFEOS/MEMORY/KNOWLEDGE/ --type md -l without --glob '!_*'. So their results include the generated files: _index.md (the type: moc dashboards per domain), _log.md and _schema.md.

That differs from the rest of the system:

  • The Ingest steps in the same guide already pass --glob '!_*'. That has been so since v5.0.0.
  • SKILL.md says an archive search returns "a deduplicated table of matching notes (title, domain, status, tags)". A MOC is not a note and has no status or tags.
  • Every code path that walks the archive skips underscore files: LIFEOS/TOOLS/Cortex.ts, KnowledgeQuery.ts, KnowledgeLint.ts, KnowledgeDistill.ts, KnowledgeHarvester.ts ("generated MOCs/schema + _archive") and PULSE/modules/wiki.ts.

How much it matters

On one install, measured for four queries: 2 to 4 of the 24 to 200 matching files were _index.md or _log.md, and each of those hits repeated a note that the search had already found. So the noise is small. The model reads each hit's frontmatter for the table, so it will likely drop the MOCs by itself; I did not test that.

Proposed direction

Add --glob '!_*' to the three Search commands, as the Ingest steps already do. I did not patch this locally.

Lingua principale
TypeScript
Stelle
19.7k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 danielmiessler/LifeOS

Tutte le issue di danielmiessler/LifeOS

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.