remote-state-machine-guardrail

Audit and align remote-surface state machine documentation with implementation changes.

289|39|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/kxn/codex-remote-feishu --skill remote-state-machine-guardrail
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remote-state-machine-guardrail
Source: https://github.com/kxn/codex-remote-feishu/tree/main/.codex/skills/remote-state-machine-guardrail
Command: npx skills add https://github.com/kxn/codex-remote-feishu --skill remote-state-machine-guardrail

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit and align the repository's canonical remote surface state machine after implementing changes to remote-surface state-machine logic carriers, such as attach/detach/use/follow state predicates, routing decisions, headless lifecycle progression, queue/dispatch gating, request-capture gates, or command-availability logic. Use after implementation stabilizes and before committing. Reopen docs/general/remote-surface-state-machine.md, sync the current behavior, audit dead or half-dead user states, fix bug-grade issues found by that audit, and append unresolved product tradeoffs under 待讨论取舍.

Core Features & Use Cases

  • Synchronize canonical remote-surface state machine documentation with code changes.
  • Audit dead or half-dead user states and validate transitions to prevent dead-ends.
  • Append unresolved product tradeoffs under 待讨论取舍 and prepare a clean commit.

Quick Start

Trigger this audit after implementing remote-surface state-machine changes to ensure documentation stays in sync and all dead states are fixed before committing.

Frequently Asked Questions about remote-state-machine-guardrail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit remote state-machine documentation before a commit?

To audit remote state-machine documentation before a commit, run a pre-commit guardrail that synchronizes canonical state machine docs with code changes, validates transitions, and records unresolved product tradeoffs under 待讨论取舍.

What is a remote surface state-machine guardrail used for?

A remote surface state-machine guardrail is used to align canonical documentation with implementation changes affecting attach/detach/use/follow state predicates, routing decisions, queue gating, and headless lifecycle progression before changes are committed.

How do I detect dead or half-dead user states in a state machine?

To detect dead or half-dead user states in a state machine, apply an audit guardrail that validates transitions against current behavior, identifies unreachable states, and fixes bug-grade issues found during the documentation synchronization process.

When should I run a state-machine documentation audit?

You should run a state-machine documentation audit after your implementation stabilizes and before committing changes to remote-surface state-machine logic carriers, ensuring documentation reflects current behavior and unresolved tradeoffs are recorded.

Where do I document unresolved product tradeoffs for state transitions?

You document unresolved product tradeoffs for state transitions under the 待讨论取舍 section in the canonical remote-surface state machine documentation file, preparing them for review before the final commit.

Can I use this guardrail for headless lifecycle progression changes?

Yes, you can use this guardrail for headless lifecycle progression changes, as it explicitly audits and aligns documentation for routing decisions, queue/dispatch gating, and prompt/modal state transitions across code and docs.