WFGY/ProblemMap/glossary.md

5.3 KiB
Raw Blame History

📚 Glossary — Terms, Symbols, and Short Definitions

Quick Nav
RAG Map 2.0 · Retrieval Playbook · Patterns · Eval


Core instruments

  • ΔS (delta-S)Semantic stress. ΔS = 1 cos(I, G) where I is item embedding, G is ground/anchor.
    Thresholds: <0.40 stable · 0.400.60 transitional · ≥0.60 high risk.

  • λ_observeLayered observability state.
    Symbols: convergent · divergent · <> recursive · × chaotic.

  • E_resonanceCoherence indicator. Rolling mean of |residual| under BBMC; rising E with high ΔS ⇒ apply BBCR/BBAM.


Repair operators (WFGY modules)

  • BBMCBoundary-Bounded Memory Chunks. Reduce semantic residue vs anchors; align chunks/sections with tasks.
  • BBPFBranch-Bounded Prompt Frames. Explore multiple semantic paths safely; stabilize context windows.
  • BBCRBreak-Before-Crash Reset. Detect collapse, insert bridge node, restart cleanly.
  • BBAMAttention Modulation. Reduce variance in attention to avoid entropy melt on long contexts.

Retrieval, ranking & prompting

  • RRF (Reciprocal Rank Fusion) — Fuse ranks from multiple retrievers via 1/(k + rank).
  • MMR (Maximal Marginal Relevance) — Diversify candidates balancing relevance and novelty.
  • BM25 — Sparse lexical scoring for exact term match; strong for code/IDs.
  • HyDE — Hypothetical document expansion; creates a synthetic query/doc to improve recall.
  • Cross-encoder reranker — Jointly encodes [query ⊕ doc] for precision@k gains.

Patterns (named failure modes)

  • SCU (Symbolic Constraint Unlock) — Model merges sources or violates “cite-then-explain” schema. Fix: per-source fences + locked schema.
  • Query Parsing Split — Dense and sparse retrievers use different analyzers/tokenizers; hybrid breaks.
  • Vectorstore Fragmentation — Index contains “ghost” gaps; facts exist but never retrieved; fix shard/id audits.
  • Memory Desync — State flips between sessions/tabs; require mem_rev+mem_hash.
  • Role Drift — Multi-agent persona swap; tag agent IDs and lock via BBCR.

Multi-agent

  • Agent boundary — Contract that limits what an agent can read/write; prevents overwrite.
  • ΔS peer check — Measures divergence between agents plans to catch conflicts early.

Data & ops

  • Gold set — Small set (1050) of realistic Q/A with citations; used for CI (recall@50, nDCG@10, ΔS).
  • Traceability — Provenance from answer → prompt → citations → chunks → source file.

Notation quickies

  • I — item (retrieved chunk) embedding; G — ground/anchor embedding.
  • ‖B‖ ≥ B_c — collapse threshold on residual magnitude (BBCR).
  • Convergent λ — layer is stable across paraphrases; divergent λ — layer is drifting.

🔗 Quick-Start Downloads (60 sec)

Tool Link 3-Step Setup
WFGY 1.0 PDF Engine Paper 1 Download · 2 Upload to your LLM · 3 Ask “Answer using WFGY + <your question>”
TXT OS (plain-text OS) TXTOS.txt 1 Download · 2 Paste into any LLM chat · 3 Type “hello world” — OS boots instantly

Explore More

Layer Page What its for
Proof WFGY Recognition Map External citations, integrations, and ecosystem proof
Engine WFGY 1.0 Original PDF based tension engine
Engine WFGY 2.0 Production tension kernel and math engine for RAG and agents
Engine WFGY 3.0 TXT based Singularity tension engine, 131 S class set
Map Problem Map 1.0 Flagship 16 problem RAG failure checklist and fix map
Map Problem Map 2.0 RAG focused recovery pipeline
Map Problem Map 3.0 Global Debug Card, image as a debug protocol layer
Map Semantic Clinic Symptom to family to exact fix
Map Grandmas Clinic Plain language stories mapped to Problem Map 1.0
Onboarding Starter Village Guided tour for newcomers
App TXT OS TXT semantic OS, fast boot
App Blah Blah Blah Abstract and paradox Q and A built on TXT OS
App Blur Blur Blur Text to image with semantic control
App Blow Blow Blow Reasoning game engine and memory demo

If this repository helped, starring it improves discovery so more builders can find the docs and tools. GitHub Repo stars