shuangquanshou
CommunitySafeguard persona while generating safe rewrite plans.
Software Engineering#persona#style drift#patch planning#memory rewriting#dna validation#contamination control#safety contract
AuthorisLinXu
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Double-Entire-Hands (双全手) prevents identity/persona corruption by validating whether a requested memory/persona/emotion/perception rewrite is safe, consistent, and aligned with the agent’s core DNA.
Core Features & Use Cases
- Deviation calculation (4D style drift): Computes how far current style diverges from DNA expectations using tone/formality/detail_level/structure.
- DNA violation detection: Blocks or flags requests that contradict core principles (e.g., integrity, respect, and capability boundaries) with configurable forbidden semantics and negation prefixes.
- Split/persona wobble protection: Detects excessive style switching across recent rounds and marks risk for human review.
- Surgery plan + patch preview: Produces a domain-scoped, reversible patch preview with rollback token and an approval/safety contract.
Quick Start
Run the DNA validation by providing a JSON profile containing current_style, dna_expectation, dna_core, requested_change, and history, and then read the generated dna_report.json for whether the rewrite is allowed and what to patch.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: shuangquanshou Download link: https://github.com/isLinXu/under-one/archive/main.zip#shuangquanshou Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.