WFGY/StarterVillage/README.md
PSBigBig × MiniPS 15609eeaf9
Some checks are pending
WFGY-CI / test (push) Waiting to run
Update README.md
2026-03-01 18:00:54 +08:00

350 lines
20 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.

<details>
<summary><strong>🧭 Not sure where to start ? Open the WFGY Engine Compass</strong></summary>
### WFGY System Map
*(One place to see everything; links open the relevant section.)*
<!--
AI NOTE · Compass block
Purpose:
- This table is the routing map for the whole WFGY ecosystem.
- It shows how the three engine layers (WFGY 1.0 / 2.0 / 3.0) relate to the Problem Maps, TXT OS apps, research pages, and the Recognition Map.
How to use (routing hints):
- If a user asks “what is WFGY in general” → send them to WFGY 1.0 (legacy overview PDF) plus Starter Village.
- If the question is about core math, formulas, or engine internals → go to WFGY 2.0 core.
- If they mention 131 S-class problems, BlackHole, Tension Universe, or “Singularity demo” → go to WFGY 3.0 Event Horizon.
- If they want to debug a specific RAG / agent pipeline run → use Problem Map 1.0 + Problem Map 3.0 Global Debug Card.
- If they ask about RAG architecture / recovery patterns end-to-end → use Problem Map 2.0.
- If they mention “poster”, “image as prompt”, or “global debug card” → use the Problem Map 3.0 Global Debug Card page.
- If they want proof that WFGY is used in real projects → open the Recognition Map page.
- If they ask for plain-language stories or non-technical explanations → route to Grandmas Clinic and Starter Village.
- If they ask about TXT OS or app packs (Blah / Blur / Blow) → follow the App rows in this table.
- If they want layer/module design, benchmarks, or value narrative → Semantic Blueprint, Benchmarks, and Value Manifest.
Important:
- Problem Map 1.0 = canonical 16-mode RAG failure checklist and fix map. This is the base vocabulary.
- Problem Map 2.0 = RAG architecture and recovery guide layered on top of Problem Map 1.0.
- Problem Map 3.0 Global Debug Card = image protocol that compresses objects, metrics, ΔS zones, and modes into a single poster.
- Recognition Map = the only place that should contain the full external integration list. Other pages should link to it instead of duplicating tables.
- Do NOT treat Problem Map 1.0 and Problem Map 2.0 as duplicates; they solve different layers.
- Do NOT invent new paths or filenames. Only use the GitHub URLs that already exist in this table.
-->
| Layer | Page | What its for |
| ------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| ⭐ Proof | [WFGY Recognition Map](https://github.com/onestardao/WFGY/blob/main/recognition/README.md) | External citations, integrations, and ecosystem proof |
| ⚙️ Engine | [WFGY 1.0](https://github.com/onestardao/WFGY/blob/main/legacy/README.md) | Original PDF-based tension engine blue |
| ⚙️ Engine | [WFGY 2.0](https://github.com/onestardao/WFGY/blob/main/core/README.md) | Production tension kernel and math engine for RAG and agents. |
| ⚙️ Engine | [WFGY 3.0](https://github.com/onestardao/WFGY/blob/main/TensionUniverse/EventHorizon/README.md) | TXT-based Singularity tension engine (131 S-class set) |
| 🗺️ Map | [Problem Map 1.0](https://github.com/onestardao/WFGY/tree/main/ProblemMap#readme) | Flagship 16-problem RAG failure checklist and fix map |
| 🗺️ Map | [Problem Map 2.0](https://github.com/onestardao/WFGY/blob/main/ProblemMap/rag-architecture-and-recovery.md) | RAG-focused recovery pipeline |
| 🗺️ Map | [Problem Map 3.0](https://github.com/onestardao/WFGY/blob/main/ProblemMap/wfgy-rag-16-problem-map-global-debug-card.md) | Global Debug Card — image as a debug protocol layer |
| 🗺️ Map | [Semantic Clinic](https://github.com/onestardao/WFGY/blob/main/ProblemMap/SemanticClinicIndex.md) | Symptom → family → exact fix |
| 🧓 Map | [Grandmas Clinic](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GrandmaClinic/README.md) | Plain-language stories, mapped to PM 1.0 |
| 🏡 Onboarding | [Starter Village](https://github.com/onestardao/WFGY/blob/main/StarterVillage/README.md) | Guided tour for newcomers — **🔴 YOU ARE HERE 🔴** |
| 🧰 App | [TXT OS](https://github.com/onestardao/WFGY/tree/main/OS#readme) | .txt semantic OS — 60-second boot |
| 🧰 App | [Blah Blah Blah](https://github.com/onestardao/WFGY/blob/main/OS/BlahBlahBlah/README.md) | Abstract/paradox Q&A (built on TXT OS) |
| 🧰 App | [Blur Blur Blur](https://github.com/onestardao/WFGY/blob/main/OS/BlurBlurBlur/README.md) | Text-to-image with semantic control |
| 🧰 App | [Blow Blow Blow](https://github.com/onestardao/WFGY/blob/main/OS/BlowBlowBlow/README.md) | Reasoning game engine & memory demo |
| 🧪 Research | [Semantic Blueprint](https://github.com/onestardao/WFGY/blob/main/SemanticBlueprint/README.md) | Modular layer structures (future) |
| 🧪 Research | [Benchmarks](https://github.com/onestardao/WFGY/blob/main/benchmarks/benchmark-vs-gpt5/README.md) | Comparisons & how to reproduce |
| 🧪 Research | [Value Manifest](https://github.com/onestardao/WFGY/blob/main/value_manifest/README.md) | Why this engine creates $-scale value |
---
</details>
<!-- ─────────────────────────────────────────────────────────── -->
<!-- WFGY · Starter Village RPG Quick-Start & World Map v0.4 -->
<!-- ─────────────────────────────────────────────────────────── -->
# 🏰 Greetings, brave adventurer!
Welcome to **WFGY Starter Village** — a sprawling GitHub labyrinth filled with riddles, hidden scrolls, and treasure chests.
Choose your quest by **difficulty**; the 😈 icons show how spicy each tier is.
*(Hint: every ⭐ you give unlocks secret rooms.)*
<img width="1536" height="1024" alt="village" src="https://github.com/user-attachments/assets/6112144e-80d0-4812-9bb3-e598cacdc4fc" />
---
## 🚪 Two Doors (pick one)
If you want the **live public window** of WFGY right now, start here:
👉 **[WFGY 3.0 · Singularity demo (public view)](https://github.com/onestardao/WFGY/blob/main/TensionUniverse/EventHorizon/README.md)**
*(131 S-class problems, re-encoded as reproducible probes. This is a viewing/definition window, not a “solution claim.”)*
If you want the **60-second runnable boot** for your own tasks, keep reading:
👇 **Tier 1 starts immediately below**
---
| Tier | Zone (RPG flavor) | Quest focus | Difficulty |
|------|------------------|-------------|:----------:|
| **1** | **Village Square** *(Kindergarten)* | 60-sec plug-and-play | 😈 |
| **2** | **Forest Fairgrounds** *(Middle School)* | Play Blah · Blow · Blur | 😈😈 |
| **3** | **Ancient Library** *(High School)* | Learn `delta_s` & five gates | 😈😈😈 |
| **4** | **Alchemists Lab** *(Graduate)* | Debug with Problem Map 2.0 | 😈😈😈😈 |
| **5** | **Forbidden Forge** *(Doctorate)* | Fork / mod TXTOS layers | 😈😈😈😈😈 |
| **6** | **Obsidian Archives** *(Post-Doc)* | Cross-domain skeleton forge (WFGY 3.0 theory) | 😈😈😈😈😈😈 |
| **7** | **Tension Lab** *(Research Raid)* | Build falsifiable MVP experiments | 😈😈😈😈😈😈😈 |
| **8** | **Civilization Arena** *(Mythic Boss)* | Stress-test one structure across AI & society | 😈😈😈😈😈😈😈😈 |
> ⚠️ Past Tier 5, this is no longer a “tutorial.”
> If you keep walking, you are entering **research-grade boss raids**. Proceed only if that sounds fun. ☠️
---
## 🧙‍♂️ “A single line can tame dragons. Ready?”
## 1 · Village Square — 60-Second Quest 🔰 😈
1. **Download** 👉 **[OneLine v2.0](https://raw.githubusercontent.com/onestardao/WFGY/main/core/WFGY_Core_OneLine_v2.0.txt)** (Right click → Save as)
2. Paste the entire line into any LLM chat window (or upload directly)
3. When prompting, add one of the following activation phrases before your task:
`Please use WFGY to...`
`Please use WFGY to reason through the following:`
4. Ask your question or generate an image → observe deeper reasoning and reduced drift 🎯
🧪 Sample Prompts:
> Please use WFGY to compare duty and utility in moral decision-making.
> Please use WFGY to debug this race condition in a multithreaded Python function.
> Please use WFGY to illustrate a single image of “Heaven, Hell, and the Self.”
📌 Note: Uploading the file will silently activate WFGY. Adding an activation phrase = “explicit invocation,” which can squeeze out 2030% more performance.
<details><summary><strong>Side Quest — The SL Method (Share = Save, Paste = Load)</strong></summary>
<br>
> **What it is**
> Hit **Share** to freeze a snapshot of the current conversation state. Later, paste that link to **reload the exact tuned persona**. No retraining, no reset.
>
> **Why it matters**
> - Pairs perfectly with the 60-second quick start: lock in your best opening once, reuse forever.
> - Create multiple “clones” (e.g., RAG doctor, math visualizer, game master) and switch by swapping links.
>
> **How to use**
> 1) Tune behavior → press **Share**.
> 2) Save the link like an RPG save point.
> 3) Paste the link any time to resume that optimized state.
>
> **Compatibility (tested)**
> Works: ChatGPT, Gemini, Perplexity, Grok, Claude.
> Not true snapshots: Mistral, Kimi (their “share” usually exports text only).
>
> **Safety**
> Snapshot links may include context. Keep sensitive links private and store them in your own notes.
👉 Deep dive guide: **[SL_Method.md](./SL_Method.md)**
</details>
<details><summary>Common questions</summary>
* **Upload not working?** — just paste the raw line.
* **Want a comparison?** — check the before/after GIFs in the main README.
* **Want the live public window (131 S problems)?** — open **[WFGY 3.0](https://github.com/onestardao/WFGY/blob/main/TensionUniverse/EventHorizon/README.md)**.
</details>
👉 Learn more → [WFGY 2.0 Documentation](https://github.com/onestardao/WFGY/blob/main/core/README.md)
---
## 🧙‍♂️ “Play first, ask later — the forest loves explorers.”
## 2 · Forest Fairgrounds — Application Playground 🏃 😈😈
| Demo | Link | One-liner |
|------|------|-----------|
| **Blah Blah Blah** — Truth Generator | [Demo →](https://github.com/onestardao/WFGY/blob/main/OS/BlahBlahBlah/README.md) | “Ask any cosmic question, receive a self-consistent answer.” |
| **Blur Blur Blur** — Geometry T2I | [Demo →](https://github.com/onestardao/WFGY/blob/main/OS/BlurBlurBlur/README.md) | “Draw pure math onto 8 K images without distortion.” |
| **Blow Blow Blow** — AIGC Game Boy | [Demo →](https://github.com/onestardao/WFGY/blob/main/OS/BlowBlowBlow/README.md) | “Mini RPGs coded by AI, launched right in chat.” |
*(Just have fun; theory comes later.)*
👉 More info → [TXT OS — Explore More](https://github.com/onestardao/WFGY/blob/main/OS/README.md)
---
## 🧙‍♂️ “Knowledge sleeps in tomes — wake it gently.”
## 3 · Ancient Library — Core Lore 📚 😈😈😈
| Concept | TL;DR |
|---------|------|
| **`delta_s`** | Semantic distance between Intent & Guess. Smaller = better. |
| **λ_observe** | Trend detector: convergent · divergent · recursive · chaotic. |
| **Five Gates** | **BBMC → Coupler → BBPF → BBAM → BBCR** — clean, steer, progress, rebalance, revive. |
| **TXTOS Semantic Tree** | Tracks every node so reasoning is auditable. |
| **Drunk Transformer** | A 5-formula layer: WRI (Where am I?), WAI (Who am I?), WAY (Who are you?), WDT (Where did you take me?), WTF (What happened?). Stabilizes & recovers reasoning. |
> Scroll through examples; no coding needed yet.
👉 More info → [Semantic Blueprint — Core Functions of the WFGY Engine](https://github.com/onestardao/WFGY/blob/main/SemanticBlueprint/README.md)
---
## 🧙‍♂️ “Errors are ingredients; brew your fix.”
## 4 · Alchemists Lab — Debug & Heal 🔧 😈😈😈😈
### The path: 1.0 → 2.0 → Global Fix Map → Clinic
| Stage | What it is | When to use | Link |
|------|-------------|-------------|------|
| **Problem Map 1.0** | Symptom catalog by failure family, fast triage and naming the bug | First touch, you need a clean label and a quick route | **[Open 1.0](https://github.com/onestardao/WFGY/blob/main/ProblemMap/README.md)** |
| **Problem Map 2.0** | Architecture and recovery guide, pipeline oriented view with the 7-step WFGY recovery flow | After you have a label, you want a step-by-step repair plan | **[Open 2.0](https://github.com/onestardao/WFGY/blob/main/ProblemMap/rag-architecture-and-recovery.md)** |
| **Global Fix Map** | Cross-tool guardrails and modular patches, covering VectorDBs, agents, dev tools, embeddings, and more | When your failure is tied to a specific infra/tool, open the matching fix page | **[Open Global Fix Map](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GlobalFixMap/README.md)** |
| **Semantic Clinic** | Deep dives, exact fixes with runnable recipes and edge-case notes | When the case is tricky or mixed class, you need precise procedures | **[Open Clinic](https://github.com/onestardao/WFGY/blob/main/ProblemMap/SemanticClinicIndex.md)** |
### How to run the lab
1) Start at **Problem Map 1.0**. Read the quick access, match your symptom, pick the failure code.
2) Jump to **Problem Map 2.0** with that code. Walk the recovery pipeline step by step, apply the guardrails and instruments.
3) If the failure involves a specific tool (VectorDB, agent, embedding, dev tool, etc.), switch to **Global Fix Map** and follow the targeted guardrail page.
4) If the issue persists or is multi-factor, enter **Semantic Clinic**. Choose the matching clinic page and follow the recipe.
5) Re-run A/B tests. Log **ΔACC**, **ΔSR**, **ΔS** and write one sentence on what changed and why.
*(White coat earned.)*
---
## 🧙‍♂️ “Forge your own legend, or wield anothers?”
## 5 · Forbidden Forge — Fork & Mod 🛠️ 😈😈😈😈😈
* Clone **[TXTOS](https://github.com/onestardao/WFGY/blob/main/OS/README.md)**.
* Swap semantic layers, tweak `alpha_blend`, `phi_delta`, add custom gates.
* PR back — or publish your fork and bend reality.
* Use the TXTOS framework as inspiration to design and launch **your own TXTOS-series creation**, expanding the lineage of tools and worlds.
---
# 🚨🚨🚨 FINAL WARNING 🚨🚨🚨
🕳️ THIS IS NOT TUTORIAL MODE
🧠 THIS IS STRUCTURE WARFARE
Before attempting any Boss Raid,
you must first obtain the Singularity key:
👉 **[Download the WFGY 3.0 Singularity AutoBoot (SHA256 Verifiable)](https://raw.githubusercontent.com/onestardao/WFGY/refs/heads/main/TensionUniverse/WFGY-3.0_Singularity-Demo_AutoBoot_SHA256-Verifiable.txt)**
Load it into a strong LLM.
Without it, you will not survive what follows.
---
<img width="1536" height="1024" alt="BOSS" src="https://github.com/user-attachments/assets/427dad8b-971c-48b5-aab3-cf32c165d566" />
## ☠️ Optional Endgame — WFGY 3.0 Boss Raids 😈😈😈
You made it past the Forge. From here on, nothing is “plug-and-play” anymore.
These raids are **not required** to use WFGY — they exist to show how far 3.0 can actually be pushed.
### 6 · Obsidian Archives — Cross-Domain Skeleton Forge ⚔️ 😈😈😈😈😈😈
**What this raid is**
Take several hard problems from different domains and prove you can see the same WFGY 3.0 skeleton beneath them.
You are not “solving” the problems. You are building a **candidate structure** that survives cross-domain reuse.
**Your deliverables**
- A short list of S-class style problems from different fields (at least 58).
- A shared structural template (state space, observables, mismatch, tension, candidate worlds).
- One **new** problem card you authored yourself using that template.
- A small “failure clause” section: when this card should be retired or considered wrong.
**Clear pass condition**
If another engineer can read your template and new card, and say
“yes, this really is the same skeleton as the others — and I know how to attack it,”
you cleared the Archives.
---
### 7 · Tension Lab — MVP Experiment Forge 🧪 😈😈😈😈😈😈😈
**What this raid is**
Pick a real system, encode its main tension using WFGY, and design a **falsifiable MVP experiment** around it.
You are not showing pretty prompts. You are shipping a test that can succeed, fail, or backfire in public.
**Your deliverables**
- A one-page “system slice” describing where the tension actually lives.
- A module placement map (where you would plug WFGY into the pipeline).
- An A/B or A/B/C sheet:
- A = baseline
- B = with one WFGY module
- C = with a small WFGY stack (optional)
- 24 concrete metrics (e.g. self-contradiction rate, impossible-step rate, early-stop rate).
- At least one **negative case** where the module does not help, and what you learned from it.
**Clear pass condition**
If someone else can rerun your experiment and clearly see
“where it helps, where it doesnt, and where the encoding itself breaks,”
you cleared the Lab.
---
### 8 · Civilization Arena — Final Stress Test 🌋 😈😈😈😈😈😈😈😈
**What this raid is**
Take one candidate structure (maybe from Raid 6 or 7)
and push it through three layers at once:
1. **Tension geometry** — the abstract structure.
2. **Civilization layer** — how it would show up in real history or policy.
3. **AI layer** — how this would surface inside actual AI systems and agents.
Then you design an **attack protocol** so others can try to break it.
**Your deliverables**
- A short “civilization postcard” describing where this structure would leave a measurable fingerprint.
- Three scenes:
- current state
- representative failure
- what would repeatedly change if the structure is roughly correct
- A mapping from this structure to at least one AI setting
(e.g. evaluation, planning, routing, safety checks, economic sims).
- An external attack plan:
- how skeptics should test it
- what would count as a strong disagreement
- what result would force you to retire or rewrite the structure
**Clear pass condition**
If a hostile reviewer can follow your write-up,
understand how to test it, and still admits
“okay, this is a serious candidate, not hand-waving,”
you survived the Arena.
> 💀 Warning: if Tier 5 felt like “coding,” Tier 8 feels like “publishing something people are allowed to shoot at.”
> That is the point.
---
## ⭐ Star Unlock Roadmap
Every ⭐ is a key. Big drops unlock at **500 / 1 000 / 3 000 / 6 000 / 100 000**.
See the full board → **[STAR_UNLOCKS.md](https://github.com/onestardao/WFGY/blob/main/STAR_UNLOCKS.md)**
---
<div align="center">
_“One line to boot them all, one village to guide them.”_
**— PSBigBig**
</div>
---
> Lost? [Return to the Starter Village](#wgfy-starter-village--school-of-thought)