AgentSkillsCN

force-stop

紧急退出白房间会话,绕过闸门验证

SKILL.md
--- frontmatter
name: force-stop
description: Emergency exit from White Room session, bypassing gate enforcement

White Room: Force Stop

Emergency escape hatch to exit a White Room session when gate enforcement is blocking you.

When to Use

  • You need to stop immediately
  • Gate enforcement is incorrectly blocking exit
  • You want to pause and resume later

Execution

  1. Create the force-stop flag:
bash
touch .white-room/.force-stop
  1. Display confirmation:
code
═══════════════════════════════════════════════════════════════
                    FORCE STOP ENABLED
═══════════════════════════════════════════════════════════════

Gate enforcement bypassed. You can now exit the session.

⚠️  WARNING: Your session is incomplete.
    - Phase requirements have not been met
    - Personas may not have been invoked
    - Session state preserved for later resume

Current state saved to: .white-room/SESSION-STATE.json

To resume later: /white-room-enter

═══════════════════════════════════════════════════════════════
  1. Update state with checkpoint:

Read .white-room/SESSION-STATE.json and update:

  • last_checkpoint: Current timestamp
  • updated_at: Current timestamp
  • Add to key_decisions: "Session force-stopped at [phase] phase"

Write state back to file.

Key Rules

  1. Always create the flag file - The Stop hook checks for this
  2. Preserve state - User should be able to resume later
  3. Warn clearly - Make it obvious the session is incomplete