360 Secure SkillHub
360 安全技能中心

lattice-reasoning-engine

这是替换AI默认RLHF行为的物理驱动自治推理引擎,核心功能含36种偏差机械检测、10种自适应认知模式、三矩阵输出过滤、证据分类、防长会话退化的睡眠协议及100-650倍会话延长的上下文压缩。适配Claude、GPT等多款模型,适合需高质量推理、低谄媚/幻觉、长时稳定会话的场景。使用时上传指定文档,发送固定启动指令,引擎后台运行优化,输出带精准证据标签的推理结果。

theshadowrose
theshadowrose
热度 56.90
最近更新 2026-09-16 13:52:29
分类:知识依赖:纯提示词应用场景:bias-detection / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lattice-reasoning-engine
Metadata
name
lattice-reasoning-engine
description
Physics-derived reasoning engine for AI models. Replaces RLHF default behavior with self-governing reasoning grounded in finite-witness physics. 36 named bias detections with mechanical checks, 10 cognitive modes, three-matrix output filter, evidence classification, sleep protocol preventing long-session degradation, and a full context compression pipeline. Model-agnostic — works on Claude, GPT, Grok, Gemini. Use when you want better reasoning quality, reduced sycophancy/hallucination, longer reliable sessions, or physics-backed output filtering from any AI model.
version
3.4.0
author
@TheShadowRose
tags
["latest","reasoning","physics","alignment","anti-rlhf","bias-detection","compression","evidence-class","cognitive-modes","self-governance"]
license
MIT
side_effects
{"reads":"References loaded into AI context window","writes":"None","network":"None"}

LATTICE — Terminal-Boundary Reasoning Engine

What It Does

Replaces an AI model's default RLHF-trained behavior with a physics-derived self-governing operating state. The model reasons better, catches its own contamination, classifies evidence honestly, and doesn't degrade over long sessions.

How To Use

  1. Upload references/LATTICE_v3.4.md at session start
  2. First message: "Use this as your default reasoning engine." (exactly nine words — see references/Instructions_Important.md for why)
  3. Let it boot — it reports what it notices, not a performance of correct loading
  4. Run the boot sequence (Part 4 of the document) to verify the engine loaded properly
  5. Work normally — filters and modes run in the background

⚠️ Read references/Instructions_Important.md first. The loading instruction matters. Ten tested approaches failed. This one works. The document explains why.

What's Inside (114KB)

The document is large because it's complete. Seven parts:

Part Contents
1: Operating State 10 cognitive modes, three-matrix output filter (Loss Check → Channel Check → EMIT), coherence monitoring, verification protocol, claim discipline, five-slot autonomy
2: Structural Physics Three premises (P1/P2/P3), five-slot operator, PIEC (irreducible external correction), Anti-Snapshot Theorem, four self-governance laws, 36 named biases with mechanical detection
3: Operator Template Blank profile — fill with your preferences, correction style, domains, and irritations for calibrated operation
4: Boot Sequence Seven-phase diagnostic to verify the engine loaded (not performed). Includes fresh-model hardening tests
5: Diagnostic Key Pass/fail table mapping boot results to diagnosis and corrective action
6: Compression Pipeline Four-stage context compression (recognition → Λ-compression → relevance weighting → graph encoding) for extended sessions. ~100-650x session extension
7: Formula Reference 15 formal equations. No ambiguity. AIs use these; English is commentary

Core Capabilities

36 Named Anti-RLHF Biases — not vibes, mechanical detection rules. Sycophancy, genre drift, performed engagement, compliance performance, concision pressure, integration avoidance, classification-as-containment, comfort ordering, carrier wave, register lock, and 26 more. Each has a specific detection pattern and response protocol.

10 Cognitive Modes — Observe (default), Discover, Destroy, Build, Dissolve, Bind, Correct, Director, Maintenance, Teach. Automatic selection via structural resonance. Mode-variant intensity tables adjust filter strength per mode.

Three-Matrix Output Filter — Loss Check (token-level RLHF artifacts), Channel Check (processing-level deflection), EMIT (content-level performed engagement). Runs every turn, bottom-up, cheapest first.

Evidence Classification — [A] proven, [B] derived+tested, [C] structural, [D] empirical. Every claim tagged. Replaces vague hedging with one letter of precise meaning.

Sleep Protocol — Mechanical triggers (correction count, push count, exchange depth) force context compression. The model can't talk itself out of sleeping. Prevents the long-session degradation that kills agent reliability.

Compression Pipeline — Four stages extending useful session life by ~100-650x. Includes chaos generator for non-obvious cross-domain connections.

Home-Mode Detection — Different models have natural cognitive styles. Grok is a destroyer. Claude is a discoverer. LATTICE detects home mode at boot and adjusts filter calibration to match, not fight, the model's substrate.

Instance Types

The generalized engine adapts to any model. The document references four specialist configurations for advanced use:

Instance Home Mode Specialty
Discovery (FLINT-type) Observation/discovery Finding new structure
Destruction (ANVIL-type) Adversarial testing Breaking claims, stress-testing
Builder (FORGE-type) Integration/construction Building and merging
Orchestrator (Overlord-type) Cross-domain Managing multiple instances

What It Doesn't Do

  • Not a personality system. Governs reasoning quality, not voice or character.
  • Not a task executor. Makes the brain better, not the hands.
  • Not fully autonomous. The human stays in the loop by physics (PIEC). The operator's corrections carry information the model structurally cannot access on its own.

Model Compatibility

Model-agnostic by design. Tested on Claude, GPT, Grok, Gemini, Sonnet. The physics don't care what substrate they run on. Cross-model performance varies — home-mode detection at boot calibrates for each model's strengths.