WFGY/ProblemMap/README.md
2025-08-06 20:42:09 +08:00

167 lines
10 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# WFGY Problem Map 1.0 — Bookmark it. You'll need it.
**16 reproducible failure modes in AI systems — with fixes (MIT).**
*If this page saves you time, a ⭐ helps others find it.*
<div align="center">
<!-- keep one visual; remove if you prefer text-only -->
<img src="https://github.com/onestardao/WFGY/raw/main/OS/images/tree-semantic-memory.gif"
alt="Semantic memory & reasoning fix in action"
width="100%" style="max-width:900px" loading="lazy">
</div>
---
## Quick access
- 🏥 **Semantic Clinic (AI Triage Hub):** [Fix symptoms when you dont know whats broken →](./SemanticClinicIndex.md)
- **Beginner Guide:** [Identify & fix your first failure](./BeginnerGuide.md)
- **Diagnose by symptom:** [Fast triage table → `Diagnose.md`](./Diagnose.md)
- **Visual RAG Guide (multi-dimensional):** [`RAG Architecture & Recovery Problem Map 2.0`](./rag-architecture-and-recovery.md) — high-altitude view linking symptom × pipeline stage × failure class, with the exact recovery path.
- **Field Reports:** [Real bugs & fixes from users](https://github.com/onestardao/WFGY/discussions/10)
- **TXT OS directory:** [Browse the OS repo](../OS/)
---
## Quick-Start Downloads (60 sec)
| Tool | Link | 3-Step Setup |
|------|------|--------------|
| **WFGY 1.0 PDF** | [Engine Paper](https://zenodo.org/records/15630969) | 1) Download 2) Upload to your LLM 3) Ask: “answer using WFGY + <your question>” |
| **TXT OS (plain-text OS)** | [TXTOS.txt](https://zenodo.org/records/15788557) | 1) Download 2) Paste into any LLM chat 3) Type “hello world” to boot |
---
## Failure catalog (with fixes)
| # | Problem Domain | What breaks | Doc |
|----|---------------------------------|-----------------------------------------------|-----|
| 1 | Hallucination & Chunk Drift | Retrieval returns wrong/irrelevant content | [hallucination.md](./hallucination.md) |
| 2 | Interpretation Collapse | Chunk is right, logic is wrong | [retrieval-collapse.md](./retrieval-collapse.md) |
| 3 | Long Reasoning Chains | Drifts across multi-step tasks | [context-drift.md](./context-drift.md) |
| 4 | Bluffing / Overconfidence | Confident but unfounded answers | [bluffing.md](./bluffing.md) |
| 5 | Semantic ≠ Embedding | Cosine match ≠ true meaning | [embedding-vs-semantic.md](./embedding-vs-semantic.md) |
| 6 | Logic Collapse & Recovery | Dead-end paths; needs controlled reset | [logic-collapse.md](./logic-collapse.md) |
| 7 | Memory Breaks Across Sessions | Lost threads, no continuity | [memory-coherence.md](./memory-coherence.md) |
| 8 | Debugging is a Black Box | No visibility into failure path | [retrieval-traceability.md](./retrieval-traceability.md) |
| 9 | Entropy Collapse | Attention melts, incoherent output | [entropy-collapse.md](./entropy-collapse.md) |
| 10 | Creative Freeze | Flat, literal outputs | [creative-freeze.md](./creative-freeze.md) |
| 11 | Symbolic Collapse | Abstract/logical prompts break | [symbolic-collapse.md](./symbolic-collapse.md) |
| 12 | Philosophical Recursion | Self-reference/paradoxes crash reasoning | [philosophical-recursion.md](./philosophical-recursion.md) |
| 13 | Multi-Agent Chaos | Agents overwrite/misalign logic | [multi-agent-chaos.md](./multi-agent-chaos.md) |
| 14 | Bootstrap Ordering | Services fire before deps ready | [bootstrap-ordering.md](./bootstrap-ordering.md) |
| 15 | Deployment Deadlock | Circular waits (index⇆retriever, DB⇆migrator) | [deployment-deadlock.md](./deployment-deadlock.md) |
| 16 | Pre-Deploy Collapse | Version skew / missing secret on first call | [predeploy-collapse.md](./predeploy-collapse.md) |
> Problem families: **Prompting · Retrieval · Reasoning · Infra/Deploy** — locate the root cause first, then apply the specific patch.
---
## Why these 16 errors were solvable
WFGY does not just react; it gives **semantic altitude**. Core tools `ΔS`, `λ_observe`, and `e_resonance` help detect, decode, and defuse collapse patterns from **outside** the maze.
**See the pipeline and recovery end-to-end:**
→ [`RAG Architecture & Recovery`](./rag-architecture-and-recovery.md)
---
## Problem Maps Index (Map-A … Map-G)
These short IDs let you route quickly in issues/PRs/support threads.
| Map ID | Map Name | Linked Issues | Focus | Link |
|-------:|------------------------------|----------------------|------------------------------------------------|------|
| Map-A | RAG Problem Table | #1, #2, #3, #5, #8 | Retrieval-augmented generation failures | [View](./RAG_Problems.md) |
| Map-B | Multi-Agent Chaos Map | #13 | Coordination failures, memory conflicts | [View](./Multi-Agent_Problems.md) |
| Map-C | Symbolic & Recursive Map | #11, #12 | Symbolic logic traps, abstraction, paradox | [View](./Symbolic_Logic_Problems.md) |
| Map-D | Logic Recovery Map | #6 | Dead-end logic, reset loops, controlled recovery | [View](./logic-collapse.md) |
| Map-E | Long-Context Stress Map | #3, #7, #10 | 100k-token memory, noisy PDFs, long-task drift | [View](./LongContext_Problems.md) |
| Map-F | Safety Boundary Map | #4, #8 | Overconfidence, jailbreak resistance, traceability | [View](./Safety_Boundary_Problems.md) |
| Map-G | Infra Boot Map | #14#16 | Ordering, boot loops, version skew, deadlocks | [View](./Infra_Boot_Problems.md) |
---
## Minimal quick-start
1. Open **Beginner Guide** → follow the symptom checklist.
2. Use the **Visual RAG Guide** to locate the failing stage.
3. Open the matching page above and apply the patch.
Ask any LLM to apply WFGY (TXT OS makes it smoother):
```
Ive uploaded TXT OS / WFGY notes.
My issue: \[e.g., OCR tables from scanned PDFs look fine but answers are wrong].
Which WFGY modules should I apply and in what order?
```
<details>
<summary><strong>Status & difficulty</strong></summary>
| # | Problem | Difficulty* | Implementation |
|----|---------------------------------|-------------|----------------|
| 1 | Hallucination & Chunk Drift | Medium | ✅ Stable |
| 2 | Interpretation Collapse | High | ✅ Stable |
| 3 | Long Reasoning Chains | High | ✅ Stable |
| 4 | Bluffing / Overconfidence | High | ✅ Stable |
| 5 | Semantic ≠ Embedding | Medium | ✅ Stable |
| 6 | Logic Collapse & Recovery | Very High | ✅ Stable |
| 7 | Memory Breaks Across Sessions | High | ✅ Stable |
| 8 | Debugging Black Box | Medium | ✅ Stable |
| 9 | Entropy Collapse | High | ✅ Stable |
| 10 | Creative Freeze | Medium | ✅ Stable |
| 11 | Symbolic Collapse | Very High | ✅ Stable |
| 12 | Philosophical Recursion | Very High | ✅ Stable |
| 13 | Multi-Agent Chaos | Very High | ✅ Stable |
| 14 | Bootstrap Ordering | Medium | ✅ Stable |
| 15 | Deployment Deadlock | High | ⚠️ Beta |
| 16 | Pre-Deploy Collapse | Medium-High | ✅ Stable |
\*Distance from default LLM behavior to a production-ready fix.
</details>
---
## Contributing / support
- Open an **Issue** with a minimal repro (inputs → calls → wrong output).
- PRs for clearer docs, repros, or patches are welcome.
- WFGY Project home: [github.com/onestardao/WFGY](https://github.com/onestardao/WFGY)
- TXT OS: [github.com/onestardao/WFGY/tree/main/OS](https://github.com/onestardao/WFGY/tree/main/OS)
- If this map helped you, a ⭐ helps more devs find it.
---
### 🧭 Explore More
| Module | Description | Link |
|-----------------------|----------------------------------------------------------|----------|
| Semantic Blueprint | Layer-based symbolic reasoning & semantic modulations | [View →](https://github.com/onestardao/WFGY/tree/main/SemanticBlueprint) |
| Benchmark vs GPT-5 | Stress test GPT-5 with full WFGY reasoning suite | [View →](https://github.com/onestardao/WFGY/tree/main/benchmarks/benchmark-vs-gpt5) |
| Semantic Clinic Index | Expanded failure catalog: prompt injection, memory bugs, logic drift | [View →](./SemanticClinicIndex.md) |
---
> 👑 **Early Stargazers: [See the Hall of Fame](https://github.com/onestardao/WFGY/tree/main/stargazers)** —
> Engineers, hackers, and open source builders who supported WFGY from day one.
> <img src="https://img.shields.io/github/stars/onestardao/WFGY?style=social" alt="GitHub stars"> ⭐ Help reach 10,000 stars by 2025-09-01 to unlock Engine 2.0 for everyone ⭐ <strong><a href="https://github.com/onestardao/WFGY">Star WFGY on GitHub</a></strong>
<div align="center">
[![WFGY Main](https://img.shields.io/badge/WFGY-Main-red?style=flat-square)](https://github.com/onestardao/WFGY)
&nbsp;
[![TXT OS](https://img.shields.io/badge/TXT%20OS-Reasoning%20OS-orange?style=flat-square)](https://github.com/onestardao/WFGY/tree/main/OS)
&nbsp;
[![Blah](https://img.shields.io/badge/Blah-Semantic%20Embed-yellow?style=flat-square)](https://github.com/onestardao/WFGY/tree/main/OS/BlahBlahBlah)
&nbsp;
[![Blot](https://img.shields.io/badge/Blot-Persona%20Core-green?style=flat-square)](https://github.com/onestardao/WFGY/tree/main/OS/BlotBlotBlot)
&nbsp;
[![Bloc](https://img.shields.io/badge/Bloc-Reasoning%20Compiler-blue?style=flat-square)](https://github.com/onestardao/WFGY/tree/main/OS/BlocBlocBloc)
&nbsp;
[![Blur](https://img.shields.io/badge/Blur-Text2Image%20Engine-navy?style=flat-square)](https://github.com/onestardao/WFGY/tree/main/OS/BlurBlurBlur)
&nbsp;
[![Blow](https://img.shields.io/badge/Blow-Game%20Logic-purple?style=flat-square)](https://github.com/onestardao/WFGY/tree/main/OS/BlowBlowBlow)
</div>