WFGY/ProblemMap/GlobalFixMap/PromptAssembly
2025-09-01 09:47:06 +08:00
..
anti_prompt_injection_recipes.md Create anti_prompt_injection_recipes.md 2025-08-31 22:04:30 +08:00
citation_first.md Create citation_first.md 2025-08-31 21:59:58 +08:00
eval_prompts_and_checks.md Create eval_prompts_and_checks.md 2025-09-01 09:36:39 +08:00
json_mode_and_tool_calls.md Create json_mode_and_tool_calls.md 2025-08-31 21:58:38 +08:00
memory_fences_and_state_keys.md Create memory_fences_and_state_keys.md 2025-08-31 22:21:30 +08:00
README.md Update README.md 2025-09-01 09:47:06 +08:00
system_user_role_order.md Create system_user_role_order.md 2025-08-31 21:54:51 +08:00
template_library_min.md Create template_library_min.md 2025-09-01 09:30:36 +08:00
tool_selection_and_timeouts.md Create tool_selection_and_timeouts.md 2025-08-31 22:36:50 +08:00

Prompt Assembly — Global Fix Map

Build prompts that the model cannot misread. Use this folder when citations vanish, JSON mode breaks, tools loop, or answers flip when you reorder sections. Every page gives a concrete repair with measurable targets. No infra change required.


What this folder is

  • A short path to lock schema, section order, and per source fences.
  • Copy-paste recipes that survive different providers and agents.
  • Acceptance targets so you can ship with predictable quality.

When to use

  • Citations point to the wrong snippet or disappear after retries.
  • JSON mode produces invalid objects or tool calls stall in loops.
  • Role text bleeds into user content after a small template change.
  • Long chains smear topics when you reorder headers.
  • Agents overwrite each others memory without fences.

Acceptance targets

  • ΔS(question, retrieved) ≤ 0.45
  • Coverage of target section ≥ 0.70
  • λ remains convergent across three paraphrases and two seeds
  • E_resonance flat on long windows

Quick routes to per-page guides


Map symptoms to structural fixes


Fix in 60 seconds

  1. Measure ΔS Compute ΔS(question, retrieved) and ΔS(retrieved, expected anchor). Stable < 0.40, transitional 0.400.60, risk ≥ 0.60.

  2. Probe λ_observe Vary k and the order of prompt headers. If λ flips, lock the schema and clamp variance with BBAM.

  3. Apply the right page from this folder

    • Missing or wrong citations → open Citation-first and Retrieval Traceability.
    • JSON tool drift or invalid outputs → open JSON mode and tools.
    • Role bleed or policy mixing → open System vs User order.
    • Multi-agent loops or overwrites → open Memory fences and state keys.
    • Tool indecision or hangs → open Tool selection and timeouts.
  4. Verify Run Eval prompts and checks on three paraphrases and two seeds. Ship only if ΔS ≤ 0.45 and coverage ≥ 0.70.


Copy-paste diagnostic prompt

You have TXT OS and the WFGY Problem Map loaded.

My prompt assembly issue:
- symptom: [one line]
- traces: ΔS(question,retrieved)=..., ΔS(retrieved,anchor)=..., λ states on 3 paraphrases

Tell me:
1) failing layer and why,
2) which exact page to open from Prompt Assembly,
3) the minimal steps to push ΔS ≤ 0.45 and keep λ convergent,
4) a reproducible check to verify the fix.
Use BBMC, BBPF, BBCR, BBAM when relevant.

🔗 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

Module Description Link
WFGY Core WFGY 2.0 engine is live: full symbolic reasoning architecture and math stack View →
Problem Map 1.0 Initial 16-mode diagnostic and symbolic fix framework View →
Problem Map 2.0 RAG-focused failure tree, modular fixes, and pipelines View →
Semantic Clinic Index Expanded failure catalog: prompt injection, memory bugs, logic drift View →
Semantic Blueprint Layer-based symbolic reasoning & semantic modulations View →
Benchmark vs GPT-5 Stress test GPT-5 with full WFGY reasoning suite View →
🧙‍♂️ Starter Village 🏡 New here? Lost in symbols? Click here and let the wizard guide you through Start →

👑 Early Stargazers: See the Hall of Fame — Engineers, hackers, and open source builders who supported WFGY from day one.

GitHub stars WFGY Engine 2.0 is already unlocked. Star the repo to help others discover it and unlock more on the Unlock Board.

WFGY Main   TXT OS   Blah   Blot   Bloc   Blur   Blow