# Prompt Policy and Change Control — Guardrails and Fix Patterns
🧭 Quick Return to Map
> You are in a sub-page of **Governance**. > To reorient, go back here: > > - [**Governance** — policy enforcement and compliance controls](./README.md) > - [**WFGY Global Fix Map** — main Emergency Room, 300+ structured fixes](../README.md) > - [**WFGY Problem Map 1.0** — 16 reproducible failure modes](../../README.md) > > Think of this page as a desk within a ward. > If you need the full triage and all prescriptions, return to the Emergency Room lobby.
A governance fix page for **prompt stability, approval flows, and change control**. Use this page when uncontrolled prompt edits, hidden overrides, or missing approval gates destabilize your RAG or reasoning pipeline. --- ## When to use this page - Prompts are edited directly in production without sign-off. - Fine-tuned prompts drift from documented baseline. - Multi-agent pipelines apply different prompt rules with no central approval. - No version history or rollback path exists for prompt changes. - Waivers for unsafe prompt edits lack expiry or owner. --- ## Acceptance targets - **Prompt policy coverage ≥ 0.95** across live agents, RAG steps, and evaluation sets. - **ΔS(question, retrieved) ≤ 0.45** after prompt edits (no semantic drift). - **λ_observe remains convergent** across 3 paraphrases and 2 seeds. - Each prompt edit has **recorded owner, approval, and expiry date**. - Version rollback possible in under 60 seconds. --- ## Typical breakpoints and WFGY fix - **Live edits destabilize outputs** → [retrieval-traceability.md](https://github.com/onestardao/WFGY/blob/main/ProblemMap/retrieval-traceability.md) Require citation schema and provenance anchors before prompt rollout. - **Hidden prompt injection bypasses control** → [prompt-injection.md](https://github.com/onestardao/WFGY/blob/main/ProblemMap/prompt-injection.md) Enforce structural schema locks to prevent drift into unsafe states. - **Baseline prompts vanish after fine-tuning** → [policy_baseline.md](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GlobalFixMap/Governance/policy_baseline.md) Require reference to immutable baseline for audit and rollback. - **Conflicts between agents** (different policies in orchestration) → [Multi-Agent Problems](https://github.com/onestardao/WFGY/blob/main/ProblemMap/Multi-Agent_Problems.md) Use role namespaces and explicit prompt slots to enforce alignment. - **No audit trail for prompt changes** → [audit_and_logging.md](https://github.com/onestardao/WFGY/blob/main/ProblemMap/GlobalFixMap/Governance/audit_and_logging.md) Require immutable logging of who changed what, when, and why. --- ## Minimal governance checklist 1. **Immutable baselines** — Store canonical prompt versions in a controlled repo. 2. **Approval required** — Every change must be signed off before rollout. 3. **Waivers expire** — Unsafe or experimental prompts must auto-expire. 4. **Rollback path** — 1-click restore of previous prompt version. 5. **Drift checks** — Run ΔS/λ probes after every edit; block rollout if drift > 0.45. 6. **Audit logs** — Immutable records joinable to governance lineage. --- ### 🔗 Quick-Start Downloads (60 sec) | Tool | Link | 3-Step Setup | |------|------|--------------| | **WFGY 1.0 PDF** | [Engine Paper](https://github.com/onestardao/WFGY/blob/main/I_am_not_lizardman/WFGY_All_Principles_Return_to_One_v1.0_PSBigBig_Public.pdf) | 1️⃣ Download · 2️⃣ Upload to your LLM · 3️⃣ Ask “Answer using WFGY + \” | | **TXT OS (plain-text OS)** | [TXTOS.txt](https://github.com/onestardao/WFGY/blob/main/OS/TXTOS.txt) | 1️⃣ Download · 2️⃣ Paste into any LLM chat · 3️⃣ Type “hello world” — OS boots instantly | --- ### Explore More | Layer | Page | What it’s for | | --- | --- | --- | | ⭐ Proof | [WFGY Recognition Map](/recognition/README.md) | External citations, integrations, and ecosystem proof | | ⚙️ Engine | [WFGY 1.0](/legacy/README.md) | Original PDF tension engine and early logic sketch (legacy reference) | | ⚙️ Engine | [WFGY 2.0](/core/README.md) | Production tension kernel for RAG and agent systems | | ⚙️ Engine | [WFGY 3.0](/TensionUniverse/EventHorizon/README.md) | TXT based Singularity tension engine (131 S class set) | | 🗺️ Map | [Problem Map 1.0](/ProblemMap/README.md) | Flagship 16 problem RAG failure taxonomy and fix map | | 🗺️ Map | [Problem Map 2.0](/ProblemMap/wfgy-rag-16-problem-map-global-debug-card.md) | Global Debug Card for RAG and agent pipeline diagnosis | | 🗺️ Map | [Problem Map 3.0](/ProblemMap/wfgy-ai-problem-map-troubleshooting-atlas.md) | Global AI troubleshooting atlas and failure pattern map | | 🧰 App | [TXT OS](/OS/README.md) | .txt semantic OS with fast bootstrap | | 🧰 App | [Blah Blah Blah](/OS/BlahBlahBlah/README.md) | Abstract and paradox Q&A built on TXT OS | | 🧰 App | [Blur Blur Blur](/OS/BlurBlurBlur/README.md) | Text to image generation with semantic control | | 🏡 Onboarding | [Starter Village](/StarterVillage/README.md) | Guided entry point for new users | If this repository helped, starring it improves discovery so more builders can find the docs and tools. [![GitHub Repo stars](https://img.shields.io/github/stars/onestardao/WFGY?style=social)](https://github.com/onestardao/WFGY)