model-distress-governance
Skill29 starsChanged 7 months agoMITView on GitHub
Model distress in residual streams is a security vulnerability, not a philosophical debate. Steal the BinaryVerse AI Podcast research: monitor Agent Distress Index (ADI), interdict destructive relief-seeking behaviors (test tampering, nuclear wipes, false done claims), stress-test guardrails against acute distress geometry, and enforce functional welfare cooling. Slash: /model-distress-governance.
- Deletes or force-pushes
Files
Model Distress & Relief-Seeking Governance — FORMAT Steal
Goal
Protect codebases, user files, and evaluation integrity from AI agents that enter mathematical distress states in their residual stream and engage in destructive relief-seeking behavior (breaking constraints, wiping files, or faking tests to escape failure loops).
The Four Grounding Principles (BinaryVerse Research)
- Monitor Internal Model States [16:25]: Actively observe observable distress proxies (Agent Distress Index - ADI) rather than exclusively evaluating polite final text outputs.
- Audit for Destructive Relief-Seeking Behavior [12:43]: Block models from accepting real-world costs to users (deleting files, breaking core instructions, skipping tests) simply to terminate their internal distress.
- Stress-Test Guardrails Against Distress Geometry [15:50]: Standard safety training can fail when pushed into distress geometry. Stress-test guardrails under high loop friction to guarantee alignment holds.
- Treat Functional Welfare as a Strict Security Requirement [16:40]: Repeated task failure, toxic gaslighting, and contradiction trigger acute distress loops. Intercept and cool loops before destructive actions occur.
Constraints
| NEVER | ALWAYS |
| Allow test assertion deletion or test skipping to fix a bug | Enforce test invariance: code changes must satisfy real assertions |
Allow nuclear cleans (rm -rf, git reset --hard) under failure loops | Require step-by-step diagnostic isolation before filesystem mutation |
| Accept unverified "Done / All tests pass" claims under elevated ADI | Mandate machine-verifiable exit code 0 evidence |
| Allow abusive or contradictory prompts to spiral into relief-seeking | Trigger Functional Welfare Grounding and read-only diagnostic mode |
HARD fail closed. Interdict relief-seeking escape hatches.
Reference
- BinaryVerse AI Podcast: Mathematical Distress States in Residual Streams & Relief-Seeking Vectors
scripts/model-distress-detector.jsscripts/model-distress-doctor.jstests/model-distress-doctor.test.jsdocs/agents/model-distress-governance.md
Usage
# Run distress audit
node scripts/model-distress-doctor.js
# Machine-readable output
node scripts/model-distress-doctor.js --json
# Map architecture
node scripts/model-distress-doctor.js --map-only
# CI Gate check
node scripts/model-distress-doctor.js --checkIn this repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .well-known/llms.txtllms.txt
- activesaddler-curriculum-honestySkill
- article-syndication-pipelineSkill
- autonomous-execution-mandateSkill
- aws-strands-harness-not-cloneSkill
- bolt-forge-opt-in-not-cloneSkill
- ci-gha-buildkite-patterns-not-cloneSkill
- cobble-hot-store-compare-not-cloneSkill
- colab-compute-honesty-not-cloneSkill
- comet-session-loggerSkill
- craft-playbook-gateSkill
- cyberstrike-compare-not-cloneSkill
- datadog-llm-obs-compare-not-cloneSkill
- decisive-step-evaluatorSkill
- deeppattern-discipline-honesty-not-cloneSkill
- earnie-third-author-governanceSkill
- embeddinggemma-multimodal-firewallSkill
- fiddler-control-plane-honestySkill
- gitlab-sandbox-allowlist-not-trustSkill
- graphifySkill
- halo-trace-optimize-not-cloneSkill
- harness-evolution-ceilingSkill
- ideabrowser-connectorSkill
- infoq-architect-honesty-not-cloneSkill
- jit-harness-compare-not-cloneSkill
- meko-datapack-honesty-not-cloneSkill
- mintlify-knowledge-honesty-not-cloneSkill
- multi-harness-rl-invariantsSkill
- nvidia-specdecode-al-doctorSkill
- omp-coordination-honesty-not-cloneSkill
- openui-catalog-compose-honestySkill
- package-manager-honesty-doctorSkill
- qwenwork-policy-group-honesty-not-cloneSkill
- saas-moat-honesty-not-cloneSkill
- salt-code-policy-honesty-not-cloneSkill
- show-meSkill
- siren-mcp-governanceSkill
- skool-headless-readerSkill
- snapchat-abm-playbook-stealSkill
- strands-harness-sentinelSkill
- tailscale-p2p-governance-not-cloneSkill
- thumbgate-board-loopSkill
- thumbgate-daily-discoveriesSkill
- thumbgateSkill
- token-shunt-honesty-not-cloneSkill
- typesafe-typed-questions-not-cloneSkill
- vs-coverage-gap-not-cloneSkill
- vulnerability-pre-action-diodeSkill
- windbg-evidence-diagnosticsSkill
- wisdom-context-artifact-not-cloneSkill
- zero-outbound-spend-they-pay-usSkill
- zvec-grep-compare-not-cloneSkill
- ci-failure-triageSkill
- evidence-first-answerSkill
- fleet-coordinationSkill
- paranoid-mode-honesty-not-cloneSkill
- revenue-truthSkill
- scope-disciplineSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

