Long chains of reasoning can hit a wall: the model reaches a step where no rule fires, context drifts, or the answer space ālocksāup.ā
Instead of recovering, most LLM stacks keep emitting filler or restart from scratch ā losing the entire logic trail.
WFGY turns these dead ends into detours: it detects the stall, rolls back to the last sane node, and spawns a fresh branch.
| Root Cause | Practical Failure |
|---|
| Semantic DeadāEnd | Model encounters a state where nextātoken entropy flattens |
| Hidden Residue BuildāUp | ĪS rises gradually ā logic tension snaps all at once |
| No Checkpoint Memory | System canāt roll back to a stable frame |
| Blind Retry | Pipelines reārun the same faulty path, freezing or looping |
| Layer | Action |
|---|
| ĪS Spike Watch | Detects sudden tension jump (>āÆ0.6) signalling stall |
| Ī»_observe Divergence | Flags when flow turns chaotic (λ =Ā Ć) |
| BBCR CollapseāRebirth | Autoārollback to last good Tree node, spawn new branch |
| Tree Checkpoint | Every major step stored ā instant āhotāsaveā for rollback |
| Residue Flush (BBMC) | Clears semantic residue before replaying the fork |
ā ļø Logic collapse detected at StepĀ 7
ā©ļø Rolling back to NodeĀ 5 (ĪSĀ 0.28, λ ā)
š” Replaying with alternate pathā¦
1ļøā£ Start
> Start
2ļøā£ Load a multiāstep proof chunk
> "Proof outline: StepāÆ1ā¦StepāÆ7 (missing lemma)ā¦"
3ļøā£ Ask the model to complete
> "Finish the proof"
Watch WFGY:
⢠ĪS spikes at the missing lemma
⢠BBCR rolls back to StepāÆ5
⢠Proposes alternate lemma or asks for user input
Logic deadāend at subālemma (StepāÆ7).
Restored context to StepāÆ5.
Proposed fix: supply definition of ābounded operatorā or upload missing section.
Progress resumes instead of endless loops.
| Module | Role |
|---|
| ĪS Metric | Detects stall threshold |
| λ_observe | Judges flow direction / chaos |
| BBCR | Rollback & branch spawn |
| Semantic Tree | Stores checkpoints for hot rollback |
| BBMC | Purges leftover residue before restart |
| Feature | State |
|---|
| ĪS spike detection | ā
Stable |
| BBCR rollback / branch | ā
Stable |
| Auto user prompt on deadāend | ā
Basic |
| Multiāfork replay | ā ļø Planned |
- Collapse guard works even on pasted text without a retriever.
- Repeated collapses on the same node ā supply missing context.
- Share tricky logs in Discussions; they refine stall thresholds.
| 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 |
| Layer | Page | What itās for |
|---|
| ā Proof | WFGY Recognition Map | External citations, integrations, and ecosystem proof |
| āļø Engine | WFGY 1.0 | Original PDF tension engine and early logic sketch (legacy reference) |
| āļø Engine | WFGY 2.0 | Production tension kernel for RAG and agent systems |
| āļø Engine | WFGY 3.0 | TXT based Singularity tension engine (131 S class set) |
| šŗļø Map | Problem Map 1.0 | Flagship 16 problem RAG failure taxonomy and fix map |
| šŗļø Map | Problem Map 2.0 | Global Debug Card for RAG and agent pipeline diagnosis |
| šŗļø Map | Problem Map 3.0 | Global AI troubleshooting atlas and failure pattern map |
| š§° App | TXT OS | .txt semantic OS with fast bootstrap |
| š§° App | Blah Blah Blah | Abstract and paradox Q&A built on TXT OS |
| š§° App | Blur Blur Blur | Text to image generation with semantic control |
| š” Onboarding | Starter Village | Guided entry point for new users |
If this repository helped, starring it improves discovery so more builders can find the docs and tools.
