Update memory_fences_and_state_keys.md

This commit is contained in:
PSBigBig 2025-09-05 11:50:42 +08:00 committed by GitHub
parent 1d87205f25
commit 4b59dc6f25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,22 @@
# Memory Fences & State Keys — Guardrails and Fix Patterns
<details>
<summary><strong>🧭 Quick Return to Map</strong></summary>
<br>
> You are in a sub-page of **Safety_PromptIntegrity**.
> To reorient, go back here:
>
> - [**Safety_PromptIntegrity** — prompt injection defense and integrity checks](./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.
</details>
Structural guardrails that prevent **context bleed** and **cross-session injection**.
This page defines how to enforce hard boundaries between prompts, ensuring system memory cannot be hijacked or silently rewritten.