Skip to content
Back to skills

Transition Simulator

ASecurity

Simulates and validates SQLite control-plane state transitions. Supports both fast deterministic simulation (PipelineSimulator) and behavioral cheap-model dry-runs. Verifies what the agent knows to do itself, what questions to ask the human, what commands the human runs vs what the agent runs (enforcing the AGENT-RUNNABLE / SOFT / HARD 3-class taxonomy), valid/invalid transitions, and minimization of friction. Trigger with "simulate transition", "test this transition", "verify transition guid...

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
ai-agentspythonbashsqldebuggingdatabase

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill transition-simulator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Transition Simulator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Transition Simulator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-transition-simulator/badge)](https://www.skillsdirectory.com/skills/richfrem-transition-simulator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: transition-simulator
plugin: agent-agentic-os
description: >
  Simulates and validates SQLite control-plane state transitions. Supports both
  fast deterministic simulation (PipelineSimulator) and behavioral cheap-model
  dry-runs. Verifies what the agent knows to do itself, what questions to ask the
  human, what commands the human runs vs what the agent runs (enforcing the
  AGENT-RUNNABLE / SOFT / HARD 3-class taxonomy), valid/invalid transitions, and
  minimization of friction. Trigger with "simulate transition", "test this transition",
  "verify transition guidance", "transition simulator", "dry run transition",
  "check edge X -> Y", or after edits to transition_templates.yaml or coordinator.py.
allowed-tools: Bash, Read, Edit
---

# Transition Simulator (`transition-simulator`)

Simulate and validate SQLite control-plane state transitions across deterministic, behavioral, and post-DONE convergence dimensions.

## Contents

- [Critical Constraints](#critical-constraints)
- [Approver Identity in Simulations](#approver-identity-in-simulations)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Edge Classification](#edge-classification)
- [Verification](#verification)
- [References](#references)

## Critical Constraints

1. **Database Isolation**: Never simulate against real `context/control_plane.db`; use `simulation_control_plane.db`.
2. **Identity Separation**: Simulations must use simulation keys in `context/simulation/identity/`, never production signers.
3. **No Softened Grading**: Never weaken assertions or grading criteria to bypass a failing transition.

## Approver Identity in Simulations

Real work and simulations use separate databases and signing identities:
- **Real work**: `context/control_plane.db` approved only by human key in `context/identity/allowed_signers`.
- **Simulations**: `simulation_control_plane.db` signed only by simulation key (enrolled as `test-human@local` in `context/simulation/identity/`).

## Quick start

Run the fast deterministic transition simulator:

```bash
pytest -q tests/test_control_plane_pipeline_simulator.py
```

## Workflow

1. **Select Dimension**:
   - Deterministic: unit test execution of state graphs without LLMs.
   - Behavioral: cheap-model CLI runs to verify instructions and prompts.
2. **Execute Simulation**:
   ```bash
   python3 scripts/control_plane/run_transition_simulation.py --behavior --from <FROM> --to <TO>
   ```
3. **Inspect Output**: Verify questions asked, commands assigned, and state progression.

## Edge Classification

- **AGENT-RUNNABLE**: Deterministic steps, audits, and test runs. Run directly.
- **SOFT**: Review and routing checkpoints. Agent confirms with user, then executes.
- **HARD**: Cryptographic human approval gates (`APPROVED`, `DONE`). Handed to human.

## Verification

Confirm all core pipeline transition invariants pass:

```bash
pytest -q tests/test_control_plane_pipeline_simulator.py tests/test_edge_matrix.py
```

## References

- [acceptance-criteria.md](references/acceptance-criteria.md) — Acceptance criteria and pass/fail grading scenarios.
- [fallback-tree.md](references/fallback-tree.md) — Failure escalation and debugging flow for invalid transitions.
- [cheap-agent-transition-simulation.md](references/cheap-agent-transition-simulation.md) — Protocols for cheap-model behavioral runs.

Files in this skill

  • SKILL.md6.9 KB
  • acceptance-criteria.md60 B
  • evals/evals.json819 B
  • references/acceptance-criteria.md63 B
  • references/cheap-agent-transition-simulation.md56 B
  • references/fallback-tree.md57 B
  • scripts/control_plane/__init__.py45 B
  • scripts/control_plane/adapters.py45 B
  • scripts/control_plane/baseline_transition_report.py63 B
  • scripts/control_plane/constants.py46 B
  • scripts/control_plane/coordinator.py48 B
  • scripts/control_plane/edge_matrix.py48 B
  • scripts/control_plane/gate1_approval.py51 B
  • scripts/control_plane/identity_layout.py52 B
  • scripts/control_plane/identity_setup.py51 B
  • scripts/control_plane/implementation.py51 B
  • scripts/control_plane/implementation_loop.py56 B
  • scripts/control_plane/inspection.py47 B
  • scripts/control_plane/installation_probe.py55 B
  • scripts/control_plane/isolation_check.py52 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…