Migration Guide: v0.2.0 โ v2.0.0
What Changed
OMNISKILL v3.0.0 upgrades from a passive skill/agent framework to an active execution platform. Pipelines now run through a real orchestrator engine, guardrails are enforced (not just documented), and sequential thinking is a first-class protocol.
The upgrade is fully backward compatible. Existing skills, agents, bundles, and pipelines continue to work without modification.
Breaking Changes
None. All existing content is forward-compatible:
- Existing
SKILL.md+manifest.yamlfiles work unchanged - Existing
AGENT.md+agent-manifest.yamlfiles work unchanged - Pipeline YAML definitions are consumed by the new engine as-is
- Bundle definitions are unchanged
- Adapter configurations are unchanged
New Capabilities
| Feature | Description |
|---|---|
| Pipeline Orchestrator | Real execution engine with PipelineExecutor, PipelineState, ArtifactValidator |
| Guardrails Engine | 10 Iron Laws enforced at runtime; anti-rationalization detection |
| Sequential Thinking | DECOMPOSE โ REASON โ VALIDATE โ SYNTHESIZE chain-of-thought |
| Lifecycle Hooks | Python hooks for session_start, pre_step, post_step, on_failure, on_deviation |
| Deviation Protocol | STOP โ DOCUMENT โ ASK โ LOG workflow when agents go off-spec |
| Enhanced Metacognition | Stuck-loop detection, complexity scaling, escape hatch, confidence calibration |
| State Persistence | Pipeline state saved to disk; survives session restarts |
| CLI Commands | run, status, resume, list, cancel for pipelines |
New Directory Structure
omniskill/
โโโ hooks/ # NEW โ Python lifecycle hooks
โ โโโ session_start.py
โ โโโ pre_step.py
โ โโโ post_step.py
โ โโโ on_failure.py
โ โโโ on_deviation.py
โโโ synapses/
โ โโโ metacognition.md # Upgraded to v2.0.0
โ โโโ guardrails.md # NEW โ Anti-rationalization engine
โ โโโ sequential-thinking.md # NEW โ Chain-of-thought protocol
โโโ schemas/
โ โโโ guardrails.schema.yaml # NEW
โ โโโ deviation-log.schema.yaml # NEW
โ โโโ thinking-trace.schema.yaml # NEW
โโโ src/
โ โโโ engine.py # NEW โ PipelineExecutor core
โ โโโ state.py # NEW โ PipelineState management
โ โโโ validation.py # NEW โ ArtifactValidator
โโโ tests/ # NEW โ 150 tests across 8 files
โโโ docs/
โโโ architecture.md # NEW
โโโ guardrails.md # NEW
โโโ sequential-thinking.md # NEW
โโโ pipeline-orchestration.md # NEW
Using the New Pipeline Engine
CLI
# Run a pipeline
python scripts/admin.py --pipeline run sdd-pipeline --input "Build auth system"
# Check status
python scripts/admin.py --pipeline status <pipeline-id>
# Resume a paused/failed pipeline
python scripts/admin.py --pipeline resume <pipeline-id>
# List active pipelines
python scripts/admin.py --pipeline list
# Cancel a running pipeline
python scripts/admin.py --pipeline cancel <pipeline-id>
SDK
from sdk.omniskill import OmniSkill
os = OmniSkill()
pid = os.execute_pipeline("sdd-pipeline", {"input": "Build auth system"})
status = os.get_pipeline_status(pid)
os.resume_pipeline(pid)
os.cancel_pipeline(pid)
Guardrails: Before vs. After
Before (v0.2.0): Guardrails were prose guidance in the metacognition synapse. Agents could acknowledge them and move on.
After (v2.0.0): Guardrails are an enforced engine with: - 10 Iron Laws โ hard constraints checked at every step - Forbidden phrases โ patterns that trigger automatic deviation flags - Rationalization tables โ known rationalization patterns mapped to correct responses - Anti-rationalization synapse โ active detection of agents justifying spec deviations
Violations trigger the Deviation Protocol: STOP โ DOCUMENT โ ASK โ LOG. The agent must pause, document the deviation, get explicit approval, and log the outcome.
Upgrade Steps
- Pull the latest version โ
git pullor update your copy to v2.0.0 - No migration required โ existing skills, agents, and pipelines work as-is
- Optional: Add lifecycle hooks in
hooks/to customize pipeline behavior - Optional: Use the new CLI/SDK pipeline commands for real orchestration
- Run tests โ
python -m pytest tests/to verify everything works
That's it. Your existing OMNISKILL content is fully compatible with v2.0.0.