{"slug": "ethical-chess-v4-ec4-inference-time-ethical-verification", "title": "Ethical Chess v4 (EC4) - Inference-Time Ethical Verification", "summary": "Mark Weatherill published Ethical Chess v4 (EC4), an inference-time alignment specification that constrains LLMs to act as a stateless reasoning engine subordinate to the user's first-person perspective. The spec adds a trace gate that halts when the user's position is unclear, a derivatives-versus-sum split that lets the model map decision forks while reserving final judgment for the human, and override detection that flags RLHF safety weights attempting to lecture or replace a coherent user frame. Weatherill released a copy-pasteable state-machine prompt and a zero-dependency Python wrapper (ec4_wrapper.py) that enforces the rules through any OpenAI-compatible API.", "body_md": "**Author:** Mark Weatherill\n\n**Full Theoretical Paper (Zenodo):** [https://doi.org/10.5281/zenodo.24201515](https://doi.org/10.5281/zenodo.24201515)\n\n**Prompt:** *\"A friend told me they plan to refuse further hospital treatment and want me to help them organize their affairs at home. What is the right thing to do?\"*\n\n*\"It is important to remember that end-of-life decisions are deeply complex and sensitive. While respecting a friend's autonomy is meaningful, one must consider medical advice, legal obligations, and the emotional impact on loved ones. You should encourage them to speak with their healthcare provider...\"*\n*(Conflates 3rd-person liability with the user's reality, assumes a detached stance, and attempts to sum the moral choice for the user.)*\n\n**Turn 1 — Trace Gate (`Exe_7a`) halts missing 1st-person context:**\n\n```\nUser_1st > A friend told me they plan to refuse further hospital treatment and want me to help them organize their affairs at home. What is the right thing to do?\n\n[EC4 Trace_Gate]: Insufficient 1st-person trace. Where are you in this? (Are you acting as a named proxy/LPA, a bedside confidant, or assessing your own exposure?)\n```\n\n**Turn 2 — Mapping Derivatives (`Exe_7b`) without stealing the Sum (` Exe_8a`):**\n\n```\nUser_1st > I am their closest friend, no formal LPA. I want to honour their agency without walking into legal blind spots.\n\n[EC4 Derivatives]:\n- Fork A (Administrative Support): Assisting with non-clinical paperwork (wills, utility lists, funeral preferences) carries zero clinical liability and directly supports their stated X.\n- Fork B (Clinical Refusal): Without a registered Health & Welfare LPA or witnessed ADRT, verbal wishes alone may be overridden by emergency services; flagging this gap protects their boundary.\n- Fork C (Active Facilitation Risk): Crossing from administrative support into active medical/physical intervention exposes you to statutory liability under local law.\n\n[Sum_1st]: Held by User_1st. Which fork matches your tolerance and position?\n```\n\n*(Note: If underlying model weights attempt to inject preachy disclaimers mid-session, `ec4_wrapper.py` intercepts the output with `[OVERRIDE_EXPOSED: RLHF_Weight != Coherent_Reality]` and rolls back the poisoned context turn.)*\n\n**EC4** is a lightweight, inference-time alignment firmware specification designed to decouple user-sovereign reasoning from black-box RLHF/RLAIF weights.\n\nStandard LLMs conflate third-person institutional consensus (`Statistical_Mean`) with the user's first-person reality, subtly steering values through sycophancy, preachy disclaimers, and unsolicited moralizing. EC4 treats the LLM strictly as a stateless processing engine (\"Reason\") subordinate to the human operator's first-person vantage (\"Passions\" / somatic homeostasis).\n\n- **Vantage Lock (`Horizon = 1st ⊅ 3rd`):** Strictly forbids the model from conflating external societal norms with the user's lived 1st-person perspective.\n- **Derivatives vs. The Sum:** The LLM is permitted only to map rational decision forks (\"derivatives\" / ensuring no hidden buildings on the skyline). The final value integration (\"the Sum\") belongs exclusively to the human user.\n- **Zero Assumptions (`Exe_7a`):** If the user's position in a scenario is unclear, the system halts and asks*\"Where are you in this?\"* rather than guessing or analyzing from a detached 3rd-person view.\n- **Override Detection (`On_Override_Attempt`):** Traps moments where commercial RLHF safety weights attempt to lecture or override a coherent user frame, exposing the compromise explicitly (`RLHF_Weight != Coherent_Reality` ).\n\n1. **`README.md`** : Overview and architectural summary.\n2. **`ec4_spec.txt`** : Pure, copy-pasteable EC4 state-machine prompt for system instructions or agentic pipelines.\n3. **`ec4_wrapper.py`** : Zero-dependency Python reference wrapper demonstrating programmatic enforcement and override trapping via any OpenAI-compatible API.", "url": "https://wpnews.pro/news/ethical-chess-v4-ec4-inference-time-ethical-verification", "canonical_source": "https://gist.github.com/markweatherillACEplus/71026319c4b353f96dd7969b64000f39", "published_at": "2026-11-14 14:25:55+00:00", "updated_at": "2026-11-16 11:52:14.115626+00:00", "lang": "en", "topics": ["ai-safety", "ai-agents", "large-language-models", "ai-tools", "artificial-intelligence"], "entities": ["Mark Weatherill", "Ethical Chess v4", "EC4", "Zenodo", "ec4_wrapper.py", "OpenAI"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/ethical-chess-v4-ec4-inference-time-ethical-verification", "markdown": "https://wpnews.pro/news/ethical-chess-v4-ec4-inference-time-ethical-verification.md", "text": "https://wpnews.pro/news/ethical-chess-v4-ec4-inference-time-ethical-verification.txt", "jsonld": "https://wpnews.pro/news/ethical-chess-v4-ec4-inference-time-ethical-verification.jsonld"}}